﻿@media (max-width: 1280px) {
    /*#blueNavbarCollapse {
        left:805px;
    }*/
    .subheader {
        left: 510px !important;
        width: 60%;
    }

    /*.container1 {
        width: 760px !important;
    }*/

    .FooterPadding {
        padding: 0px;
    }

    #buyNowText {
        width: 700px;
        top: 36px !important;
    }
    .modal-dialog {
        width: 45% !important;
    }
}

@media screen and (min-width:1200px) and (max-width:1900px) {
    .subheader {
        left: 39.7% !important;
    }

    .container1 {
        float: left;
    }
}

@media (min-width:1024px) and (max-width:1280px){
    .subheader{
        left:415px !important;
    }
    .subheader, .container1{
        width:610px !important;
    }
    .white_ul li{
        margin:0px 5px !important;
    }
    .white_ul li a{
        padding:15px !important;
    }
}

@media (min-width:981px) and (max-width:1024px) {
    .subheader {
        width: 60%;
        left: 350px !important;
    }

        .subheader .container1 {
            width: 600px !important;
        }
        .white_ul li{
        margin:0px 5px !important;
    }
            .subheader .container1 .white_ul li a {
                padding: 5px 10px !important;
            }
}

@media (max-width: 980px) {
    #blueNavbarCollapse {
        position: initial !important;
    }

    .subheader {
        position: initial !important;
        background-color: #53ADE9 !important;
        width: 100% !important;
    }

    .white_ul li a {
        padding: 15px 5px !important;
    }

    /*#content .h_row .block_1 {
        margin: 63px 0px 0px 30px;
        width: 324px;
    }*/

    #custom {
        margin-top: -29px;
    }

    .FooterPadding {
        padding: 0px;
    }

    .HeaderBottomDropdownSubmenu {
        left: 0px;
        top: 100%;
    }
}

@media (max-width: 767px) {
    #blueNavbarCollapse {
        position: initial !important;
    }

    #custom .form1 {
        display: none;
    }

    #custom .headerButtonLink, #custom #backButton, #custom #backButton:hover, ul.dropdown-menu.sub_ul li a, ul.dropdown-menu.sub_ul li a:hover {
        background-color: #155990 !important;
    }

    /*#buyNowText {
        position: initial !important;
        width: auto !important;
        height: 445px !important;
    }

    #note {
        font-size: 13px !important;
    }

    #indexHeading {
        font-size: 22px !important;
    }

    #ListActive, #MapActive {
        margin-top: 10px !important;
    }*/

    .subheader {
        display: none !important;
        position: initial !important;
    }

    /*#content .h_row .block_1 {
        margin: 30px auto !important;
        width: 304px !important;
    }

    .appendedLink {
        display: block !important;
    }*/

    ul.dropdown-menu.sub_ul li a {
        color: white;
    }

    #custom li a {
        font-size: 14px !important;
    }

    #headerLinks li a{
        background-color:white;
        color:black;
        padding:10px;
    }

    #headerLinks li a:hover{
        background-color:#EFEFEF !important;
        color:black !important;
    }

    #headerLinks .selectedHeader a{
        color:black !important;
    }

    #headerLinks .selectedHeader:hover{
        background-color:white !important;
    }

    #searchUl{
        background-color:white;
        color:black;
    }

    .searchbox{
        width:100%;
    }

    #searchUl li #loginLink{
        padding: 10px 17px !important;
        width: 100%;
    }    
    #searchUl li #loginLink a{
        display: block;
        text-align: center;
    }
    #accountLink ul li a {
        padding-left: 15px;
        background-color: #fff !important;
    }
    #accountLink ul li a:hover{
        background-color:#EFEFEF !important;
    }    
    #accountLink .dropdown-toggle:hover, #accountLink .dropdown-toggle:focus{
        background-color: white !important;
        color:black !important;
    }
    #accountLink .dropdown-toggle{
        color:black !important;
    }

    #google_translate_element{
        float:left !important;
        margin-left:0px !important;
    }
}

