/*Material icons sense conxio*/
/* fallback */
@font-face {
  font-family: 'Material Icons Outlined';
  font-style: normal;
  font-weight: 400;
  src: url(gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2) format('woff2');
}

.material-icons-outlined {
  font-family: 'Material Icons Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}

/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2) format('woff2');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}

/*Open Sans sense conexio*/
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  src: url(memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVIGxA.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  src: url(memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVI.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/*SPINNER LOGIN*/
#loginSpinner {
	display: none;
}

.bg-login {
	background-color: #999999;
    z-index: 99999;
    position: fixed;
    opacity: 1;
    top: 110px;
    left: 0;
    width: 100%;
    bottom: 78px;
    /*height: 100%;*/
    box-sizing: border-box;
}

/*INICI SPINNER*/

.bg { 
    background-color: #999999;
    z-index: 99999;
    position: fixed;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.spinner{
    color:#f5f5f5;
    top: 50%;
    left: 50%;
    margin: 0;
    position: absolute;
    transform: translate(-50%,-50%);
    width: 64px;
    height: 64px;
    box-sizing: border-box;
    display: block;
}

.barra{
    width: 4px;
    height: 20px;
    margin-top: -10px;
    margin-left: -2px;
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid;
    position: absolute;
    -webkit-animation: line-spin-fade 1s ease-in-out infinite;
    animation: line-spin-fade 1s ease-in-out infinite;
}

.barra:first-child{
    top: 15%;
    left: 50%;
    transform: rotate(0deg);
    -webkit-animation-delay: -1.125s;
    animation-delay: -1.125s;
}

.barra:nth-child(2){
    top: 25.2512626585%;
    left: 74.7487373415%;
    transform: rotate(45deg);
    -webkit-animation-delay: -1.25s;
    animation-delay: -1.25s;
}

.barra:nth-child(3){
    top: 50%;
    left: 85%;
    transform: rotate(90deg);
    -webkit-animation-delay: -1.375s;
    animation-delay: -1.375s;
}

.barra:nth-child(4){
    top: 74.7487373415%;
    left: 74.7487373415%;
    transform: rotate(135deg);
    -webkit-animation-delay: -1.5s;
    animation-delay: -1.5s;
}

.barra:nth-child(5){top: 84.9999999974%;
    left: 50.0000000004%;
    transform: rotate(180deg);
    -webkit-animation-delay: -1.625s;
    animation-delay: -1.625s;}

.barra:nth-child(6){    
    top: 74.7487369862%;
    left: 25.2512627193%;
    transform: rotate(225deg);
    -webkit-animation-delay: -1.75s;
    animation-delay: -1.75s;}

.barra:nth-child(7){    
    top: 49.9999806189%;
    left: 15.0000039834%;
    transform: rotate(270deg);
    -webkit-animation-delay: -1.875s;
    animation-delay: -1.875s;
}

.barra:nth-child(8){
    top: 25.2506949798%;
    left: 25.2513989292%;
    transform: rotate(315deg);
    -webkit-animation-delay: -2s;
    animation-delay: -2s;
}


@-webkit-keyframes line-spin-fade {
	50% {
		opacity: .2
	}

	to {
		opacity: 1
	}
}

@keyframes line-spin-fade {
	50% {
		opacity: .2
	}

	to {
		opacity: 1
	}
}

/*FI SPINNER*/


#hostNameDiv {
	position: absolute;
	bottom: 0;
	right: 0;
}

#bioSubro{
	position: relative;
}

#errorNisBio {
	display: none;
}

#generalErrorBio {
	display: none;
}

#botonsFerFoto{
	display: none;
	gap: 324px;
	margin-top: 50px;
}

#homeIcon {
	display: none;
}

#opcionsSubro {
	display: none;
}

#opcionsBio {
	display: none;
}

 #campsSubro {
 	display: none;
 }
 
 #campsBio {
 	display: none;
 }
 
 #errorNis {
 	display: none;
 }
 
 #errorUid {
 	display: none;
 }
 
 #errorPin {
 	display: none;
 }
 
 #generalError {
 	display: none;
 }
 
 #titolBiometric {
 	display: none;
 }
 
 #titolDelegat {
 	display: none;
 }
 
#video {
 	display: none;
	max-width: 60%;
	max-height: 60%;
	margin: auto;
}

#canvas {
 	display: none;
	max-width: 60%;
	max-height: 60%;
	margin: auto;
}

@media screen and (max-width: 1400px){
	#video  {max-width: 55%; max-height: 55%;}
	#canvas {max-width: 55%; max-height: 55%;}
}

