html,
body {
    height: 100%;
    font-size: 13px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container, .wrap > .container-fluid{
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/*.list-group-item-heading a{
	color: #333;
}*/

.help-block{
	font-size: 95%;
	font-style: italic;
	padding-left: 5px;
}

.no-margin-top{
	margin-top: 0px;
}
.no-margin-bottom{
	margin-bottom: 0px;
}

.blockquote-reverse img{
	display: inline;
}

/* ===============================================
 * ==== Custom CSS
 */
 
 /* Custom container */
.container-full {
  margin: 0 auto;
  width: 100%;
}
 
 /* Layout fix */
 .navbar-brand-image{
 	padding: 0px !important;
 }
 
/* Layout custom */
#ice-index{
	color: #113290;
}

#card-activation label, 
#registration-register label, 
#site-ice label, 
#ice-index label, 
#security-login label, 
#facility-patientcheckin  label{
    color: #127cc2;
    font-style: italic!important;
    font-weight: 400!important;
    /*font-size: 1em;*/
}

#registration-register .checkbox label a{
	text-decoration: underline;
	font-style: italic;
}

#registration-register h4{
	text-align: center;
	color: #127cc2;
}

.ice-foto{
	margin: auto; width: 160px; height: 160px;
}

.ice-circle{
	border-radius: 50%; 
	border: 1px solid #ddd; 
	width: 100px; 
	height: 100px; 
	margin: auto; 
	margin-bottom: 20px;
}
.ice-circle-blood{
	padding-top:5px;
	border: 8px solid #113290;
}
.ice-circle-blood .glyphicon{
	font-size: 300%;
	color: #a94442; 
	top: 10px;
}
.ice-circle-blood h1{
	font-size: 30px;
}

.ice-circle-sos{
	border: none;
}

.ice-info h1, .ice-info h2, .ice-info h3, .ice-info h4, .ice-info h5, .ice-info h6 {
    /* font-family: 'Open Sans' !important; */
    font-family: 'Open Sans',Arial!important;
    /*font-weight: 700!important;*/
    color: #127cc2;
}

.ice-box-container{
	margin-top: 20px;
	margin-bottom: 20px; 
	font-size: 14px;
}
.ice-box-header{
	margin-bottom: -10px; text-align: center; background-color: transparent;
}
.ice-box-header span{
	background-color: #fff; padding: 1% 8%; font-size: 130%; font-weight: normal;
}
.ice-box-body{
	min-height: 20px;
	padding: 15px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
	/* div well lg */
	padding: 24px;
	border-radius: 6px;
}

