/*! 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
   ========================================================================== */

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
   ========================================================================== */


/* GLOBAL */

.show {
    display: block!important;
}

.hide {
    display: none;
}

.page {
    width: 991px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 16px;
}


#header li {
    list-style-type: none;
}

/* OVERRIDES THE TOP MARGIN ON THE HEADLINE OF THIS PAGE TO KEEP IT FROM BREAKING */
.header-section-ag {
    margin-top: 0px;
}

.hide-desktop{
    display: none;
}

/* ADVERTISING */
.advertising{
    height: 100px;
    background-color: #666666;
}

/* HEADER */
#header {
    height: auto;
    padding-bottom: 50px;
    max-width: 100%;
}

#header a {
    font-family: 'Lucida Grande', 'Lucida Sans', Verdana, sans-serif;
    font-style: normal;
}

#header-inner {
    width: 100%;
    margin: 0px auto;
    border-top-style: double;
    padding-top: 20px;
    border-color: #929292;
    position: relative;
}

.mobile-logo {
    display: none;
}

.mobile-toggle {
    display: none;
}


.nav_left, .nav_center, .nav_right {
    color: #3b3b3b;
    position: static;
}

.nav_left ul li a, .nav_center ul li a, .nav_right ul li a{
    text-decoration: none;
    line-height: 20px;
    color: #3b3b3b;
}

.nav_left ul li:hover, .nav_right ul li:hover,
.nav_left ul li:hover > a, .nav_right ul li:hover >a{
    text-decoration: none;
    color: #91a125;
}



/*  LEFT  */

.nav_left {
    width: 41%;
    display: inline-block;
    margin: 0px;
    border-bottom-style: double;
    border-color: #929292;
}

.nav_left ul, .nav_right ul {
    padding: 0px;
    margin: 0px;
}

.nav_left ul li, .nav_right ul li {
    display: inline-block;
    padding:15px 0px 15px 10px;
    height: 100%;
}

.nav_left ul li i, .nav_right ul li i  {
    padding: 0px 3px;
}

.nav_left ul li ul li, .nav_right ul li ul li  {
    padding: 0px;
}

nav > ul > li > a {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 15px;
}
.nav_center {
    width: 14%;
    display: inline-block;
    position: relative;
}

.nav_center ul {
    padding: 0px;
}

.nav_center ul .logo img {
   
    max-width: 100%;
    position: absolute;
    top: -22px;
    margin-left: 6%;
}

.nav_right {
    width: 44%;
    display: inline-block;
    border-color: #929292;
    border-bottom-style: double;
    float:right;
}

.nav_right ul li {
    display: inline-block;
    padding-left: 10px;
}

/*  SECTIONS LISTING  */

.sections {

}


.dropdown-wrap {
    display: none;
    position: absolute;
    width: 100%;
    height: auto;
    overflow: hidden;
    left: 0px;
    top: 70px;
    background: #fff;
    z-index: 99999;
    border-bottom-style: double;
    border-top: solid 1px #929292;
    border-color:#929292;
    -webkit-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.30);
    box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.30);
}

.dropdown-wrap ul {
    width: 13%;
    display:inline;
    text-transform: capitalize;
    font-size: 14px;
    float: left;
    padding: 2vw;
    position: relative;
    top: 0;
    bottom: 0;
}

.dropdown-wrap ul.main {
    text-transform: uppercase;
    border-right: solid 1px #ccc;
}

.dropdown-wrap ul li {
    margin: 5px 0px;
}


.dropdown-wrap ul li {
    float: none;
    display: block;
    width: 100%;
    background-color: transparent;
    text-align: left;
}


/* CONTAINER FOR SHARE AND SEARCH */

.wrap {
    overflow: hidden;
    background: #ccc;
}

/* SHARE */

.share {
    float: left;
    width: 50%;
    padding: 10px 0px;
  

}

.share ul{
    overflow: hidden;
    padding: 0px;
    margin: 0px;


}

.share ul li {
    display: inline-block;
    background: white;
    padding: 5px 10px;
    border-radius: 4px;
}


/* SEARCH */

.search-toggle{
    padding-right:20px !important;
}

.search {
    display: none;
    position: absolute;
    background: #fff;
    width: 100%;
    left: 0px;
    margin-top: 15px;
    padding: 10px 0px;
    z-index: 9999;
    border-bottom-style: double;
    border-top: solid 1px #929292;
    border-color:#929292;
    -webkit-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.30);
    -moz-box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.30);
    box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.30);
}

.search form {
    position: relative;
    padding: 20px 0px;
    margin: 0px;
    text-align: center;
}

