/* CSS stylesheet by Jonáš Kýček - El TORO */
.responsive {
    display: none !important;
}
/*--- TABLET ---*/
@media (max-width: 900px) {
    body {
        min-width: 0;
    }
    .container {
        width: auto;
        padding: 0 20px;
        position: relative;
    }
    h1,
    .homepage .left-column h1 {
        font-size: 35px;
        line-height: 35px;
        margin: 0 0 10px 0;
    }
    h2 {
        font-size: 30px;
    }
    header {
        height: 110px;
        position: fixed;
        left: 0;
        top: 0;
    }
    header .logo img {
        width: 200px;
    }
    section.content-up {
        margin-top: 50px;
        padding-top: 40px;
    }
    .browse {
        left: 10px;
    }
    .browse.next {
        left: auto;
        right: 10px;
    }
    .homepage .left-column {
        width: auto;
        max-width: 650px;
        padding-bottom: 0;
        margin: 20px auto 40px;
        float: none;
    }
    .homepage .left-column:before {
        display: none;
    }
    .homepage .left-column p {
        padding: 0 0 15px;
    }
    .homepage .right-column {
        width: auto;
        max-width: 450px;
        float: none;
        margin: 0 auto;
    }
    .module.news .header {
        margin-bottom: 0;
        font-size: 30px;
    }
    .sluzby h2 {
        text-align: center;
    }
    footer .contact {
        max-width: 100%;
        height: auto;
        background: none;
        font-size: 24px;
        text-align: center;
    }
    footer .contact img {
        display: block;
        margin: 0 auto 20px;
    }

    footer .contact a {
        margin: 0 0 20px 0;
        float: none;
        text-align: center;
    }

    footer .contact a.phone {
        font-size: 35px;
    }
    footer .contact a.btn {
        display: inline-block;
        margin-right: 0;
    }
    footer .contact .name {
        padding: 0 0 20px;
    }
    .copyrights {
        background: url(../soubory/images/bcg_footer.png) no-repeat left top;
        padding: 30px 0 20px;
    }
    .copyrights .right {
        float: none;
        text-align: center;
    }
    .tips .half {
        width: 100%;
        float: none;
    }
    div.reference h2 {
        text-align: center;
    }
    #photoGallery, #galleryList {
        text-align: center;
    }
    .gallery, .photo {
        display: inline-block;
        float: none;
    }
    .quote {
        margin-left: 120px;
    }
    .tips .half .image {
        margin-left: 0;
    }
    .news .no-image,
    .module.news .news .no-image {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        transform: scale(0.6);
    }
    .sluzby {
        padding-top: 40px;
    }
}
@media (max-width: 900px) {
    /* RESPONSIVE MENU */
    header div.right > div.search {
        display: none;
    }
    .responsive {
        display: block !important;
    }
    .show-button {
        display: block;
        width: 38px;
        height: 36px;
        background: url(images/ico_menu.png) no-repeat 50% -34px;
        background-size: 38px auto;
        -webkit-border-radius: 8px;
        border-radius: 8px;
        -webkit-transition: background 0.3s ease-in-out;
        -moz-transition: background 0.3s ease-in-out;
        -ms-transition: background 0.3s ease-in-out;
        -o-transition: background 0.3s ease-in-out;
        transition: background 0.3s ease-in-out;
        cursor: pointer;
        padding: 10px;
        margin: 21px 0 0;
    }
    .show-button:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }
    body.homepage .show-button {
        background-position: 50% 14px;
    }
    body.homepage .show-button:hover {
        background-color: #f1f1f1;
    }
    .body {
        position: relative;
        left: 0;
        -webkit-transition: left 0.3s ease-in-out;
        -moz-transition: left 0.3s ease-in-out;
        -ms-transition: left 0.3s ease-in-out;
        -o-transition: left 0.3s ease-in-out;
        transition: left 0.3s ease-in-out;
    }
    .body.active {
        left: -260px;
    }
    div.overlay {
        width: 100%;
        height: 0;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 100;
        opacity: 0.5;
        background: white;
    }
    div.overlay.active {
        height: 100%;
    }
    nav {
        position: fixed;
        z-index: 101;
        right: -250px;
        top: 0;
        margin: 0;
        width: 250px;
        height: 100%;
        overflow-y: auto;
        z-index: 100;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    nav ul, nav ul li {
        float: none;
    }
    nav ul {
        margin: 110px 0 25px 0;
    }
    nav.active {
        right: 0;
    }
    nav ul li a {
        height: 50px;
        line-height: 50px;
        padding: 0 20px;
        color: #ef7b00;
        text-shadow: none;
        text-align: left;
    }
    nav ul li a.active {
        color: #d9270f;
    }
    nav ul li a.active:before {
        display: none;
    }
    .left-column {
        width: 100%;
    }
    .news,
    .news .item {
        position: relative;
    }
    .news .date,
    .module.news .date,
    .news .image {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        transform: scale(0.5);
        margin: 0;
    }
    .news .image {
        transform: scale(0.4);
        transform-origin: 0 0;
        top: 15px;
    }
    .novinka.news .image {
        transform: scale(0.4);
        transform-origin: 0 0;
        top: 15px;
    }
    .novinka {
        margin: 0;
    }
    .novinka.news .image {
        transform: scale(1);
        position: relative;
        float: none;
        top: 0;
        margin: 0 0 20px;
    }
    .news .item > a,
    .module.news .item > a,
    .news .item .info,
    .news .item p,
    .module.news .item p {
        padding-left: 70px;
    }
    .news .item hr {
        margin-left: 70px;
    }
    .right-column {
        width: 100%;
        float: none;
    }
    section.content img {
        max-width: 100%;
    }
    h3.lucka img {
        display: block;
        margin-bottom: 10px;
    }
    input[type="text"], textarea {
        width: 100%;
    }
    a.btn.btn1, input[type="submit"] {
        width: 130px;
        background-position: -92px 0;
        background-size: 580px 92px;
    }
    a.btn.btn1:hover, input[type="submit"]:hover {
        background-position: -92px -50px;
    }
}
/*--- MOBILE ---*/
@media (max-width: 540px) {
    footer .facebook {
        width: 325px;
        padding-top: 50px;
        padding-right: 12px;
        float: none;
        margin: 0 auto;
    }
    footer .facebook:before {
        width: 340px;
        bottom: -9px;
    }
    footer .facebook iframe {
        width: 350px;
        height: 204px;
    }
    .tips .half .image {
        z-index: 1;
        transform: scale(0.5);
        transform-origin: 0 0;
        position: absolute;
        top: 5px;
    }
    .quote {
        margin-left: 0;
        max-width: 100%;
    }
    .banner .slides {
        margin-left: 20px;
    }
    .slide .header {
        top: 200px;
        line-height: 40px;
        font-size: 40px;
        text-align: left;
        width: 100%;
        z-index: 1;
    }
    .slide.active .header {
        left: 0;
    }
    .slide .header span {
        background-size: 100% 45px;
    }
    .slide .header small {
        font-size: 30px;
    }
    .browse {
        transform: scale(0.6);
    }
    .img.right {
        float: none;
        margin: 0 0 20px;
    }
}
@media (max-width: 480px) {
    .sluzby {
        margin: -30px 0 30px;
    }
    .sluzby .item {
        margin: 0 10px 30px;
        height: 464px;
    }
    .contact-form table {
        width: 100%;
    }
    .contact-form td {
        display: block;
        padding: 5px 0;
    }
    input[type="text"], textarea {
        width: 80%;
    }
    td.captcha input[type="text"] {
        width: 60px;
    }
}