﻿body {
    padding-top: 50px;
    font-family: Frutiger, "Segoe UI", Arial, Helvetica, Verdana, sans-serif;
    padding-bottom: 20px;
    /*font-size: 62.5%;*/  /*This is already set in bootstrap css, don't repeat it!!*/
    line-height: 1.6em;
    /*background-color: #B9B9B9;*/
}

a {
    color: #500000;
    text-decoration: underline;
}

a:active, a:hover, a:focus {
    color: #500000;
    text-decoration: underline;
}

/* Remove underline from ActionLink buttons */
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active {
    text-decoration: none !important;
}

.highlight-link {
    color: #500000;
    text-decoration: underline;
}

footer a {
    color: #e3e3e3;
    text-decoration: underline;
}

footer a:active, footer a:hover, footer a:focus {
    color: #e3e3e3;
    text-decoration: underline;
}

hr {
    padding: 0;
    margin: 0;

    margin-top: 1.1em;
    margin-bottom: 1.1em;
}

p, div p {
    margin: 0 0 .8em;
    font-size: 1em;
    color: #666666;
}

p {
    padding-top: 1.2em;
}

h1, h2, h3 {
    margin: 0;
    padding:0;
}

h1,
h2,
h3 {
  /*margin: 10px 0;*/
    padding-top: .8em;
  font-family: inherit;
 /* line-height: 2.5em; */
  text-rendering: optimizelegibility;
/*  border: solid 1px red; */
}

h1 {
  /*padding-top: 10px;*/
  line-height: 2.1em;
  font-size: 2.1em;
  /*text-transform:uppercase;*/
  padding-bottom: 0;
  color: #500000;
}

h2 {
    padding-top: 1em;
  font-size: 1.7em;
  /*margin-bottom: 1.2em;*/
    /*line-height: 1.7em;*/
  font-weight: bold;
  color: #500000;
}

h2 a {
    color: #500000;
}

h3 {
  font-size: 1.4em;
  font-weight: bold;
  color: #000;
  text-transform: none;
}

table {
    margin-top: 20px;
}

a img {
    border: 0;
}

#lockupLogo {
    display: none;
}

#LoginHover {
    padding-left: 45px; 
    padding-top: 55px;
}

/*header {
    background-color: #FFF;
    height: 45px;
}*/

/*header {
    background-image: url('../Content/images/bg_behind-big-pic.jpog');
    margin: 0 auto;
}*/


/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    background-image: url('../Content/images/bg_behind-big-pic.jpg');
    background-repeat: repeat-x;
    margin: 0 auto;
    margin-top: 45px;
}

.body-content.container {
    background: none;
    margin-top: 90px;
}

.nopadding {
    padding: 0;
}

.inline {
    display: inline;
}

.underline {
    text-decoration: underline !important;
}

.navbar-nav > li > a {
    font-size: 1.0em;
}

.navbar-collapse {
    padding-left: 0;
}

.navbar {
    border-radius: 0;
}

.showUponMenuCollapse {
        display:none;
    }

