/* Large Devices, Wide Screens */

@media only screen and (max-width: 1200px) {
    .main_slider h2 {
        font-size: 3rem;
    }
    .main_slider p {
        font-size: 1.4rem;
        line-height: 2rem;
    }
    .navbar-brand img {
        max-height: 40px;
    }
    header .nav>li {
        line-height: 70px;
        height: auto;
    }
    #main {
        padding-top: 114px;
    }
    .navigator h2 {
        font-size: 28px;
    }
}

@media only screen and (max-width: 1200px) and (min-width: 1025px) {
    header .nav>li>a::after {
        left: -10px;
    }
    header .nav>li {
        padding: 0 10px;
    }
    header .nav>li>a {
        font-size: 0.7rem;
    }
    header .nav.hy>li>a {
        font-size: 0.67rem;
    }
    header .nav.en>li>a {
        font-size: 0.8rem;
    }
    /*Content Page*/
    .doc-block-left {
        margin-top: 3.5%;
    }
}

@media only screen and (min-width: 1025px) {
    header .navbar-nav>li:last-child {
        padding-right: 0;
    }
}

@media only screen and (max-width: 1025px) {
    /*header.fixed {
        transform: translate3d(0px, 0px, 0px);
    }*/
    .navigator span {
        display: none;
    }
    #top-header .top-header-left {
        display: none;
    }
    header .navbar-header {
        float: none;
    }
    header .nav>li>a {
        font-size: 1rem;
    }
    header .navbar-toggle {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    header {
        line-height: 40px;
    }
    .navbar-nav {
        height: calc(100vh - 87px);
        overflow-y: auto;
    }
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-text {
        float: none;
        margin: 15px 0;
    }
    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block!important;
    }
    .collapsing {
        overflow: hidden!important;
    }
    /*#main {
        padding-top: 71px;
    }*/
    header .nav>li>a::after {
        content: "•";
        position: absolute;
        top: 1px;
        left: -10px;
        border: none;
        height: 0px;
        color: rgb(239, 172, 52);
    }
    header .nav>li {
        line-height: 40px;
        height: auto;
        border-bottom: 1px solid #DDDDDD;
    }
    header .nav>li:last-child {
        border: none;
    }
    header .nav>li:first-child a::after {
        display: inline;
    }
    header .nav>li:last-child>a::after {
        content: '';
    }
}


/* Medium Devices, Desktops */

@media only screen and (max-width: 991px) {
    .contact-form-block{
        margin-left: 0;
    }
    #content {
        padding-top: 30px;
    }
    .main_slider h2 {
        width: 80%;
    }
    #about {
        margin: 60px 0;
    }
    .legislation {
        padding: 60px 0;
    }
    .forengers {
        padding-top: 30px;
        padding-bottom: 60px;
    }
    .vcenter {
        display: block;
        vertical-align: middle;
        float: inherit;
    }
    .about h2 {
        margin-top: 40px;
        font-size: 2rem;
    }
    .col_sep30 {
        margin-bottom: 30px;
    }
    .addition h3 {
        display: block;
        padding-top: 10px;
        font-size: 1.4rem;
    }
    .addition .more_btn_2 {
        float: none;
    }
    .addition {
        text-align: center;
    }
    .news_list {
        margin: 60px 0;
    }
    .news_list .row:last-child {
        margin-top: 0;
    }
    .custom_grid>div {
        margin: 0 !important;
    }
    .statistics {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .forengers h4 {
        margin-top: 50px;
    }
    .publications {
        padding: 60px 0;
    }
    .scale_wrap {
        height: 300px;
    }
    .statistics h4 {
        margin-top: 50px;
    }
    ._table {
        display: block;
        width: auto;
    }
    .doc-date-start,
    .doc-date-end,
    .doc-search-bar {
        margin-top: 20px;
    }
    .footer-main-menu,
    .footer-recent-news {
        display: none;
    }
    .footer-logo {
        margin: 0 17%;
    }
    .tiny-footer-menu ul {
        justify-content: normal;
        align-items: center;
        justify-content: center;
    }
    .tiny-footer-menu ul>li {
        margin-right: 20px;
    }
    .tiny-footer-menu ul li:last-child {
        margin-right: 0;
    }
    /*Contact US Page*/
    .contact-us-form-block {
        margin-bottom: 20%;
    }
    /*Elements page*/
    .elem-doc-text {
        padding-left: 2%;
        padding-top: 1%;
    }
    .elem-pdf-icon i {
        font-size: 3em;
        padding-top: 0;
    }
    .double-pics-block img {
        width: 100%;
    }
    .double-pics-text-rus p {
        font-size: 0.8rem;
    }
    .tiny-footer {
        text-align: center;
    }
}


