/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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
   ========================================================================== */
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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
   ========================================================================== */
h1,h2,h3,h4, h5, h6 {
  margin: 0;
  padding: 0;
}

.relBox {
  position: relative;
}


/* Small screens (default) */
html { 
  font-size: 100%;
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Open Sans', sans-serif;
  color: #666666;
  font-size: 14px;
}

body.landing {
  height: 100%;
}

.headerContainer {
  position: relative;
  z-index: 999;
  width: 100%;
}

.logo {
  display: block;
  position: relative;
}

.logo img {
  position: absolute;
  z-index: 99999;
}


.wrapper {
  margin: 0 auto 40px; 
}

.footerLanding, .push {
  height: auto; /* '.push' must be the same height as 'footer' */
}

.containerLanding {
  margin: 0 auto;
  max-width: 1080px;
  width: 90%;
  margin-top: 6.666666%; 
}

.container {
  margin: 0 auto;
  max-width: 1080px;
  width: 90%;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

#topContainer {
    width: 100%;
    position: relative;
}

.topLiner {
  padding: 3px 0;
  border-bottom: 1px solid #4e5552;
  background-color: rgba(26,34,37, 1);
}

.siteTitle {
  font-size: 0.857em;
  color: #0faf64;
  text-align: center;
}

.siteTitle span {
  margin-left: 0%;
}

.topNavi {
  text-align: center;
  margin: 2px 0;
  color: #d3d3d3;
  font-size: 10px;
  padding-left: 7%;
}

.topNavi li {
  display: inline-block;
  list-style: none;
  margin-right: 10px;
}

.topNavi li a:hover {
  text-decoration: underline;
}

.topNavi li:after {
  content: "|";
  margin-left: 10px;
}

.topNavi li:last-child:after {
  content: "";
  margin-left: 10px;
}

#header {
  width: 100%;
  min-height: 70px;
  background-color: rgba(26,34,37, 0.9);
  border-bottom: 1px solid #0faf64;
}

.greenLiner {
  border-bottom: 4px solid #0faf64 !important;
}

.headerContent {
  min-height: 70px;
}

.topRight {
  font-size: 0.857em;
}

.topRight ul {
  padding: 0;
}

.landingTagline {
  color: #ffffff;
  line-height: 2em;
  text-shadow: 2px 2px 4px #000000;
  width: 100%;
  padding-bottom: 30px;
}

section {
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  overflow: hidden;
}

.whiteBG {
  background: #fff;
}

.greyBG {
  background: #d7eee3;
}

.pageTitle {
	padding-bottom: 30px;
}

  /*--- Slider CSS ---*/

.sliderContainer {
  padding: 0;
  position: relative;
} 

.imgslider {
  margin: 0;
}

.slanted {
  background-color: rgba(15,175,100, 1);
  width: 100%;
  height: 300px;
  position: absolute;
  bottom: 0;
  z-index: 1;
  -webkit-clip-path: polygon(0 0,100% 30%, 100% 100%, 0 100%);
  clip-path: polygon(0 0,100% 30%, 100% 100%, 0 100%);
 /* clip-path: polygon(0 0, 1600px 0, 1600px 100%, 0 100%);*/
}

.slanted-two {
  background-color: rgba(255,255,255, 1);
  width: 100%;
  height: 290px;
  position: absolute;
  bottom: 0;
  z-index: 2;
  -webkit-clip-path: polygon(0 0,100% 30%, 100% 100%, 0 100%);
  clip-path: polygon(0 0,100% 30%, 100% 100%, 0 100%);
 /* clip-path: polygon(0 0, 1600px 0, 1600px 100%, 0 100%);*/
}

.slanting {
  display: none;
}



/*.bx-wrapper .bx-controls-direction a {
    bottom: 10%;
    top: 
}

.bx-wrapper .bx-prev {
    left: 160px;
}

.bx-wrapper .bx-next {
    left: 200px;
}
*/

  /*--- Slider CSS Ends ---*/
.module {
  background: white;
 }

.module-two {
  background: #f0f0f0
}

.module, .module-two {
  width: 100%;
  min-height: 200px;
  position: relative;
  float: left;
  padding: 20px;
  margin-right: 2%;
  margin-bottom: 2%;
      transition: background-color 200ms linear;
    -moz-transition: background-color 200ms linear;
    -o-transition: background-color 200ms linear;
    -webkit-transition: background-color 200ms linear;
  &:nth-child(even) {
    margin-right: 0;
  }
  box-shadow: 0 1px 3px rgba(black, 0.2);
}

.module:hover, .module-two:hover {
  background: #d7eee3;
}

.come-in {
  transform: translateY(150px);
  animation: come-in 0.8s ease forwards;
}
.come-in:nth-child(odd) {
  animation-duration: 0.6s;
}
.already-visible {
  transform: translateY(0);
  animation: none;
}

@keyframes come-in {
  to { transform: translateY(0); }
}

.footerLanding {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  border-top: 1px solid #53654d;
  font-size: 11px;
}

