#mobile-menu
{
    display: none;
    width: 100%;
    background-color: #5CA1B4;
}

#mobile-menu .container
{
    display: table-row;
}

#mobile-menu .container div
{
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    width: 33%;
    padding: 7px 0 7px 0;
}

#mobile-menu .container .cart
{
    display: none;
}

#mobile-menu .container .login
{
    text-align: left;
    padding-left: 5px;
}

#mobile-menu .container .login a
{
    display: inline-block;
    padding: 7px;
    color: #fff;
    border-radius: 4px;
    border: solid 1px #fff;
}

#mobile-menu .container .login a:hover
{
    background-color: #fff;
    color: #5CA1B4;
}

#mobile-menu .container .menu
{
    text-align: right;
}

#mobile-menu .menu a
{
    cursor: pointer;
}

#mobile-main-menu
{
    display: none;
    background-color: #fff;
}

#mobile-main-menu ul, #mobile-main-menu ul li
{
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
}

#mobile-main-menu ul li a
{
    display: block;
    padding: 10px;
    border-bottom: dotted 1px #5CA1B4;
    font-size: 28px;
}

#mobile-main-menu ul li a:hover, #mobile-main-menu ul li a.active
{
    background-color: #5CA1B4;
    color: #fff;
}

#mobile-main-menu ul ul
{
    display: none;
}

@media all and (max-width: 1200px)
{
    #header .logo, #left-blocks
    {
        padding-left: 10px;
    }

    #header .options, #right-blocks
    {
        padding-right: 10px;
    }

    #main-menu, #pre-footer, #content .center, #footer-blocks, #footer
    {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media all and (max-width: 1140px)
{
    #header .about-menu
    {
        padding-bottom: 0;
    }

    #header ul
    {
        margin: 0;
        padding: 0;
    }

    #header .options .container
    {
        flex-wrap: wrap;
        justify-content: space-around;
        padding-top: 0;
    }

    #header .options .container form
    {
        text-align: center;
    }

    #header .options .container .search-slogan
    {
        width: 100%;
        justify-content: space-around;
    }

    #header .options .container > div:last-child
    {
        justify-content: space-between;
        width: 100%;
    }
}

@media all and (max-width: 1115px)
{
    .listing-block-testimonial
    {
        margin-bottom: 25px;
    }

    .listing-block-container
    {
        justify-content: space-around;
    }
}

@media all and (max-width: 1100px)
{
    #gallery,
    #gallery tbody,
    .listing-grid-table,
    .listing-grid-table tbody
    {
        text-align: center !important;
        display: block !important;
    }

    #gallery tr,
    .listing-grid-table tr
    {
        display: inline-block !important;
        width: auto;

    }

    #gallery td,
    .listing-grid-table td
    {
        display: inline-block !important;
        margin: 0 auto 7px auto;
        text-align: center !important;
        width: auto !important;
    }

    .listing-grid
    {
        float: none !important;
        display: inline-block !important;
        margin: 0 auto 0 auto !important;
    }
}

@media all and (max-width: 1040px)
{
    #footer .container > div:first-child a:last-child
    {
        border-right: 0;
    }
}

@media all and (max-width: 1020px)
{
    #footer-blocks
    {
        margin-left: 7px;
        margin-right:7px;
    }
}

@media all and (max-width: 950px)
{
    #header .bottom ul li a
    {
        font-size: 18px;
    }

    #center-blocks
    {
        flex-wrap: wrap;
    }

    #center-blocks .block
    {
        flex-grow: 0;
    }

    #center-blocks .block .content
    {
        text-align: center;
    }

    #footer-blocks .container
    {
        flex-wrap: wrap;
    }

    #footer-blocks .container .block
    {
        max-width: none;
    }
}

@media all and (max-width: 900px)
{
    #pre-footer .links
    {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    #pre-footer .links > div
    {
        margin-bottom: 35px;
        padding-right: 40px;
    }
}

@media all and (max-width: 820px)
{
    #center-blocks .block
    {
        width: 99%;
        margin: 0 0 10px 0 !important;
    }

    #footer-blocks .container .block
    {
        width: 99%;
        margin: 0 0 10px 0 !important;
    }

    #outerImageContainer,
    #outerImageContainer *,
    #imageDataContainer
    {
        width: 95% !important;
        height: auto !important;
        display: block;
        margin: 0 auto 0 auto;
    }
}

@media all and (max-width: 750px)
{
    .block .title .container
    {
        flex-direction: column;
        text-align: center;
    }

    #header .logo
    {
        text-align: center;
    }

    #header .logo a,
    #header .logo a img
    {
        display: block;
        margin: 0 auto 0 auto;
    }

    #header td
    {
        display: block;
        width: auto !important;
    }

    #header .cart-account
    {
        padding-left: 10px;
    }

    #header .account
    {
        display: none;
    }

    #header .about-menu, #header .about-menu .container
    {
        width: 100%;
    }

    #header ul
    {
        justify-content: space-around;
        width: 100%;
        flex-wrap: wrap;
    }

    #header ul li a
    {
        margin-left: 0px;
    }

    #header .about-menu
    {
        justify-content: space-around;
    }

    #header .search form input[type=text]
    {
        text-align: center;
    }

    #mobile-menu
    {
        display: table;
    }

    #mobile-menu .container .menu
    {
        display: none;
    }

    #footer .container
    {
        flex-direction: column;
        align-items: center;
    }

    #footer .container > div
    {
        padding-bottom: 10px;
        text-align: center;
    }
}

@media all and (max-width: 650px)
{
    #mobile-menu .container .menu
    {
        display: table-cell;
        padding-right: 5px;
    }

    #mobile-menu .container .login
    {
        text-align: center;
    }

    #mobile-menu .container .cart
    {
        display: table-cell;
        padding-left: 5px;
        text-align: left;
    }

    #main-menu
    {
        padding: 2px;
    }

    #main-menu .container
    {
        display: none;
    }

    #header .options .container > div:last-child
    {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    #header .cart
    {
        display: none;
    }

    #header .slogan
    {
        width: 100%;
    }

    h1
    {
        text-align: center;
        display: block;
    }

    #content .center,
    #left-blocks,
    #right-blocks
    {
        width: auto !important;
        display: block !important;
    }

    #content .center table.responsive,
    #content .center table.responsive tbody
    {
        text-align: center;
        display: block;
    }

    #content .center table.responsive tr
    {
        display: block;
        width: 100%;
    }

    #content .center table.responsive td
    {
        display: inline-block;
        margin-bottom: 0 0 0 0 !important;
        padding: 0 !important;
        width: 100% !important;
        text-align: left;
    }
}

@media all and (max-width: 550px)
{
    #content .center img
    {
        display: block;
        width: 95%;
        margin: 0 auto 0 auto;
    }

    #center-blocks .content a,
    #center-blocks .content a img
    {
        display: block;
        width: 95%;
        margin: 0 auto 0 auto;
    }

    #pre-footer
    {
        background-color: #5CA1B4;
        padding-top: 20px;
        padding-bottom: 30px;
        color: #fff;
    }

    #pre-footer .links > div
    {
        width: 98%;
        margin: 0 auto 0 auto;
        flex-grow: 0;
    }

    #pre-footer .links > div:last-child > div
    {
        width: 180px;
    }

    #pre-footer .links h4
    {
        font-size: 32px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    #pre-footer .links ul li a
    {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 22px;
        border-bottom: dotted 1px #FF6600;
    }
}