/* Custom Classes for International*/
.borderBLR { width:100%; border-left:1px solid #ddd; border-right:1px solid #ddd; border-bottom:1px solid #ddd; }
 
 /* Position helpers */
.m2 {margin: 2px}
.m3 {margin: 3px}
.m5 {margin: 5px}
.mt2 {margin-top: 2px}
.ml2 {margin-left: 2px}
.mr2 {margin-right: 2px}
.mb2 {margin-bottom: 2px}
.mt3 {margin-top: 3px}
.ml3 {margin-left: 3px}
.mr3 {margin-right: 3px}
.mb3 {margin-bottom: 3px}
.mt5 {margin-top: 5px}
.ml5 {margin-left: 5px}
.mr5 {margin-right: 5px}
.mb5 {margin-bottom: 5px}
.m10 {margin: 10px}
.mt10 {margin-top: 10px}
.ml10 {margin-left: 10px}
.mr10 {margin-right: 10px}
.mb10 {margin-bottom: 10px}
.m15 {margin: 15px}
.mt15 {margin-top: 15px}
.ml15 {margin-left: 15px}
.mr15 {margin-right: 15px}
.mb15 {margin-bottom: 15px}
.m20 {margin: 20px}
.mt20 {margin-top: 20px}
.ml20 {margin-left: 20px}
.mr20 {margin-right: 20px}
.mb20 {margin-bottom: 20px}
.p2 {padding: 2px}
.p3 {padding: 3px}
.p5 {padding: 5px}
.pt5 {padding-top: 5px}
.pl5 {padding-left: 5px}
.pr5 {padding-right: 5px}
.pb5 {padding-bottom: 5px}
.p10 {padding: 10px}
.pt10 {padding-top: 10px}
.pl10 {padding-left: 10px}
.pr10 {padding-right: 10px}
.pb10 {padding-bottom: 10px}
.p15 {padding: 15px}
.pt15 {padding-top: 15px}
.pl15 {padding-left: 15px}
.pr15 {padding-right: 15px}
.pb15 {padding-bottom: 15px}
.p20 {padding: 20px}
.pt20 {padding-top: 20px}
.pl20 {padding-left: 20px}
.pr20 {padding-right: 20px}
.pb20 {padding-bottom: 20px}
.w25 {width: 25%}
.w50 {width: 50%}
.w75 {width: 75%}
.w100 {width: 100%}
.w450 {width: 450px}
.w500 {width: 500px}
.bpullover5 {margin-bottom: -5px !important}
.clearRight {clear: right}
.ltBlueBg { background-color: #05539a; }
.ltBlueDk { color: #007faa; }
.fontsize24 { font-size: 24px }
.hideonload { display: none; }
.spinning {
	background-image: url("/images/loading.gif"); 
	background-repeat: no-repeat; 
	background-position: right;
}

.pointy {
 cursor:pointer;
}

.center-this {
 	margin-right: auto;
 	margin-left: auto;
}
/****                           *******/

body {
	 background-color:#0A53A0;
}

td, select, input { 
	font-family:Arial, Helvetica, sans-serif; 
	font-size:12px; 
}

#main-container {
	background-color:#FFF;
}

.strong {
	font-weight:bold;
}

.left_align {
	text-align: left;
}

.center {
	text-align:center;
}

.left {
	text-align: left;
}

.right {
	text-align: right;
}

.bottom {
	vertical-align: text-bottom;
}

.nowrap {
	white-space: nowrap;
}

.noborder {
	border:none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

h2.center {
	text-align:center;
	padding-bottom:25px;
}

.brdrbottom {
	border-bottom:2px solid #000000;
	padding:7px;
}

table.report {
	border:1px solid #000000;
	border-collapse: collapse;
	padding:6px;
}

table.report td {border: 1px solid #333333;padding: 8px; text-align:center}

p.centerIta {
  
  font-style:italic;
}

tr.red {
	color:#FF0000;
	font-weight:bold;
}

a.button {
	border-color:#CCCCCC;
	border-style: solid;
	border-width: 1px;
	padding: 5px 14px 5px 14px;
	position:relative;
	top:-2px;
	left:2px;
	background-color:#CCC;
	background: linear-gradient(#FFF, #CCC);
	font-weight:bold;
}

a.button:link, a.button:visited, a.button:hover {
	color: #000;
	text-decoration: none;
}

a.button:active {
	background:linear-gradient(#CCC, #FFF);
}

div.menu_button, div.menu_button_selected {
	font-size:18px;
	font-weight:bold;
	color:#789f90;
	padding:10px 20px 20px 20px;
	text-align: top;
	margin-bottom:0px;
	position:relative;
	top:-13px;
}
div.menu_button_selected {
	color:#5D5D5D !important;
}
a.menu_button_link:hover {
	text-decoration: none;
}
div.menu_button_border, div.menu_button_border_selected {
	background-color:#789f90;
	margin-top:0px;
	height:6px;
	position:relative;
	top:-14px;
}
div.menu_button_border_selected {
	background-color:#5D5D5D !important;
}

div.page_header {
	color:#000;
	font-weight:bold;
	font-size:1.9em;
	margin-bottom:35px;
}
.page_header_hr {
	border-top: 2px solid #AAAAAA;
}
div.page_header i {
	font-size:0.9em;
	margin-right:15px;
	color:#3E8BCD;
}

div.page_sub_header {
	font-size:1.5em;
	margin-left:20px;
	margin-bottom:20px;
}

div.page_footer {
	color:#AEAEAE;
	font-size:0.9em;
	border-top: solid 1px #AEAEAE;
	padding-top:5px;
}

div.emulate_banner {
	width:100%;
	height:50px;
	background-color:#FC2C31;
	color:#FFF;
	z-index:1000;
	position:fixed;
	text-align:center;
	vertical-align: middle;
	top:0px;
}
div.emulate_banner a, a.emulate_banner:visited {
	color:#FFF;
}
div.emulate_banner h2 {
	position: relative;
	top: -15px;
	font-size:30px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
}
div.emulate_banner_padding {
	height:50px;
}
div.quarter_padding {
	height:5px;
}
div.half_padding {
	height: 10px;
}
div.padding {
	height: 20px;
}
div.double_padding {
	height: 40px;
}
.lrpadding {
	padding: 0px 20px;
}
div.min200 {
	min-height: 200px;
}
div.error_message {
	color:red;
}
.overflowx-scroll {
	overflow-x: scroll;
}
div.tbl {
	display: table;
	border-collapse: collapse;
}
div.table_headers {
	display: table-header-group;
	font-weight: bold;
	text-decoration: underline;
}
div.tbl_row {
	display: table-row;
}
div.tbl_cell {
	display:table-cell;
	padding: 2px 5px;
}
div.cellpadding {
	padding-bottom:10px;
}
.pull_right {
	text-align:right;
}
.hcenter {
	margin: 0 auto;
}
.black_border {
	border: 2px solid black;
}
.thin_black_border {
	border: 1px solid black;
}
.table_border {
	border: 1px solid #8E8E8E;
	border-collapse: separate !important;
	border-spacing: 10px;
}

.new_leave_intake {
	min-height: 450px;
}

.intake_instructions {
	font-size: 1.6em;
	font-weight:bold;
	padding-bottom:25px;
	padding-top:10px;
	text-align: left;
}

.intake_reasons, .report_list {
	list-style-type: none;
}

.intake_reasons li:before, .report_list li:before {
	/* Using Bootstrap glyphicon as the bullet points */
	content: "\e258";
	font-family: 'Glyphicons Halflings';
	font-size: 22px;
	float: left;
	margin-top: 4px;
	margin-left: -17px;
	color:#00709B;
}
.intake_reasons li input[type="submit"], .report_list a {
	color:#00709B;
	font-size: 1.8em;
	font-weight: bold;
	background: none;
	border:none;

}

.report_list a {
	margin-left: 7px;
}

.report_list li:before {
	margin-top: 2px;
}

.intake_reasons li {
	text-align:left;
	white-space: nowrap;
}
.intake_reasons li input[type="submit"]:hover, .report_list a:hover {
	text-decoration: underline;
}

.intake_type {
	text-align:left;
}

.intake_type input {
	margin-right: 20px;
	margin-bottom: 30px;
}

#input_group_addon_padding {
	border:none;
	background-color:#FFF;
}

.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}

.btn-green {
	background-color:#789f90;
	border-color:#668a7c;
}

.btn-green:hover {
	background-color:#668a7c;
	border-color:#58776b;
}

.btn-blue {
	background-color:#0796cb;
	border-color:#067fac;
}

.btn-blue:hover {
	background-color:#067fac;
	border-color:#07729a;
}

/* ****************************************************************************************
                                    Menu
   ****************************************************************************************/

div.welcome_banner {
	text-align: right;
	background-color:#0A53A0;
	color:white;
	height: 50px;
	padding-top:7px;
	line-height: 35px;
	vertical-align: middle;
	font-size: 1.1em;
}

div.logo-container {
	text-align: left;

}

div.main-nav-bar {
	text-align: left;
	background-color:#E9E9E9;
	box-shadow: 500px 0px 0px 0px #E9E9E9,
				1000px 0px 0px 0px #E9E9E9,
				1500px 0px 0px 0px #E9E9E9,
				-500px 0px 0px 0px #E9E9E9,
				-1000px 0px 0px 0px #E9E9E9,
				-1500px 0px 0px 0px #E9E9E9;
}

div.blue_bar {
	background-color:#0A53A0;
}

.logo img {
	position: relative;
	left:-5px;
	top:-10px;
}
.logo-container {
	background-color:#e9e9e9;

}

.main-nav-bar {
	background-color:#e9e9e9;
/*	margin-left:250px;*/
}

#mainlogo {
	width: 80px;
	height: 80px;
	margin-bottom:10px;
	margin-top: 10px;
	background-size: 80px 80px;
	background-repeat: no-repeat;
	position:relative;
	
}

.top_menu a {
	color: white;
	text-decoration: underline;
}
.top_menu i {
	padding-right: 10px;
}
span.top_menu {
	padding-right: 25px;
}
.top_menu_name {
	display:inline-block;
	background-color: #8db3db;
	padding-left:10px;
	box-shadow: 7px 0px 0px 8px #8db3db,
				-10px 0px 0px 8px #8db3db;
}
.top_menu_name i, .top_menu_name_mobile i {
	padding-right: 10px;
}
.top_menu_name_mobile {
	display:inline-block;
	background-color: #8db3db;
	box-shadow: 7px 0px 10px 8px #8db3db;
}

/* ****************************************************************************************
                                    Navigation
   ****************************************************************************************/

ul.nav-tabs li {
	background-color:#FFF;
	margin-right: 5px;
	border-radius: 5px 5px 0px 0px;
}
.nav-tabs li a {
	margin-right: 0px;
}
.navbar-default {
	background-color:transparent;
	border-width: 0px;
}
button.navbar-toggle {
	border-color:#FFF !important;
	position: relative;
	top: -6px;
}
div.navbar-collapse {
	position: relative;
	top:-7px;
}
button.navbar-toggle>.icon-bar {
	background-color:#FFF !important;
}
button.navbar-toggle:hover, button.navbar-toggle:active{
	background-color: #999 !important;
}
button.navbar-toggle:focus {
	background-color:#0A53A0 !important;
}
#navbar {
	background-color:#FFF;
}
.main-nav-bar i {
	color:#3E8BCD;
}

.active {
	border-color: #00587A !important;
	color: #00587A !important;
}
.active a {
	color:#00587A;
}

.active i {
	color: #555;
}

.nav-tabs>li>a:hover, .nav-tabs>li>a:focus {
	background-color:#8DB3DB;
	border-color: #8DB3DB
}

.footer {
	background-color:#e9e9e9;
}

.footer img {
	text-align: left;
	display:inline-block;
	padding-left:40px;
}
.footer-info {
	text-align: left;
	display:inline-block;
	position:relative;
	top:16px;
	left:20px;
}

#absence-calendar .day:not([class*="disabled"]):not([class*="old"]):not([class*="new"]) {
	background-color:#8DB3DB;
}
#absence-calendar .day.old, #absence-calendar .day.new, #absence-calendar .day.old:hover, #absence-calendar .day.new:hover {
	color:white;
	background-color:white;

}

