
/*-------------------------------------------*
/* Body, Common classes
/*-------------------------------------------*/

body {
	margin: 0;
    padding: 0;
    color: #000;
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none !important;
}

p {
    margin: 0 0 15px 0;
}

b, strong {
    font-weight: 500;
}

em {
    font-style: italic;
}

ul.menu {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
    list-style-type: none;
}

ul.menu li {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
    list-style-type: none;
}

/*-------------------------------------------*
/* Layout
/*-------------------------------------------*/

#header,
#main-menu,
#slider,
#main,
#bottom-first,
#bottom-second,
#bottom-third,
#footer  {
    width: 1200px;
    margin: 0 auto;
}

#header,
#main-menu {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#header {
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}

#main-menu {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

#main-wrapper {
    background-color: #e6f7ff;
}

#main {
    position: relative;
    padding: 15px;
    background: #fff;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
.page-taxonomy #main #content #page-title {
    /*display: none;*/
}

#sidebar {
    -webkit-flex: 0 0 300px;
    -ms-flex: 0 0 300px;
    flex: 0 0 300px; 
}

#content {
    padding: 0 0 0 30px;
}

/*-------------------------------------------*
/* Headings
/*-------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
    line-height: 1;
    margin: 0 0 15px 0;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 26px;
}

.block h2 { 
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 17px;
}

/*-------------------------------------------*
/* Links
/*-------------------------------------------*/

a {
	text-decoration: underline;
	color: #0075ab;
	-webkit-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

a:hover {
	text-decoration: none;
	color: #015a84;
}

/*-------------------------------------------*
/* Header
/*-------------------------------------------*/

#header-wrapper {
    background: #fff;
}

#header > div {
    padding: 15px 0;
}

#logo  {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

#logo a,
#logo img {
    display: block;
}

#site-slogan {
    font-size: 19px;
    color: #2f373b;
    padding: 0 0 0 15px;
}

#site-slogan span {
    display: block;
}

#site-slogan a {
    color: #2f373b;
    text-decoration: none;
}

#site-slogan a:hover {
    color: #2f373b;
    text-decoration: none;
}

#phones {
    line-height: 1.5em;
    color: #2f373b;
}

span.number { 
    color: #0075ab;
    font-size: 21px;
    margin: 0 15px 0 0;
}

span.phone-descr {
    font-size: 17px;
    color: #2f373b;
}

span.address { 
    color: #2f373b;
    font-size: 17px;
}

#header-right {    
    width: 300px;
}

.region-header-right {    
	display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.block-locale {
    font-size: 15px;
    color: #646f75;
}

.block-locale .content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.block-locale ul li {
    display: inline-block;
    margin: 0 0 0 5px;
}

.block-locale a.active {
    color: #646f75;
    text-decoration: none;
}

/*-------------------------------------------*
/* Search
/*-------------------------------------------*/

.block-search {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%; 
}

.block-search form {
    margin: 15px 0 0 0;   
    width: 100%; 
    position: relative;
}

.block-search input.form-text { 
    margin: 0;
    width: 100%; 
    padding: 7px 30px 7px 7px;
}

.block-search input.form-submit { 
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    background-color: transparent;
    background-image: url("../images/search.svg");
    background-position: 50% 50%;
    background-size: 20px auto;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;    
}

.block-search input.form-submit:hover { 
    background-color: transparent; 
}

.block-search .form-item, 
.block-search .form-actions { 
    margin-bottom: 0;
    margin-top: 0;
}

/*-------------------------------------------*
/* Main menu
/*-------------------------------------------*/

#main-menu-wrapper {
    background-color: #0075ab;
}

#switchtheme-submit-Ministry { 
    display: none;
}

#main-menu ul.menu {
    font-size: 18px;
}

#main-menu > ul.menu {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

#main-menu ul.menu li {
    position: relative;
}

span.nolink { 
    color: #fff;
    padding: 15px 10px;
    cursor: default;
    display: block;
}

