﻿.action-box div {
    width: 32px;
    height: 32px;
}

.action-inner-div .sec:after {
    border-bottom: unset !important;
}

.action-inner-div {
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    position: relative;
}

    .action-inner-div .sec {
        background-color: #c8c8ff;
        min-height: 100px;
        border-radius: 1.8rem;
    }

.action-box {
    height: 80px;
    width: 80px;
    border-radius: 0.8rem;
    border: 3.5px solid #333366;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    flex-direction: column;
    box-shadow: 3px 4px 12px rgba(0,0,0,0.5);
}

    .action-box:hover {
        background: #B8E3FF;
        border: 3.5px solid #28295f;
    }

.action-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(80px,1fr));
    padding: 1rem;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

header {
    height: 56px;
    width: 100%;
    background-image: -webkit-gradient( linear, left top, left bottom, color-stop( 0, #2D3657 ), color-stop( 1, #2C3459 ) );
    background-image: -o-linear-gradient( bottom, #2D3657 0%, #2C3459 100% );
    background-image: -moz-linear-gradient( bottom, #2D3657 0%, #2C3459 100% );
    background-image: -webkit-linear-gradient( bottom, #2D3657 0%, #2C3459 100% );
    background-image: -ms-linear-gradient( bottom, #2D3657 0%, #2C3459 100% );
    background-image: linear-gradient(#333366, #1d1d4a);
    box-shadow: 0 0 5px rgba( 0, 0, 0, 0.5 );
    position: fixed;
    z-index: 30000;
    padding: 15px 0;
}

.box-fixed {
    position: fixed;
    background-color: #fff;
    z-index: 3000;
    top: 86px;
    width: 100%;
}

.box-fixed-padding {
    padding: 15px;
}


.perticulers-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-column-gap: 47px;
    grid-row-gap: 37px;
    grid-auto-rows: minmax(35vh, auto);
}

.perticuler-content {
    background-image: url('../../Content/Images/Background Rectangle.jpg');
    background-color: #333366;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-grid {
    display: grid;
    grid-auto-rows: minmax(10vh, auto);
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    grid-gap: 0px;
    padding: 2rem 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-auto-rows: minmax(100%, auto);
    grid-gap: 25px;
}

.grid-1 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.action-box-grid a {
    text-decoration: none;
}

.active-box-btn {
    background: #B8E3FF;
    border: 3.5px solid #28295f;
}

.grid-2-text {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px;
}

.action-box span {
    color: #333366;
    padding: 4px;
    font-weight: 600;
    line-height: 1rem;
    font-size: 11px;
    word-break: break-word;
}

.action-box img {
    padding: 4px;
}

.page-heading {
    width: 100%;
    height: 105px;
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    display: grid;
    align-items: center;
    text-transform: uppercase;
    background-image: url('../../Content/Images/Background Rectangle.jpg');
    box-shadow: 0px 7px 12px rgba(0,0,0,0.4);
}


/*//media  query*/
@media (min-width: 1700px) {
    .action-btn-section {
        width: 52%;
    }
}

@media (min-width: 1440px) and (max-width: 1700px) {
    .action-btn-section {
        width: 60%;
    }
}

@media (min-width: 1350px) and (max-width: 1440px) {
    .action-btn-section {
        width: 68%;
    }
}
@media (min-width: 1235px) and (max-width: 1349px) {
    .action-btn-section {
        width: 75%;
    }
}
@media (min-width: 1150px) and (max-width: 1235px) {
    .action-btn-section {
        width: 80%;
    }
}
@media (min-width: 1024px) and (max-width: 1149px) {

    .action-btn-section {
        width: 95%;
    }
}




/* Portrait and Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
    .action-box {
        height: 85px;
        width: 85px;
    }

    .action-box-grid {
        grid-template-columns: repeat(auto-fit,minmax(80px,1fr));
        padding: 1rem;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .action-box {
        height: 80px;
        width: 80px;
    }

    .action-box-grid {
        grid-template-columns: repeat(auto-fit,minmax(80px,1fr));
    }

    .action-box span {
        line-height: 0.8rem;
        font-size: 12px;
    }

    .grid-2-text {
        font-size: 16px;
        letter-spacing: 0px;
    }

    .grid-1 {
        font-size: 23px;
    }

    .action-btn-section {
        width: 95%;
    }
}

@media (min-width: 600px) and (max-width: 949px) {

    .grid-2 {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .action-btn-section {
        padding: 1rem 0;
        width: unset;
    }
}

@media (max-width: 599px) {
    .box-fixed-padding {
        margin: auto !important;
    }

    .action-btn-section {
        padding: 1rem 0;
        width: unset;
    }

    .action-box-grid {
        grid-template-columns: repeat(auto-fit,minmax(80px,1fr));
        padding: .5rem;
        display: flex;
        overflow-y: hidden;
        overflow-x: scroll;
        grid-gap: unset;
        margin: 0 1.5rem;
    }

        .action-box-grid::-webkit-scrollbar {
            display: none;
        }

    .action-box {
        height: 80px;
        width: 80px;
        margin: 6px;
        border-radius: 1rem;
    }

        .action-box span {
            line-height: 0.8rem;
            font-size: 12px;
        }

    .grid-2-text {
        font-size: 13px;
        letter-spacing: 0px;
    }

    .grid-1 {
        font-size: 23px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

        .grid-2 > div > img {
            width: 100%;
            height: auto;
        }

    .inner-grid {
        height: 100%;
    }
}

.grid-2-text > div > ul {
    padding: 0 0 0 3.5rem;
    list-style: square;
}

.grid-2-text > div {
    margin-bottom: 1rem;
}

.grid-2 > div > img {
    border-radius: 1rem;
}

