/**
 * Custom GSE Overrides.
 * 
 * Author: GSE IT Web Team
 * Date: January 2014
 */

/** 1. BASE **/
html, body {
  width: 100%;
  height: 100%;
  position: relative;
  font-size: 16px;
  line-height: 180%;
  color: #333;
  font-family: 'Crimson';
  font-size: 20px;
}

body {
	font-family: 'Crimson', Georgia, Times, serif;
}


/* line 25, ../sass/_base.scss */
h1 {
  font-family: "Crimson", Georgia, serif;
  font-size: 40px;
  line-height: 1em;
  color: #00122d;
  margin-bottom: 20px;
}

/* line 34, ../sass/_base.scss */
h2, h2 > a, h2 > a:hover {
  color: #666666;
  font-family: "Lato", Arial, sans-serif;
  font-size: 26px;
  line-height: 1em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* line 42, ../sass/_base.scss */
h3 {
  color: #044053;
  font-family: "Crimson", Georgia, serif;
  font-size: 26px;
  line-height: 1em;
  margin-top: 10px;
  margin-bottom: 5px;
}

/* line 56, ../sass/_base.scss */
h4 {
  color: #b20000;
  font-family: "Crimson", Georgia, serif;
  font-size: 22px;
  margin-top: 20px;
  margin-bottom: 5px;
}

/* line 64, ../sass/_base.scss */
a {
  color: #357c92;
}

/* line 68, ../sass/_base.scss */
a:hover {
  color: #90bac7;
  text-decoration: none;
}

a:focus {
	outline: none;
}

/* line 73, ../sass/_base.scss */
p {
  margin-bottom: 24px;
  line-height: 24px;
  font-size: 20px;
}

/* line 79, ../sass/_base.scss */
ol, ul {
  margin-top: 10px;
  margin-bottom: 15px;
  padding-left: 40px;
  line-height: 24px;
}

ul {
  list-style-type: none;
}

/* line 86, ../sass/_base.scss */
ol {
  padding-left: 60px;
}

ol.search-results {
	padding-left: 30px;
}

/* line 90, ../sass/_base.scss */
strong {
  font-weight: bold;
  line-height: 1em;
}

/* line 95, ../sass/_base.scss */
em {
  font-style: italic;
}

/* line 99, ../sass/_base.scss */
sup {
  text-transform: none;
}

/* line 103, ../sass/_base.scss */
table {
  margin: 0px auto;
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: #CCC;
}

/* line 111, ../sass/_base.scss */
blockquote {
  margin: 0px 40px 24px 40px;
}
/* line 114, ../sass/_base.scss */
blockquote p {
  margin-bottom: 10px;
}

/* line 119, ../sass/_base.scss */
hr {
  clear: left;
}


/** NAVBAR **/
.nav,
.navbar {
	font-family: 'Lato';
	font-size: 12px;
	text-transform: uppercase;
	border: none;
	border-radius: 0px;
}

.navbar {
  background-color: #00122d;
}

.navbar .nav > li {
  float: left;
}

.nav > li > a,
.navbar-nav > li > a {
	color: #fff;
	padding: 30px 20px 30px 20px;
}

.nav > li > a:hover, 
.nav > li > a:focus,
.nav > li > a.active {
	background-color: #357c92;
	color: #fff;
}

.navbar-toggle {
  border: 1px solid #fff;
  border-radius: 0px;
  padding: 12px 9px;
  margin-top: 12px;
  position: absolute;
  right: 20px;
  top: 8px;
}

.navbar-toggle .icon-bar {
  background-color: #fff
}

.navbar {
  margin-bottom: 0px;
}

#navbar-logo {
  background-image: url(../img/gse_logo.png);
  width: 250px;
  height: 50px;
  background-size: 250px auto;
  background-repeat: no-repeat;
}

#header-right {
  height: 24px;
}

/** Resources Menu **/
#header-nav {
  background-color: #222;
  height: 30px;
  padding: 5px 20px;
}

#header-nav .menu {
  position: relative;
  top: -9px;
  list-style: none;
  display: inline;
  margin-left: 15px;
}

#header-nav h3 {
  position: relative;
  display: inline;
  text-transform: uppercase;
  top: -10px;
  font-size: 13px;
}

