@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,700,900,600,300,200&subset=latin,latin-ext);

body{
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    background: #014a93;
}
.offer{
    color: #000;
    background: #f9bf3b;
    display: block;
    padding: 10px;
    font-size: 20px;
    margin-right: 16px;
    margin-left: 16px;
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
    text-transform: uppercase;
}


/*Mobiln� menu*/
.nav>li{
    float: none;
}

.nav>li>a{
    background: #281570;
    color: #f2bf00;
    margin: 0px;
    padding: 10px 15px;
    border-bottom: 1px solid #572DF2;
}

.nav>li>a:hover{
    background: #572DF2;
}

#menu{
    position: absolute;
    width: 100%;
    z-index: 9;
    left: 0px;
}
/*Konec mobiln� menu */

.navbar-brand{
    padding: 0px;
}

.tophref{
    background: #F9BF3B;
    width: 100%;
    display: inline-block;
    border: 2px solid #F5AB35;
    border-style: inset;
    color: black;
    border-radius: 4px;
    padding: 8px 15px;
    margin-top: 10px;
    font-weight: bold;
    position: relative;
    z-index: 9;
    overflow: hidden;
    text-transform: uppercase;
}

.tophref:before{
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: #F5AB35;
    left: -10px;
    top: 18px;
    z-index: -1;
    /*    transform: rotate(7deg);*/
    transition: 0.2s;
}

.tophref:hover{
    color: #281570;
}

.tophref:hover:before{
    transform: rotate(-7deg);
    background: #F5AB35;
    transition: 0.3s;
}

#menu-wrapper{
    background: transparent;
    border-radius: 0px;
    border: 0px;
    margin-bottom: 0px;
}

#menu{
    padding: 0px;
    top: 64px;
    z-index: 999;
}

#top>div{
    display: block;
}

main{
    background: white;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6);
    padding: 30px 20px;
    position: relative;
    color: black;
    text-align: center;
}

/*main:before{
    content: "";
    width: 100%;
    height: 10px;
    position: absolute;
    background: white;
    z-index: 9;
    top: 0;
    left: 0;
}*/

footer{
    position: relative;
    z-index: 9;
    margin-bottom: 80px;
    padding: 15px 20px;
    background: #d3ddeb; /* Old browsers */
    background: -moz-linear-gradient(top,  #d3ddeb 0%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #d3ddeb 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #d3ddeb 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d3ddeb', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

footer .text-left,
footer .text-right{
    text-align: center;
}

footer a{
    color: #333;
}

footer a:hover{
    color: #f8c400;
}

.underh1,
h1{
    color: #053975;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 26px;
    margin-top: 0px;
    display: inline;
}

.navbar-brand{
    float: none;
}

.navbar-brand>img{
    display: inline-block;
    margin: auto;
    margin-top: 30px;
}

#top{
    text-align: center;
}

.navbar-inverse .navbar-toggle{
    border-color: white;
    margin: 15px 0px;
}

.navbar-inverse .navbar-toggle .icon-bar{
    background: white;
    transition: 0.2s;
}

.navbar-toggle:hover .icon-bar,
.navbar-toggle:focus{
    background: #f2bf00;
    transition: 0.3s;
}

.navbar-toggle:focus,
.navbar-toggle:hover{
    background-color: transparent !important;
}

.dropdown-menu{
    top: 50px;
    margin: 0px;
    padding: 0px;
    border-radius: 0px;
    background: #eef3f8;
}

.nav>li.open>a{
    background: #572DF2 !important;
}

.navbar-right .dropdown-menu{
    right: auto;
}

.dropdown-menu>li>a{
    padding: 10px 10px;
    border-bottom: 1px solid #e4e1e3;
}


.dropdown-menu{
    margin-top: -1px;
    border-radius: 0px;
    border: 0px;
    padding: 0px;
    position: relative;
    float: none;
    box-shadow: none;
    top: 0;
}

main>div:first-of-type{
    margin-bottom: 30px;
}

#map{
    padding-bottom: 57%;
}

