@import url(//fonts.googleapis.com/css?family=Cuprum:400,700&subset=latin,cyrillic);
@import url(//fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700&subset=latin,cyrillic);

html,
body {
	min-width:960px;
	height:100%;
	}
body{
	background:url(../images/bg.png) repeat center center #272727;
	color: #fff;
	font: 100%/1.125em Trebuchet MS, sans-serif;
	position:relative;
	text-transform:none;
}

#main {
	font-size:.8125em;
	line-height:1.3846em;
	background:url(../images/bgl.jpg) center top no-repeat transparent;
	min-height:100%;
}




/* Header
---------------------------------------- */
#header {
	width:100%;
	position:relative;
	z-index:99;
	}

	body.home	#header {min-height:450px;}



  .beforemenu {
  background:url(../images/before-menu.png) 0 0 no-repeat;
  width: 15px;
  height: 12px;
  margin: 0 auto 30px auto;
  cursor: pointer;
  opacity:0.5;
        -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
           -moz-transition: all 0.3s ease-out;  /* FF4+ */
            -ms-transition: all 0.3s ease-out;  /* IE10 */
             -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
                transition: all 0.3s ease-out;
}

    .beforemenu:hover {
      opacity:1;
    }

    .beforemenu-menu-opened {
      opacity:0;
      margin: 0 auto;
    }


.lang-select {
  font-size:11px;
  line-height:18px;
  text-transform:uppercase;
  color:#888;
  position: fixed;
  right: 2em;
  top: 2em;
}
.lang-select a {
  color:#888;
  text-decoration:none;
  -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
  -moz-transition: all 0.3s ease-out;  /* FF4+ */
  -ms-transition: all 0.3s ease-out;  /* IE10 */
  -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
  transition: all 0.3s ease-out;
  display: inline-block;
}
.lang-select a:hover {color:#fff;}

.lang-select a:before {
  content: " ";
  width: 30px;
  height: 20px;
  display: block;
  background-size: cover;
  float: left;
  margin-right: 5px;
  border-radius: 1px;
  opacity:0.7;
  -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
  -moz-transition: all 0.3s ease-out;  /* FF4+ */
  -ms-transition: all 0.3s ease-out;  /* IE10 */
  -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
  transition: all 0.3s ease-out;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
}

.lang-select a.en:before {
  background-image: url(../images/lang-en.png);
}
.lang-select a.ru:before {
  background-image: url(../images/lang-ru.png);
}

.lang-select a:hover:before {
  opacity:1;
  filter: none;
  -webkit-filter: none;
  -moz-filter: none;
  -o-filter: none;
  -ms-filter: none;
}

.menu {
  height:0;
  overflow: hidden;
  width: 990px;
  margin: 0 -25px;
}

  .menu-menu-opened {
    height: 210px;
  }

  .menu-menu-opened.sticky ul {
    position: fixed;
    top:-155px;
    width: 990px;
    margin: 0;
  }

.menu ul,
.menu ul li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

  .menu ul li {
    float: left;
    font-family: 'Cuprum', sans-serif;
    font-weight: bold;
    font-size: 22px;
    width: 20%;
  }

  .menu ul li a {
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    padding: 0.75em 0;
    margin: 0 1px 0 0;
    display: block;
    -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
    -moz-transition: all 0.3s ease-out;  /* FF4+ */
    -ms-transition: all 0.3s ease-out;  /* IE10 */
    -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
    color: #fff;
    position: relative;
  }

  .menu ul li a .pic {
    background-image: url(../images/menu-bg.jpg);
    margin-bottom: 0.75em;
    margin-top: -0.75em;
    height: 155px;
  }

    .menu ul li a .pic1 {
      background-position: 0 0;
    }
    .menu ul li a .pic2 {
      background-position: -219px 0;
    }
    .menu ul li a .pic3 {
      background-position: -438px 0;
    }
    .menu ul li a .pic4 {
      background-position: -657px 0;
    }
    .menu ul li a .pic5 {
      background-position: -876px 0;
    }

    .menu ul li a .pic-hover {
      position: absolute;
      top:0.75em;
      width: 100%;
      opacity:0;
      -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
      -moz-transition: all 0.3s ease-out;  /* FF4+ */
      -ms-transition: all 0.3s ease-out;  /* IE10 */
      -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
      transition: all 0.3s ease-out;
    }

      .menu ul li a .pic1-hover {
        background-position: 0 -155px;
      }
      .menu ul li a .pic2-hover {
        background-position: -219px -155px;
      }
      .menu ul li a .pic3-hover {
        background-position: -438px -155px;
      }
      .menu ul li a .pic4-hover {
        background-position: -657px -155px;
      }
      .menu ul li a .pic5-hover {
        background-position: -876px -155px;
      }

      .menu ul li a:hover .pic-hover {
        opacity:1;
      }

  .menu ul li a.active,
  .menu.sticky ul li a:hover {
     background-color: rgba(255, 255, 255, 0.95);
     color: #000;
  }



/* Logo */
.logo {
	width:100%;
	padding:71px 0 35px;
	text-align:center;
	}

	body.home .logo {
		padding:200px 0 0;
		height:0;
		width:0;
		overflow:hidden;
		filter:progid:DXImageTransform.Microsoft.AlphaImageLoader() !important;
    width: 100%;
    height: 300px;
    overflow: visible;
    opacity: 1;
	}
  body.home .logo img {
    cursor:pointer;
  }
  body.home .logo-menu-opened {
    padding:60px 0 0;
  }




/* Content
---------------------------------------- */
#content {
  width: 930px !important;
}
.primary_content_wrap {
  position:relative;
  z-index:1;
  }

  .has-content {
    padding:48px 0;
  }