.showValue {
	position: relative;
	top: 60px;
	z-index: 1;
	left: calc(100% - 36px);
	cursor: pointer;
}

.showValue2 {
	position: relative;
	top: -56px;
	z-index: 1;
	left: calc(100% - 36px);
	cursor: pointer;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: sans-serif;*/
    font-family: "Open Sans";
}

h2{
    margin: 0px;
    font-size: 28px;
    color: #333333;
    font-weight: 400;
}

h3 {font-size: 24px; font-weight: 400; color: #333333;}

.header{
    background-color: #333333;
    height: 60px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

header ul{
    list-style: none;
    display: grid;
    grid-auto-flow: column;
}

header ul li{
    display: flex;
    align-items: center;
    justify-content: center;
}

header ul li > span {
    color: #FFFFFF;
    font-size: 28px!important;
    padding-right: 24px;
    user-select: none;
    cursor: pointer;
}

header ul li:after {
    content: "|";
    z-index: 1;
    width: 5px;
    color: #DDDDDD;
    display: flex;
    justify-content: center;
}

header ul li:last-child:after {content: " "; width: 0px;}

p {color: #666666;}

.layout-wrapper {
    display: flex;
    height: 100vh;
    flex-direction: column;
}

.reticula {flex: 1;}

.container {
    margin-left: 10px;
    margin-right: 10px;
  }
  
.container-center {
}

.gencat-completo {
    background-image: url('/img/gencat-completo.svg');
    width: 101px;
    filter: brightness(0.4);
    height: 26.672px;
    background-repeat: no-repeat;
}

.justicia-completo {
    background-image: url('/img/gencat-completov2.svg');
    width: 187px;
    height: 34.688px;
    background-repeat: no-repeat;
    background-size: contain;
}

footer{
    background-color: #EFEFEF;
    padding: 16px;
    font-size: 11px;
    margin-top: 32px;
}

footer .container {
    display: flex;
    gap: 16px;
}

.peu-img {width: 16.6667%; padding: 8px;}
.peu {width:83.3333%; padding: 8px;}

.second-header{background: linear-gradient(to bottom,#861f0e 0,#BF0000 25%); margin-top: 60px; margin-bottom: 32px;}
.second-header p{margin: 0; line-height:1;font-size: 1.406rem; color: #FFFFFF;}
.second-header span{
    background-color: #FFFFFF;
    color: #C00000; 
    border-radius: 50px;
    padding: 5px;
    width: 35px;
    box-shadow: 5px 5px 21px -10px #666666;
    user-select: none;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.intr {
    text-align: center;
    margin-bottom: 24px;
}

.intr h2:first-child {
    font-weight: 600;
    margin-bottom: 8px;
}

.btn-acces {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 10%;
}

.bigbutton-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.bigbutton {
    cursor: pointer;
    background: #F5F5F5;
    display: flex;
    align-items: center;
    padding: 15px 3px 15px 20px;
    border: 1px solid #DDDDDD;
    height: 107px;
    -webkit-user-select: none;
    user-select: none;
}
.bigbutton-grid .bigbutton > span {
    font-size: 50px;
    background-color: #C00000;
    color: #FFFFFF;
    height: 70px;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 10px;
    margin: 0;
    border-radius: 50%;
    -webkit-user-select: none;
    user-select: none;
}
.bigbutton-grid .bigbutton > h3{
    font-weight: 600;
    margin-left: 14px;
}
.bigbutton-grid .bigbutton.active{background-color: #C00000;}
.bigbutton-grid .bigbutton.active > span {color: #C00000; background-color: #FFFFFF;}
.bigbutton-grid .bigbutton.active > h3 {color: #FFFFFF;}

.icona-titol {
    display: flex;
    align-items: center;
    padding: 8px 0px;
    gap: 8px;
}
.icona-titol h3{
    color: #FFFFFF;
    font-weight: 400;
}

.camp{
    display: grid;
    width: 100%;
    margin-bottom: 24px;
}

.camp2{
	    display: grid;
	    width: 100%;
}

.camp label {
    margin-bottom: 4px;
    color: #333333;
}

.camp small{
    color: #BF0000;
}

label span {color: #BF0000;}

input {
    padding: 10px 8px;
    border:1px solid #DDDDDD;
    border-radius: 4px;
    width: 100%;
    color: #333333;
    font-size: 16px;
}

input:hover {border:1px solid #333333;}
input:focus {border:1px solid #333333;}
input:focus-visible {outline: none;}

input.error {border-color: #BF0000;}
input.error:hover {border-color: #BF0000;}
input.error:focus {border-color: #BF0000;}


small {font-size: 14px;}

.msg-error {
    width: 100%;
    background-color: #FFCCCC;
    color: #333333;
    display: flex;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 24px;
    margin-top: 16px;
    font-weight: 600;
}

button{
    min-width: 85px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #C00000;
    border-radius: 4px;
    padding:8px;
    border: 2px solid #C00000;
    cursor: pointer;
    font-size: 18px;
    font-family: "Open Sans";
    align-items: center;
    display: inline-flex;
    margin: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    user-select: none;
    vertical-align: bottom;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

button:hover {
    background: #8D0000;
    border-color: #8D0000;
}

.postion-right {
    display: flex;
    justify-content: end;
}

.position-center {
	display: flex;
	justify-content: center;
}

/*Dropdown idiomes*/
.sec-center {
    position: relative;
    z-index: 200;
  }
  [type="checkbox"]:checked,
  [type="checkbox"]:not(:checked){
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
  }
  .sec-center .dropdown:checked + label,
  .sec-center .dropdown:not(:checked) + label{
    padding-left: 24px;
    position: relative;
    font-weight: 600;
    font-size: 14px;
    transition: all 200ms linear;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    text-align: center;
    border: none;
    background-color: #333333;
    cursor: pointer;
    color: #FFFFFF;
  }
  .sec-center .dropdown:not(:checked) + label .uil {
    user-select: none;
    text-decoration: none;
    font-size: 18px;
    transition: transform 200ms linear;
  }
  .sec-center .dropdown:checked + label .uil {
    text-decoration: none;
    transform: rotate(-180deg);
    font-size: 18px;
    transition: transform 200ms linear;
    user-select: none;
  }
  .sec-center .section-dropdown {
    position: absolute;
    background-color: #FFFFFF;
    top: 41px;
    left: 0;
    display: block;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.3);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    width: 127px;
  }
  .sec-center .dropdown:checked ~ .section-dropdown{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .sec-center a {
    position: relative;
    color: #333333;
    font-weight: 600;
    font-size: 12px;
    padding: 16px 16px;
    margin: 10px 0;
    text-align: left;
    text-decoration: none;
    display: flex;
  }
  .sec-center a:hover {text-decoration: underline;}
  .sec-center a .uil {font-size: 18px;}

  /*Login*/

  .login-cont {
    display: flex; 
    align-items: center; 
    justify-content: center;
    margin-top: 32px;
}

.login {width: 66.6667%;}
.postion-right > small {color: #555555;}
.postion-right > small > span{color: #BF0000;}

.footer-ue {
	background-image: url(../img/logo_FEDER.PNG);
	bottom: 100px;
	margin-top: 30px;
	margin-left: 45px;
    width: 187px;
    min-height: 34.688px;
    background-repeat: no-repeat;
    background-size: contain;
}






@media only screen and (min-width: 768px){    
    .container {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
  }
}
@media only screen and (min-width: 992px) {.container {max-width: 970px;}}
@media only screen and (min-width: 1200px) {.container {max-width: 1170px;}}
@media only screen and (min-width: 1600px) {.container {max-width: 1400px;}}

@media screen and (max-width: 992px) {
    .bigbutton-grid {grid-template-columns: 1fr 1fr;}
    .login {width: 100%;}
	.login-cont {margin-top: 0px}
    .header {height: 90px;}
    .bg-login {top: 140px;}
    .header .container{
        /*flex-direction: column;*/
        align-items: center;
        justify-content: center;
        height: 100%;
    }
    .second-header {margin-top: 90px;}
    /*header ul{margin-top: 16px;}*/
    .postion-right {place-content: center;}
    button {display:block;margin-left:10px;margin-right:10px;margin-top:20px;}
    footer .container {gap:0}
    .divVideo {margin-top: 0px;}
    #botonsFerFoto{margin-top:15px;align-items:center;gap:0}
    small {font-size: 13px;}
}

@media only screen and (max-width: 768px){
    footer .container {flex-direction: column-reverse;}
    bg-login {bottom: 92px;}
    .peu{width: 100%; gap: 0px;}
    .peu-img {
        border-top: 1px solid rgba(51, 51, 51, 0.1);
        padding-top: 20px;
        margin-top: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .footer-ue {
		margin-left: 10px;
	}
}

@media screen and (max-width: 576px){
	.bigbutton-grid {grid-template-columns: 1fr;}
	.bg-login {top: 90px;}
}
