
body {
    font-family: Arial, Helvetica, sans-serif;
    margin:0px;
    padding:0px;
    height: calc(100%- 70px);
     padding-top: 70px;
background-attachment: fixed;

      background-image: url('background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


body#mobile {
    font-family: Arial, Helvetica, sans-serif;
    margin:0px;
    padding:0px;
    height: calc(100%- 70px);

background-attachment: fixed;

      background-image: url('background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

html {
    height:100%;
}

div.alert {
    border: 1px solid MediumAquamarine;
    border-radius: 3px;
    font-size:14px;
}
div.alert-success{
    background-color: HoneyDew;

}

.alert button {
    background-color: #A1E7CF;
    border: 2px solid MediumAquamarine;
    border-radius:3px;
    margin:1px;
}

    .alert button:hover {
        background-color: MediumAquamarine;
    }

div.patient {
    text-align: center;
    margin: 20px;
    display:none;
}


.patient input {
    font-size: 15pt;
}

div.image {
    margin: 10px;
    text-align: center;
}
div.syncIdentification {
    text-align: center;
    margin: 20px;
}
.syncIdentification input{
    font-size: 15pt;
}
input.imageInput{
    margin-left:10px;
}
.image input {
    font-size: 13pt;
    
}
#ck-button {
    margin: 4px;
    background-color: rgb(108,72,50);
    border-radius: 4px;
    border: 1px solid #D0D0D0;
}


    #ck-button label {
        width:auto;
        cursor:pointer;
    }

        #ck-button label span {
            text-align: center;
            padding: 10px 10px;
            display: block;
            margin:1px;
        }

        #ck-button label input {
            display:none;
        }

    #ck-button input:checked + span {
        background-color: rgb(108,72,50);
        color: white;
        border-radius: 2px;
    }
    #ck-button input + span {
        background-color: rgb(255, 210, 190);
        color: Black;
        border-radius:2px;
    }

div#ident_selector {
    display: flex;
    justify-content: center;
}
img#logo {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
div#logoDiv {
    width:100%;
    align-content:center;

}

#submit {
    border: 2px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(255, 210, 190);
    font-size: 13pt;
    color: black;
    padding: 5px 10px;
}

button#submit:hover {
    border: 2px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(108,72,50);
    color: white;
    font-size: 13pt;
}

div#submitDiv {
    text-align: center;
}

#topBar {
    background-color: #FFF5F1;
    padding: 10px 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 16px 0px rgba(120, 117, 116, 0.2);
    position: fixed; /* Això fa que la barra es mantingui fixa al capdamunt de la pantalla */
    top: 0; /* Posiciona la barra a la part superior de la pantalla */
    z-index: 1000; /* Assegura't que la barra està sobre altres elements de la pàgina */
    margin-bottom: 30px; /* Podries voler ajustar o eliminar aquesta propietat */
}

#topBarJustify {
    background-color: #FFF5F1;
    padding: 0px;
    width: 100%;
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* MOBILE */

#ck-buttonM {
    margin: 20px;
    margin-top:50px;
    background-color: rgb(108,72,50);
    border-radius: 4px;
    border: 1px solid #D0D0D0;
    font-size:25pt;
}


    #ck-buttonM label {
        width: auto;
        cursor: pointer;
    }

        #ck-buttonM label span {
            text-align: center;
            padding: 10px 10px;
            display: block;
            margin: 1px;
        }

        #ck-buttonM label input {
            display: none;
        }

    #ck-buttonM input:checked + span {
        background-color: rgb(108,72,50);
        color: white;
        border-radius: 2px;
    }

    #ck-buttonM input + span {
        background-color: rgb(255, 210, 190);
        color: Black;
        border-radius: 2px;
    }
div.patientM {
    text-align: center;
    margin: 20px;
    display: none;
}

.patientM input {
    font-size: 25pt;
}
div.syncIdentificationM {
    text-align: center;
    margin: 20px;
}

.syncIdentificationM input {
    font-size: 25pt;
}
#submitM {
    border: 2px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(255, 210, 190);
    font-size: 23pt;
    color: black;
    padding: 5px 10px;
}

button#submitM:hover {
    border: 2px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(108,72,50);
    color: white;
    font-size: 23pt;
}



