﻿/*****************************************************************
    Responsive (mobile | mediumdevice | tablet | desktop)

    <div data-responsive="desktop">Only Desktop</div>
    <div data-responsive="tablet">Only Tablet</div>
    <div data-responsive="mediumdevice">Only Small Tablet</div>
    <div data-responsive="mobile">Only Mobile</div>
    <div data-responsive="mobile-mediumdevice-tablet-desktop">All weeee</div>

*****************************************************************/
[data-responsive] { display: none; }
[data-responsive*="desktop"] { display: block; }
td[data-responsive*="desktop"], th[data-responsive*="desktop"] { display: table-cell; }

#HeaderMobile { z-index: 20; background-color: #3F3F3F; line-height: 50px; font-size: 1.7em; position: fixed; left: 0; right: 0; top: 0; }
    #HeaderMobile .top { padding: 0 15px; }
        #HeaderMobile .top a { color: #FFF; }
    #HeaderMobile ul { font-size: 14px; display: none; }
        #HeaderMobile ul a { display: block; padding: 10px 25px; background-color: #808080; color: #FFF; }

#Menu { }
    #Menu .modal-dialog { margin: 0; }
    #Menu .modal-content { border: none; min-width: 100vw; min-height: 100vh; background-color: #565d67; color: #fdfbfb }
        #Menu .modal-content,
        #Menu .modal-content a { color: #fdfbfb; font-family: "Titillium Web"; font-size: 14px; font-weight: 400; text-transform: uppercase; letter-spacing: 1.4px; }
    #Menu .modal-header { border: none; }
        #Menu .modal-header .close { font-size: 32px; color: #fdfbfb; }
    #Menu .modal-content { border: none; min-width: 100vw; min-height: 100vh; }
    #Menu .modal-container { max-width: 400px; margin: 0 auto; }
        #Menu .modal-container .searchForm { margin-bottom: 32px; }
            #Menu .modal-container .searchForm .form-control { border: none; }
        #Menu .modal-container a { display: block; font-size: 24px; line-height: 2; text-align: center; }


/*****************************************************************
    Tablets
*****************************************************************/

@media (max-width: 1024px) {
    body { overflow-x: hidden; }
        body .wrapper { width: 100% !important; display: block; }
        body img { max-width: 100% !important; }
        body .flexslider { max-width: 100% !important; }
    [data-responsive],
    td[data-responsive],
    th[data-responsive] { display: none; }
    [data-responsive*="tablet"] { display: block; }
    td[data-responsive*="tablet"],
    th[data-responsive*="tablet"] { display: table-cell; }
    body .zcmsdoor,
    body zcmscontent-options,
    body zcmscontentbox-options { display: none !important; }

    #AccountIndex {  padding:0 15px; }
        #AccountIndex .tab-content { margin-top:20px; }
}

