/*   
Theme Name: 143kazprokat
*/

*{
margin: 0;
padding: 0;
border: 0;
}

html {
overflow-y: scroll;
}

body {
overflow-x: hidden;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
display: block;
}

@font-face {
font-family: roboto;
src: url(font/robotoregular.ttf);
}

@font-face {
font-family: robotobold;
src: url(font/robotobold.ttf);
}

#wrap {
margin: 0 auto;
width: 100%;
max-width: 2000px;
min-width: 300px;
overflow-x: hidden;
background: url(img/fon.png);
font: 17px roboto;
line-height: 1.4;
color: #f5f5f5;
}

img {
padding: 0;
margin: 0;
border: 0;
max-width: 100%;
height: auto;
}

p {
margin: 0 0 1em 0;
}

#header {
width: 100%;
background: url(img/header.png) repeat-x;
box-shadow: 0 2px 4px 0 rgb(0 0 0 / 10%);
}

header {
margin: 0 auto;
width: 100%;
max-width: 1200px;
height: 120px;
position: relative;
}

#logo {
position: absolute;
left: 1px;
top: 15px;
width: 300px;
}

#address {
position: absolute;
right: 400px;
top: 45px;
}

#address a {
font: 16px roboto;
color: #ccc;
text-decoration: none;
padding: 10px 0 10px 40px;
background: url(img/gis.png) no-repeat;
background-size: 35px auto;
background-position: 0 3px;
}

#address2 {
display: none;
padding: 15px 20px;
}

#address2 a {
font: 16px roboto;
color: #ccc;
text-decoration: none;
padding: 10px 0 10px 40px;
background: url(img/gis.png) no-repeat;
background-size: 35px auto;
background-position: 0 3px;
}

#phone {
position: absolute;
right: 1px;
top: 35px;
padding: 0 0 0 40px;
background: url(img/phone.svg) no-repeat;
background-size: 35px auto;
background-position: 0 3px;
}

#phone a {
font: 16px roboto;
color: #ccc;
text-decoration: none;
display: block;
}

#menu {
width: 100%;
z-index: 99;	
height: 50px;
background: #C32420;
}

.center {
margin: 0 auto;
width: 100%;
max-width: 1200px;
}

#car {
padding: 50px 0 70px 0;
margin: 0 auto;
width: 100%;
max-width: 1200px;
}

.incar {
position: relative;
overflow: hidden;
border-radius: 5px;
}

.incar img {
display: block;
}

.cartext {
position: absolute;
top: 0;
left: 5%;
display: flex;
align-items: center;
height: 100%;
}

.car h1 {
color: #fff;
margin: 0 0 20px 0;
font: 50px/60px robotobold;
}

.info {
white-space: nowrap;
font: 20px roboto;
margin: 0 0 30px 0;
color: #fff;
}

#car a {
color: #fff;
padding: 15px 40px;
border-radius: 25px;
background: #C32420;
display: inline-block;
text-decoration: none;
font: 18px roboto;
}

#homecatalog {
margin: 0 0 100px 0;
}

#about h2 {
margin: 0 0 50px 0;
font: 30px/30px robotobold;
color: #fff;
}

#about p {
color: #fff;
}

#section {
margin: 0 auto;
width: 100%;
max-width: 1200px;
}

article h1, article h2, article h3 {
text-align: center;
}

article a, p a {
color: #000DFF;
text-decoration: underline;
}

article a:hover {
text-decoration: none;
}

article table {
border-collapse: collapse;
margin: 0 0 1em 0;
}

article td, article tr {
border: 2px solid #000DFF;
padding: 10px;
}

article ol {
list-style-position: inside;
margin: 0 0 2em 0;
}

article ul {
list-style: none;
list-style-position: inside;
margin: 0 0 2em 1em;
}

article ul li {
margin: 0 0 1em 0;	
}

article ul li::before {
content: "\2022";
color: #C32420;
font-weight: bold;
display: inline-block;
width: 1em;
margin-left: -1em;
}

article ol li {
margin: 0 0 1em 0;	
}

