*::-webkit-input-placeholder {
	color: #666;
	opacity: 1;
}
*:-moz-placeholder {
	color: #666;
	opacity: 1;
}
*::-moz-placeholder {
	color: #666;
	opacity: 1;
}
*:-ms-input-placeholder {
	color: #666;
	opacity: 1;
}

body input:focus:required:invalid,
body textarea:focus:required:invalid {

}
body input:required:valid,
body textarea:required:valid {
	
}
body {
	font-family: "Source Sans Pro", sans-serif;
	font-size: 16px;
	overflow-x:hidden;
	background: white;
}
.teachers{
float:left; width:100%;}
.teacher{
float: left;
    height: 350px;
    width: 100%;
    max-width: 255px;
    margin: 10px;
    margin-bottom: 2em;}
.header{
	float: left;
	width: 100%;
	padding:0;
	background:url(images/bg.png) no-repeat;
	-webkit-background-size: cover;
	background-size: cover;
}
.logo img{
	width: 100%;
	max-width: 150px;
	height: auto;
	padding: 5px;
}
.topmenu{
	float: left;
	text-align: center;
	width:100%;
}
.topmenu ul{
	list-style-type: none;
	padding: 0;
}
.topmenu ul li{
	display: inline-block;
}
.justifyfull{
text-align:justify;}
/*------------------------------------*\
	НАВИГАЦИЯ
	\*------------------------------------*/
	#nav{
list-style: none;
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0;
    margin: 0;
    display: inline-block;
    float: left;
    width: 100%;
	}
	#nav li{
		position:relative;
		display:inline-block;
		padding: 0px 5px;
		width:19%;
	}
	#nav li a{
