/*   
Theme Name: Kfz Theme
Theme URI: uabt.com.ua
Version: 1.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: Wolf
Author URI: uabt.com.ua
*/


@media (min-width: 979px) {
    ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu { /* ÃÂ´ÃÂ»Ã‘Â Ã‘â‚¬ÃÂ°Ã‘ÂÃÂºÃ‘â‚¬Ã‘â€¹ÃÂ²ÃÂ°ÃÂ½ÃÂ¸Ã‘Â Ã‘ÂÃ‘Æ’ÃÂ±ÃÂ¼ÃÂµÃÂ½Ã‘Å½ ÃÂ¿ÃÂ¾ ÃÂ½ÃÂ°ÃÂ²ÃÂµÃÂ´ÃÂµÃÂ½ÃÂ¸Ã‘Å½ */
        display: block;
    }
    .comment-list .children { /* ÃÂ´ÃÂ»Ã‘Â ÃÂºÃÂ¾ÃÂ¼ÃÂ¼ÃÂµÃÂ½Ã‘â€šÃÂ¾ÃÂ² */
        padding: 0;
        margin-left: 74px;
        padding-bottom: 15px;
    }
    .comment-list .media {
        margin-top: 0;
    }
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.post-817 h1 {
    display: none;
}

.navbar-header {
    position: fixed;
    right: 0;
    top: 34px;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

body {
    background: url('files/bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right top;
    background-attachment: fixed;
}

.bgvideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    z-index: -9999;
    object-fit: cover;
}

header {
    display: block;
    position: relative;
    height: 170px;
    background-color: rgba(0, 0, 0, 0.65);
}

.top-header {
    position: fixed;
    top: 10px;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 980px;
    height: 92px;
    margin: 0 auto;
    z-index: 9;
    background-color: rgba(0, 0, 0, 1);
    border: 1px solid rgba(255, 255, 255, 1);
}

.top-header .pull-right{
    display: flex;
    width: 30%;
    flex-direction: row;
    justify-content: flex-end;
    align-content: stretch;
    flex-wrap: nowrap;
    align-items: center;
}

.top-header .pull-right .lang-block {
    margin-top: 10px;
    display-inline: block;
}

.top-header .pull-right .contact-block {
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px;
    width: 42%;
    display-inline: block;
}

.pull-left .contact-block{
    text-align: center;
}

.top-header .pull-right .contact-block .glyphicon{
    margin-top: 15px;
    margin-left: 20px;
}

.top-header .pull-right .contact-block .glyphicon:hover{
    font-size: 26px;
}

.navbar {
    margin-top: 125px;
}

.top-header .pull-left .logo {
    display: inline-block;
    height: 70px;
    max-height: 70px;
    width: 126px;
    position: relative;
    margin: 10px;
}

.top-header .pull-left .logo img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-header .pull-left .comp_name {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 65px;
}

.top-header .pull-left .comp_name span{
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
}

.navbar.navbar-default {
    background: none;
    border: none;
    text-align: center;
    /* display: block; */
}

#top-nav-ul li{
    display: inline-block;
    cursor: pointer;
    font: normal normal normal 12px/1.1em 'Open Sans',sans-serif;
    border-left: 1px solid rgba(255, 255, 255, 1);
    height: 30px;
    width: 16%;
}

#top-nav-ul li:first-child{
    border-left: none;
}

.navbar-nav>li{
    float: none;
}

.navbar-nav {
    float: none;
    margin: 0;
}

#top-nav-ul li a{
    background: none;
    color: #FFFFFF;
    transition: color 0.4s ease 0s;
    display: inline-block;
    padding: 0 10px;
    text-align: center;
    line-height: 30px;
}

#top-nav-ul li a:hover{
    color: #e88d05;
}

section.main_block {
    margin-top: 25px;
    height: auto;
    min-height: 600px;
    /*display: inline-block;*/
}

.pull-left {
    float: left;
    width: 66%;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.pull-left span {
    color: #fff;
    font-size: 30px;
}

.pull-right {
    float: right;
}
.container {
    overflow: hidden;
    max-width: 980px!important;
}

header .container {
    overflow: inherit;
}

.show-phone, .show-mail{
    position: relative;
}

.show-phone:hover .block-phone, .show-mail:hover .block-mail{
    display: block;
}


.block-phone, .block-mail{
    display: none;
    position: absolute;
    left: -50px;
    border: 1px solid;
    padding: 15px;
    font-size: 20px;
    top: 35px;
    width: 200px;
    line-height:  24px;
    /* margin-top: 15px; */
    text-align:  center;
    background: rgba(0,0,0,1);
}

.block-phone:hover, .block-mail:hover{
    display: block;
}

.block-phone a, .block-mail span{
    color: #fff;
    font-size: 20px !important;
}

.contact-block .icon{
    font-size: 30px;
    color: #fff;
}

.contact-block span{
    font-size: 30px;
    color: #fff;
}

.pull-left .contact-block span{
    line-height: 85px;
}

.slide-data{
    display: none;
}

.flex-control-nav {
    bottom: 5px;
}

.flex-control-paging li a {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border: 3px #ffffff;
    display: block;
    background: #FFFFFF;
    cursor: pointer;
    text-indent: -9999px;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
    padding: 0;
    margin: 0 !important;
}

.flex-control-paging li a.flex-active {
    background: rgba(0,0,0,0.3);
    cursor: default;
}

.flex-direction-nav a {
    width: 30px;
    height: 30px;
    color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
    -webkit-transition: all .3s ease;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.65);
}

