.disable-doubletap-to-zoom { touch-action: none; }

body {
	display: flex;
					
	flex-wrap: wrap;
	background: #fff;
	
	/*background: -webkit-linear-gradient(#fff, #ddd);
	background: -o-linear-gradient(#fff, #ddd);
	background: -moz-linear-gradient(#fff, #ddd);
	background: linear-gradient(#fff, #ddd);*/
	
	font-family: 'Noto Sans','Oswald',sans-serif;
}

.panel-body {
    padding: 1.5em !important;
}

.panel-heading {
    padding: 0 !important;
}
form {
	/* display: flex; */
	display: contents;
}

img.resp-img-flags {
	background-color: rgb(248, 248, 248);
	background-color: rgba(248, 248, 248, 0.5);
	/*box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);*/
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	padding: 2px;
	/*margin-top: 5%;*/
}

img.resp-img-flags.active {
	display:none;
	background-color: rgb(51, 122, 183);
	background-color: rgba(51, 122, 183, 0.5);
	box-shadow: 0 0 8px rgba(51, 122, 183, 0.6);
}

.reason-vis{
	display:block;
}

.bt-qb-color{
	background-image: -webkit-linear-gradient(top,#15a0d9 0,#337ab7 100%);
    background-image: -o-linear-gradient(top,#337ab7 0,#265a88 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#15a0d9),to(#337ab7));
    background-image: linear-gradient(to bottom,#15a0d9 0,#337ab7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-color: #245580;
}

.or-margin{
	margin-top: 5%;
}

.btn-switch-padding{
	margin-top: 5% !important;
}

.panel-login {
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	margin: 3.5% auto 0%;
	z-index: 999;
	text-align: center;
}

.panel-login>.panel-heading {
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	padding-bottom: 0px;
	text-align: center;
}

.panel-login>.panel-heading a {
	text-decoration: none;
	color: #666;
	font-weight: bold;
	//font-size: 2vw;
	-webkit-transition: all 0.1s linear;
	-moz-transition: all 0.1s linear;
	transition: all 0.1s linear;
}

.panel-login>.panel-heading a.active {
	color: #85A818;
	//font-size: 18px;
}


.panel-login>.panel-heading hr {
	margin-top: 10px;
	margin-bottom: 0px;
	clear: both;
	border: 0;
	height: 1px;
	background: #15A0D9;
	background: -webkit-linear-gradient(left, #85a81830, #85a81899, #85a81830);
	background: -moz-linear-gradient(left, #85a81830, #85a81899, #85a81830);
	background: -ms-linear-gradient(left, #85a81830, #85a81899, #85a81830);
	background: -o-linear-gradient(left, #85a81830, #85a81899, #85a81830);
}

.panel-login .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px;
	font-size: 16px;
}

.panel-login .form-control-feedback {
	top: 10px;
}

.panel-login .form-control:focus {
	z-index: 2;
	box-shadow: none;
    border-bottom: solid 2px #16A1D9;
}

.panel-login #userGroup {
	margin-bottom: 0;
}

.panel-login input[type="text"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
	
	background: none;
    border: none;
    box-shadow: none;
    border-bottom: solid 1px #c5c5c5;
    padding-left: 0;
    border-radius: 0;
}

.panel-login input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	
	background: none;
    border: none;
    box-shadow: none;
    border-bottom: solid 1px #c5c5c5;
    padding-left: 0;
    border-radius: 0;
}

.panel-login .fingerprint {
	border-radius: 4px;
	position: relative;
	/*padding: 10px;*/
	margin-bottom: 5%;
}

.panel-login img#fingerprint {
    width: 20em !important;
}

.panel-login img#qrImage {
        width: 20em;
    }

.panel-login .group .fingerprint {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.panel-login .progressBar {
	left: 10%;
	position: absolute;
	text-align: center;
	top: 45%;
	width: 80%;
	background-color: #fff;
	padding: 4px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}

.panel-login #scanError, .panel-login #scanWarning, .panel-login #scanInfo,
	.panel-login #scanSuccess {
	left: 10%;
	position: absolute;
	text-align: center;
	top: 40%;
	width: 80%;
}

.panel-login .modal-header {
	font-weight: bold;
	font-size: large;
}

.panel-login #submitArea {
	margin-top: 2em;
}

.buttons {
	margin-top: 0.4em;
}

.btn {
	border-radius: 5px !important
}

.fingerprintSize{
	width: 100%;
	height: auto;
}


.mobile-view{
	display: block;
}


.no-mobile-view{
	display: none;
}

.logo {
	box-sizing: border-box;
	background: url(../img/bc_logo.png) no-repeat;
	background-position: center;
	background-size: contain;
	width: 100%;
	height: 100%;
	margin-top: 0;
}

.sectionSwitch{
	display: none;
}

.sectionSwitchMobile{
	display: block;
}

.panel-login-title{
	display: inline;
}

.footer-header-styles {
	display: none;
}

.footer-footer-styles {
	display:block;
}

.login-buttons {
	background-color: #b5ca73 !important;
	color:white !important;
}

.footer {
    background: -webkit-linear-gradient(top, #fff 0, #e8e8e8 100%);
    background: -o-linear-gradient(top, #fff 0, #e8e8e8 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#fff),
        to(#e8e8e8));
    background: linear-gradient(to bottom, #fff 0, #e8e8e8 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',
        endColorstr='#e8e8e8', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 0 0 rgba(255, 255, 255, .15), 0 -2px 5px
        rgba(0, 0, 0, .075);
    box-shadow: inset 0 0 0 rgba(255, 255, 255, .15), 0 -2px 5px
        rgba(0, 0, 0, .075);
    background-color: #f8f8f8;
    border-color: #e7e7e7;
    color: #777;
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.footer .container {
    padding: 10px;
    text-align: center;
    color: #777;
}

@media (min-width: 0px) and (orientation: portrait) {	/* and (orientation: portrait) */ /* M�viles portrait */

	.sectionLogo{
		width: 100%;
		height: 20vh;
		order: 1;
		text-align: left;
		padding-top: 5%;
		transform: scale(0.8);
	}
	
	.sectionFingerprint{
		width: 100%;
		height: auto;
		order: 2;
		text-align: center;
		padding-top: 5%;
	}

	.sectionFlags{
		display: block;
		width: 100%;
		order: 4;
		text-align: center;
	}

	.resp-img-left{
	    padding-left: 15%;
	    padding-right: 15%;
	    padding-top: 8%;
	    width: 100%;
	    height: auto;
	}
	
	.resp-img-flags{
		width: auto;
		height: 3vh;
		opacity: 0.8;
		filter: alpha(opacity=80);
	}

	.reason-vis {
		display:none;
	}
	
	.col-xs-6{
		width: 100%;
		float: none;
	}
	
	.col-xxs-6{
		width: 100%; 
	}
	
	.col-xxs-3{
		width: 100%; 
	}
	
	.modal-dialog {
		width: 88%;
	}
	
	.language-selector {
		display: none;
	}
	
	.panel-login.panel-size{
		width: 90%;	
	}
	
	.title-fingerprint{
		display: none;
	}
	
	.panel-heading-row-titles{
		display: block;
	}
	
	.panel-login>.panel-heading a.active {
		text-align: center;
	}
	
	.panel-login input[type="text"] {
		margin-bottom: 5%;
	}
	
	.panel-login img#fingerprint {
        width: 20em !important;
    }
    
    .panel-login img#qrImage {
        width: 16em;
    }
	
	.modal-content-mobile{
		padding-bottom: 0;
	}
	
	.modal-body-scroll {
	    position: relative;
	    padding: 15px;
	    height: 65vh;
	    overflow-y: auto;
	}
	
	.h4-mobile{
		display: contents;
		margin-top: 0;
	    margin-bottom: 0;
	}
	
	.b-name{
		display: block;
		text-align: center;
		padding-top: 3%;
	}
	
}


@media (min-width: 0px) and (orientation: landscape) {	/* and (orientation: portrait) */ /* M�viles portrait */

	.panel-login img#fingerprint {
	    width: 20em !important;
    }
    
    .panel-login img#qrImage {
        width: 20em;
    }

	.sectionLogo{
		width: 100%;
		height: 55vh;
		order: 1;
		text-align: left;
		padding-top: 5%;
		transform: scale(0.8);
	}
	
	.logo {
		margin-top: 0%;
	}
	
	.sectionFingerprint{
		width: 100%;
		height: auto;
		order: 2;
		text-align: center;
	}	

	.sectionFlags{
		display: block;
		width: 100%;
		order: 4;
		text-align: center;
	}

	.resp-img-left{
	    padding-left: 15%;
	    padding-right: 15%;
	    padding-top: 8%;
	    width: 100%;
	    height: auto;
	}
	
	.resp-img-flags{
		width: 36px;
    	height: 27px;
    	opacity: 0.8;
    	filter: alpha(opacity=80);
	}
	
	.reason-vis {
		display:none;
	}
	
	.col-xs-6{
		width: 100%;
		float: none;
	}
	
	.col-xxs-6{
		width: 100%; 
	}
	
	.col-xxs-3{
		width: 100%; 
	}
	
	.modal-dialog {
		width: 88%;
	}
	
	.language-selector {
		display: none;
	}
	
	.panel-login.panel-size{
		width: 90%;	
	}
	
	.title-fingerprint{
		display: none;
	}
	
	.panel-heading-row-titles{
		display: none;
	}
	
	.panel-login>.panel-heading a.active {
		text-align: center;
	}
	
	.panel-login input[type="text"] {
		margin-bottom: 5%;
	}
	
	.modal-content-mobile{
		padding-bottom: 0;
	}
	
	.modal-body-scroll {
	    position: relative;
	    padding: 15px;
	    height: 35vh;
	    overflow-y: auto;
	}
	
	.h4-mobile{
		display: contents;
		margin-top: 0;
	    margin-bottom: 0;
	}
	
	.b-name{
		display: block;
		text-align: center;
		padding-top: 3%;
	}
}

/* 	Al mostrar el teclado en dispositivos portrait se alteran las css.
		Soluci�n:
			1. A los dispositivos con "@media (orientation: landscape)" se le aplican los estilos de las pantallas portrait, adaptados a cuando se muestra un teclado en pantalla (keyboard).
			2. A dichos landscape que sobrepasen el ratio aqu� indicado "@media (min-aspect-ratio: 14/9)", se les sobreescriben los estilos para adaptarlos a dispositivos en horizontal (el verdadero landscape).
		
 	Es importante que estos min-aspect-ratio se coloquen al final de la css, despu�s de los landscapes, sino solo coge las css de landscape. */
@media screen and (min-width: 0px) and (min-aspect-ratio: 14/9){ 				/* Podr�a tener que usar 13:9 o 4:3 */
	
	.modal-body #reasons {
        height: 30em;
        overflow-y: auto;
    }
    
	.panel-login img#fingerprint {
        width: 10em !important;
    }
    
     .panel-login img#qrImage {
        width: 18em;
    }

	.sectionLogo{
		width: 100%;
		height: 70vh;
		order: 1;
		text-align: left;
		padding-top: 5%;
		transform: scale(0.8);
	}
	
	.logo {
		margin-top: 0%;
	}
	
	.sectionFingerprint{
		width: 100%;
		height: auto;
		order: 2;
		text-align: center;
	}	

	.sectionFlags{
		display: block;
		width: 100%;
		order: 4;
		text-align: center;
	}

	.resp-img-left{
	    padding-left: 15%;
	    padding-right: 15%;
	    padding-top: 8%;
	    width: 100%;
	    height: auto;
	}
	
	.resp-img-flags{
		width: 36px;
    	height: 27px;
    	opacity: 0.8;
    	filter: alpha(opacity=80);
	}
	
	.reason-vis {
		display:none;
	}
	
	.col-xs-6{
		width: 100%;
		float: none;
	}
	
	.col-xxs-6{
		width: 100%; 
	}
	
	.col-xxs-3{
		width: 100%; 
	}
	
	.modal-dialog {
		width: 88%;
	}
	
	.language-selector {
		display: none;
	}
	
	.panel-login.panel-size{
		width: 90%;	
	}
	
	.title-fingerprint{
		display: none;
	}
	
	.panel-heading-row-titles{
		display: none;
	}
	
	.panel-login>.panel-heading a.active {
		text-align: center;
	}
	
	.panel-login input[type="text"] {
		margin-bottom: 5%;
	}
	
	.modal-content-mobile{
		padding-bottom: 0%;
	}
	
	.modal-body-scroll {
	    position: relative;
	    padding: 15px;
	    overflow-y: auto;
	}
	
	.h4-mobile{
		display: contents;
		margin-top: 0;
	    margin-bottom: 0;
	}
	
	.b-name{
		display: block;
		text-align: center;
		padding-top: 3%;
	}
}







