@import url(http://fonts.googleapis.com/css?family=Open+Sans:300&subset=latin,cyrillic);

* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
	font-size: 14px;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 300;
}
body {
	font-size: 14px;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-weight: 300;
	width: 100%;
	height: 100%;
	color:#000;
	background-color: #9c2f67;
	background: url(../img/menu.png) 100% repeat;
}

body.fs1 {
	font-size: 10px;
}

body.fs2{
	font-size: 11px;
}

body.fs3{
	font-size: 12px;
}

body.fs4{
	font-size: 13px;
}

body.fs5{
	font-size: 14px;
}

body.fs6{
	font-size: 15px;
}

/* Normal link */
a {
	color: grey;
	outline: none;
	text-decoration: underline;
}
a:hover, a:active, a:focus {
	text-decoration: none;
	color: #9c2f67;
	-webkit-transition:color 300ms ease-in;
   	-moz-transition:color 300ms ease-in;
   	-o-transition:color 300ms ease-in;
   	transition:color 300ms ease-in;
}
	#social {
  display: inline-block;
  padding: 6px 0 0 6px;

  border-radius: 10px;
}
#social:hover {
  background: #9c2f67;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
  box-shadow:  0px 7px 20px #9c2f67;
-webkit-box-shadow: 0px 7px 20px #9c2f67;
-moz-box-shadow: 0px 7px 20px #9c2f67;
}
#social a {opacity: 0.5;}
#social:hover a {opacity: 0.7;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;}
#social a:hover {opacity: 1}

.podsvetka img {
padding: 10px;
}
.podsvetka img:hover {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
background-color: #9c2f67;
border-radius:10px 10px 10px 10px;
box-shadow: 0px 7px 20px #9c2f67;
-webkit-box-shadow: 0px 7px 20px #9c2f67;
-moz-box-shadow: 0px 7px 20px #9c2f67;
}
/* Title text */
.contentheading, .componentheading, .blog_more strong, h1, h2, h3, h4 {
	font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

/* Small text */
small, .small, .smalldark, .mosimage_caption, .createby, .createdate, .modifydate, a.readon, .img_caption {
	color: #666666;
	font-size: 92%;
}

/* Heading */
h1 {
	font-size: 180%;
}

h2 {
	font-size: 150%;
}

h3 {
	font-size: 125%;
	margin: -15px 0;
}

h4 {
	font-size: 100%;
	text-transform: uppercase;
}
span, p {
	font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
	font-size : 16px !important;
	font-weight: 300 !important;
}

p, pre, blockquote, ul, ol, h1, h2, h4, h5, h6 {
	margin: 1em 0;
	padding: 0;
}

ul {
	list-style: none;
}

ul li {
	padding-left: 0px;
	background: url(../images/bullet.gif) no-repeat 18px 8px;
	line-height: 180%;
}

ol li {
	margin-left: 35px;
	line-height: 180%;
}

th {
	padding: 5px;
	font-weight: bold;
	text-align: left;
}

fieldset {
	border: none;
	padding: 10px 5px;
	background: url(../images/hdot2.gif) repeat-x top;
}

fieldset a {
	font-weight: bold;
}

hr {
	border-top: 1px solid #CCCCCC;
	border-right: 0;
	border-left: 0;
	border-bottom: 0;
	height: 1px;
}

img {
border-radius:10px 10px 10px 10px;
}


/* ===================================Вставки от Алишера=========================== */
/*Красим таблицу рассписания*/

 table.schedule, .schedule th, .schedule td{
	border-style:solid;
	border-width:1px;
	border-collapse:collapse;
	padding:2px;
	width : 100%;
}

.schedule th {
	height:28px;
	background-color:#9C2F67;
	color:white;
	border-color:black;
}
.schedule 
{
}	

.lv{
	text-align: center;
	border-top: none;
	border-left: none;
	border-right: none;
	font-size : 22px;
	font-weight : bold;
}

#registry_form{
	width: 770px;
	border-collapse:collapse;
	padding:2px;
	margin:0 auto;
}
#registry_form table{
	-moz-border-radius: 10px;
	border-radius: 10px;
	width: 100%;
}

#registry_form tr{
	padding:2px;
}


#registry_form input{
	width: 100%;
	padding:1px;
}

#registry_form .submit-email{
	margin-right:1%;
	float: right;
	width: 120px;
}

/*====================================Конец вставок от Алишера====================*/
img {
	border: none;
}

