@font-face {
  font-family: gotham;
  src: url(Gotham-Book.otf);
}

html, body {
    font-family: gotham;
    height: 100%;
    background-color: #f9fafb;
}

.button {
    background-color: #00bb97;
    color: white;
        padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
        border: 1px solid #c0c0c0;
    cursor: pointer;
        border-radius: 10px;
    width: 150px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    
}

.button:disabled,button[disabled]{
    background-color: gray;
    cursor: not-allowed;
}

.button:hover {
    background-color: #009f82;
}


.body {
    display: flex;
    flex-direction: column;
    align-items:center;
    width: 100%;
    margin-left: 200px;
    
}

.subbody {
    width: 90%;
}


.mainBox {
    display: flex;
    width: 100%;
    height: 100%;
}

.home {
    width: 100%;
    margin-left: 260px;
    
}

.home h1 {
    margin-top: 50px;
    text-align: left;
    
}

.home h3 {
    color: gray;
    
}

.home_data_nascita img {
    width: 20px;
}

.ricerca_container {
    margin-bottom: 16px;
    display: flex;
    align-items:center;
    
}
.ricerca_container input {
    width: 300px;
    height: 35px;
    padding-left: 16px;
    border-radius: 15px;
    border: none;
    outline: 1px solid gray;
}

.ricerca_container img {
    margin-left: -33px;
    width: 25px;
    height: 25px;
}

.barralaterale_profilo {
    display: flex;
    background-color: red;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    height: 90%;
    position: fixed;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 50px;
    background-color: white;
    margin-top:-8px;
    margin-left: -8px;
    justify-content: space-between;
    padding-bottom: 100px;
}

.barralaterale {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.barralaterale img {
    width: 25px;
}

.pageSelector {
    display: flex;
    
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 10px;
    cursor: pointer;
    min-height: 30px;
    border: 1px solid lightgray;
    
    
    margin-right: 5px;
}

.pageSelector:hover{
    background-color: rgba(0,0,0,.06);
    
}

.pageSelector_Selected {
    background-color: #00bb97;
    color: white;
    
}

.pageSelector span {
    text-align: center;
    font-size: 11pt;
    
}



.center {
    justify-content: center;
}

.boxAndRibbon {
    width: 100%;
    display: flex;

    flex-direction: row-reverse;
    
}

.ribbon {
    position: absolute;
    padding-right: 10px;
}
.box {
    
    padding: 32px;
    display: grid;
    grid-column: 3;
    border: 1px solid lightgray;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 10px;    
    margin-bottom: 40px;
    width: 95%;
    grid-template-columns: auto auto auto;
    row-gap: 15px;
}



.flexwrap {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
}

.box h1 {
    
    text-align: left;
    padding-bottom: 16px;
}

.inputField {
    width: 300px;
    margin-bottom: 32px;
    
}

.inputField_nome {
    margin-bottom: 8px;
}

.inputField input {
    width: 290px;
    height: 30px;
    margin-top: 5px;
    border: none;
    outline: 1px solid lightgray;
    border-radius: 5px;
    padding-left: 8px;
    
    
}

.inputField span {
    
    font-size: 10pt;
}

.colspan23 {
    grid-column:  2 /-1;
}

.colspan2 {
    grid-column:  1 / 2;
    width: 400px;
}

.colspan3 {
    grid-column: 1 / -1;
    width: 600px;
}

.colspan0 {
    grid-column:  1/ -1;
    width: 100%;
}

.anestesiologica_nuovo_intervento {
    
    
    gap: 30px;
}

.anestesiologica_nuovo_intervento div {display: flex; gap: 15px; align-items:baseline; margin-bottom: 8px;}

.anestesiologica_nuovo_intervento div select { width: 80px; text-align: center; height: 35px;}


.row { 
    display: flex;
    padding: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3px;
}

.row input {
    height: 35px;
    text-align: center;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
}


h2 {
    padding-left: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
}


input[type="radio"] {
    width: 25px;
    margin-right: 10px;
}

input[type="number"], .input_number {
    
    width: 50px;
}

select {
    height: 40px;
    width: 180px;    
}

.button_with_icon {
    display: flex;
    align-content: center;
}

.button_with_icon span {
    margin-right: -40px;
    z-index: 9999;

    display: flex;
    align-items: center;
    
    
}
.button_with_icon img {
    width: 20px;
    
}

.intestazione {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    width: 80%;
    align-items: center;
    margin-bottom: 30px;
}

.nome_e_status_cartella {
    display: flex;
    align-items: center;
    gap: 10px;
 
}

.status_cartella {
    padding: 12px 22px 12px 22px;
    border-radius: 25px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    font-size: 8pt;
    font-weight: bold;
    
}

.DaPrevalutare {
    background-color: #fef3c7;
    color: #95464b;
    
}

.intestazione_nascita {
    display: flex;
    align-items: center; 
    gap: 8px;
        
}
.intestazione_nascita img {
    width: 20px;   
}

.intestazione_right {
    display: flex;
    gap: 40px;
    height: 50px;
    
}

.header {
    display: flex;
    align-items: baseline;
    width: 100%;
    justify-content: space-around;
        
}

.tab {
    border-bottom: 1px solid black;
    padding-left: 15px;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-right: 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14pt;
}

.tab:hover{
    background-color: rgba(0,0,0,.06);
}

.tab_selected {
    border-bottom: 3px solid;
}


.sectionContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 30px;
}

