﻿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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/****************************************************************************
****************************   NAVIGATION    ********************************
****************************************************************************/
.the-header{
	background:url(../img/bg-header.jpg) no-repeat center;
	background-position: 50%;
	margin: 0 auto;
	width: 1210px;
}
.nav-desktop {
	text-align: center;
	margin: 0 auto;
	width: 97.5%;
}
.nav-desktop li{
	display: inline-block;
	width: 12.5%;
}
.nav{
	display: none;
}
.hr{
	margin: 0 auto;
	display: block;
	width: 105%;
	left: -3%;
	position: relative;
}
#logo{
	width: 100%;
	margin: 0 auto;
	display: block;
}

/****************************************************************************
********************************  FONT  *************************************
****************************************************************************/
@font-face {
    font-family: Trebuchet;
    src: url(../fonts/TrebuchetMS.ttf);
}

body{
	background: black;
	font-family: "Trebuchet", Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 1.4;
	overflow-x:hidden;
}
a, li{
	font-family: 'Exo 2', sans-serif;
}
h2{
	display: block;
	font-size: 1.5em;
	margin-before: 0.83em;
	margin-after: 0.83em;
	margin-start: 0;
	margin-end: 0;
	font-weight: bold;
	margin-bottom: 15px;
}
p{
	margin-bottom: 10px;
}

/****************************************************************************
**********************  PRODUCTION  & FORMATIONS   **************************
****************************************************************************/
.about-row,
.production-row,
.formations-row,
.contact-row{
	margin: 0 auto;
	width: 85%;
	margin-bottom: 20px;
}
.production-row:last-child{
	margin-bottom: 0;
}
.about-desc,
.production-desc,
.formation-desc,
.contact-desc,
#contact-form-wrapper,
#fb-likebox{
	color: white;
	display: inline-block;
	text-align: center;
	width: 48%;
	vertical-align: middle;
	word-wrap: wrap;
}
.about-desc img,
.production-desc img,
.formation-desc img,
.contact-desc img,
#contact-form-wrapper img,
#fb-likebox img{
	width: 100%;
}
.about-img,
.production-img,
.formation-img,
.contact-img{
	display: inline-block;
	width: 48%;
	vertical-align: middle;
}
.about-img img,
.production-img img,
.formation-img img,
.contact-img img{
	margin: 0 auto;
	display: block;
	width: 100%;
}

/****************************************************************************
***************************** 	ABOUT   *************************************
****************************************************************************/
#about{
	background:url(../img/newBg.png) repeat-y center;
	margin: 0 auto;
	position: relative;
	width: 1210px;
}

/****************************************************************************
******************************  PRODUCTION  ********************************
****************************************************************************/
#production{
	background:url(../img/newBg.png) repeat-y center;
	margin: 0 auto;
	position: relative;
	width: 1210px;
}
.production-row:first-child .production-desc{
	margin-top:0;
}

/****************************************************************************
******************************  FORMATIONS  ********************************
****************************************************************************/
#formations{
	background: url(../img/newBg.png) center repeat-y;
	margin: 0 auto;
	position: relative;
	width: 1210px;
}
#formation-logo{
	text-align: left;
	display: block;
}
.formations-row:first-child .formation-desc{
	width: 72%;
}
.formations-row:first-child .formation-desc img{
	width: 72%;
}
.formations-row:first-child .formation-img{
	vertical-align: top;
	width: 20%;
}
.formations-row:first-child .formation-img img{
	width: 255px;
	height: 472px;
}

