﻿.decNav.mainMenu:not(.decTableHolder) {
    border-bottom: 1px solid #B5B5B3;
}

.decNav.mainMenu > ul > li > table {
}

/*.decNav.decHorizontalNav > ul > li > table {*/
.decNav.decHorizontalNav:not(.decTableHolder) > ul > li > table {
    display: none;
}

.decTableHolder {
    position: absolute;
    width: 100%;
    box-shadow: 0px 5px 5px -3px #CECECE;
    left: 0;
    right: 0;
    height: 471px;
    max-height: 0;
    display: block;
    overflow: hidden;
    -webkit-transition: max-height 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -moz-transition: max-height 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    -o-transition: max-height 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    transition: max-height 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
}

    .decTableHolder.decNavOpen {
        max-height: 471px;
    }

    .decTableHolder > table {
        position: absolute;
        width: 100%;
        height: 100%;
        max-width: 100%;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        left: 0;
        right: 0;
        display: block;
        overflow: hidden;
        z-index: 0;
    }

.decNav.decTableHolder > table > tbody > tr,
.decNav.decTableHolder > table > tbody > tr > td {
    width: 100%;
    display: block;
}

.decNav.decTableHolder ul.decSubList {
    text-align: center;
}

    .decNav.decTableHolder ul.decSubList li {
        width: 308px;
        height: 236px;
        display: inline-block;
        overflow: hidden;
        margin-bottom: -5px;
    }

    .decNav.decTableHolder ul.decSubList .textContainer {
        display: block;
        position: absolute;
        z-index: 9999;
        bottom: 0px;
        right: 0px;
        top: auto;
        left: 0px;
        color: #C0ED0D;
        font-size: 13px;
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.35);
        -webkit-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
        -moz-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
        -o-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
        transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
    }

    .decNav.decTableHolder ul.decSubList li {
        -webkit-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        -moz-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        -o-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    }

        .decNav.decTableHolder ul.decSubList li:hover {
            opacity: 0.8;
        }

            .decNav.decTableHolder ul.decSubList li:hover .textContainer {
                padding-right: 30px;
            }

    .decNav.decTableHolder ul.decSubList .textContainer:before {
        content: ' ';
        position: absolute;
        top: 0;
        right: 10px;
        left: auto;
        width: 30px;
        height: 1px;
        background-color: #C0ED0D;
        -webkit-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
        -moz-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
        -o-transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
        transition: all 1s cubic-bezier(0.77, 0, 0.175, 1) 0.4s;
    }

    .decNav.decTableHolder ul.decSubList li:hover .textContainer:before {
        transform: rotate(90deg);
        right: 0;
        top: 19px;
    }

    .decNav.decTableHolder ul.decSubList .thumbContainer img {
        display: block;
        width: 100%;
        height: auto;
    }

.decNav.decTableHolder ul.hasThumbs > li > a {
    padding: 0;
}

    .decNav.decTableHolder ul.hasThumbs > li > a.hasThumb .thumbContainer {
        margin-right: 0;
        margin-left: 0;
    }

/*.decNav.mainMenu > ul > li > a {
    position: relative;
    text-align: center !important;
    background-color: transparent;
    color: #4A4A4C;
    font: 14px/20px "B Yekan",Tahoma;
    margin: 22px 15px 16px;
    padding: 0;
    overflow: hidden;
    height: 20px;
    z-index: 1;
}*/

.decNav.mainMenu > ul > li > a {
    position: relative;
    text-align: center !important;
    background-color: transparent;
    color: #4A4A4C;
    font: 14px/20px "B Yekan",Tahoma;
    margin: 0;
    padding: 22px 15px 16px;
    overflow: hidden;
    height: auto;
    z-index: 1;
}


.decNav.mainMenu > ul > li.notLink > a {
    cursor: default;
}