@media (max-width: 767px) {
    .navbar-collapse {
        padding-left: 25px;
    }
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* for ckeditor the source mode textarea need to be 100% */
textarea.cke_source {
        max-width: 100%;
    }

.jumbotron {
    min-height: 400px;
    /*width: 1000px;*/
    background-image: url('images/big-pic.jpg');
    background-color: #FFF;
    background-repeat: no-repeat;
    background-position: top left;

    -webkit-background-size: 100%;
    -moz-background-size: 100%; 
    -o-background-size: 100%;

    background-size: 100%;
    
    margin-bottom: 0;

}

.container .jumbotron {
    border-radius: 0;
}


.container {
    max-width: 1050px;
}

/* dropzone for file upload */
.drop-zone {
    border: 2px dashed #666666;
    border-radius: 8px;
    padding: 1rem;
    background-color: #f8f8f8;
    text-align: center;
}

.drop-zone:focus,
.drop-zone:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

.drop-zone.dragover {
    background-color: #eaf4ff;
    border-color: #005fcc;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.homePagePPadding {
    padding: 15px;
    padding-left: 20px;
    padding-right: 20px;
}


/*TABLE STYLES*/

table {
    /*width: 100%;*/
    border-collapse: collapse;
}

tr:nth-of-type(odd) {
    background: #eee;
}

th {
    background: #333;
    color: white;
    font-weight: bold;
}

td, th {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: left;
}

.highlight {
    background-color: #eee8aa;
}

/*Application Dropdown List****************************************************/
.applicationsDropdownWrapper, .schoolsDropdownWrapper {
    position:relative;
    margin-left: 250px;
    margin-top: -105px;
    /*left: 250px; 
    top: -105px;*/ 
    z-index: 3000;
}

.applicationsDropdown, .schoolsDropdown {
    position: fixed;
}

/* <h1> on the Applicant/AppStatus page; shows up too low because it's accounting for the 
    height of the Applications dropdown list that is actually being moved into the header */
/*.displacedH1 {
    margin-top: -26px;
}*/


/* Sticky footer styles
      -------------------------------------------------- */

html,
body {
    height: 100%;
/* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer - not working************************************* */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -200px;
}

.schoolsDropdownWrapper+.fixTopMargin, .applicationsDropdownWrapper+.fixTopMargin {
    margin-top: 125px;
}


/* Set the fixed height of the footer here */
#push {
    /*background-color: #0000ff;*/
    height: 30px;
    /*height: 200px;*/
}

footer {
    height: 200px;
    color: #eee;
    background-color: #500000;
}
      
footer .col-lg-3, footer .col-lg-6, footer .col-lg-12 {
    margin-top: 30px;
    text-align: center;
}

#emergencyMessage {
    position:absolute; 
    text-align: center; 
    top: 0; 
    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    z-index: 9999;
}


@media (max-width: 1199px) {
    #AtmLogo {
        text-align: center;
    }
    /* DO NOT DELETE BELOW STYLE - This is important to keep ATM Logo 
        aligned vertically with AIS Logo */
    #searchSection {
         display: none;
    }
}

@media (max-width: 1029px) {
    /* remove the grey background when the image height starts getting smaller than the grey */
    .body-content {
        background: none;
    }
}


/*Switch to smaller media size*/
@media (max-width: 991px) {
    #AisLogo { display: none;}
    #searchSection { display: none;}
    #AtmLogo { display: none;}

    #lockupLogo { display: block;}

    .applicationsDropdownWrapper, .schoolsDropdownWrapper {
        position:relative;
        margin-left: 315px;
        margin-top: -105px;
        /*left: 315px; 
        top: -105px;*/ 
        z-index: 3000;
    }
    
    .applicationsDropdown, .schoolsDropdown {
        position: fixed; 
    }

    .schoolsDropdownWrapper+.fixTopMargin, .applicationsDropdownWrapper+.fixTopMargin {
        margin-top: 125px;
    }

    footer {
        height: 320px;
    }

}





@media (min-width: 768px) and (max-width: 1199px) {
    #wrap {
        margin: 0 auto -400px;
    }
}

@media (max-width: 943px) and (min-height: 768px) {
    #LoginHover {
        padding-left: 15px; 
        padding-top: 30px;
    }

    /*#LoginHover img {
        padding-top: 150px;
       
    }*/
}

@media (max-width: 920px) {
    .steps {
        margin-top: -40px;
    }
}

@media (max-width: 767px) {
    .applicationsDropdownWrapper, .schoolsDropdownWrapper {
        position:relative; 
        margin-left: 0;
        margin-top: 0;
        z-index: 1029;
    }

    .showUponMenuCollapse {
        display: block;
        font-size: 1.5em;
        font-weight: bold;
    }

    .applicationsDropdown, .schoolsDropdown {
        position: relative; 
    }

    .schoolsDropdownWrapper+.fixTopMargin, .applicationsDropdownWrapper+.fixTopMargin {
        margin-top: 0;
    }

    #LoginHover {
        padding-left: 0; 
        margin-top: -90px;
    }

    .steps {
        margin-top: -100px;
    }

    footer {
        height: 400px;
    }
    
}


