﻿* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /*background-color: white;*/
    /*font-family: Tahoma,sans-serif;*/
}

@font-face {
    font-family: 'droid.arabic.kufi_downloadsoftware.ir_';
    src: url('../fonts/droid.arabic.kufi_downloadsoftware.ir_.ttf') format('truetype');
}

body {
    font-family: 'droid.arabic.kufi_downloadsoftware.ir_',sans-serif,Tahoma;
}


.container {
    /*background-color: lightgray;*/
    width: 80%;
    margin: auto;
    height: 100%;
    /*zoom:90%;*/
}

    .container header {
        height: 70px;
        /* background-color: rgba(75, 168, 243, 0.6);*/
        text-align: center;
        display: flex;
    }

        .container header .header-left {
            background-color: rgba(75, 168, 243, 0.6);
            width: 25%;
            line-height: 110px;
            text-align: left;
            margin-top: 20px;
        }

        .container header .header-center {
            /*            background-color: rgba(75, 168, 243, 0.6);*/
            width: 50%;
            line-height: 70px;
        }

            .container header .header-center h3 {
                color: midnightblue;
                font-size: 35px;
                font-weight: 500;
                line-height: 50px;
                /*font-family: Tahoma;*/
                font-weight: bold;
            }

        .container header .header-right {
            background-color: rgba(75, 168, 243, 0.6);
            width: 25%;
            line-height: 70px;
        }

    .container .logo {
        height: 100px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: right;
    }

        .container .logo img {
            width: 70px;
        }

    .container .title {
        text-align: center;
        height: 50px;
    }

.title h3 {
    font-size: 25px;
    font-weight: 400;
    line-height: 50px;
    /*font-family: Tahoma;*/
    font-weight: bold;
    color: midnightblue;
}

.container .nrc-heads {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    overflow: hidden;
    /*background-color: yellow;*/
    /*height: 550px;*/
}

    .container .nrc-heads .head-title {
        width: 50%;
    }

    .container .nrc-heads .heads {
        /*height: 100%;*/
        display: grid;
        grid-template-columns: 27% 27% 27%;
        grid-gap: 10px;
        margin-left: auto;
        margin-right: auto;
        /*background-color: red;*/
        text-align: center;
        /*padding: 20px;*/
        padding-left: 50px;
        justify-content: space-evenly;
        align-items: center;
    }

/*@media(max-width:768px) and (min-width:480px) {
    .container .nrc-heads .heads {
        grid-template-columns: 97%;
        height: auto;
    }
}*/

.container .nrc-heads .heads .one-card {
    margin-top: 5px;
    /*background-color: forestgreen;*/
    width: 90%;
    height: 480px;
    border: 1px solid rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius: 3px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.19);
    text-align: center;
    align-content: center;
    align-items: center;
}

    .container .nrc-heads .heads .one-card:nth-child(2) {
        margin-top: 10px;
        /*background-color: forestgreen;*/
        width: 90%;
        height: 480px;
        border: 1px solid rgba(0, 0, 0, 0.200);
        text-align: center;
        border-radius: 3px;
        box-shadow: 10px 10px 5px #9abdf5;
        text-align: center;
        align-content: center;
        align-items: center;
    }

    .container .nrc-heads .heads .one-card .card-image {
        width: 100%;
        padding: 15px;
        height: 300px;
    }

        .container .nrc-heads .heads .one-card .card-image img {
            width: 80%;
            height: 100%;
            border-radius: 5%;
        }

    .container .nrc-heads .heads .one-card .card-title {
        /*background-color: forestgreen;*/
        height: 100px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

        .container .nrc-heads .heads .one-card .card-title h3 {
            /*background-color: blue;*/
            font-size: 18px;
            /*font-weight: bold;*/
            padding: 5px;
        }


    .container .nrc-heads .heads .one-card .card-buttons {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        height: 40px;
        text-align: center;
        margin-top: 25px;
    }

        .container .nrc-heads .heads .one-card .card-buttons .head-button {
            width: 150px;
            height: 40px;
            font-size: 20px;
            /*background-color: green;*/
            /*margin-bottom: 5px;*/
            color: blue;
            border-radius: 10px;
            text-decoration: none;
            margin-top: 20px;
            /*line-height:20px;*/
        }

.container .hr {
    background-color: darkslateblue;
    height: 2px;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}


.container .content {
    margin-top: 20px;
    width: 100%;
}


.content .all-institute {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-gap: 10px;
    margin: auto;
    /*background-color: cadetblue;*/
    text-align: center;
    padding: 20px;
    padding-left: 30px;
    justify-content: space-evenly;
    align-items: center;
}

/*@media(max-width:768px) and (min-width:480px) {
    .content .all-institute {
        grid-template-columns: 97%;
        height: auto;*/
        /*width: 90%;*/
    /*}
}*/

/*@media(max-width:1024px) {
    .content .all-institute {
        grid-template-columns: 50%;
        height: auto;*/
/*width: 90%;*/
/*}
    }*/

.content .all-institute .one-card {
    /*background-color: forestgreen;*/
    width: 90%;
    height: 400px;
    border: 1px solid darkslateblue;
    border-radius: 5px;
    text-align: center;
    overflow: hidden;
}

    .content .all-institute .one-card .card-image {
        width: 100%;
        padding: 15px;
    }

        .content .all-institute .one-card .card-image img {
            width: 60%;
            height: 200px;
        }

    .content .all-institute .one-card .card-title {
        margin-top: 15px;
        /*background-color: lightgrey;*/
        height: 100px;
        width: 100%;
    }

        .content .all-institute .one-card .card-title h3 {
            font-size: 20px;
            /*font-weight: bold;*/
            padding: 5px;
        }

    .content .all-institute .one-card .card-buttons a {
        margin-top:-10px;
        width: 100px;
        height: 50px;
        background-color: dodgerblue;
        padding: 10px 20px;
        margin-bottom: 10px;
        color: white;
        border-radius: 5px;
        font-size: 18px;
        text-decoration: none;
    }

        .content .all-institute .one-card .card-buttons a:nth-child(2) {
            /*  margin-top: 20px;
                width: 100px;
                height: 50px;*/
            background-color: navy;
            /*  padding: 10px 20px;
                margin-bottom: 10px;
                color: white;
                border-radius: 5px;
                font-size: 18px;
                text-decoration: none;*/
        }

    .content .all-institute .one-card .card-buttons #btnDetails {
        width: 100px;
        height: 50px;
        background-color: steelblue;
        margin-bottom: 20px;
        color: white;
        margin-left: 10px;
        border-radius: 10px;
    }


@media(max-width: 999px) {

    .container .nrc-heads .heads {
        grid-template-columns: 32% 32% 32%;
    }
}



@media(max-width: 767px) {

    .container .nrc-heads .heads {
        grid-template-columns: 49% 49%;
    }
}

@media(max-width: 460px) {

    .container .nrc-heads .heads {
        grid-template-columns: 100%;
    }
}

@media(max-width: 1323px) {

    .content .all-institute {
        grid-template-columns: 32% 32% 32%;
        /*background-color: yellow;*/
    }
}


@media(max-width: 993px) {

     .content .all-institute {
        grid-template-columns: 49% 49%;
        /*background-color:forestgreen;*/
    }
}



@media(max-width: 770px) {

    .content .all-institute {
        grid-template-columns: 98%;
        /*background-color:red;*/
    }
}


