body, .wrap {
  width: auto;
  min-width: auto !important;
}

#main {
  padding-bottom: 0px;
}

.pager ul {
  margin: 0 !important;
}

@media (max-width: 1024px) {
  .left-content {
    width: 100%;
  }
  .site_map {
    width: 100%;
    overflow: scroll;
  }
  .left-content > .wrap {
    width: 100% !important;
    padding: 0px !important;
  }
  .portal-info .ckeditor table {
    display: block;
    overflow: scroll;
  }
  .calendar .foot {
    padding: 0 20px !important;
  }
  .calendar-block .calendar-table-download {
    justify-content: flex-start;
    display: flex;
    flex-wrap: wrap;
  }
  .calendar-block .calendar-table-download .elem {
    margin-bottom: 7px;
  }
}

@media (max-width: 525px) {
  .select-filter #year-items,
  .select-filter #month-items {
    width: 91%;
  }
  .select-filter #year-items > .selecter,
  .select-filter #month-items > .selecter {
    width: 100%;
    margin-top: 10px;
  }
  .calendar .foot {
    padding: 0 15px;
  }
}

@media (max-width: 620px) {
  .pager ul {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .wrap {
    min-width: 100%;
  }
  .content {
    padding-top: 15px;
  }
  body .table .footable-details th {
    background: black !important;
    color: white !important;
  }
  .sort-link {
    color: white !important;
  }
  .fancybox-inner #video577 video {
    width: 100% !important;
  }
  .svg-popup.animated.flipInY {
    display: none !important;
  }
  .calendar-block .calendar-table {
    margin-left: 0px;
    width: 100% !important;
  }
  .calendar-table .footable-header th,
  .footable-details th {
    background-color: black !important;
    padding-left: 5px !important;
  }
  .calendar-table .footable-header th a,
  .footable-details th a {
    font-size: 14px !important;
  }
  .left-content .grid-search {
    margin-top: 20px;
  }
  .page-video video,
  .page-video div {
    width: 100% !important;
  }
  .assignments-table {
    width: 100% !important;
    overflow: scroll !important;
    display: block;
  }
  .assignments-table thead,
  .assignments-table tbody {
    width: 100% !important;
    overflow: scroll !important;
  }
  #pos-banner {
    background-size: 70% !important;
  }
  .portal-info .ckeditor .ckeditor_table table {
    width: 100%;
    display: block;
    overflow: scroll !important;
    border: 0px;
  }
}

@media (max-width: 768px) {
  td,
  th {
    width: auto !important;
  }
  .contact-info .image {
    width: 95%;
    margin: 0 auto;
  }
  .contact-info .image #map {
    width: 100%;
  }
}

@media (max-width: 525px) {
  .select-filter #year-items,
  .select-filter #month-items {
    width: 91%;
  }
  .select-filter #year-items > .selecter,
  .select-filter #month-items > .selecter {
    width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 500px) {
  .collapses .item.active > .desc {
    overflow: auto !important;
  }
  .collapses .item table td {
    width: 150px !important;
  }
}

.table .footable-header th {
  background-color: black !important;
  color: white !important;
}

.table .footable-header th .sort-link {
  color: white !important;
}

.table.assignments-table th {
  background: black !important;
  color: #fff !important;
}

body .kwin-filter table th {
  background: black !important;
  color: white !important;
}

@media (max-width: 720px) {
  body .kwin-filter table {
    display: block !important;
    overflow: scroll !important;
    width: 100% !important;
  }
}

@media (max-width: 400px) {
  .notkwin-footable {
    display: block;
    overflow: scroll;
  }
}

@media (max-width: 345px) {
  .kwinvote-table {
    display: block;
    width: 100%;
    overflow: scroll;
  }
}