#header-nav .menu li {
  display: inline;
  font-size: 16px;
  margin-right: 5px;
  margin-left: 0;
}

#header-nav li a {
  color: #fff;
}

#header-nav li a:hover {
  color: #357c92;
}

#header-nav h2 {
    display: none;
}

#header-nav div {
    display: inline;
}

#header-nav div.block {
    float: left;
}

#site-title {
  font-family: 'Lato';
  font-weight: 100;
  color: #357c92;
  text-align: center;
}

#site-subtitle {
  font-size: 30px;
  text-align: center
}

.callout {
  display: none;
}

/* === Main Container === */
#main-row {
  margin: 0px;
}

#main-container {
  padding: 0 40px;
}

#main-content {
  padding-bottom: 40px;
}

#tinymce ul li,
#main-content ul li {
  text-indent: -16px;
}
#tinymce ul li:before,
#main-container ul li:before {
  content: "»\00a0\00a0";
}

.node-form .vertical-tabs ul li:before {
	content: "" !important;
}

.node-form .vertical-tabs ul li {
	text-indent: 0 !important;
}

h1.title {
  padding-bottom: 20px;
  margin-bottom: 20px;
  margin-top: 0;
  border-bottom: 2px solid #eee;
}


/* === Sidebar and Sidebar Menus=== */
#sidebar .block {
    margin-bottom: 20px;
}

#sidebar .block-menu-block,
#sidebar .block-menu {
    border: 1px solid #e1e1e1;
}

.block-menu-block h2,
.block-menu h2 {
    text-transform: uppercase;
    font-family: 'Lato', 'Arial' serif;
    font-size: 26px;
    border-bottom: 1px solid #e1e1e1;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 20px;
    padding-bottom: 20px;
}

#sidebar ul {
    list-style: none;
    margin-left: 0px;
}

ul.menu {
  padding-left: 0px;
  margin: 0px;
}

#sidebar ul.menu li {
    margin: 2px;
    line-height: 26px;
    list-style: none;
    border-bottom: 1px solid #e1e1e1;
    padding: 0;
}

#sidebar ul.menu li:last-child {
    border-bottom: none;
}

#sidebar ul.menu li a {
    color: #333;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    margin: 2px;
    width: 99%;
    height: 100%;
    display: block;
    padding: 5px 15px;
}

#sidebar ul.menu li.active a,
#sidebar ul.menu li:hover a{
    background-color: #00122d;
    color: #fff !important;
}

.page-header {
  margin: 0;
  border-bottom: 0;
}

#banner-photo {
  position: relative;
  top: -50px;
  z-index: -1;
  margin-bottom: -15px;
}

/*#banner-photo img {
  width: 100%;
  height: auto;
}
*/
#brand-banner {
  background-color: rgba(53, 124, 146, 0.85);
  padding: 10px 0;
}

#brand-banner h2 {
  color: #fff;
  font-family: 'Crimson', Georgia, serif;
  text-transform: none;
  text-align: center;
  font-size: 26px;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0px;
}

.btn {
  border-radius: 0px;
}

.banner-btn {
  width: 100%;
  padding: 12px 12px;
  font-family: 'Lato', 'Arial', sans-serif;
  font-size: 16px;
  line-height: 12px;
  text-align: left;
  text-transform: uppercase;
  margin: 0px;
  margin-bottom: 5px;
}

.banner-btn.btn-style-2:hover, 
.banner-btn {
    color: #357c92;
    background-color: #00122d;
}

.banner-btn h1 {
  font-family: 'Crimson', Georgia, serif;
  font-style: italic;
  font-size: 45px;
  color: #fff;
  margin: 0px;
  text-align: left;
  text-transform: lowercase;
  line-height: 20px;
}


.banner-btn.btn-left h1 {
  text-align: left;
  margin-left: -17px;
  position: relative;
  top: -9px;
}

.banner-btn.btn-left {
  text-align: right;
  padding-top: 19px;
  padding-bottom: 5px;
}
.banner-btn:hover,
.banner-btn.btn-style-2 {
  background-color: #357c92;
  color: #00122d;
}

.lower {
  text-transform: lowercase;
}