.tabulka{
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.tabulka td,
.tabulka th{
    display: block;
    text-align: center;
    vertical-align: top;
    padding: 10px;
}

.tabulka th{
    background: #014a93;
    color: white;
    text-transform: uppercase;
}

.tabulka tr:nth-of-type(even)>td{
    background: #d6e0ed;
}

address a,
.tabulka a{
    color: #333;
}

address a:hover,
.tabulka a:hover{
    color: #f8c400;
}

.h2,
h2{
    color: white;
    background: #014a93;
    display: block;
    padding: 10px;
    font-size: 20px;
    font-weight: 600;
}


.h3,
h3{
    display: block;
    color: #014a93;
    font-size: 18px;
    margin: 0px;
    font-weight: 600;
}

.latky{
    padding-left: 15px;
}

.latky li{
    list-style-type: none;
}

.latky li:before{
    content: "\f105";
    display: inline-block;
    font-family: FontAwesome;
    margin-right: 10px;
    color: #f8c400;
    font-weight: bold;
}

.vzornik{
    text-align: center;
}

.vzornik a{
    color: #333;
    font-weight: 600;
}

.vzornik a:hover{
    color: #f8c400;
}

.vzornik a:hover>img{
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -o-filter: grayscale(1);
    -ms-filter: grayscale(1);
    transition: .3s ease-in-out;
}

.vzornik img{
    margin-bottom: 15px;
    transition: .2s ease-in-out;
}

.vzornik>div{
    margin-top: 30px;
}

img.pull-right{
    float: none;
    display: block;
    margin: 20px auto;
}

.img-thumbnail{
    border-radius: 0px;
    background: #eef3f8;
    border-color: #bdcce2;
}

[alt="Opravy autosedadel"]{
    max-width: 300px;
}

.clearfix{
    border: 0px;
}

.input{
    width: 100%;
    margin-bottom: 30px;
    padding: 5px 15px;
    border: 1px solid #bdcce2;
    background: #eef3f8;
    color: black;
    transition: 0.2s;
}

.input.select{
    padding-top: 2px !important;
}

textarea.input{
    padding: 10px 15px;
}

.input:focus{
    background: #bdcce2;
    transition: 0.3s;
}

textarea.input{
    min-height: 100px;
}

.blue-btn{
    background: #012557; /* Old browsers */
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border: 0px;
    display: block;
    margin: auto;
    padding: 10px 40px;
    transition: 0.2s;
}

.blue-btn:hover{
    background: #f2bf00;
    transition: 0.3s;
}

.indexbox{
    margin-top: 30px;
    padding: 5px;
    border: 1px solid #bdcce2;
    background: #eef3f8;
    display: block;
    position: relative;
    overflow: hidden;
}

.indexbox img{
    padding: 30px;
    background: #e3e0d9;
}

.indexbox h2{
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-weight: 600;
    text-align: center;
    color: #033773;
    padding: 10px;
    text-transform: uppercase;
    background: #f2bf00;
    width: 100%;
    margin: 0px;
    font-size: 18px;
}

.indexbox.onlineobjednavka:before{
    white-space:  pre-line;
    content: 'Online \A objednávka';
    background: #CF000F;
    color: white;
    position: absolute;
    top: -100px;
    left: -100px;
    text-align: center;
    height: 200px;
    width: 273px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    padding-top: 135px;
}

.indexbox:hover{
    background: #f2bf00;
}

#indextext{
    display: none;
}

.obal{
    border: 1px solid #eef3f8;
    padding: 10px;
}

.greybg{
    background: #dfedfb;
}

#vysivka{
    margin-top: 40px;
}

#vysivka input{
    width: 100%;
    margin: 15px 0px;
    padding: 5px 15px;
}

.product-detail-table{
    text-align: center;
}

.product-detail-table td{
    display: block;
}

.product-detail-table td:first-of-type{
    font-weight: bold;
}

#souborlabel{
    border: 1px solid black;
    padding-left: 15px;
    width: 100%;
    position: relative;
    padding: 10px;
}

#souborlabel:after{
    content: "Nahrát";
    top: 0;
    background: #012557;
    color: white;
    float: right;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;
    right: 0;
    border: 0px;
    display: inline-block;
    margin: auto;
    padding: 10px 40px;
    transition: 0.2s;
    margin-left: 20px;
}

#souborlabel:hover{
    cursor: pointer;
}

#souborlabel:hover:after{
    background: #f2bf00;
}