@media (max-width: 992px) {
    #Header,
    #Footer,
    #zCMSContent > div { max-width: 100vw; overflow: hidden; }

    .zcmscontent-options { display: none !important; }

    #HomeIndex section.contacts .info .intro { display: none; }
    #HomeIndex section.contacts .info .address { text-align: center; }

    .product { border: 1px solid #e3e3e9; }
    #Header { height: 80px !important; }
        #Header a { margin: 0 !important; line-height: 60px; }
        #Header .singin span { display: none; }
        #Header .hidden-xs { display: none !important; }

    body.auth #Header { padding-top: 10px; padding-bottom: 10px; }
        body.auth #Header .d-flex > div { align-self: center; }
        body.auth #Header .container .logo-wrapper { display: flex !important; }
            body.auth #Header .container .logo-wrapper img { height: 60px; }
            body.auth #Header .container .logo-wrapper a { display: none; }

    #Footer { }
        #Footer .copyright { flex: 0 0 100%; max-width: 100%; text-align: center; margin-bottom: 24px; }
        #Footer .social,
        #Footer .navigation { flex: 0 0 50%; max-width: 50%; }

    .embed-responsive-map { padding-bottom: 100%; }

    #ProductDetail .details-prod .details-wrapper { min-height: unset; }

    #Header .unauthenticated .languages, #Header .unauthenticated .singin { float:left; width:50%; }

    #BasketModal .infos .col-md-6 { float:left; width:50%; font-size:14px; }
    #BasketModal .modal-body { overflow-y:scroll; max-height:300px; }
}

/*****************************************************************
   Medium Devices 
*****************************************************************/
@media (max-width: 768px) {
    [data-responsive], td[data-responsive], th[data-responsive] { display: none; }
    [data-responsive*="mediumdevice"] { display: block; }
    td[data-responsive*="mediumdevice"], th[data-responsive*="mediumdevice"] { display: table-cell; }
    body { }
    #LoginModal .modal-dialog { margin: auto; margin-top: 15px; }
    #BasketModal { top: 0; right: 0; bottom: 0; left: 0; width: auto; }
        #BasketModal .modal-dialog { margin: auto; margin-top: 15px; width: 450px; }
    #BasketDetail .box-content table td, #BasketDetail .box-content table th { padding: 10px; }
    #BasketDetail .box-content table .price-total { font-size: 25px; }
    #BasketCheckout .basket-lines table p { height: auto; line-height: none; margin: 3px 0; }
    #BasketCheckout .basket-steps .row { margin: 0 !important; height: auto; line-height: normal; }
        #BasketCheckout .basket-steps .row > * { min-height: 0; padding: 0; }
        #BasketCheckout .basket-steps .row label { display: block; margin-bottom: 5px; margin-top: 15px; }
    #BasketCheckout .basket-steps h3 { margin-bottom: 10px; margin-top: 20px; }
    body .responsive-scroll { overflow-x: scroll; }
    /* TODO */
    #HomeContentGalery { margin-right: 0; }
    body .wrapper { padding: 0; }

    body.auth #Header .container .logo-wrapper a { display: inline-block; }

    #Footer { }
        #Footer .copyright,
        #Footer .social { margin-bottom: 24px; }
        #Footer .copyright,
        #Footer .social,
        #Footer .navigation { flex: 0 0 100%; max-width: 100%; text-align: center; }

    #HomeIndex section.banner .nav { height: 80px; }
        #HomeIndex section.banner .nav nav { flex-wrap: wrap; }
            #HomeIndex section.banner .nav nav a { flex: 0 0 33.3333%; max-width: 33.3333%; text-align: center; }

                #HomeIndex section.banner .nav nav a.logo { display: none; }
    #HomeIndex section.brands > .container { max-width: 600px; }
    #HomeIndex section.newsletter .newsletter { text-align: center; }
        #HomeIndex section.newsletter .newsletter .form-control { margin: 0 auto; }
    #HomeIndex section.contacts .info .address { margin-top: 64px; }

    #ProductDetail .details-prod .details { padding: 25px 12px; }
    #ProductDetail .details-prod .versions .version { padding-bottom: 2px; margin-bottom: 4px; }
        #ProductDetail .details-prod .versions .version .actions-wrapper { display: block; position: relative; margin-top: 6px; text-align: center; }
        #ProductDetail .details-prod .versions .version:not(.inactive) { padding-right: 0; }
            #ProductDetail .details-prod .versions .version:not(.inactive) .spring { margin-right: 0; }
}
/*****************************************************************
    Smartphones
*****************************************************************/
@media (max-width: 600px) {
    #HomeIndex section.brands > .container { max-width: 300px; }
}

/*****************************************************************
    Smartphones
*****************************************************************/
@media (max-width: 500px) {
    [data-responsive], td[data-responsive], th[data-responsive] { display: none; }
    [data-responsive*="mobile"] { display: block; }
    td[data-responsive*="mobile"], th[data-responsive*="mobile"] { display: table-cell; }
    #LoginModal .modal-dialog { width: auto; margin: 15px; }
    #BasketModal .modal-dialog { width: auto; margin: 15px; }
    /* TODO */
    #CoockiesTerms { width: 100%; max-width: 100%; left: 0; bottom: 0; border-top: 1px solid #DDD; }

    #HomeIndex section.banner .nav nav { padding: 0 10px; }
}