.radio {
    display: flex;
    align-items: center;
    gap: 20px;
}

input[type="checkbox"] {
    width: 35px;
}

.spaziatore { width: 50px;}

.selector_container {
    position:relative;
}

.select_options_container{
    position: absolute;
    background-color: white;
    width: 300px;
    top: 48px;
    
}

.select_options_container div {
    padding-top: 12px;
    padding-left: 15px;
    padding-bottom: 12px;
    border: 1px solid black;
    cursor: pointer;
    border-radius: 8px;
    background-color: #272727;
    color: white;
    display: flex;
    align-items: center;  
    
}

.select_options_container div:hover {
    background-color: #4c4c4c;
}


/* ALERTS */

.alert {
  
  --f: 0px; /* control the folded part*/
  --r: 18px; /* control the ribbon shape */
  --t: 0px; /* the top offset */
  
  /* inset: var(--t) calc(-1*var(--f)) auto auto; */
  padding: 0 10px var(--f) calc(10px + var(--r));
  clip-path: 
    polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%,
      calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)),
      var(--r) calc(50% - var(--f)/2));
  
  box-shadow: 0 calc(-1*var(--f)) 0 inset #0005;
  

  position: fixed;
  width: 100px;
  height: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
    padding-right: 30px;
  margin-bottom: 10px;
  color: white;
  font-size: 24px;
  box-shadow: 5px 5px #000000;
  
}

.Warning {
  background: #ffa544;
}

.Success {
  background: green;
}

.home_paziente_e_bottoni {
    border: 1px solid gray;
    background-color: white;
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 16px;
    border-radius: 15px;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
}

.home_paziente_e_bottoni:hover {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.home_paziente_e_bottoni button {
    
}

.home_paziente {
    display: flex;
    cursor: pointer;
    flex-direction: column;
}

.home_data_nascita {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10pt;
    margin-bottom: 5px;
    padding-bottom: 3px;
}
.home_nome_paziente {
    font-weight:bold;
    font-size: 13pt;   
}

.home_creato, .home_modificato{
    display: flex;
    align-items: center;
    gap: 8px;
}

.td_buttons {
    width: 20%;
    gap: 20px;
}

.td_buttons :nth-child(1) {
    margin-right: 5px;
}

.diagnosi_button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12pt;
    border: 1px solid lightgray;
    padding-left: 32px;
    padding-right: 32px;
    margin-top: 12px;
    border-radius: 8px;
    padding-top: 5px;
    
    
    
}

.diagnosi_button img {
    width: 20px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: -5px;
}

.diagnosi_button img:hover {
    background-color: #2a9d90;
    
}


