/*
Theme Name: LimoRivne
Description:
Version: 1.0
Author: Web Set
URL: http://web-set.org
*/



* {
	margin: 0;
	padding: 0;
}

/* Задаем сброс обтекания */
.clear {
	margin-top: -1px;
	height: 1px;
	clear:both;
	zoom: 1;
}

#langblock {
	position: fixed;
	z-index: 50;
	top: 50%;
	right: 0px;
	margin-top: -27px;
	padding: 5px 10px;
	background: #fff;
	border-radius: 3px 0px 0px 3px;
	-webkit-border-radius: 3px 0px 0px 3px;
	-moz-border-radius: 3px 0px 0px 3px;
	-o-border-radius: 3px 0px 0px 3px;
}
#langblock ul li {
	list-style-type: none;
}



body {
	background: url("img/bg.jpg") no-repeat;
	background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;

	font-family: Calibri, Arial;
}


#header {
	width: 1000px;
	margin: 30px auto;
}

/*-----  LOGO HOME PAGE ----------*/

#logo-home {
	width: 400px;
	margin: 40px auto 0px auto;
}

#logo-home img {
	width: 400px;
	border: none;
}


/*---------- LOGO ------------*/

#logo {
	width: 250px;
	float: left;
}

#logo img {
	width: 250px;
	border: none;
}



/*------  NAVIGATION ------*/

#nav {
	width: 700px;
	float: right;
	margin-top: 10px;
}


#nav li {
	width: auto;
	margin: 0 10px;
	float: left;
	list-style-type: none;
}

#nav li a {
	display: block;
	background: #fff;
	color: #ac0d0d;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 900;
	padding: 5px 10px;

	border-radius: 15px;
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
         -o-border-radius: 15px;
}

#nav li a:hover {
	background: #ac0d0d;
	color: #fff;
}


.current {
	background: #ac0d0d!important;
	color: #fff!important;
}



#mob-nav {
    width: 40px;
    height: 40px;
    display: none;
    position: absolute;
    top: 42px;
    right: 5%;
    text-align: center;
    cursor: pointer;
    z-index: 8000;
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}

#nav.activeBlock {
	display: block !important;
	padding-top: 80px;
	z-index: 5;
}

#nav.activeBlock li {
    width: 100%;
    margin: 5px 0;
    float: none;
    text-align: center;
}

#nav.activeBlock li a {
	padding: 10px;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-o-border-radius: 0px;
}

#mob-nav p {
    width: 40px;
    line-height: 40px;
    height: 2px;
    background: #c32329;
    margin-top: 10px;
}

#mob-nav p::before, #mob-nav p::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #c32329;
    position: absolute;
    top: 10px;
    rigth: 15px;
    display: block;
}

#mob-nav p::before {
    margin-top: -15px;
}

#mob-nav p::after {
    margin-top: 15px;
}


.openCloseNavIcon p {
    background-color: rgba(0,0,0,0.0) !important;
}
.openCloseNavIcon p::before {
    content: "";
    margin-top: 0 !important;
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.openCloseNavIcon p::after {
    content: "";
    margin-top: 0 !important;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}


/*---------  end navigation -----------*/

.home .tel-top {
	position: absolute;
	top: 40px;
	right: 150px;
}

.tel-top {
	text-transform: uppercase;
	font-size: 30px;
	color: #000;
	width: 250px;
	text-align: center;
	padding-top: 15px;
	float: left;
}

.action-top {
	width: calc(100% - 300px);
	padding-top: 15px;
	margin-right: 50px;
	text-align: right;
	color: #fff;
	font-size: 20px;
	float: right;
}

.action-top .action-img img {
	width: 75px;
	height: auto;
	border: 0;
	cursor: pointer;
}

.action-top .action-text {
	display: none;
}

.active-action {
	display: block !important;
}

.deactive-action {
	display: none !important;
}



/*--------  title ------*/
#title {
	widht: 100%;
	height: 100px;
	line-height: 100px;
	margin-top: -40px;
	background: rgba(0,0,0,.4);
	color: #fff;
	text-transform: uppercase;
	font-weight: 900;
	font-size: 30px;
	text-align: center;
}




