/*---------------- Reset ----------------*/

html,body,div,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,input,button,textarea,p,blockquote,th,td{margin:0;padding:0}
table{border-collapse:collapse;border-spacing:0}
button,img{border:0;vertical-align:middle;}
ul,li{list-style:none}
caption,th{text-align:left}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}
input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit}
input,button,textarea,select{font-size:100%;}
body,td,div,input,textarea,select {font-style:normal;font-weight:normal;}
*:focus{outline:none}
header,footer,nav,section,article,aside{display:block}


/*---------------- Styles ----------------*/

/*html{color:#555;font:12px/18px Arial;background:#A5A5A5}

body{width:960px;margin:20px auto;background:#fff;-webkit-box-shadow:#000 0px 0px 6px;-moz-box-shadow: #000 0px 0px 6px;box-shadow:#000 0px 0px 6px;behavior:url(/css/PIE/PIE.php)} */

html{
  color:#555;
  font-size: 16px;
  /*font:12px/18px Arial;*/
  /* background:#A5A5A5 */
}

body {
  /* width:960px;
  margin:20px auto;    
  */
  padding: 20px;
  background:#fff;
  /*-webkit-box-shadow:#000 0px 0px 6px;
  -moz-box-shadow: #000 0px 0px 6px;
  box-shadow:#000 0px 0px 6px;*/
  
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #555;
}    
    

.center {
  text-align: center;
}
  
.pt-0 {
  padding-top: 0!important;
} 

.d-none {
  display: none;
}

.breadcrumb {
  font-size: 0.8rem;
}