#soubor{
    display: none;
}

.doplnujici-udaje{
    width: 100%;
    margin: 30px 0px;
}

.doplnujici-udaje label{
    margin-left: 10px;
    font-weight: 400;
}

.doplnujici-udaje td{
    display: block;
    text-align: left;
}

.strong{
    font-weight: 600;
}

.legend{
    font-size: 85%;
    margin-bottom: 0px;
}

::-webkit-input-placeholder {
    color: black !important;
}
:-moz-placeholder {
    color: black !important;
}
::-moz-placeholder {
    color: black !important;
}
:-ms-input-placeholder {
    color: black !important;
}

sup{
    color: #D91E18;
    font-size: 100%;
}

.margin-0{
    margin: 0px;
}

.blue-btn.pull-right{
    margin-top: 30px;
}

.latky a{
    margin-left: 5px;
    text-decoration: underline;
    color: #333;
}

.latky a:hover{
    color: #f2bf00;
    text-decoration: underline;
}

.produkt{
    border: 1px solid #bdcce2;
    padding: 40px 20px;
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.produkt h3{
    color: black;
    margin: 0px 0px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background: #bdcce2;
    padding: 10px 0px;
}

.produkt table{
    margin: 20px 0px;
}

.produkt table td{
    display: block;
}

.produkt .blue-btn{
    width: 100%;
    padding: 10px 0px;
    text-align: center;
    bottom: 0;
    left: 0;
    position: absolute;
}

.produkt img{
    display: block;
    margin: auto;    
    margin-top: 15px;
}


.produkt table td:first-of-type{
    font-weight: bold;
}

.produkt table{
    width: 100%;
}

.img-center{
    display: block;
    margin: auto;
}

.padding-top-0{
    padding-top: 0px !important;
}

.vzornik input{
    display: block;
    margin: auto;
}

.position-relative{
    position: relative;
}

#vybraneimg{
    position: absolute;
    top: 0;
    right: 15px;
}

#vybraneimg span{
    display: block;
    height: 70px;
    width: 70px;
    overflow: hidden;
}

#vybraneimg span:first-of-type{
    margin-bottom: 15px;
}

.indexul>li{
    margin-top: 15px;
}

.toggle-group .btn{
    font-weight: bold;
}

.toggle-group .btn-primary{
    background: #012557 !important;
}

.novinka{
    overflow: hidden;
}

.novinka:before{
        white-space: pre-line;
    content: "Novinka";
    color: white;
    position: absolute;
    top: -100px;
    left: -100px;
    text-align: center;
    height: 200px;
    width: 200px;
    transform: rotate(-45deg);
    padding-top: 165px;
    padding-right: 55px;
    background: rgb(207, 0, 15);
}