#wrapper {
	width: 1000px;
	margin: 50px auto;
	float: none;
}

#wrapper p {
	margin-top: 15px;
	text-indent: 40px;
	font-size: 18px;
	line-height: 25px;
	color: #5b2c03;
	text-align: justify;
}




/*---------  single  -----------*/

#gal {
	width: 500px;
	float: left;
	margin: 0 20px 20px 0;
	display: block;
}

#gal #first {
	width: 500px;
	height: auto;
	margin-bottom: 20px;
}

#gal #first img {
	width: 500px;
	height: auto;
	background: #fff;
	border: 5px #ac0d0d solid;
}

#gal #thumb {
	width: 500px;
	height: auto;
	text-align: center;
}

#gal #thumb img {
	width: 80px;
	height: 80px;
	margin: 7px;
	float: left;
	border: 3px #ac0d0d solid;
}

#desc-avto {
	margin-bottom: 50px;
	text-align: center;
}

#desc-avto span {
	margin-right: 40px;
}

/*------- order ----------*/

#order {
	float: right;
	display: block;
	width: 400px;
	margin: -10px 50px 40px 10px;

}

#order #label {
	float: left;
	width: 120px;
}


#order .input {
	float: right;
	width: 250px;
	padding: 5px 7px;
	border: 1px #909090 solid;
}

#order .input:focus {
	border: 1px #ac0d0d solid;
	background: #fff6f6;
	color: #ac0d0d;
}

#order .input2 {
	float: right;
	margin: 7px 20px 0 0;
}


#order #submit {
	border: 1px #ac0d0d solid;
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	padding: 10px;
	border-radius: 10px;
	width: 260px;
	float: right;
	cursor: pointer;

	background: #ac0d0d;
	background: -moz-linear-gradient(top, #fff 0%, #ac0d0d 20%, #ac0d0d 50%, #860808 51%, #ac0d0d 100%);
	background: -webkit-linear-gradient(top, #fff 0%, #ac0d0d 20%, #ac0d0d 50%,#9a0a0a 51%,#ac0d0d 100%);
	background: -o-linear-gradient(top, #fff 0%, #ac0d0d 20%, #ac0d0d 50%,#9a0a0a 51%,#ac0d0d 100%);
	background: -ms-linear-gradient(top, #fff 0%, #ac0d0d 20%, #ac0d0d 50%,#9a0a0a 51%,#ac0d0d 100%);
	background: linear-gradient(top, #fff 0%, #ac0d0d 20%,, #ac0d0d 50%, #9a0a0a 51%,#ac0d0d 100%);
}


#order #submit:hover {
	background: #860808;
	background: -moz-linear-gradient(top, #ac0d0d 0%, #860808 50%, #ac0d0d 51%, #ac0d0d 85%, #fff 100%);
	background: -webkit-linear-gradient(top, #ac0d0d 0%, #860808 50%, #ac0d0d 51%, #ac0d0d 85%, #fff 100%);
	background: -o-linear-gradient(top, #ac0d0d 0%, #860808 50%, #ac0d0d 51%, #ac0d0d 85%, #fff 100%);
	background: -ms-linear-gradient(top, #ac0d0d 0%, #860808 50%, #ac0d0d 51%, #ac0d0d 85%, #fff 100%);
	background: linear-gradient(top, #ac0d0d 0%, #860808 50%, #ac0d0d 51%, #ac0d0d 85%, #fff 100%);
}





/*-----------  CALENDAR ----------------*/

.tcalInput {
	background: #fff url('img/cal.gif') 98% 50% no-repeat;
	cursor: pointer;
}


.tcalActive {
	background-image: url('img/no_cal.gif');
}

#tcal {
	position: absolute;
	visibility: hidden;
	z-index: 100;
	width: 260px;
	background-color: white;
	margin-top: 2px;
	padding: 0 2px 2px 2px;
	border: 1px solid silver;

	-moz-box-shadow: 3px 3px 4px silver;
	-webkit-box-shadow: 3px 3px 4px silver;
	box-shadow: 3px 3px 4px silver;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='silver')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='silver');
}


#tcalControls {
	border-collapse: collapse;
	border: 0;
	width: 100%;
}

#tcalControls td {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	width: 16px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
}

#tcalControls th {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	line-height: 25px;
	font-size: 10px;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: bold;
	white-space: nowrap;
}

#tcalPrevYear { background-image: url('img/prev_year.gif'); }
#tcalPrevMonth { background-image: url('img/prev_mon.gif'); }
#tcalNextMonth { background-image: url('img/next_mon.gif'); }
#tcalNextYear { background-image: url('img/next_year.gif'); }


#tcalGrid {
	border-collapse: collapse;
	border: 1px solid silver;
	width: 100%;
}

#tcalGrid th {
	border: 1px solid silver;
	border-collapse: collapse;
	padding: 3px 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 10px;
	background-color: gray;
	color: white;
}

