﻿
.d_searchTxt {
    display: block;
    margin: 60px auto;
    width: 60vw;
    font-size: 30px;
    border: 1px solid #848484;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    outline: 0;
    height: 60px;
    padding: 0 30px 0 70px;
    background-image: url('data:image/svg+xml,<svg id="a68e562c-27b5-4b6c-97e0-77bdb1b1a4db" data-name="Basic-Supplies-and-Tools" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><defs><style> .fcbb5c2c-178c-4069-a26d-64a87f62fd68 { fill: %23252525; opacity: 0.5} </style></defs><path id="b360267e-a154-4bed-afbb-fe36ba622b02" data-name="Magnifying-Glass" class="fcbb5c2c-178c-4069-a26d-64a87f62fd68" d="M19.5889 21.9831a10.4378 10.4378 0 1 1 10.82-10.04 10.4345 10.4345 0 0 1-10.82 10.04M20.41.0081a11.5377 11.5377 0 0 0-7.732 20.475l-1.053 1.567.698.41-7.496 9.676-.132.242-.103.245-.072.247-.042.242-.013.24.01.236.033.235.061.227.18.434.12.204.294.376.348.324.401.262.212.108.452.164.235.046.474.032.241-.024.239-.043.237-.073.239-.098.226-.132.227-.16.214-.19.206-.22.197-.258 5.255-11.028.673.394 1.115-1.653A11.55 11.55 0 1 0 20.41.0081m7.7573 11.02a12.6315 12.6315 0 0 1-1.065 3.144 10.1122 10.1122 0 0 1-4.448 4.446 12.6737 12.6737 0 0 1-3.144 1.066 6.7128 6.7128 0 0 0 3.482-.252 7.8181 7.8181 0 0 0 4.921-4.923 6.7415 6.7415 0 0 0 .254-3.481"/></svg>');
    background-size: 39px 51px;
    background-repeat: no-repeat;
    background-position-x: calc(0% + 20px);
    background-position-y: center;
}

.d_searchTxtSmall {
    display: block;
    color: #4b4b4d;
    text-transform: uppercase;
    font-weight: bold;
    background-color: #d3d3d3;
    width: 100%;
    font-size: 10px;
    border: none;
    outline: 0;
    -webkit-border-radius: 14px;
    -moz-border-radius: 14px;
    border-radius: 14px;
    height: 28px;
    padding: 0 0 0 15px;
    background-size: 16px 20px;
    background-image: url('data:image/svg+xml,<svg id="a68e562c-27b5-4b6c-97e0-77bdb1b1a4db" data-name="Basic-Supplies-and-Tools" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><defs><style> .fcbb5c2c-178c-4069-a26d-64a87f62fd68 { fill: %23252525; opacity: 0.5} </style></defs><path id="b360267e-a154-4bed-afbb-fe36ba622b02" data-name="Magnifying-Glass" class="fcbb5c2c-178c-4069-a26d-64a87f62fd68" d="M19.5889 21.9831a10.4378 10.4378 0 1 1 10.82-10.04 10.4345 10.4345 0 0 1-10.82 10.04M20.41.0081a11.5377 11.5377 0 0 0-7.732 20.475l-1.053 1.567.698.41-7.496 9.676-.132.242-.103.245-.072.247-.042.242-.013.24.01.236.033.235.061.227.18.434.12.204.294.376.348.324.401.262.212.108.452.164.235.046.474.032.241-.024.239-.043.237-.073.239-.098.226-.132.227-.16.214-.19.206-.22.197-.258 5.255-11.028.673.394 1.115-1.653A11.55 11.55 0 1 0 20.41.0081m7.7573 11.02a12.6315 12.6315 0 0 1-1.065 3.144 10.1122 10.1122 0 0 1-4.448 4.446 12.6737 12.6737 0 0 1-3.144 1.066 6.7128 6.7128 0 0 0 3.482-.252 7.8181 7.8181 0 0 0 4.921-4.923 6.7415 6.7415 0 0 0 .254-3.481"/></svg>');
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    background-position-y: center;
}

    .d_searchTxtSmall::placeholder {
        color: #4b4b4d;
        opacity: 0.8;
    }

.navbarwrapper {
    position: relative;
    width: 100%;
    background-color: #7A1341;
    z-index: 987;
}

.navbartoggle {
    color: white;
    padding: 20px 40px;
    display: none;
    text-align: left;
}

.navbar {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.9px;
    height: 82px;
    width: 1190px;
    margin: 0 auto;
}



    .navbar .header {
        display: none; /*only displayed for mobile*/
    }



.navsearch {
    width: 113px;
    height: 80px;
    background-image: url('../Images/search-icon.png');
    background-size: 29px 41px;
    background-repeat: no-repeat;
    background-position: center center;
}

.navbar a {
    float: left;
    color: white;
    text-align: center;
    padding: 30px 42px;
    text-decoration: none;
}

.dropdown {
    font-size: 18px;
    /* overflow: hidden;*/
    height: 100%;
    z-index: 990;
    margin-left: -4px;
    border-left: 4px solid transparent;
    -webkit-backface-visibility: hidden;
}

    .dropdown .dropbtn {
        /*height: 100%;*/
        border: none;
        outline: none;
        color: white;
        font-size: inherit;
        font-family: proxima-nova;
        font-weight: 700 !important;
        letter-spacing: .1em;
        padding: 0;
        background-color: transparent;
        margin: 0;
    }

.dropbtn a {
    font-weight: 700 !important;
}

.modal-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,11,0.3);
    z-index: 989;
}


.separatorDots {
    background-image: url('../Images/nav-dot-line.png');
    background-size: 3px 15px;
    background-repeat: no-repeat;
    background-position: right 34px;
}


