/*------ 
  IMPORT
-------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700;900&display=swap');

/*---------
  VARIABLES 
---------- */
:root {
    --primary-color: #00AA9E; 
    --secondary-color: #010101;
    --shadow-primary-color: #5fd2ca;
    --tertiary-color: rgb(20, 20, 20); /* and text color */
    --background-color: #ffffff;
    --background-section: #BAE5E2;
    --background-footer: var(--primary-color);
}

/*---------
  COMMON 
---------- */
* {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

input:focus-visible, select:focus-visible, textarea:focus-visible, 
input:focus, select:focus  {
    border-color: var(--shadow-secondary-color) !important;
    box-shadow: 0 0 0 0.25rem var(--shadow-secondary-color) !important;
}

input[type="radio"], input[type="checkbox"] {
    cursor: pointer;
}

#container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#notActiveMsg {
    color: var(--primary-color);
    text-align: center;
    margin-top: 15vh;
    display: none;
}

#hiddenDiv {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

#hiddenDiv > section {
    margin: auto;
}

#sectionHeader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 70%;
    text-align: center;
}

#sectionHeader > h1 {
    font-weight: 900;
}

#sectionHeader > h1, h2, h4 {
    color: var(--primary-color);
}

#imgThumbnail {
    height: 25vh;
}

/* SECTION SOGGETTO */

#radioPrivato {
    margin-left: 5vw;
}

#inputOspedale {
    width: 31vw !important;
}

#inputCognome {
    margin-left: 0.5vw;
}


#divOrganizzazione {
    display: flex;
}

#divOrganizzazione > select {
    border-right: none;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

#divOrganizzazione > input {
    border-left: none;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

#inputProvincia {
    text-transform: uppercase;
}

/* END SECTION SOGGETTO */

/* SECTION INDICAZIONI */

#sectionIndicazioni {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#sectionIndicazioni > input {
    color: var(--background-color);
    background-color: var(--primary-color);
    padding: 1vh 2.5vw;
    font-weight: 700;
    border-radius: 8px;
    border: none;
}

/* END SECTION INDICAZIONI */

/* SECTION PRIVACY */

#sectionPrivacy > div > div > .col-1 {
    display: flex;
    justify-content: end;
}

/* END SECTION PRIVACY*/

.w-80 {
    width: 80%;
}

.toHideDiv {
    display: none;
}


.flexColumn {
    display: flex;
    flex-direction: column;
    position: relative;
}

.flexColumn span {
    position: absolute;
    right: 8vw;
    top: 3.5vh;
}

.flexColumn .spanAllegati {
    position: absolute;
    right: 1vw;
    top: 4.3vh;
}

.mainSectionsHeader {
    position: relative;
}

.mainSectionsHeader > h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.mainSectionsHeader > img {
    position: absolute;
    right: 0;
    align-self: center;
}

.inputSmall {
    width: 7.5vw;
    text-align: center;
}

.inputMedium {
    width: 14.8vw !important; 
}

.inputLarge {
    width: 30vw;
}

.mainSection {
    background-color: var(--background-section);
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    padding: 2vh 3vw 2vh;
    cursor: pointer;
}

.iconCloseOpen {
    width: 4vw;
}

.iconInput {
    width: 3vh;
}

.inputErrore {
    border: 1.5px solid red;
}

/*---------
  BOOTSTRAP OVERRIDE 
---------- */
.form-check-input:checked[type=radio] {
    --bs-form-check-bg-image: none;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}