/*
Theme Name: Aleksandra Kapitonova
Author: Misha Rudrastyh
Author URI: http://truemisha.ru
Version: 1.0
*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{border:0;font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}html{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-size:62.5%;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}*,*:before,*:after{-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}body{background:#f1f1f1}article,aside,details,figcaption,figure,footer,header,main,nav,section{display:block}ol,ul{list-style:none}table{border-collapse:separate;border-spacing:0}caption,th,td{font-weight:normal;text-align:left}blockquote:before,blockquote:after,q:before,q:after{content:""}blockquote,q{-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;quotes:none}a:focus{outline:2px solid #c1c1c1;outline:0}a:hover,a:active{outline:0}a img{border:0}

::selection {
  background: #FB9A86;color:#fff; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #FB9A86;color:#fff; /* Gecko Browsers */
}


body{
background-color:#fff;
font:normal 14px/1.4 'Open Sans',Arial,sans-serif;
color:#777;
}
a{
text-decoration:none; color:#F59B82;  -moz-transition: color .1s linear;
  -webkit-transition: color .1s linear;
  transition: color .1s linear;
}
header {
  padding-top: 40px;position:relative;
}
#logo{
	display:block;
	margin:0 auto;
	width:310px;
	height:94px;
	background:url('img/logo.png') 0 0 no-repeat;
	background-size:310px 94px;
	text-indent:-55555px;
}
@media only screen and (-Webkit-min-device-pixel-ratio:1.5),only screen and (-moz-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min-device-pixel-ratio:1.5){#logo{background-image:url(img/logo@2x.png)}
}
#logo2{
	display:block;
	margin:0 auto;
	width:30px;
	height:32px;
	background:url('img/logo2.png') 0 0 no-repeat;
	background-size:30px 32px;
	text-indent:-55555px;
}
@media only screen and (-Webkit-min-device-pixel-ratio:1.5),only screen and (-moz-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min-device-pixel-ratio:1.5){#logo2{background-image:url(img/logo2@2x.png)}
}

#lng{
position:absolute;
right:20px;
top:20px;font-size: 11px;
}
#lng span{
display:inline-block;margin-left:5px;
}
#lng span a{
color:#888;
}

nav {
  text-align: center;  padding-top: 30px;
}
nav ul{
	margin:0 0 15px;
}
nav li {
  display: inline-block;
}
nav li a, nav h1 {
  display: block;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
  font-size: 12px;
  padding: 0 15px;
}
nav li.current-menu-item a, nav li a:hover, nav h1, #lng span, #lng span a:hover, footer,.item a:hover{
color:#F59B82;
}
footer{
text-align:center;margin-bottom:30px;
}
footer p {
  margin: 10px 0;
  font-size: 12px;
}
#scroller {
  overflow: hidden;
  margin: 30px 0;
    width: 100%;
  overflow-x: scroll;
}
/*
#scroller div{

-webkit-transition: margin-left 3s ease;
  -moz-transition: margin-left 3s ease;
  -o-transition: margin-left 3s ease;
  transition: margin-left 3s ease;
}
*/

#scroller img{
max-height:100%;
width:auto;
padding-right:5px;
}

#scroller img {
   cursor: url(img/l2.png), auto;
}
#scroller img:first-child, #scroller img:last-child{
cursor: url(img/l3.png), auto !important;
}
#scroller img:last-child{
padding-right:0;
}
/*#scroller img.scrollb{
cursor: url(img/l1.png), auto;
}*/
#scrollerengine{height:500px;overflow:hidden;}

.cw {
  max-width: 600px;
  margin: 0 auto;
}
.cw2 {
  max-width: 700px;
  margin: 0 auto;
}
.cw3 {
  max-width: 1000px;
  margin: 0 auto;
}
#content {
  margin-top: 40px;margin-bottom:40px;overflow:hidden;
}
#content h1 {
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 40px 0;
}
#content img{
max-width:100%;
height:auto;
display:block;
margin:2px 0;
}

#content img.alignleft {
  float: left;
  margin: 0 20px 20px 0;
}
input[type="text"], input[type="email"] {
  text-align: center;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #DDD;
  font-size: 14px;
  padding: 5px;
  margin: 5px 0 0;
  outline:none !important;
  font-family:'Open Sans';
  color:#888;
  -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
}
input[name="social"]{
border:0;
}
textarea {
  width: 100%;
  height: 150px;
  text-align: center;
  border: 1px solid #DDD;
  font-size: 14px;
  outline:none !important;
  -moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;
  padding:10px;font-family:'Open Sans';
  color:#888;
}
p {
  margin: 20px 0;
}
.succeed{
color: #48CB48;
  border: 1px solid #48CB48;
  text-align: center;
  padding: 10px;
  font-weight: 300;
  }
button{
margin:0 auto;
width:50px;display:block;
margin-top:10px;
}
.item{
text-align:center;
}
.item a{
  display: block;
  text-transform: uppercase;
  color: #888;
  font-weight: 400;
  font-size: 12px;
  padding: 0 10px;
  }
.item a h4{
padding: 20px 0;
}
.item img {
  -moz-border-radius: 50%;-webkit-border-radius: 50%;border-radius: 50%;
 
}
.item img, .grid-item img{
 opacity:1;transition: all 0.2s ease-out !important;
  -webkit-transition: all 0.2s ease-out !important;
  transform-style:flat !important;
  -webkit-transform-style:flat !important;
    height: auto;
}
.item a:hover img, .grid-item:hover img{
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  -khtml-opacity: 0.7;
  opacity: 0.7;
}
#content2 {
  margin-top: 40px;
  margin-bottom: 40px;
}
.grid-item img {
  max-width: 100%;
  height: auto;display:block;
}
.grid-item a{
display:none;
position: absolute;
  top: 0;
  width: 100%;

  height: 100%;
}
.grid-item:hover a{
display:block;
}
.grid-item a span{
  vertical-align: middle;
  display: block;
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  color: #fff;
  text-transform: uppercase;
  
  margin-top:-10px;
  }
.grid-item { width: 350px;padding:2px; }
.grid-item--width2 { width: 400px; }


button{
border: 1px solid #CCC;
  color: #AAA;
  display: block;
  cursor: pointer;
  background: #FFF;
  font-size: 12px;
  padding: 5px 15px;
  width: auto;
  text-align: center;
}
button:hover{
color:#fff;
background:#ccc;
}