/*
Сайт: www.castrol-moscow.ru
Автор: Александр Дроздов
Сайт автора: http://n1dev.ru
Блог автора: http://blog.n1dev.ru
Версия: 1.0
*/

/* Базовые стили */
@font-face {
  font-family: 'fontello';
  src: url('http://castrol-moscow.ru/font/fontello.eot?97778560');
  src: url('http://castrol-moscow.ru/font/fontello.eot?97778560#iefix') format('embedded-opentype'),
       url('http://castrol-moscow.ru/font/fontello.woff?97778560') format('woff'),
       url('http://castrol-moscow.ru/font/fontello.ttf?97778560') format('truetype'),
       url('http://castrol-moscow.ru/font/fontello.svg?97778560#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto Condensed';
  src: url('http://castrol-moscow.ru/font/Roboto-Condensed-webfont.eot');
  src: url('http://castrol-moscow.ru/font/Roboto-Condensed-webfont.eot') format('embedded-opentype'),
       url('http://castrol-moscow.ru/font/Roboto-Condensed-webfont.woff') format('woff'),
       url('http://castrol-moscow.ru/font/Roboto-Condensed-webfont.ttf') format('truetype'),
       url('http://castrol-moscow.ru/font/Roboto-Condensed-webfont.svg') format('svg');
  font-weight: normal;
  font-style: normal;  
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('http://castrol-moscow.ru/font/fontello.svg?97778560#fontello') format('svg');
  }
}
[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "fontello" !important;
	font-style: normal !important;
	font-weight: normal !important;
	speak: none !important;
	display: inline-block !important;
	text-decoration: inherit !important;
	width: 1em;
	margin-right: .2em;
	text-align: center !important;
	font-variant: normal !important;
	text-transform: none !important;
	line-height: 1em;
	margin-left: .2em;
}
*, *:after, *:before {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
			box-sizing: border-box;
}
html {
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}
body {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height:21px;
	color: #404040;
	overflow-x:hidden;
}
::selection {
	background: #339966;
	color:#fff;
}
::-moz-selection {
	background: #339966;
	color:#fff;
}
img {
	max-width: 100%;
}
.n1-main-h2 {
	margin:0 0 23px;
	padding:0 20px;
	text-transform:uppercase;
	text-align:center;
	font-style:normal;
	background:none;
	font-size: 69px;
	line-height: 86px;
	color:#3e3e3e;
	font-weight: 400;
}
a:link {
	color: #fdc82b;
	text-decoration: none;
}
a:hover {
	color:#fdc82b;
}
a:visited {
	color: #fdc82b;
	text-decoration: none;
}
.fright{float:right;
}
.fleft{float:left;
}

.n1-container{
	width: 1100px;
	max-width: 1100px;
	margin: auto;	
}
/* Учёт плавающих элементов */
.clear{clear:both;display:block;overflow:hidden;visibility:hidden;width:0;height:0}
.clearfix:after{position:relative;z-index:99;clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}
* html .clearfix,*:first-child+html .clearfix{zoom:1} /*IE*/

.n1-slide{
	background-attachment: fixed;
	width:100%;
	height:100%;
	position: relative;
	padding:0;
}
.filtr_bg {
	position:relative;
	z-index:20;
}
#undefined-sticky-wrapper {position:relative;height:0 !important; z-index: 999999999;}