#main-menu ul.menu a {
	color: #fff;
    display: block;
    padding: 15px 10px;
    position: relative;
    text-decoration: none;
}

#main-menu ul.menu a:hover,
#main-menu ul.menu a:focus,
#main-menu ul.menu a:active,
#main-menu ul.menu a.active:hover,
#main-menu ul.menu a.active-trail:hover {
    background-color: #015a84;
    color: #fff;
}

#main-menu ul.menu a.active,
#main-menu ul.menu a.active-trail {
    background-color: #008bcb;
    color: #fff;
}

#main-menu ul.menu li ul {
    position: absolute;
    opacity: 0;
    top: -999em;
    width: auto; 
    min-width: 20em;
    font-size: 16px;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 32, 47, 0.75);
    box-shadow: 0px 3px 3px 0px rgba(0, 32, 47, 0.75);
    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}

#main-menu ul.menu li:hover ul {
	opacity: 1;
    left: 0;
    top: 100%; 
    z-index: 105;  
}

#main-menu ul.menu li ul a {
    padding: 7px 10px;
    background: #0075ab;
}

/*-------------------------------------------*
/* Forms, buttons
/*-------------------------------------------*/

input.form-submit {
    color: #fff;
    background-color: #0075ab;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 17px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 0;
    margin-right: 15px; 
    padding: 10px 15px;
    border: none;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

input.form-submit:hover,
input.form-submit:focus {	
    background-color: #015a84;
}

input.form-text,
textarea.form-textarea,
select.form-select {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
	padding: 7px;
    border: 1px #99a7ae solid;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

input.form-text:hover,
textarea.form-textarea:hover,
select.form-select:hover {
    border: 1px #0075ab solid;
}

input.form-text:focus,
textarea.form-textarea:focus,
select.form-select:focus {
    border: 1px #0075ab solid;
}

a.button {
    color: #fff;
    background-color: #0075ab;
    cursor: pointer;
    font-size: 17px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 0;
    margin-right: 15px;
    padding: 10px 15px;
    border: none;
    text-decoration: none;
    -webkit-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
}

a.email-button {
	padding: 10px 15px 10px 45px;
    background-image: url(../images/message.svg);
    background-size: 22px auto;
    background-position: 15px 50%;
    background-repeat: no-repeat;
}

a.button:hover {
	color: #fff;
    background-color: #015a84;
}

#switchtheme-switch-form input {
    color: #fff;
    background-color: transparent;
    background-image: url(../images/eye.svg);
    background-size: 23px auto;
    background-position: 0px 50%;
    background-repeat: no-repeat;
    line-height: normal;
    margin: 0;
    padding: 5px 0px 5px 30px;
    font-size: 17px;
}

#switchtheme-switch-form input:hover {
    background-color: transparent;
}

.form-managed-file input.form-submit { 
    margin: 0 0 0 15px !important;
}

.webform-client-form .form-file {
    border: 1px solid #c3c3c3;
    padding: 7px;
}

/*-------------------------------------------*
/* Slider
/*-------------------------------------------*/

#slider {
    background-image: url(../images/slider-bg-new.jpg);
    background-size: cover;
    background-position: 50% 0;
    height: 400px;
    position: relative;
}

/*-------------------------------------------*
/* Icons
/*-------------------------------------------*/

#block-menu-menu-icons {	
    position: absolute;
    bottom: 0;
    left: 0; 
    right: 0;
}

#block-menu-menu-icons ul.menu {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

#block-menu-menu-icons ul.menu li {
    display: block;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

#block-menu-menu-icons a {
    display: block;
    height: 100%;
    font-size: 18px;
    color: #fff;
    width: 100%;
    padding: 55px 15px 15px 15px;
    text-decoration: none;
    box-sizing: border-box;
    text-align: center;
    background-color: rgba(1, 90, 132, 0.8);
    background-size: 30px 30px;
    background-position: 50% 15px;
    background-repeat: no-repeat;
}

