#menu-button {
    /* hiding responsive menu button */
    display: none;
}

nav.mobile {
    /* hiding responsive menu */
    display: none;
}

/***** Start of primary nav ******/
nav.primary {
    text-align: right;
    float: right;
    margin-top: 0 !important;
}

nav.primary ul {
    float: none;
    text-align: right;
}

nav.primary ul li {
    float: left;
    list-style: none
}

nav.primary ul li a {
    padding: 5px 15px 8px 15px;
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif !important;
    -webkit-transition: .4s ease-in;
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
}

nav.primary ul li a:hover {
    color: #1C7542;
}

nav.primary ul li li {
    /* appearance of the sub-level links */
    border: 0;
}

nav.primary ul li li a {
    /* appearance of the sub-level links */
    background: #fff;
    color: #333;
    padding: 8px 0 8px 10px;
    font-size: 14px;
    text-align: left;
    width: 300px;
    margin-left: -25px;
    -webkit-transition: .4s ease-in;
    -moz-transition: .2s ease-in;
    -o-transition: .2s ease-in;
    transition: .2s ease-in;
}

nav.primary ul li li a:hover {
    /* appearance of the sub-level links on hover */
    background: #1c7542;
    color: #fff;
}

/* Optional-use, Begin targeting styles of first and last links */
nav.primary ul li:last-child {
    /* Optional-use, this targets last li */
}

nav.primary ul li:last-child a {
    /* Optional-use, this targets last link */
}

nav.primary ul li:first-child a {
    /* Optional-use, this targets first li */
}

/* Optional-use, targeting styles of first and last sub-level links*/
nav.primary ul li li:last-child {}

nav.primary ul li li:last-child a {}

nav.primary ul li li:first-child a {}

/* Optional-use, End targeting styles of first and last links */

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute;
    z-index: 999999999999;
    width: auto;

}

nav.primary ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

nav.primary ul li:hover>ul {
    display: block;
    line-height: 18px;
}

nav.primary ul ul li {
    float: none;
    position: relative;
    margin: 0;
}



@media screen and (max-width: 1300px) {

    nav.primary ul li a {
        font-size: 13px;
        padding: 5px 10px 8px 10px;
    }

    aside#sidebar1-sliderID {
        height: max(400px, 29vw) !important;
    }

}

@media screen and (max-width: 410px) {

    aside#sidebar1-sliderID {
        height: max(310px, 29vw);
    }

}

@media screen and (max-width: 1100px) {
    .search-green:not([data-blockstyles="sheditor-element"]) {
        padding: 1% 3% 2%;
    }

    nav.primary ul li a {
        font-size: 12px;
        padding: 5px 8px 8px 8px;
    }

}


@media screen and (max-width: 1750px) {

    nav.primary {
        display: none;
    }

    /*==============================
Mobile Nav Styles			
================================*/
    .mobile_top {
        padding-top: 10%;
    }

    #menu-button {
        /* initially will need to be hidden */
        display: block;
        font-size: 28px;
        position: relative;
        z-index: 999;
        /* needs to be lower than nav.mobile, adjust as needed */
        padding: 15px 0;
        width: 100%;
        float: none;
        text-align: right;
        color: white;
    }

    #menu-button a {
        color: #fff;
        text-decoration: none;
    }

    #menu-button a:hover {
        color: #1c7542;
    }

    #menu-button h3 {
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
        margin-top: -8px;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #000;
        z-index: 999999999999999999;
        /* needs to be higher than #menu-button, adjust as needed */
        overflow: auto;
        font-family: 'Montserrat';
    }

    nav.mobile h3 {
        /* Menu header styles */
        position: relative;
        padding: 12px 10px;
        color: #fff;
        font-size: 22px;
        border-bottom: 4px solid #222;
        letter-spacing: 1px;
        font-weight: 300;
        text-transform: uppercase;
        font-family: 'Montserrat';
        text-align: left;
    }

    nav.mobile .menu-toggle {
        /* Menu close button */
        position: absolute;
        top: 12px;
        right: 10px;
        display: inline-block;
        padding: 6px 9px 5px;
        font-family: Arial, sans-serif;
        font-weight: bold;
        line-height: 1;
        background: #000;
        color: #fff;
        text-decoration: none;
        vertical-align: top;
        z-index: 99999999999999999999;
    }

    nav.mobile .menu-toggle:hover {
        /* Menu close button on hoveer */
        color: #1C7542;
    }

    nav.mobile ul {
        list-style: none;
        font-weight: 300;
        margin: 0;
        padding: 0;
        margin-top: 10%;
    }

    nav.mobile ul ul {
        margin-top: 0;
    }

    nav.mobile ul li {
        /*
	border-top: 1px solid #454545;
	border-bottom: 1px solid #151515;
*/
    }

    nav.mobile ul li a {
        position: relative;
        display: block;
        padding: 8px 10px;
        color: #fff !important;
        background: black;
        text-decoration: none;
        font-size: 12px;
        letter-spacing: 1px;
        font-weight: 800;
        text-align: left;
    }

    nav.mobile ul li a:hover {
        background: #fff;
        color: #1C7542 !important;
    }

    nav.mobile ul li li a {
        /* appearance of the sub-level links */
        background: #000;
        position: relative;
        display: block;
        padding: 10px 10px 10px 15px;
        color: #fff;
        text-decoration: none;
    }

    nav.mobile ul li li a:hover {
        color: #1C7542 !important;
        background: #fff;
    }

    nav.mobile ul li li li a {
        /* appearance of third level sub-level links if needed */
        background: #666;
        position: relative;
        display: block;
        padding: 10px 10px 10px 25px;
        color: #000;
        text-decoration: none;
    }

    nav.mobile ul li span.click {
        /* dropdown menu idicator arrow be sure to include this image with your image files */
        background: url(arrow.png) 10px 12px no-repeat;
        background-size: 55%;
        position: relative;
        display: block;
        float: right;
        margin: -44px 0 0 0;
        cursor: pointer;
        z-index: 12399994;
        width: 44px;
        height: 44px;
        -webkit-transition: background-size .3s ease-in-out;
        -moz-transition: background-size .3s ease-in-out;
        transition: background-size .3s ease-in-out;
    }

    nav.mobile ul li span.click:hover {
        background-size: 60%;
    }
}