#tcalGrid td {
	border: 0;
	border-collapse: collapse;
	padding: 2px 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	width: 14%;
	font-size: 11px;
	cursor: pointer;
}

#tcalGrid td.tcalOtherMonth { color: silver; }
#tcalGrid td.tcalWeekend { background-color: #ACD6F5; }
#tcalGrid td.tcalToday { border: 1px solid red; }
#tcalGrid td.tcalSelected { background-color: #FFB3BE; }





/*-------  CATEGORY  ------------*/

#car {
	width: 230px;
	height: 400px;
	display: block;
	float: left;
	margin: 0 10px 20px 10px;
}

#car:hover {
	background: #de9546;
	border-radius: 15px;
    -webkit-border-radius: 15px;
       -moz-border-radius: 15px;
         -o-border-radius: 15px;

	box-shadow: 5px 5px 5px #606060;
    -webkit-box-shadow: 5px 5px 5px #606060;
       -moz-box-shadow: 5px 5px 5px #606060;
         -o-box-shadow: 5px 5px 5px #606060;
}



#car img {
	width: 220px;
	text-align: center;
	border: none;
}

#car a {
	font-size: 17px;
	font-weight: 900;
	text-align: center;
	display: block;
	width: 220px;
	margin: 5px;
	text-transform: uppercase;
	color: #860808;
}

#car a:hover {
	text-decoration: none;
	color: #ac0d0d;
}

#car p {
	width: 200px;
	margin: 5px auto;
	text-indent: 0;
	text-align: center;
}


#car .price {
	font-size: 17px;
	font-weight: 900;
	text-transform: uppercase;
	color: #860808;
}

#car #more a {
	background: #860808;
	color: #fff;
	width: 230px;
	height: 35px;
	margin: 7px auto;
	line-height: 35px;
	font-weight: 400;
	text-transform: none;
	text-decoration: none;
	display: none;
}

#car:hover #more a {
	display: block;
}

#car #more a:hover {
	color: #fff;
	font-weight: 600;
}



/*-------------- Slider --------------*/


#slider-block {
	width: 1300px;
	margin: 0 auto;
	position: relative;
}

#slider-block2 {
	width: 1180px;
height: 130px;
	margin: 0 auto;
	padding-top: 15px;
	position: relative;
}

.slider {
	width: 1140px;
	margin: 0 auto;
	overflow: hidden;
}

.slider2 {
	width: 1080px;
	margin: 0 auto;
	overflow: hidden;
}

#section-auto {
	background: url("img/bg-auto.png") repeat-x;
	width: 100%;
	height: 150px;
	line-height: 150px;
	margin: 50px auto;
}