#block-menu-menu-icons a:hover {
    background-color: rgba(1, 90, 132, 1);
}

.schedule-link {
    background-image: url(../images/schedule.svg);
}

.phone-link {
    background-image: url(../images/phone.svg);
}

.message-link {
    background-image: url(../images/message.svg);
}

.procedure-link {
    background-image: url(../images/file.svg);
}

.license-link {
    background-image: url(../images/license.svg);
}

.press-link {
    background-image: url(../images/press.svg);
}

/*-------------------------------------------*
/* Sidebar
/*-------------------------------------------*/

#sidebar .block {
    margin: 0 0 15px 0;
}

#sidebar .block h2 {
    color: #000;
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 26px !important;
}

#sidebar ul.menu a {
    color: #015a84;
    background: #e6f7ff;
    font-size: 18px;
    padding: 10px 5px 10px 10px;
    margin: 0 0 1px 0;
    display: block;
    text-decoration: none;
}

#sidebar ul.menu a:hover {
    color: #fff;
    background-color: #015a84;
}

#sidebar ul.menu a.active, 
#sidebar ul.menu a.active-trail {
    color: #fff;
    background-color: #008bcb;
}

#sidebar ul.menu ul.menu li ul li a {
    font-size: 16px;
    padding: 10px 5px 10px 20px;
}

/*-------------------------------------------*
/* Content
/*-------------------------------------------*/

.field-name-body ul li {
    padding: 7px 0;
    border-bottom: 1px #99a7ae dotted;
    list-style: square;
}

.node {
    position: relative;
}

.region-content-top {
    margin-bottom: 15px;
}

.page-node-392 .field-name-field-news-date {
    display: none;
}

.ya-share2 { 
    margin: 15px 0;
}

.ya-share2__container ul, 
.ya-share2__container ol { 
    padding: 0;
}

.ya-share2__badge { 
    border-radius: 0 !important;
}

.region-content ul.menu li {
    margin: 0 0 15px 0;
    padding: 0 0 15px 15px;
    font-size: 18px;
}

.node-type-news .field-name-field-news-img,
.node-type-page .field-name-field-page-img,
.node-type-management .field-name-field-management-photo,
.node-type-profsouz-life .field-name-field-news-img {
    margin: 0 0 5px 15px;
    float: right;
}

.field-name-field-news-doc {
    margin: 0 0 15px 0;
}

.node-type-news .field-name-field-news-date,
.node-type-profsouz-life .field-name-field-news-date {
    color: #646f75;
    margin: 0 0 5px 0;
    font-size: 15px;
}

.node-type-news .field-name-field-news-photo .field-items,
.node-type-gallery .field-name-field-gallery-photo .field-items,
.node-type-profsouz-life .field-name-field-news-photo .field-items {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -7px;
}


.node-type-news .field-name-field-news-photo .field-item,
.node-type-gallery .field-name-field-gallery-photo .field-item,
.node-type-profsouz-life .field-name-field-news-photo .field-item {
    -webkit-flex: 0 0 33.333333%;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    padding: 7px;
}

.no-date .field-name-field-news-date,
.no-img .field-name-field-news-img { 
    display: none;
}

.print-link { 
    display: block;
    font-size: 15px;
    /*float: right;*/
    padding-bottom: 0 !important;
    margin-bottom: 5px;
    text-align: right;
}

/*-------------------------------------------*
/* Bottom
/*-------------------------------------------*/

#bottom-first-wrapper {
    background: #015a84;
}

#bottom-second-wrapper {
    background: #fff;
}

#bottom-third-wrapper {
    background: #0075ab;
    padding: 15px 0;
}

/*-------------------------------------------*
/* Footer
/*-------------------------------------------*/

#footer-wrapper{
    background: #0075ab;
    overflow: hidden;
}

#footer p {
    margin: 0;
    padding: 0;
}


