﻿* {
    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%;
    background: #f8fafc;
}



.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;
}


    .content .all-institute .one-card {
        /*background-color: forestgreen;*/
        width: 90%;
        height: 400px;
        border-radius: 18px;
        box-shadow: 0 6px 16px rgba(0,0,0,.08);
        transition: .3s;
        text-align: center;
        overflow: hidden;
        
    }
        .content .all-institute .one-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 22px rgba(0,0,0,.25);
        }
        .content .all-institute .one-card .card-image {
            width: 100%;
            padding: 15px;
           
        }

            .content .all-institute .one-card .card-image img {
                width: 60%;
                height: 200px;
                border-radius: 18px;
                box-shadow: 0 6px 16px rgba(0,0,0,.1);
                transition: .3s;
                background: #ffffff;
            }


        .content .all-institute .one-card .card-title {
            margin-top: 15px;
            /*background-color: lightgrey;*/
            height: 100px;
            width: 100%;
        }

            .content .all-institute .one-card .card-title h4 {
                font-size: 16px;
                /*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;*/
    }
}
