/*! HTML5 Boilerplate v5.3.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
========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i');

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');


* {
    box-sizing: border-box;
}
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'lato';
}


/*
* 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;
}


::-webkit-input-placeholder {
    color: #846a4b;
}

:-moz-placeholder { /* Firefox 18- */
    color: #846a4b;
}

::-moz-placeholder {  /* Firefox 19+ */
    color: #846a4b;
}

:-ms-input-placeholder {  
    color: #846a4b;
}

/*
* 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
========================================================================== */


nav {
    position: fixed;
    width:100%;
    font-size: 14px;
    font-weight: 900;
    z-index:1000000001;
    margin-top:50px;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;

}

.scrolled {
    background-color:white;
}
nav ul {
    width:100%;
    padding:25px;
    margin:auto;
}
nav ul li {
    list-style: none;
}
nav ul li a{
    text-decoration:none;
    padding:20px;
    padding-top: 40px;
    color: #174678;
    border-bottom:1px solid rgba(0,0,0,0);


}
nav ul li a:hover{
    text-decoration:none;
    color: #846a4b;
    border-bottom:1px solid #846a4b;
}
nav ul li a i{
    padding-left:5px; 
    padding-right:5px;
}

.large-navbox{
    position: absolute;
    display: black;
    width: 680px;
    top: 80px;
    right:40px;
    background-color:#846a4b;
    border-radius: 0 0 3px 3px;
    padding:20px;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;


    opacity: 0;
    visibility: hidden;
    overflow: visible;

    background-color:#846a4b;
    background-image:url('../img/bg-overlay.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 110% -10%;

}

.large-menu:hover>.large-navbox{
    opacity: 1;
    visibility: visible;
    overflow: visible;
}

.nav-column {
    float: left;
    width: 33.3%;
    padding: 5px;
    text-transform: uppercase;
    color:white;
}
.nav-column a{
    text-decoration: none;
    color:white;
    padding:0px;
    margin:0px;
}

.nav-column h3 a:hover {
    color: white !important;
}


.nav-column a:hover{
    text-decoration: underline;
}
.nav-column a:hover:before{
    font-family: FontAwesome;
    content: "\f061\00a0";
}

.nav-column ul{
    list-style: none;
    margin:0px;
    padding:0px;
    margin-bottom:15px;
}

.nav-column h3 {
    margin: 0px 0 10px 0;
    border-bottom:1px solid white;
    padding-bottom:10px;
    font-weight: bold;
    font-size: 14px;
}

.nav-column li a {
    display: block;
    font-weight: 300;
    font-size: 13px;
}

.nav-column li a:hover { color: white; }


.logo a{
    background-image:url('../img/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    width:60px;
    height:60px;
    padding-left:20px;
    float:left;
    margin-bottom:20px;
}

nav .menu-item {
    float:right;
    padding-top: 24px;
}

.mobile-menu{
    display:none;
    position: fixed;
    top: 0px;
    right: 0px;
    padding: 30px;
    padding-top:40px;
}
.mobile-menu i{
    float:right;
}


.mobile-nav {
    top:0px;
    display:none;
    position:fixed;
    height:100vh;
    right:0px;
    width:300px;
    float:right;
    background-color:rgba(132, 106, 75, .9);
    z-index: 1000000000000001;
    color:white;
    font-size:14px;
    text-transform: uppercase;
    overflow: scroll;
    padding:10px;
    white-space:nowrap;
}
.mobile-nav ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-align: left;
}
.mobile-nav ul li a{
    display:block;
    margin:0px;
    padding:10px;
    text-decoration: none;
    color:white;
    font-weight:900;
}
.mobile-nav-close{
    clear:both;
    text-align:right;
}
.mobile-nav-close a{
    text-align:right !important;
}

.sub-mobile {
    opacity:0;
    visibility: hidden;
    overflow:hidden;
    height:0px;
}
.sub-sub-mobile {
    opacity:0;
    visibility: hidden;
    overflow:hidden;
    height:0px;
}

.sub-sub-mobile li a{
    font-weight:300 !important;
    margin-left:20px !important;
}
.mobile-nav ul li a:hover{
    color:#846a4b;
    background-color:white;
}

.mobile-nav h3 {
    padding:0px;
    margin:0px;
    font-size:14px;
    cursor: pointer;
    font-weight:400;
    border-left: 1px solid white;
    margin-left: 8px;    
}

.mobile-nav-footer {
    border-top:1px solid white;
    bottom:0px;
    padding:10px;
    text-align: center;
    font-size:10px;
    font-weight:600;
}
.mobile-nav-footer a{
    color:white;
    text-decoration:none;
}

section {
    width:100%;
    z-index: -1;
}

.slideshow{
    margin-top: -50px;
    height: 650px;
    background-image: url(../img/slideshow/slide1.jpg);
    background-size: cover;
    background-position: center center;
}

h1 {font-size:32px;}
p {font-size:14px;}
h2 {font-size:14px;}

.sectors {
    text-align:center;
    background-image: url('../img/bg1.png');
    padding:20px;
}

.sectors-module{
    max-width:1024px;
    margin:auto;
}
.sector-info{
    width:25%;
    height:320px;
    float:left;
    padding:5px;

}
.sector-info a{
    display:block;
    background-size: cover;
    background-repeat: no-repeat;
    height:100%;
    width:100%;
    text-decoration:none;

}
.sector-info h2{
    width: 90%;
    background: rgba(255,255,255,0.9);
    padding: 14px;
    position: relative;
    top: 252px;
    margin: auto;
    color:#846a4b;
    text-decoration:none;
}


.page-header {
    background-position: center center;
    background-size:cover;
    width:100%;
    height:500px;
}

.page-title {
    margin:auto;
    padding:20px;
    padding-top:360px;
    max-width:1024px;
    color:white;
    text-shadow: 2px 2px black;
}
.page-title h1{
    font-weight: 900;
    margin:0px;
    padding:0px;
}
.page-subtitle{
    font-weight:400;
    margin:0px;
    padding:0px;
} 

.content {
    background-image:url('../img/bg1.png');
    padding:20px;

}

.content-wrapper {
    margin:auto;
    max-width:1024px;
    color:#2c2c2c;
}
.content-wrapper h1{
    font-size:14px;
    text-transform: uppercase;
}


.content-wrapper form{
    width:30%;
    float:left;
}
.content-wrapper input, .content-wrapper textarea, .content-wrapper button {
    padding:10px;
    margin-bottom:10px;
}
.content-wrapper input, .content-wrapper textarea, .content-wrapper button {
    padding:10px;
    float:left;
    width:100%;
}

.page-map{
    width:70%;
    float:right;
    padding-left:20px;
}

.footer {
    background-color:#846a4b;
    background-image:url('../img/bg-overlay.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 110% -10%;
    color:white;
}

.footer-container{
    max-width:1024px;
    margin:auto;
}
.footer-block{
    width:33.33%;
    padding:10px;
    float:left;
}
.footer-block h1{
    font-size:18px;
    text-transform:uppercase;
}
.footer-block hr{
    height:0px;
    background-color:white;
}

.footer-contact-form input, .footer-contact-form textarea, .footer-contact-form button  {
    width:100%;
    font-family: 'lato';
    padding:10px;
    border:none;
    border-bottom:1px solid white;
    font-size:14px;
    background-color:rgba(255,255,255,.2);
    color:white;
    margin-bottom:10px;
}
.footer-contact-form textarea {
    height: 68px;
}

.footer-contact-form button {
    float:right;
    padding:10px;
}


.footer-contacts i {
    float: left;
    padding: 5px;
    display: block;
    margin-right: 10px;
    padding-left: 0px;
}

.footer-contacts>.contact {
    float:left;
    padding:5px;
}

footer {
    background-color:black;
    width:100%;
    padding:10px;
    font-size:12px;
    color:#3d3d3d;
}

.footer-left{float:left;}
.footer-right{float:right;}
.footer-right a {
    text-decoration:none;
    color:#3d3d3d;
    padding: 0px 10px;
    border-right :1px solid #3d3d3d;
}
.footer-left a {
    text-decoration:none;
    color:#3d3d3d;
    padding: 0px 10px;
}

.footer-left a:hover, .footer-right a:hover{
    color:#5f5f5f;
}

.last {
    border-right:none !important;
}


.text-left h1{
    text-align:left !important;
}


/* ==========================================================================
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;
}

.mobile-breaker {
    display:none;
}

.no-mobile {
    display:block;
}

/* ==========================================================================
EXAMPLE Media Queries for Responsive Design.
These examples override the primary ('mobile first') styles.
Modify as content requires.
========================================================================== */

@media only screen and (max-width: 750px) {
    .no-mobile { display:none; }

    nav { height: 90px;}
    .mobile-menu {display:block; cursor: pointer;}
    .logo a{
        width:20px;
        height:20px;
        float:left;
    }    
    .sector-info{width:100%;}
    .footer-block{width:100%;}
    .footer-left, .footer-right {float:none; text-align: center; width:!00%;}
    .mobile-breaker {display:inline-block;}
}


@media only screen and (max-width: 1060px) and (min-width:750px) {
    .sector-info{width:50%;}
    .footer-left, .footer-right {float:none; text-align:center; width:100%;}
}

@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,
    *:first-letter,
    *:first-line {
        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;
    }
}