/* Small Devices, Tablets */

@media only screen and (max-width: 767px) {
    .legislation_list h4 {
        margin-left: 15px;
        font-size: 1rem;
        line-height: 1.5;
    }
    .pagination-r button i:first-child {
        margin-right: 5px;
    }
    .pagination-r button i:last-child {
        margin-left: 5px;
    }
    .main_slider h2 {
        font-size: 2rem;
    }
    .main_slider p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .more_btn_1, .more_btn_2 {
        font-size: 0.8rem;
        padding: 0.65em 1.1em;
    }
    .buttons .more_btn_2 {
        margin-left: 15px;
    }

    .elem-accordion .legislation_list h4 {
        padding: 2px 30px;
        margin-left: 5px;
        line-height: 1.5;
        font-size: 1rem;
        min-height: 25px;
    }
    .legislation_list .num {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
    .legislation_list_content {
        padding: 0;
    }

    .tabs-ul-2 li {
        border-radius: 0;
    }
    .news_text_image img, .image_text_cont img{
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 3%;
    }
    .navigator span,
    .footer-social {
        display: none;
    }
    .post-types ul li {
        margin-right: 10px;
        font-size: 12px;
    }
    .navbar-brand img {
        max-height: 30px;
    }
    .statistics {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .navigator .header_cont {
        text-align: center;
    }
    .posts-item .content {
        margin-top: 30px;
    }
    .navigator {
        margin-bottom: 10px;
    }
    .search-date input {
        width: 100%;
    }
    .posts {
        margin-bottom: 50px;
    }
    .sidebar {
        position: fixed;
        top: 114px;
        left: 100%;
        width: 100%;
        background: #ffffff;
        z-index: 2;
        bottom: 0;
        padding-top: 15px;
        padding-left: 0;
        padding-right: 0;
        -webkit-transition: all 1000ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
        -o-transition: all 1000ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition: all 1000ms cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    .sidebar>div {
        overflow-y: scroll;
        position: absolute;
        height: 100%;
        width: 100%;
        padding: 0 15px 0 15px;
    }
    .toggle-filter {
        display: block;
    }
    .news_cont_wrapper {
        min-height: inherit;
    }
    .footer-social-items {
        padding: 20px 10px 20px 10px;
        font-size: 0.6rem;
    }
    .doc-block-row {
        padding-bottom: 70px;
    }
    .footer-logo {
        margin: 0 20%;
    }
    .footer-main-menu,
    .footer-recent-news {
        display: none;
    }
    .tiny-footer-copyright small {
        padding-left: 0;
    }
    /*Elements page*/
    .elem-pdf-icon i {
        font-size: 3em;
    }
    .pics-text-block img {
        width: 100%
    }
    .double-pics-block img {
        width: 100%;
    }
    .doc-block-text p {
        display: none;
    }
    .right-side-text h4 {
        margin-bottom: 0;
    }
    .double-pics-text-rus p {
        font-size: 0.8rem;
    }
    .elem-calendar-text {
        margin-left: 2%;
    }
    /*Navigator*/
    .navigator h2 {
        font-size: 1.5rem;
    }
    .navigator .header_cont {
        margin: 11% 0;
    }
    /*Content Page*/
    .doc-block-left {
        margin-top: 5%;
    }
    .content-block-title h3 {
        font-size: 1.8rem;
    }
    .image-block {
        width: 100%;
    }
    .image-block img {
        width: 100%
    }
    .cont-dep {
        width: 100%;
    }
    .dep-title {
        width: 100%;
    }
}


/* Extra Small Devices, Phones */

@media only screen and (max-width: 480px) {
    .footer-social-items {
        padding: 20px 10px 20px 10px;
        font-size: 0.6rem;
    }
    .doc-block-row {
        padding-bottom: 70px;
    }
    .footer-social {
        margin-bottom: 40px;
    }
    .footer-main-menu,
    .footer-recent-news {
        display: none;
    }
    /*Navigator*/
    .navigator .header_cont {
        margin: 25% 0;
    }
    /*Migration page*/
    .timeline-list {
        overflow: auto;
        white-space: nowrap;
    }
    .timeline-list a {
        display: inline-block;
        color: #333333;
        text-align: center;
        padding: 14px;
        text-decoration: none;
    }
    .migration-right-block {
        margin-top: 30px;
    }
    .pics-text-block img {
        width: 100%
    }
    .elem-styled-list-arrow ul li>a {
        font-size: 0.9rem;
    }
    .elem-title-text a {
        font-size: 0.9rem;
    }
    .elem-title-text h2 {
        margin-bottom: 3%;
    }
    .migration-content-list {
        margin-left: 4%;
    }
    /*End of migration page*/
    /*Elements page*/
    .elem-title-text h1 {
        font-size: 1.3rem;
    }
    .elem-title-text h2 {
        font-size: 1.2rem;
    }
    .elem-title-text h3 {
        font-size: 1.1rem;
    }
    .elem-title-text h4 {
        font-size: 4vw;
    }
    .elem-title-text p {
        font-size: 0.9rem;
        margin-bottom: 5%;
    }
    .elem-ol-list ol li {
        font-size: 3vw;
    }
    .elem-ol-list ol li::before {
        font-size: 3vw;
    }
    .elem-ol-list li>a {
        font-size: 0.9rem;
    }
    .elem-pdf-icon i {
        font-size: 5vw;
    }
    .elem-ul-list li>a {
        font-size: 3vw;
    }
    .elem-arrow-list li>a {
        font-size: 2.1vw;
    }
    .double-pics-block img {
        width: 100%;
    }
    .doc-block-content {
        display: none;
    }
    .doc-files-title {
        font-size: 1.2rem;
    }
    .content-text p {
        font-size: 0.9rem;
    }
    .styled-list a {
        font-size: 0.9rem;
    }
    .content-list ol li::before {
        font-size: 0.8rem;
        margin-right: 0.9em;
    }
    .doc-left-side-list {
        font-size: 0.8rem;
    }
    .content-block-title h3 {
        font-size: 1.4rem;
    }
    .text-with-underline {
        margin-bottom: 13%;
    }
    .left-side-text {
        margin-bottom: 9%;
    }
    .pics-text-block p {
        font-size: 0.6rem;
    }
    .doc-search-bar input {
        font-size: 0.7rem;
    }
    .doc-date-start input {
        font-size: 0.7rem;
    }
    .doc-date-end input {
        font-size: 0.7rem;
    }
    .image-block img {
        width: 100%;
    }
    .cont-dep {
        width: 100%;
    }
}


/* Custom, iPhone Retina */

@media only screen and (max-width: 340px) {
    .footer-social-items {
        padding: 20px 15px 20px 15px;
        font-size: 0.4rem;
    }
    .footer-social {
        margin-bottom: 40px;
    }
    .doc-block-row {
        padding-bottom: 70px;
    }
    .footer-logo p {
        text-align: center;
    }
    .footer-main-menu,
    .footer-recent-news {
        display: none;
    }
    .tiny-footer-copyright small {
        font-size: 0.8em;
    }
    .tiny-footer-menu {
        font-size: 0.8em;
    }
    .pics-text-block img {
        width: 100%
    }
    .double-pics-block img {
        width: 100%;
    }
    .doc-date-start input {
        font-size: 0.5rem;
    }
    .doc-date-end input {
        font-size: 0.5rem;
    }
    /*Migration page*/
    .timeline-list {
        overflow: auto;
        white-space: nowrap;
    }
    .timeline-list a {
        display: inline-block;
        color: #333333;
        text-align: center;
        padding: 14px;
        text-decoration: none;
    }
    .migration-right-block {
        margin-top: 30px;
    }
    .left-side-text {
        margin-bottom: 7%;
    }
    .migration-content-list {
        margin-left: 6%;
    }
    /*Elements-Page*/
    .two-columns-text-first .right-side-text h4 {
        margin-bottom: 2%;
    }
    .two-columns-text-first .left-side-text h4 {
        margin-bottom: 2%;
    }
    .two-columns-text-second .left-side-text h4 {
        margin-bottom: 2%;
    }
    .pics-text-block p {
        font-size: 0.6rem;
    }
    /*Header navigator*/
    .navigator .header_cont {
        margin: 27% 0;
    }
    .navigator h2 {
        font-size: 2.4rem;
    }
    /*Footer*/
    .footer-logo p {
        font-size: 0.8rem;
    }
}

@media only screen and (min-width: 767px) {
    .desktop-hidden {
        display: none;
    }
    .footer-social-items {
        padding: 20px 10px 20px 10px;
    }
    .content_cont {
        padding-top: 5%;
    }
    .doc-block-row {
        padding-top: 5%;
    }
    .pics-text-block img {
        width: 100%;
    }
    .left-side-text {
        margin-bottom: 7%;
    }
    .two-columns-text-first .right-side-text h4 {
        margin-bottom: 2%;
    }
    .two-columns-text-first .left-side-text h4 {
        margin-bottom: 2%;
    }
    .two-columns-text-second .left-side-text h4 {
        margin-bottom: 2%;
    }
}