#wrapper {
	width: 100%;
	height: auto;
	margin: 0;
}
#toTop
{
margin-right: 2%;
border: 0;
color: black;
background-color: #fdf5ce;
border-radius:10px 10px 10px 10px;
box-shadow: 0px 7px 20px #000;
-webkit-box-shadow: 0px 7px 20px #000;
-moz-box-shadow: 0px 7px 20px #000;
opacity: 0.8;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
}
.input{
width: 150px;
border: solid 3px;
border-radius: 8px;
border-color: #9c2f67;
}

.borders{
	border-right: 3px solid #9c2f67;
	border-left: 3px solid #9c2f67;
	padding: 25px;
}

.shadow_inset {
	box-shadow: inset 0px 7px 20px #000;
	-webkit-box-shadow: inset 0px 7px 20px #000;
	-moz-box-shadow:inset 0px 7px 20px #000;
}

.shadow {
	box-shadow: 0px 7px 20px #000;
	-webkit-box-shadow: 0px 7px 20px #000;
	-moz-box-shadow: 0px 7px 20px #000;
}
.shadow_over {
	box-shadow: inset 0px -7px 20px #000;
	-webkit-box-shadow: inset 0px -7px 20px #000;
	-moz-box-shadow:inset 0px -7px 20px #000;
}

ul#nav2 {
    position: fixed;     	/* Делаем меню зафиксированным на экране (при прокрутке оно
 находится всё время на одном месте)*/
    top: 140px;
    right: 40px;
    list-style: none;
    z-index:9999;
}

ul#nav2 li {
    width: 0px
}

ul#nav2 li a {
    text-align: right;
    display: block;
    margin-right: -143px;			/* Прячем меню справа, оставляем небольшой кусочек*/
    width: 140px;
    height: 70px;
    background-color:#fff;
    background-repeat:no-repeat;
    background-position:/*center right*/center left;
    border:1px solid #AFAFAF;
    -moz-border-radius:10px 0px 0px 10px;
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -khtml-border-bottom-left-radius: 10px;
    -khtml-border-top-left-radius: 10px;
    -o-border-bottom-leftt-radius: 10px;
    -o-border-top-left-radius: 10px;
    -moz-box-shadow: 0px 4px 10px #000;
    -webkit-box-shadow: 0px 4px 10px #000;
    -o-box-shadow: 0px 4px 10px #000;
    box-shadow: 0px 4px 10px #000;
    border-radius:10px 0px 0px 10px;
    opacity: 0.7;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
	
	/* Ниже прописано свойство transition которое применяются ко всем свойствам,
 которые находятся выше и выполняет выдвижение и закрытие меню за 1 секунду */
	
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

/* Данное свойство transform позволяет нам при наведении на ссылку выдвинуть меню на 75px
 вправо. Первый параметр в скобках: перемещение по оси X. Второй по оси Y  */

ul#nav2 li a:hover{
    -webkit-transform: translate(-103px, 0);
    -moz-transform: translate(-103px, 0); 
    -o-transform: translate(-103px, 0);
    transform: translate(-103px, 0);
	opacity: 1;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}

/* Ниже размещены картинки для каждой ссылки*/

ul#nav2 .syllabus a      {
    background-image: url('../img/syllabus.png')
}
ul#nav2 .child a      {
    background-image: url('../img/child.png')
}
ul#nav2 .individ a      {
    background-image: url('../img/individ.png')
}
ul#nav2 .corp a      {
    background-image: url('../img/corp.png')
}
ul#nav2 .family a   {
    background-image: url('../img/family.png')
}
ul#nav2 .stud a     {
    background-image: url('../img/stud.png')
}
ul#nav2 .contact a    {
    background-image: url('images/email_write.png')
}
ul#nav {
    position: fixed;     	/* Делаем меню зафиксированным на экране (при прокрутке оно
 находится всё время на одном месте)*/
    top: 140px;
    left: 0;
    list-style: none;
    z-index:9999;
}

ul#nav li {
    width: 0px
}

ul#nav li a {
    text-align: center;
    display: block;
    margin-left: -103px;			/* Прячем меню слева, оставляем небольшой кусочек*/
    width: 140px;
    height: 70px;
    background-color:#fff;
    background-repeat:no-repeat;
    background-position:/*center left;*/ center right;
    border:1px solid #AFAFAF;
    -moz-border-radius:0px 10px 10px 0px;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -khtml-border-bottom-right-radius: 10px;
    -khtml-border-top-right-radius: 10px;
    -o-border-bottom-right-radius: 10px;
    -o-border-top-right-radius: 10px;
    -moz-box-shadow: 0px 4px 10px #000;
    -webkit-box-shadow: 0px 4px 10px #000;
    -o-box-shadow: 0px 4px 10px #000;
    box-shadow: 0px 4px 10px #000;
    border-radius:0px 10px 10px 0px;
    opacity: 0.7;
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
	
	/* Ниже прописано свойство transition которое применяются ко всем свойствам,
 которые находятся выше и выполняет выдвижение и закрытие меню за 1 секунду */
	
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