#two {
display: grid;
grid-gap: 10px 4%;
grid-template-columns: 38% 58%;
margin: 0 auto;
width: 100%;
max-width: 1200px;
padding: 50px 0 0 0;
}

#two img {
border-radius: 5px;
overflow: hidden;
}

#two h1 {
color: #fff;
margin: 0 0 20px 0;
font: 40px/40px robotobold;
text-align: left;
}

.singleprice {
font: 21px robotobold;
color: #C32420;
margin: 0 0 20px 0;
}

.singlewhatsapp {
font: 16px/20px roboto;
margin: 0 0 20px 0;
}

.singlewhatsapp a {
color: #fff;
padding: 12px 25px;
border-radius: 8px;
background: #C32420;
display: inline-block;
text-decoration: none;
}

#whatsapp {
position: fixed;
right: 10px;
bottom: 10px;
z-index: 99999999;
width: 50px;	
}

#whatsapp img {
display: block;	
}

h1 {
color: #fff;
margin: 50px 0 20px 0;
font: 40px/40px robotobold;
}

h2 {
color: #fff;
margin: 0 0 40px 0;
font: 35px/35px robotobold;
text-align: center;
}

h3 {
color: #fff;
margin: 20px 0 20px 0;
font: 30px/30px robotobold;
text-align: center;
}

#myfooter {
width: 100%;
margin: 150px 0 0 0;
padding: 100px 0 0 0;
background: #000;
}

#myfooter p {
font: 18px robotobold;
color: #C32420;
}

#myfooter a {
font: 14px roboto;
color: #f5f5f5;
text-decoration: none;
}

footer {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 0 50px 0;
display: grid;
grid-gap: 10px 2%;
grid-template-columns: auto auto 170px;
}

footer ul li {
list-style: none;
}

footer a {
font: 14px roboto;
text-decoration: none;
display: block;
margin: 0 0 15px 0;
}

#copy {
padding: 5px 0 25px 0;
text-align: center;
}

#copy p {
font: 13px roboto;
margin: 0 0 0 0;
padding: 20px 0 0 0;
color: #f7f7f7;
}

#copy a {
font: 13px roboto;
text-decoration: none;
}

#gallery {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 32% 32% 32%;
text-align: center;
}

#catalog {
display: grid;
grid-gap: 40px 4%;
grid-template-columns: 22% 22% 22% 22%;
text-align: center;
}

#catalog div {
background: #444;
padding: 0 0 15px 0;
overflow: hidden;
border-radius: 5px;
}

#catalog img {
display: block;
margin: 0 auto;
}

#catalog h3 {
font: 20px/20px robotobold;
color: #fff;
margin: 25px 0 0 0;
}

.price {
font: 16px/20px roboto;
color: #fff;
margin: 20px 0 0 0;
}

.whatsapp {
font: 16px/20px roboto;
margin: 20px 0 0 0;
}

.whatsapp a {
color: #fff;
padding: 12px 25px;
border-radius: 8px;
background: #C32420;
display: inline-block;
}

#catalog a {
text-decoration: none;
}

table {
border-collapse: collapse;
width: 100%;
}

td, tr {
border: 1px solid #333;
padding: 3px;
}

img.alignright {
float: right;
margin: 0 10px 3px 5px;
}

img.alignleft {
float: left;
margin: 0 10px 3px 0;
}

img.aligncenter {
display: block;
margin: 0 auto;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}

.aligncenter {
display: block;
margin: 0 auto;
}

.error {
color: red;
}

.clear {
width: 100%;
height: 1px;
clear: both;
}

.myvideo {
position: relative;
padding: 30px 0 56.25% 0;
height: 0;
overflow: hidden;
border: 1px solid #ccc;
}

.myvideo iframe,.myvideo object,.myvideo embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

article ul, article ol, .text ul, .text ol {
list-style-position: inside;
}

article ul li, article ol li {
list-style-position: inside;
}

.closebtn, #hamburger, #menucontact {
display: none;
}

#mymenu {
width: 100%;
max-width: 1200px;
margin: 0 auto;
}