/* Responsive right-content */
@media (max-width: 1024px) {
  .content .wrap {
    width: 95%;
  }
  .content .wrap .right-content {
    width: 100%;
  }
  .content .wrap .right-content .right-menu {
    width: 100%;
  }
  .content .wrap .left-content {
    overflow: hidden;
    padding: 0 10px;
  }
  .content .wrap .left-content.resizable {
    overflow: visible !important;
  }
  .content > .wrap > h2:first-child {
    font-size: 27px;
  }
  .content .wrap .clearfix .right-content .right-slider {
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
  .content .wrap .left-content .ckeditor p img {
    margin-left: 0px !important;
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 550px) {
  .content .wrap {
    width: 98%;
  }
  .content > .wrap > h2:first-child {
    font-size: 25px;
    text-align: center;
  }
}

@media (max-width: 830px) {
  .appeal-form {
    width: 100%;
  }
  .appeal-form li {
    width: 100%;
  }
  .appeal-form li input {
    width: 100% !important;
  }
  .appeal-form .row.captcha {
    display: flex;
    flex-wrap: wrap !important;
  }
  .contact-info.type2 {
    display: flex !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 725px) {
  .fancybox-wrap {
    width: 90% !important;
    margin-bottom: 50px !important;
  }
  .fancybox-inner {
    height: auto !important;
    width: 100% !important;
  }
  .feedback-modal {
    width: 100% !important;
  }
  .feedback-modal .body .feedback-type {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .feedback-modal .body .feedback-type a {
    display: block;
    width: 45%;
    padding: 5px;
    margin-top: 10px;
  }
  .feedback-modal .body .feedback_form .input-group.row.clearfix {
    display: flex;
    flex-wrap: wrap;
  }
  .feedback-modal .body .feedback_form .input-group.row.clearfix .row {
    width: 100% !important;
  }
  .feedback-modal .body .feedback_form .row.captcha {
    display: flex;
    flex-wrap: wrap;
  }
  .feedback-modal .body .feedback_form .row.captcha .image {
    margin-bottom: 15px;
  }
}

@media (max-width: 490px) {
  #status-form {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 430px) {
  #search-form .horisontal-row {
    display: flex;
    flex-wrap: wrap;
  }
  #search-form .horisontal-row button[type=submit] {
    margin-top: 15px;
  }
}

@media (max-width: 1024px) {
  .gallery-list {
    display: flex;
    flex-wrap: wrap;
  }
  .gallery-list li {
    width: 235px;
    margin: 7px auto !important;
  }
}

@media (max-width: 1024px) {
  .content .wrap .video-list {
    margin-left: 0%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .content .wrap .video-list li {
    width: 225px;
    margin: 20px auto !important;
  }
  .content .wrap .video-list li .desc {
    font-size: 16px;
    height: 40px;
  }
  .content .wrap .video-list li img {
    height: 140px !important;
  }
  .content .wrap .video-list li .date {
    font-size: 13px;
  }
}

/* responsive bradcrumb */
@media screen and (max-width: 1024px) {
  .breadcrumb .wrap {
    min-width: auto;
    max-width: auto;
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }
  .breadcrumb .wrap .breadcrumbs {
    font-size: 15px;
  }
}

@media screen and (max-width: 780px) {
  .breadcrumb .wrap {
    min-width: auto;
    max-width: auto;
    width: 95%;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .pager ul {
    display: flex;
    flex-wrap: wrap;
  }
  .pager ul li {
    margin-top: 10px;
  }
  .pager ul .page {
    order: 5;
    margin-right: 5px;
  }
  .pager ul .first {
    order: 1;
  }
  .pager ul .previous {
    order: 2;
  }
  .pager ul .next {
    order: 3;
  }
  .pager ul .last {
    order: 4;
  }
  .media .last-news li {
    margin: 5px 0px !important;
  }
}

@media (max-width: 625px) {
  .pager ul .first, .pager ul .previous, .pager ul .next, .pager ul .last {
    width: 25%;
  }
}

@media (max-width: 625px) {
  .pager ul .first, .pager ul .previous, .pager ul .next, .pager ul .last {
    width: 33%;
  }
}

@media (max-width: 535px) {
  .pager ul .first, .pager ul .previous, .pager ul .next, .pager ul .last {
    width: 50%;
  }
}

@media (max-width: 330px) {
  .pager ul .first, .pager ul .previous, .pager ul .next, .pager ul .last {
    display: flex;
    align-items: center;
  }
  .pager ul .first a, .pager ul .previous a, .pager ul .next a, .pager ul .last a {
    padding: 0px !important;
  }
}

@media (max-width: 768px) {
  .content .wrap .clearfix .list-links li {
    margin-top: 25px;
  }
  .content .wrap .clearfix .list-links li .left {
    float: none;
  }
  .content .wrap .clearfix .list-links li .right {
    margin-left: 0px;
  }
  .content .wrap .clearfix .list-links li .right h3 {
    padding: 10px 0 0;
  }
  .content .wrap .clearfix .list-links li .right .list-links li {
    margin-top: 5px;
  }
  .content .wrap .clearfix .list-links li .right .collapses {
    margin-top: 10px;
  }
}

.footer {
  margin-top: 0px;
}

@media (max-width: 1024px) {
  .footer {
    height: auto;
  }
  .footer .wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .footer .wrap .left {
    width: 50%;
    margin-right: 0px;
    order: 1;
  }
  .footer .wrap .right {
    width: 50%;
    position: static;
    order: 2;
  }
  .footer .wrap .right .link {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer .wrap {
    padding-bottom: 15px;
  }
  .footer .wrap .left {
    width: 100%;
  }
  .footer .wrap .right {
    width: 100%;
  }
  .footer .wrap .right .link {
    margin-top: 10px;
    text-align: left;
  }
  .footer .wrap .right .link a {
    margin-left: 0px;
    margin-right: 20px;
  }
  .footer .wrap .right .copyright {
    margin-top: 10px;
  }
}

@media (max-width: 860px) {
  .header {
    height: auto !important;
  }
  .header .head .invalid-style {
    margin-left: 0%;
    margin-top: 20px;
    padding-top: 0px;
    display: block;
    width: 100%;
    text-align: right;
  }
  .header .wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .header .wrap .logo {
    width: 460px;
    margin: 0 auto;
    display: flex;
    height: auto;
  }
  .header .wrap .logo a {
    margin-right: 10px;
    width: 109px;
    height: 109px;
    display: block;
    margin-top: 40px;
  }
  .header .wrap .logo .desc {
    width: 350px;
  }
  .header .wrap .search {
    width: 100%;
    height: 50px;
    line-height: 50px;
  }
  .header .wrap .search form, .header .wrap .search input {
    width: 450px;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 550px) {
  .header > .wrap .logo {
    flex-wrap: wrap;
  }
  .header > .wrap .logo a {
    margin: 50px auto 0;
  }
  .header > .wrap .logo .desc {
    width: 100%;
    text-align: center;
    line-height: normal;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .header > .wrap .logo .desc span {
    font-size: 30px;
  }
}

@media (max-width: 525px) {
  .header .wrap .search form, .header .wrap .search input {
    width: 90%;
  }
  .header .wrap .search button {
    right: 5%;
  }
}

@media (max-width: 600px) {
  .header .headlink {
    height: auto !important;
  }
  .header .headlink .wrap {
    margin: 0;
    padding: 0;
  }
  .header .headlink .wrap .link {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-top: 0px;
  }
  .header .headlink .wrap .link a {
    width: 50%;
    margin: 10px 0 0;
    text-align: center;
  }
  .header .headlink .wrap > a {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .header {
    padding-top: 60px;
    height: auto !important;
  }
  .header .head:nth-child(1) {
    padding-bottom: 10px;
  }
  .header .head:nth-child(2) {
    height: 75px !important;
    padding-bottom: 10px;
  }
  .header .head .wrap .theme-settings {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    float: none;
  }
  .header .head .wrap .theme-settings > div {
    width: 45%;
    margin-right: 0px !important;
    padding-bottom: 5px;
  }
}

@media (max-width: 590px) {
  .header .head:nth-child(2) {
    height: 150px !important;
  }
  .header .head .wrap .theme-settings > div {
    width: 100%;
  }
  .header .head .wrap .invalid-style {
    margin-top: 100px;
  }
}

.mobile {
  display: none;
}

@media (max-width: 1024px) {
  .mobile {
    display: block;
  }
  .mobile-header {
    width: 100%;
  }
  .mobile-header .top_menu {
    z-index: 999;
    position: fixed;
    background: white;
    border-bottom: 2px solid black;
    width: 100%;
    height: 60px;
    padding-left: 5%;
    display: flex;
    justify-content: space-between;
    padding-right: 5%;
  }
  .mobile-header .top_menu .logo {
    padding-top: 5px;
    height: 50px;
  }
  .mobile-header .top_menu .logo img {
    height: 100%;
  }
  .mobile-header .top_menu .menu_points {
    width: 45px;
    height: 40px;
    margin-top: 5px;
  }
  .mobile-header .top_menu .menu_points hr {
    border: 0px;
    height: 4px;
    width: 100%;
    background: black;
    margin-top: 10px;
  }
  .mobile-header .right_menu {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    display: none;
  }
  .mobile-header .right_menu_bg {
    width: 58%;
    background: black;
    opacity: 0.5;
  }
  .mobile-header .right_menu_content {
    background: white;
    width: 42%;
    padding-top: 5px;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    color: black;
  }
  .mobile-header .right_menu_content .close_menu {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    margin-left: 85%;
    font-size: 45px;
  }
  .mobile-header .right_menu_content .right_menu_nav > ul > li > a {
    font-size: 17px;
    text-align: right;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 7px;
    display: flex;
    padding-right: 14%;
    width: 100%;
    justify-content: flex-end;
    text-decoration: underline;
    color: black;
    padding-bottom: 7px;
    border-bottom: 2px solid black;
  }
  .mobile-header .right_menu_content .right_menu_nav > ul > li > ul {
    display: none;
  }
  .mobile-header .right_menu_content .right_menu_nav > ul > li > ul > li {
    text-align: right;
    margin-top: 2px;
    width: 100%;
    margin-left: 0%;
    background: white;
    padding: 5px;
    border: 0px;
  }
  .mobile-header .right_menu_content .right_menu_nav > ul > li > ul > li a {
    color: black;
    font-weight: 600;
    font-size: 16px;
  }
  .mobile-header .right_menu_content .right_menu_nav .arrow-outer {
    position: relative;
    height: 0px;
  }
  .mobile-header .right_menu_content .right_menu_nav .arrow {
    width: 35px;
    text-align: center;
    font-size: 24px;
    margin-right: 15px;
    position: relative;
    right: -87%;
    bottom: -12px;
    transform: rotate(180deg);
    transition: all 0.3s ease-in;
  }
  .mobile-header .right_menu_content .right_menu_nav .arrow.openned {
    display: block;
    bottom: -11px;
    transform: rotate(270deg);
  }
  .mobile-header .right_menu_item {
    text-align: right;
    margin-top: 15px;
    margin-bottom: 7px;
    padding-right: 5%;
    width: 100%;
    list-style: none;
  }
  .mobile-header .right_menu_item a {
    text-decoration: none;
    color: black;
    font-size: 17px;
    font-weight: 600;
  }
  .mobile-header .right_menu hr {
    background-color: black;
    height: 2px;
    border: 0px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-header {
    width: 100%;
  }
  .mobile-header .top_menu {
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 60px;
    padding-left: 5%;
    display: flex;
    justify-content: space-between;
    padding-right: 5%;
  }
  .mobile-header .top_menu .logo {
    padding-top: 5px;
    height: 50px;
  }
  .mobile-header .top_menu .logo img {
    height: 100%;
  }
  .mobile-header .top_menu .menu_points {
    width: 45px;
    height: 40px;
    margin-top: 5px;
  }
  .mobile-header .top_menu .menu_points hr {
    border: 0px;
    height: 4px;
    width: 100%;
    margin-top: 10px;
  }
  .mobile-header .right_menu {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    display: none;
  }
  .mobile-header .right_menu_bg {
    width: 45%;
    opacity: 0.5;
  }
  .mobile-header .right_menu_content {
    width: 55%;
    height: 100%;
    padding-right: 0px;
  }
  .mobile-header .right_menu_content .title {
    font-size: 17px;
    text-align: right;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 7px;
    padding-right: 5%;
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }
  .mobile-header .right_menu_content .arrow {
    font-size: 23px;
  }
  .mobile-header .right_menu_content hr {
    height: 2px;
    border: 0px;
  }
  .mobile-header .right_menu_content .dropdown_menu {
    display: none;
    padding-bottom: 20px;
  }
  .mobile-header .right_menu_content .dropdown_menu li {
    text-align: right;
    margin-top: 2px;
    width: 100%;
    margin-left: 0%;
    border: 0px;
  }
  .mobile-header .right_menu_content .dropdown_menu li a {
    font-weight: 600;
    font-size: 16px;
  }
}

@media (max-width: 590px) {
  .mobile-header .right_menu_icons {
    display: flex;
    justify-content: flex-end;
    padding: 8px;
  }
  .mobile-header .right_menu_icons img {
    margin-top: 3px;
  }
  .mobile-header .right_menu_icons a {
    font-weight: 600;
    margin-left: 20px;
    line-height: 22px;
  }
  .mobile-header .right_menu_icons .kwinlang {
    margin-left: 20px;
  }
  .mobile-header .right_menu_icons .kwinlang a {
    margin-left: 10px;
  }
}

@media (max-width: 550px) {
  .mobile-header {
    width: 100%;
  }
  .mobile-header .right_menu {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    display: none;
  }
  .mobile-header .right_menu_bg {
    width: 35%;
    opacity: 0.5;
  }
  .mobile-header .right_menu_content {
    width: 65%;
    padding-right: 0%;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
  }
  .mobile-header .right_menu_content .title {
    font-size: 17px;
    text-align: right;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 7px;
    padding-right: 0%;
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }
  .mobile-header .right_menu_content .arrow {
    font-size: 23px;
  }
  .mobile-header .right_menu_content hr {
    height: 2px;
    border: 0px;
  }
  .mobile-header .right_menu_content .dropdown_menu {
    display: none;
    padding-bottom: 20px;
  }
  .mobile-header .right_menu_content .dropdown_menu li {
    text-align: right;
    margin-top: 2px;
    width: 100%;
    margin-left: 0%;
    border: 0px;
  }
  .mobile-header .right_menu_content .dropdown_menu li a {
    font-size: 16px;
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .mobile-header {
    width: 100%;
  }
  .mobile-header .right_menu {
    position: fixed;
    z-index: 99999;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    display: none;
  }
  .mobile-header .right_menu_bg {
    width: 15%;
    opacity: 0.5;
  }
  .mobile-header .right_menu_content {
    width: 85%;
    padding-right: 0px;
    height: 100%;
  }
  .mobile-header .right_menu_content .title {
    font-size: 17px;
    text-align: right;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 7px;
    padding-right: 5%;
    display: flex;
    width: 100%;
    justify-content: flex-end;
  }
  .mobile-header .right_menu_content .arrow {
    font-size: 23px;
  }
  .mobile-header .right_menu_content hr {
    height: 2px;
    border: 0px;
  }
  .mobile-header .right_menu_content .dropdown_menu {
    display: none;
    padding-bottom: 20px;
  }
  .mobile-header .right_menu_content .dropdown_menu li {
    text-align: right;
    margin-top: 2px;
    width: 100%;
    margin-left: 0%;
    border: 0px;
  }
  .mobile-header .right_menu_content .dropdown_menu li a {
    font-size: 16px;
    font-weight: 600;
  }
}

@media screen and (max-width: 768px) {
  .content .wrap .clearfix .left-content {
    float: none;
    margin-right: 0px;
  }
  .content .wrap .clearfix .left-content .people .people-list li {
    margin-top: 5px;
  }
}

@media screen and (max-width: 480px) {
  .content .wrap .clearfix .left-content {
    float: none;
    margin-right: 0px;
  }
  .content .wrap .clearfix .left-content .right {
    float: none;
    width: 100%;
    margin-left: 0%;
  }
  .content .wrap .clearfix .left-content .left {
    float: none;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .content .wrap .clearfix .left-content .left .image {
    margin-right: 50px;
  }
  .content .wrap .clearfix .left-content .left .name {
    width: 100%;
    display: block;
  }
  .content .wrap .clearfix .left-content .people .people-list li {
    margin-top: 5px;
  }
}

@media screen and (max-width: 380px) {
  .content .wrap .clearfix .left-content {
    float: none;
    margin-right: 0px;
  }
  .content .wrap .clearfix .left-content .right {
    float: none;
    width: 100%;
    margin-left: 0%;
  }
  .content .wrap .clearfix .left-content .left {
    float: none;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 30px;
  }
  .content .wrap .clearfix .left-content .left .image {
    margin-right: 50px;
  }
  .content .wrap .clearfix .left-content .left .name {
    width: 100%;
    display: block;
  }
  .content .wrap .clearfix .left-content .people .people-list .desc span {
    font-weight: 500;
  }
  .content .wrap .clearfix .left-content .people .people-list li {
    margin-top: 10px;
  }
}

/* Responsive tabs */
.socicons > a {
  background-color: #F2F2F2 !important;
}

@media screen and (max-width: 1024px) {
  .media {
    display: flex;
    flex-wrap: wrap;
  }
  .wrap .media div:nth-child(2) {
    width: 100% !important;
  }
  .media #yw4 {
    width: 100%;
  }
  .media #tabs {
    width: 100% !important;
  }
  .media {
    margin-top: 20px;
    width: 90%;
    margin-left: 5%;
  }
  .media .foot {
    height: auto;
  }
  .media .grid-view {
    padding: 0px;
  }
  .media .ui-tabs-panel {
    padding: 22px 2px 0px 22px;
  }
  .media .last-news.last-news-full .items li, .media .last-news .items li {
    width: 90%;
    padding-left: 26px;
  }
  .calendar .head {
    font-size: 24px;
    line-height: 26px;
    padding: 26px 30px 0;
  }
  .calendar .ui-datepicker-calendar {
    width: 170px;
    margin: 0 auto;
  }
  .calendar .foot a {
    color: #FFF;
    text-decoration: underline;
    margin-left: 8px;
  }
  .calendar-block .calendar-table td:nth-child(2) {
    min-width: 80px;
  }
  .calendar-block {
    overflow: hidden !important;
    display: flex !important;
  }
  .media .last-news li .item .date {
    font-size: 13px;
    font-weight: 300;
    padding-top: 5px;
  }
  .media .last-news li .item .title {
    padding-top: 4px;
    height: 70px;
  }
  .media .last-news li .item .title a {
    font-size: 14px;
    line-height: 1.15;
  }
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 31%;
    margin: 0 1%;
  }
  .media #yw1 {
    width: 100%;
  }
}

@media (max-width: 500px) {
  #pos-banner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: var(--pos-banner-width);
    height: var(--pos-banner-height);
    min-height: 300px;
    background-image: url(https://pos.gosuslugi.ru/bin/banner/pos-bg-min.png);
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-left: var(--pos-banner-padding);
    padding-right: var(--pos-banner-padding);
    padding-bottom: 25px;
    box-sizing: border-box;
    background-color: #e3e8ec !important;
    background-size: none !important;
    background-position-x: var(--pos-banner-bg-pos-x);
  }
}

@media (max-width: 900px) {
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 47%;
    margin: 0 1.5%;
  }
}

@media (max-width: 660px) {
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 60%;
    margin: 0 20%;
  }
}

@media (max-width: 580px) {
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 70%;
    margin: 0 15%;
  }
}

@media (max-width: 500px) {
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 80%;
    margin: 0 10%;
  }
}

@media (max-width: 450px) {
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 92%;
    margin: 0 4%;
  }
}

@media (max-width: 400px) {
  .media #tabs-2 div.gallery-content div, .media #yw4 div.gallery-content div, .media #yw1_tab_0 div.gallery-content div {
    flex: 0 0 100%;
    margin: 0%;
  }
  .media .ui-tabs-panel {
    padding: 22px 0px 0px 0px;
  }
  div.triangle {
    width: 25px;
  }
}

@media screen and (max-width: 590px) {
  .calendar-block {
    height: auto;
    display: flex;
    flex-wrap: wrap;
  }
  .calendar {
    font: none;
    margin: 25px auto;
  }
  .calendar-table {
    margin-left: 0px;
    padding: 5px;
  }
  .calendar-block th {
    font-size: 12px;
    font-weight: 600;
  }
}

@media (max-width: 400px) {
  .media .last-news .pager ul {
    margin-left: 5px !important;
  }
}

@media (max-width: 500px) {
  .media .last-news li .item {
    min-height: 100px;
    height: auto;
    padding-bottom: 15px;
  }
  .media .last-news li .item .title {
    height: auto;
  }
}

@media (max-width: 430px) {
  .media {
    margin-top: 20px;
    width: 100%;
    margin-left: 0%;
  }
  .media .ui-tabs-panel {
    padding: 22px 0px 0px 0px;
  }
  .media .last-news.last-news-full .items li, .media .last-news .items li {
    width: 95%;
    padding-left: 2.5;
  }
}

@media (max-width: 360px) {
  .media .last-news li .item img, .media .last-news li .item .photo {
    width: 80px;
    height: 80px;
  }
}
/*# sourceMappingURL=style.css.map */