/* Данное свойство transform позволяет нам при наведении на ссылку выдвинуть меню на 75px
 вправо. Первый параметр в скобках: перемещение по оси X. Второй по оси Y  */

ul#nav li a:hover{
    -webkit-transform: translate(103px, 0);
    -moz-transform: translate(103px, 0); 
    -o-transform: translate(103px, 0);
    transform: translate(103px, 0);
	opacity: 1;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);
}

/* Ниже размещены картинки для каждой ссылки*/

ul#nav .obych a{
    background-image: url('../img/obych.png')
}
ul#nav .about a      {
    background-image: url('../img/about.png')
}
ul#nav .exams a      {
    background-image: url('../img/exams.png')
}
ul#nav .foto a      {
    background-image: url('../img/foto.png')
}
ul#nav .teachers a   {
    background-image: url('../img/teachers.png')
}
ul#nav .learn a     {
    background-image: url('../img/learn.png')
}
ul#nav .contact a    {
    background-image: url('images/email_write.png')
}
/* Header
-----------------------------------------------------------------------------*/
#header {
	position: relative;
	z-index: 1;
	background-color: #fdf5ce;
	width: 100%;
	height: 130px;
}

#logo {
	margin-left: 0px;
	margin-top: 5px;
	float: left;
	height: 110px;
	width: 300px;
	background: url(../img/school.png) 100%;
}
#bird {
	margin-left: -160px;
	margin-top: 15px;
	float: left;
	height: 70px;
	width: 95px;
	background: url(../img/bird.png) 100%;
}
#sale {
	position: absolute;
	left: 50%;
	margin-left: -90px;
	margin-top: 0px;
	float: left;
	height: 209px;
	width: 180px;
}
#slogan {
	margin-left: -155px;
	margin-top: 15px;
	float: left;
	height: 110px;
	width: 300px;
	background: url(../img/slogan.png) 100%;

}
#adress{
	font-size: 14px;
	text-align:center;
	margin-top: 15px;
	margin-left: -125px;
	height: 110px;
	width: 250px;
	float: left;
	left: 75%;
	position: absolute;
}
#adress a {
	color: #9c2f67;
}
#social_buttons{
	text-align: left;
	margin-top: 95px;
	margin-left: -65px;
	height: 110px;
	width: 300px;
	float: left;
	left: 75%;
	position: absolute;
	line-height: 0px;
	color: transparent;
	font-size: 12px;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 50;
	text-transform: uppercase;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}
#social_buttons:hover{
	line-height: 30px;
	color: #9c2f67;
}
#social_buttons img{
	float:left;
	margin: 0 15px;
}
#zvonok{
	left: 88%;
	margin-top: 15px;
	position: absolute;
	float: left;
}
#menuback {
	z-index: 0;
	position: relative;
	height: 520px;
	width: auto;
}
#menu {
	margin-bottom: 15px;
	margin-top: 15px;
	left: 50%;
	margin-left: -550px;
	position: absolute;
	height: 500px;
	width: auto;
}

/* Center block (content)
-----------------------------------------------------------------------------*/
#centerblock{
	position:relative;
	margin: 0 auto;
	width: 800px;
}
#middle {
	background-color: #fdf5ce;
	border-radius: 10px 10px 10px 10px;
	float: left;
	margin-top: 10px;
	position: relative;
}
#middle_text {
	margin: 10px;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	margin: 0 auto;
	width: 1200px;
	height: auto;
	overflow: hidden;
	position: relative;
	padding-bottom: 40px;
}
@media screen and (min-device-width: 1600px) {
    #container {width: 1500px;}
}
@media screen and (min-device-width: 1900px) {
    #container {width: 1800px;}
	#centerblock {width: 1300px;}
	#middle {width: 1300px;}
}
@media screen and (device-width: 1280px) {
    #container {width: 1200px;}
	#centerblock {width:800px;}
	#middle {width: 800px;}
}
@media screen and (device-width: 1024px) {
    #container {width: 944px;}
	#centerblock {width: 544px;}
	#middle {width: 544px;}
}
/* Sidebar Left
-----------------------------------------------------------------------------*/
#left_col	{
	width: 150px;
	margin-top: 10px;
	position:relative;
	float: left;
}
#left1_on, #left2_on {
	background-color: #fdf5ce;
	border-radius: 10px 10px 10px 10px;
	float: left;
	text-align: center;
}

