﻿.nav > li > a:hover,
.nav > li > a:focus {
    background-color: #f7f7f7;
}

.nav > .disabled > a {
    color: #999999;
}

    .nav > .disabled > a:hover, .nav > .disabled > a:focus {
        text-decoration: none;
        background-color: transparent;
        cursor: default;
    }

.collapse {
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: height 0.35s ease;
    -moz-transition: height 0.35s ease;
    -o-transition: height 0.35s ease;
    transition: height 0.35s ease;
}

    .collapse.in {
        height: auto;
    }

.hidden {
    display: none;
    visibility: hidden;
}


/* Primary Menu */
.primary {
    direction: rtl;
    right: 0;
    margin-top: 5px;
    position: relative;
    top: 0;
    font-family: yekan;
}

    .primary .navbar {
        margin-right: -7px;
        overflow: visible;
        *position: relative;
        *z-index: 2;
    }

        .primary .navbar .btn-navbar {
            display: block;
            background: #fff;
            border: 1px solid #ccc;
            border-bottom: 0 none;
            -webkit-border-radius: 3px 3px 0 0;
            -moz-border-radius: 3px 3px 0 0;
            border-radius: 3px 3px 0 0;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
            float: right;
            height: 10px;
            line-height: 15px;
            margin: 0;
            padding: 8px 6px 16px;
            position: relative;
            text-shadow: none;
            z-index: 1001;
            cursor: pointer;
        }


            .primary .navbar .btn-navbar.collapsed {
                background: none;
                border: 1px solid transparent;
            }

            .primary .navbar .btn-navbar .text {
                color: #1e1e1e;
                float: right;
                line-height: 15px;
                padding: 0 0 0 30px;
            }

            .primary .navbar .btn-navbar.collapsed .text {
                color: #1e1e1e;
                font-weight: bold;
                font-size: medium;
            }

            .primary .navbar .btn-navbar .icon-bar {
                display: block;
                background-color: #055b9b;
                -webkit-box-shadow: none;
                -moz-box-shadow: none;
                box-shadow: none;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                border-radius: 0;
                height: 2px;
                margin: 0;
                width: 20px;
                margin-top: 3px;
                margin-right: 5px;
            }

                .primary .navbar .btn-navbar .icon-bar + .icon-bar {
                    margin-top: 3px;
                }


        .primary .navbar .nav-collapse {
            left: -7px;
            margin: -1px 0 0;
            position: absolute;
            right: -7px;
            top: 100%;
            z-index: 1000;
            width: 270px;
        }

        .primary .navbar .nav {
            float: none;
            margin: 0;
            background-color: #fff;
            border: 1px solid #ccc;
            -webkit-border-radius: 0 3px 3px 3px;
            -moz-border-radius: 0 3px 3px 3px;
            border-radius: 0 3px 3px 3px;
            -webkit-box-shadow: 0 0 5px rgba(0,0,0,.15);
            -moz-box-shadow: 0 0 5px rgba(0,0,0,.15);
            box-shadow: 0 0 5px rgba(0,0,0,.15);
            padding: 6px 6px 3px;
            position: relative;
            left: 0;
            display: block;
            margin: 0 40px 0 0;
        }


            .primary .navbar .nav > li {
                display: block;
                position: relative;
                margin: 3px 0;
                padding: 0;
                right: 0;
                line-height: 40px;
                background-color: #f2f2f2;
            }

                .primary .navbar .nav > li > a {
                    border: 0 none;
                    -webkit-border-radius: 0;
                    -moz-border-radius: 0;
                    border-radius: 0;
                    margin: 10px 0;
                    font-weight: normal;
                    text-decoration: none;
                    padding: 8px 45px 8px 12px;
                }

                    .primary .navbar .nav > li > a:hover,
                    .primary .navbar .nav > li:hover {
                        background-color: #e9e9e9;
                        -webkit-border-radius: 0;
                        -moz-border-radius: 0;
                        border-radius: 0;
                        -webkit-box-shadow: none;
                        -moz-box-shadow: none;
                        box-shadow: none;
                    }


                .primary .navbar .nav > .parent > a,
                .primary .navbar .nav > li.parent:hover > a {
                    background-color: #f2f2f2;
                    background-position: 15px 50%;
                    background-repeat: no-repeat;
                    position: relative;
                }

            .primary .navbar .nav .parent .parent > a,
            .primary .navbar .nav .parent:hover .parent > a {
                background: none;
            }


            .primary .navbar .nav .open-sub {
                bottom: 0;
                right: 0;
                position: absolute;
                top: 0;
                width: 55px;
            }

            .primary .navbar .nav .parent .open-sub span {
                background: #c10841;
                display: block;
                height: 2px;
                margin: 19px 15px 0 0;
                position: absolute;
                width: 16px;
            }

                .primary .navbar .nav .parent .open-sub span + span {
                    height: 16px;
                    margin: 12px 22px 0 0;
                    width: 2px;
                }

            .primary .navbar .nav .sub .parent > a .open-sub span {
                background: #c10841;
                height: 2px;
                margin: 14px 38px 0 0;
                position: absolute;
                width: 12px;
            }

                .primary .navbar .nav .sub .parent > a .open-sub span + span {
                    height: 12px;
                    margin: 9px 43px 0 0;
                    width: 2px;
                }


    .primary .sub,
    .primary .parent .sub,
    .primary .parent:hover > .sub {
        background: #f7f7f7;
        border: 0 none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        display: none;
        font-size: 13px;
        right: 0;
        line-height: 24px;
        padding: 6px 0 5px;
        position: relative;
    }

    .primary .navbar .nav > .parent.active > a,
    .primary .navbar .nav > .parent.active:hover > a {
        background: #c10841;
        background-position: 15px 50%;
        background-repeat: no-repeat;
        color: #fff;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    .primary .navbar .nav .parent.active > a .open-sub span {
        background: #c10841;
    }

        .primary .navbar .nav .parent.active > a .open-sub span + span {
            display: none;
        }

    .primary .nav li:hover > .sub {
        -webkit-animation: fadeIn 0;
        animation: fadeIn 0;
    }

    .primary .nav .sub li {
        display: block;
        line-height: 22px;
    }

    .primary .sub a,
    .primary .sub a:visited {
        background: none;
        color: #7f7f7f;
        padding: 4px 60px 4px 9px;
        text-decoration: none;
        yekan: auto !important;
    }

        .primary .sub a:hover {
            color: rgba(0,0,0,.15);
        }

    .primary li:hover > .sub a {
        background: none;
    }

    .primary .sub .sub {
        right: 0;
        margin-right: 12px;
    }

    .primary .navbar .nav > .parent.active,
    .primary .navbar .nav .parent .open-sub span {
        background-color: #c10841;
    }

.nav-collapse {
    clear: both;
}

    .nav-collapse .nav {
        float: none;
        margin: 0 0 11px;
    }

        .nav-collapse .nav > li {
            float: none;
        }

            .nav-collapse .nav > li > a {
                margin-bottom: 2px;
                padding: 9px 15px;
                font-weight: bold;
                color: #7b7b7b;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
            }

    .nav-collapse, .nav-collapse.collapse {
        overflow: hidden;
        height: 0;
    }