@media (min-width:901px) and (max-width:980px) {
    .HeaderBottomDropdownSubmenu {
        left: 4px;
        top: 97%;
    }

        .HeaderBottomDropdownSubmenu li a {
            padding: 6px 15px !important;
        }

    .MyAccountDropdown {
        left: 8%;
        top: 44px;
    }

    #filter .col-sm-2, #filter .col-sm-1 {
        padding-left: 0px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .container1 {
        width: 730px !important;
    }

    .MyAccountDropdown {
        left: 0%;
        top: 45px;
    }

    .HeaderBottomDropdownSubmenu {
        top: 97%;
    }

        .HeaderBottomDropdownSubmenu li a {
            padding: 6px 15px !important;
        }

    /*#extendedRow, .PaddingTopBottom {
        margin-right: -10px !important;
    }
    .modal-dialog {
        width: 70% !important;
    }
#filter .col-sm-2, #filter .col-sm-1 {
        padding-left: 0px;
    }

    #filter .searchRegistrationLabel {
        font-size: 11px;
    }*/
}

@media (min-width: 768px) and (max-width: 980px){
    #blueNavbarCollapse .awe-user-nav{
        display:none !important;
    }
    ul.dropdown-menu.sub_ul li.selectedHeader a {
        background-color: #b5121b !important;
        color: #fff !important;
    }
    #blackDiv .headerLinksBtn > li > a:hover, .headerLinksBtn > li > a:focus {
            text-decoration: none;
            background: none !important;
        }
#blackDiv .headerLinksBtn > li > a {
        text-decoration: none;
        background: none !important;
        color: #eee !important;
        padding-top: 20px;
    }
.headerLinksBtn .HeaderBottomDropdownSubmenu {
        top: 59px;
        left: 0px;
    }
.headerLinksBtn {
        display: block !important;
    }
 #headerLinks {
        display: none;
    }
 ul.dropdown-menu.sub_ul li.selectedHeader a:hover {
        color: white !important;
        background-color: #b5121b !important;
    }
}

@media (max-width:767px) {

    #buyNowBanner {
        height: 470px !important;
    }

    .HeaderLi {
        display: block !important;
    }

    #custom {
        margin-top: 18px;
    }

        #custom li a {
            text-transform: uppercase;
        }

    .header-dropdown-BuyNow {
        background-color: rgb(21, 89, 144) !important;
        margin: 0px !important;
        width: 510%;
    }

        .header-dropdown-BuyNow:active, .header-dropdown-BuyNow:focus {
            background-color: black !important;
            border-radius: 0px !important;
        }

        #custom li:hover, .header-dropdown-BuyNow:hover {
            background-color: #3e464e !important;
            /*margin: 0px;*/
        }

        .header-dropdown-BuyNow:focus {
            background-color: #155990 !important;
        }

        .header-dropdown-BuyNow span:nth-child(2) {
            float: none !important;
        }

    .Dropdownli, .Dropdownli a {
        background-color: rgb(21, 89, 144) !important;
    }

    .HeaderDropdownSubmenu {
        border: 1px solid white;
        background-color: #155990 !important;
        margin: 0px !important;
        padding: 1px 0px 0px;
        width: 352% !important;
    }
        /*.HeaderDropdownSubmenu li:hover{
        background-color:#3e464e !important;
    }*/
        .HeaderDropdownSubmenu li a {
            color: white !important;
            padding: 10px 20px 10px 0px;
            padding-left: 35px !important;
        }

    .MyAccountDropdown {
        left: 0px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

        .MyAccountDropdown a:focus {
            background-color: #155990 !important;
            border-bottom: 1px solid transparent;
            border-top: 1px solid transparent;
        }

        .MyAccountDropdown a:hover {
            background-color: #3e464e !important;
        }

        .MyAccountDropdown ul {
            background-color: #155990 !important;
            margin: 0px !important;
            padding: 0px;
        }

            .MyAccountDropdown ul li:last-child {
                border-bottom: 1px solid white;
            }

            .MyAccountDropdown ul li:hover {
                background-color: white !important;
            }

    .HeaderDropdownSubmenu li:hover, .HeaderDropdownSubmenu li a:hover {
        background-color: #3e464e !important;
        color: white !important;
    }

    .btn-group.open .dropdown-toggle {
        box-shadow: none !important;
    }

    .Dropdownli a, .header-dropdown-BuyNow:active, .header-dropdown-BuyNow:hover, .header-dropdown-BuyNow:focus {
        border-color: #428BCA !important;
    }
    /*.modal-dialog {
        width: 85% !important;
        margin: 30px auto;
    }*/
}