.footerLinks {
  float: left;
  width: 100%;
}

.footerLinks a:hover {
  text-decoration: underline;
}

.copyRight {
  float: right;
  text-align: center;
  width: 100%;
  padding: 10px 0;
}

.caption {
  position: absolute;
  color: #ffffff;
  top: 10%;  
  right: 10%;
  z-index: 5;
  max-width: 230px;
}

.caption h2 {
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 3px 2px 2px rgba(0, 0, 0, 0.8);
  font-size: 1em;
}

/*--- List ---*/

.topRight ul {
  text-align: center;
  margin: 20px 0px 20px 0px;
}

.footerLinks ul {
  text-align: center;
  margin: 20px 0px 20px 0px;
}

.topRight li, .footerLinks li {
  display: inline-block;
  list-style: none;
  margin-right: 10px;
}

.footerLinks li:after {
  content: "|";
  margin-left: 15px;
}

.footerLinks li:last-child:after {
  content: "";
  margin-left: 15px;
}



/*--- Colors & Typo---*/
h2 {
  font-size: 1.714em
}

h3 {
  font-size: 1.429em;
}

h4 {
  font-size: 1.286em;
}

.submitFont {
  font-size: 1.429em;  
}

.orange {
  background-color: #f73519;
}

.white {
  background-color: #ffffff;
}

.whiteText {
  color: #ffffff;
}

.blackText {
  color: #000000;
}

.orangeText {
  color: #f73519;
}

.semiBold {
  font-weight: 700;
}

.bold {
  font-weight: 900;
}

.normal {
  font-weight: 500;
}

.light {
  font-weight: 300;
}

.alignRight {
  text-align: right;
}

.alignCenter {
  text-align: center;
}

.promoBox {
  color: #1e2326;
}

.promoBox h2 {
  font-weight: 300;
  padding: 0 10px;
}

.promoBox p {
  width: 70%;
  margin: 15px auto;
}

.promoBox hr {
  margin: 30px 90px;
}

.promoBox .badge {
  margin: 10px 0;
  display: block;
  float: left;
  text-align: center;
  width: 100%;
}

#mobileScreen {
  width: 100%;
}


/*--- FlexBox  & Grids ---*/

.flexContainer {
  display: block;
}

.flexAlignCtr {
  align-self: center;
  justify-content: center;
}

.column.half { width: 100%; }

.mainMenu {
  float: none;
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 9999;
  width: 100%;
}

/*--- Buttons & Forms Elements ---*/

a {
  text-decoration: none;
  color: inherit;
}

.btn {
  padding: 10px 19px;
}

.wideBtn {
  padding: 10px 19px;
  width: 100%;
  display: block;
  text-align: center;
}

.orangeBtn {
  background-color: #f73519;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  transition: all 500ms ease;

}

.orangeBtn:hover {
  background-color: #d9270d;
}

.greenBtn {
  background-color: #0faf64;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  transition: all 500ms ease;

}

.greenBtn:hover {
  background-color: #09894d;
}

.loginBox {
  padding: 20px;
  background-color: rgba(0,0,0,0.6);
  color: #ffffff;
  max-width: 100%;
  width: 100%;
  position: relative;
  float: right;
  line-height: 2em;
  display: block;
}

.loginBox .formField {
  padding: 15px 0 0 0;
}

.loginBox .formField label {
  display: block;
  font-size: 0.857em;
}

.loginBox .formField input[type="email"],
.loginBox .formField input[type="password"] {
  width: 100%;
  padding: 5px;
  background-color: rgba(255,255,255, 0.3);
  border: 1px solid #c1c1c1;
}

.loginBox .formField input[type="submit"] {
  width: 100%;
  display: block;
  padding: 10px;
  border: none;
  font-size: 1.429em;
}

.loginBox .formField .forgotPW {
  text-align: right;
  font-size: 0.857em;
  text-decoration: underline;
}

.footer {
  border-top: 1px solid #53654d;
  font-size: 11px;
  background-color: #1e2326;
  position: relative;
}

/*---Subpage CSS---*/

.bannerContainer {
    padding: 0;
    position: relative;
}

.bannerContainer .imgBanner {
  max-width: 100%;
  position: relative;
}

.imgBanner img {
  width: 100%;
  height: auto;
}

.sideContainer {
  width: 100%;
  position: relative;
  margin-bottom: 10px;
  line-height: 24px;
}

.sideContainer h3.sideTitle {
  color: #515655;
  padding:  0px 10px 20px 0px;
  border-bottom: 1px solid #515655;
}

.mainContainer a {
  color: #0faf64;
}

.sideContainer a:hover,
.mainContainer a:hover {
  color: #0faf64;
  text-decoration: underline;
}


.sideNavi {
  list-style: none;
  display: none;
  padding-left: 20px;
}

.sideNavi li:before {
  content: "\003E";
  position: absolute;
  top: 18px;
  left: -20px;
}

.sideNavi li {
  padding: 20px 0;
  list-style-position: outside;
  border-bottom: 1px solid #929595;
    position: relative;
}

