/*Large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {
    .colored-box p.title {
        padding: 15px 0 10px 0;
    }
    .pk-change-filter-item {
        height: auto;
    }
    .pk-change-filter-item.mobile input {
        width: 90%;
        margin-left: 20px;
    }
    .pk-change-filter-item.mobile p.label {
        left: 0;
    }
    header.header-index .header-bg {
        width: 85%;
    }
    header.header-index .img svg {
        left: auto;
        right: 15px
    }
    header.simple-page2 .header-bg-1 {
        width: 100%;
    }
    .def-template .right-block {
        padding-top: 150px;
    }
    .about-service-bg {
        width: 55%;
    }
    .about-service .img svg {
        height: 75%;
    }
    .info-about-entrant {
        padding: 30px 15px;
    }
    .registration-organization {
        padding-left: 20px;
    }
    .registred-organization-white .icon {
        width: 60px;
        min-width: 60px;
        height: 60px;
        padding: 15px 10px;
    }
    .registred-organization-white {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    }
    .registred-organization-white .text p {
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
/*Medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px)  {
    .flash-block {
        margin-top: 30px;
    }
    .colored-box p.title {
        padding-top: 45px;
    }
    .pk-change-filter-item {
        height: auto;
    }
    .pk-change-filter-item.mobile input {
        width: 90%;
        margin-left: 20px;
    }
    .pk-change-filter-item.mobile p.label {
        left: 0;
    }
    .pk-filter p.pk-filter-title, .page-simple-content .content-here p.pk-filter-title {
        padding: 15px 0 10px;
    }
    .pk-filter .rs-custom-select .dropdown.more-width {
        width: 100%;
        left: auto;
        right: 0;
        z-index: 16;
    }
    .pk-custom-select .dropdown {
        top: 45px;
    }
    #regModal form {
        padding-right: 0;
    }
    header.header-index .logo {
        margin: 10px 0 0 10px;
    }
    header.header-index .img svg {
        max-width: 270px;
        top: 150px;
    }
    .header-adr {
        max-width: 260px;
    }
    .header-adr .adr-item {
        padding-right: 0;
        margin-bottom: 15px;
        width: 100%;
        min-height: auto;
    }
    .header-adr .adr-item:nth-child(2n+1):before {
        display: none;
    }
    footer .soc {
        margin: 15px 0;
    }
    .def-template .container .section-block {
        display: block;
    }
    .def-template .left-block {
        border-radius: 20px 20px 0 0;
        padding: 15px 0 0;
        min-height: auto;
    }
    .def-template .left-block .left-menu {
        padding: 0;
    }
    .def-template .left-block .left-menu ul {
        padding: 0;
        text-align: center;
        margin-bottom: -1px;
    }
    .def-template .left-block .left-menu ul li {
        margin: 0;
        display: inline-block;
    }
    .def-template .left-block .left-menu ul li a {
        padding: 15px 20px 12px;
        margin: 0;
        border-radius: 5px 5px 0 0;
    }
    .def-template .left-block .left-menu ul li.active a {
        color: #EF7F1A !important;
    }
    .def-template .left-block .left-menu ul li.active a, .def-template .left-block .left-menu ul li a:hover {
        background: #f5f7fc;
    }
    .left-block .left-menu ul.floating .beauty {
        display: none;
    }
    .box-content-white .row {
        margin-bottom: 0;
    }
    .box-content-white input, .box-content-white textarea, .custom-radio {
        margin-bottom: 15px;
    }
    .custom-checkbox label {
        padding-top: 20px;
    }
    .def-template .right-block {
        padding: 30px;
        min-height: auto;
        border-radius: 0 0 20px 20px;
    }
    .organizations-list {
        padding-top: 30px;
    }
    .registred-organization-white, .application-plane-simple {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    .about-service .img {
        display: none;
    }
    .no-applications {
        margin: 60px auto 0;
    }
    .def-template .container > .row {
        display: block;
    }
    .info-about-entrant {
        padding: 15px 0;
        text-align: center;
    }
    .info-about-entrant svg {
        margin: 0 auto;
    }
    .def-template .main-content-block {
        padding-bottom: 40px;
    }
    .pk-file-item {
        margin-top: 20px;
    }
    .md-modal .modal-body .modal-content {
        border-radius: 10px;
    }
    .modal-dialog, #regModal .modal-dialog, #choosingStudyProgram .modal-dialog {
        transform: none;
        left: 0;
        right: 0;
        top: unset;
        margin: 30px auto;
        padding: 15px;
        max-width: 680px;
    }
    .right-block .avatar svg {
        max-width: 100px;
    }
    .def-template {
        margin: 0 auto 75px auto;
    }
}
/*Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px)  {
    .header-index .logo svg path {
        fill: #fff;
    }
    .correct-block {
        padding: 30px;
    }
    .correct-block .buttons {
        text-align: center;
    }
    .correct-block .buttons a.back {
        justify-content: center;
        margin-left: -35px;
    }
    .box-content-white h2 {
        padding-bottom: 15px;
        line-height: 24px;
    }
    .colored-box svg, .colored-box svg.svg5 {
        max-width: 100px;
        position: absolute;
        right: 0;
        margin-top: 0;
        top: -50px;
        left: auto;
        height: auto;
    }
    .colored-box p.title {
        padding-top: 20px;
    }
    .pk-change-filter-item {
        height: auto;
    }
    .pk-change-filter-item.mobile {
        position: relative;
        margin: 0 0 0 20px;
    }
    .pk-filter {
        grid-template-columns: 2fr 1fr;
    }
    .pk-filter .inner, .page-simple-content .pk-filter .inner {
        grid-template-columns: 1fr;
    }
    .pk-filter .rs-custom-select .dropdown.more-width {
        width: 100%;
        left: auto;
        right: 0;
        z-index: 16;
    }
    .pk-filter .rs-custom-select .dropdown.more-width {
        width: 100%;
        left: auto;
        right: 0;
        z-index: 16;
    }
    .pk-custom-select, input, .pk-filter .pk-search input {
        border-radius: 5px;
    }
    .plane-simple-page .plane .col-item p {
        font-size: 10px;
    }
    .pk-custom-select .dropdown.more-width {
        left: 0;
    }
    .md-modal .modal-dialog .modal-content .modal-header a.close {
        top: 15px;
        right: 15px;
    }
    .md-modal .modal-dialog .modal-content .modal-header a.close svg path {
        fill: #666;
    }
    #regModal p.big {
        padding: 30px 0 5px;
    }
    header.header-index .header-bg {
        width: 100%;
        right: 0;
        border-radius: 0 0 0 200px;
    }
    header.header-index .img svg {
        top: -30px;
    }
    header.simple-page .logo p.pc, header.simple-page2 .logo p.pc {
        display: none;
    }
    .header-adr {
        max-width: 50%;
    }
    header.simple-page2 .organization-logo {
        left: 0;
    }
    .footer-nav {
        justify-content: flex-start;
    }
    .footer-nav ul {
        flex: 0 0 50%;
    }
    footer .text-right {
        text-align: left;
    }
    .def-template .left-block .left-menu ul li a {
        padding: 12px 10px 12px;
    }
    .about-service .row {
        display: block;
    }
    .about-service .video-container {
        margin: 0 auto 60px;
    }
    .about-service-bg {
        height: 65%;
    }
    .mobile-stub {
        display: none;
        position: fixed;
        z-index: 100;
        background: #F5F7FC;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }
    .page-simple-content h1 {
        text-align: left;
        max-width: 100%;
    }
    .page-buttons .alignment-right {
        text-align: center;
    }
    .page-buttons {
        margin-top: 30px;
    }
    .page-buttons .btn:first-child {
        margin-right: 0;
    }
    .page-buttons a.back-link {
        margin-bottom: 30px;
    }
    .page-buttons .btn {
        margin-bottom: 10px;
    }
    .pk-filter .col-item {
        padding-right: 0;
    }
    .registration-organization {
        min-height: auto;
    }
    .page-buttons a.btn {
        min-width: auto;
    }
    footer [class^="col-"].text-right {
        display: flex;
        align-items: center;
    }
    footer .rating-site {
        margin-left: 15px;
    }
    header.registration-page .left-col {
        max-width: 50%;
    }
    header.registration-page .right-col {
        position: absolute;
        top: 0;
        right: 0;
        width: 45%;
        height: 100%;
    }
    header.registration-page .header-block {
        height: 80%;
    }
    header.registration-page .header-block .for-icon {
        max-width: 85%;
    }
}
/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px)  {
    .pk-search svg.svg-search {
        left: 5px;
        top: 11px;
    }
    .pk-filter a.rs-filter-clear {
        top: 0;
        position: relative;
        margin: 0 0 0 auto;
    }
    .pk-search input {
        padding: 0 0 0 25px;
    }
    .flash-block {
        margin: 15px 0;
    }
    .flash-block svg {
        display: none;
    }
    .colored-box {
        margin: 15px 0;
    }
    .colored-box p.title {
        padding-top: 30px;
    }
    header.header-index .inner {
        padding: 15px 0;
    }
    .header-index .logo {
        margin-top: 10px;
    }
    header .login .logout-icon {
        margin-left: 5px;
    }
    header.header-index .header-top {
        padding: 0;
    }
    header .login .avatar {
        max-height: 45px;
    }
    header .login .user-name {
        display: none;
    }
    header.header-index .organization {
        padding: 20px 30px;
        margin: 15px 0;
        border-radius: 10px;
    }
    header.header-index .organization .title {
        margin-right: 10px;
    }
    header .header-index-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    header.header-index .img svg {
        position: relative;
        top: 15px;
    }
    header.registration-page {
        margin-bottom: 45px;
    }
    header.registration-page h1 {
        margin: 40px 0 30px;
    }
    header.registration-page .logo p.pc {
        display: none;
    }
    header.registration-page .header-block {
        position: absolute;
        top: 0;
        right: 15px;
        max-width: 100%;
        background: none;
        padding: 20px 0;
    }
    header.registration-page .header-block:after {
        display: none;
    }
    header.registration-page .right-col {
        position: inherit;
    }
    header.registration-page .for-icon {
        display: none;
    }
    header.simple-page {
        padding: 15px 0;
    }
    header.simple-page2 .inner {
        display: block;
        padding-bottom: 90px;
        min-height: auto;
    }
    header.simple-page2 .inner .row {
        width: auto;
    }
    .header-adr {
        max-width: 100%;
        padding: 30px 15px 0 15px;
    }
    header.simple-page2 .organization-logo {
        width: 120px;
        height: 120px;
        bottom: -60px;
    }
    header.simple-page2 .header-bg-1 {
        overflow: hidden;
        height: 100%;
    }
    header.simple-page2 .header-bg-1 svg {
        position: absolute;
        bottom: 5%;
        left: 40%;
        width: 160%;
    }
    header.registration-page .left-col {
        max-width: 100%;
    }
    .pk-reg-form .pk-reg-buttons {
        margin-top: 15px;
    }
    footer {
        padding: 30px 0 15px;
    }
    .def-template .main-content-block.orange, .def-template .main-content-block {
        background: #fff;
        padding: 30px 0;
    }
    .def-template .main-content-block.orange, .def-template .main-content-block h1 {
        margin-bottom: 30px;
    }
    .box-content-white {
        padding: 0;
        box-shadow: none;
    }
    .def-template {
        margin-bottom: 30px;
    }
    .def-template .right-block {
        border-radius: 0 0 10px 10px;
    }
    .def-template .left-block {
        border-radius: 10px 10px 0 0;
        padding: 8px 0 0;
    }
    .registration-organization {
        padding: 0 0 0 20px;
    }
    .registred-organization-white .icon {
        width: 60px;
        min-width: 60px;
        height: 60px;
    }
    .registred-organization-white > a {
        height: auto;
    }
    .about-service {
        margin-bottom: 0;
    }
    .about-service .video-container {
        border-radius: 5px;
        margin-bottom: 90px;
    }
    .about-service .inner {
        padding: 60px 0;
    }
    .about-service .text-inner {
        max-width: 335px;
    }
    .about-service-bg {
        height: 55%;
    }
    .about-service .video-container iframe {
        height: 210px;
        max-width: 500px;
    }
    .page-simple-content {
        padding: 70px 0 45px 0;
    }
    .page-simple-content h1 {
        font-size: 16px;
        line-height: 28px;
    }
    .page-simple-content .content-here p.pk-filter-title {
        padding: 0 0 10px;
    }
    .page-simple-content .content-here .pk-filter .inner .col-item:first-child p.pk-filter-title {
        padding-top: 0;
    }
    .page-simple-content .content-here a.regulations svg.ico {
        margin: 0 10px 0 0;
        min-width: 15px;
    }
    .page-simple-content .content-here h2 {
        padding: 30px 0 15px 0;
        font-size: 18px;
    }
    .documents-list ul li {
        padding: 0 0 0 5px;
        margin: 0 0 15px 0;
    }
    .documents-list ul li:before {
        width: 6px;
        height: 6px;
        top: 6px;
    }
    .page-buttons a.btn, .page-buttons a.btn:first-child {
        padding: 0 10px;
        width: 45%;
        margin: 0 2px 5px;
    }
    .moderator-filter-application .inner {
        grid-template-columns: 1fr;
    }
    .pk-filter {
        margin-top: 0;
    }
    .pk-filter .col-item {
        padding-right: 0;
        padding-bottom: 10px;
    }
    .responsive-grid {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0;
    }
    .pk-filter.responsive-grid {
        overflow-x: visible;
    }
    .pk-filter .inner {
        margin: 15px 0;
    }
    .plane .col-item {
        padding: 10px 5px;
        min-height: 80px;
    }
    .plane {
        box-shadow: none;
        border: 1px solid #DCE2F2;
        min-height: 80px;
    }
    .plane.grid-6 {
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: 1fr auto;
    }
    .plane.grid-6 .col-item {
        min-height: 40px;
    }
    .plane.grid-6 .col-item:nth-child(1), .plane.grid-6 .col-item:nth-child(2), .plane.grid-6 .col-item:nth-child(3) {
        border-bottom: 1px solid #DCE2F2;
    }
    .plane.grid-6 .col-item:nth-child(4) {
        border-left: 0;
    }
    .plane-simple-page svg.plane {
        border: 0;
        max-width: 20px;
        min-height: 30px;
    }
    .plane-simple-page .well p.big {
        padding: 0 0 5px 0;
    }
    .plane-simple-page .collapse {
        box-shadow: none;
    }
    .plane-simple-page .well a.well-more-link {
        margin: 0;
    }
    .moderator-filter-application p.title {
        padding: 0;
    }
    .main-content {
        padding: 70px 0 45px;
    }
    .md-modal .modal-body {
        padding: 15px 15px;
    }
    #regModal p.text {
        padding: 0 0 20px 0;
    }
    textarea.h220 {
        min-height: 110px;
    }
    .plane .col-item p, .plane .col-item p.specialty, .plane .col-item p.form-payment, .plane .col-item p.form-training, .plane .col-item p.on-base, .plane .col-item .a-del, .plane .col-item p, .page-simple-content .content-here .plane .col-item p {
        font-size: 10px;
    }
    .pk-filter p.pk-filter-title {
        font-size: 11px;
    }
    .enrolle-statement-list .plane .col-item {
        padding: 10px 10px;
    }
    .enrolle-statement-list .plane .col-item:first-child {
        grid-column: 1/5;
        border-bottom: 1px solid #DCE2F2;
    }
    .enrolle-statement-list .grid-4 {
        grid-template-columns: 2fr 1fr 60px;
    }
    .enrolle-statement-list .plane.alarm:before {
        left: -3px;
    }
    header.simple-page .logo, header.simple-page2 .logo {
        padding-top: 0;
    }
    .def-template .left-block .left-menu ul li.active a, .def-template .left-block .left-menu ul li a:hover {
        background: #fff;
    }
    .footer-nav {
        flex-direction: column;
        justify-content: flex-start;
    }
    .footer-nav ul {
        flex: 0 0 100%;
    }
    .footer-nav ul.text-right {
        order: 1;
        margin-top: 15px;
    }
    .footer-nav ul li {
        padding: 0 0 15px 0;
    }
    .info-about-entrant p.role {
        padding: 5px 0 15px;
    }
    .def-template .right-block.orange .avatar {
        margin-bottom: 30px;
    }
    .info-about-entrant {
        padding: 0;
    }
    #regModal {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}
/* iPhone 5s*/
@media (max-width: 374.98px) {
    .pk-reg-form .pk-reg-buttons a.blue {
        padding: 10px;
    }
    .def-template .left-block .left-menu ul li a {
        padding: 10px 5px 10px;
        font-size: 10px;
    }
    .statement-inner, .statement-head, .plane-simple-page .plane, .application-plane-simple {
        width: 140%;
    }
    .plane-simple-page .plane.grid-6 {
        grid-template-columns: 1fr 3fr 1fr 1fr 1fr 1fr;
    }
    .page-buttons a.btn, .page-buttons a.btn:first-child {
        min-width: auto;
    }
}