::selection {background-color: #cef;color:#000;}
::-moz-selection {background-color: #cef;color:#000;}
::-webkit-selection {background-color: #cef;color:#000;}
.page-header {
	margin: 0 0 20px;
}
body {
	margin-top: 60px;
	height:auto;
	font-size: 1.5em;
	font-family: sans-serif;
	background-color: #eff;
	background-color: #def;
	position: relative;
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
}
h2 {
	font-size: 1.8em;
}

.required_after:after {
	content:" *";
}

.required_before:before {
	content:"* ";
}
.required_before:before,
.required_after:after{
	color:red;
}

div#main_container > div > section, body > nav{
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	width: 100%;
	margin-top: 10px;
	padding: 2em;
	}

div#main_container > div > section > article{
	float: left;
}

div#main_container > nav > article{
	padding: 10px;
	float: left;
	font-weight: bold;
	border-right: 1px solid #ccc;
	color: #999;
	cursor: pointer;
}

div#main_container > nav > article:last-child{
	border-right: none;
}

div#main_container > nav > article:hover{
	color: #000;
}	

div.clearfix {
	clear: both;
}

div#main_container {
	width: 100%;
	max-width: 1250px;
	margin: 1em auto;
	padding: 2em;
}

div#control_container {
	width: 100%;
	height: 1.2em;
	background-color: #aaa;
	margin-bottom: 1em;
	padding: 1em;
}

.link{
	text-decoration: underline;
	cursor: pointer;
	color: #00f;
}

a.control_link {text-decoration: none;}

.form_table th{text-align: right; background: #3274b0;}
.form_table th, .form_table td{vertical-align: top; padding:.5em;}
.resize-no{resize: none;}

/* text formatting */
[left]{text-align: left !important;}
[center]{text-align: center !important;}
[right]{text-align: right !important;}
[top]{vertical-align: top !important;}
[middle]{vertical-align: middle !important;}
[bottom]{vertical-align: bottom !important;}

/* social media */
.social_media{font-size: 4em; color: #032241;}
.social_media i{margin-top: 10px;}
.social_media i.fa-linkedin-square{margin-right: 0;}
.social_media i.fa-facebook-square:hover{color: #223256;}
.social_media i.fa-twitter-square:hover{color: #004f90;}
.social_media i.fa-instagram:hover{color: #7f5441;}
.social_media i.fa-linkedin-square:hover{color: #006599;}
/* e0493e google plus color */

body > div.container.main-content{min-height: 350px;}

.user-menu
{
    height: 200px !important;
    overflow: auto;
}

.red,
.red_parent{color:#E5987F;}
.red:hover{color: red;}
:hover > .red_parent{color: red;}

.green,
.green_parent{color:#00ff80;}
:hover >.gren_parent{color:#00cc66;}

/*.navbar-default .navbar-nav>li>a:hover .red {
    color: red;
}

.navbar-default .navbar-nav>li>a .red {
    color: #E5987F;
}

.navbar-default .navbar-nav>li>a:hover .green {
    color: #00cc66;
}

.navbar-default .navbar-nav>li>a .green {
    color: #00ff80;
}*/

.loginas > .chosen-container{
	float: left;
    margin: 14px 0 0 14px;
}

body.loading {
    overflow: hidden;   
}

.loading_modal {
    display: none;
    position: fixed;
    z-index: 1030;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .7 );
}

body.loading .loading_modal {
    display: block;
}

.modal_circle {
	background-color: rgba(0, 0, 0, 0);
	border: 5px solid rgba(0, 183, 229, 0.9);
	opacity: .9;
	border-right: 5px solid rgba(0, 0, 0, 0);
	border-left: 5px solid rgba(0, 0, 0, 0);
	border-radius: 50px;
	box-shadow: 0 0 35px #2187e7;
	width: 50px;
	height: 50px;
	margin: 0 auto;
	-moz-animation: spinPulse 1s infinite ease-in-out;
	-webkit-animation: spinPulse 1s infinite linear;
}

.modal_circle1 {
	background-color: rgba(0, 0, 0, 0);
	border:5px solid rgba(0, 183, 229, 0.9);
	opacity: .9;
	border-left: 5px solid rgba(0, 0, 0, 0);
	border-right: 5px solid rgba(0, 0, 0, 0);
	border-radius: 50px;
	box-shadow: 0 0 15px #2187e7; 
	width: 30px;
	height: 30px;
	margin: 0 auto;
	position: relative;
	top: -40px;
	-moz-animation: spinoffPulse 1s infinite linear;
	-webkit-animation: spinoffPulse 1s infinite linear;
}

@-moz-keyframes spinPulse {
	0% { -moz-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px #2187e7;}
	50% { -moz-transform:rotate(145deg); opacity:1; }
	100% { -moz-transform:rotate(-320deg); opacity:0; }
}

@-moz-keyframes spinoffPulse {
	0% { -moz-transform:rotate(0deg); }
	100% { -moz-transform:rotate(360deg);  }
}

@-webkit-keyframes spinPulse {
	0% { -webkit-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px #2187e7; }
	50% { -webkit-transform:rotate(145deg); opacity:1;}
	100% { -webkit-transform:rotate(-320deg); opacity:0; }
}

@-webkit-keyframes spinoffPulse {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(360deg); }
}

.modal_container {
    margin-top: 50vh;
}

.dropdown-menu>li>span {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

// Hover/Focus state
.dropdown-menu > li > a {
  &:hover,
  &:focus {
    text-decoration: none;
    color: @dropdown-link-hover-color;
    background-color: @dropdown-link-hover-bg;
  }
}

.has-error > input,.has-error > select,input.has-error,select.has-error{
	background:#f8d7da;
	color:#721c24;
}

.dropdown-menu > section{
	width:400px;
	overflow-x:hidden;
}
.dropdown-menu > section > h5{
	padding:10px 20px;
	margin:0px;
	width:300px;
}

.dropdown-menu > section > h5:hover{
	background-color: #3875d7;
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
	background-image: -webkit-linear-gradient(#3875d7 20%, #2a62bc 90%);
	background-image: -moz-linear-gradient(#3875d7 20%, #2a62bc 90%);
	background-image: -o-linear-gradient(#3875d7 20%, #2a62bc 90%);
	background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
	color: #fff;
}

.dropdown-menu > section > h5 > span{
	color:#900;
	font-weight:bold;
	text-decoration:underline;
}

.dropdown-menu > section > h5:hover > span{
	color:#ff0;
}

.dropdown-menu > section > h5.no_results,
.dropdown-menu > section > h5.no_results:hover{
	background-color: #ddd;
	background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ddd), color-stop(90%, #ddd));
	background-image: -webkit-linear-gradient(#ddd 20%, #ddd 90%);
	background-image: -moz-linear-gradient(#ddd 20%, #ddd 90%);
	background-image: -o-linear-gradient(#ddd 20%, #ddd 90%);
	background-image: linear-gradient(#ddd 20%, #ddd 90%);
	color: #000;
}

.dropdown-menu > section > h5.no_results > span{
	color:#900; 
}

#login_as_search{
	background: url(/assets/img/chosen/chosen-sprite.png) no-repeat 100% -20px;
	height:24px;
}

[decimal]{
	text-align:right;
}

/* WE WILL NOT PRINT THE HEAD AND FOOTER OF A PAGE */
@media print {
   .page-header,
	 #nav-header,
	 .footer{display:none;}
}