/*

Theme Name: IIBS
GitHub Theme URI: https://github.com/finelysliced/iibs
Version: 1.0
Author: Finely Sliced

*/

* { margin: 0; padding: 0; }

header, nav, main, section, article, footer { display: block; }

body { position: relative; background: #FFF; font-family: "Trebuchet MS", verdana, sans-serif; color: #4c565c; }


body:before { content: url('images/outline-overlay-small.png'); position: absolute; left: 50%; top: 105px; margin-left: -664px; display: block; z-index: 0; opacity: .5; z-index: 0; }


/*---------------------------------------

	HEADER 

-----------------------------------------*/

#header { position: relative; background: #FFF; height: 140px; padding: 0 20px; z-index: 1000; }
#header .wrap { position: relative; margin: 0 auto; max-width: 960px; }

#header h1 { margin: 0; line-height: normal; }
#header h1 a { position: absolute; top: 42px; left: 0; width: 250px; height: 60px; display: block; background-image: url('images/logo.png'); background-repeat: no-repeat; text-indent: -9999px; background-size: cover; }

.nav > ul { position: absolute; top: 87px; right: 0px; left: 300px; z-index: 1; text-align: right; }
.nav li { position: relative; display: inline-block; font-size: 13px; border-left: 2px solid #58afe0; padding: 0 12px 0 15px; text-align: left; }
.nav li:first-child { border: none; }

.nav li a:link, .nav li a:visited { color: #4c565c; text-decoration: none; }
.nav li a:hover, .nav li a:active { color: #004587; text-decoration: none; }

.nav li.current-menu-item > a:link, .nav li.current-menu-item > a:visited { font-weight: bold; }
.nav li.current-menu-parent > a:link, .nav li.current-menu-parent > a:visited { font-weight: bold; }

.nav li ul { position: absolute; top: 100%; left: 0; width: 200px; background-color: #4c565c; background-color: rgba(76, 86, 92, 0.9); visibility: hidden; opacity: 0; -webkit-transition: opacity .3s; -moz-transition: opacity .3s; transition: opacity .3s; }
.nav li ul li { display: block; margin: 0; padding: 0 20px; font-size: 12px; border: none; line-height: normal; }

.nav ul li ul a { display: block; padding: 7px 0; border-top: 2px solid #70787d; }
.nav ul li ul li:first-child a { border: none; }

.nav ul li ul a:link, .nav ul li ul a:visited { color: #FFF; }
.nav ul li ul a:hover, .nav ul li ul a:active { color: #0098d8; }

.nav li:hover ul { visibility: visible; opacity: 1; }

#nav_toggle { position: absolute; top: 0; right: 0; height: 60px; width: 60px; background-image: url('images/menu.svg'); background-position: center center; background-repeat: no-repeat; display: none; }


/*---------------------------------------

	HERO 

-----------------------------------------*/

#hero { background-color: #004587; margin-bottom: 10px; z-index: 500; }
#hero .container { position: relative; margin: 0 auto; max-width: 1000px; height: 200px; overflow: hidden; }

#hero .title { position: relative; float: left; font-size: 40px; width: 35%; height: 200px; z-index: 1; }
#hero .title h2 { position: absolute; bottom: 20px; left: 0; right: 20px; color: #FFF; margin: 0; font-size: 40px; text-align: right; font-weight: normal; }
     
#hero ul { position: relative; float: right; width: 65%; height: 200px; overflow: hidden; list-style: none; }
#hero ul li { position: absolute; top: 0; left: 20px; bottom: 0; right: 0; display: none; }
#hero ul li:last-child { display: block; }

.home #hero .container { height: 275px; }
.home #hero ul { height: 275px; }

.home .core-values { position: relative; float: left; width: 35%; height: 275px; padding: 52px 0 0 20px; font-style: italic; font-size: 15px; box-sizing: border-box; color: #FFF !important; }

.home .core-values h3 { font-size: 24px; margin-bottom: 18px; color: #FFF; }
.home .core-values ol.values { position: relative; }
.home .core-values ol.values li { position: absolute; top: 0; left: 0; width: 290px; height: 275px; display: none; list-style-type: none; }
.home .core-values ol.values li:first-child { display: list-item; }

.home .core-values ol.controls { position: absolute; bottom: 16px; right: 0; display: none; }
.home .core-values ol.controls li { list-style-type: none; display: inline; }
.home .core-values ol.controls li a { display: block; float: right; width: 0; height: 8px; padding-left: 8px; border: 1px solid #fff; margin-left: 10px; overflow: hidden; }
.home .core-values ol.controls li a.current { background-color: #fff; }


/*---------------------------------------

	CONTENT 

-----------------------------------------*/

#content { background: #edeeee; min-height: 400px;  }
#content .wrap { position: relative; margin: 0 auto; max-width: 1000px; overflow: hidden; }

.copy { float: right; width: 65%; padding: 40px 20px; box-sizing: border-box; }
.sidebar { float: left; width: 30%; padding: 40px 20px; box-sizing: border-box; }


/*---------------------------------------

	SIDEBAR 

-----------------------------------------*/

.sidebar ol {
      margin: 0;
      padding: 0; }
      .sidebar ol li {
        list-style-type: none;
        margin: 0 0 2px 0;
        padding: 0; }
        .sidebar ol li a {
          display: block;
          padding: 8px 18px;
          background-color: #949a9d;
          color: #fff;
          text-decoration: none; }
          .sidebar ol li a:hover {
            background-color: #004587; }
        .sidebar ol li.current_page_item a, .sidebar ol li.current-cat a {
          background-color: #004587; }
    .sidebar .value {
      margin-top: 42px;
      }
      .sidebar .value h2 {
	      color: #004587;
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 6px; font-style: italic;}
        
         .sidebar .value p {
	         font-size: 16px !important; 
    font-style: italic;
    line-height: 130% !important; 
    color: #004587;}

/*---------------------------------------

	TYPOGRAPHY 

-----------------------------------------*/


h1, h2 { color: #0098d8; font-size: 22px; line-height: 28px; margin-bottom: 16px; }
h3 { font-weight: bold; font-size: 18px; margin-bottom: 13px; }

.home h1 { font-size: 26px; line-height: 30px; }

#content p { font-size: 13px; margin-bottom: 18px; line-height: 150%; }
#content ul { font-size: 13px; margin-bottom: 18px; line-height: 150%; list-style-position: inside; }

a:link, a:visited { color: #4c565c; text-decoration: underline; }
a:hover, a:active { color: #4c565c; text-decoration: underline; }

.person { padding: 20px 0; border-bottom: 1px dashed #0098d8; }
.person h2 { font-size: 18px; display: inline; }
.person h3 { font-size: 16px; color: #004587; margin: 4px 0; }
.person span.qualifications { font-size: 11px; font-style: italic; }

.read-more { text-align: right; font-size: 13px; }
.read-more a { color: #0098d8; }

.posts { list-style: none; }
.posts .post { padding: 20px 0; border-bottom: 1px dashed #0098d8; }
.posts h2 a:link, .posts h2 a:visited { color: #0098d8; text-decoration: none; }
.posts h2 a:hover, .posts h2 a:active { color: #0098d8; text-decoration: none; }

.posts h2, .post h1 { margin-bottom: 4px; }

.date { text-transform: uppercase; font-size: 12px; color: #999; }

.post_navigation { width: 100%; overflow: hidden; }
.post_navigation a { display: block; width: 45%; }
.prev_posts { float: right; text-align: right; }
.next_posts { float: left; }


/*---------------------------------------

	CONTACT 

-----------------------------------------*/

.contact_form { max-width: 400px; }
.map { height: 300px; }

label { display: block; margin-bottom: 2px; }
input[type="text"], input[type="email"], input[type="tel"] { background: #FFF; border: none; box-sizing: border-box; padding: 8px 6px; font-size: 13px; font-family: "Trebuchet MS", verdana, sans-serif; color: #4c565c; width: 100%; -webkit-appearance: none; }

textarea { display: block; background: #FFF; border: none; box-sizing: border-box; padding: 8px 6px; font-size: 13px; font-family: "Trebuchet MS", verdana, sans-serif; color: #4c565c; width: 100%; height: 100px; resize: none; -webkit-appearance: none; }

input[type="submit"] { display: inline-block; background: #004587; border: none; padding: 6px 12px; font-size: 13px; font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif; color: #FFF; text-transform: uppercase; -webkit-appearance: none; cursor: pointer; margin-top: 20px; }

select { width: 100%; }

.wpcf7-form-control-wrap { display: block; }
.wpcf7-not-valid-tip { padding-top: 2px; font-size: 11px; }

.wpcf7-response-output { display: block; font-family: "Trebuchet MS", verdana, sans-serif; margin: 0 !important; font-weight: 500; font-size: 13px; padding: 16px !important; }
.wpcf7-validation-errors { border: none !important; background: #dd261d; color: #FFF; }
.wpcf7-mail-sent-ok { border: none !important; background: #4c565c; color: #FFF; }



/*---------------------------------------

	FOOTER 

-----------------------------------------*/

#footer { font-size: 11px; padding: 20px; }
#footer .wrap { position: relative; margin: 0 auto; max-width: 960px; overflow: hidden; }

.copyright { float: left; width: 35%; }
.copyright p { margin-bottom: 12px; }
.copyright span { border-left: 2px solid #58afe0; padding: 0 0 0 10px; margin-left: 8px; }

.associations a { display: inline-block; vertical-align: top; margin-right: 12px; }

.footer_nav { float: right; width: 65%; }
.footer_nav ul { list-style: none; text-align: right; }
.footer_nav li { display: inline; border-left: 2px solid #58afe0; padding: 0 14px; }
.footer_nav li:first-child { padding-left: 0; border-left: none; }
.footer_nav li:last-child { padding-right: 0; }

.footer_nav li a:link, .footer_nav li a:visited { color: #4c565c; text-decoration: none; }
.footer_nav li a:hover, .footer_nav li a:active { color: #004587; text-decoration: none; }


/*---------------------------------------

	MISC 

-----------------------------------------*/

img { border: none; }
a { outline: none; }