@media only screen and (min-width:768px){
    /*Mobiln� menu*/
    .nav>li{
        float: left;
    }

    .dropdown-menu{
        margin-top: -1px;
        border-radius: 0px;
        border: 0px;
        padding: 0px;
        position: absolute;
        float: none;
        box-shadow:  0 6px 12px rgba(0,0,0,0.175);
        z-index: 999;
        top: 81px; 
        min-width: 178px;
        margin: 0px;
        padding: 0px;
    }

    .dropdown-menu a{
        border-bottom: 0px !important;
        color: #333 !important;
        font-weight: bold !important;
        background: #e4ebf4; /* Old browsers */
        background: -moz-linear-gradient(top,  #e4ebf4 0%, #a5b8d6 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #e4ebf4 0%,#a5b8d6 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #e4ebf4 0%,#a5b8d6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4ebf4', endColorstr='#a5b8d6',GradientType=0 ); /* IE6-9 */
    }

    .dropdown-menu a:hover{
        color: #281570 !important;
    }

    .navbar-brand{
        float: left;
    }

    .navbar-brand>img{
        margin: 0;
    }

    .nav,
    .nav>li>a{
        background: #eef3f8;
        padding: 18px 0px;
        border-bottom: 0px;
        text-align: center;
        position: relative;
        z-index: 9;
        font-weight: bold;
        color: #033773;
        text-transform: uppercase;
    }

    .nav{
        padding: 0px;
    }

    .nav>li:not(:last-of-type)>a{
        border-right: 1px solid #013773;
    }

    .nav>li>a:before{
        content: "";
        position: absolute;
        width: 100%;
        height: 50%;
        bottom: 0;
        left: 0;
        background: #e4ebf4; /* Old browsers */
        background: -moz-linear-gradient(top,  #e4ebf4 0%, #a5b8d6 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #e4ebf4 0%,#a5b8d6 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #e4ebf4 0%,#a5b8d6 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4ebf4', endColorstr='#a5b8d6',GradientType=0 ); /* IE6-9 */
        z-index: -2;
    }

    .nav>li>a:after{
        content: "";
        position: absolute;
        width: 100%;
        height: 0%;
        top: 0;
        left: 0;
        z-index: 9;
        background: #012557; /* Old browsers */
        background: -moz-linear-gradient(top,  #012557 0%, #014c96 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top,  #012557 0%,#014c96 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom,  #012557 0%,#014c96 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#012557', endColorstr='#014c96',GradientType=0 ); /* IE6-9 */
        transition: height 0.2s;
        z-index: -1;
    }

    .nav>li.open>a{
        background: #eef3f8 !important;
    }

    .nav>li.open>a,
    .nav>li>a.active,
    .nav>li>a:hover{
        color: white !important;
    }

    .nav>li.open>a:after,
    .nav>li>a.active:after,
    .nav>li>a:hover:after{
        height: 100%;
        transition: height 0.3s;
    }

    #menu{
        position: relative;
        width: auto;
        z-index: 9;
        left: auto;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6);
        top: 0;
    }
    /*Konec mobiln� menu */

    body{
        background: url('../images/bg.jpg') no-repeat top center, #033773;   
    }

    .tophref{
        width: 270px;
        display: block;
    }

    #top{
        height: 280px;
        background: url('../images/bg_top.png') 0px no-repeat;
        text-align: left;
    }

    .navbar-brand{
        padding: 0px;
        margin-top: 75px;
        margin-left: 100px;
    }

    #top>div{
        margin-top: 150px;
        margin-right: 10px;
        float: right;
    }

    footer .text-left{
        text-align: left;
    }

    footer .text-right{
        text-align: right;
    }

    .tabulka td,
    .tabulka th{
        display: table-cell;
        text-align: left;
    }

    main{
        text-align: left;
    }

    .text-center{
        text-align: center !important;
    }

    .nav>li>a{
        width: 180px;
        height: 80px;
    }

    img.pull-right{
        float: right;
        margin: 0px;
        margin-left: 30px;
    }

    .latky li{
        display: block;
        margin-bottom: 5px;
    }

    .obal{
        padding: 30px;
    }

    .product-detail-table td:first-of-type{
        text-align: right;
    }

    .product-detail-table td:last-of-type{
        text-align: left;
        padding-left: 10px;
    }

    .product-detail-table td{
        display: table-cell;
    }

    .doplnujici-udaje td{
        display: table-cell;
    }

    .produkt table td{
        display: inline-block;
    }
}

@media only screen and (min-width:992px){
    #top{
        background: url('../images/bg_top.png') 200px no-repeat;
    }

    .nav>li>a{
        width: 117.5px;
        height: auto;
    }

}

@media only screen and (min-width:1200px){
    #top{
        background: url('../images/bg_top.png') 300px no-repeat;
    }

    .nav>li:last-of-type>a,
    .nav>li>a{
        width: 142.5px;
    }

    .indexul>li:before{
        float: left;
        height: 30px;
    }

    #indextext{
        display: block;
        position: absolute;
        top: 50px;
        right: 30px;
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
        text-align: center;
        color: #CF000F;
        font-size: 20px;
        font-weight: bold;
        text-transform: uppercase;
    }


    #indextext span{
        font-size: 36px;
    }

    .doplnujici-udaje td{
        width: 173px;
        display: inline-block;
    }
    
    .univerzal td{
        width: 350px;
    }

}

*:focus{
    outline: none !important;
}

a:focus{
    background: transparent !important;
    text-decoration: none !important;
    outline: none !important;
}

a{
    transition: 0.2s !important;
}

a:hover{
    text-decoration: none;
    transition: 0.3s !important;
}

.btn-custom {
    width: 230px;
    text-align: center;
    margin: 20px 0;
}