@font-face {
    font-family: gothic;
    src: url('/templates/mk_gov/font/gothic.ttf');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0px 0px 0px 0px;
    font-family: gothic;
}

img {
    max-width: 100%;
    box-sizing: border-box;
}

h3 {
    color: #004e4c;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 3px;
    margin-top: 8px;
}

.bg_tl {
    background: url("/templates/do_portal/bgtop-left.png") repeat-x;
    background-position: 0% 0%;
    width: auto;
}

.bg_tr {
    background: url("/templates/do_portal/bgtop-right.png") repeat-x;
    background-position: 0% 0%;
    width: auto;
}

.bg_tm {
    background: url("/templates/do_portal/bgtop.png") no-repeat;
    background-position: 0% 0%;
    background-size: 100% 142px;
    width: 100%;
    margin-bottom: 50px;
}

.bg_bl {
    background: url("/templates/do_portal/footer-left.png") no-repeat;
    background-position: 0% 100%;
}

.bg_br {
    background: url("/templates/do_portal/footer-right.png") no-repeat;
    background-position: 100% 100%;
}

.bg_bm {
    background: url("/templates/do_portal/footer-mid.png");
}

.main_bg {
    background: url("/templates/do_portal/main_bg.png") repeat-y;
    background-size: 100%;
}
.portal_heading {
    color: #FFF;
    text-transform: uppercase;
    font-size: 23px;
    font-weight: 300;
    background-position: 10px 50%;
    padding-left: 0px;
    background-size: 80px;
}

.top_menu #mk_portal_menu a{
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    min-height: 46px;
    padding-top: 16px;
    padding-left: 40px;
    padding-right: 40px;
    color: #004e4c;
}

.top_menu #mk_portal_menu a:hover{
    background: #004e4c;
    color: #FFF;
}

.bottom_menu #mk_portal_menu {
    padding-top: 30px;
}

.bottom_menu #mk_portal_menu a{
    color: #fff;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    padding-top: 10px;
}

.mainbody {
    padding-top: 5px;
    padding-bottom: 5px;
}
.rights {
    padding-bottom: 20px;
    color: #fff;
    font-size: 10px;
}

.top_new {
    background-color: #2d843d;
    padding: 20px 20px 10px 20px;
    color: #FFF;
    margin-bottom: 20px;
    margin-right: 20px;
    height: 400px;
    max-width: 550px;
    width: 550px;
}

.main_new_intro {
    font-size: 12px;
    max-width: 330px !important;
    padding-left: 10px;
    word-wrap: break-word;
}

.mk_news_row {
    padding-left: 20px;
}

.mk_news_heading a{
    color: #324a54 !important;
    text-transform: uppercase !important;
    text-decoration: none;
}

.mk_new_table {
    background-color: #e3fcea;
    width: 100%;
    margin-bottom: 20px;
    padding: 5px 20px 5px 20px;
}

.mk_new_intro p{
    color: #434f65 !important;
}
.mk_news_date {
    font-size: 11px;
}

#vacancy_list {
    margin-top: 10px;
    width: 100%;
}

#vacancy_list .mk_vacancy_table {
    display: inline-block;
    width: 560px;
    background: rgba(0, 150, 80, 0.06);
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    padding: 20px;
    border-radius: 10px;
    vertical-align: text-top;
}

#vacancy_list .mk_vacancy_name {
    text-transform: uppercase;
    color: #153619;
}

#vacancy_list a {
    color: #324a54;
    text-decoration: none;
    font-size: 19px;
    border-bottom: 1px solid #324a54;
}

.frontpage{
    width: 800px;
    border-bottom: 5px solid #FFF;
    box-shadow: 0 30px 30px -35px rgba(0,0,0,0.8);
    border-spacing: 0px;
}

.frontpage th{
    text-transform: uppercase;
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    color: #FD5F54;
    padding: 10px 10px 10px 10px;
}

.frontpage tr:nth-child(2n){
    background: #EEEEEE;
}

.frontpage td{
    padding: 10px 10px 10px 10px;
}
.news_element_table {
    height: 200px;
    display: inline-block;
    width: 300px;
    background-color: #258048;
    margin: 10px 10px 10px 10px;
}

.news_info_table {
    padding: 5px 5px 5px 5px;
    color: #FFFFFF;
}

.news_info_table a {
    color: #FFFFFF;
    text-decoration: none;
}