.dropdown .activeMenuItem {
    background-color: #595960;
    background-image: none;
    margin-left: -4px;
    border-left: 4px solid #595960;
}




.dropdown-content {
    display: block;
    position: absolute;
    transform: scaleX(0);
    background-color: #595960;
    width: 100%;
    left: 0;
    z-index: 999 !important;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(119, 120, 123,0); /*box shadow prevents line artifacts on animate*/
    box-shadow: 0px 2px 2px 0px rgba(119, 120, 123,0);
}


    .dropdown-content .header {
        background: #595960;
        padding: 16px;
        color: white;
    }

.dropdown:hover .dropdown-content {
    animation: growDown 400ms ease-in-out 400ms forwards;
    transform-origin: top center;
}


/* Create three equal columns that floats next to each other */
.navcolumn {
    font-size: 20px;
    font-family: proxima-nova;
    font-weight: 600;
    float: left;
    width: 33.33%;
    padding: 26px 0;
    background-color: #595960;
    /* height: 250px; */
}

    .navcolumn a {
        text-transform: uppercase;
        font-weight: 600;
        float: none;
        color: #dddddd;
        margin: 13px 30px;
        padding: 0;
        padding-bottom: 5px;
        text-decoration: none;
        display: inline-block;
        text-align: left;
        border-top: 2px solid transparent;
    }


        .navcolumn a:hover {
            color: white;
            border-top: 2px dotted #dddddd;
        }

.navrow {
    width: 1270px;
    margin: 0 auto;
}


.droptextwrapper {
    text-align: center
}

.droptextbox {
    font-size: 30px;
    margin: 30px auto;
    border: 1px solid #848484;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    outline: 0;
    height: 60px;
    width: 800px;
    padding: 0 30px;
}



/* Clear floats after the columns */
.navrow:after {
    content: "";
    display: table;
    clear: both;
}



@media screen and (min-width: 1300px) {

    @keyframes separatorBackgroundImg {
        100% {
            background-image: none;
        }
    }

    .separatorDots:hover {
        animation: separatorBackgroundImg ease-in-out .5s;
        animation-fill-mode: forwards;
        -webkit-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

    .dropdown:hover, .dropdown .activeMenuItem:hover {
        background-color: #595960;
        /*border-left: 4px solid #595960;*/

        transition: all 0.5s ease-in-out;
    }


    @keyframes growDown {
        0% {
            transform: scaleY(0);
        }

        80% {
            transform: scaleY(1.1);
        }

        100% {
            transform: scaleY(1.0);
        }
    }


    @keyframes growUp {
        0% {
            transform: scaleY(1);
        }

        100% {
            transform: scaleY(0);
        }
    }
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 1299px) {
    .dropdown-content {
        display: none;
    }

        .dropdown-content.search {
            display: block;
            position: relative;
            height: 60px;
            transform: scaleX(1);
            background-color: transparent;
            animation: none;
            transition: none none !important;
            /*none 0 none 0 !important;*/
        }

    .separatorDots {
        background-image: none;
    }

    .navbartoggle {
        display: block;
    }

    .navbar {
        display: none; /*hidden initially*/
        flex-direction: column;
        margin: 0 auto;
        height: auto;
        width: auto;
    }

    .dropdown {
        position: relative;
        text-align: left;
    }


        .dropdown:hover, .dropdown.search .activeMenuItem:hover,
        .dropdown.search:hover {
            animation: none;
            transition: none none !important;
        }


    .dropbtn {
        width: 100%;
        text-align: right;
        display: inline-block;
    }

        .dropbtn a {
            width: 100%;
            text-align: left;
        }

    .navbar {
        width: 100%
    }

    .dropdown, .dropdown .activeMenuItem {
        margin-left: 0;
        border: 0
    }


    .navsearch {
        /*   background-position: 50px center;*/
    }


    .dropdown.search {
        display: block;
        height: 120px;
    }

        .dropdown.search .navrow {
            width: 100%
        }

    .dropbtn.navsearch {
        display: none;
    }

    .d_searchTxt {
        margin: 30px;
        width: 480px;
    }
}



@media screen and (max-width: 600px) {
    .dropdown-content {
        display: none;
    }

        .dropdown-content.search {
            display: block;
        }

    .separatorDots {
        background-image: none;
    }

    .navbartoggle {
        display: block;
    }

    .navcolumn {
        width: 100%;
        height: auto;
    }

    .navbar {
        display: none;
    }

    .navsearch {
        /* background-position: 50px center;*/
        display: none;
    }

    .dropbtn.navsearch {
        display: none;
    }

    .d_searchTxt {
        margin: 30px;
        width: 80vw;
    }


    .dropbtn {
        width: 100%;
        text-align: right;
        display: inline-block;
    }

        .dropbtn a {
            width: 100%;
            text-align: left;
        }

    .navbar {
        width: 100%;
    }

    .dropdown, .dropdown .activeMenuItem {
        margin-left: 0;
        border: 0
    }
}


#logo-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 30px auto;
    max-width: 1190px;
    padding: 0 42px;
}

#dewberry-logo {
    flex: 50%;
}

.dewberry-search {
    flex: 50%;
}

    .dewberry-search > div {
        margin-left: auto;
        max-width: 250px;
    }


/* logo header breakpoint */
@media (max-width:630px) {

    #logo-header {
        margin: 5px auto;
    }

        #logo-header > * {
            width: 100%;
        }

    #dewberry-logo img {
        /*border: 1px solid red;*/
        margin: 10px auto 4px auto;
        display: block;
    }

    #dewberry-logo {
        flex: 100%;
    }

    .dewberry-search {
        flex: 100%;
    }

        .dewberry-search > div {
            margin: auto;
        }
}