@media (min-width: 544px){	/* Raspberry's: Para su panel de eventos. Bajando de esto se ver� vertical. Obsoleto: Revisar. Resoluci�n real de pantalla Raspberry = 1600x960 */
	
	.mobile-view{
		display: none;
	}
		
	.no-mobile-view{
		display: block;
	}
}




@media (min-width: 768px) and (orientation: portrait){
	
.nav-pills {
       display:inline !important;
       margin-bottom: 2em !important;
    }
}


@media (min-width: 768px) and (orientation: landscape){
	.nav-pills {
	   display:none !important;
	}
	.modal-body #reasons {
       height:24em;
        overflow-y: auto;
    }
    
	.panel-login img#fingerprint {
        width: 10em !important;
    }
    
    .panel-login img#qrImage {
        width: 15em;
    }
	
	.flex-row {
	    display: flex;
	} 
	
	.panel-login .fingerprint {
		margin-bottom: 5%;
	}
	
	.panel-login input[type="text"]{
		margin-bottom: 0%;
	}
	
	#passwordGroup {
		margin-top: 5%;
	}
	
	.panel-login>.panel-heading a {
		//font-size: 1.5vw;
	}
	
	.panel-login>.panel-heading a.active{
		//font-size: 1.8vw;
	} 
	
	.logo {
		background: url(../img/bc_icon_home.png) no-repeat;
		background-size: 14.5vw auto;
	}
	
	.sectionLogo{

		width: 15%;
		height: 100vh;
		order: 1;
		
		padding-top: 1%;
		padding-left: 2%;
		
		transform: scale(0.8);

	}	

	.panel-heading-row-titles{
		display: inline;
	}

	.title-fingerprint{
		display: inline;
		padding-right: 10%;	
	}
	
	.title-login{
		display: inline;
		padding-left: 10%;
	}
	
	.sectionFingerprint{
		width: 70%;
		height: auto;
		order: 2;
		text-align: center;
	}	
	
	.sectionSwitchMobile{
		display: none;
	}
	
	.sectionSwitch{
		display: block;
		/*width: 15%;*/
		height: 100vh;
		order: 3;
		transform: scale(0.8);
	}

	.sectionFlags{
		display: none;
	}

	.resp-img-left{
		width: 10vw;
		height: auto;
		display:block;
		margin:auto;
	}

	
	.resp-img-right{
		width: 9vw;
		height: auto;
		display:block;
		margin:auto;
		/*margin-right: 2%;*/
		padding-top: 1em;
	} 
	

	.resp-img-flags{
		width: 36px;
    	height: 27px;		
		margin: 2% 1% 0;
		opacity: 0.8;
		filter: alpha(opacity=80);
	}
	
	.language-selector {
		display:block;
		width: 370px;
		margin: 20px auto 0;
		text-align: center;
		z-index: 999;
	}
	
	.panel-login.panel-size{
		width: 50%;	
	}
	
	/* Panel de eventos */
	.col-xxs-6{
		width: 50%; 
	}
	
	.col-xxs-3{
		width: 20%; 
	}
	
	.modal-body-scroll {
	    position: relative;
	    padding: 15px;
	    height: auto;
	    overflow-y: unset;
	}
	
	.modal-content-mobile{
		padding-bottom: 0;
	}
	
	.h4-mobile{
		display: inline-block;
		margin-top: 10px;
	    margin-bottom: 10px;
	}
	
	.b-name{
		display: unset;
		text-align: center;
		padding-top: 0%;
	}
	
	.footer-header-styles {
		display: inline-block;
	}
	
	.footer-footer-styles {
		display: none;
	}
	
}