.interventi_table {
    border-radius: 15px;
    border-collapse: separate;
    border: 1px solid lightgray;
    font-size:11pt;
    padding-left: 16px;
    
}
.interventi_table img {
    width: 20px;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.interventi_table img:hover {
    background-color: #2a9d90;    
}

.delete_intervento_td  {
    width: 50px;
}
.interventi_table th {
    color: #667db5;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: left;
    
}

.interventi_table td {
    border: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0px;
    text-transform: capitalize;
    
}
.interventi_table tr:hover td{ 
    background-color: #f6f7f8;
}

.farmaci_subcategory {
    border: 1px solid lightgray;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    background-color: #fafafb;
    border-radius: 15px;
    padding-left: 32px;
    padding-top: 32px;
}

.farmaci_subcategory input {
        height: 40px;
}

.nuovo_intervento button {
    cursor: pointer;
    width: 40px;
    height: 40px;
}


.nuovo_intervento input[type="number"] {
    width: 90px;
}

.farmaco {
    padding-right: 15px;
}

.farmaco button {
    cursor: pointer;
    margin-left: 5px;
}

.farmaci .selector_container {
    display: flex;
    gap: 32px;
    align-items: center;
}

.selector_container .button_with_icon {
    
    display: flex;
    align-items: center;
}

.selector_container .button_with_icon img {
    width: 10px;
}

.selector_container .button_with_icon button {
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.farmaci .selector_container input{
    width: 400px;
    border-radius: 10px;
    border: 0px;
    outline: 1px solid lightgray;
    padding-left: 16px;
    margin-right: 32px;
}


.farmaci .select_options_container {
    width: 410px;
    
}

.selector {
    width: 75%;
}


.vertical {
    flex-direction: column;
}



.horizontal div:first-child {

    border-radius: 10px 0px 0px 10px;
}

.horizontal div:last-child {
    border-radius: 0px 10px 10px 0px;
    
}

.vertical div:first-child {
    border-radius: 10px 10px 0px 0px;
}

.vertical div:last-child {
    border-radius: 0px 0px 10px 10px;
}


.selector div {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    height: 20px;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #c0c0c0;
    cursor: pointer;
    text-transform: capitalize;
    
    
}

.selector_unique div {
    border-radius: 10px;
}

.horizontal div {
    
    width: 150px;
    
}

.vertical div {
    width: 330px;
    
}


@media only screen and (max-width: 1050px) {

  .horizontal {
      flex-direction: column;
  }

  .horizontal div:first-child {

    border-radius: 10px 10px 0px 0px;
}

.horizontal div:last-child {
    border-radius: 0px 00px 10px 10px;
    
}

.container {
    flex-direction: column;
}
}

.selector_selected {
    background-color: #00bb97;
    
    color: white;
}

.selector_unselected:hover {
    background-color: #a0a0a0;
}

.selector_selected:hover {
    background-color: #00bb97;
}

.selector_unselected {
    background-color: #f0f0f0;
    height: 20px;
      
}

.line {
    height: 2px;
    width: 100%;
    background-color: #f0f0f0;
}

textarea {
  width: 100%;
  height: 150px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  font-size: 16px;
  resize: vertical;
  margin-bottom: 20px;
  margin-left: 15px;
  margin-right: 15px;
}

.errorFooter {
    width: 65.5%;
    margin-left: 210px;
    margin-right: auto;
    padding-bottom: 10px;
}
.errorFooter div {
    padding-left: 10px;
}

.halfwidth {
    width: 25%;
    display: flex;
    flex-direction: column;
}

.approfondimento_header {
    
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.approfondimento_header div{
    width: 150px;
}

.approfondimento_body {
    
}
.loginPage {
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    gap : 30px;
    justify-content: center;

    align-items: center;
    margin-top: 50px;
    
    padding-top: 100px;
    padding-bottom: 100px;
}

.loginPage input {
    width: 250px;
    height: 40px;
    border: none; /* <-- This thing here */
      border:solid 1px #ccc;
      border-radius: 10px;
    padding-left: 16px;

}

.anamnesiSection {
    display: flex;
    flex-direction: column;
}


.farmaci_list {

    justify-content: left;
    gap: 20px;
    display: grid;
    grid-template-columns: 31% 31% 31%;
    padding-bottom: 32px;
    
}

.farmaci_classe {
    border: 1px solid lightgray;
    border-radius: 15px;
    padding-left: 32px;
    padding-top: 8px;
    padding-bottom: 16px;
}

.farmaci_classe h3 {
    color: #3383b9;
    font-size: 11pt;
}

.farmaci_classe div span {
    
    display: flex;
    align-items: center;
    font-size: 10pt;
 
}


.box_ematochimici {
    display: flex;
    flex-direction: column;
}

.raccolta_ematochimici {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    
}

.raccolta_ematochimici span {
    gap: 15px;
    display: flex;
    align-items: center;
    font-size: 10pt;
    
}

.raccolta_ematochimici input {
    height: 35px;
    text-align: center;
    
}

.single_approfondimento_Data {
    height: 35px;
    text-align: center;
    margin-right: 1200px;
    width: 180px;
}

.chiusura {
    display: flex;
    flex-direction: column;
}

.motivazione_standby div{
    margin-left: 100px;
    padding: 16px;
    font-size: 10pt;
    border-radius: 5px;
    border: 1px solid lightgray;
    width: 300px;
    margin-bottom: 16px;
}
.profile_image {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.profile_image img {
    width: 120px;
    border-radius: 120px;
    border: 1px solid lightgray;
    padding: 8px;
}

.profile_buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    margin-left: 32px;
        
}

.profile_name {
    margin-top: 16px;
    text-align: center;
    font-size: 12pt;
}

.anamnesi_note{
    
    width: 98% !important;
    height: 100px !important;;
}
