/*! HTML5 Boilerplate v5.0.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url('http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic,800,800italic');
@import url('http://fonts.googleapis.com/css?family=Lora:400,700');
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
*/

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
*/

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
*/

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
*/

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
*/

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
.group:after {
  content: "";
  display: table;
  clear: both;
}
html{
  position: relative;
  min-height: 100%;
}
html.front{
  height: 100%;
}
body.front{
  min-height: 100%;
  height: 100%;
  margin: 0 0 -60px 0;
}
html, body{
  font-family: 'Open Sans', sans-serif;
  color:#000;
  background: #fff;
}
body{
  font-size: 0.876em;
  margin: 0 0 60px 0;
}
h1, h2, h3, h4, h5, h6{
  margin: 20px 0 5px 0;
  color: #e68518;
  /*font-variant: small-caps;*/
}
h1{
  font-size: 2em;
}
h2{
  font-size: 1.8em;
}
h3{
  font-size: 1.5em;
}
h4{
  font-size: 1.2em;
}
ul,ol{
  margin: 0 0 20px 15px;
}
ul{
  list-style: disc;
}
ol{
  list-style: decimal-leading-zero;
}
li{
  margin: 10px 0;
}
img{
  padding-bottom: 10px;
  max-width: 100%;
}
a{
  text-decoration: none;
  color: #e68518;
  /*font-weight: 700;*/
}
a:hover{
  color: #001C72;
  text-decoration: underline;
}
p{
  margin: 10px 0;
  line-height: 1.5em;
}
td{
  vertical-align: top;
}
label{
  padding: 5px 0;
  font-weight: 700;
  display: block;
}
select, textarea, input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"]{
  font-size: 1em;
  display: block;
  height: 45px;
  margin: 0;
  width: 100%;
  font-family: sans-serif;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  padding: 5px 10px;
  border: solid 1px #ccc;
  transition: box-shadow 0.3s, border 0.3s;
}
textarea{
  min-height: 150px;
}
select:focus, textarea:focus, input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="number"]:focus{
  outline: none;
  border: solid 1px #9c9c9c;
  box-shadow: 0 0 5px 1px #b5b5b5;
}
/*input:focus:required:invalid, select:invalid {
  border: 1px solid red;
  box-shadow: 0 0 5px 1px #febbbb;
  outline: none;
}*/
input[type='submit'], .linkBtn{
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  background: #e68518;
  border: 1px solid #777;
  padding: 0 1.5em;
  margin: 0.5em 0;
  font: bold 1em/2em Arial, Helvetica;
  text-decoration: none;
  color: #FFF;
  text-shadow: 0 1px 0 rgba(0,0,0,.8);
  border-radius: .2em;
  /*box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);*/
}

input[type='submit']:hover {
  /*    background-color: #ddd;        
      background-image: linear-gradient(top, #fafafa, #ddd);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');*/
  background: #000;
}
input[type='submit']:active {
  box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
  position: relative;
  top: 1px;
}

input[type='submit']:focus {
  outline: 0;
  background: #fafafa;
}    

input[type='submit']:before {
  background: #ccc;
  background: rgba(0,0,0,.1);
  float: left;        
  width: 1em;
  text-align: center;
  font-size: 1.5em;
  margin: 0 1em 0 -1em;
  padding: 0 .2em;
  box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
  border-radius: .15em 0 0 .15em;
  pointer-events: none;        
}
.wrapper{
  margin: 0 auto;
  position:relative;
}
.wrapperHome{
  /*height: 100%;*/
  max-width:600px;
  margin: 0 auto;
}
header{
  height: 148px;
  /*padding: 20px 0 0 0;*/
  text-align: center
}
header #logo{
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}
footer{
  margin: 20px 0 0 0;
  width: 100%;
  font-size: 0.75em;
  vertical-align: middle;
  color: #666;
  padding: 8px 0;
  -webkit-box-shadow: 0 -8px 6px -6px #CCC;
  -moz-box-shadow: 0 -8px 6px -6px #CCC;
  box-shadow: 0 -8px 6px -6px #CCC;
  text-align: center;
}
footer img{
  width: 25px;
  margin: 10px 0;
}
#containerMain{
  padding: 20px;
}
#containerMain img{
  margin: 0 10px;
}
/*----HOME PAGE----*/

