/*
Theme Name: rvtuning
Author: inside36.com
Author URI: http://inside36.com/
Description: rv-tuning.ru
Version: 1.0
License: None
Tags: fixed-layout
Text Domain: rv-tuning.ru
*/

body {
    background: url('images/bg.jpg') repeat 50% 0;
    font-family: 'Open Sans', sans-serif, arial;
    color: #fff;
}

.header {
    margin-bottom: 0;
}

.mainmenu {
    padding: 0;
}

.navbar-brand {
    height: auto;
    padding: 35px 10px 10px 0;
}

.footer-navbar .navbar-brand {
    padding-top: 13px;
}

.header-icons {
    margin: 40px 0 14px 40px;
}

.footer-navbar .header-icons {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 15px;
}

.header-contacts {
    text-align: right;
    margin-bottom: 5px;
}

.header-contacts__address {
    color: #a0a0a0;
    font-size: 12px;
    line-height: 14px;
}

.header-contacts__address span {
    display: inline-block;
    padding-left: 16px;
    background: url('images/header-contacts_address.png') no-repeat 0 50%;
}

.header-info {
	color: #DE0008;
	padding: 5px 0;
}

.footer-contacts {
    margin-top: 5px;
}

.footer-contacts__item {
    padding: 0 0 5px 23px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 16px;
}

.footer-contacts__address {
    background: url('images/footer-icons_address.png') no-repeat 0 2px;
}

.footer-contacts__address a,
.footer-contacts__email a {
    display: inline-block;
    font-size: 12px;
    line-height: 13px;
    padding-top: 3px;
    color: #dc0007;
    text-decoration: none;
    border-bottom: 1px #dc0007 dotted;
}

.footer-contacts__email a {
    font-size: 14px;
    line-height: 16px;
}

.footer-contacts__address a:hover,
.footer-contacts__email a:hover {
    border-bottom: none;
    padding-bottom: 1px;
}

.header-contacts__phone {
    font-size: 30px;
    line-height: 43px;
    color: #fff;
}

.footer-contacts__phone {
    background: url('images/footer-icons_phone.png') no-repeat 0 1px;
}

.footer-contacts__email {
    background: url('images/footer-icons_email.png') no-repeat 0 7px;
}

.header-contacts__worktime {
    color: #a0a0a0;
    font-size: 12px;
    line-height: 14px;
}

.mainmenu__list {
    display: inline-block;
    position: relative;
}

.mainmenu__list ul.sub-menu {
    display: none;
    position: absolute;
    z-index: 100;
    padding: 5px 10px;
    background: #383737 url('images/bg.jpg') repeat 0 0;
    list-style-type: none;
}

.mainmenu__list li:hover ul.sub-menu {
    display: block;
}

.mainmenu__list > li > a {
    color: #e9e9e9;
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px;
}

.mainmenu__list ul.sub-menu li {
    padding: 5px 0;
    line-height: 16px;
}

.mainmenu__list ul.sub-menu li a {
    color: #9c9c9c;
}

.mainmenu__list > li > a:hover,
.mainmenu__list > li > a:focus {
    color: #dc0007;
    background-color: transparent;
}

.icon-bar {
    background-color: #dc0007;
}

.navbar-toggle {
    border-color: #dc0007;
    position: absolute;
    top: 0;
    right: 0;
}

.topmenu {
    position: relative;
    min-height: 50px;
}

.mainmenu {
    overflow: hidden;
    margin-bottom: 0;
}

.mainmenu.collapse.in,
.mainmenu.collapsing {
    background-color: #201f1f;
}

.content {
    margin-top: 20px;
}

.h1, h1 {
    margin-top: 0;
    font-size: 22px;
    color: #dc0007;
    line-height: 24px;
    font-weight: bold;
}

.breadcrumbs {
    font-size: 12px;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: #dc0007;
}

.brandsmenu {
    border: 1px solid #770000;
    border-radius: 1px;
}

.brandsmenu__list {
    padding: 14px 0 1px 0;
    font-size: 12px;
    line-height: 14px;
}

.brandsmenu__list li {
    padding: 4px 10px 4px 33px;
    list-style-type: none;
    background: url('images/brandsmenu__li.png') no-repeat 21px 9px;
}

.brandsmenu__list a {
    color: #fff;
}

.brandsmenu__list a:hover {
    color: #dc0007;
}

.brandsmenu__list .current-menu-item a {
    color: #dc0007;
}