/* Двойной клик по ссылкам вперед/назад вызывает выделение всех элементов слайдера,
поэтому предотвращаем это */
.slider::-moz-selection, .slider2::-moz-selection { background: transparent; color: #fff; text-shadow: none; }
.slider::selection, .slider2::selection { background: transparent; color: #fff; text-shadow: none; }

.slide-list {
	position: relative;
	margin: 0;
	padding: 0;
}

.slide-wrap, .slide-wrap2 {
	position: relative;
	left: 0px;
	top: 0;
	/* максимально возможная ширина обертки слайдера */
	width: 10000000px;
}

.slide-item {
	width: 170px;
	padding: 10px;
	float: left;
}

.slide-item img {
	width: 170px;
	position: relative;
	z-index: 1;
}

.slide-item2 {
	width: 160px;
	height: 100px;
	padding: 10px;
	float: left;
}

.slide-item2 .tit {
	width: 160px;
	position: absolute;
	margin: 10px 0 0 -150px;
	text-align: center;
}


.slide-item2 img {
	width: 160px;
	height: 100px;
	opacity: .7;
	-o-opacity: .7;
	-moz-opacity: .7;
	-webkit-opacity: .7;
}

.slide-item2 img:hover {
	opacity: 1;
	-o-opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}

.slide-title {
	display: block;
	text-align: center;
	width: 170px;
	height: 170px;
	line-height: 160px;
	background: rgba(255,255,255,.5);
	border-radius: 150px;
	-o-border-radius: 150px;
	-moz-border-radius: 150px;
	-webkit-border-radius: 150px;
	margin-top: -175px;
	z-index: 10;
	position: absolute;
	opacity: 0;
	-o-opacity: 0;
	-moz-opacity: 0;
	-webkit-opacity: 0;

}

.slide-item:hover .slide-title {
	opacity: 1;
	-o-opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}


.slide-wrap a {
	display: block;
	color: #000;
	text-decoration: none;
	font-size: 24px;
	font-weight: 900;
	text-transform: uppercase;

	text-shadow: 0 0 10px #fff;
}





/* навигация вперед/назад */

.navy {
	/* абсолютное позиционирование */
	position: absolute;
	top: 0;
	z-index: 1;
	height: 100%;
	/* ширина ссылок */
	width: 80px;
	cursor: pointer;
}

.navy2 {
	/* абсолютное позиционирование */
	position: absolute;
	top: 0;
	z-index: 1;
	height: 150px;
	/* ширина ссылок */
	width: 50px;
	cursor: pointer;
}

.prev-slide {
	left: 0;
	background: url("img/left-arrow.png") 11px 10px no-repeat;
	opacity: .7;
	-o-opacity: .7;
	-moz-opacity: .7;
	-webkit-opacity: .7;
}

.next-slide {
	right: 0;
	background: url("img/right-arrow.png") 11px 125px no-repeat;
	opacity: .7;
	-o-opacity: .7;
	-moz-opacity: .7;
	-webkit-opacity: .7;
}

.prev-slide:hover, .next-slide:hover {
	opacity: 1;
	-o-opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}

.prev-slide2 {
	left: 0;
	background: url("img/left-arrow2.png") 15px 60px no-repeat;
	opacity: .5;
	-o-opacity: .5;
	-moz-opacity: .5;
	-webkit-opacity: .5;
}

.next-slide2 {
	right: 0;
	background: url("img/right-arrow2.png") 15px 60px no-repeat;
	opacity: .5;
	-o-opacity: .5;
	-moz-opacity: .5;
	-webkit-opacity: .5;
}

.prev-slide:hover, .next-slide:hover, .prev-slide2:hover, .next-slide2:hover {
	opacity: 1;
	-o-opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}



.contact {
	margin: 0 auto;
	width: 520px;
}


/*--------  FOOTER  -----------*/

#footer {
	width: 1200px;
	height: 30px;
	margin: 50px auto 20px auto;
}

#footer #left {
	width: 400px;
	float: left;
	margin-top: 5px;
}

#footer #left img {
	width: 100px;
	border: none;
}

#footer #left span {
	font-size: 12px;
	margin: 2px 0 0 7px;
	position: absolute;
}

