/*///////////////////////////////////////////////////////////////////*/
*
	{
	padding: 0;
	margin:  0;
	box-sizing:border-box;
	}
html, body {
background-image:url(../images/bg.jpg);
background-repeat:no-repeat;
background-color:#3e4464;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:white;
/*height: 100%; */
margin: 0;
padding: 0;
}
@font-face {
    font-family:'Century Gothic';
    src: url('/font/CenturyGothic/CenturyGothic.woff2') format('woff2'),
		url('/font/CenturyGothic/CenturyGothic.woff') format('woff');
	font-display: swap;
}
@font-face {
    font-family:'Century Gothic Bold';
    src: url('/font/CenturyGothic-Bold/CenturyGothic-Bold.woff2') format('woff2'),
		url('/font/CenturyGothic/CenturyGothic.woff') format('woff');
	font-display: swap;
}
/******************************* GRID ********************************/
.grid {
display:grid;
grid-template-columns:368px 1fr 1fr 1fr;
grid-template-rows: auto-fill;
}
.grid div {
/* padding:0px; */
}
.grid div:nth-child(1) {
grid-column:1 / 1;
grid-row:1;
text-align:center;
}
.grid div:nth-child(2) {
grid-column:2 / 2;
grid-row:1;
padding:16px 0px 0px 60px;
}
.grid div:nth-child(3):not(.menu-footer-logo) {
grid-column:3 / 3;
grid-row:1;
text-align:right;
padding:16px 20px 0px 0px;
background:linear-gradient(100deg, #3e4464, #181d3d);
}
.grid div:nth-child(4) {
grid-column:4 / 4;
grid-row:1;
background-color:#181d3d;
}
.grid div:nth-child(5) {
grid-column:1 / 1;
grid-row:2;
border-top:7px solid #000000;
border-bottom:7px solid #000000;
background-color:#000000;
background-size: cover;
position: relative;
filter: blur(0px);
width:368px;
height:155px;
}
.grid div:nth-child(6) {
border-top:7px solid #000000;
border-bottom:7px solid #000000;
background-color:#000000;
padding:20px 0px 0px 50px;
grid-column:2 / -1;
grid-row:2;
}
.grid div:nth-child(7) {
grid-column:1 / -1;
grid-row:3;
border-bottom:4px solid #000000;
}
.grid div:nth-child(8) {
grid-column:1;
grid-row:4 / 5;
background-color:#252b4a;
}
.grid div:nth-child(9) {
grid-column:2 / -1;
grid-row:4 / 5;
padding:10px 20px 0px 55px;
}
.grid div:nth-child(10) {
grid-column:1 / 1;
grid-row:5;
background-color:#000000;
text-align:center;
}
.grid div:nth-child(11) {
background-image:url(../images/b_000.jpg);
background-repeat:no-repeat;
grid-column:2 / -1;
grid-row:5;
background-color:#d5dee5;
}
/******************************* MENU ********************************/
.menu {
display:block;
background-color:#252b4a;
width:100%;
height:auto;
padding:10px 20px;
text-transform:uppercase;
}
.menu-child {
display:block;
background: linear-gradient(to bottom, #999999, #3e4464, #252b4a);
border-left:1px solid black;
border-top:1px solid white;
border-right:2px solid black;
border-bottom:1px solid black;
border-radius: 25px 25px 15px 15px;
margin:3px 0px 3px 0px;
padding-bottom:3px;
text-shadow: -1px -1px 1px black;
}
.menu-child:hover {
transition: all 0.2s ease-out;
transform:scale(1.0, 1.0);
box-shadow:0 0 10px #FF9900, 1px 1px 150px #fbfaf9 inset;
color:#3e4464;
text-shadow:0px 0px 0px white;
}
/******************************* A-HREF *******************************/
a {
text-decoration:none;
text-align:center;
font-family:Arial, Helvetica, sans-serif;
color:#FFFFFF;
}
a:hover {
cursor:pointer;
color:#FF9900;
}
/****************************** BUTTONS ******************************/
button {
padding:3px 5px;
margin-top:10px;
border:0px;
border-radius:3px;
text-transform:uppercase;
cursor:pointer;
min-width:120px;
}
.b-grey {
background: linear-gradient(to top, #c0c4ce, #e0e2e7);
-webkit-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
color:#3e4464;
text-shadow: 1px 1px 1px #999999;
}
.b-grey:hover {
background: linear-gradient(to bottom, #c0c4ce, #e0e2e7);
text-shadow: 1px 1px 1px #CCCCCC ;
}
.b-black {
background-color:#000000;
-webkit-box-shadow: 2px 4px 0px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 2px 4px 0px 0px rgba(0, 0, 0, 0.2);
box-shadow: 2px 4px 0px 0px rgba(0, 0, 0, 0.2);
color:#FFFFFF;
margin-top:40px;
margin-bottom:40px;
}
.b-black:hover {
background-color:#050505;
}
/***************************** ORANGE COLOR **************************/
.orange {
color:#FF9900;
}
/***************************** RUBLIC TEXT ***************************/
h1 {
font-family:Century Gothic;
font-size:48px; /* was before 3em*/
color:#FFF;
display:inline-block;
text-transform:uppercase;
}
.before {
position:absolute;
-webkit-background-clip: text !important;
-webkit-text-fill-color: transparent;
background-image: linear-gradient(0deg, #ccc 0%, #9d9d9c 50%,  #fff 70%, #fff 100%);
z-index:2;
}
.after {
position:relative;
-webkit-text-fill-color: transparent;
z-index:1;
text-shadow:2px 2px 2px rgb(0, 10, 20);
}
/*********************************** HR *******************************/
hr {
margin: 20px 0;
padding: 0;
height: 0;
border: none;
border-top: 2px dotted #8d90a0;
}
/******************************** H2-H4-H5 ****************************/
h2 {
font-family:Century Gothic Bold;
}
h4, h5 {
font-family:Century Gothic;
text-transform:uppercase;
line-height:1.2;
position: relative;
top: 50%;
transform: translateY(-50%);
}
/************************ PICTURE's BORDER STYLE ***********************/
.pic-border {
display:block;
border-color:#fff;
border-width: 5px;
border-style: outset;
border-radius: 4px;
box-shadow: inset 1px 1px 0px black;
}
.img-border {
border-left:1px solid black;
border-top:1px solid black;
border-right:1px solid white;
border-bottom:1px solid white;
}
/***************************** CAR GALLERY ****************************/
.top-pic_size {
width:580px;
}
.car-gallery {
width:600px;
display:flex;
flex-wrap: wrap;
align-content: stretch;
justify-content: space-around;
}
.small-pic {
margin:5px 0px;
}
/************************** CARS ON MAIN PAGE *************************/
.box {
display:flex;
float:left;
width: 50%;
padding-top:15px;
padding-bottom:10px;
flex-direction:row;
}
.box-item {
height:auto;
padding-right:10px;
}
.main-text {
display:inline-block;
padding-top:20px;
padding-bottom:20px;
text-align:justify;
}
/********************** LIST OF CARS ON CAR PAGE **********************/
.cars {
display:flex;
padding-top:15px;
padding-bottom:10px;
flex-direction:row;
}
.car-short-data {
text-align:right;
min-width:150px;
max-width:150px;
}
.car-descr, .child {
flex-grow:1;
}
.cars-item {
height:auto;
padding-right:10px;
}
/***************************** CHOICHERS ******************************/
.search_form_title {
font-family:Century Gothic;
text-transform:uppercase;
font-size:3em;
}
.choichers {
    padding: 10px 10px 10px 15px;
	margin: 10px 25px 100px 25px;
	display:block;
	background: radial-gradient(circle at top left, #d4d4d4, #bfbfbf);
	border-color: #fff;
	border-width: 5px;
	border-style: outset;
	border-radius: 2px;
    box-shadow: inset 0px 0px 2px rgba(0, 0, 0, .8);
	color:#333333;
}
input, select {
    border: 1px solid #DADADA;
    background: #F9F9F9;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .35);
    -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .35);
	text-shadow:1px 1px 1px rgba(0, 0, 0, .2);
    font-family: Arial, Helvetica, sans-serif;
    color: #747474;
    font-size: 1.3em;
    font-style: normal;
    margin-top: 1px;
    padding: 5px;
    width: 83px;
    outline: none;
}
form label {
    font-family: Arial;
    font-size: 1.3em;
	font-weight:bold;
    color: #5D5D5D;
}
select#marka {
    background: #F9F9F9;
    background-position:10px;
    padding-left: 5px;
	width: 98%;
}
select#year {
    background: #F9F9F9;
    background-position:10px;
    padding-left: 5px;
	width: 48%;
}
input#go {
	background:-webkit-gradient
	(linear, left bottom, left top,
	color-stop(0.39, rgb(220,220,220)),
	color-stop(0.7, rgb(250,250,250)));
	background:-moz-linear-gradient(center bottom,
	rgb(220,220,220) 39%,
	rgb(250,250,250) 70%);
	border:1px solid #999;
	-moz-box-shadow:0px 0px 0px #999;
	-webkit-box-shadow:0px 0px 0px #999;
	box-shadow:0px 0px 3px #999;
    background-position:10px;
    padding-left: 5px;
	margin: 30px 0px 15px 0px;
	width: 98%;
	outline: none;
}
input#go:hover {
	background:-webkit-gradient
	(linear, left bottom, left top,
	color-stop(0.39, rgb(250,250,250)),
	color-stop(0.7, rgb(220,220,220)));
	background:-moz-linear-gradient(center bottom,
	rgb(252,222,163) 0%,
	rgb(255,243,220) 100%);
    background-position:10px;
	-moz-box-shadow:0px 0px 0px #FF9900;
	-webkit-box-shadow:0px 0px 0px #FF9900;
	box-shadow:0px 0px 3px #FF9900;
    padding-left: 5px;
	outline: none;
	cursor: pointer;
	color:#FF9900;
	border-color:#FF9900;
}
form #marka:hover, #year:hover {
	background-color: #ffeecc;
	cursor: pointer;
}
/**************************** MEDIA - 900px ****************************/
@media screen and (max-width:900px) {
body {
font-size:1em;
}
.grid {
grid-template-columns:1fr;
}
.grid div:nth-child(2),
.grid div:nth-child(3),
.grid div:nth-child(4),
.grid div:nth-child(6),
.grid div:nth-child(7),
.grid div:nth-child(11),
.hidden
{
display:none;
}
.grid div:nth-child(1) {
grid-row:1;
}
.grid div:nth-child(5) {
grid-row:2;
text-align:center;
background:url(../uploads/catalog/ru_s_objects_rnd_img_1.jpg) repeat-x center;
width:100vw;
height:155px;
}
.grid div:nth-child(8) {
grid-row:3;
}
.grid div:nth-child(9) {
grid-column:1 / 1;
grid-row:4;
text-align:center;
padding:20px 5px 20px 5px;
}
.grid div:nth-child(10) {
grid-column:1 / 1;
grid-row:5;
}

h1 {
padding:0px 5px 0px 5px;
display:compact;
/*font-size:max(3em, min(3em, 5.333vw));*/
/*font-size: calc( (100vw - 320px)/(899px - 320px) * (50px - 25px));*/
/*was before 1em*/
}
.before {
position:relative;
background-image: linear-gradient(0deg, #fff 0%, #fff 100%);
/* text-shadow:2px 2px 2px rgb(0, 10, 20); */
z-index:0;
}
.after {
display:none;
}
h4, h5 {
font-size:1.0em;
}
.choichers {
margin: 5px 25px 20px 25px;
}
.box {
padding-left:20px;
padding-right:10px;
width: 100%;
}
.child {
flex-grow:1;
text-align:left;
padding-left:10px;
}
.main-text {
display:inline-block;
padding-left:10px;
padding-right:10px;
text-align:justify;
}
.top-pic_size, .car-gallery {
width:100%;
}
.cars {
display:flex;
padding-top:20px;
justify-content:center;
flex-direction: column;
}
.car-short-data {
text-align:center;
width:100%;
max-width:100%;
}
.car-descr {
width:100%;
}
.cars-item {
padding-right:0px;
margin-bottom:10px;
margin: 5px auto;
}
.car-gallery {
width:100%;
display:flex;
flex-wrap: wrap;
align-content: stretch;
justify-content: space-around;
}
}
/*************************** MEDIA - 400px ****************************/
@media screen and (max-width:400px) {
html, body {
max-width: 100%;
}

h1 {
padding:0px 5px 0px 5px;
font-size:16px;
color: #FFFF00;
}
/*/////////////////////////////////////////////////////////*/
.after {
display:none;
}
/*/////////////////////////////////////////////////////////*/

h4, h5 {
font-size:0.6em;
}
}

@media only screen
    and (device-width : 375px)
    and (device-height : 812px)
    and (-webkit-device-pixel-ratio : 3) {
/*/////////////////////////////////////////////////////////*/
.after {
display:none;
}
/*/////////////////////////////////////////////////////////*/

h2 {
font-size:1em;
color: #FFFF00;
}
}