display: block;
    color: #1890a7;
    padding: 0 10px;
    line-height: 84px;
    text-decoration: none;
    font-weight: bold;
    height: 89px;
    background: url(images/cloud.png) center no-repeat;
    background-size: contain;
	}

	/*--- ВЫПАДАЮЩИЕ ПУНКТЫ ---*/
	#nav ul{
		list-style:none;
		position:absolute;
		left:-9999px;
		opacity:0;
		-webkit-transition:0.25s linear opacity;
		padding-left: 0;
	}
	#nav ul li{
		padding-top: 1px;
		float: left;
		background: rgb(32, 151, 175);
		width: 100%;
		text-align: left;
	}
	#nav ul a{
		white-space: nowrap;
		display: block;
		height: auto;
		width: 100%;
		line-height: 32px;
		padding: 5px;
	}
	#nav li:hover ul{
		left: 0;
		opacity: 1;
		z-index: 3;
		background: rgba(4, 28, 59, 0.85);
		padding: 0;
		margin-left: 5px;
	}
	#nav li:hover ul a{
    text-decoration: none;
    -webkit-transition: -webkit-transform 0.075s linear;
    background: rgb(32, 151, 175);
    color: white;
    font-weight: 100;
	}
	#nav li:hover ul li a:hover{
		text-decoration:underline;
	}
	.slider{
		width: 100%;
		float: left;
	}
	.uslugi{
margin-top:2em;
	}
	.uslugi, .content{
		float: left;
		width: 100%;
		margin-bottom: 2em;
	}
	.uslugi .col-md-4:first-child a, .uslugi .col-md-4:nth-child(6) a, .uslugi .col-md-4:nth-child(11) a{
	background:#e2492c;}
	.uslugi .col-md-4:nth-child(2) a, .uslugi .col-md-4:nth-child(7) a, .uslugi .col-md-4:nth-child(12) a{
	background:#84c902;}
		.uslugi .col-md-4:nth-child(3) a, .uslugi .col-md-4:nth-child(8) a, .uslugi .col-md-4:nth-child(13) a{
	background:#e35181;}
			.uslugi .col-md-4:nth-child(4) a, .uslugi .col-md-4:nth-child(9) a, .uslugi .col-md-4:nth-child(14) a{
	background:#5249a6;}
				.uslugi .col-md-4:nth-child(5) a, .uslugi .col-md-4:nth-child(10) a, .uslugi .col-md-4:nth-child(15) a{
	background:#e88f49;}
	.top-contacts{
    float: left;
    text-align: right;
    width: 100%;
    padding: 16px 0;
    margin-top: 2em;

	}
	.top-contacts a{
		font-size: 20px;
		color: white;
	}
	.top-contacts a:hover{
		text-decoration: underline;
	}
	.popup-btn{
		float: left;
		width: 100%;
		text-align:center;
		padding: 1.5em 0 3em;
	}
	.popup-btn a, .button{
		text-transform: uppercase;
		color: white;
		background: darkgreen;
		padding: 15px 25px;
		border-radius: 5px;
		border: none;
	}
	.popup-btn a:hover, .button:hover{
		background: #00b000;
	}
	.pop_form {
		background: url(images/formbg.png) bottom no-repeat;
		background-size: cover;
		text-align: center;
		padding: 10px;
	}
	.pop_form input, .pop_form textarea{
		width: 85%;
		padding: 10px;
		max-width: 400px;
		display: block;
		margin: 10px auto;
		background: rgba(255,255,255,0.75);
		border: none;
		border-radius: 5px;
	}
	.button{

	}
	.fancybox-skin{
		padding: 0 !important;
	}
	.footer{
		background: url(images/footerbg.png) top no-repeat;
		-webkit-background-size: cover;
		background-size: cover;
		float: left;
		width: 100%;
		min-height: 175px;
		padding-top: 20px;
	}
	.footer-menu{

	}
	.footer-menu ul{
		list-style-type: none;
		padding: 0;
		margin:0;
	}
	.footer-menu ul li{
		display: inline-block;
		padding: 0 15px;
	}
	.footer-menu ul li:first-child{
		padding-left:0;
	}
	.footer-menu ul li a{
		color:darkgreen;
	}
	.footer-menu ul li a:hover{
		text-decoration: underline;
	}
	.credits{
		font-size: 12px;
		color: black;
		font-style: italic;
		text-align: center;c
	}
	.footer-contacts{
		color: darkgreen;
		text-align: right;
	}
	.footer-contacts a{
		color:darkgreen;
	}
	.footer-contacts a:hover{
		text-decoration: underline;
	}
	.main-image{
		float: left;
		width: 100%;
		height:50vh;
		max-height: 500px;
		-webkit-background-size: cover;
		background-size: cover;	
		margin-bottom: 2em;
	}
	.side-menu{
		float: left;
		width: 100%;
	}
	.side-menu ul{
		list-style-type: none;
		padding:0;
		margin:0;
	}
	.side-menu ul li{
		margin-bottom: 1px;

	}
	.side-menu ul li a{
		padding:10px;
		background-color: #2097af;
		display: block;
		color:white;
	}
	.breadcrumbs{
	float:left;
	width:100%;}
	.breadcrumbs {
    padding:5px 0;
    font-size: 12px;
	margin:0 auto;
	padding-top: 20px;
	padding-bottom:20px;
    }

.breadcrumbs ul{
    margin:0;
    padding:0;
    list-style:none;
    }
.breadcrumbs row{
margin-left: 0px;
    margin-right: 0px;
}

.breadcrumbs ul li{display:inline; padding:10px;}
.breadcrumbs ul li a{    text-decoration: none;
    font-style: italic;
    color: darkgreen;}
.B_currentCrumb{
pointer-events:none;}
.sliderform{
float:left;
width:100%;
height:80vh;
position:relative;
z-index:2;}
.sf-form{

}
.sf-form form{
text-align: center;
    padding: 10% 15px;
    background: rgba(0,0,0,0.5);
    margin: auto;
    margin: 5.5em 0;
}
.sf-form legend {
    font-size:  1.25em;
    color: white;
    font-weight: 600;
    padding: 15px 0;
}
.sf-form input, .sf-form button{
width: 80%;
    max-width: 325px;
    margin: 10px auto;
    line-height: 24px;
    padding: 10px;
	display:block;
}
.btn-form{
text-transform: uppercase;
    color: white;
    background: #337ab7;
    padding: 15px 25px;
    border-radius: 5px;
    border: none;
}
.btn-form:hover{
    background: #00b07f;
}
.socials{
margin-top: 11px;
    float: right;
    width: 100%;
    text-align: right;
}
.socials img{
padding:3px;
width:45px;
}
.sf-text{
    text-transform:  uppercase;
    font-size: 44px;
    font-weight: bold;
    color: white;
    text-shadow: -0   -2px 0   #000000,     0   -2px 0   #000000,    -0    2px 0   #000000,     0    2px 0   #000000,    -2px -0   0   #000000,     2px -0   0   #000000,    -2px  0   0   #000000,     2px  0   0   #000000,    -1px -2px 0   #000000,     1px -2px 0   #000000,    -1px  2px 0   #000000,     1px  2px 0   #000000,    -2px -1px 0   #000000,     2px -1px 0   #000000,    -2px  1px 0   #000000,     2px  1px 0   #000000,    -2px -2px 0   #000000,     2px -2px 0   #000000,    -2px  2px 0   #000000,     2px  2px 0   #000000,    -2px -2px 0   #000000,     2px -2px 0   #000000,    -2px  2px 0   #000000,     2px  2px 0   #000000;
	position: absolute;
    width: 100%;
    float: left;
    left: 0;
    padding:0 40px;
    bottom: -70vh;
}
.sf-text span{
    font-size: 24px;
    text-shadow: 0 -1px 0 #000000, 0 -1px 0 #000000, 0 1px 0 #000000, 0 1px 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
}
* {
-webkit-tap-highlight-color:rgba(0,0,0,0);
-webkit-tap-highlight-color:transparent;
}

.menu-button {
color:#fff;
cursor:pointer;
font-size:3rem;
    padding: 2rem;
position:fixed;
right:0;
}

.open-menu {
color:#fff;
cursor:pointer;
font-size:1rem;
padding:1rem;
position:absolute;
right:0;
top:0;
transition:transform 250ms ease;
}

.rotate { transform:rotate(135deg); }


/* Generated Overflow Element */

.overflow {
margin-top:57px;
overflow-x:hidden;
overflow-y:auto;
}

.ml80{
margin-top:-80vh;
}
#mobile-nav {
position: fixed;
    width: 100%;
    z-index: 10;
    display: none;
    background: url(images/bg.png) no-repeat;
	background-size:cover;
	height:90px;
}

#mobile-nav ul {
background-color: rgba(0,0,0,.1);
    display: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100vw;
	margin-top:33px;
}

#mobile-nav ul:first-child {
background-color:transparent;
}

#mobile-nav ul li {
border-top: 1px solid rgba(255,255,255,.075);
    list-style: none;
    margin-bottom: 0;
    position: relative;
    background: #337ab7;
    width: 100vw;
    padding-left: 10px;
}

#mobile-nav ul li a {
color: #fff;
    display: inline-block;
    font-size: 12px;
    padding: 5px 0;
    text-decoration: none;
    width: 100%;
}