@media (min-width: 1100px) and (orientation: landscape){
	.nav-pills {
       display:none !important;
    }
    
	.col-xxs-3{
        width: 25%; 
    }
    
    .modal-body #reasons {
        height:30em;
        overflow-y: auto;
    }
}





@media (min-width: 992px){
	.nav-pills {
       display:none !important;
    }
    
	.flex-row {
	    display: flex;
	} 
	
	.panel-login .fingerprint {
		margin-bottom: 5%;
	}
	
	.panel-login input[type="text"]{
		margin-bottom: 0%;
	}
	
	#passwordGroup {
		margin-top: 5%;
	}
	
	.panel-login>.panel-heading a {
		//font-size: 1.2vw;
	}
	
	.panel-login>.panel-heading a.active{
		//font-size: 1.4vw;
	} 
	
	.modal-content-mobile{
		/* height: 85vh; */
		padding-bottom: 0;
	}
} 







@media (min-width: 	1280px){ /* Tablet: 1280*800 . Raspberry: 1600x960*/
    
    .nav-pills {
       display:none !important;
    }
    
    .modal-body #reasons {
        height:auto;
        overflow-y: auto;
    }
    
	.flex-row {
	    display: flex;
	}

    .panel-login img#fingerprint {
        width: 20em !important;
    }
    
    .panel-login img#qrImage {
        width: 23em;
        margin-left: -10px;
    }
    
	.panel-login .fingerprint {
		margin-bottom: 5%;
		margin-top: 5%;
		padding: 0;
	}
	
	.panel-login input[type="text"]{
		margin-bottom: 0%;
	}

	#passwordGroup {
		margin-top: 5%;
	}

	.panel-login.panel-size {
	    /* width: 30%; */
	    /* padding-top: 1.5%; */
	}
	
	.panel-login>.panel-heading a {
		//font-size: 1.7vw;
	}
	
	.panel-login>.panel-heading a.active{
		//font-size: 2.2vw;
	} 
	
	/* Panel de eventos 
	.reason-vis {
		display:inline-block;
	}
	*/
	.modal-dialog {
		width: 88%;
	}
	
	.footer-header-styles {
		display:inline-block;
	}
	
	.footer-footer-styles {
		display:none;
	}
	
	.modal-body-scroll {
	    position: relative;
	    padding: 15px;
	    height: auto;
	    overflow-y: unset;
	}
	
	.modal-content-mobile{
		/* height: 85vh !important; */
		padding-bottom: 0;
	}
	
	.panel-login>.panel-heading hr {
		margin-top: 0%;
    	margin-bottom: 0%;
	}

	.panel-body {
		padding-top: 0;
	}
	
	.panel-login #userGroup {
		margin-bottom: 0;
	    margin-top: 5%;
	}
	
	
	
	
	
	
	
	.panel-login.panel-size{
		width: 40%;	
	}

	/* Panel de eventos */
	.col-xxs-6{
		width: 50%; 
	}
	
	.col-xxs-3{
		width: 20%; 
	}

	.h4-mobile{
		display: inline-block;
		margin-top: 10px;
	    margin-bottom: 10px;
	}
	
	.b-name{
		display: unset;
		text-align: center;
		padding-top: 0%;
	}
	
	.btn-reason {
		padding: 2% !important;
		/*margin: 1% !important;*/
		height: 6em !important;
	}
	
	.btn {
		font-size: 1.5em !important;
	}
	
	.h4, h4 {
		font-size: 35px;
	}
	
	.btn-group-lg>.btn, .btn-lg {
		padding: 16px 16px;
	}
	
	.modal-header {
		padding: 1.3em;
	}
}