/* Слайд 1 */
#n1-slide-1 {
	width:100%;
	/*background: url(../img/back.jpg) no-repeat center center; 
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;*/
    background: url(../img/subtle_dots.png) 0 0 repeat;
}
#n1-main-img-holder {
	background: url(../img/imgbarrel.png) right no-repeat;
	height: 450px;
}
#n1-main-text {
	padding-top: 100px; 
	width: 400px;
	overflow: hidden;
	text-align: center;
}
#n1-main-text h2 {
	color: #2f2f2f;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 28px;
	font-weight: 400;
	text-transform: uppercase;
}
.n1-top-h2 {
	padding-bottom: 15px;
	text-align: center;
}
.n1-top-h2 span {
	display: inline-block;
	position: relative;
}
.n1-top-h2 span:after, .n1-top-h2 span:before {
	content: "";
	position: absolute;
	width: 600px;
	height: 1px;
	top: 10px;
	border-bottom: 1px solid #2f2f2f;
}
.n1-top-h2 span:after {
	left: 100%;
	margin-left: 10px;
}
.n1-top-h2 span:before {
	right: 100%;
	margin-right: 10px;
}
#n1-main-text h2.n1-bottom-h2 {
	padding: 15px 0;
	line-height: 27px;
	text-align: center;
}
.n1-inset-shadow {
	position:absolute;
	z-index:10;
	left:0;
	right:0;
	top:0;
	bottom:76px;
	box-shadow:0 0 60px rgba(0,0,0, 0.7) inset;
}
.button {
	cursor:pointer;
	display:block;
	margin: 0 auto;
	width:35px;
	height:20px;
	border:none;
	text-transform:uppercase;
	background:url(http://castrol-moscow.ru/img/arrow.png) no-repeat center bottom;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}

.btn_dropdown {
	display:none;
	cursor:pointer;
	background:#fff;
	margin:20px 30px 0 0;
	width:130px;
	height:36px;
	text-align:center;
	font-weight:700;
	font-size:18px;
	line-height:36px;
	color:#3e3e3e;
	border-radius:5px;
}
.btn_dropdown:hover {color:#3e3e3e;}
/* Меню */
.n1-menu {
	position:absolute;
	bottom:0;
	width:100%;
	height:76px;
	background:#3e3e3e;
	z-index:9999;
}
#nav {
	text-align: right;
}
.navigation{
	list-style: none;
	margin: 0;
	position:relative;
	width:360px;
	margin:0 auto;
	padding:0;
}
.navigation li{
	float: left;
	text-align:left;
	padding:6px 9px;
	margin:23px 15px 21px;
	text-transform:uppercase;
	background:none;
	font-size:14px;
	line-height:20px;
	color:#b7b7b7;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
.navigation li:hover,
.navigation .active {
	cursor:pointer;
	background:#339966;
	color: white;
}
/* Слайд 2 */
h4 {
	margin:0;
	padding:0 0 15px;
	text-transform:none;
	text-align:left;
	font-weight:400;
	font-size:32px;
	font-style:normal;
	line-height:36px;
	color:#3e3e3e;
}
p a.n1-link {
	color: #000 !important;
	background: #fff;
	padding: 5px;
	text-decoration: underline;
	display: block;
	width: 200px;
	text-align: center;
	margin: 20px auto 0;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
p a.n1-link:hover {
	color: #fff !important;
	background: #000;
}
#n1-slide-2 {
	background:url(http://castrol-moscow.ru/img/slide_2.png) repeat left top;
	width:100%;
	padding:86px 0 69px;
}
.n1-testim_in {
	margin-bottom:14px;
}
.n1-testim_block {
	position:relative;
	padding:16px 18px 18px;
	background:#fff;
	color:#646464;
}
.n1-testim_block span {
	position:absolute;
	bottom:-27px;
	right:0;
	display:block;
	width:36px;
	height:27px;
	background:url(http://castrol-moscow.ru/img/testim_span_bg.png) no-repeat;
}
.n1-author {
	float:right;
	margin-top:29px;
	color:#363535;
}
.n1-about_bord {
	margin-bottom:23px;
	width:100%;
	height:1px;
	background:#2f2f2f;
}
.icon-flight:before { content: '\e800' !important; } 
.icon-map:before { content: '\e802' !important; } 
.icon-trophy:before { content: '\e803' !important; }
.icon-chart-bar:before { content: '\e801' !important; } 
.icon-basket:before { content: '\e804' !important; color: white; font-size: 190%; padding-top: 7px;}
.icon-block:before { 
	content: '\e805' !important; 
	font-size: 300%; 
	color: #ff7c7c; 
	padding: 0;
	-webkit-transition: all 0.2s ease-in-out;	
	   -moz-transition: all 0.2s ease-in-out;
		 -o-transition: all 0.2s ease-in-out;
			transition: all 0.2s ease-in-out;
}

.icon-basket {
	cursor: pointer;
}
.zoom{
	position: absolute;
	bottom: 10px;
	right: 10px;
}
#n1-jcarousel {
	margin-top:17px;
}
#n1-mycarousel li p {
	float:left;
	padding:0 0 15px;
	text-transform:none;
	font-weight:400;
	font-size:20px;
	line-height:31px;
	color:#3e3e3e;
}
#n1-mycarousel .icon-flight,
#n1-mycarousel .icon-chart-bar,
#n1-mycarousel .icon-map {
	float:left;
	margin:0 20px 10px 0;
	font-size: 250%;
}
.jcarousel-skin-tango .jcarousel-container {
}

.jcarousel-skin-tango .jcarousel-direction-rtl {
	direction: rtl;
}

.jcarousel-skin-tango .jcarousel-container-horizontal {
    
}

.jcarousel-skin-tango .jcarousel-container-vertical {
    width: 75px;
    height: 245px;
    padding: 40px 20px;
}

.jcarousel-skin-tango .jcarousel-clip {
    overflow: hidden;
}

.jcarousel-skin-tango .jcarousel-clip-horizontal {
    margin:0 80px 0 150px;
	width:  830px;
    height: 110px;
}

.jcarousel-skin-tango .jcarousel-clip-vertical {
    width:  75px;
    height: 245px;
}

.jcarousel-skin-tango .jcarousel-item {
    position:relative;
    width: 400px;
	height: 110px;
}
.jcarousel-skin-tango .jcarousel-item .n1-text {
	width: 400px;
	display: block;
}
.jcarousel-skin-tango .jcarousel-item-horizontal {
	margin-left: 0;
    margin-right:25px;
}

.jcarousel-skin-tango .jcarousel-direction-rtl .jcarousel-item-horizontal {
	margin-left: 10px;
    margin-right: 0;
}

.jcarousel-skin-tango .jcarousel-item-vertical {
    margin-bottom: 10px;
}

.jcarousel-skin-tango .jcarousel-item-placeholder {
    display:none !important;
}

#n1-jcarousel .jcarousel-prev,
#n1-jcarousel .jcarousel-next {
	cursor:pointer;
	position: absolute;
	top: 5px;
	width: 43px;
	height: 81px;
	outline:none;
	background-color:#3e3e3e;
	opacity:0.48;
	filter: alpha(opacity=48);
}
#n1-jcarousel .jcarousel-next {
	background-image:url(http://castrol-moscow.ru/img/carousel_arrows.png);
	background-position:-43px 0;
	right:0;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
#n1-jcarousel .jcarousel-prev {
	background-image:url(http://castrol-moscow.ru/img/carousel_arrows.png);
	background-position:0 0;
	left:0;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
#n1-jcarousel .jcarousel-next:hover,
#n1-jcarousel .jcarousel-prev:hover {
	opacity:1;
	filter: alpha(opacity=100);
}

/* Слайд 3 */
#n1-slide-3 {
	background:url(http://castrol-moscow.ru/img/slide8_bg.jpg) repeat left top;
	width:100%;
	padding:86px 0 69px;
}
#n1-slide-3 h2 {color:#fdc82b;
}
#n1-filters {
	margin-bottom:20px;
	margin-top:22px;
	text-align:center;
}
#n1-filters li {display:inline-block;position:relative;}
#n1-filters li a {
	display:block;
	position:relative;
	z-index:10;
	margin:0 6px 10px 0;
	padding:3px 15px;
	text-transform:none;
	font-weight:400;
	font-size:16px;
	line-height:26px;
	color:#3e3e3e;
	background:#fcfcfc;
}
#n1-filters li a span {
	position:absolute;
	z-index:-1;
	left:0;
	top:0;
	bottom:0;
	width:3px;
	background:#fdc82b;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}