.sideNavi li.current {
  color: red;
}

.sideNavi li a:hover {
  color: #0faf64;
  cursor: pointer
}



.gridList {
  padding: 20px;
  text-align: center;
}

.gridList img {
  display: block;
  margin: 0 auto;
}

.gridList h4 {
  line-height: auto;
  padding: 10px 0;
}

.mainContainer {
  width: 100%;
  position: relative;
  min-height: 300px;
  line-height: 24px;
}

.page404 h1 {
  font-size: 90px;
  color: #ccc;
  margin: 20px;
}

.page404 h3 {
  color: #333;
  padding: 20px;
}

.page404 {
  line-height: 30px;
  text-align: center;
}










/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * 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.
   ========================================================================== */

/* Medium screens (640px) */
@media (min-width: 40rem) { 
  html { font-size: 112%; }
.topRight {
    font-size: 0.857em;
}

.topLiner {
  background-color: rgba(26,34,37, 0.9);
}

.headerContent {
  min-height: 90px;
}
  
.mainMenu {
  top: 24px;
}

.wrapper {
  min-height: 100%;
  margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
}

.footerLanding, .push {
  height: 60px; /* '.push' must be the same height as 'footer' */
}

  .column {
    float: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .column.full { width: 100%; }
  .column.two-thirds { width: 66.7%; }
  .column.half { width: 50%; }
  .column.third { width: 33.3%; }
  .column.fourth { width: 25%; }
  .column.flow-opposite { float: right; }

.topLiner {
  padding: 3px 0;
  border-bottom: 1px solid #4e5552;
  background-color: rgba(26,34,37, 0.9);
}

.siteTitle {
  font-size: 0.857em;
  color: #0faf64;
  text-align: center;
}

.topNavi {
  text-align: right;
  margin: 2px 0;
  color: #d3d3d3;
  font-size: 0.714em;
}

.topNavi li {
  display: inline-block;
  list-style: none;
  margin-right: 1px;
}

.topNavi li:after {
  content: "|";
  margin-left: 3px;
}

.topNavi li:last-child:after {
  content: "";
  margin-left: 3px;
}

.siteTitle span {
  margin-left: 30%;
}

.flexContainer {
  display: flex;
}

.flexAlignCtr {
  align-self: center;
  justify-content: center;
}  

.topRight ul {
  text-align: right;
}

.landingTagline {
  width: 80%;
}

.loginBox {
  max-width: 300px;
}
.footerLinks {
  float: left;
  width: auto;
}

.copyRight {
  float: right;
  text-align: right;
  width: auto;
  padding: 20px 0;
}

.footerLinks ul {
  text-align: left;
}

.caption {
  top: 20%;
}

.slanting {
  width: 100%;
  height: auto;
  position: absolute;
  bottom: -10px;
  z-index: 3;
  display: block;
}

.module {
  width: 31.333%;
}

.module-two {
  width: 47.666%;
  position: relative;
}

.sideContainer {
  margin-bottom: 0px;
}

.containerPromo {
  margin: 0 auto;
  max-width: 1080px;
  width: 90%;
  position: relative;
}

.promoBox {
  width: 90%;
}

.promoBox .panel {
  float: left;
  position: relative;
  width: 50%;
  max-width: 50%;
}

.promoBox .badge {
  margin: 30px 0;
  display: block;
  float: left;
  width: 50%;
}

.bannerContainer .imgBanner {
  overflow: visible;
  height: auto;
}

.sideContainer {
  width: 100%;
  position: relative;
  margin-bottom: 10px;
}

}

/* Large screens (1024px) */
@media (min-width: 64rem) { 
  html { font-size: 120%; }


.headerContainer {
  position: fixed;
  z-index: 999;
  width: 100%;
} 
  
.mainMenu {
  top: 0px;
}

.logo img {
  position: relative;
  z-index: 99999;
}

.wrapper {
  min-height: 100%;
  margin: 0 auto -60px; /* the bottom margin is the negative value of the footer's height */
}
.footerLanding, .push {
  height: 60px; /* '.push' must be the same height as 'footer' */
}

.mainMenu {
  float: right;
  position:relative;
  font-size: 0.857em;
}

.siteTitle {
  font-size: 1.143em;
}

.siteTitle span {
  margin-left: 50%;
}

.topRight {
  font-size: 1.000em;
}

.topNavi {
  font-size: 1.000em;
}

.bx-wrapper .bx-prev {
  left: 160px !important;
}

.bx-wrapper .bx-next {
  left: 200px !important;
}

.caption {
  top: 40%;
  max-width: 400px;
}

.caption h2 {
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 3px 2px 2px rgba(0, 0, 0, 0.8);
  font-size: 1.714em;
}

.promoBox {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.copyRight {
  padding: 10px 0;
}

.sideContainer {
  width: 23.14814814814815%;
  position: relative;
}

.mainContainer {
  width: 76.85185185185185%;
  position: relative;
}

.sideNavi {
  display: block;
}

}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (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;
    }
}