.italic {
  font-style: italic;
}

.photo-left {
  float: left;
  margin: 0 10px 10px 0;
}

#sidebar ul.menu li:before,
#main-content ul.tabs li:before {
  content: "";
}

/**
 * Search Bar Styles
 */
 /* ====== Search Bar Styles ====== */
.form-item-search-block-form .form-actions {
  display: inline;
  position: absolute;
  top: 0;
  right: 0;
  background-color:#222;
}

.form-item-search-block-form {
    padding: 0 0px 5px 5px;
    padding: 0px;
}

.form-item-search-block-form .block-search {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    width: 90%;
    margin-top: 10px;
}

.form-item-search-block-form form {
    margin: 0px;
}

.form-item-search-block-form input {
    width: 100%;
    min-width: 150px;
    font-size: 12px;
    height: 18px;
    font-family: 'Lato', sans-serif;
    color: #fff;
    text-transform: uppercase;
    margin-top: -8px;
            border-radius: 0;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
    border: none;

    position: relative;
    left: -12px;
    top: -11px;

    padding: 5px;

    line-height: 1em;
}

#edit-search-block-form--2 {
  background-color: #666;
}

#block-search-form {
    margin-left: 20px;
}

.form-item-search-block-form .block-search {
  margin-right: 40px !important;
}

#search-toggle {
  position: absolute;
  top: 7px;
  right:0;
    padding: 2px;
}

.nav-collapse #edit-search-block-form--2 {
  background-color: #fff;
  color: #000;
  width: 40%;
  min-width: 200px;
}

#block-search-form input[type=submit] {
  height: 20px !important;
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 25px !important;
  padding: 0px;
  border: 0px;
  outline: 0px;
  background-image: url('../img/search-small.png');
  background-repeat: no-repeat;
  font-size: 0px !important;
  background-color: transparent;
  margin-top: 5px;
}

.nav-collapse  #edit-submit {
    background-image: url('../img/search.png');
    height: 30px !important;
    background-color: #00122d;
    top: 235px;
    right: 0;
    position: absolute;
    border: 0px;
}

.front .nav-collapse #edit-submit {
  top: 320px;
}

.search-info {
	display: none;
}

.photoleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}

.photoright {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}

/**
 * Responsive Styles
 */
@media (max-width: 1200px) {
  .banner-btn h1 {
    font-size: 34px;
  }
}

@media (max-width: 990px) {
  .banner-btn h1 {
    font-size: 45px;
  }

  .banner-btn.btn-left {
    text-align: left !important;
    padding-left: 100px;
  }

  .banner-btn.btn-left h1 {
    margin-left: -105px;
  }
}

@media (max-width: 767px) {
  .navbar .nav > li {
    float: none;
  }

  .navbar .nav > li a {
    padding: 6px 12px;
  }

  #main-container {
    padding: 0 20px;
  }

  .container > .navbar-header,
  .container > .navbar-collapse,
  .navbar-collapse {
    width: 100%;
    margin: 0;
  }

  #banner-photo {
    display: none;
  }

  .page-header {
    padding-bottom: 20px;
  }

  .cb-right {
    display: none;
  }

  .ct-right a.visit {
    display: none;
  }

  .social, .social:hover {
    background-image: url(../img/social/social_mobile.png);
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    margin: 0 20px;
  }

  .social.twitter, .social:hover.twitter {
    background-position: -50px 0;
  }

  .social.youtube, .social:hover.youtube {
    background-position: -50px 0;
  }

  .social.linkedin, .social:hover.linkedin {
    background-position: -75px 0;
  }

  .social.flickr, .social:hover.flickr {
    background-position: -100px 0;
  }

    .cb-left {
      float: none;
      text-align: center;
    }

    .ct-left, 
    .ct-middle,
    .ct-right {
      margin-left: 0;
      float: none;
      text-align: center;
    }

    .ct-middle,
    .ct-right {
      margin-top: 3px;
    }

    .contactTop {
      height: 140px;
    }

    #footer {
      height: 200px;
    }

    #wrap {
        /* Negative indent footer by its height */
        margin: 0 auto -200px;
        /* Pad bottom by footer height */
        padding: 0 0 200px;
    }
}