#n1-filters li a:hover span,
#n1-filters li .selected span {
	width:100%;
}
.gallery-list {
	text-align:center;
	margin-right:-20px !important;
}
#n1-slide-3 .hover_img {
	overflow:hidden;
	position:relative;
	height:211px;
	width:235px;
	background:#343434;
}
.img_block {
	display:inline-block;
	margin:0 20px 20px 0;
	width:235px;
	height:211px;
}
.portfolio_cart {
	width:40px;
	height:40px;
	position:absolute;
	top:-130px;
	background-repeat:no-repeat;
	background-color:#3e3e3e;
	opacity:0.54;
	filter: alpha(opacity=54);
	border-radius:50%;
	transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
}
.portfolio_cart {
	right:100px;
	background-position:0 0;
	z-index:303;
	transition-delay:0.3s;
	-o-transition-delay:0.3s;
	-moz-transition-delay:0.3s;
	-webkit-transition-delay:0.3s;
}
.portfolio_cart:hover {
	opacity:1;
	filter: alpha(opacity=100);
	z-index:310;
}
.portfolio_cart a {
	display:block;
	width:40px;
	height:40px;
	margin-top: -35px;
	position: relative;
	z-index: 999999;
	text-indent:-9999px;
}
.icon-block.cancel {
	display: block;
	width: 60px;
	height: 45px;
	position: absolute; 
	right: -25px;
	top: 30px;	
}
.cancel a {
	left: 0;
	top: 0;
	width: 60px;
	height: 45px;
	display: block;
	position: absolute;
	z-index: 99999999999999;
	text-indent:-9999px;
}
.hover_img:hover .portfolio_cart {
	top:130px;
}
.item_description {
	position:absolute;
	top:-220px;
	left:0;
	right:0;
	height:211px;
	background:#fdc82b;
	text-align:center;
	color:#3e3e3e;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
.hover_img:hover .item_description {
	top:0;
}
.item_description p {
	padding:22px 10px 0 10px;
	margin:0;
	font-size: 18px;
	color: #3e3e3e;
	line-height: 26px;
	font-weight: 400;
	text-transform:uppercase;
}
.item_description .n1-volume {
	display: block;
	font-size: 18px;
}

.item_description .n1-price {
	display: block;
	padding-top: 10px;
	color: #2222b4;
	font-family: "Open Sans", sans-serif;
	font-size: 30px;
}
.n1-overlay-text {
	display: block;
	position: absolute;
	top: 10px;
	text-align: center;
	text-transform: uppercase;
	background: #000;
	padding: 5px;
	color: white;
}

.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
          transition-property:         transform, opacity;
}

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
          transition-duration: 0s;
}