.search input[type="text"]{
    width: 60%;
    color: #000;
    font-weight: 400;
    padding: 10px 8px;
    font-size: 1.25em;
    vertical-align: top;

}


.search button {
    width: 20%;
    padding: 12px;
    background: #91a125;
    border: none;
    height: 39px;
    vertical-align: top;
    margin: 0px;
    color: #fff;
}

.search input[type="text"]:focus, .search button:focus {
    outline:none;
    box-shadow:0 0 10px #91a125;
    -moz-box-shadow:0 0 10px #91a125;
    -webkit-box-shadow:0 0 10px #91a125;
}

.ticker {
    text-align: center;
    background: #eeeeee;
    padding-top: 10px;
    padding-bottom: 0px;
    border-top: dotted 1px #929292;
    border-bottom: dotted 1px #929292;
    float: none;
    clear:both;
    margin-top: 20px;
}

@media (min-width: 768px) {
    
    #header nav {
        display: inline-block !important;
    }
    
    .nav_left {
    text-align: right;
}

.nav_right {
    text-align: left;
}

.nav_left li:last-child {
    margin-right: 4%;
}

.nav_right li:first-child {
    margin-left: 4%;
}


}


@media (min-width: 768px) and (max-width:1000px){
    .nav_right{
        width: 39%;
    } 

   .nav_center {
        width: 19%;
   }

    .dropdown-wrap ul{ 
        width: 15%;
    }

    #footer {
        width: auto;
    }
    
}




@media screen and (max-width:767px){
    .hide-mobile{
        display: none;
    }

    #header {
        padding: 0px;
    }

    .mobile-logo {
        display: inline-block;
        max-width: 30%;
    }

    .mobile-logo a img {
        max-width: 100%;
        min-width: 140px;
        margin-left: 4%;
    }

    .mobile-toggle {
        height: 100px;
        display: block;
        -webkit-user-select: none;
        height: 50px;
        width: 70px;
        display: block;
        right: 0;
        float: right;
        background-color: #fff;
        position: relative; 
        z-index: 1;
        border: none;
    }
    .fa-lg {}
  

    .dropdown-wrap {
        position: static;
        overflow: initial;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        border: none;
    }

    .dropdown-wrap ul {
        display:block;
        float: none;
        width: 100%;
        padding: 0px;
    }

    .dropdown-wrap ul:first-child {
        border-right: none;
    }

    
    .dropdown-wrap ul li a  {
        font-weight: normal;
        font-size: 10px;
    }
     .dropdown-wrap ul:first-child li a {
        font-weight:bold;
    }
    
    
    
    .dropdown-wrap ul li {
        padding: 0px;
        color: #fff;
    }

    .dropdown-wrap ul li a i{

        float: right;
    }

    .ticker {
        clear: both;
        text-align: center;
        padding: 10px 0px 3px 0px;
    }

    .header-inner{
        clear:both;
        padding-top: 10px;
    }

    .nav_left {
        border-bottom: none; 
        display: none;
        width: 100%;
        margin-top: 17px;
        border-top: double #888;
        padding-top: 5px;
        
    }

    .nav_left .sections ul li {
        font-size: 13px;
    }
    .nav_center {
        display: none;
    }

    .nav_right {
        display: none;
        width: 100%;
    }
    
    
    .nav_right ul {
        height: 70px;
        
    }
    
    .nav_right ul li {
        width: auto;
        border: none !important;
        float:left;
        height:auto !important;
        margin-top: 10px;
    }
    
    .nav_right ul li.search-toggle {
        width: 99px;
        margin-top:15px;
        clear:both;
    }
    
    .nav_right .active-search {
        padding:10px 0px;
        display:block;
    }
    
    
    .nav_left ul, .nav_right ul {
        clear:both;
        text-align: left;
        float: none;
    }
    .nav_left ul li , .nav_right ul li {
        display: block;
        font-size: 1.25em;
        background-color: white;
        font-weight:bold;
        text-transform: uppercase;
        border-bottom: solid 1px grey;
        margin-left:2%;
        margin-right:2%;
    }

    
    .nav_right ul li ul{
        padding-bottom: 10px;
    }
    .nav_left ul li ul li, .nav_right ul li ul li{
        padding: 0px;

    }

    .utility {
        display: none;
    }




    .share {
        width: 50%;
    }

    .search{
        width: 100%;
        padding: 0px;
        margin-top: 0px;

    }

       #footer {
        width: auto;
       /* border: solid 4px red; */
    }
    
}






/* ==========================================================================
   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.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@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;
    }
}