#footer {
    padding: 15px 0;
    color: #77d8fc;
    font-size: 14px;
    line-height: normal;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/*-------------------------------------------*
/* Admin Tabs
/*-------------------------------------------*/

.tabs-wrapper {
    margin: 0 0 15px 0;
}

ul.primary {
    border: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px #0075ab solid;
}

ul.primary li a {
    background-color: transparent;
    border: none;
    display: block;
    float: left;
    margin: 0;
    padding: 5px 10px;
    margin-right: 5px;
}

ul.primary li a.active {
    background-color: #0075ab;
    border: none;
    color: #fff;
}

ul.primary li a:hover {
    text-decoration: none;
    color: #fff;
    border: none;
    background-color: #015a84;
}

/*-------------------------------------------*
/* Pager
/*-------------------------------------------*/

.item-list .pager li {
    padding: 0;
    margin: 0 5px 10px 0;
    display: inline-block;
}

li.pager-last,
li.pager-first {
    display: none !important;
}

.item-list .pager li a {
    color: #fff;
    text-decoration: none;
    background-color: #0075ab;
    padding: 5px 10px;
    display: inline-block;
}

.item-list .pager li a:hover{
    background: #015a84;
}

.item-list .pager li.pager-current { 
    color: #fff;
    background-color: #008bcb;
    padding: 5px 10px;
}

/*-------------------------------------------*
/* Tables
/*-------------------------------------------*/

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 15px;
    width: 100%;
}

th, tr, td {
    vertical-align: middle;
}

tbody { 
    border-top: none !important;
}

th p, td p { 
    padding: 0;
    margin: 0;
}

th {
	background-color: #0075ab !important;
    padding: 7px !important;
	color: #fff !important;
	border-bottom: 1px solid #fff !important;
	border-right: 1px solid #fff !important;
	font-weight: normal;
	text-align: center;
}

td {
     /*padding: 7px !important;*/
	 padding: 4px !important;
	border-right: 1px solid #fff !important;
}

tr.odd {
    background-color: #f7fcff !important;
    border-bottom: 1px solid #fff !important;
}

tr.even {
    background-color: #e6f7ff !important;
    border-bottom: 1px solid #fff !important;
}

.page-node-268 table {
    font-size: 12px !important;
}


.page-node-268 table {
    font-size: 12px !important;
}

.page-node-268 table th, 
.page-node-268 table tr, 
.page-node-268 table td { 
    vertical-align: top !important;
}

/*-------------------------------------------*
/* Colorbox
/*-------------------------------------------*/

#colorbox, #cboxOverlay, #cboxWrapper {position:absolute; top:0; left:0; z-index:9999; outline: none;}
#cboxOverlay {position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft {clear:left;}
#cboxContent {position:relative; margin: 50px;}
#cboxLoadedContent {overflow:auto;}
#cboxLoadingOverlay, #cboxLoadingGraphic {position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow {cursor:pointer;}
.cboxIframe {width:100%; height:100%; display:block; border:0;}
#colorbox, #cboxContent, #cboxLoadedContent {box-sizing:content-box;}
#cboxOverlay {background:#000;}
#cboxContent {overflow:visible;}
#cboxError {padding:50px;}
#cboxCurrent {position:absolute; top:-22px; right:205px; text-indent:-9999px;}
#cboxSlideshow, #cboxPrevious, #cboxNext, #cboxClose {text-indent:-9999px; position:absolute;}

.cboxPhoto {
   float:left; 
   margin: auto;
   display:block;
   background:#fff;
}

#cboxLoadedContent  {
   background: #fff;
}

#cboxLoadingGraphic {
    background: #fff url("../images/loading.gif") no-repeat center center;
}

#cboxTitle {
   color:#fff; 
   width: 100%; 
   text-align: center;
   padding: 5px 0 0 0;
}

#cboxPrevious,
#cboxNext {
    width:40px; 
    height:40px; 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: transparent;
    border: none;
    top: 50%; 
    margin-top: -20px;
    z-index: 10000;
}