#left2_on {
	margin-top: 25px;
	position: relative;
	clear: left;
}

#left1_off, #left2_off {
	display:none;
}
#left_text {
	padding: 15px;
}

/* Sidebar Right
-----------------------------------------------------------------------------*/
#right_col {
	position:relative;
	float: right;
	width: 150px;

}
#right1_on, #right2_on {
	margin-top: 10px;
	background-color: #fdf5ce;
	border-radius: 10px 10px 10px 10px;
	float: left;
	width: 99%;
}
#right2_on {
	margin-top: 25px;
}

#right1_off, #right2_off {
	display:none;
}

#right_text {
	text-align: center;
	padding: 10px;
}

/* Child
-----------------------------------------------------------------------------*/
#child{
margin-left:0px;
}
#child img:hover {
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
background-color: #9c2f67;
border-radius:10px 10px 10px 10px;
box-shadow: 0px 7px 20px #9c2f67;
-webkit-box-shadow: 0px 7px 20px #9c2f67;
-moz-box-shadow: 0px 7px 20px #9c2f67;
}
/* Footer
-----------------------------------------------------------------------------*/


#footer {
	margin-top: 10px;
	float: left;
	width: 100%;
	height: 125px;
	position: relative;

}

#footer_container{
	margin-right: auto;
	margin-left: auto;
	margin-top: 20px;
	text-align: center;
	width: 700px;
	height: 85px;
	background-color: #fdf5ce;
	border-radius: 10px 10px 10px 10px;
}
#footer_text{
	padding: 5px;
	color: black;
}

#social_buttons_footer{
	text-align:center;
	margin-top: 5px;
	margin-left: -64px;
	height: auto;
	width: 300px;
	float: left;
	left: 50%;
	position: absolute;
	line-height: 0px;
	color: transparent;
	font-size: 12px;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 100;
	text-transform: uppercase;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
}
#social_buttons_footer:hover{
	line-height: 30px;
	color: #9c2f67;
}
#social_buttons_footer img{
	float:left;
	margin: 0 15px;
}
#footer_container a {
	color: black;
	outline: none;
	text-decoration: underline;
}
#footer_container a:hover {
	text-decoration: none;
	color: #9c2f67;
}
/*
@media screen and (max-width: 1000px) {
 
#maincontent {
	height: auto;
	width: auto;
}
 #header {
	font-size: 8px;
	width: auto;
  }
#visual {
	width: auto;
	height: auto;
}

#middle_on img {
	width: 768px;
	height: auto;
}

#footer {
	width: auto;
}

.footer-left {
	width: 230px;
}

.footer-right {
	width: 230px;
}
#component_full {
	width: 748px;
	padding: 10px;
}
#component_full img {
	width: 748px;
	height: auto;
}

#leftbar_on {
	padding-left: 10px;
	margin-top: 10px;
	width: 175px;
}

#component_small {
	padding: 10px;
	padding-left: 30px;
	width: 520px;
}

#component_small img {
	width: auto;
	height: auto;
}
#scale img {
	width: 520px;
	height: auto;
}
 #menu {
	font-size: 9px;
 }
#menu ul {
	font-size: 9px;
}
 
}
@-ms-viewport {
	width: device-width;
}
@media screen and (max-width: 520px) {
body {
	width: 480px;

}
#wrapper {
	width: 480px;
}
#header {
	width: 480px;
}
#header-container {
	position: relative;
	margin: 0 auto;
	width: 480px;
}
#logo-container {
	margin-top: 30px;
	display:block;
	float: left;
	position: relative;
	width: 260px;
	height: 98px;
	background: url(../img/mobile/logo.png) 100%;
}
#navigation {
	right: 10px;
	float: right;
}
#adress, #sale, #slogan, #bird, #logo  {
	display: none;
}
#left_col {
	display: none;
}
#right_col {
	display: none;
}
#centerblock {
	margin: 0 auto;
	width: 480px;
}
#middle {
	width: 440px;
	margin: 0;
}
#footer {
	margin: 0 auto;
	width: 480px;
}

#footer_container {
	height: 100px;
	width: 480px;
	padding: 0;
}

#footer_center {
	display: none;
}
#footer_right {
	display: none;
}
.footer1 {
	display: none;
}
.footer2 {
	display: none;
}
#menu ul {
	font-size: 8px;
}
 
}
*/