.module-front h1,.module-front .h1,.module-front h2,.module-front .h2{
  margin: 0px 0 10px 0;
  line-height: 1.2em;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  color: #FFF;
  /*color: #9e2f23;*/
}
.module-front h1{
  font-size: 3em;
  /*font-family: 'Halant', serif;*/
  font-family: 'Lora', serif;
  /*font-family: Helvetica;*/
  font-variant: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.module-front .h1{
  font-size: 1.9em;
  font-family: 'Lora', serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.module-front h2,.module-front .h2{
  font-size: 1.1em;
  /*text-transform: uppercase;*/
  font-weight: 700;
  letter-spacing: 0.2em;
}
.module-front .logo{
  padding: 20px;
}
.module-front a:hover{
  text-decoration: none;
}
.full, .square, .rectangle, .qtrs, .half, .thirds{
  /*border: solid thin #000;*/
  padding: 5px;
  position: relative;
}
.full a, .square a, .rectangle a, .qtrs a, .half a, .thirds a{
  /*border: solid thin #000;*/
  padding: 15px;
  height: 100%;
  width: 100%;
  color: #fff;
  background-size: cover;
  background-repeat:no-repeat;
  display: block;
  vertical-align: bottom;
}
/*----END HOME PAGE----*/
/*---- NAVIGATION ----*/
nav{
  background: #FFF;
  z-index: 50;
}
nav ul ul{
  display: none;
  width: auto;
}
nav ul li:hover > ul{
  display: block;
}
nav ul{
  list-style: none;
  position: relative;
  z-index: 20;
  font-size: 1em;
  display: inline-table;
  margin: 0;
  padding: 0;
}
nav ul:after {
  content: ""; 
  clear: both; 
  display: block;
}
nav ul li{
  float: left;
  margin: 0;
}
nav ul li a{
  /*text-shadow: 0px 1px 1px #000;*/
  text-decoration: none;
  display: block;
  padding: 15px 20px;
  color: #666;
  font-size: 0.9em;
  position: relative;
}
nav ul li:hover > a{
  text-shadow: none;
  color: #00B4D8;
  text-decoration: none;
  /*background: #E0E0E0;*/
  background: #DDD;
}
.arrow{
  position: absolute;
  bottom: 25%;
  padding: 0 0 0 5px;
  right: 8%;
}
nav ul ul{
  position: absolute; 
  padding: 0;
  top: 100%;
}
nav ul ul li{
  float: none;
  position: relative;
  background: #DDD;
}
nav ul ul li:first-child{
  /*  -webkit-box-shadow: inset 0 6px 6px -6px #4a4f66;
    -moz-box-shadow: inset 0 6px 6px -6px #4a4f66;
    box-shadow: inset 0 6px 6px -6px #4a4f66;*/
}
nav ul ul li a{
  margin: 0;
  /*border-bottom: solid thin #5b6b88;*/
}
nav ul ul li:hover > a{
  background: #666;
}
nav ul ul ul {
  position: absolute; 
  background: url('../images/design/empty.png') repeat;
  left: 100%; 
  top:0;
  white-space: nowrap;
  width: auto;
}
nav ul ul ul li{
  background: #DDD;
}
nav ul ul ul li a:hover{
  background: #666;
}
nav ul ul ul li:first-child{
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/* FOOTER NAV */
footer ul.navf{
  list-style: none;
  margin: 0;
  padding: 0;
  float: none;
  text-align:center;
}
footer ul.navf li{
  display: inline;
}
footer ul.navf li a{
  display: inline-block;
  padding: 0 10px;
}
/*---- END NAVIGATION ----*/
/* NEWS */
.news{
  margin: 0 0 30px 0;
}
.col-date{
  width: 50px;
  margin: 0 50px 0 0;
  float: left;
  text-align: center;
  color: #CDCDCD;
  font-size: 1.4em;
  font-weight: 600;
}
.col-text{
  overflow: auto;
}
.circle{
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: #CDCDCD;
  display: block;
  vertical-align: middle;
  margin: 10px 0 5px 0;
  text-align: center;
  padding: 11px 0;
  /*font-size: 1.4em;*/
  color: #FFF;
  font-weight: 700;
}
.readmore{
  display: inline-block;
  background: #eee;
  border: solid thin #CDCDCD;
  padding: 5px 10px;
  color: #999;
}
.readmore:hover{
  text-decoration: none;
  background: #CCC;
}
/* EXPANDING/COLLAPSING LISTS */
#expList ul li {
  list-style: none;
  margin:0;
  padding:5px 0;
  cursor: pointer;
}
#expList{
  /*margin: 0 0 0 20px;*/
  padding: 0;
}
#expList ul{
  margin: 0 0 0 30px;
  padding: 0;
}
#expList p {
  margin:0;
  display:block;
}
#expList p:hover {
  background-color:#121212;
}
#expList li {
  padding: 10px 0;
  text-indent:0px;
  background-position: 1px 8px;
  background-repeat: no-repeat;
}
/* Collapsed state for list element */
#expList .collapsed:before {
  content: "+";
  margin-right: 15px;
}
/* Expanded state for list element
/* NOTE: This class must be located UNDER the collapsed one */
#expList .expanded:before {
  content: "-";
}
/* END EXPANDING/COLLAPSING LISTS */

