﻿.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown {    
    overflow: hidden;
}
    .dropdown .dropbtn, .dropdown .dropbtn a {
        font-size: 17px;
        font-weight: 300;
        border: none;
        outline: none;
        color: #e3e3e3;
        background-color: inherit;
        margin: 0;
        cursor: pointer;
        height: 35px;
        font-family: vazir;
    }

        .dropdown .dropbtn:hover, .dropdown .dropbtn a:hover {
        background-color: inherit;
        font-weight: 500;
        background-color: inherit;
        color: #0e0d0d;
        padding: 0px;
        border: 1px solid inherit;
        height: 35px;
    }

    .navbar a:hover {
        background-color: red;
    }

.dropdown-content {
    margin-top: -1px;
    display: none;
    position: absolute;
    background-color: #ddd;
    width: 96%;
    left: 2%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    direction: rtl;
    border-bottom-left-radius: 30px;
    overflow: auto;
    border: 1px solid #b3b3b3;
}

    .dropdown-content .header {
        /*
background: #444444;
        */
        background-color: #4c4c4c;
        padding: 16px;
        color: white;
    }

.dropdown-content h2{
    font-size:20px;
    font-family:Vazir;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Create three equal columns that floats next to each other */
.row {
    width: 100%;
    padding: 10px;
    background-color: #ddd;
    height: 370px;
}
.column {
    float: right;
    width: 215px;
    padding: 10px;
    background-color: inherit;
    height: 270px;
    border-left: 1px dashed #209537;
}

    .column_width
    {
        width:fit-content !important;
    }

    .column h3, .column h3 a {
        font-family: 'Vazir';
        font-size: 14px;
        font-weight: 400;
        text-align: center;
        border-bottom: 1px solid #c73e43;
        padding-bottom: 5px;
        margin-bottom: 5px;
        color: #4c4c4c;
    }

    .column h3 a {
        border-bottom: 0px solid #c73e43 !important;
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
        color:#4c4c4c;
    }

    .column h3:hover, .column h3 a:hover{
        /*background-color: inherit;*/
    }

    .column a.item {
        float: none;
        color: black;
        padding:5px 10px;
        text-decoration: none;
        display: block;
        text-align: right;
        border: 0px;
        font-family: Vazir;
        font-size: 13px;
    }

    .column a.item:hover {
        background-color: #209537;
        color: #fff;
        border-radius: 5px;
        border: 0px;
    }

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        height: auto;
    }
}