.ice-box-header-allergies{ color: #a94442; }
.ice-box-header-intolerances{ color: #daaa52; }
.ice-box-header-drugs{ color: #3c763d; }
.ice-box-header-doctor{ color: #C95981; }
.ice-box-header-contacts{ color: #31708f; }
.ice-box-header-transplantation_note{ color: #daaa52; }
.ice-box-header-rare_diseases{ color: #daaa52; }

.ice-box-body .glyphicon-earphone{
	color: #3c763d;
	margin-left: 15px;
}

#personal-data-form hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

#w01-collapse1 h4:first-of-type {
   margin-top: 0px;
}
 
td.action-column{
	white-space: nowrap;
	width: 5%;
	text-align: right;
} 
 
/* Vogliono il logo centrato.. (https://stackoverflow.com/questions/23400234/centering-brand-logo-in-bootstrap-3-navbar) */
.navbar-brand {
  /*background: url(http://disputebills.com/site/uploads/2015/10/dispute.png) center / contain no-repeat;*/
  /*width: 200px; /* no height needed ... image will resize automagically */
  
  transform: translateX(-50%);
  left: 50%;
  position: absolute;
} 

/* intlTelInput.css */
.intl-tel-input{
	display: block;
}

table.detail-view tbody tr th{
	width: 25%;
}
table.detail-view tbody tr td{
	width: 75%;
}
 
input.number {
	text-align: right;
}

/* ===============================================
 * ==== Custom classes 
 */
form .download-icon{
	padding-top: 29px; font-size: 20px; text-align: center;
}
 
.mmc {
	color: #127cc2;
}

h1.mmc, h2.mmc, h3.mmc{
	color: #127cc2;
}

.text-danger, h1.text-danger, h2.text-danger{
	color: #a94442;
}

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.nowrap{
	white-space: nowrap;
}

/* site/index, site/ice full page view */
/*#site-index div.container:nth-child(2), 
#site-ice div.container:nth-child(2),
#ice-index div.container:nth-child(2) {
	width: 100%;
}*/

.ice{
	/*background-color: #cc2229;*/
	background-color: #69b452;
	color: #fff;
	text-align: center;
}

.ice h1 small{
	color: #fff;
}

#site-ice p.bold,
#ice-index p.bold{
	font-weight: bold;
}

a.anchor {
	padding-top: 60px; margin-top: -60px; text-decoration: none; color: inherit;
}
a.anchor:link {color: inherit;}
a.anchor:visited {color:inherit;}
a.anchor:hover {color:inherit;}
a.anchor:active {color:inherit;}

/* menu */

div#accordion-mmc-menu a:hover{
    text-decoration: none;
}

.menu-subtitle{
	color: #adadad; 
	text-transform: uppercase; 
	/*font-weight: 700;*/ 
	/*margin-bottom: 5px;*/
	border-bottom: 1px solid #bbb;
}
ul.menu-data {
	list-style-type: none; padding-left: 0px;
}
ul.menu-data li{
	padding: 0px 0px 0px 15px;
}
ul.menu-data li label{}
ul.menu-data li .value{}

/* form */
.value {
	line-height: 34px;
	padding: 6px 12px 6px 12px;
}

form div.required label.control-label:after {
  content:" * ";
  color:red;
}

/* ========= panel group interno al menu laterale - inizio */
/* modifico i panel-group per gli oggetti collapse che si trovano dentro il menu (AVIS milano) */
.inmenu-collapse{}
.inmenu-collapse.panel-group{
	margin-bottom: 0px;
}
.inmenu-collapse .panel-group{
	margin-bottom: 0px;
}
.inmenu-collapse .panel{
	border: 0px;
	-webkit-box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
	box-shadow: 0 0px 0px rgba(0, 0, 0, .05);
}
.inmenu-collapse .panel-heading{
	color: #adadad; 
	text-transform: uppercase; 
	font-weight: 700; 
	background-color: transparent;
	padding: 5px 0px;
}
.inmenu-collapse .panel-title{
	font-size: 13px;
}
.inmenu-collapse .panel-collapse > .panel-body {
    border-top: 1px solid #bbb !important;
    border-top-color: #bbb !important;
    /*padding: 5px 15px;*/
}
.inmenu-collapse a:hover, .inmenu-collapse a:focus {
    text-decoration: none;
}
/* ========= panel group interno al menu laterale - fine */

/* Loading div */
#loader
{
	position:fixed;
	width:100%;height:100%;
	z-index:999;
	background-color:#2494F2;
}
#loader img
{
	position:absolute;
	top:50%;left:50%;
}

/*
 * Fluid centered 
 */
.centered-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	/*flex-wrap: nowrap | wrap | wrap-reverse;*/
	
}
/*.centered-fluid > div {
    float: none;
    display: inline-block;
    text-align: left;
    font-size: 13px;
}*/

.loading_overlay{
	position: fixed;
	left: 0px;
	top: 0px;
	bottom: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
	text-align:center;
	z-index: 999990;
	/*background-color: #000;
	opacity: 0.8;
	filter: alpha(opacity=80)*/
	background-color: rgb(0,0,0, 0.4); /*Instead of using opacity, set a background-color with rgba, where 'a' is the level of transparency.*/
}
.loading_overlay .kv-spin {
    position: static;
}

.alert-bell{
	position: fixed;
	top: 3px;
	width: 45px;
	height: 45px;
	line-height: 45px;
	left: 4%;
	z-index: 1050;
	text-align: center;
	color: rgba(226, 24, 24, 0.65);
	font-size: 24px;
	
	background-color: white;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 3px solid rgba(226, 24, 24, 0.65);
	border-radius: 100%;
	box-sizing: border-box;
	box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25);
}

.alert-bell-img{
	position: fixed;
	top: 3px;
	width: 45px;
	height: 45px;
	line-height: 45px;
	left: 4%;
	z-index: 1050;
	text-align: center;
	
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	
	border-radius: 100%;
	box-sizing: border-box;
	box-shadow: inset 0px 2px 2px rgba(0, 0, 0, 0.25);
	background-image: url("/files/images/gps-icon.png");
}

td.eye {
	border: none !important;
}

div.eye-info-table{
	margin-bottom: 10px;
}
div.eye-info-table-row{
	position: relative;
}
div.eye-info-table div.eye-info-table-row > div:not(.clearfix):not(.distance-label){
	border: 1px solid #ddd;
	padding: 18px;
}
div.eye-info-table-row > div.th{
	font-weight: bold;
	text-align: center;
}
.distance-label{
	position: absolute; 
	top: -6px; 
	width: 40%; 
	left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  z-index: 10;
  background-color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  padding: 2px;
}

#ice-eye div.eye-info-table-row {
	text-align: center;
}

.single-eye-info {
	margin-top:10px;
}
.single-eye-info.col-xs-12, 
.single-eye-info.col-md-6 {
	padding-left: 0px;
	padding-right: 0px;
}

/* HRV */
.hrv-info-table .hrv_label {
	padding: 6px;
	font-weight: bold;
	font-size: normal;
	text-align: left;
}

/*.hrv_hazard select option[value="1"] {
  background-color: #f00;  
}

.hrv_hazard select option[value="2"] {
  background-color: #0f0;   
}

.hrv_hazard select option[value="3"] {
  background-color: #00f;  
}*/

/*.hrv_hazard select option{
	font-size: 20px;
	margin: 5px;
	padding: 5px;
}*/

.hrv_hazard select option:hover {
    background-color: #f3969a;
}

.hrv-info-table .form-control{
		font-size: 12px;
		padding: 6px 5px;
}

.hrv-info-table .row:not(:nth-last-of-type(-n+2)){
	border-bottom: 1px solid #ddd;
	margin-bottom: 15px;
}

#ice-hrv .hrv-info-table .hrv_label {
	padding: 6px;
	font-weight: 500;
	font-size: 14px;
	text-align: left;
}