.spinner-image {
	animation: spinner_rotate 2s linear infinite;
}

@keyframes spinner_rotate {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* DO NOT RE-ARRANGE THIS GROUP!!!!!! */
/* ********************************** */
#absence-calendar .day.really_enabled {
	background-color:#8DB3DB;
	color:#333;
	cursor:pointer;
}
#absence-calendar .day.cancelled {
	background-color: #f89696;
}
#absence-calendar .day.denied {
	background-color: #f89696;
}
#absence-calendar .day.pending {
	background-color: #ffffca;
}
#absence-calendar .day.approved {
	background-color: #b2f8aa;
}
/* ********************************** */
/* End of group */

/* Bootstrap overrides for asthetics */
.panel-danger { 
	border:none;
}
.panel-danger .table, .panel-danger p {
	border: 1px solid #0796cb;
	border-radius: 10px 0 10px 10px !important;
	border-collapse: initial;
}
.panel-danger .panel-heading {
	color:#FFF;
	background-color:#0796cb;
	border-bottom: 0px solid #FFF;
	width: 300px;
	text-align: right; 
	float:right; 
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.panel-danger .panel-title {
	font-size: 0.95em;
}

.panel-warning { 
	border:none;
}
.panel-warning .table {
	border: 1px solid #0796cb;
	border-radius: 10px 0 10px 10px !important;
	border-collapse: initial;
	text-align: center;
}
.panel-warning .panel-heading {
	color:#FFF;
	background-color:#0796cb;
	position: relative;
	top:1px;
	border: 1px solid #0796cb;
	border-bottom: 0px solid #FFF;
	max-width: 300px;
	text-align: right; 
	float:right; 
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

.panel-warning .panel-title {
	font-size: 0.95em;

}

.panel-primary .panel-heading {
	color:#FFF;
	background-color:#0796cb;
}

.panel-primary {
	border: 1px solid #0796cb;
}

.manager_select {
	display:none;
}

.rejection_reason {
	display:none;
}
.other_reason {
	display:none;
}

.form-alert {
	display:none;
}

.TDTB4 {
    padding-top: 4px;
    padding-bottom: 4px;
}

.TDBLBG {
    background-color: #f6fcff;
    border-bottom: #cedaeb;
    border-bottom-width: thin;
    border-bottom-style: solid;
    padding: 4px;
}

.btn {
	padding: 5px;
}

/*******************************************************************************************/
/*                   DO NOT RE-ARRANGE ANYTHING BELOW THIS LINE                           **/
/*******************************************************************************************/     

/* Mobile responsive */
	
	/* Phone (xs)*/
	@media (max-width: 767px) {
		body {
			background-color:#FFF;
		}

		div.navbar-container {
			width:100%;
			padding: 0px;
		}

		div.page_header {
			font-size:1.4em;
		}

		div.page_sub_header {
			font-size:1.2em;
		}

		div.emulate_banner h2 {
			font-size:16px;
		}

		.intake_instructions {
			font-size:1.1em;
		}

		.mobile-left {
			text-align: left;
		}

		.intake_reasons li:before, .report_list li:before {
			font-size:15px;
			margin-right: 2px;
		}

		.intake_reasons li input[type="submit"], .report_list a {
			text-align: left;
			font-size: 1.2em;
			margin-bottom:0px;
		}

		.new_leave_intake {
			min-height: 300px;
		}

		div.half_padding {
			height: 5px;
		}
		div.padding {
			height: 10px;
		}
		div.double_padding {
			height: 20px;
		}

		div.main-nav-bar {
			display: none;
		}

		.footer img {
			text-align: left;
			display:inline-block;
			padding-left:10px;
			width: 80px;
			height: auto;
		}
		.footer-info {
			text-align: left;
			display:inline-block;
			position:relative;
			left:10px;
			height: 100px;

		}

		#absence-calendar {
			font-size: 3em;
		}

		#date_details, #date_details_title {
			font-size: 1.5em;
		}
	}

	/* Tablet (sm) */
	@media (min-width:768px) and (max-width: 991px) {
		/* Navbar */
		.navbar a, .dropdown-menu>li>a, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
			font-weight: bold;
			font-size: 10.6px;
			padding-right:5px !important;
		}

		div.page_header {
			font-size:1.8em;
		}

		div.page_sub_header {
			font-size:1.2em;
		}

		div.emulate_banner h2 {
			font-size:24px;
		}

		.intake_instructions {
			font-size:1.1em;
		}
	}

	/* Desktop (md) */
	@media (min-width: 992px) and (max-width: 1199px) {
		.navbar a, .dropdown-menu>li>a, .dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
			font-weight: bold;
			font-size: 13.9px;
		}
	}