/****************************************************************************
******************************  CONTACT  ***********************************
****************************************************************************/
#contact{
	background:url(../img/newBg.png)center repeat-y;
	margin: 0 auto;
	position: relative;
	width: 1210px;
	padding-bottom: 1px;
}
#contact-form-wrapper{
	vertical-align: top;
}
#contact-form{
	background:;
	width: 100%;
	vertical-align: top;
}
#contact-form img{
	margin-left: -20px;
}
#contact-form .form-group label{
	text-align: left;
	display: block;
	margin-bottom: 5px;
}
#contact-form input{
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	width: 90%;
	height: 35px;
	margin-bottom: 10px;
	opacity: 0.6;
	background-color: gray;
	color: white;
	border: 2px solid white;
}
#contact-form input::-webkit-input-placeholder {
   color: white;
   padding-left: 5px;
}
#contact-form input:-moz-placeholder {
   color: white;
   padding-left: 5px;
}
#contact-form input::-moz-placeholder {
   color: white;
   padding-left: 5px;
}
#contact-form input:-ms-input-placeholder {
   color: white;
   padding-left: 5px;
}
#contact-form textarea{
    -webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	height: 200px;
	width: 90%;
	opacity: 0.6;
	border: 2px solid white;
	background-color: gray;
	color: white;
}
#contact-form textarea::-webkit-input-placeholder {
   padding-left: 5px;
   color: white;
}
#contact-form textarea:-moz-placeholder {
   padding-left: 5px;
   color: white;
}
#contact-form textarea::-moz-placeholder {
   padding-left: 5px;
   color: white;
}
#contact-form textarea:-ms-input-placeholder {
   padding-left: 5px;
   color: white;
}
.form-group{
	margin-bottom: 10px;
}
.btn{
	margin-top: 10px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	opacity: 0.6;
	border: 2px solid white;
	background-color: gray;
	color: white;
	padding:10px;
	width: 92%;
}
#contact-form input:hover,
#contact-form textarea:hover,
.btn:hover{
	opacity: 0.8;
}
.btn:hover{
	cursor: pointer;
}
#name-error,
#email-error,
#message-error{
	width: 100%;
	display: block;
	text-align: center !important;
	padding: 5px;
	font-size: 14px;
	color: red;
	text-shadow: 3px 3px 0px #000;
}
.form-success{
	display: none;
	margin-top: 10px;
	font-size: 18px;
	color: white;
	text-shadow: 3px 3px 0px #000;
}
/****************************************************************************
*****************************    FOOTER   ***********************************
****************************************************************************/
#footer{
	/*background:url(img/productionBg.png) repeat-y center;*/
	background:url(../img/footerbg.png) no-repeat center;
	margin: 0 auto;
	width: 1210px;
	
}
#footer p{
	color: white;
	text-align: center;
}
.social-networks{
	margin-bottom: 20px;
}
#seomax-logo{
	width: 80px;
	margin-bottom: -3px;
}




/****************************************************************************
******************************  GALERY NEW  *********************************
****************************************************************************/
.header-gallery {
background: url('../img/bg-header.jpg') center no-repeat;
max-height: 385px;
}

#wrapper-gallery h2 {
	padding-top: 10px;
}

.gallery-logo {
	display: block;
	margin: 0 auto;

    margin-top: 40px;
}

#content-gallery {
	background: url('../img/newBg.png') center repeat-y;
	padding-top: 1px;
	width: 1210px;
	margin: 0 auto;
}

#content-gallery h2{
	text-align: center;
	color: white;
}
#preview {
  width: 100%;
  height: 100%;
  margin: auto;
  text-align: center;
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.79);
  cursor: pointer;
}

.preview {
  max-width: 100%;
  height: auto;
  left: 0;
  position: absolute;
  transform: none;
  z-index: 200000;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

#slider {
  display: inline-block;
  width: 100%;
  text-align: center;
  overflow-x: auto;
}

.slider-item {
  display: inline-block;
  padding-bottom: 3px;
  transition: all 0.4s;
}

.slider-item img {
  transition: all 0.4s;
}

.slider-item:hover img {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-backface-visibility: visible !important;
  -webkit-animation-name: wiggle;
  backface-visibility: visible !important;
  animation-name: wiggle;
}

.cch_image {
  display: inline-block;
  width: auto;
  margin: auto;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
  max-height: 80px;
  left: 0;
  transform: none;
  position: inherit;
	margin: 5px;
}