.rates {
     float: right;
     margin-left: 4em;
     width: 210px;
     margin-top: 80px;
}

.rates table {
  margin: 1em 0;
}

.rates table td {
    font-weight: bold;
    padding: 0.25em 2em 0.25em 0;
}

.rates table td.td-last {
  padding-right: 0;
}


/* Page */
.type-page ul li { list-style:circle; margin-left:20px; }
.page {

  }
  #page-content {

  }
  #page-meta {

  }


/* Post content */
.page-project {
  margin: 0 -20px;
}

.post-content {
  color: #acacac;
  overflow: hidden;
}

.post-content.page-slug-partner {
  overflow: visible;
}

.post-content .row {
  width: 310px;
  margin: 5px;
  height: 200px;
  overflow: hidden;
  display: block;
  float: left;
  background-position: center !important;
}

    .post-content .row1 {
      background: url(../images/img1.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row2 {
      background: url(../images/img2.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row3 {
      background: url(../images/img3.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row4 {
      background: url(../images/img4.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row5 {
      background: url(../images/img5.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row6 {
      background: url(../images/img6.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row7 {
      background: url(../images/img7.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row8 {
      background: url(../images/img8.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row9 {
      background: url(../images/img9.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row10 {
      background: url(../images/img10.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row11 {
      background: url(../images/img11.jpg) no-repeat 0 0 transparent;
    }
    .post-content .row12 {
      background: url(../images/img12.jpg) no-repeat 0 0 transparent;
    }



.post-content .row .text-partner {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 0.75em;
  margin-top: 80px;
  height: 20px;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
  -moz-transition: all 0.3s ease-out;  /* FF4+ */
  -ms-transition: all 0.3s ease-out;  /* IE10 */
  -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
  transition: all 0.3s ease-out;
}

  .post-content .row:hover .text-partner {
    margin-top: 0;
    height: 209px;
  }

.post-content .text-partner h3 {
  font-size: 16px;
  margin: 0 0 0.35em;
  padding: 0;
  font-family: 'PT Sans Narrow', sans-serif;
  letter-spacing: normal;
  text-transform: uppercase;
}

.post-content .text-partner h3 a {
  color: #fff;
  text-decoration: none;
}

.post-content .text-partner a.link-project {
  width: 49px;
  height: 49px;
  margin: 0.75em auto;
  background: url(../images/link-project.png) no-repeat 0 0 transparent;
  display: block;
  opacity:0.5;
  -webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
    -moz-transition: all 0.3s ease-out;  /* FF4+ */
    -ms-transition: all 0.3s ease-out;  /* IE10 */
    -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
    transition: all 0.3s ease-out;
}

  .post-content .text-partner a.link-project:hover {
      opacity:1;
  }


  .post-content .text-description {
    font-family: 'Cuprum', sans-serif;
    color: #ACACAC;
    font-size: 14px;
    padding: 0.25em;
  }


  .page-slug-gallery > h1 {
    display: none;
  }

.page-gallery .item-event {
  margin-bottom: 5em;
  border-bottom: 3px solid #555;
  padding-bottom: 1em;
  overflow: hidden;
}

.page-gallery .item-event-2 {
  padding: 2em;
  background: #333;
}


.page-gallery .item-event-3 {
  padding: 2em;
  background: #111;
}

.page-gallery .date_place {
  color: #fff;
  font-family: "Cuprum",sans-serif;
  font-weight: 700;
  font-size: 16px;
  background:url(../images/time.png) no-repeat center left transparent;
  overflow: hidden;
  padding-left: 24px;
}

.page-gallery h2 {
  font-size: 26px;
  margin-top: 0 !important;
  overflow: hidden;
  border-bottom: 2px solid #555;
  padding-bottom: 0.5em;
}


  .page-gallery .post-image {
    float: left;
    margin-right: 2em;
    margin-bottom: 3em;
    width: 33%;
    display: block;
  }

  .page-gallery .post-image img {
    width: 100%;
    height: auto;
  }

  .page-gallery .post-image iframe {
    width: 100%;
    height: auto;
  }
  .page-gallery .post-images-gallery {
    clear: both;
  }

  .page-gallery .post-images-gallery a {
    float: left;
    display: block;
    width: calc(100%/5 - 1em - 6px);
    margin:0 0.5em 1em 0.5em;
    border: 3px solid #555;
    height: 100px;
    overflow: hidden;
    opacity: 0.7;
  }

    .page-gallery .post-images-gallery a:nth-child(6) {
        clear: both;
    }

    .page-gallery .post-images-gallery a.link-blank {
      height: auto;
      border: none;
      opacity: 1;
      text-decoration: none;
      font-family: "Cuprum",sans-serif;
      font-weight: 500;
      font-size: 15px;
    }

    .page-gallery .post-images-gallery a.link-blank > .img {
      display: block;
      border: 3px solid #555;
      height: 100px;
      overflow: hidden;
      opacity: 0.7;
      margin-bottom: 0.5em;
    }
        .page-gallery .post-images-gallery a.link-blank:hover > .img {
          border-color: #fff;
          opacity: 1;
        }

  .page-gallery a.youtube img {
    min-height: 100px;
    margin-top: -12px;
  }

  .page-gallery a.youtube {
    position: relative;
    display: block;
  }

  .page-gallery a.youtube:before {
    content:" ";
    position: absolute;
    display: block;
    width: 48px;
    height: 48px;
    left: 50%;
    top: 50%;
    opacity: 0.8;
    margin-top: -24px;
    margin-left: -24px;
    background:url(../images/youtube-play.png) no-repeat center center transparent;
  }

.page-gallery .post-images-gallery a:hover {
  border-color: #fff;
  opacity: 1;
}
  .page-gallery .post-images-gallery img {
    width: 100%;
  }

  .page-gallery .post-images-gallery a.youtube:hover:before {
    opacity: 1;
  }

  .page-gallery .post-youtube-gallery {
    clear: both;
  }
  .page-gallery .post-youtube-gallery span {
    float: left;
    display: block;
    width: calc(100%/2 - 1em - 6px);
    margin:0 0.5em 1em 0.5em;
    border: 3px solid #555;
    height: 200px;
    overflow: hidden;
    opacity: 0.7;
  }
    .page-gallery .post-youtube-gallery span:hover {
      border-color: #fff;
      opacity: 1;
    }
    .page-gallery .post-youtube-gallery iframe {
      width: 100%;
      height: 100%;
    }

  .page-gallery .post-text {
    font-size: 14px;
    line-height: 1.5em;
    margin-bottom: 3em;
    overflow: hidden;
  }

@media only screen and (max-device-width: 480px), only screen and (-webkit-min-device-pixel-ratio: 2), handheld {
  .post-content .row {
    height: 425px;
  }

  .post-content .row .text-partner {
    margin-top: 210px;
    height: 185px;
  }

  .post-content .row:hover .text-partner {
    margin-top: 210px;
    height: 185px;
  }

  .lang-select.sticky {
    top: 5em;
    background: #000;
    padding: 10px;
  }
}


.post-content h2 {
  margin-top: 20px;
  margin-bottom: 15px;
}

.post-content strong {
    color: #fff;
}




/* 404
---------------------------------------- */
#error404 {

}
	.error404-num {
		font-size:250px;
		line-height:1.2em;
		color:#ECC651;
		text-align:center;
		}
	#error404 hgroup {
		margin:0 0 2em 0;
		padding-top:50px;
		}
		#error404 hgroup h1 {
			font-size:3em;
			margin-bottom:.2em;
			}




/* Footer
---------------------------------------- */
#footer {
	width:100%;
	padding:30px 0;
	text-align:center;
}


	/* Footer text */
	#footer-text {
			font-size:11px;
			line-height:18px;
			text-transform:uppercase;
			color:#494949;
			margin-bottom:10px;
	}
		#footer-text a {
      margin-left: 20px;
			color:#494949;
			text-decoration:none;
			-webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
			     -moz-transition: all 0.3s ease-out;  /* FF4+ */
			      -ms-transition: all 0.3s ease-out;  /* IE10 */
			       -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
			          transition: all 0.3s ease-out;
		}
		#footer-text a:hover {color:#fff;}


/* Forms
---------------------------------------- */

/* Form defaults */
input {height:16px;}
input, select, textarea {
	font-family: 'Cuprum',sans-serif;
	font-size:14px;
	vertical-align:middle;
	font-weight:normal;
	border:none;
	outline:none;
  background:transparent;
  border-bottom: 3px solid rgba(255, 255, 255, 0.40);
  color:#787878;
}
input:focus, select:focus, textarea:focus {
   border-bottom: 3px solid rgba(255, 255, 255, 1);
   color: #fff;
}
input[type="text"], textarea {
	padding:5px 0;
    -webkit-transition: all 0.3s ease-out;  /* Saf3.2+, Chrome */
       -moz-transition: all 0.3s ease-out;  /* FF4+ */
        -ms-transition: all 0.3s ease-out;  /* IE10 */
         -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
            transition: all 0.3s ease-out;
	}
input[type="submit"], input[type="reset"] {
	position:relative;
	display:inline-block;
	color:#fff;
	text-decoration:none;
	background:none;
	border:none;
	cursor:pointer;
	margin-right:15px;
  font-weight: bold;
  padding:5px 0;
  border-bottom: 3px solid rgba(255, 255, 255, 1);
	-webkit-transition: all 0.3s ease-out;    /* Saf3.2+, Chrome */
	     -moz-transition: all 0.3s ease-out;  /* FF4+ */
	      -ms-transition: all 0.3s ease-out;  /* IE10 */
	       -o-transition: all 0.3s ease-out;  /* Opera 10.5+ */
	          transition: all 0.3s ease-out;
	}
input[type="submit"]:hover, input[type="reset"]:hover {
	color:#ECC651;
  border-bottom: 3px solid #ECC651;
	}

.form-contact {
  overflow: hidden;
}

#feedback-form .row {
  float: left;
  width: 200px;
  overflow: hidden;
  display: block;
  margin-right: 20px;
  margin-bottom: 30px;
}

#feedback-form .row.submit {
  clear: both;
  float: none;
  width: 250px;
}

#feedback-form .row.textarea {
  clear: both;
  float: none;
  width: 640px;
  margin-top: 30px;
}

#feedback-form .row.captcha {
  width: 340px;
  position: relative;
  height: 40px;
}

    #feedback-form .row.captcha img {
      float: right;
      position: absolute;
      right: 0;
    }

    #feedback-form .row.captcha input[type="text"] {
      float: left;
      width: 190px;
    }



#feedback-form .row input[type="text"],
#feedback-form .row textarea {
  width: 100%;
  color: #FFFFFF;
}

#feedback-form .row textarea {
  height: 22px;
  resize: none;
}


.menu-menu-opened {
  display: block;
}


/* Clear Floated Elements */
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 100;
}

#loader-line {
  width: 0; height: 5px; background: #FFF89E;
  -webkit-box-shadow: 3px 0 3px 2px rgba(255,255,255,0.5);
  box-shadow: 3px 0 3px 2px rgba(255,255,255,0.5);
  opacity: 0.85;
}

.flash-success {
  font-size: 22px;
  font-family: 'Cuprum',sans-serif;
  margin-bottom: 1em;
  color: #FFF89E;
}