.g-recaptcha{
  margin: 10px 0 0 0;
}
.txtAlignC{
  text-align: center;
}
.txtAlignR{
  text-align: right;
}
.alertError, .alertSuccess, .alertWarning{
  padding: 10px;
}
.alertSuccess{
  color: #69B92F; 
  border: solid thin #69B92F;
  background: #E1FCCF;
}
.alertError{
  color: #CC0000;
  border: solid thin #CC0000;
  background: #f2dede;
}
.alertWarning{
  color: #F47D0E;
  border: solid thin #F47D0E;
  background: #FFD8C1;
}
.valignMid{
  vertical-align: middle;
}
.profileImg{
  padding: 0 20px 20px 0;
  margin: 0 !important;
  overflow: hidden;
}
.imgOverflow{
  overflow: hidden;
}
.imgOverflow:after{
  clear: both;
}
.share{
  color: #e68518;
  font-size: 0.876em;
}
#imgStrip img{
/*  min-height: 250px;
  width: auto;*/
}





.slicknav_menu {
  display:none;
}

@media screen and (max-width: 40em) {
  /* #menu is the original menu */
  .js #menu {
    display:none;
  }

  .js .slicknav_menu {
    display:block;
  }
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
*/

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */ 
  .wrapper{
    width: 80%;
    min-width: 1024px;
    max-width: 1366px;
  }
  .wrapperHome{
    height: 100%;
    width: 80vw;
    padding: 25px 0 60px 0;
  }
  .module-front{
    width: 100%;
    position: relative;
    top: 40%;
    transform: translateY(-40%);
    /*    top: 50%;
        transform: translateY(-50%);*/

    /*width: 1024px;*/
    /*margin: 120px 0 0 0;*/
  }
  .module-front .logo{
    padding: 0 10px 20px 10px;
  }
  #containerMain{
    padding: 20px 0 40px 0;
  }
  header{
    height: 110px;
    padding: 20px 0;
    text-align: left;
  }
  header #logo{
    /*    position: absolute;
        left: 0;
        top: 0;*/
    width: 300px;
    margin: 0 auto;
    padding: 0;
  }
  .header{
    min-height: 70px;
    width: 70%;
  }
  footer{
    margin: 0;
    text-align: left;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 60px;
  }
  footer img{
    margin: 0;
  }
  footer p{
    margin: 0;
  }
  .socialMedia{
    display:table-cell;
    text-align: right;
  }
  nav{
    /*margin: 20px 0;*/
    position: absolute !important;
    bottom: 0;
    right: 0;
  }
  nav ul li.dropdown > a span.arrow:after{
    content: " ˇ";
    /*  display: inline-block;
      vertical-align: text-bottom;*/
  }
#imgStrip{
  height:250px; 
  overflow:hidden;
  -webkit-box-shadow: 0 6px 4px -4px #ccc;
  -moz-box-shadow: 0 6px 4px -4px #ccc;
  box-shadow: 0 6px 4px -4px #ccc;
}
  #imgStrip img{
    width: 100%;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  .col-main{
    width: 75%;
    float:  left;
    padding: 0 20px 0 0;
  }
  .col-right{
    width: 25%;
    float: left;
    padding: 0 0 0 20px;
  }
  .col-thirds{
    float: left;
    width: 33%;
    height: 40px;
  }
  .floatRight{
    float:right;
  }
  .floatLeft{
    float: left;
  }
  .col-qtr{
    width: 20vw;
    float: left;
    /*height: 550px;*/
  }
  .col-half{
    width: 50%;
    float:left;
    /*height: 550px;*/
  }
  .col-two-thirds{
    float:left;
    width: 66.6%;
    width: 53vw;
  }
  .col-third{
    float:left;
    width: 33.3%;
    width: 27vw;
  }
  .col-padding{
    padding: 10px;
  }
  .col-padding:nth-child(2n+1){
    padding-left: 0;
  }
  .col-padding:nth-child(2n+2){
    padding-right: 0;
  }
  .full{
    height: 66vh;
    min-height: 500px;
    width:100%;
  }
  .square{
    width: 50%;
    height: 22vh;
    min-height: 166.67px;
    float: left;
  }
  .rectangle{
    height: 30vh;
    min-height: 210px;
    width: 100%;
  }
  .qtrs{
    height: 137.5px;
  }
  .thirds{
    height: 20vh;
    min-height: 140px;
  }
  .half{
    width: 50%;
    float: left;
    height: 30vh;
    min-height: 210px;
  }
  .grid{
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .grid li{
    width: 25%;
    padding: 0 20px 20px 20px;
    height: 100px;
    float: left;
  }
  .grid li a{
    display: block;
    height: 100%;
    background: #e68518;
    color: #FFF;
    padding: 20px;
    text-align: center;
    vertical-align: middle;
  }
  .profileImg{
    float:left;
  }
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                               http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
  */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
  */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}