@media (min-width: 1900px){
    .nav-pills {
       display:none !important;
    }
	.flex-row {
	    display: flex;
	}

	.panel-login .fingerprint {
		margin-bottom: 5%;
		margin-top: 0%;
	}
	
	.panel-login input[type="text"]{
		margin-bottom: 0%;
	}

	#passwordGroup {
		margin-top: 5%;
	}

	.panel-login.panel-size {
	    width: 30%;
	    //padding-top: 1.5%;
	}
	
	.panel-login>.panel-heading a {
		//font-size: 1vw;
	}
	
	.panel-login>.panel-heading a.active{
		//font-size: 1.2vw;
	} 
	
	/* Panel de eventos */
	.reason-vis {
		display:inline-block;
	}
	
	.modal-dialog {
		width: 60em;
	}
	
	.col-xxs-3{
		width: 25%; 
	}
	
	.footer-header-styles {
		display:block;
	}
	
	.footer-footer-styles {
		display:none;
	}
	
	.modal-body-scroll {
	    position: relative;
	    padding: 15px;
	    height: auto;
	    overflow-y: unset;
	}
	
	.modal-content-mobile{
		padding-bottom: 0;
	}
	
	.btn-reason {
		padding: 10px !important;
		margin: 2px !important;
		height: 100px !important;
	}
	
	.btn {
		font-size: 14px !important;
	}
	
	.h4, h4 {
		font-size: 18px;
	}
	
	.btn-group-lg>.btn, .btn-lg {
		padding: 10px 16px;
	}
	
	.modal-header {
		padding: 15px;
	}
	
	video{
	transform: rotateY(180deg);
	-webkit-transform:rotateY(180deg); /* Safari and Chrome /
	-moz-transform:rotateY(180deg);/ Firefox */
}

}