.imageM input {
    font-size: 23pt;
}
div.imageM {
    margin: 40px;
    text-align: center;
}


#topBarM {
    background-color: #FFF5F1;
    padding: 0px;
    width: 100%;
    padding: 20px 0px;
    display: flex;
    justify-content: flex-end;
    font-size: 20pt;
}

#topBarJustifyM {
    background-color: #FFF5F1;
    padding: 0px;
    width: 100%;
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
    font-size: 20pt;
}

#topBarM a {
    margin-left: 10px;
}

video.videoM{
    max-width:100%;
    max-height:90%;
}

#loginDiv {
    background-color: #FFF5F1;
    border: 1px solid rgb(108,72,50);
    border-radius: 15px;
    display: inline-table;
    word-wrap: normal;
    padding: 15px;
    margin:auto;
}

.login {
    margin: 15px;
    padding: 0px;
}

.login a{
    font-size:12pt;
    float:right;

}

a.aAsButton{
    background-color: #8f7b74;
    border: 2px solid #8f7b74;
    border-radius: 10px;
    padding: 4px 10px;
    color: #fff5f1;
    font-size:15pt;
        display: block;
    text-align: center;
    text-decoration: none;
}

a.aAsButton:hover{
    color: #fff5f1;
    background-color: #60524e;
    border: 2px solid #60524e;
}

#submitLogin {
       background-color: #8f7b74;
    border: 2px solid #8f7b74;
    border-radius: 10px;
    padding: 4px 10px;
    color: #fff5f1;
    width: 100%;
    font-size:15pt;

}

    #submitLogin:hover {
            color: #fff5f1;
    background-color: #60524e;
    border: 2px solid #60524e;
    }

.exterior {
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 14pt;
}

#submitLoginDiv {
    width: 100%;
    display: flex;
    justify-content: center;
}

img#logo2 {
    width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom:20px;
    
}

.exterior input{
    font-size:15pt;
}



div.floatRight{
    padding-right:20px;
    display: flex;
    align-items: center;

}

div#logoutDiv{
    padding:20px;
}

div#buttonDiv{
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    z-index: 10;
    bottom: 0px;
}
div#buttonDivM{
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    z-index: 10;
    bottom: 100px;
}

div#divVideo{
display: flex;
    align-content: center;
    justify-content: center;
}

button.takePhotoM{
    background-color: white;
    width: 120px;
    height: 120px;
    margin: 0;
    padding: 0;
    border-radius: 60px;
    border-color: black;
    border-width: medium;
}
button.takePhoto{
    background-color: white;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    border-radius: 30px;
    border-color: black;
    border-width: medium;
}

div#focusDiv{
    z-index: 10;
    position: absolute;
    display: flex;
    justify-content: center;
    align-content: center;
    width:100%;
    height:80%;
    top:20%;
}

img.focusM{
    max-width:80%;
    max-height:80%;
}

video{
    max-width:100%;
}
div#reader__dashboard{
    display:none;
}
img#flipImg{
    max-width:100%;
    max-height:100%;
}
button#giraButton{
    width:10%;
    background-color: #FFF5F1;
    border-radius: 10%;
}
div#flipDivM{
    display: flex;
    justify-content: center;
    align-content: center;
    z-index: 10;
    bottom: 100px;
    position: absolute;
    width:100%;

}
div#flipDiv{
    display: flex;
    justify-content: center;
    align-content: center;
    width:100%;

}
div#my_camera{
width:100%;
height:100%;
position:absolute;

}

div#tornaDiv{
     width: 20%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: absolute;
    z-index: 10;
    bottom: 0px;
}
div#tornaDivM{
    width: 20%;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    position: absolute;
    z-index: 10;
    bottom: 100px;
}
img#tornaImg{
width:50px;
margin:50px;
}

div#fonsSignUp{
    background-color: #FFF5F1;
    border: 2px solid rgb(108,72,50);
    border-radius: 20px;
    padding:50px 100px 100px 100px;
    margin:50px;
}

div.flexCenteredDiv{
    display: flex;
    justify-content: center;
    align-content: center;
}
button.submitButton {
    border: 2px solid rgb(108,72,50);
    border-radius: 3px;
    background-color:#FFF6F3;
    font-size: 13pt;
    color: black;
    padding: 5px 10px;
}

