﻿* {
    box-sizing: border-box;
}
@font-face {
    font-family: 'iranian Sans';
    src: url('../fonts/iranian Sans.ttf');

}
/*body {
    background: #33334d;
    color: #222;
    line-height: normal;
    font-size: 16px;
    font-family: sans-serif;
}*/

a, a:hover {
    color: #33334d;
    text-decoration: none;
    font-weight: 600;
}

nav {
    font-family: iranian Sans;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 70px;
    background: rgb(2,35,152);
    background: white;
    flex-direction: row;
    align-items: center;
    box-shadow: 0 0px 9px 4px rgba(0, 0, 0, 0.1), 0 -5px 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 580px;
    min-height: 130px;
}

    nav .logo {
        position: relative;
        float: left;
        height: 50px;
        line-height: 50px;
        padding: 0 15px;
        font-size: 22px;
        font-weight: 900;
        color: #fff;
        text-transform: uppercase;
    }

        nav .logo span {
            display: inline-block;
            position: relative;
            top: -8px;
            font-size: 13pt;
        }

        nav .logo:hover {
            background: #fffdfb;
        }

    nav .links {
        float: right;
        position: relative;
    }

        nav .links li {
            float: left;
            list-style: none;
            position: relative;
            margin: 10px;
            display: inline-block;
        }

            nav .links li > a {
                position: relative;
                display: inline-block;
                padding: 0 10px;
                color: #21212b;
                line-height: 30px;
                height: 30px;
                font-weight: bold;
                font-size: 13px;
            }
        nav .links > li i {
            color: #21212b;
        }
        nav .links > li:hover {
            color: #243a8d !important;
            background: #fff;
            border-radius: 2px;
        }
            nav .links > li:hover i, nav .links > li:hover > a {
                color: #243a8d !important;
            }
            nav .links > li:hover .arrow {
                border-color: #243a8d transparent
            }
                nav .links > li:hover .arrow::after {
                    border-left: 1px solid #243a8d;
                }
                /*nav .links li > a:hover {
            color: #243a8d !important;
            background: #fff;
            border-radius: 2px;
        }*/
                nav .links li > ul > li > a:hover {
                    color: rgb(43, 43, 43);
                }
                nav .links li > a[class^=trigger-] {
                    padding-right: 40px;
                }

        nav .links li > a .arrow {
            position: absolute;
            width: 10px;
            height: 10px;
            top: 35%;
            text-align: center;
            right: 10px;
            border-width: 5px 5px 0 5px;
            border-style: solid;
            border-color: #21212b transparent;
        }

            nav .links li > a .arrow:after {
                content: "";
                border-left: 1px solid #21212b;
                top: -10px;
                left: -15px;
                position: absolute;
                height: 15px;
            }

        nav .links li ul {
            position: absolute;
            right: 0;
            margin: 0;
            background: rgb(241 241 241);
            border-radius: 2px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
            display: none;
        }

                nav .links li ul > li {
                    clear: both;
                    list-style: none;
                    display: block;
                    padding: 0 10px;
                    margin: 0;
                    width: 100%;
                }

                    nav .links li ul > li:hover {
                        background: #FFF;
                    }

                        nav .links li ul > li:hover > a {
                            background: #FFF;
                            color: #243a8d !important;
                        }

            nav .links li:hover > .drop {
                display: block;
                animation: fadeInRight 0.3s ease;
                -webkit-animation: fadeInRight 0.3s ease;
            }

.drop li {
    direction: rtl !important;
    width: 200px !important;
    text-align: right
}

.drop li a {
    font-family: 'iranian Sans' !important
}
.links  li a {
    font-family: 'iranian Sans' !important
}

.trigger-drop {
    font-family: 'iranian Sans' !important
}
.UpClick,.DownClick{
    z-index:120;
}
.mySidebar {
    display: none;
}
#menu_button {
    position: relative;
    right: 20px;
    float: right;
    color: white;
}

.mySidenav {
    text-align: right;
    height: 90%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 40px;
    right: 0;
    background-color: #ebebeb;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 30px;
    padding-bottom: 30px;
}

    .mySidenav a {
        font-family: "iranian Sans";
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 15px;
        color: black;
        display: block;
        transition: 0.3s
    }

        .mySidenav a:hover, .offcanvas a:focus {
            color: #f1f1f1;
        }

.slide_menu > ul > li {
    border-bottom: solid #656262 1px;
}

.my_slide_menu {
    position: relative;
}

.sub_slide_menu {
    position: relative;
    right: 30px;
    list-style-type: disc;
}
.mySidebar {
    direction: rtl;
    display:none;
}
/*@media only screen (min-width: 0px) and (max-width: 800px) {
    .title_big {
        display: none;
    }

    #navigation {
        display: none;
    }

    .mySidebar {
        display: unset;
    }
}

@media only screen and (min-width: 801px) and (max-width: 1050px) {

    #navigation {
        display:none;
    }
    .mySidebar {
        display: unset;
    }
}*/
#menu_button-con {
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: rgb(23, 133, 176);
    padding: 10px 0px;
}