.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
          transition: none;
}
.element {
  overflow: hidden;
  position: relative;
}
.element img {max-width:100%;
}
/* Слайд 4 */
#n1-slide-4 {
	background:url(http://castrol-moscow.ru/img/slide10_bg.jpg) repeat left top;
	padding:76px 0 ;
}

#n1-slide-4 .container {margin-bottom:80px;
}
::-webkit-input-placeholder { opacity:1 !important; color:#929292 !important;
}
:-moz-placeholder {opacity:1 !important; color:#929292 !important;
}
::-moz-placeholder { opacity:1 !important; color:#929292 !important;
}
:-ms-input-placeholder { opacity:1 !important; color:#929292 !important;
}

.contact_form input[type="text"],
.contact_form textarea {
	width:93%;
	margin:22px 0 0 0;
	padding:17px 10px 17px 21px;
	background: #fff;
	font-size:14px;
	line-height:21px;
	border:1px solid #e3e3e3;
	color:#929292;
}
.contact_form #fields .cart-item {
	width: 70%;
}
.contact_form #fields .quantity-item, .contact_form #fields .itemprice {
	width:15%;
	text-align: center;
	padding-left: 0;
	padding-right: 0;
}
.plus {
	margin: 0 2.5%;
	
}
.insert {
	position: relative;
}
#ajax-contact-form {
	position: relative;
}
#ajax-contact-form .total-item2 {
	padding:7px 25px;
	width: 120px;
	text-align: center;
	position: absolute;
	left: 380px;
	bottom: 9px;
}