button.submitButton:hover {
    border: 2px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(108,72,50);
    color: white;
    font-size: 13pt;
}
input.submitButton {
    border: 1px solid rgb(108,72,50);
    border-radius: 3px;
    background-color:#FFF6F3;
    color: black;
    padding: 5px 10px;
}

input.submitButton:hover {
    border: 1px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(108,72,50);
    color: white;
}

a.cancelButton{
    border: 1px solid rgb(108,72,50);
    border-radius: 3px;
    background-color:#FFF6F3;
    color: black;
    padding: 5px 10px;
    text-decoration: none;
    font-size: 14px;
}

a.cancelButton:hover {
    border: 1px solid rgb(108,72,50);
    border-radius: 3px;
    background-color: rgb(108,72,50);
    color: white;
}

div.leftMargin{
    margin:50px;
}
.dropbtn {
  border-radius:50vh;
  background-color: transparent;

  color: rgb(108,72,50);
  padding: 16px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: 16px;
  border: solid 2px rgb(108,72,50);
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;

}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  border-radius:10px;
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

a.miniButton{
    background-color: rgb(108,72,50);
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius:10px;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius:10px;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #f6eee9;
}
img#logoBarraSuperior {
    width:130px;
    padding:0px;
    margin-left:10px;
}

a.withoutDecoration:link{
    text-decoration:none
}
a.withoutDecoration:visited{
    text-decoration:none
}
a.withoutDecoration:hover{
    text-decoration:none
}
a.withoutDecoration:active{
    text-decoration:none
}


table.adminTable {
  border-collapse: collapse;
  width: 100% ;
}

.adminTable th, td {
  padding: 8px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

img.optionsTable{
    width:20px;
}

div.tableNavigator{
    text-align:end;
    margin-right: 20px;
}

div.tableOptions{
    display: flex;
    justify-content: space-between;
}
a.addButton{
    margin:10px;
}

#blanc
{
    position:fixed;
    padding:0;
    margin:0;

    top:0;
    left:0;

    width: 100%;
    height: 100%;
    background:rgba(255,255,255,0.5);
    display:none;
}

div#camera{
    display:None;
}

div#waiting{
    display:flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

div.container{
    height:80%;
}

div.flexbox {

}

button.refresh {
    background-color: #FFF5F1;
    border: 0px solid black;
    border-radius: 55px;
    height:76px;
    width:78px;
    margin:0px;
    padding:0px;
}

button.refreshMobile{
    background-color: #FFF5F1;
    border: 0px solid black;
    border-radius: 55px;
    height:176px;
    width:178px;
    margin:0px;
    padding:0px;
}

button.refresh:hover, button.refreshMobile:hover {
    background-color:WhiteSmoke;
    border: 0px;
}

/* Estil del pop-up */
.popup {
    display: none; /* Amagat per defecte */
    position: fixed; /* Fixat a la pantalla */
    z-index: 11; /* Sobreposat sobre altres elements */
    left: 0;
    top: 0;
    width: 100%; /* Ample total */
    height: 100%; /* Altura total */
    overflow: auto; /* Si el contingut és massa, permet scroll */
    background-color: rgb(0,0,0); /* Fons negre */
    background-color: rgba(0,0,0,0.4); /* Negre amb opacitat */
}

/* Estil del contingut del pop-up */
.popup-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% des de dalt i centrat horitzontalment */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Ample del contingut */
    border-radius:10px;
}

/* El botó de tancar (x) */
.closeButton2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeButton2:hover,
.closeButton2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

img#photoImg {
    width:100%;
}

div.flexDivButtons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.flexDivButtons button{
    background: #FFF5F1;
    border: solid black 1px;
    border-radius: 150px;
    height: 60px;
    width: 60px;
    margin: 20px 20px;

}

button.buttonMobile {

     height: 160px;
    width: 160px;
}

select#language-select {
    text-transform: uppercase;
    background-color: transparent;
    border: none;
    margin-right: 20px;
}

select#language-select:focus {
    text-transform: none;
}
    a.simpleA {
        text-decoration: none;
    color: black;
    font-size: 15px;
    }