.footer {
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer-info a {
    text-decoration: underline;
}

.footer-info a:hover {
    text-decoration: none;
}

.footer-navbar {
    overflow: hidden;
}

.footer-info {
    color: #a3a3a3;
    font-size: 12px;
    line-height: 14px;
}

.footer-info a {
    color: #a3a3a3;
}

.top-inner-slider {
    background-color: rgba(220,0,7,0.2);
    border-radius: 2px;
    box-shadow: inset 0 0 10px #010101;
    position: relative;
    margin-bottom: 35px;
}

.header-car {
    background: radial-gradient(#fff0 0, #ffffff4d 41%, #fff0 67%);
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
}

.header-car img {
    margin-top: -5%;
}

.top-inner-slider ul {
    padding: 17px 0 9px;
    margin-bottom: 0;
}

.top-inner-slider ul li {
    color: #dc0007;
    font-size: 16px;
    line-height: 17px;
    text-transform: uppercase;
    padding: 6px 0 6px 63px;
    list-style-type: none;
    background: url('images/top-inner-slider_li.png') no-repeat 30px 3px;
    margin-bottom: 8px;
    position: relative;
    z-index: 99;
}

.panel-group {
    margin-bottom: 35px;
}

.panel-title {
    color: #dc0007;
    font-size: 14px;
}

.panel-default {
    background-color: rgba(255,255,255,0.03);
    border: none;
    border-radius: 0;
}

.panel-default > .panel-heading {
    background-color: rgba(255,255,255,0.03);
    border: none;
    border-radius: 0;
}

.panel-heading a {
    display: block;
    padding-right: 16px;
    background: url('images/collapse-up.png') no-repeat 100% 50%;
}

.panel-heading a.collapsed {
    background: url('images/collapse-down.png') no-repeat 100% 50%;
}

.panel-collapse {
    border-left: #dc0007 2px solid;
}

.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border: none;
}

.panel-body table td {
    border-bottom: 1px solid #2b2a29;
    color: #929292;
    padding: 3px 10px;
}

.panel-body table td strong {
    color: #fff;
    font-weight: normal;
}

.text h2 {
    font-size: 24px;
    line-height: 24px;
}

.text p a {
    color: #DC0007;
    text-decoration: underline;
}

.text p a:hover {
    text-decoration: none;
}

.col-auto {
    margin-bottom: 20px;
}

.col-auto img {
    border: 1px solid #2c2c2c;
}

a.auto-link {
    color: #dc0007;
}

.auto-link span {
    color: #dc0007;
    white-space: nowrap;
    overflow:hidden;
    font-size: 14px;
}

.slides .ms-image img {
    border-radius: 1px;
    box-shadow: inset 0 0 10px #010101;
}

.h-red {
    color: #dc0007 !important;
}

blockquote {
    font-size: 14px;
    border-left: 3px solid #dc0007;
}

blockquote ul {
    padding-left: 14px;
}

blockquote ul li {
    margin-bottom: 10px;
}

table.tablepress.table {
    border: 1px solid #373737;
}

table.tablepress.table thead th {
    background-color: #1b1a1a;
    border: 1px solid #373737;
    color: #dc0007;
}

table.tablepress.table tbody td {
    border: 1px solid #373737;
}

.contacts-page__address-item strong {
    color: #dc0007;
}

.contacts-page__address-item p {
    margin-bottom: 0;
    text-align: center;
}

.video-block {
    margin: 15px 0;
}

.gallery img {
    margin-bottom: 10px;
    max-width: 100%;
    height: auto;
}

#vk_like {
    margin: 5px 0 10px;
}

.wp-video, video.wp-video-shortcode, .mejs-container, .mejs-overlay.load {
	width: 100% !important;
	height: 100% !important;
}
.mejs-container {
	padding-top: 56.25%;
}
.video-quad .mejs-container {
	padding-top: 80%;
}
.video-vert .mejs-container {
	padding-top: 177%;
}
.wp-video, video.wp-video-shortcode {
	max-width: 100% !important;
}
video.wp-video-shortcode {
	position: relative;
}
.mejs-mediaelement {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.mejs-controls {
	display: none;
}
.mejs-overlay-play {
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto !important;
	height: auto !important;
}

@media(max-width:480px) {
    .navbar-brand {
        padding: 15px 0;
        float: none;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
    }
    .header-icons {
        margin: 15px 0;
        text-align: center;
    }
    .header-contacts {
        text-align: center;
    }
}

@media(max-width:768px) {
    .navbar-brand {
        padding: 15px 10px 0 0;
    }
    .header-icons {
        margin: 15px 0;
    }
    .mainmenu__list ul.sub-menu {
        display: block;
        position: relative;

        margin-left: 15px;
    }
}

@media(max-width:992px) {
    .mainmenu__list > li {
        background: url('images/mainmenu-seperator.png') no-repeat 0 50%;
        padding-left: 12px;
        padding-right: 12px;
        position: relative;
    }
    
    .mainmenu__list > li:last-child:after {
        content: "";
        position: absolute;
        right: 0;
        top: 21px;
        background: url('images/mainmenu-seperator.png') no-repeat 0 50%;
        display: block;
        height: 11px;
        width: 1px;
    }
	
	.video-quad .mejs-container {
		padding-top: 100%;
	}
}

@media(min-width:992px) {
    .mainmenu__list > li {
        background: url('images/mainmenu-seperator.png') no-repeat 0 50%;
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .mainmenu__list > li:last-child:after {
        content: "";
        position: absolute;
        right: 0;
        top: 21px;
        background: url('images/mainmenu-seperator.png') no-repeat 0 50%;
        display: block;
        height: 11px;
        width: 1px;
    }
}