#mymenu ul li {
float: left;
list-style: none;
position: relative;	
}

#mymenu ul li a {
font: 16px roboto;
padding: 15px 15px;
color: #f5f5f5;
text-decoration: none;
display: block;	
}

#mymenu ul li ul {
display: none;	
}

#mymenu ul li:hover ul {
position: absolute;
top: 47px;
display: block;
z-index: 9;
}

.myspan {
position: relative;
}

.myspan span {
cursor: pointer;
display: none;
color: red;
font: bold 16px roboto;
}

#mymenu ul li span {
position: absolute;
top: 15px;
right: 5px;
}

#mymenu ul li ul li a {
font: 14px roboto;
padding: 15px 20px;
color: #fff;
background: #333;
text-decoration: none;
display: block;
width: 200px;
}

/* Preload images */
body:after {
  content: url('img/close.png') url('img/loading.gif') url('img/prev.png') url('img/next.png');
  display: none;
}

body.lb-disable-scrolling {
  overflow: hidden;
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: black;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  max-height: none;
  border-radius: 3px;

  /* Image border */
  border: 4px solid white;
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  border-radius: 4px;

  /* Background color behind image.
     This is visible during transitions. */
  background-color: white;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url('img/loading.gif') no-repeat;
}

.lb-nav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}

.lb-nav a.lb-prev {
  width: 34%;
  left: 0;
  float: left;
  background: url('img/prev.png') left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-prev:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-next {
  width: 64%;
  right: 0;
  float: right;
  background: url('img/next.png') right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}

.lb-nav a.lb-next:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 13px;
  font-weight: bold;
  line-height: 1em;
}

.lb-data .lb-caption a {
  color: #4ae;
}

.lb-data .lb-number {
  display: block;
  clear: left;
  padding-bottom: 1em;
  font-size: 12px;
  color: #999999;
}

.lb-data .lb-close {
  display: block;
  float: right;
  width: 30px;
  height: 30px;
  background: url('img/close.png') top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

button {
margin: 0;
padding: 0;
background: none;
border: none;
border-radius: 0;
outline: none;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
cursor: pointer;
}

.slide-arrow {
position: absolute;
top: 50%;
margin-top: -15px;
z-index: 99999;  
}

#brands .prev-arrow {
left: -10px;
width: 0;
height: 0;
border: solid #333;
border-width: 0 4px 4px 0;
display: inline-block;
padding: 8px;
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
}

#brands .next-arrow {
right: -10px;
width: 0;
height: 0;
border: solid #333;
border-width: 0 4px 4px 0;
display: inline-block;
padding: 8px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

.prev-arrow {
left: 15px;
width: 0;
height: 0;
border: solid #fff;
border-width: 0 4px 4px 0;
display: inline-block;
padding: 8px;
transform: rotate(135deg);
-webkit-transform: rotate(135deg);
}

.next-arrow {
right: 15px;
width: 0;
height: 0;
border: solid #fff;
border-width: 0 4px 4px 0;
display: inline-block;
padding: 8px;
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}

#brands .slick-slide {
margin: 0 27px;
}

@media only screen and (max-width:1200px){
article, .center {
width: 96%;
padding: 0 2% 0 2%;	
}
}

