﻿@font-face {
    font-family: myfont;
    src: url(../Fonts/iransans/IRANSans-web.woff2);
}



.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #F2F2F2;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-content a:hover {
            background-color: #EDEDED;
            text-decoration: unset;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    
}

#nav2 {
    margin-top: 0px;
    margin-left: 50px;
}

#drop2 {
    width: 20%;
    margin-top: 20px;
    border-radius: 4px;
    box-shadow: none;
}

.thumb-dropdown .dropdown-menu > li {
    position: relative;
}

    .thumb-dropdown .dropdown-menu > li > a .thumbnail {
        position: absolute;
        left: 100%;
        top: -10px;
        display: none;
        width: 350px;
        height: auto;
        margin-left: 5px;
    }

    .thumb-dropdown .dropdown-menu > li > a:hover .thumbnail {
        display: block;
    }

.pad-section {
    padding: 50px 0;
}

    .pad-section img {
        width: 100%;
    }

/* vertical-centered text */

.text-vcenter {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

    .text-vcenter h1 {
        font-size: 4.5em;
        font-weight: 700;
        margin: 0;
        padding: 0;
    }

/* additional sections */

#box1 {
    background: darkblue;
    color: white;
    display: table;
    height: 300px;
    width: 100%;
}

#box2 {
    background-color: #EA8200;
    color: white;
    height: 100%;
}

#box3 {
    background-color: #182C3C;
    color: white;
    height: 100%;
}

footer {
    padding: 20px 0;
}

    footer .glyphicon {
        color: #333333;
        font-size: 60px;
    }

        footer .glyphicon:hover {
            color: #EE2E24;
        }

.goToTop {
    position: fixed;
    top: 0;
    height: 70px;
    z-index: 1;
}

nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
}

    nav li {
        background: #f8f8f8;
    }

.dropdownbutton {
    border: 1px solid black;
}
