@media screen and (min-width: 1025px) and (max-width: 1400px) {
    .portal-description-text {
        width: auto !important;
        height: auto !important;
        margin-top: 10px;
    }

    .imgMask {
        width: auto !important;
        height: auto !important;
    }

    #ability > div > div.ability-body.col-xl-12.d-flex.justify-content-center > div {
        display: flex;
        flex-direction: column !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .portal-title {
        margin-top: 200px;
        font-size: 24px !important;
        font-family: Gravity-Bold;
        line-height: 2.28;
        color: #071050;
    }

    .portal-subtitle {
        font-family: Nunito-SemiBold !important;
        font-size: 18px !important;
        font-weight: 600;
        color: #4f5051;
        margin-bottom: 20px;
    }

    .portal-items {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .portal-item {
        align-items: center;
        padding: 15px 5px 15px !important;
        margin-bottom: 10px;
        object-fit: contain;
        height: 100px !important;
        border-radius: 12px;
        box-shadow: 0 -4px 48px -2px rgba(14, 31, 53, 0.2);
        background-color: #fff;
    }

    .portal-item-text {
        word-break: break-all;
        font-family: Gravity;
        font-size: 10px !important;
        text-align: center;
        text-decoration: none !important;
        color: #1a4369;
    }

    .portal-item-picture {
        width: 40px !important;
    }

    .imgMask {
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    .portal-description-text {
        width: auto !important;
        height: auto !important;
        text-align: left;
        padding: 30px 25px 30px 25px;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.11);
        background-color: #fff;
    }

    .portal-description-title {
        margin-left: 10px;
        font-family: Gravity-Bold;
        font-size: 12px !important;
        text-align: center;
        color: #1a4369;
    }

    .portal-button {
        font-family: Nunito-SemiBold !important;
        width: 80px !important;
        height: 22px !important;
        margin: 20px auto !important;
        border-radius: 4px;
        text-align: center;
        border: solid 0.5px #110830;
    }
}

@media (min-width: 320px) and (max-width: 768px) {
    .portal-title {
        margin-top: 200px;
        font-size: 24px !important;
        font-family: Gravity-Bold;
        line-height: 2.28;
        color: #071050;
    }

    .portal-subtitle {
        font-family: Nunito-SemiBold !important;
        font-size: 18px !important;
        font-weight: 600;
        color: #4f5051;
        margin-bottom: 20px;
    }

    .portal-items {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }

    .portal-item {
        align-items: center;
        padding: 15px 5px 15px !important;
        margin-bottom: 10px;
        object-fit: contain;
        height: 100px !important;
        border-radius: 12px;
        box-shadow: 0 -4px 20px -2px rgba(14, 31, 53, 0.2) !important;
        background-color: #fff;
    }

    .portal-item-text {
        word-break: break-all;
        font-family: Gravity;
        font-size: 10px !important;
        text-align: center;
        text-decoration: none !important;
        color: #1a4369;
    }

    .portal-item-picture {
        width: 30px !important;
    }

    .imgMask {
        /*height: 150px!important;*/
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    .portal-description-text {
        width: auto !important;
        height: auto !important;
        text-align: left;
        padding: 30px 25px 30px 25px;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.11);
        background-color: #fff;
    }

    .portal-description-title {
        margin-left: 10px;
        font-family: Gravity-Bold;
        font-size: 12px !important;
        text-align: center;
        color: #1a4369;
        margin-bottom: 0px !important;
    }

    .portal-button {
        font-family: Nunito-SemiBold !important;
        width: 80px !important;
        height: 22px !important;
        margin: 20px auto !important;
        border-radius: 4px;
        text-align: center;
        border: solid 0.5px #110830;
    }

    .portal-subtitle img {
        width: 30px !important;
    }
}


#portal-detail {
    align-items: center;
    padding-bottom: 250px;
}

.portal-title {
    margin-top: 200px;
    font-size: 32px;
    font-family: Gravity-Bold;
    line-height: 2.28;
    color: #071050;
}

.portal-items {
    margin-left: 150px;
    margin-right: 150px;
}

.portal-item {
    align-items: center;
    padding: 22px 0px 18px;
    margin-bottom: 10px;
    object-fit: contain;
    height: 152px;
    border-radius: 12px;
    box-shadow: 0 -4px 48px -2px rgba(14, 31, 53, 0.2);
    background-color: #fff;
}

.portal-item-text {
    word-break: break-all;
    font-family: Gravity;
    font-size: 15px;
    text-align: center;
    text-decoration: none !important;
    color: #1a4369;
}

.portal-description-div {
    margin: 50px 0 0;
    padding: 35px 50px 50px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 32px 48px -2px rgba(11, 11, 11, 0.1);
    border: solid 2px #ffd200;
    background-color: #fff;
}

.y3-portal-description-div {
    margin: 50px 0 0;
    padding: 35px 50px 50px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 32px 48px -2px rgba(11, 11, 11, 0.1);
    border: solid 2px #e31837;
    background-color: #fff;
}

.verikovani-portal-description-div {
    margin: 50px 0 0;
    padding: 35px 50px 50px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 32px 48px -2px rgba(11, 11, 11, 0.1);
    border: solid 2px #ffd200;
    background-color: #fff;
}

.modelegitim-portal-description-div {
    margin: 50px 0 0;
    padding: 35px 50px 50px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 32px 48px -2px rgba(11, 11, 11, 0.1);
    border: solid 2px #5ddc13;
    background-color: #fff;
}

.degirmen-portal-description-div {
    margin: 50px 0 0;
    padding: 35px 50px 50px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 32px 48px -2px rgba(11, 11, 11, 0.1);
    border: solid 2px #042aa6;
    background-color: #fff;
}


.portal-description-text {
    width: 620px;
    height: 255px;
    text-align: justify;
    padding: 15px 25px 30px 25px;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.11);
    background-color: #fff;
}

.portal-button {
    font-family: Nunito-SemiBold !important;
    width: 121px;
    height: 28px;
    border-radius: 4px;
    text-align: center;
    border: solid 0.5px #110830;
}

.portal-logo {
    width: 50px
}

.portal-description-title {
    margin-left: 10px;
    font-family: Gravity-Bold;
    font-size: 20px;
    text-align: center;
    color: #1a4369;
}

.portal-subtitle {
    font-family: Nunito-SemiBold !important;
    font-size: 24px;
    font-weight: 600;
    color: #4f5051;
    margin-bottom: 20px;
}

.imgMask {
    width: 424px;
    /*height: 232px;*/
}

#portal-detail > div > nav > a {
    display: flex;
    justify-content: center;
}

#portal-detail > div > ul > li.active {
    text-decoration: none;

}

#portal-detail > div > ul > li:nth-child(1).active > a > div {
    border: solid 2px #e31837;

}

#portal-detail > div > ul > li:nth-child(2).active > a > div {
    border: solid 2px #ffd200;

}

#portal-detail > div > ul > li:nth-child(3).active > a > div {
    border: solid 2px #5ddc13;

}

#portal-detail > div > ul > li:nth-child(4).active > a > div {
    border: solid 2px #042aa6;

}
