html { overflow-x: hidden; /* Прячем полосу прокрутки визуально */ }
body{

    /*font-family: "Times New Roman";*/
       color: #1571b0 /*#092B77*/;
       margin: 0; min-width: 0; /* Важное правило для предотвращения "выпадения" блоков */ 
      /* box-sizing: border-box; /* Ширина элемента включает padding и border */ 
}

h6{
    /*font-family: "Times New Roman";*/
    font-size: 16px;
   }
.btn-custom:hover{
    color: #FFFFFF;
    text-decoration: underline;
}
/*HEADER*/
.headerOut{
    min-height: 170px;
    background: #09669e; /*#1B55DB url(../images/design/headerBg.png) repeat-x left bottom;*/
}
.header{
    color: #FFFFFF;
    font-family: "Times New Roman";
    font-style: italic;
    text-align: center;
}
.header h2{
    margin: 0px;
    font-size:30px;
}

.header p{
    font-size: 16px;
    margin: 0px;
}
/*TOP MENU*/
.outTopMenu{
    background: #103d65; /*#1c56dc;*/
    min-height: 30px;
    /*border-bottom: 2px solid #063091;*/
}

ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

ul :after {
    display: block;
    content: ' ';
    clear: both;
    float: none;
}

.topMenu ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
    
}
.topMenu ul li{
    float: left;
    position: relative;

}

.topMenu ul a{
    padding: 2px 20px;
    display: block;
    font-family: "Tahoma";
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: #EEEEEE;
    line-height: 25px;
}


.topMenu li a:hover{
    text-decoration: underline;
}

.topMenu > li:hover .submenu{ /*видимость блока разделов*/
  visibility: visible;
  opacity: 1;
  transform: translate(-40%, 0);
}

ul .submenu { /*оформление списка разделов*/
  position: absolute;
  z-index: 1;
  left: 100%;
  top: 100%;
  width: 300px;
  padding: 5px 0px;
  margin-top: 0px;
  background: #103d65;
  border-radius: 2px;
  border-style: none;
  box-shadow: 0 0 2px rgba(0,0,0,.2);
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transform: translate(-35%, 2px);
  line-height: 10px;
  font-family: 'tahoma';
  font-size: 12px;
}


.submenu a:hover {
    background: #1571b0 /*#2222d5*/;
width: 300px;

    }/*фон при наведении на подраздел */

/*Отделения школы*/
.branchSchool h2{
    margin: 20px 0 15px 0;
    font-size: 25px;
    font-weight: 100;
    color: #082A78;
    text-align: center;
    background: url(../images/design/branch.png) no-repeat center center;
}
.branchSchool .row div{
    text-align: center;
    padding: 0 5px;
    line-height: 16px;
    font-size: 16px;
}
.branchSchool .row div a{
    padding: 2px;
    background: #FFFFFF;
    display: inline-block;
    box-shadow: 0 1px 2px #CBCFD9;
}

.branchSchool .row div p>a{
    padding: 0;
    background:none;
    display: inline-block;
    box-shadow: none; 
    color:#092B77;
}
.branchSchool .row div p{
    margin: 10px 0;
}
.shadowBranchSchool{
    margin-bottom: 10px;
    width: 100%;
    height: 14px;
    background: url(../images/design/shadowBranchSchool.png) no-repeat center center;
}
/*BODY*/
.bodyOuter{
   
       background:/* url(../images/design/left_bg.png) no-repeat 0 300px, url(../images/design/right_bg.png) no-repeat right 330px, url(../images/design/bg.png) repeat-x left*/ top #DDDDDF/*#CDDCF8*/;
}
.leftColumn{
    max-width: 220px;
}
.rightColumn{
    max-width: 220px;
}
.centerColumn{
    width: 520px;
    margin: auto;
    padding: 0 20px;
    margin-bottom: 20px;
}
.module{
    background: #eeeeee;
    margin-bottom: 10px;
    color: #092B77;
}
.module h3{
    margin: 0 0 10px 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 100;
}
.module p{
    margin: 10px 0 0 0;
}
.borderBox{
    padding: 8px;
    box-shadow: 0 1px 2px #cbcfd9;
    font-size: 14px;
}
/*Модуль меню, левое*/
.menuLeft ul{
    margin: 0px;
    padding: 0px;
    list-style-position: inside;
}

/*Модуль меню, правое*/
.rightColumn {
     margin: 0px;
    padding: 0px;
}

/* CONTENT */
.content{
    color: #103d65 /*#092B77*/;
}
.content h1{
    color: #092B77;
    font-size: 16px;
    text-transform: uppercase;
}
/*НОВОСТИ И СОБЫТИЯ*/
.newsBox{
    
    color: #092B77;
}
.newsBox h3{
    margin: 10px 0;
    font-size: 16px;
    font-weight: 100;    
}
.newsBox h3 a{
    display: block;
    color: #092B77;
    text-align: justify;
    /*text-transform: uppercase;*/
    text-decoration: underline;
}
.preview{
    width: 140px;
    height: 94px;
    padding: 2px;
    background: #FFFFFF;
}
.textBlock{
    
    padding-left: 10px;
}
.pubDate{
    color: #8599C1;
    font-size: 12px;
    margin: 5px 0;
}
.shortText{
   
    font-size: 15px;
    line-height: 18px;
}
.separatorNewsBlock{
    padding: 8px 0;
    width: 100%;
    height: 2px;
    background: url(../images/design/separatorNewsBlock.png) no-repeat center center;
}
.allNews{
    margin-top: 10px;
}
/*CONTENT*/
.content h1{
    font-size: 16px;
    font-weight: 100;
    margin: 0 0 10px 0;
}
/*Задать вопрос*/
.askQuest h3{
   font-size: 14px;
   line-height: 20px;
   text-align: center;
}


.maidan {

    margin-left: 20px;
}
.fancybox {
    margin-bottom: 20px;
    display: block;
}

 

/*FOOTER*/
.footerOuter{
    background: #FFFFFF;
}
.footer{
    padding-top: 40px;
    font-family: tahoma;
    font-size: 14px;
    color: #1344B4;
}
.metrika p a{
    line-height: 35px;
    color: #1344B4;
    text-decoration: underline;
}
.studio{
    color: #727272;
    font-size: 11px;
    text-align: right;
}
.studio a{
    margin-left: 10px;
}
.clearBoth{
    clear: both;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    color: #fff;
    z-index: 9999;
    font-family: Arial, sans-serif;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}
.cookie-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
}
.cookie-content a {
    color: #4da6ff;
    text-decoration: underline;
}
.cookie-content button {
    cursor: pointer;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}
.accept-cookies {
    background-color: #007bff;
    color: white;
    margin-right: 10px;
}
.accept-cookies:hover {
    background-color: #0056b3;
}
.decline-cookies {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #444;
}
.decline-cookies:hover {
    background-color: #444;
    color: #fff;
}
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-content p {
        order: -1;
        margin-bottom: 10px !important;
    }
    .cookie-content button {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
}

/* На Остальных страницах*/
.advanced{
    padding: 20px;
    width: 840px;
}
.advanced .content{
    
    padding: 10px;
    background: #FFFFFF;    
    box-shadow: 0 1px 2px #CBCFD9;
}

      .bw {margin-top:20px; margin-bottom:35px;}
      .bw p {text-align:right;font-size:12px;}
      .bw a {color:#000;text-decoration:none;}
      .bw_logo{float:right; margin-left:10px;}
      .animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}
      .animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}
      .animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes flip{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{from{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip:hover{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}
                                 