.dropdown-menu li.menu-item{
    width: 100% !important;
}

.dropdown-menu li.menu-item .dropdown-menu{
    width: auto !important;
}

#top-nav-ul .dropdown-menu li:first-child{
    border-left: 1px solid #ffffff;
}

#top-nav-ul .dropdown-menu li:hover{
    border-left: 1px solid #E88D05;
}

.main_block {
    color: #ffffff;
}

.cat-description{
    color: #ffff;
}

.big-thumbnail.left {
    width: 33%;
    padding-right: 15px;
    padding-bottom: 15px;
    float: left;
}

.big-thumbnail.right {
    width: 33%;
    padding-left: 15px;
    padding-bottom: 15px;
    float: right;
}

.big-thumbnail.center {
    width: 100%;
    padding-bottom: 15px;
    float: initial;
}


.big-thumbnail img{
    width: 100%;
    height: auto;
}

.lang-block {

}

.lang-block ul {

}

.lang-block ul li {
    list-style: none;
    display: inline-block;
    height: 40px;
    width: 40px;
    background: none;
    border: solid transparent 5px;
    cursor: pointer !important;
    text-align: center;
    transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
}

.lang-block ul li:hover  {
    background-color: rgba(232, 141, 5, 1);
    border-color: rgba(70, 70, 70, 1);
}

.lang-block ul li:hover a {
    color:  rgba(70, 70, 70, 1);
    font-weight: bold;
}

.lang-block ul li a{
    font: normal normal bold 16px/1.3em 'Open Sans',sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 32px;
    transition: color 0.4s ease 0s;
    color: #FFFFFF;
    text-decoration: none;

}

.main_title {
    font-size: 26px;
    color: #fff;
}

.bth.main-buttom {
    list-style: none;
    display: inline-block;

    width: auto;
    background: none;
    border: solid transparent 5px ;
    border-color: #ffffff;
    font-size: 25px;
    color: #fff;
    cursor: pointer !important;
    text-align: center;
    transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
    margin-bottom: 10px;
    padding: 10px 45px;
}

.bth.main-buttom:hover {
    background-color: rgba(232, 141, 5, 1);
    border-color: rgba(70, 70, 70, 1);
    text-decoration: none;
}

article.products{
    /* max-height: 250px;
     min-height: 250px;
     overflow: hidden;*/
}

.lang-block ul{
    padding-left: 0;
}

.main_block{
    clear: both;
}

.main_block.white h1{
    color: #fff;

}
.main_block .thumbnail{
    background-color: rgba(0, 0, 0, 0.65);
}

.main_block .products:hover .thumbnail{
    background-color: rgba(232, 141, 5, 1);
    border-color: rgba(70, 70, 70, 1);
}

.main_block .products h2{
    color: #fff;
    text-decoration: none;
    text-align: center;
}

.main_block .products h2 a{
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 20px;
}

.post.type-post h2 a{
    color: #fff;
}

.pagination {
    text-align: center;
    color: #fff;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #000000;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #000000;
    border-color: #fff;
}

.col-sm-3.product {
    max-height: 250px;
    min-height: 250px;
    overflow: hidden;
}

.main_block .products:hover h2 a{
    color: rgba(232, 141, 5, 1);
}

footer {
    display: block;
    position: relative;
    height: 190px;
    background-color: rgba(0, 0, 0, 0.65);
    margin-bottom: 10px;
    margin-top: 30px;
}

footer .pull-left{
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

footer .pull-left .logo {
    height: 60px;
}

footer .footer {
    height: 190px;
    display:  flex;
    align-items:  center;
}

footer .pull-left .logo img{
    height: 100%;
    width: auto;
}

footer .pull-right{
    height: 100%;
    width: auto;
}

footer .pull-right .footer-phone {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

@media  (max-width: 900px) {
    .pull-left span{
        display: none;
    }

    .pull-left {
        width: 50%;
    }

    .top-header .pull-right {
        width: 45%;
    }

}

@media (max-width: 768px) {
    .pull-right {
        display: none !important;
    }

    .navbar {
        margin-top: 31px;
        z-index: 9;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: none;

    }

    #top-nav-ul li {
        width: 100%;
    }

    .navbar-nav {
        margin-top: 10px;
    }

    #top-nav-ul li {
        border-left: none;
    }

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        border: none;
        height: 100%;
        position: fixed;
        /*display: none;*/
        background: rgba(0,0,0,0.8);
        margin-top: 73px;
    }

    .dropdown-menu {
        position: initial;
        top: initial;
        left: initial;
        /* z-index: 1000; */
        display: block;
        float: initial;
        min-width: 160px;
        padding: 5px 0;
        margin: 2px 0 0;
        font-size: 14px;
        text-align: left;
        list-style: none;
        background-color: initial;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        border: 1px solid #ccc;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 4px;
        -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
        box-shadow: 0 6px 12px rgba(0,0,0,.175);
        text-align: center;
    }

    #top-nav-ul .dropdown-menu li:first-child {
        border-left: none;
    }
}