@media only screen and (max-width:1100px){
header {
margin: 0 auto;
width: 100%;
max-width: 1200px;
height: 70px;
position: relative;
}
#logo {
position: absolute;
top: 12px;
left: 1px;
width: 150px;
}
#phone {
position: absolute;
right: 50px;
top: 18px;
padding: 0 0 0 0;
background: transparent;
}
#phone a {
font: 16px roboto;
text-decoration: none;
display: block;
}
#address {
display: none;
}
#address2 {
display: block;
}
#hamburger {
position: absolute;
right: 1px;
top: 20px;
cursor: pointer;
display: inline-block;
}
#menu {
background: rgba(14, 15, 8, 0.9);
margin: 0 0 0 0;
height: 100%;
width: 0;
max-width: 800px;
position: fixed;
z-index: 9999999;
top: 0;
left: 0;
overflow-x: hidden;
transition: 0.2s;
padding-top: 30px;
}
#menu .closebtn {
position: absolute;
top: 0;
right: 0;
font-size: 36px;
padding: 0 10px 0 10px;
line-height: 1;
color: rgba(0, 153, 255, 0.9);
background: #F6000E;
color: #fff;
text-decoration: none;
display: block;
}
#menu {
border-top: none;
}
#menucontact {
display: block;	
}
#mymenu ul li {
float: none;
display: block;
list-style: none;
position: relative;	
}
#mymenu ul li a {
font: 20px roboto;
padding: 15px 20px;
color: #fff;
text-decoration: none;
display: block;	
}
.myspan span {
display: block;
border: solid white;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 5px;
transform: rotate(45deg);
-webkit-transform: rotate(45deg);
}
#mymenu ul li:hover ul {
position: relative;
top: 0;
display: none;
}
#mymenu ul li ul {
display: none;	
}
#mymenu ul li ul li a {
font: 16px roboto;
padding: 15px 20px;
color: #fff;
background: #333;
text-decoration: none;
display: block;
width: 100%;
}
}

@media only screen and (max-width:800px){
#car {
padding: 0 0 10px 0;
}
.incar {
border-radius: 0;
}
.cartext {
position: absolute;
top: 0;
left: 20px;
display: flex;
align-items: center;
}
#car h1 {
color: #fff;
margin: 0 0 10px 0;
font: 20px/20px robotobold;
text-align: left;
}
.info {
white-space: nowrap;
font: 12px roboto;
margin: 0 0 10px 0;
}
#car a {
color: #fff;
padding: 12px 20px;
border-radius: 25px;
background: #C32420;
display: inline-block;
text-decoration: none;
font: 14px roboto;
}
#homecatalog {
margin: 0 0 50px 0;
}
#about h2 {
margin: 0 0 10px 0;
font: 25px/25px robotobold;
color: #fff;
}
.links {
margin: 30px 0 30px 0;
text-align: center;
}
.links a {
font: 16px roboto;
display: inline-block;	
}
h1 {
margin: 30px 0 20px 0;
font: 25px/25px robotobold;
text-align: center;
}
h2 {
margin: 20px 0 20px 0;
font: 23px/23px robotobold;
text-align: center;
}
h3 {
margin: 20px 0 20px 0;
font: 21px/21px robotobold;
text-align: center;
}
footer {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 49% 49%;
width: 98%;
margin: 0 auto;
}
footer ul li {
list-style: none;	
}
#myfooter p {
margin: 10px 0 20px 0;
}
#gallery {
display: grid;
grid-gap: 10px 2%;
grid-template-columns: 32% 32% 32%;
text-align: center;
}
#catalog {
display: grid;
grid-gap: 30px 4%;
grid-template-columns: 48% 48%;
text-align: center;
}
#catalog h3 {
font: 16px/16px robotobold;
color: #fff;
margin: 20px 0 0 0;
}
.price {
font: 16px/20px roboto;
color: #fff;
margin: 20px 0 0 0;
}
.whatsapp {
font: 16px/20px roboto;
margin: 20px 0 0 0;
}
.whatsapp a {
color: #fff;
padding: 12px 20px;
border-radius: 8px;
background: #C32420;
display: inline-block;
font: 14px roboto;
}
#two {
display: grid;
grid-gap: 10px 0;
grid-template-columns: 100%;
padding: 0 0 0 0;
}
#two img {
border-radius: 0;
overflow: hidden;
}
#two h1 {
color: #fff;
margin: 20px 0 20px 0;
font: 20px/25px robotobold;
text-align: left;
}
.singleprice {
font: 18px robotobold;
color: #C32420;
margin: 0 0 20px 0;
}
.singlewhatsapp {
font: 14px/20px roboto;
margin: 0 0 20px 0;
}
.singlewhatsapp a {
color: #fff;
padding: 8px 20px;
border-radius: 8px;
background: #C32420;
display: inline-block;
text-decoration: none;
}
}