#mobile-nav ul ul {
margin:0;
}

#mobile-nav ul ul li {
border-top:none;
padding-left:1rem;
}
 .transition, p, .content-ds ul li i:before, .content-ds ul li i:after {
  transition: all 0.25s ease-in-out;
}

.flipIn, h1, .content-ds ul li {
  animation: flipdown 0.5s ease both;
}

.no-select, h2 {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.content-ds ul {
  list-style: none;
  perspective: 900;
  padding: 0;
  margin: 0;
}
.content-ds ul li {
  position: relative;
  padding: 0;
  margin: 0;
  padding-bottom: 4px;
  padding-top: 18px;
  border-top: 1px dotted #dce7eb;
}
.content-ds ul li:nth-of-type(1) {
  animation-delay: 0.5s;
}
.content-ds ul li:nth-of-type(2) {
  animation-delay: 0.75s;
}
.content-ds ul li:nth-of-type(3) {
  animation-delay: 1s;
}
.content-ds ul li:last-of-type {
  padding-bottom: 0;
}
.content-ds ul li i {
  position: absolute;
  transform: translate(-6px, 0);
  margin-top: 16px;
  right: 0;
}
.content-ds ul li i:before, .content-ds ul li i:after {
  content: "";
  position: absolute;
  background-color: #ff6873;
  width: 3px;
  height: 9px;
}
.content-ds ul li i:before {
  transform: translate(-2px, 0) rotate(45deg);
}
.content-ds ul li i:after {
  transform: translate(2px, 0) rotate(-45deg);
}
.content-ds ul li input[type=checkbox] {
  position: absolute;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
}
.content-ds ul li input[type=checkbox]:checked ~ p {
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  transform: translate(0, 50%);
  display:none;
}
.content-ds ul li input[type=checkbox]:checked ~ i:before {
  transform: translate(2px, 0) rotate(45deg);
}
.content-ds ul li input[type=checkbox]:checked ~ i:after {
  transform: translate(-2px, 0) rotate(-45deg);
}
 .map-promo{
float:left;
position:relative;
width:100%;
text-align:center;
background:darkgreen;
padding-bottom:2em;
color:white;
  }
  .map-promo::before{
content: "";
    position: absolute;
    left: 0;
    top: -10px;
    right: 0;
    background-repeat: repeat;
    height: 10px;
    background-size: 20px 20px;
    background-image: radial-gradient(circle at 10px -5px, transparent 12px, darkgreen 13px);
}

@keyframes flipdown {
  0% {
    opacity: 0;
    transform-origin: top center;
    transform: rotateX(-90deg);
  }
  5% {
    opacity: 1;
  }
  80% {
    transform: rotateX(8deg);
  }
  83% {
    transform: rotateX(6deg);
  }
  92% {
    transform: rotateX(-3deg);
  }
  100% {
    transform-origin: top center;
    transform: rotateX(0deg);
  }

}