#ice-hrv .hrv-info-table .row{
	/*padding-bottom: 15px;*/
	padding: 5px 0px;
}

#ice-hrv .hrv-info-table .hrv_score{
	text-align: right;
	padding: 6px;
	line-height: 22px;
	font-weight: bold;
}

/* Colori custom per covid forniti da Audens */
#userphr-covid19 .text-danger {
	color: #ec1919;
}
#userphr-covid19 .text-success {
	color: #41d713;
}
#userphr-covid19 .text-warning {
	color: #eee116;
}
#ice-index .covid-passport .alert-danger {
	background-color: #ec1919;
	border-color: #ec1919;
	color: #fff;
}
#ice-index .covid-passport .alert-success {
	background-color: #41d713;
	border-color: #41d713;
	color: #fff;
}
#ice-index .covid-passport .alert-warning {
	background-color: #eee116;
	border-color: #eee116;
	color: #000;
}
#ice-index .covid-passport {
	cursor: pointer;
}

/* Chiamate di emergenza */
.emergency-modal .modal-header h1, 
.emergency-modal .modal-header h2, 
.emergency-modal .modal-header h3{
	color: #ec1919;
}
.emergency-modal .modal-body a{
	color: #113290;
	text-decoration: none;
}
.emergency-modal .modal-body a:hover{
	color: #ec1919;
	text-decoration: none;
}

a.attachment0{
	color: #113290;
	text-decoration: none;
}
a.attachment0:hover, a.attachment0:focus{
	color: #5ab0e6;
	text-decoration: none;
}


/* =========================
 * ==== Media Queries
 * =========================
 */

/* Small devices (tablets, 768px and up) */
@media(min-width:768px) {
    /*.container{
    	width: 650px; /* a defautl è 750 ma devo stringerlo per la presenza della campanella... **
    }*/
    
   .ice-foto{
			width: 180px; height: 180px;
		} 
    
   .ice-circle{
   		width: 120px;
   		height: 120px;
   }
   .ice-circle-blood{
			padding-top:10px;
		}
   .ice-circle-blood .glyphicon{
   		font-size: 350%;
   }
   .ice-circle-blood h1{
			font-size: 36px;
	}
	
	.single-eye-info.right-eye-info .distance-label{
		position: absolute; 
		top: -6px; 
		width: 50%; 
		/*left: 0;*/
	  right: 0;
	  margin-left: auto;
	  margin-right: -25%;
	  text-align: center;
	  z-index: 10;
	  background-color: #fff;
	  text-transform: uppercase;
	  font-size: 12px;
	  padding: 2px;
	}
	.single-eye-info.left-eye-info .distance-label{
		display: none;
	}
	
	.hrv-info-table .form-control{
		font-size: 14px;
		padding: 6px 12px;
	}
	
	.hrv-info-table .row:not(:nth-last-of-type(-n+2)){
		border-bottom: none;
		margin-bottom: 0px;
	}
	
}

@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
    
    .container{
    	width: inherit;
    }
}

/* Medium devices (desktops, 992px and up)
@media (min-width: @screen-md-min) { ... }  */
@media(min-width:992px) {
    .container{
    	width: 850px; /* a defautl � 970 ma devo stringerlo per la presenza della campanella... */
    }
}

@media(min-width:1200px) {
    .container{
    	width: 1000px; /* devo rimetterlo per forza o mi rimane impostato quello sopra.. */
    }
}

@media(min-width:1350px) {
    .container{
    	width: 1170px; /* devo rimetterlo per forza o mi rimane impostato quello sopra.. */
    }
}