.news_info_table {
    background-color: #000;
    opacity: 0.7;
}

.news_info_table:hover {
    background-color: #258048;
    opacity: 0.85;
}

.news_info_table .date {
    font-size: 12px;
}

a {
    color: #153619;
}

.login_form {
    vertical-align: top;
    padding-top: 3px;
}

.login_form form {
    margin-bottom: 0px;
}

.login_form td{
    color: #fff !important;
    font-size: 11px !important;
}
.login_form input[type=text], .login_form input[type=password]{
    max-width: 60px;
    background-color: #fff;
    border: 1px solid #000;
    margin-left: 3px;
    margin-right: 3px;
}

.login_form input[type=submit] {
    background-color: #004e4c;
    border: 1px solid #fff;
    color: #fff;
    font-size: 11px !important;
}

.text_pos1{
    background: url('/templates/main_green/pics/search.svg') no-repeat;
    background-size: auto 30px;
    padding: 20px;
    padding-left: 40px;
    background-position: 0% 50%;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}
.text_pos2{
    background: url('/templates/main_green/pics/atom.svg') no-repeat;
    background-size: auto 30px;
    padding: 20px;
    padding-left: 40px;
    background-position: 0% 50%;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}
.text_pos3{
    background: url('/templates/main_green/pics/pointer.svg') no-repeat;
    background-size: auto 30px;
    padding: 20px;
    padding-left: 40px;
    background-position: 2% 50%;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

.bottom_text td{
    color: #fff;
} 

.news_list .mk_new_div {
    display: inline-block;
    width: calc(33% - 26px);
    border-radius: 10px;
    overflow: hidden;
    height: 234px;
    vertical-align: top;
    background: #ccc;
    margin: 15px;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
}

.news_list .mk_new_div .desc {
    display: block;
    position: absolute;
    bottom: 0px;
    overflow: hidden;
    width: calc(100% - 0px);
    max-width: calc(100% - 0px);
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    left: 0;
}

/*.news_list .mk_new_div .desc.background {
    background-color: #000;
    opacity: 0.7;
}*/

.news_list .mk_new_div .subject {
    float: none !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #fff;
    display: block;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news_list .mk_new_div .date {
    color: #fff;
    font-size: 12px;
}

.news_list .mk_new_div .link {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

.news_list .mk_new_div .background {
    background-size: cover !important;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.news_list .mk_new_div:nth-child(1), .news_list .mk_new_div:nth-child(13) {
    width: calc(60% - 60px);
    height: 474px;
    float: left;
}

.news_list .mk_new_div:nth-child(1) .subject, .news_list .mk_new_div:nth-child(13) .subject{
    margin-bottom: 10px;
    font-size: 25px;
}

.news_list .mk_new_div:nth-child(2), .news_list .mk_new_div:nth-child(12) {
    width: 40%;
    height: 474px;
}

/* .news_list .mk_new_div:nth-child(15) {
    width: calc(40% - 20px);
    height: 474px;
    float: right !important;
} */

.news_list .mk_new_div:hover .subject {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all .3s;
}

.news_list .mk_new_div:hover .desc {
    background-color: rgba(16, 68, 35, 0.7);
}


.front_separator {
    border-top: 2px solid #000;
    margin-bottom: 0px;
}

.visitor_counter td {
    color: #fff;
}

.element_blocks {
    padding: 25px 0px 25px 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.element_blocks .container {
    display: inline-block;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    margin: 5px;
    position: relative;
    max-width: calc(33% - 10px);
    transition: all .3s;
}

.element_blocks .container div {
    display: block;
    text-align: center;
    border: 0px;
    text-transform: uppercase;
    padding: 16px;
    width: 355px;
}

.element_blocks .container .link {
    display: block;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
}

.element_blocks .container .name {
    /*font-weight: bold;*/
    font-size: 18px;
}

.element_blocks .container .value {
    font-weight: bold;
    font-size: 28px;
}

.element_blocks .container:hover {
    background: rgba(0, 78, 76, 0.95);
    color: #fff;
}

.spacer {
    display: block;
    height: 20px;
}

.places_tabs {
    display: inline-block;
    width: 300px;
    vertical-align: top;
}

.places_tabs .switchtab {
    display: block;
    /*border: 1px solid #004e4c;*/
    color: #004e4c;
    padding: 10px;
    margin: 5px;
    position: relative;
    cursor: pointer;
    transition: all .3s;
}

.places_tabs .switchtab:hover {
    background: #008785;
    color: #fff;
}

.places_tabs .switchtab.activetab {
    background: #004e4c;
    color: #fff;
}

.places_content {
    vertical-align: top;
    display: inline-block;
    width: calc(100% - 320px);
}

.tabelement {
    display: flex;
    flex-wrap: wrap;
}

.place_element {
    display: inline-block;
    background: rgba(0, 150, 80, 0.06);
    width: 240px;
    padding: 15px;
    vertical-align: top;
    margin: 10px;
    min-height: 100px;
    position: relative;
    border-radius: 10px;
    transition: all .3s;
}

.place_element .count {
    position: absolute;
    display: block;
    width: calc(100% - 40px);
    bottom: 0px;
    text-align: end;
    padding: 10px;
}

.place_element .open {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
}

.count_sads {
    font-size: 12px;
}

.switchtab .name {
    display: block;
    width: 235px;
}

.tab_places_count {
    display: inline-block;
    font-size: 18px;
    position: absolute;
    top: 0px;
    right: 0px;
    display: block;
    padding: 10px;
}

.place_element:hover {
    background: #00524c;
    color: #fff;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-between {
    justify-content: space-between;
}

.top-heading {
    padding: 34px 0;
}

.footer {
    min-height: 337px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    color: #fff;
}

.bottom_text {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

a.gallery.link img {
    max-width: 400px;
    float: none !important;
    display: inline-block;
}

.mainbody h3 {
    font-size: 36px;
    margin-bottom: 20px !important;
    margin-top: 30px;
    display: inline-block;
    width: 100%;
}

.mainbody div {
    float: none !important;
}

span#share42 {
    display: block;
    margin-top: 30px;
    margin-bottom: 20px;
}

.news_list div {
    float: left !important;
}

.news_list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.news_list::after {
    content: '';
    clear: both;
}

.mob-burger {
    display: none;
}

.pos-r {
    position: relative;
}

@media screen and (max-width: 768px) {
    #vacancy_list .mk_vacancy_table {
        width: 100%;
        margin: 10px 0;
    }
    .element_blocks .container {
        max-width: 95%;
    }
    .container {
        box-sizing: border-box;
        padding: 0px 15px;
    }
    .element_blocks .container div {
        width: 100%;
        box-sizing: border-box;
    }
    .mainbody h3 {
        font-size: 26px;
    }
    .news_list .mk_new_div:nth-child(1), .news_list .mk_new_div:nth-child(12) {
        width: 100%;
        height: 300px;
        height: 300px;
    }
    .news_list .mk_new_div:nth-child(2), .news_list .mk_new_div:nth-child(13) {
        width: calc(50% - 20px);
        height: 250px;
    }
    .news_list .mk_new_div {
        width: calc(50% - 20px);
        margin: 10px;
        height: 250px;
    }
    .portal_heading {
        font-size: 17px;
        padding-left: 15px;
    }
    .news_list .mk_new_div .subject {
        font-size: 15px;
    }
    .top_menu {
        position: relative;
    }
    .top_menu::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        height: 40px;
        width: 40px;
    }
    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 6px 0;
        transition: 0.4s;
      }
      
      .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-9px, 6px);
      }
      
      .change .bar2 {opacity: 0;}
      
      .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
      }
      .mob-burger {
          position: absolute;
          right: 10px;
          top: 10px;
          display: block;
          z-index: 99;
      }
      .top_menu {
        position: absolute;
        background-color: #fff;
        width: 100%;
        left: 0;
        top: 6px;
        z-index: 98;
        max-height: 0px;
        overflow: hidden;
        transition: all .3s;
    }
    .top_menu #mk_portal_menu a {
        width: 100%;
    }
    div#mk_portal_menu {
        padding: 15px 0px;
    }
    .mob-container {
        min-height: 50px;
        margin-top: 7px;
    }
    .login_form {
        display: none;
    }
    .top-heading {
        padding-top: 15px;
        
    }
    .portal_heading {
        min-height: 66px;
    }
    .places_tabs {
        width: 100%;
    }
    .place_element {
        width: 100%;
    }
    .tabelement {
        width: 100%;
    }
    .places_content {
        width: 100%;
    }
    a.gallery.link img {
        max-width: 100%;
    }
}