h1{margin:15px 0 5px 0;color:#666;font:300 26px Arial}
h2{font:300 20px Arial;margin:10px 0}
h2.with-pad{margin:30px 0 10px}
h2.without-top-pad{margin:0 0 10px}
h3{display:inline-block;margin:10px 0 0;padding:2px 4px;text-transform:uppercase;font:700 12px Arial;letter-spacing:1px}
h3.small-pad{margin:0}

      
h4{
  /* font:700 14px Arial; */
  font-size: 0.9rem;
  font-weight: bold;
  margin:5px 0 30px;
  }

h5 {
  margin: 15px 0 5px 0;
  font: 300 26px Arial;
  background-color: #800080;
  color: #ffffff;  
  width: fit-content;  
  padding: 0 5px;       
}

h6 {
  font-size: 16px;
  line-height: 24px;  
  background-color: #c0c0c0; 
  color: #000; 
  font-style: italic;
  font-weight: bold;
  width: fit-content;  
  padding: 0 5px; 
}


h4 a {
  color: #000;
}

p, .p{padding:10px 0}
p.without-top-pad{padding:0 0 10px}
p.small-pad{padding:5px 0}

ol{}
ol li{list-style:decimal;margin-left:30px;padding:2px 2px 2px 10px}
ul{}
ul li{background:url(/images/design/li.gif) -20px 6px no-repeat;padding-left:10px}

table{width:100%;margin:0 0 30px; font-size: 0.9rem;}	
table td{background:#F5F5F5;border:1px solid #fff;padding:3px 5px; vertical-align: middle;}	

table.nobg-table td{background:none;}

.nowrap {
  white-space: nowrap;
}

.tel {
  color: #555;
}

.reset-table td{border:0;padding:0;margin:0}
table td.right-col{width:160px; text-align: right;}	
table td.left-col{width:150px; white-space: nowrap;}	

a{text-decoration:none;color:#006388}
a:hover{text-decoration:underline;}
strong {font-weight:bold;}

.clear {clear:both}
.clear-left {clear:left}
.overflow-hidden{overflow:hidden}
.float-left{float:left}
.pad-right{padding-right:20px}
.left {
  float: left;
}
.uppercase {
  text-transform: uppercase;
}
.text-left {
  text-align: left!important;
}

.video {
  max-width: 100%;
}

.text-color-black{color:#000}
.text-color-white{color:#fff}
.req{color:#800080;font:700 16px Arial}
.strike{text-decoration:line-through}

.background-purple{background:#800080;color:#fff}
.background-dark-gray{background:#999}

.dotted-bg{background:url(/images/design/dot.gif) left bottom repeat-x;padding-bottom:10px;margin-bottom:20px}

header{}
#logo{display:block;height:90px; text-align: center;}

header nav{background:#6C298F;height:28px}
#top-nav li{float:left;position:relative;background-image:none;padding:0}

#top-nav li a{
  display:block;
  padding:0 19px;
  font:700 12px/28px Tahoma;
  /*font-size: 0.9rem;
  font-weight: 700;
  font-family: Verdana;*/
  color:#ccc;
  text-decoration:none;
  text-transform:uppercase}

#top-nav li a:hover, #top-nav li:hover a{color:#fff}
#top-nav li ul{display:none;position:absolute;left:0;top:28px;width:400px;z-index:999;background:#ccc}
#top-nav li:hover ul{display:block}
#top-nav li ul li{float:none;}
#top-nav li ul li a{color:#000;font-weight:300}
#top-nav li ul li a:hover{background:#6C298F;color:#fff !important;font-weight:300}


#content-wrapper{ /* background:url(/images/design/content-wrapper.gif) right top repeat-y*/ display: flex;}			
section#content{position:relative;float:left;padding:20px 40px 20px 40px;-webkit-box-shadow:inset 0 20px 6px -20px #000;-moz-box-shadow:inset 0 20px 6px -20px #000;box-shadow:inset 0 20px 6px -20px #000;behavior:url(/css/PIE/PIE.php)}

aside{float:left;width:240px;}
aside section{margin:0 0 10px}
aside .title{background:#A5A5A5;color:#fff;text-transform:uppercase;letter-spacing:1px;margin:0 0 10px;padding:8px 0 7px 15px;font-weight:700;-webkit-box-shadow:inset 6px 0 6px -6px #333;-moz-box-shadow:inset 6px 0 6px -6px #333;box-shadow:inset 6px 0 6px -6px #333; cursor: pointer; display: block;}
aside .title.purple-bg{background:#6C298F}
aside nav ul{}
aside nav ul li{background-image:none}
aside nav ul li a{display:block;padding:6px 6px 6px 15px;background:url(/images/design/li.gif) -17px 13px no-repeat;border-bottom:1px solid #e8e8e8;-webkit-box-shadow:0 1px 0 #fff;-moz-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;text-decoration:none !important;color:#555}
aside nav ul li a:hover{background-position:3px -7px;color:#006388}
.blockquote-bg{font-style:italic; font-size: 0.9rem; padding:20px 8px 10px;margin:0 15px 5px;background:#faf2d9 url(/images/design/quote.png) -25px -28px no-repeat;border:1px solid #e1cc89;border-width:1px 0}
blockquote{background:url(/images/design/quote-close.png) right bottom no-repeat;text-indent:20px;padding:0 0 5px;margin:0 0 5px}

.aside-item{margin:0 15px; overflow: hidden;}

aside {
  font-size: 0.9rem;  
}

aside h3 {
    font-size: 0.8rem;
    line-height: 1.5; 
}

aside h3 a {
  color: #fff; 
}


footer{
  background:#400B59;
  border-top:5px solid #333;
  padding:0 0 10px;
  overflow:hidden;
 /* font:11px/16px Arial */
 font-size: 0.9rem;
}


footer .title{border-bottom:3px solid #fff;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:0 0 5px;margin:0 0 5px}
#footer-top{background:#6C298F;color:#fff;padding:20px 10px;margin:0 0 10px;overflow:hidden;}
#footer-top .left{width:310px;float:left;text-align:center;margin-right:20px}
#footer-top .center{width:365px;float:left;margin-right:40px}
.quote-author{text-align:right;font-style:italic;padding:10px 20px 10px 0}
#footer-top .right{width:200px;float:left}

.contact-link{display:block;color:#fff;text-decoration: underline;}
.contact-address {margin-top: 10px; margin-bottom: 10px;}

.counters{float:right;margin:0 20px}
footer nav{float:left;margin-left:20px}
footer nav li{float:left;padding:0;margin:0;background:none}
footer nav li a{display:block;padding:5px 7px;color:#fff}
.copyright{float:left;color:#fff;padding:5px 10px}


/* Поиск yandex */

#yandex-search table td {
    background: none !important; 
    border: none !important;
}

.ya-site-form__input-text {
  height: 25px;
}

#ya-site-form0 .ya-site-form__submit {
    border: 1px #7f9db9 solid;
    padding: 3px 5px 4px 5px;
}

table.ya-site-form__search-input-layout {
    margin: 0 0 20px;
}

.ya-page_js_yes .ya-site-form_inited_no { display: none; }

/* /Поиск yandex */


.round {
 -moz-border-radius: 100px; /* Firefox */
 -webkit-border-radius: 100px; /* Safari, Chrome */
 -khtml-border-radius: 100px; /* KHTML */
 border-radius: 100px; /* CSS3 */
}


#nivo-slider {
  display: none; 
}

 #logo-mobile { display: none;}
 #menu-button, #tel-button, #search-button {display: none;}
 .mobile {display: none;}

.courses-table {
  margin: 15px 0 0 0;
}

.courses-table .cou-name {
  font-size: 15px;
}

.inverse-row {
  background-color: #faf2d9;
}

.width-40per {
  width: 40%;
}

.width-30per {
  width: 30%;
}

.center {
  text-align: center;
}
	
		
/* Tooltips */
.tooltip{position:absolute;z-index:999;left:-9999px;background:#dedede;padding:5px;border:1px solid #fff;width:250px;}
.tooltip p{margin:0;padding:0;color:#fff;background:#6C298F;padding:2px 7px}
.ttip {
    color:#006388;
    cursor:pointer;
    margin-left: 0px;
    border: 1px solid;
    padding: 0px 2px;
    font-size: 12px;
    white-space: nowrap;    
}

input, select, textarea {
    font-family: verdana, arial;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #d3d3d3;
    padding: 1px 1px 1px 5px;
    margin: 0;
}

input, select {
   height: 2rem;
}
		
input[type=submit], .submit-button, .button {
position:relative;
   white-space: nowrap;
   border:1px solid #6b298f;
   background: #6b298f;
   background: -webkit-gradient(linear, left top, left bottom, from(#ad6ace), to(#6b298f));
   background: -webkit-linear-gradient(top, #ad6ace, #6b298f);
   background: -moz-linear-gradient(top, #ad6ace, #6b298f);
   background: -ms-linear-gradient(top, #ad6ace, #6b298f);
   background: -o-linear-gradient(top, #ad6ace, #6b298f);
   background-image: -ms-linear-gradient(top, #ad6ace 0%, #6b298f 100%);
   padding: 6px 15px;
   -webkit-border-radius: 6px;
   -moz-border-radius: 6px;
   border-radius: 6px;
   -webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   -moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   text-shadow: #6b298f 0 1px 0;
   color: #f3f3f3;
   font-size: 1rem;
   font-family: helvetica, serif;
   text-decoration: none;
   vertical-align: middle;
   behavior:url(/css/PIE/PIE.php)
   }
input[type=submit]:hover, .submit-button:hover, .button:hover {
   white-space: nowrap;
	 text-decoration:none;
   border: 1px solid #6b298f;
   /* text-shadow: #6b298f 0 1px 0; */
   background: #6b298f;
   background: -webkit-gradient(linear, left top, left bottom, from(#ad6ace), to(#6b298f));
   background: -webkit-linear-gradient(top, #ad6ace, #6b298f);
   background: -moz-linear-gradient(top, #ad6ace, #6b298f);
   background: -ms-linear-gradient(top, #ad6ace, #6b298f);
   background: -o-linear-gradient(top, #ad6ace, #6b298f);
   background-image: -ms-linear-gradient(top, #ad6ace 0%, #6b298f 100%);
   color: #fff;
   behavior:url(/css/PIE/PIE.php)
   }
input[type=submit]:active, .submit-button:active, .button:active {  
   white-space: nowrap;
   text-shadow: #6b298f 0 1px 0;
   border: 1px solid #6b298f;
   background: #ad6ace;
   background: -webkit-gradient(linear, left top, left bottom, from(#6b298f), to(#6b298f));
   background: -webkit-linear-gradient(top, #6b298f, #ad6ace);
   background: -moz-linear-gradient(top, #6b298f, #ad6ace);
   background: -ms-linear-gradient(top, #6b298f, #ad6ace);
   background: -o-linear-gradient(top, #6b298f, #ad6ace);
   background-image: -ms-linear-gradient(top, #6b298f 0%, #ad6ace 100%);
   color: #fff;
   behavior:url(/css/PIE/PIE.php)
   }
   
input[type=radio], input[type=checkbox] {
	margin-right: 5px;
	height:auto;
}   

.submit-button{
  padding: 2px 15px;text-decoration:none;
}

.online-button {
	width: 150px;
	margin-top: 15px;
	margin-bottom: 15px;
}

input.email-field {
position: absolute;
left: -1000px;
}

.ya-share2 {
	margin: 15px 0;
}

ul li.ya-share2__item {
  background: none;
  padding-left: 0;
}

.text-color-purple{color:#800080}

.no-background {
  background: none;
  margin-bottom: 10px;
}

.no-background td {
  background: none;
}


/* Image style */
.photo-left {
	PADDING-BOTTOM: 5px; PADDING-LEFT: 0px; PADDING-RIGHT: 10px; FLOAT: left;  OVERFLOW: hidden; PADDING-TOP: 0px; _display: inline
}
.photo-right {
	PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; FLOAT: right;  OVERFLOW: hidden; PADDING-TOP: 0px; _display: inline
}
.photo-center {
	PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px;  OVERFLOW: hidden; PADDING-TOP: 0px; _display: inline;  text-align: center;
}

.photo-img {
	PADDING: 2px 2px 2px 2px;
  background-color: #ffffff;
  width: 100%;
}

.photo-img img {
  border: 0;
  width: 100%;  
}

.photo-txt {
               FONT-SIZE: 12px;
               PADDING: 2px 2px 2px 2px;
               background-color: #EBECEE;
               border-top: 2px solid #ffffff;
               width: 100%;
}
/* /Image style */


#birthdate_result {
  display: none;  
  padding: 15px 20px; 
  margin-top: 10px; 
  margin-bottom: 15px; 
  background: #6C298F; 
  color: #fff; 
  font-size: 16px; 
  font-weight: bold; 
  border-radius: 15px; 
  white-space: nowrap;
}


table.courses-table td {
    padding: 10px 10px;
    border: 2px solid #fff;
}


.course-info-links a {
  color: #555;
  margin-top: 10px;
}

#courses-gift {
  font-size: 24px;
}

#top-nav {
  float: right;
}

#nivo-slider {
  display: none; 
}

 #logo-mobile { display: none;}
 #menu-button, #tel-button, #search-button {display: none;}
 .mobile {display: none;}

.courses-table .cou-name {
  font-size: 15px;
}

#blogs_add_comment table {
  max-width: 300px;
}

#courses-anons-head {
  margin-top: 20px; 
  margin-bottom: 5px;
    display: inline-block;
    padding: 2px 4px;
    text-transform: uppercase;
    /* font: 700 12px Arial; */
    letter-spacing: 1px;
}

.cou-about-link {
  /* margin-left: 20px; */
  color: #fff;  
}
.cou-about-link a {
  color: #fff;
  text-decoration: underline;
}

.cou_special {
  color: #800080; 
  font-weight: bold;
}

.cou-about-link .fa-arrow-circle-right {
margin: 0px 10px;
}

#news-items {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;  
}    

.news-item {
  background: #F5F5F5;
  padding: 10px;
  margin-right: 10px;  
}

#news-items :last-child {
  margin-right: 0;  
}

.news-date {
  text-align: right;
  margin-top: 10px;
  font-style: italic;  
}

.news-pic img {
  width: 197px;
}

#full-news {
  background: #f3f3f3;
  padding: 10px; 
}

.full-news-pic {
  float: left; 
  margin: 13px 10px 10px 0; 
  width: 250px;   
}

.list-news-pic {
  float: left;
  margin: 0 10px 10px 0;
  width: 197px;    
}    

/* Комментарии */
.comment {
  margin: 0 0 15px 0; 
  border: solid 1px #CCCCCC;
}

.comment-head {
  overflow: hidden;
  padding: 5px; 
  margin-bottom: 5px; 
  background: #EBECEE;
}

.comment-name {
  float: left;
}

.comment-date {
  float: right;
  text-align: right;  
}

.comment-body {
  padding: 5px; 
}

#comments_show_form {
  margin: 10px 0;
}

#comments_form_div {
  display: none;
}

#comments_form_table {
  width: 70%;
  margin-bottom:15px;  
}

#comments_submit_button {
  /* margin-right: 10px; */
}

.comments-info {
  color: #1abc9c;
}

.comments_more_link {
  cursor: pointer;
  border-bottom: 1px dashed;  
}

#ajax-loader {
  display: none;
  margin-left: -5px;
  margin-bottom: 5px;
}

#ajax-loader1 {
  display: none; 
  padding: 20px 0 0 5px;   
}
/* /Комментарии */

#comments-buttons {
  margin-top: 10px;
}

div.button-cancel {
  margin-left: 10px;
  height:29px;
  line-height:29px;
  text-decoration: underline;
  cursor: pointer;
}

input.button-cancel {
  background: #CCCCCC!important;
  color: #000!important;
  border: 1px solid #000;
  text-shadow: none;
}


span.button, div.button {
  cursor: pointer;
}

/* Консультации */
#consult_submit_form table {
  width: 70%; 
  min-width: 400px; 
  max-width: 700px;
  border: none;
}

#consult_submit_form table td {
  padding: 5px;
} 

#consult_submit_form .field-name {
 text-align: right;
 font-weight: bold;
 vertical-align: top;
 padding-top: 9px; 
}

#consult-search {
  width: 100%; 
  margin: 5px 0;
}

#consult-search div {
  padding: 2px; 
  white-space: nowrap; 
  text-align: right;
}

.consult-block {
  margin: 20px 0 0px 0;
  border: solid 1px #CCCCCC;
}  

.consult-question {
  padding: 5px; 
  font-weight: bold;
}

.consult-info {
 padding: 5px; 
 background: #eff0f2;
 overflow: hidden;  
}

.consult-answer {
  padding: 5px;  
  overflow: hidden;
}

.consulter-photo {
  float: left; 
  padding-right: 10px;
}

.consulter {
  font-style: italic;
}

#consult-after-text {
  background-color: #eff0f2;
  border-radius: 6px;
  padding: 14px;
  position: relative;
  margin-bottom: 15px;  
}

.consult-info ul li {
  float: left;
  background: none;
  padding-left: 0;
  padding-right: 5px;
  padding-left: 0px;
  /*border-right: 1px solid #CCCCCC;  */
}


.consult-info ul :last-child {
  border-right: none; 
}

#consult-all-link {
  margin: 20px 0;
}
/* /Консультации */

#course_id {max-width: 100%;}

/* Анонсы для главной страницы */
.mp-anons {
  margin: 10px 0 20px 0;
}

.mp-anons:first-of-type {
  margin-top: 30px;
}

.mp-anons h2 {
  text-transform: uppercase;
  margin-bottom: 0;  
}  
  
.mp-anons img {
  float: left;
  margin: 3px 15px 5px 0px;
  width: 80px;  
} 

#redirect-to-pay {
  margin: 15px 0 30px 0;
  padding: 9px;
  border: 1px solid #6b298f;
}

#prepods > div {
  overflow: hidden;
}
