
@media (min-width: 768px) {
    .col-sm-55 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-55 {
        width: 20%;
        float: left;
    }

}

@media (min-width: 1200px) {
    .col-lg-55 {
        width: 20%;
        float: left;
    }

}

@media (max-width: 1200px) {
    .header h1 {
        font-size: 48px;
        padding-top: 14px;
    }
    .assignment-form-container .form-group-sm .form-control, .input-sm {
        font-size: 24px;
        height: 42px;
    }
    .content .btn{
        font-size: 23px;
    }
    .content, .news-open__body span{
        font-size: 22px;
    }
    .media-body p {
        font-size: 16px;
    }
    .footer {
        font-size: 20px;
    }
    h1 small {
        font-size: 20px;
    }
    .form-control{
        font-size: 20px;
        height: 48px;
    }
    .history {
        font-size: 20px;
    }
    .myNav {
        min-height: 70px;
    }
    .myNav .btn {
        font-size: 16px;
    }
    .dropdown-menu.show {
        width: 300%;
    }
    .myNav a.btn {
        font-size: 20px;
    }
    .input-group-text img{
        width: 22px;
    }
    #tb-container table, .dataTables_wrapper table, table#assignments {
        display: block;
        overflow: scroll;
        max-height: 1200px;
    }
    table#bank,table#bank th, table#assignments {
        font-size: 16px !important;
    }
    .modal-dialog{
        min-width: 600px;
    }
}


@media (max-width: 992px) {
    .popular-buttons .col-xs-55 .media img {
        margin-right: 0;
    }
    .page-head h1 {
        font-size: 36px;
    }
    .myNav a.btn {
        display: flex;
        min-height: 40px;
        align-items: center;
    }
    .modal-dialog{
        min-width: 768px;
        margin: 1.75rem auto;
    }
    .fair_info, .DTTT_container {
        font-size: 18px;
    }
    .form-control{
        font-size: 24px;
        height: 48px;
    }
    .popular-buttons .col-xs-55, .popular-buttons .col-xs-55 * {
        padding: 0px;
        text-align: center;
    }

    .popular-buttons .col-xs-55 .media h3 {
        font-size: 19px;
    }

    .popular-buttons .col-xs-55 img {
        width: 48px;
        height: 48px;
    }

    .content .list-group {
        width: 100%;
    }

    .interv h1 {
        font-size: 30px;
    }

    .interv {
        padding: 15px 20px 20px 20px;
        height: 350px;
    }

    .interv .media-heading {
        font-size: 24px;
    }

    .interv p {
        padding-top: 0px;
        font-size: 18px;
    }
    .interv h4 {
        height: calc(100% - 60px);
    }
    .header h1 {
        font-size: 48px;
        padding-top: 16px;
    }



    h1 {
        font-size: 50px;
    }

    .header img {
        margin-left: 20px;
        margin-right: 20px;
        width: 40px;
        margin-top: 15px;
    }

    .myNav.show *, .content .news-open__body span, .modal h4.modal-title{
        font-size: 28px;
    }

    .text_header{
        font-size: 18px;
    }
    .web_dialog{
        font-size: 24px !important;
    }

    .myNav {
        min-height: 80px;
    }

    .dropdown-menu.show {
        max-width: 100%;
    }

    #tb-container table, .dataTables_wrapper table {
        display: block;
        overflow: scroll;
        max-height: 1000px;
    }

    .content .list-group h3 {
        font-size: 36px
    }

    .fa.fa-circle {
        top: 46px;
    }

    .news-open__body span, .news-open__body p {
        font-size: 30px !important;
    }
    .news-open__img {
        width: 100%;
        height: auto;
    }

    .news__title, .news_title {
        font-size: 30px;
    }

    .links2 #president2 {
        background-image: url('../images/links/president.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #president2:hover {
        cursor: pointer;
        background-image: url('../images/links/president_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #vru2 {
        background-image: url('../images/links/vru.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #vru2:hover {
        cursor: pointer;
        background-image: url('../images/links/vru_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #uport2 {
        background-image: url('../images/links/uport.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #uport2:hover {
        cursor: pointer;
        background-image: url('../images/links/uport_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #nais2 {
        background-image: url('../images/links/nais.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #nais2:hover {
        cursor: pointer;
        background-image: url('../images/links/nais_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #advokat2 {
        background-image: url('../images/links/advokat.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #advokat2:hover {
        cursor: pointer;
        background-image: url('../images/links/advokat_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #reyestr-court2 {
        background-image: url('../images/links/edrsr.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #reyestr-court2:hover {
        cursor: pointer;
        background-image: url('../images/links/edrsr_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #euro2 {
        background-image: url('../images/links/minust.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .links2 #euro2:hover {
        cursor: pointer;
        background-image: url('../images/links/minust_hover.svg');
        background-repeat: no-repeat;
        background-size: 100%;
    }
    .links2 img {
        opacity: 0 !important;
    }
    .links2 h4 {
        font-size: 24px;
        position: absolute;
        width: 100%;
        padding:15px;
        font-family: "HelveticaNeueCyr-Roman";
    }
    .links2 a {
        position: relative;
    }
    .links2 .col-sm-6, .links2 .col-md-4 {
        margin-bottom: 15px;
    }
    .content, .news-open__body span{
        font-size: 26px;
    }
    .interv_img {
        max-height: 245px;
    }
}

@media (max-width: 850px) {

    .links2 h4 {
        font-size: 23px;
    }
    .modal-backdrop {
        width: 100%;
        height: 100%;
    }
}