#footer #right {
	width: 150px;
	float: right;
	text-align: right;

	opacity: .5;
	-o-opacity: .5;
	-moz-opacity: .5;
	-webkit-opacity: .5;
}

#footer #right:hover {
	opacity: 1;
	-o-opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}

#footer #right img {
	width: 100px;
	border: none;
}

#footer #right span {
	font-size: 12px;
	margin: 11px 0 0 -60px;
	position: absolute;
}



/* ==============  MEDIA  ==================== */

@media screen and (max-width: 1300px) {

 #footer {
    width: 90%;
 }

 #slider-block {
    width: 700px;
 }

 .slider {
    width: 560px;
 }

 #slider-block2 {
    width: 800px;
 }

 .slider2 {
    width: 730px;
 }

}



@media screen and (max-width: 1200px) {
	.home #logo-home { margin: 40px 0 0 0; }
}


@media screen and (max-width: 1000px) {

 body {
	overflow-x: hidden;
 }

 #header {
    width: 90%;
 }

 #wrapper {
    width: 750px;
 }

 #logo{
    width: 200px;
    z-index: 50000;
    position: relative;
}

 #nav {
    width: 100%;
    float: none;
    margin-top: 0px;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    display: none;
 }

 #mob-nav {
    display: block;
 }

 #gal,
 #order {
	float: none;
	margin: 15px auto;
 }

 #gal:after {
	content: "";
	display: block;
	clear: both;
 }

 #order .input {
	margin-bottom: 15px !important;
  }

 #order #submit {
	float: none;
	margin: 10px auto;
 }

}



@media screen and (max-width: 840px) {
	.home #logo-home { margin: 40px auto 0px; }
	.home .tel-top {
    	position: static;
    	margin: 0 auto;
    	float: none;
	}
}



@media screen and (max-width: 800px) {

 #logo-home {
    width: 300px;
}

 #logo-home img {
    width: 300px;
    height: auto;
}

 #wrapper {
    width: 500px !important;
 }

 #wrapper img {
    max-width: 100% !important;
    height: auto;
 }

 #wrapper iframe {
    width: 400px!important;
    height: 225px !important;
    margin: 20px auto !important;
 }

 #slider-block {
    width: 500px;
 }

 .slider {
    width: 380px;
 }

 #slider-block2 {
    width: 480px;
 }

 .slider2 {
    width: 350px;
 }

}


@media screen and (max-width: 520px) {
 .contact {
	text-align: center;
	width: 100%;
 }
}


@media screen and (max-width: 500px) {

 #logo-home {
    width: 200px;
}

 #logo-home img {
    width: 200px;
    height: auto;
}

 #logo img {
    width: 180px;
    margin-top: 7px;
 }

 .tel-top {
	width: 100%;
	float: none;
 }

 .action-top { display: none; }

 #wrapper {
    width: 95% !important;
 }

 #wrapper iframe {
    width: 250px!important;
    height: 105px !important;
 }

 #wrapper p {
	text-indent: 0;
 }

 #slider-block {
    width: 290px;
 }

 .slider {
    width: 190px;
 }

 #slider-block2 {
    width: 290px;
 }

 .slider2 {
    width: 180px;
 }

 #car {
    width: 230px;
    height: auto;
    float: none;
    margin: 0 auto 20px auto;
 }

 #title {
	height: auto;
	line-height: 1.5;
	font-size: 20px;
 }

 #gal,
 #gal #thumb,
 #gal #first,
 #gal #first img,
 #order {
    width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
 }

 #gal #thumb img {
    width: 28% !important;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
 }

 #order form p {
	text-align: center;
 }

 #order .input {
	float: none;
	margin-bottom: 0 !important;
 }

 #order form p:nth-child(6) {
	font-size: 12px;
 }

 #order #submit {
	margin: 10px auto;
	width: 200px;
 }

 #footer #left,
 #footer #right span { display: none; }

 #footer #right { float: none; }

 #footer #right {
	float: none;
	width: 100px;
	margin: 0 auto;
 }

 img.alignleft {
	margin: 10px auto;
	float: none;
 }

}