﻿@media (max-width: 980px) {

    #obsah {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }

    
    #obsah p img {
        max-width: 100%;
        min-width: 50px;
        /* border: 10px solid gold;*/
    }

        #obsah p iframe {
            min-height: 200px;
            max-height: 500px;
            max-width: 80%;
        }

    #slider {
        max-height: 489px;
        height: auto;
    }
}
@media only screen and (max-width: 890px) {

    #header .logo {
        width: 50%;
        background-size: contain;
    }



    #header .header-right {
        width: 50%;
        text-align: right;
    }

        #header .header-right a {
            margin-left: 10px;
        }
}
@media only screen and (max-width: 890px) {

    #header .header-right a {
        margin-right: 10px;
    }
}
    /*iPad portrait  - 768px, 797px je pro hanku na pul obrazovky*/
    @media only screen and (max-width: 797px) {

        #ramy {
            width: 470px;
            margin-left: auto;
            margin-right: auto;
        }
    }

    /*iPhone 6-8 Plump landscape */
    @media only screen and (max-width: 736px) {
    }
    /*iPhone eXpensive landscape*/
    @media only screen and (max-width: 734px) {
        #header .header-right a {
            margin-left: 10px;
        }
    }
    /*Android (Pixel 2) landscape*/
    @media only screen and (max-width: 684px) {
    }

    @media only screen and (max-width: 670px) {
        #header .header-right a {
            margin-right: 5px;
            margin-left:5px;
        }


        #footer .footer-item-social-network {
            display: none;
        }
        #footer .footer-item{
          width:28%;
        }
    }

/* custom velikost*/
@media only screen and (max-width: 609px) {
    #header .header-right {
        margin-top:10px;
    }
    #header .header-right .header-menu-link {
        float: none;
        width: 100%;
        text-align: right;
        margin-left: auto;
        margin-right: auto;
    }
        #header .header-right .header-menu-link.header-menu-link-mail {
           
          
      
        }

    #header .header-right a {
        margin-left: 0px;
        margin-right: 5px;
        padding-right: 0px;
    }

}


    /*iPhone 5, 5S, 5C and 5SE Landscape */
    @media only screen and (max-width: 568px) {

        #header .header-right a {
            margin-left: 10px;
        }
    }

  
    /*iPhone 6-8 Plump portrait*/
    @media only screen and (max-width: 414px) {
        #obsah {
            width: 94%;
           
        }

        #ramy {
            width: 230px;
        }

            #ramy .item {
                margin-bottom: 15px;
            }

        /*#footer .footer-item {
            font-size: 11px;
        }*/

        #footer .footer-item-nase-prodejna {
            display:none;
        }
        #footer .footer-item {
           width:46%;
        }

       
    }

    /*Android (Pixel 2) portrait*/
    @media only screen and (max-width: 412px) {
    }

    /*iPhone 6-8 portrait*/
    @media only screen and (max-width: 375px) {
        #header .header-right {
            margin-top: 0px;
        }
        #header {
            height: 70px;
        }

            #header .logo {
                height: 70px;
            }
    }
    /*Samsung Galaxy s6 + s7 portrait*/
    @media only screen and (max-width: 360px) {
    }

    /*iPhone 5, 5S, 5C and 5SE Landscape portrait - sladeno se samsungem galaxy*/
    @media only screen and (max-width: 320px) {
        #header .header-right {
            padding: 0;
        }

            #header .header-right a {
                padding-left: 0px;
                font-size:12px;
            }

        /*#footer .footer-item {
            float:none;
            width:90%;
        }*/
    }