#cboxPrevious {
    background-image: url("../images/prev.svg"); 
    left: -55px; 
}

#cboxNext {
    background-image: url("../images/next.svg");
    right: -55px; 
}

#cboxClose {
    width:20px; 
    height:20px; 
    background-image: url("../images/close.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: transparent;
    border: none;
    right: -30px; 
    top: -30px; 
    z-index: 10000;
}

/**кнопки соц.сетей**/

.social_button {
    width: 200px;
    height: 45px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    margin-bottom: 15px;
}

.social_button:last-child {
    margin-bottom: 0;
}

.social_button a {
    text-decoration: none;
    color: #ffffff;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.sb_inst {
    background: linear-gradient(to right, #405de6, #833ab4, #e1306c, #f56040 , #fcaf45);
}

.sb_twit {
    background: #00acee;
}

.sb_vk {
    background: #4680C2;
}

.sb_teleg {
    background: #0088cc;
}

.sb_youtube {
    background: #c4302b;
}

.sb_inst:hover {
    background: linear-gradient(to left, #405de6, #833ab4, #e1306c, #f56040 , #fcaf45);
    box-shadow: 0px 15px 20px rgba(134, 0, 84, 100);
    transform: translateY(-7px);
    transition: 0.3s;
}

.sb_vk:hover {
    background: linear-gradient(to left, #4680C2, #69aae3, #4680C2);
    box-shadow: 0px 15px 20px rgba(4,53,96,100);
    transform: translateY(-7px);
    transition: 0.3s;
}

.sb_twit:hover {
    background: #00acee;
    background: linear-gradient(to left, #00acee, #75b9f4, #00acee);
    box-shadow: 0px 15px 20px rgba(4,53,96,100);
    transform: translateY(-7px);
    transition: 0.3s;
}

.sb_teleg:hover {
    background: linear-gradient(to left, #0088cc, #51aaf7, #0088cc);
    box-shadow: 0px 15px 20px rgba(4,53,96,100);
    transform: translateY(-7px);
    transition: 0.3s;
}

.sb_youtube:hover {
    background: linear-gradient(to left, #c4302b, #ef7a8d, #c4302b);
    box-shadow: 0px 15px 20px rgb(144 11 22);
    transform: translateY(-7px);
    transition: 0.3s;
}


.grey-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 25px;
}

.grey-block__item {
    background: #d9d9d9;
    width: 28%;
    margin: 10px;
    border-radius: 15px;
    padding: 20px 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #454545;
    cursor: default;
    transition: 0.2s;
}

.grey-block .grey-block__item:hover {
    cursor: pointer;
}

.grey-block .grey-block__item img{
    width: 100px;
    margin-bottom: 15px;
    filter: grayscale(1);
    transition: 0.2s;
}

.grey-block .grey-block__item:hover img{
    filter: grayscale(0);
    transition: 0.2s;
}

.blue_spoilers summary {
    background: #0777a9;
    color: #ffffff;
    /*text-align: center;*/
    padding: 15px;
}

.blue_spoiler-inside ul {
    margin: 0;
}

.blue_spoiler-inside {
    border: 2px solid #0777a9;
    border-radius: 0 0 25px 25px;
    padding: 15px 20px;
}

.blue_spoilers {
    margin-bottom: 25px;
}

.information_list {
    display: flex;
    margin-bottom: 15px;
}

.information_list:last-child{
    margin-bottom: 0;
}

.information_list__date {
    margin-right: 15px;
}

@media (max-width: 769px) {
    .grey-block__item {
        width: 45%;
    }
}

@media (max-width: 550px) {
    .grey-block__item {
        width: 100%;
        margin: 0 0 15px 0;
    }
    .information_list {
        flex-direction: column;
    }
    .information_list__date {
        margin-right: 0;
        margin-bottom: 5px;
    }
}


.blue-but a{
    background: #0777a9;
    padding: 10px;
    color: #ffffff;
    width: 100%;
    display: block;
}