a#next {
  display: block;
  position: fixed;
  color: rgb(204, 64, 64);
  right: 75px;
  margin: auto;
  z-index: 200000;
  text-align: center;
  display: none;
  font-size: 73px;
  top: 44%;
  transition: all 0.5s;
}

a#previous {
  width: auto;
  height: auto;
  display: block;
  position: fixed;
  left: 75px;
  margin: auto;
  z-index: 200000;
  text-align: center;
  display: none;
  color: rgb(204, 64, 64);
  font-size: 73px;
  top: 44%;
  transition: all 0.5s;
}

#next:hover {
  transform: scale(1.2);
}

#previous:hover {
  transform: scale(1.2);
}

#preview_text {
  z-index: 1;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  color: black;
  line-height: 1;
  font-size: 30px;
  background-color: rgba(255, 255, 255, 0.65);
  font-family: 'Lato', sans-serif;
  max-width: 400px;
}

.slider-text {
  display: none;
  font-family: 'Lato', sans-serif;
}

#wrap-me {
	margin-top: 20px;
	margin: 0 auto;
	width: 90%;
}

@keyframes wiggle {
  0% {
    transform: perspective(400px) rotateX(90deg);
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotateX(-10deg);
  }
  70% {
    transform: perspective(400px) rotateX(10deg);
  }
  100% {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}
/****************************************************************************
******************************  MEDIA  **************************************
****************************************************************************/
@media screen and (max-width: 1155px) {
    .the-header,
    #about,
    #production,
    #formations,
    #contact,
    #footer,
    #content-gallery{
    	width: 100%;
    }
}
@media screen and (max-width: 1100px) {
	.about-row,
    .production-row,
    .formations-row{
    	width: 100%;
    }
   
}
@media screen and (max-width: 980px) {
	.the-header{
		background:url(../img/bg-header.jpg) no-repeat bottom;
	}
	#the-main-nav{
		clear: both;
        display: block;
        text-align: center;
	}
	#the-main-nav ul li {
		display: block;
		text-align: center;
		padding: 8px;
	}
	/*#the-main-nav ul li:after{
		content:"";
	    background: url('pics/ornament.png') no-repeat;
	    display: block;
	    height: 30px;
	    width: 50px;
	    margin: 0 auto;
	}*/
	#the-main-nav li a {
		text-decoration: none;
		color: #FFF;
		font-size: 20px;
	}
	#the-main-nav ul li a:hover {
		text-decoration: underline;
	}
	.nav{
		display: none;
	}
	.nav ul li a{
		color: white;
		text-align: center;
	}
	.nav-desktop{
		display: none;
	}
    .nav-btn {
		color: #FFF;
		font-size: 40px;
		cursor: pointer;
	}
	.nav-btn:before {
		content:"Меню";
		font-family: 'Exo 2', sans-serif;
	    background: url('../img/ornament.png') no-repeat;
	    padding:80px;
	    background-position:35px; 
	   	margin: 0 auto;
  	}
  	.hr{
		width: 100%;
		left: 0%;
	}
}
@media screen and (max-width: 930px) {
    .formations-row:first-child .formation-desc{
		width: 66%;
	}
	.formations-row:first-child .formation-desc img{
		width: 66%;
	}
}
@media screen and (max-width: 768px) {
	.about-row,
	.production-row,
	.formations-row{
		display: table;
	}
	.about-desc,
    .production-desc,
    .formation-desc{
    	width: 100%;
    	display: table-header-group;
    }
    .formations-row:first-child .formation-desc{
		width: 100% !important;
	}
	.formations-row:first-child .formation-desc img{
		width: 100% !important;
	}
    .formation-desc img{
    	width: 80%;
    }
    .about-img,
    .production-img,
    .formation-img{
    	display: table-footer-group;
    }
    .contact-desc,
    .contact-img{
    	width: 100%;
    	margin: 0 auto;
    }
    #contact-form-wrapper,
    #fb-likebox{
    	width: 100%;
    }

}	

