/**
 *  All necessary media requires for media view style.
 *  Do not forget to initial that in _theme-files.php (theme directory/core/components/...).
 *  Do not repeat media require !
 */

/*------------- _ Desktop media styles _ -------------*/

/*Code begins to 991px*/

@media only screen and (max-width: 1470px) {
    #banner {
        margin-top: 100px;
    }
    #banner .logo {
        max-width: 110px;
        right: 30px;
    }
    #banner .thumbnail {
        max-width: 363px;
    }
    #banner .thumbnail .description {
        scale: .8;
    }
}
@media only screen and (max-width: 1130px) {
    h1 {
        font-size: 68px;
    }
    h3 {
        font-size: 30px;
    }
    #banner .thumbnail {
        width: 50%;
    }
    #banner .title {
        width: 50%;
    }

    #table .table .row .column-item:not(.column-item-1) {
        width: calc(25% - 39px);
    }
}

@media only screen and (max-width: 1030px) {
    #table .table .row .column-item:not(.column-item-1) p {
        zoom: .8;
    }
}

@media only screen and (max-width: 991px) {
    #banner .thumbnail > img {
        margin-right: -70px;
    }
}

@media only screen and (max-width: 940px) {
    #inner {
        margin-top: 40px;
    }
    #banner {
        margin-top: 0;
    }
    #banner .container {
        flex-direction: column-reverse;
        align-items: center;
    }
    #banner .thumbnail {
        max-width: 450px;
        width: 100%;
    }
    #banner .title {
        align-items: center;
        width: 100%;
        margin-top: 60px;
    }
    #banner .logo {
        position: relative;
        right: unset;
        top: unset;
        order: 1;
        margin-top: 45px;
    }
    #banner .title h3 {
        margin-bottom: .1em;
    }
    #banner .title h3 br {
        display: none;
    }
    #banner .title h1 {
        padding-bottom: 0;
    }
    #banner .title h1 br {
        display: none;
    }
    #inner .container {
        justify-content: center;
        align-items: center;
    }

    h3 {
        font-size: 5.7vw;
    }
    h1 {
        font-size: 7.6vw;
    }
}

@media only screen and (max-width: 840px) {
    #table .table .row .column-item .title,
    #table .table .row-item .column-item .thumbnail {
        zoom: .8;
    }
    #table .table .row .column-item:not(.column-item-1) {
        width: calc(25% - 29px);
    }
}

@media only screen and (min-width: 771px) {

    #inner.second {
        display: none;
    }

    #table .table .row.row-item-1 .column-item-1 {
        width: 108px;
    }
    #table .table .row-item .column-item-1 {
        width: 108px;
    }
}

@media only screen and (max-width: 770px) {
    #table .table {
        flex-direction: row;
        column-gap: 8px;
    }
    #table .table .row {
        flex-direction: column;
        width: calc(25% - 6px);
        gap: 9px;
    }
    #table .table .row .column-item:not(.column-item-1) {
        min-height: 79px;
    }
    #table .table .row .column-item:not(.column-item-1) {
        width: 100%;
    }
    #table .table .row-item .column-item-1 {
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    #table .table .row-item .column-item-1 {
        min-height: 43px;
    }
    #table .table .row-item-1 {order: 1}
    #table .table .row-item-2 {order: 3}
    #table .table .row-item-3 {order: 2}
    #table .table .row-item-4 {order: 4}
}

@media only screen and (max-width: 690px) {
    #table .table {
        align-items: baseline;
    }
    #table .table p br {
        display: none;
    }
    #table .table .row-item .column-item .thumbnail {
        margin-bottom: 3.3vw;
    }
}

@media only screen and (max-width: 620px) {
    #banner .thumbnail {
        width: 70%;
    }
    #banner .thumbnail .description {
        scale: .65;
        left: -8vw;
    }

    #table .table .row .column-item:not(.column-item-1) {

        min-height: 110px;
    }

    #table .table .row-item-2 {
        width: calc(31% - 6px);
    }

    #table .table .row-item-4,
    #table .table .row-item-3 {
        width: calc(22% - 6px);
    }

    #inner {
        margin-top: 18px;
    }
}

@media only screen and (max-width: 540px) {
    #table {
        padding: 15px 10px 30px;
    }

    #table .table .row-item-2 {
        width: calc(37% - 6px);
    }

    #table .table .row-item-4,
    #table .table .row-item-3 {
        width: calc(22% - 6px);
    }

    #table .table .row-item-1 {
        width: calc(19% - 6px);
    }
    #table .table .row-item-1 .column-item {
        justify-content: flex-start!important;
        align-items: center!important;
        text-align: right!important;
        padding-top: 6vw;
    }
    #table .table {
        align-items: center;
    }
}
@media only screen and (max-width: 400px) {
    #table .table .row .column-item:not(.column-item-1) p,
    #table .table .row .column-item .title,
    #table .table .row-item .column-item .thumbnail {
        zoom: .7;
    }
}
@media only screen and (max-width: 360px) {
    body {
        zoom: .8;
    }
    #banner .container {
        padding: 0 10px;
    }

}



/*----------- _ End desktop media styles _ -----------*/
/*----------------------------------------------------*/
/*------------- _ Mobile media styles _ --------------*/



/*Code begins form 991px to 0px*/

/*----------- _ End mobile media styles _ ------------*/
/*----------------------------------------------------*/