@media only screen and (max-width: 760px)/*,
    (min-device-width: 768px) and (max-device-width: 1000px)*/ {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: normal;
        content: attr(data-label);
	}

    .steps {
        margin-top: -108px;
    }
	
}

@media (max-width: 600px) {
    #LoginHover img {
        margin-top: 200px;
    }
}



/* Lastly, apply responsive CSS fixes as necessary */
@media (min-width: 327px) and (max-width: 767px) {
    footer {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        height: 400px;
    }

    #wrap {
        margin: 0 auto -400px;
    }

    h1 { font-size: 2em}
    h2 {font-size: 1.7em}
    h3 {font-size: 1.5em}

    /*#LoginHover img {
        padding-left: 0;
        padding-top: 0;
    }*/

    #LoginHover img {
        padding-top: 100px;
    }

    /*#LoginHover img {
        width: 50%;
        min-width: 125px;
    }*/

    .steps {
        text-align: center;
    }
}

@media (max-width: 636px) {
    .steps {
        margin-top: -155px;
    }
}

@media (max-width: 608px) {
    #LoginHover img {
        /*width: 50%;
        min-width: 125px;*/
    }
}

@media (max-width: 500px) {
    /*#LoginHover img {
        padding-top: 200px;
        min-width: 276px;
    }   
    #LoginHover {
        padding: 0;
    }*/

    #LoginHover img {
        padding-top: 100px;
        padding: 0;
    }

    .steps {
        margin-top: 0;
    }
}

@media (min-width: 327px) and (max-width: 350px) {
    #LoginHover img {
        margin-top: 125px;
        padding: 0;
    }

    .jumbotron {
        padding: 0;
    }

    .steps {
        margin-top: -100px;
    }
}

@media (max-width: 326px) {
    footer {
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px;
        padding-right: 10px;
        height: 550px;
    }
    #wrap {
            margin: 0 auto -550px;
    }

    h1 { font-size: 2em; text-align: center;}
    h2 {font-size: 1.7em; text-align: center;}
    h3 {font-size: 1.5em; text-align: center;}

    #LoginHover img {
        margin-top: 125px;
        padding: 0;
    }

    .jumbotron {
        padding: 0;
    }

    .steps {
        margin-top: -70px;
        text-align: center;
    }
}

@media (max-width: 300px) {
    .displacedH1 {
        margin-top: 30px;
        line-height: 1.2em;
        padding-bottom: 17px;
    }

}


/*
 *
 *  Sencond level Bootstrap menu 
 */


.dropdown-submenu {
    position: relative;
}
 
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}
 
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
 
.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}
 
.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}
 
.dropdown-submenu.pull-left {
    float: none;
}
 
.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/*
 *  error message stype for JQuery Validate
 */

label.error  {
    display: block;
    color: red;
    font-size: 12px;
}


/* collapsible sections */


.heading {
    /*margin: 1px;*/
    color: #500000;
    /*padding: 3px 10px;*/
    cursor: pointer;
    position: relative;
    /*background-color: #333333;*/
}





/* TRYING TO FIX THE DROPDOWN MENUS */

/*.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}

.dropdown-menu:hover > .dropdown-menu {
    background-color: #428bca;
}

    .nav .open > a, .nav .open > a:hover, .nav .open > a:focus
{
    background-color: #428bca;
}*/


 .navbar-nav > li > a {
    font-size: 0.9em;
}

 #footerButtons {
     text-align: center;
 }

 /* add tab-content top marging*/
 #PageTab > .tab-content {
     padding-top: 20px;
 }

 .required:after 
{
    content: "*";
    font-weight: bold;
    color: red;
    display: inline; 
}

 .nscreport
 {
     padding: 1em;
     float: left
 }

.circle-gray {
    background: #EDEDE8;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    padding: 15px 15px;
    text-align: center;
    margin: 0 auto 10px
}

/* Bootstrap callout */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #38854B;
}

    .bs-callout-success h4 {
        color: #38854B;
    }

.bs-callout-danger {
    border-left-color: #b92c28;
}

    .bs-callout-danger h4 {
        color: #b92c28;
    }

.bs-callout-warning {
    border-left-color: #A5660D;
}

    .bs-callout-warning h4 {
        color: #A5660D;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }