   * {
       margin: 0;
       padding: 0;
       -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
       box-sizing: border-box;
   }

   body {
       background: #363130 url(../img/Bambook.png);
       background-repeat: no-repeat;
       background-size: auto 100%;
       background-attachment: fixed;
       font: 100%/1.5em;
   }

   a {
       text-decoration: none;
       color: black;
   }

   a#up img {
       position: fixed;
       right: 1%;
       bottom: 10px;
       width: 50px;
       z-index: 2;
   }

   .container {
       width: 90%;
       max-width: 1140px;
       background-color: #F1E8B1;
       margin: 0 auto;
       height: auto;
   }

   .header {
       height: 150px;
       width: 90%;
       max-width: 1140px;
       margin: 15px auto 0 auto;
   }

   .header h1 {
       font-size: 3.5em;
       background: linear-gradient(45deg, #88b0ef 33%, #ffffff 60%, #70aaff);
       -webkit-background-clip: text;
       -webkit-text-fill-color: transparent;
       font-family: 'Roboto Condensed', sans-serif;
       line-height: 2em;
       color: #ffffff;
   }

   .custom-logo {
       margin: 0 25px 0 0;
       float: left;
       cursor: pointer;
       transition: 1s ease;
   }

   .custom-logo:hover {
       transform: scale(1.05);
       -webkit-transform: scale(1.05);
       -moz-transform: scale(1.05);
       -o-transform: scale(1.05);
   }

   .container .cols {
       float: left;
       /* margin: 1em 0; */
       padding: 1em 1em;
   }

   .container .cols.col-1 {
       width: 8.33333%;
   }

   .container .cols.col-2 {
       width: 16.66667%;
   }

   .container .cols.col-3 {
       width: 25%;
   }

   .container .cols.col-4 {
       width: 33.33333%;
   }

   .container .cols.col-5 {
       width: 41.66667%;
   }

   .container .cols.col-6 {
       width: 50%;
   }

   .container .cols.col-7 {
       width: 58.33333%;
   }

   .container .cols.col-8 {
       width: 66.66667%;
   }

   .container .cols.col-9 {
       width: 75%;
   }

   .container .cols.col-10 {
       width: 83.33333%;
   }

   .container .cols.col-11 {
       width: 91.66667%;
   }

   .container .cols.col-12 {
       width: 100%;
   }

   .container .center {
       border-right: 4px solid #363130;
       border-left: 4px solid #363130;
       height: auto;
       min-height: 800px;
       margin-left: 25%;
   }

   .container .cols.col-3#places {
       margin-left: -75%;
   }

   .container .cols.col-3#places {
       font-family: Georgia;
   }

   .container .cols.col-3#news {
       font-family: 'Roboto Condensed', sans-serif;
       font-size: 17px;
   }

   .container .cols.col-3.left {
       margin-left: -75%;
   }

   .container:before,
   .container:after,
   .row:before,
   .row:after,
   .clear:before,
   .clear:after {
       content: "";
       display: table;
   }

   .container:after,
   .row:after,
   .clear:after {
       clear: both;
   }

   .container .cols h2 {
       font-family: 'Scada', sans-serif;
       margin-bottom: 10px;
       text-align: center;
       /*text-decoration: underline;*/
       font-size: 1.9em;
   }

   .container .cols h3,
   .container .cols h4 {
       font-family: 'Scada', sans-serif;
   }

   .container .left-right {
       background-color: #f0ebc8;
       height: 100%;
       padding: 20px 25px;
       box-shadow: 0 0 5px #c5be91;
   }

   .container .left-right ul {
       list-style-type: none;
   }

   .container .left-right ul li {
       cursor: pointer;
       position: relative;
       /*border-bottom: 1px solid #959385;*/
       font-size: 18px;
       font-family: 'Roboto Condensed', sans-serif;
       transition: 0.2s ease;
   }

   .container .left-right ul li>a {
       display: block;
       padding-right: 15px;
       margin: 5px 0 0 0;
       padding: 5px 0px 0px 5px;
   }

   .container .left-right ul li.arrow {
       background: url(../img/arrowUp.png) no-repeat right 5px;
   }

   .container .left-right ul li:hover {
       background: #fdf8d5;
   }

   .container .left-right ul li.arrow:hover {
       background: #fdf8d5 url(../img/arrowUpHover.png) no-repeat right 5px;
   }

   .container .left-right .sub-menu li:hover {
       background-image: none;
   }

   .container .left-right ul li.arrowDown {
       background: #beba9b url(../img/arrowDown.png) no-repeat right 5px;
   }

   .container .left-right .sub-menu {
       background-color: #fdf8d5;
       display: none;
       border: 1px dashed #959385;
       border-top: none;
   }

   .container .left-right .sub-menu li {
       margin: 0;
       padding: 1px 0 0px 5px;
       /*border-bottom: 1px dashed #959385;*/
       background-image: none;
   }

   .container .left-right .sub-menu li:hover {
       background-color: #cec4b5;
   }

   .container .news {
       height: 500px;
       overflow-y: auto;
       overflow-x: hidden;
   }

   .container .news a.links {
       border-bottom: 1px dashed #615b5a;
       font-size: 1.05em;
       transition: 0.2s ease;
   }

   .container .news a.links:hover {
       background-color: #fdf8d5;
   }

   /* Navigation menu */

   ul#menu {
       display: flex;
       justify-content: center;
       list-style-type: none;
       text-align: center;
       width: 90%;
       max-width: 1140px;
       margin: 0 auto;
       position: relative;
   }

   ul#menu li {
       display: inline-block;
       cursor: pointer;
       padding: 5px 19px;
       margin: 0 2px;
       background-color: #F1E8B1;
       font-size: 22px;
       font-family: 'Roboto Condensed', sans-serif;
       border-radius: 10px 10px 0px 0px;
       border-bottom: 2px solid #363130;
       transition: 0.2s ease;
   }

   ul#menu li a {
       margin: -5px -20px;
       padding: 5px 20px;
       display: block;
   }

   ul#menu li:hover {
       background-color: #beba9b;
       color: #f1efec;
   }

   ul#menu li.active {
       background-color: #4d4c42;
       color: #f1efec;
       transition: 0.5s ease;
   }

   ul#menu li:hover a {
       color: #f1efec;
   }

   ul#menu li ul.sub-menu {
       /* display: none; */
       position: absolute;
       opacity: 0;
       visibility: hidden;
       margin-top: 5px;
       margin-left: -20px;
       border: 2px solid #222;
       /*border-right: none;*/
       z-index: 3;
       transition-duration: 0.5s;
   }

   ul#menu li:hover ul.sub-menu {
       visibility: visible;
       opacity: 1;
       transition: 0.6s ease;
   }

   ul#menu li ul.sub-menu li {
       display: block;
       float: left;
       margin: 0;
       background-color: #4d4c42;
       color: #f1efec;
       border-radius: 0;
       border-right: 1px solid #333;
       border-bottom: none;
       font-size: 19px;
       opacity: 0.98;
       position: relative;
   }

   ul#menu li ul.sub-menu li:last-child {
       border-right: none;
   }

   ul#menu li ul.sub-menu li a {
       color: #f1efec;
       display: block;
       padding: -5px -20px;
   }


   /* О федерации */
   ul#menu li#menu-item-3298 ul.sub-menu {
       display: flex;
       flex-direction: column;
   }
   ul#menu li#menu-item-3298 ul.sub-menu li {
       text-align: start;
   }
   /* ---------- */


   ul#menu li ul.sub-menu li:hover {
       background-color: #beba9b;
       color: black;
   }

   ul#menu li ul.sub-menu li a:hover {
       color: black;
   }

   ul#menu li ul.sub-menu li ul.sub-menu {
       z-index: 1;
       visibility: hidden;
       opacity: 0;
       /* display: none; */
       position: absolute;
       margin-left: -22px;
       margin-top: 5px;
       transition: 0.1s ease;
       border: none;
   }

   ul#menu li ul.sub-menu li ul.sub-menu li {
       display: block;
       border: 2px solid #222;
       border-top: 1px solid #333;
       border-bottom: none;
       width: 200%;
       text-align: left;
   }

   ul#menu li ul.sub-menu li ul.sub-menu li:first-child {
       border-top: 2px solid #222;
   }

   ul#menu li ul.sub-menu li ul.sub-menu li:last-child {
       border-bottom: 2px solid #222;
   }

   ul#menu li ul.sub-menu li:hover ul.sub-menu {
       visibility: visible;
       opacity: 1;
       transition: 0.6s ease;
   }

   /* End of Navigation menu */

   /*Текстовое наполнение*/

   div#aboutUs h3 {
       text-align: center;
       margin: 20px 0 10px;
       /*border-bottom: 1px solid grey;*/
       text-shadow: 0 0 5px #c5be91;
       font-size: 22px;
   }

   #aboutUs .info,
   div.instructor {
       font-size: 20px;
       font-family: 'Roboto Condensed', sans-serif;
       line-height: 1.3;
       padding: 10px 15px;
       background-color: #f0ebc8;
       box-shadow: 0 0 5px #c5be91;
   }

   div.instructor {
       margin-top: 10px;
   }

   .instructor-info-block {
       font-family: 'Roboto Condensed', sans-serif;
       padding: 5px 0 0 10px;
       margin-bottom: 10px;
       font-size: 18px;
   }

   div.instructor p {
       margin-top: 10px;
   }

   div.instructor a.instName:hover {
       text-decoration: underline;
   }

   div.instructor a.details {
       display: block;
       font-size: 18px;
       padding: 10px 15px;
       margin: 10px 0;
       background-color: rgba(224, 209, 24, 0.65);
       border: none;
       font-weight: bold;
       font-family: 'Scada', sans-serif;
       letter-spacing: 1px;
       cursor: pointer;
       border-radius: 5px;
       outline: none;
       width: 150px;
       transition: all 0.5s;
       -webkit-transition: all 0.5s;
   }

   div.instructor a.details:hover {
       box-shadow: 0 0 10px rgba(184, 134, 11, 0.80);
       width: 180px;
       padding-left: 30px;
       letter-spacing: 2px;
   }

   div.instructor ul {
       list-style-position: outside;
       list-style-type: circle;
       margin-left: 20px;
   }

   div.instructor ul li:hover a {
       border-bottom: 1px solid black;
   }

   div.clearfix {
       clear: both;
   }

   div.cols.col-3.leftSide {
       padding: 20px 0 0 40px;
   }

   div.image {
       width: 200px;
       height: 300px;
       overflow: hidden;
       border-radius: 30px;
       box-shadow: 0 0 5px #c5be91;
   }

   a img.instructor {
       transition: 0.5s ease;
   }

   a img.instructor:hover {
       transform: scale(1.05);
       -webkit-transform: scale(1.05);
       -moz-transform: scale(1.05);
       -o-transform: scale(1.05);
   }

   div.col-12.shedule h3,
   div.col-9.shedule h3 {
       text-align: center;
       margin-bottom: 10px;
       font-size: 1.5em;
   }

   div.col-12.article h3 {
       margin-top: 15px;
       padding-left: 15px;
       font-size: 1.5em;
   }

   div.col-12.shedule h3 a:hover,
   div.col-9.shedule h3 a:hover {
       text-decoration: underline;
   }

   div.col-12.shedule p,
   div.col-9.shedule p {
       text-align: center;
       font-family: 'Scada', sans-serif;
       font-size: 1.2em;
   }

   div.col-12.shedule table,
   div.col-9.shedule table {
       margin: 10px auto;
       /*width: 80%;*/
       width: 90%;
       background-color: #f0ebc8;
       box-shadow: 0 0 5px #c5be91;
       border-collapse: collapse;
   }

   div.col-12.shedule table td,
   div.col-9.shedule table td {
       border: 1px solid black;
       padding: 10px 15px;
       text-align: center;
       font-size: 1.3em;
       font-family: 'Roboto Condensed', sans-serif;
   }

   div.col-12.shedule table ul,
   div.col-9.shedule table ul {
       list-style: none;
   }

   div.col-12 .map {
       box-shadow: 0 0 5px #c5be91;
       max-width: 90%;
       height: 400px;
       margin: auto;
   }

   div.col-3.leftSide h3.instructor {
       padding: 5px 10px 0 10px;
   }

   div.col-3.leftSide h3.instructor a:hover {
       text-decoration: underline;
       color: grey;
   }

   div.article h2 {
       text-decoration: none !important;
   }

   div.cols.col-12.article p,
   div.cols.col-12.article ul,
   div.cols.col-12.article ol {
       font-family: 'Roboto Condensed', sans-serif;
       font-size: 21px;
       padding-left: 15px;
       line-height: 1.4;
   }

   #contacts {
       font-family: 'Roboto Condensed', sans-serif;
       font-size: 20px;
   }

   div.cols.col-12.article a {
       outline: none;
   }

   div.cols.col-12.article ul,
   div.cols.col-12.article ol {
       /*list-style-position: inside;*/
       margin-left: 20px;
   }

   div.cols.col-12.article ol#diploma-translation {
       font-size: 20px;
       line-height: 2;
       margin-top: -10px;
   }

   div.cols.col-12.article a {
       text-decoration: underline;
   }

   img.article.photo {
       border-radius: 30px;
       box-shadow: 0 0 5px #c5be91;
   }

   img.article.photo.middle {
       max-width: 100%;
       display: block;
       margin: 0 auto;
   }

   div.article div#small_photos {
       text-align: center;
   }

   div.article div#small_photos a {
       text-decoration: none;
       margin: 10px 20px;
   }

   div.article div#prevNext {
       margin-top: 30px;
   }

   div.article div#prevNext a {
       text-decoration: none;
       font-size: 18px;
       font-family: 'Roboto Condensed', sans-serif;
   }

   div.article div#prevNext a:hover {
       color: brown;
   }

   div.article div#prevNext a#prev {
       float: left;
   }

   div.article div#prevNext a#next {
       float: right;
   }

   div.cols.col-12.hidden p {
       text-align: center;
       font-style: italic;
       padding-top: 5px;
   }

   div#shadow {
       display: none;
       position: fixed;
       top: 0px;
       left: 0px;
       width: 100%;
       height: 100%;
       background-color: black;
       opacity: 0.5;
       filter: alpha(opacity=50);
       /* для IE */
   }

   div#zoomPhoto {
       display: none;
       position: fixed;
       top: 0px;
       left: 0px;
       width: 100%;
       height: 100%;
       background-position: 50% 50%;
       background-repeat: no-repeat;
   }

   img.teacher {
       border-radius: 30px;
       box-shadow: 0 0 5px #c5be91;
   }

   div.dojo h3 {
       text-align: center;
       font-size: 1.5em;
   }

   div.center ul#list,
   div.center ul#archive_list,
   div.center ul#articles,
   div.dojo ul#list,
   .dojo-list {
       list-style-type: none;
       margin-top: 40px;
   }

   .dojo-list .sub-menu {
       list-style-type: none;
   }

   .dojo-list .menu-item {
       margin-bottom: 30px;
       font-family: 'Scada', sans-serif;
       font-weight: bold;
       text-align: center;
       font-size: 24px;
   }

   div.center ul#list li,
   .dojo-list .sub-menu li {
       margin: 15px auto;
       width: 50%;
       background-color: #f0ebc8;
       font-family: 'Scada', sans-serif;
       font-weight: normal;
       font-size: 22px;
       text-align: left;
       box-shadow: 0 0 5px #c5be91;
       transition: 0.5s;
   }

   div.center ul#archive_list li,
   div.center ul#articles li {
       margin: 15px auto;
       width: 100%;
       background-color: #f0ebc8;
       font-family: 'Scada', sans-serif;
       font-size: 1.2em;
       box-shadow: 0 0 5px #c5be91;
       transition: 0.5s;
   }

   div.center ul#archive_list li a,
   div.center ul#articles li a,
   div.center ul#list li a {
       display: block;
       padding: 10px 20px;
   }

   .dojo-list .sub-menu li a {
       display: block;
       padding: 5px;
   }

   div.center ul#archive_list li a:after,
   div.center ul#articles li a:after,
   div.center ul#list li a:after {
       display: block;
       content: "";
       height: 2px;
       width: 0%;
       background-color: black;
       transition: width .3s ease-in-out;
   }

   div.center ul#archive_list li a:hover:after,
   div.center ul#archive_list li a:focus:after,
   div.center ul#articles li a:hover:after,
   div.center ul#articles li a:focus:after,
   div.center ul#list li a:hover:after,
   div.center ul#list li a:focus:after {
       width: 100%;
   }

   div.center ul#archive_list li:hover,
   div.center ul#articles li:hover,
   div.center ul#list li:hover,
   .dojo-list .sub-menu li:hover {
       background-color: #fdf8d5;
   }

   .news_button {
       text-align: center;
       margin: 0px auto 15px;
       font-size: 18px;
       background-color: #f0ebc8;
       box-shadow: 0 0 5px #c5be91;
       border-radius: 5px;
       font-family: 'Scada', sans-serif;
       display: block;
       padding: 10px 0;
       font-weight: bold;
   }

   .news_button:hover {
       background-color: #e5e0b9;
       border-radius: 5px;
       box-shadow: 0 0 5px #c5be91;
   }



   div#news #archive_link {
       text-align: center;
       margin: 20px auto 10px;
       font-size: 18px;
       background-color: #f0ebc8;
       box-shadow: 0 0 5px #c5be91;
       border-radius: 5px;
   }

   div#news #archive_link a {
       display: block;
       padding: 10px 0;
   }

   div#news #archive_link :hover {
       background-color: #e5e0b9;
       border-radius: 5px;
       box-shadow: 0 0 5px #c5be91;
   }

   div.leftImg {
       float: left;
   }

   div.rightImg {
       float: right;
   }

   div.leftImg,
   div.rightImg {
       width: 35%;
       margin: 10px 20px;
   }

   div.middleImg {
       width: 100%;
       margin: 0 auto;
       text-align: center;
   }

   div.middleImg img {
       margin: 10px 5px;
   }

   div.middleImg img.bigOne {
       margin: 10px 0;
   }

   img.article.photo {
       max-width: 100%;
   }

   div.cols.col-12.friends div.links {
       width: 600px;
       height: 150px;
       overflow: hidden;
       border-radius: 30px;
       box-shadow: 0 0 5px #c5be91;
       float: right;
       margin-left: 20px;
   }

   div.friends a img {
       transition: 0.5s ease;
   }

   div.cols.col-12.friends a:hover img {
       transform: scale(1.02);
       -webkit-transform: scale(1.02);
       -moz-transform: scale(1.02);
       -o-transform: scale(1.02);
   }

   div.cols.col-12.friends p {
       display: block;
       height: 150px;
       font-size: 1.9em;
       font-family: 'Roboto Condensed', sans-serif;
       font-weight: bold;
       padding-left: 0px;
       padding-top: 70px;
       transition: 0.5s ease;
       text-align: center;
   }

   div.cols.col-12.friends a:hover p {
       text-decoration: underline;
   }

   div.cols.col-12.friends a {
       display: block;
   }

   div.cols.col-12.video h3 {
       text-align: left;
       padding-left: 20px;
       margin: 10px 0;
       border-bottom: 1px dashed gray;
       font-size: 1.5em;
       cursor: pointer;
   }

   div.cols.col-12.video h3:hover {
       background: #fdf8d5;
   }

   div.cols.col-12.video h3~div {
       display: none;
   }

   div.cols.col-12.video iframe {
       display: block;
       margin: 5px auto;
       width: 560px;
       height: 315px;
   }

   h3#greyTitle {
       color: grey;
       font-style: italic;
       text-align: center;
       margin: 0 0 10px 0;
   }

   /*
div.cols.col-12 a.galery_left {
float: left;
width: 300px;
height: 320px;
box-shadow: 0 0 5px #c5be91;
margin: 25px;
background-color: #f0ebc8;
padding: 5px 10px;
}

div.cols.col-12 a.galery_left div {
width: 280px;
overflow: hidden;
}

div.cols.col-12 a.galery_left p {
font-size: 1.2em;
font-style: italic;
padding: 5px 10px;
}

div.cols.col-12 a.galery_left img {
max-width: 100%;
transition: 0.5s ease;
display: block;
margin: auto;
height: 190px;
}

div.cols.col-12 a.galery_left:hover img {
transform: scale(1.05);
-webkit-transform: scale(1.05);
-moz-transform: scale(1.05);
-o-transform: scale(1.05);
}
*/

   #Starchenko_history {
       cursor: pointer;
   }

   #Starchenko_history:hover,
   #history_roll:hover {
       color: #444;
   }

   #history_roll {
       text-align: right;
       font-family: 'Scada', sans-serif;
       cursor: pointer;
       display: none;
   }

   ul#hronology {
       margin-top: 10px;
       margin-bottom: 15px;
       box-shadow: 0 0 10px grey;
       background-color: #f9f6e0;
       display: none;
   }

   ul#hronology li {
       padding: 5px 10px;
       list-style-type: none;
       background: #f9f6e0;
       margin: 5px auto;
       border-left: 15px solid #666;
       border-bottom: 2px solid #666;
   }

   ul#hronology li:last-child {
       border-bottom: none;
   }

   ul#hronology li div.year {
       text-align: center;
       font-size: 18px;
       font-style: italic;
       font-weight: bold;
       font-family: 'Scada', sans-serif;
   }

   ul#hronology li div.year_event {
       font-size: 20px;
       padding: 0 0 5px 20px;
   }

   a#original_article {
       float: right;
       color: grey;
       margin: 10px 20px 0 0;
       font-size: 18px;
       font-family: 'Roboto Condensed', sans-serif;
   }

   /*Конец наполнения*/

   /* Фото галлерея */

   div.galleria {
       margin-top: 20px;
       text-align: center;
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
   }

   div.galleria div.image-wrapper {
       width: 300px;
       height: 200px;
       overflow: hidden;
       border: 5px solid rgba(226, 226, 226, 0.5);
       box-shadow: 0 0 5px #c5be91;
       display: flex;
       justify-content: center;
       align-items: center;
       margin: 10px;
       background-color: rgba(226, 226, 226, 0.8);
   }

   div.galleria div.image-wrapper a {
       overflow: hidden;
   }

   div.galleria div.image-wrapper img {
       transition: 0.5s ease;
       max-width: 290px;
       max-height: 190px;
   }

   div.galleria div.image-wrapper:hover {
       box-shadow: 0 0 20px white;
   }

   div.galleria div.image-wrapper:hover img {
       transform: scale(1.05);
       -webkit-transform: scale(1.05);
       -moz-transform: scale(1.05);
       -o-transform: scale(1.05);
   }

   div.galleria div.photo-wrapper {
       width: 300px;
       overflow: hidden;
       box-shadow: 0 0 5px #c5be91;
       display: inline-block;
       margin: 10px;
       background-color: #f0ebc8;
   }

   div.cols.col-12 .photo-wrapper a.galery_left {
       float: none;
       display: block;
       width: 300px;
       height: 320px;
       box-shadow: grey 0px 0px 20px;
       background-color: rgb(240, 235, 200);
       padding: 5px 10px;
       position: relative;
   }

   div.cols.col-12 .photo-wrapper a.galery_left div {
       width: 280px;
       overflow: hidden;
   }

   div.cols.col-12 .photo-wrapper a.galery_left p {
       position: absolute;
       left: 0;
       width: 95%;
       font-size: 20px;
       /* font-style: italic;*/
       margin: 15px 5px 0 5px;
       font-family: 'Roboto Condensed', sans-serif;
   }

   div.cols.col-12 .photo-wrapper a.galery_left img {
       max-width: 100%;
       transition: 0.5s ease;
       display: block;
       margin: auto;
       height: 190px;
   }

   div.cols.col-12 .photo-wrapper a.galery_left:hover img {
       transform: scale(1.05);
       -webkit-transform: scale(1.05);
       -moz-transform: scale(1.05);
       -o-transform: scale(1.05);
   }

   /*Breadcrumbs*/

   #breadcrumbs {
       list-style-type: none;
       font-family: 'Roboto Condensed', sans-serif;
       font-size: 18px;
       background-color: #dbd3a1;
       border-bottom: 2px solid #c3bc91;
   }

   #breadcrumbs li {
       display: inline-block;
   }

   #breadcrumbs li:first-child {
       margin-left: 10px;
   }

   #breadcrumbs li.active {
       color: #615e5e;
   }

   #breadcrumbs li a {
       display: inline-block;
       padding: 5px 5px;
       text-decoration: underline;
       color: #615e5e;
   }

   #breadcrumbs li:not(:last-child) span::after {
       content: "/";
       padding: 0;
       color: #615e5e;
   }

   #breadcrumbs li a:hover {
       font-weight: bold;
   }

   /*End of Breadcrumbs*/

   /*Боковое меню*/

   ul#nav {
       list-style-type: none;
       position: absolute;
       width: auto;
       height: 800px;
       background: rgba(77, 76, 66, 0.98);
       left: -100%;
       top: 44px;
       box-shadow: 0 0 5px #c5be91;
       z-index: 2;
       transition: 0.6s;
   }

   ul#nav li {
       margin: 10px 0;
       padding: 0 20px;
       font-size: 26px;
       font-family: 'Roboto Condensed', sans-serif;
       color: white;
       border-bottom: 1px dotted grey;
   }

   ul#nav li a {
       color: white;
   }

   ul#nav li ul {
       list-style-type: none;
       padding-left: 10px;
   }

   ul#nav li ul li {
       margin: 0;
       border-bottom: none;
   }

   ul#nav li ul li a {
       font-size: 20px;
       color: white;
   }

   ul#nav li a:hover,
   ul#nav li ul li a:hover {
       text-decoration: underline;
       color: #fcef70;
   }

   div#nav-trigger {
       display: none;
       position: absolute;
       top: 0;
       width: 50px;
       height: 50px;
       cursor: pointer;
       background: url(../img/showHideMenu1.png) no-repeat;
       box-shadow: 1 1 20px grey;
       transition: 0.5s;
       z-index: 1;
   }

   div#nav-trigger:hover {
       background: url(../img/showHideMenu2.png) no-repeat;
   }

   div#nav-trigger.leftArrow {
       background: url(../img/showHideMenu3.png) no-repeat;
   }

   /*Конец бокового меню*/

   /* Slider */

   /*.slideshow-container {
max-width: 100%;
position: relative;
margin: auto;
}

.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
}

.next {
right: 0;
border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
background-color: rgba(0,0,0,0.8);
}

.text {
color: #f2f2f2;
font-size: 1.5em;
padding: 8px 0;
position: absolute;
bottom: 3px;
text-align: center;
width: 100%;
background-color: rgba(128,128,128,0.6);
}

.dot {
cursor: pointer;
height: 13px;
width: 13px;
margin: 0 1px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active-slide, .dot:hover {
background-color: #717171;
}

.fade{
-webkit-animation-name: fade;
-webkit-animation-duration: 2s;
animation-name: fade;
animation-duration: 2s;
}

@-webkit-keyframes fade {
from{opacity: 0;}
to{opacity: 1;}
}
@keyframes fade {
from{opacity: 0;}
to{opacity: 1;}
}*/

   /* End of Slider */

   /* Кнопка формы обратной связи */

   button#message {
       float: right;
       cursor: pointer;
       margin-right: 25px;
       background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#94bdda));
       font-family: 'Scada', sans-serif;
       font-size: 20px;
       padding: 2px 20px;
       margin-top: -12px;
       border-radius: 30px 3px;
       border: 1px solid #7b7b7b;
       border-bottom: 2px solid #415360;
       box-shadow: 0 3px 8px #111;
       font-weight: bold;
       font-style: italic;
       user-select: none;
       -webkit-user-select: none;
       -moz-user-select: none;
       -ms-user-select: none;
       outline: 0;
   }

   button#message a {
       color: #2e2e2e;
   }

   button#message:hover {
       /*border-bottom: none;
box-shadow: none;*/
       /* margin-top: -10px;*/
       background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#75aed6));
   }

   button#message:active {
       background: -webkit-gradient(linear, left top, left bottom, from(#75aed6), to(#333));
       color: white;
       font-weight: normal;
       border: none;
       box-shadow: none;
   }

   button#message:hover a {
       color: #2d2d2d;
   }

   button#message:focus {
       outline: 0;
   }

   button#message a:focus,
   button#message a:visited,
   button#message a:active,
   button#message a:hover {
       outline: 0;
   }

   /* Конец кнопки*/

   /* Media Queries */

   @media all and (max-width: 1260px) {
       .header h1 {
           font-size: 3.0em;
           line-height: 2.5em;
       }

       a#up img {
           background-color: #363130;
           border-radius: 5px;
           padding: 2px;
           opacity: 0.8;
       }

       ul#menu li {
           padding: 5px 10px;
       }
   }

   @media all and (max-width: 1160px) {
       body {
           background-image: none;
       }

       .header h1 {
           font-size: 2.5em;
           line-height: 2.5em;
       }

       /*ul#menu li {
margin: 0 5px;
}*/
       /* Для страницы ссылок */
       div.cols.col-12.friends p {
           height: 100px;
           font-size: 1.5em;
           padding-left: 0px;
           padding-top: 50px;
       }

       /* Для маленьких фото в архиве */
       div.article div#small_photos a {
           margin: 5px;
       }
   }

   @media all and (max-width: 1096px) {
       ul#menu li {
           padding: 5px;
       }

       div.instructor {
           margin-left: 10px;
       }
   }

   @media all and (max-width: 1055px) {
       div.instructor {
           margin-left: 20px;
       }
   }

   @media all and (max-width: 1050px) {
       .container .left-right ul li {
           font-size: 18px;
       }

       div.cols.col-12.article p,
       div.cols.col-12.article ul,
       div.cols.col-12.article ol {
           padding-left: 25px;
       }
   }

   @media all and (max-width: 1025px) {

       /*div.article div#small_photos {
text-align: left;
}*/
       div.article div#small_photos a {
           display: inline-block;
           margin: 15px 5px;
       }
   }

   @media all and (max-width: 1024px) {
       .header h1 {
           line-height: 1.5;
       }
   }

   @media all and (max-width: 1000px) {
       .container .left-right ul li {
           font-size: 17px;
           padding-left: 0;
       }

       div.cols.col-12.article p,
       div.cols.col-12.article ul,
       div.cols.col-12.article ol {
           padding-left: 35px;
       }

       ul#menu li {
           font-size: 20px;
       }
   }

   @media all and (max-width: 985px) {
       .header h1 {
           font-size: 2.0em;
           line-height: 4.0em;
       }

       /*ul#menu li {
margin: 0 3px;
padding: 5px 10px;
}*/
       .container .cols.mainpage {
           float: none;
           margin: 0;
           padding: 1em 1em;
       }

       .container .cols.col-3#places {
           margin: 0;
       }

       .container .cols.col-3.mainpage,
       .container .cols.col-6.mainpage {
           width: 100%;
       }

       .container .center {
           border-right: none;
           border-left: none;
           min-height: 500px;
       }

       /*Для общей страницы инструкторов*/
       .container .cols.rightSide {
           width: 70%;
           margin-left: 30px;
       }

       /* Для страницы ссылок */
       div.cols.col-12.friends div.links {
           display: none;
       }

       div.cols.col-12.friends p {
           padding: 0 0 0 10px;
           font-size: 1.8em;
           margin-bottom: 20px;
           height: auto;
       }

       /* Для кнопки обратной связи */
       button#message {
           margin: -30px auto 0;
           font-size: 18px;
       }

       .container .left-right ul li {
           font-size: 20px;
       }

       .container .news {
           font-size: 20px;
       }

       .news_button {
           font-size: 22px;
       }

       div#news #archive_link {
           font-size: 22px;
       }

       #aboutUs .info {
           line-height: 1.4;
       }
   }

   @media all and (min-width: 924px) {
       ul#nav {
           display: none;
       }
   }

   @media all and (max-width: 924px) {
       ul#menu {
           display: none;
       }

       div#nav-trigger,
       ul#nav {
           display: block;
       }
   }

   @media all and (max-width: 875px) {
       div.instructor {
           margin-left: 30px;
       }
   }

   @media all and (max-width: 822px) {

       .header h1 {
           font-size: 2.0em;
           line-height: 1.5em;
           padding-top: 20px;
       }

       /*Для общей страницы инструкторов*/
       .container .cols.col-3.leftSide,
       .container .cols.col-9.rightSide {
           float: none;
           margin: 0 auto;
           padding: 1em 1em;
       }

       .container .cols.col-3.leftSide,
       .container .cols.col-9.rightSide {
           width: 100%;
       }

       .container .cols.col-3 div.image {
           margin: 0 auto;
       }

       div.instructor {
           margin-left: 0;
           margin-top: 0;
       }

       .container .cols.col-9 div.instructor h3,
       .container .cols.col-9 div.instructor h4 {
           text-align: center;
       }

       /* Для страницы залов */
       div.col-3.leftSide h3.instructor {
           padding: 5px 0;
           text-align: center;
       }

       /* Для статей */
       img.article.photo,
       div.hidden,
       div.cols.col-12 .rightImg,
       div.cols.col-12 .leftImg,
       div.cols.col-12 .middleImg {
           display: none;
       }

       img#articleRightPicture {
           display: block;
           float: none !important;
           margin: 10px auto !important;
       }

       div.visibleInSmall {
           float: none !important;
           width: 100%;
       }

       div.article div#small_photos img {
           display: block;
       }

       /* Для видео */
       div.cols.col-12.video iframe {
           margin: 5px auto;
           width: 460px;
           height: 215px;
       }

       /* Для кнопки обратной связи */
       button#message {
           font-size: 20px;
           margin: 20px 0 0 0;
       }

       div.cols.col-12.article p,
       div.cols.col-12.article ul,
       div.cols.col-12.article ol {
           padding-left: 0px;
       }

       img.teacher {
           display: block;
           margin: auto;
       }

       /*Breadcrumbs*/
       #breadcrumbs {
           font-size: 16px;
           border-bottom: none;
       }

       #breadcrumbs li:first-child {
           margin-left: 5px;
       }

       #breadcrumbs li a,
       #breadcrumbs li.active {
           padding: 2px 5px;
       }

       #breadcrumbs li:first-child a {
           padding-left: 0;
       }
   }

   @media all and (max-width: 768px) {
       .header h1 {
           font-size: 2.0em;
           line-height: 1.0em;
           padding-top: 20px;
       }
   }

   @media all and (max-width: 759px) {

       /* Для кнопки обратной связи */
       button#message {
           margin: 0;
       }

       .header h1 {
           font-size: 2.0em;
           line-height: 1.3em;
           padding-top: 20px;
       }
   }

   @media all and (max-width: 779px) {
       div.article div#small_photos {
           text-align: center;
       }
   }

   @media all and (max-width: 720px) {
       .container .cols .dojo-address {
           font-size: 20px;
       }
   }

   @media all and (max-width: 629px) {

       /*Для персональной страницы инструкторов и страниц залов*/
       div.col-12.shedule table,
       div.col-9.shedule table {
           width: 100%;
       }

       div.col-12.shedule table td,
       div.col-9.shedule table td {
           font-size: 1em;
       }

       div.col-12.shedule h3,
       div.col-9.shedule h3 {
           font-size: 1.3em;
       }

       /* Для видео */
       div.cols.col-12.video iframe {
           margin: 5px auto;
           width: 360px;
           height: 215px;
       }
   }

   @media all and (max-width: 640px) {

       /* Для кнопки обратной связи */
       button#message {
           margin-top: 10px;
       }
   }

   @media all and (max-width: 508px) {
       .header {
           height: 330px;
       }

       /* Для кнопки обратной связи */
       button#message {
           width: 100%;
           font-size: 24px;
           float: none;
       }

       img.custom-logo {
           float: none;
           display: block;
           margin: 0 auto;
       }

       .header h1 {
           text-align: center;
           font-size: 2.5em;
           line-height: 1.3em;
       }

       body {
           background-image: none;
       }

       ul#nav li {
           font-size: 26px;
       }

       ul#nav li ul li a {}

       /*Для общей страницы инструкторов*/
       .container .cols,
       .container .cols.col-9 {
           padding: 5px;
           width: 100%;
       }

       /*Для персональной страницы инструкторов*/
       div.col-12.shedule table td,
       div.col-9.shedule table td {
           padding: 5px;
       }

       div.center ul#list li,
       div.dojo ul#list li .dojo-list .sub-menu li {
           width: 90%;
           font-size: 1.2em;
       }

       /* Для видео */
       div.cols.col-12.video iframe {
           margin: 5px auto;
           width: 100%;
           height: 100%;
       }

       div.cols.col-12 a.galery_left {
           /*width: 200px;*/
           height: auto;
           float: none;
           display: block;
           /*margin: 20px auto;*/
       }

       div.cols.col-12 a.galery_left img {
           /*width: 100%;*/
           height: auto;
           /*display: block;
margin: auto;*/
       }

       div.cols.col-12 a.galery_left {
           /*width: 180px;*/
           overflow: hidden;
       }

       div.cols.col-12 a.galery_left p {
           font-size: 1em;
           padding: 5px 10px;
           text-align: center;
       }

       /* Для архива и новостей */
       div.article div#prevNext a {
           font-size: 14px;
       }
   }

   @media all and (max-width: 480px) {
       .text {
           font-size: 15px;
       }
   }

   @media all and (max-width: 400px) {

       /* Для архива и новостей */
       div.article div#prevNext a {
           font-size: 12px;
       }

       /* Для фото галереи */
       div.galleria div.image-wrapper {
           width: 250px;
           margin: 10px auto;
       }

       .header h1 {
           text-align: center;
           font-size: 2.0em;
           line-height: 1.2em;
       }

       button#message {
           margin: 25px 0 0 0;
           font-size: 22px;
       }

       .mainpage h2 {
           font-size: 24px !important;
       }

       #aboutUs h3 {
           font-size: 20px;
       }

       #aboutUs p {
           font-size: 18px;
       }

   }

   @media all and (max-width: 370px) {

       /* для фото галереи */
       div.galleria div.photo-wrapper {
           width: auto;
       }

       div.cols.col-12 .photo-wrapper a.galery_left {
           width: auto;
           height: auto;
           box-shadow: grey 0px 0px 20px;
           background-color: rgb(240, 235, 200);
           padding: 5px 10px;
       }

       div.cols.col-12 .photo-wrapper a.galery_left div {
           width: auto;
           overflow: hidden;
       }

       div.cols.col-12 .photo-wrapper a.galery_left img {
           max-width: 100%;
           transition: 0.5s ease;
           display: block;
           margin: auto;
           height: auto;
       }

       div.cols.col-12 .photo-wrapper a.galery_left p {
           margin: 0 5px;
           position: static;
       }
   }


   @media all and (max-width: 320px) {

       /*Для общей страницы инструкторов*/
       .container .cols.col-9 div.instructor h3,
       .container .cols.col-9 div.instructor h4,
       .container .cols.col-9 div.instructor ul li,
       .container .cols.col-9 div.instructor p,
       .container .instructor-info-block {
           font-size: 0.85em;
       }

       /* Для кнопки обратной связи */
       button#message {
           margin: 25px 0 0 0;
           font-size: 20px;
       }

       .header h1 {
           font-size: 1.8em;
       }

       @media all and (max-width: 300px) {
           button#message {
               margin: 25px 0 20px 0;
               font-size: 18px;
           }

           .header h1 {
               font-size: 1.6em;
           }
       }
    }