.contact_form input[type="text"]:first-child {margin-top:0;
}
.contact_form textarea {
	resize: none;
	margin-top:0;
	height: auto;
    min-height: 215px;
}

.contact_btn {
	border:none;
	text-transform:none;
	margin:0 4px 10px 0;
	padding:7px 25px;
	font-size: 16px;
	line-height: 20px;
	color: #fff;
	font-weight:400;
	text-align: center;
	vertical-align: middle;
	background:#3e3e3e;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
.send_btn {
		transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
.contact_btn:hover,
.send_btn {
	background:#fdc82b;
	color:#3e3e3e;
}
.send_btn:hover {
	background:#3e3e3e;
	color: white;
}
.n1-telephone {
	font-size: 30px;
	padding: 5px;
	margin-left: 10px;
	color: #cc3333;
}
.n1-p-tel {
	line-height: 30px;
}
footer {
	background:#3e3e3e;
	padding:10px 0 10px;
	position: relative;
	min-height: 40px;
	line-height: 72px;
}
.copyright {
	float:left;
	text-transform:uppercase;
	font-weight:300;
	color:#e9e9e9;
}
.copyright a {
	color:#fdc82b;
	transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
.copyright a:hover {text-decoration:none;color:#fff;
}
#n1-copyright {
	color: white;
	float: right;
	margin-left: 50px;
	
}
#n1-copyright p,#n1-copyright a {
	float: left;
	padding: 0;
}
#n1-copyright a {
	margin-left: 5px;
			transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
#n1-copyright a:hover {
	color: white;
}
#n1-copyright a img {
	margin-left: 10px;
	position: absolute;
}
#back_top {
	float:right;
}
#back_top a.button {
	position:relative;
	z-index:300;
	display:block;
	margin: 30px 0 0 0;
	width:13px;
	height:9px;
	background:url(http://castrol-moscow.ru/img/back_top.png) no-repeat;
	text-transform:uppercase;
	font-weight:400;
	color:#fff;
}
#back_top a.button:hover {text-decoration:none;}

.item-holder {position: relative;}

.icon-block:hover {
	cursor: pointer;
}

.icon-block:hover:before {
	color: red;
}
#note {
	font-size: 20px;
	color: red;
	margin-bottom: 20px;
}
.notification_error p {
	margin: 0;
	padding:0;
}
#n1-slide-3 q {
	color: white;
	font-size: 16px;
}
.lc {
	float: left;
	margin-top: 42px;
}
.lc a {
	text-decoration: underline;
	color: #595959;
}
.lc a:hover {
	text-decoration: none;
}
.rc {
	float: right;
	text-align: right;
}
.lc i, .rc i {
	margin-right: 5px;
}
.rc .n1-tel {
	font-size: 30px;
}
.n1-sale {
	text-align: center;
	font-size: 22px;
	margin: 20px 0 10px 0;
}
.n1-sale span {
	color: #f6694b;
}


.mycarousel{
	width: 470px;
	margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.mycarousel ul{
	width: 100000px;
	position: relative;
}
.mycarousel li{
	text-align: center;
	float: left;
    width: 470px;
    /*margin-right: 10px;*/
}
.mycarousel .arrL, .mycarousel .arrR{
	position: absolute;
	top: 40%;
}
.mycarousel .arrL{
	left: 0px;
}
.mycarousel .arrR{
	right: 0px;
}

a.whitelink{
	color: #fff;
	text-decoration: underline;
}

.description{
	color: #ccc;
}
.description span{
	text-align: center;
}
.description table{
	width: 900px;
	margin: 20px auto;
}
.description table td{
	padding: 10px 0;
}
.desc_table td:first-child{
	width: 220px;
}
h1.center{
	text-align: center;
	margin: 20px 0;
}

@media only screen and (max-height: 768px) {
	#n1-main-img-holder {
		background: url(../img/imgbarrel-2.png) right no-repeat;
		height: 300px;
		width: 850px;
		margin: 0 auto;
	}
	#n1-main-text {
	padding-top: 30px;
	width: 300px;
	}
	#n1-main-text h2 {
		font-size: 20px;
	}
}