/* Additional Media queries for phones
/* iPhone Plus (xxs) */
@media (max-width: 420px), (max-width: 667px) and (orientation: landscape)  {
/*	body {
		font-size: .9em;
	}*/
	.panel-danger { 
	border:none;
	}
	.panel-danger table, .panel-danger p, .overflow_scrolling table, .overflow_scrolling p {
		border: none;
	}
	.panel-danger table, .panel-danger p {
		font-size: 0.75em;
	}

	.panel-danger .panel-heading {
		width: 250px;
	}

	.panel-danger, .panel-primary, .overflow_scrolling {
		width: auto;
		overflow-y: scroll;
	}

	.panel-primary .panel-heading {
		text-align: center;
	}

	.panel-danger .panel-title, .panel-warning .panel-title {
		font-size: 0.75em;
	}

	th, td, select, input { 
		font-family:Arial, Helvetica, sans-serif; 
		font-size: .6em; 
	}

	.page_header {
		font-size: 1.2em !important;
	}

	.page_sub_header {
		font-size:  1em !important;
	}

	p {
		font-size: .75em;
	}

}

/* iPhone6 (xxs) */
@media (max-width: 375px) {
	.dashboard_chart img {
		max-width: 300px;
	}

	.intake_reasons li {
		margin-left: -30px;
	}

	.intake_reasons li input[type="submit"], .report_list a {
		margin-left: -5px;
	}

	.intake_reasons li {
		font-size: .75em;
	}

	.intake_reasons li:before, .report_list li:before {
		font-size: 1.2em;
		margin-top: -1px;
	}

	.leave_details label, .leave_details span {
		font-size: 0.8em;
	}
}
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #05539a;
    border-color: #05539a;
}
.bg-primary  {
    background-color: #05539a !important;
    border-color: #05539a !important;
}