.decNav.mainMenu > ul > li > a > .textContainer {
    position: relative;
    top: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.decNav.mainMenu > ul > li:not(.hasTable) > a.notLink {
    cursor: default;
}

.decNav.mainMenu > ul > li:after {
    position: absolute;
    bottom: 0;
    top: auto;
    right: 7px;
    left: 7px;
    content: ' ';
    height: 0;
    background-color: transparent;
    -webkit-transition: all 0.3s ease-in 0s;
    -moz-transition: all 0.3s ease-in 0s;
    -o-transition: all 0.3s ease-in 0s;
    transition: all 0.3s ease-in 0s;
}

.decNav.mainMenu > ul > li:hover:after,
.decNav.mainMenu > ul > li.active:after {
    background-color: #20A5DE;
    height: 2px;
}

.decNav.mainMenu > ul > li.active:after {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    transition: none;
}

.decNav.mainMenu ul.decSubList a {
    padding: 4px 20px;
    font: 14px/20px "B Yekan", Tahoma;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    color: #F6F6F6;
}

    .decNav.mainMenu ul.decSubList a:hover {
        /*color: #2D7818;*/
        color: #9F9F9F;
        background-color: transparent;
    }
/*.decNav.mainMenu ul.decSubList a:hover {
        background-color: transparent;
        color: #DBDBDB;
    }

    .decNav.mainMenu ul.decSubList a:after {
        position: absolute;
        bottom: 0;
        top: auto;
        right: 20px;
        left: 20px;
        content: ' ';
        height: 1px;
        background-color: #aaa;
    }*/

.decNav.mainMenu ul.decSubList .isHeader {
    font-weight: normal;
    padding-bottom: 0;
    color: #EFEFEF;
    letter-spacing: 1px;
    border-bottom: 1px solid #7D7D7D;
    padding-right: 5px;
    margin-right: 5px;
}

    .decNav.mainMenu ul.decSubList .isHeader:hover {
        color: #F6F6F6;
    }

.decNav.decHorizontalNav > ul > li.hasTable > a > .textContainer:after {
    border-top-color: transparent;
}

.decCloseTable {
    position: absolute;
    z-index: 2;
    left: 50%;
    right: auto;
    margin-left: -7px;
    width: 15px;
    height: 15px;
    top: 43px;
}

    .decCloseTable.decOpen {
        z-index: 100;
        cursor: pointer;
    }

    .decCloseTable span {
        position: absolute;
        top: -3px;
        left: -13px;
        -webkit-transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        -moz-transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        -o-transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        width: 0px;
        height: 1px;
        background-color: #20A5DE;
        transform: rotate(45deg);
    }

        .decCloseTable span:last-child {
            top: 20px;
            left: -20px;
            transform: rotate(-45deg);
        }

    .decCloseTable.decOpen span {
        top: 7px;
        left: 0px;
        width: 15px;
    }

.decOpenTable {
    opacity: 1;
    left: 50%;
    right: auto;
    margin-left: -7px;
    top: 45px;
    width: 15px;
    height: 11px;
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

    .decOpenTable span {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 1;
        background-color: #20A5DE;
        height: 1px;
        width: 100%;
        -webkit-transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        -moz-transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        -o-transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
        transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    }

        .decOpenTable span:nth-of-type(2) {
            top: 4px;
        }

        .decOpenTable span:nth-of-type(3) {
            top: 8px;
        }

    .decOpenTable.decOpen span:nth-of-type(1) {
        left: 100px;
        opacity: 0;
    }

    .decOpenTable.decOpen span:nth-of-type(2) {
        left: -100px;
        opacity: 0;
    }

    .decOpenTable.decOpen span:nth-of-type(3) {
        left: 70px;
        opacity: 0;
    }


.decResponsiveMenu.mainMenu ul.decSubList > li a {
    width: 75%;
    text-align: right;
    color: #535652;
}

.decResponsiveMenu.mainMenu li.hasTable > a:after {
    border-top-color: #aaa;
}

.decNav.decHorizontalNav.decNavRtl.mainMenu > ul > li.hasTable > a > .textContainer:after {
    border-top-color: transparent;
}

.decResponsiveMenu.decNavRtl.mainMenu li.hasTable > a:after {
    border-top-color: #535652;
}

.decResponsiveMenu.mainMenu li.hasTable > a.decNavOpen::after {
    top: 37%;
}

.decNav.decHorizontalNav.decNavRtl.mainMenu > ul > li.hasTable > a > .textContainer {
    padding-right: 0;
    padding-left: 0;
}

.decNav.decHorizontalNav.mainMenu > ul > li.hasTable > a > .textContainer {
    padding-right: 0;
}

.decNav.decHorizontalNav.mainMenu > ul > li.hasTable:hover > a > .textContainer:after {
    top: 48%;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.decResponsiveMenu.decNavRtl.mainMenu {
    direction: rtl;
    font-family: 'B Yekan', Tahoma;
}

.decResponsiveMenu.mainMenu div.menuHeader {
    text-align: center;
    border-bottom: none;
    height:0;
}

    .decResponsiveMenu.mainMenu div.menuHeader a {
        display: none;
    }

.decResponsiveMenu.mainMenu button.menuToggle {
    margin: 15px;
    z-index: 10000;
    padding: 9px 6px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
    background-color: rgba(255, 255, 255, 0.66);
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    border: 0px solid #72869C;
}

.decResponsiveMenu.mainMenu .decNavOpen button.menuToggle {
    background-color: #FCFCFC;
    box-shadow: 1px 1px 1px #D7D7D7 inset;
}

.decResponsiveMenu.mainMenu button.menuToggle span {
    height: 1px;
    margin-top: 5px;
    background-color: #20A5DE;
}

    .decResponsiveMenu.mainMenu button.menuToggle span:first-child {
        margin-top: 0;
    }

.decResponsiveMenu.mainMenu > ul {
    background-color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    max-height: 100%;
    max-height: 100vh;
    padding-top: 70px;
    display: block;
    box-shadow: none;
    -webkit-transition: transform 0.6s;
    -moz-transition: transform 0.6s;
    -o-transition: transform 0.6s;
    transition: transform 0.6s;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
}

    .decResponsiveMenu.mainMenu > ul.decNavOpen {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    .decResponsiveMenu.mainMenu > ul > li {
    }

        .decResponsiveMenu.mainMenu > ul > li > a {
            border: 1px solid;
            width: 75%;
            color: #535652;
            font-size: 12px;
            margin-top: 15px;
            padding: 14px 0;
        }

.decResponsiveMenu.mainMenu li.active a {
    background-color: #20A5DE;
    color: #FFF;
    cursor: default;
}

.decResponsiveMenu.mainMenu > ul > li:not(.active) a:hover {
    background-color: #fff;
}

.decResponsiveMenu.mainMenu .decSubList .thumbContainer img {
    width: 40px;
}