.headerbg { font-weight:bold; padding:10px; 
	background: #ddd; /* For browsers that do not support gradients */
	background: -webkit-linear-gradient(#eeeeee, #bbbbbb); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(#eeeeee, #bbbbbb); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(#eeeeee, #bbbbbb); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#eeeeee, #bbbbbb); /* Standard syntax */ 
}

.pt20 {padding-top: 20px;}
.pt10 {padding-top: 10px;}
.pt5 {padding-top: 5px;}
.pb20 {padding-bottom: 20px;}
.pb10 {padding-bottom: 10px;}	
.pb5 {padding-bottom: 5px;}

/* iPhone5 (xxxs) */
@media (max-width: 320px) {
	.dashboard_chart img {
		max-width: 260px;
	}

	.new_leave_intake label {
		font-size: 0.9em;
	}
}


.pt20 {padding-top: 20px;}
.pt10 {padding-top: 10px;}
.pt5 {padding-top: 5px;}
.pb20 {padding-bottom: 20px;}
.pb10 {padding-bottom: 10px;}	
.pb5 {padding-bottom: 5px;}

.text-white {
	color: #fff !important;
  }


.noBorders {
	border-top: 5px;
}  

.li_text {
    color: #144B8E;
    font-size: 1.8em;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

.loading-supNote{
	display:none;
}

.supervisor_only{
	display:none;
}

.loading {
  display:none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%, -50%);
}

.panel-warning .panel-title {
	font-size: 0.95em;
}

.panel-primary .panel-heading {
	color:#FFF;
	background-color:#05539a;
}

.panel-default .panel-heading {
	color:#FFF;
	background-color:#05539a;
}
.panel-primary {
	border: 1px solid #05539a;
}

.panel-warning .panel-heading {
	color:#FFF;
	background-color:#05539a;
}

.panel-danger .panel-heading {
	color:#FFF;
	background-color:#05539a;
}