/*------------------------------------------------*/


/* Start HEADER */


/*------------------------------------------------*/

html {
    height: 100%;
    box-sizing: border-box;
}

.Main-Menu {
    width: 100%;
}

.no-overflow {
    overflow-y: hidden;
}

.header {
    position: fixed;
    /* width: 100%; */
    z-index: 4;
    text-align: center;
    top: 0;
    right: 0;
    left: 0;
    background-color: transparent;
    display: flex;
    transition: 0.3s;
}

.dnnEditState .header {
    top: 53px;
}

.header .menu {
    line-height: 72px
}

.header .navbar {
    padding: 0;
    text-align: center;
}

.header .navbar-inner {
    width: 100%;
    display: flex;
}

.header .nav-pills {
    margin: 0 !important;
    justify-content: center;
}

.header .nav-pills li {
    position: relative;
}

.header .nav-pills li:not(:last-child) a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 28%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border: 0.5px dashed #C4C4C4;
}


/* .header .nav-pills li:nth-child(1):before{
    content: "\f0d8";
    font-family: 'FontAwesome';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    /* border: 2px solid red; */


/* 
line-height: normal;
display: flex;
align-items: center;
justify-content: center;
font-size: 25px;

}*/

#dnn_dnnLOGO_imgLogo {
    width: 180px;
    filter: brightness(0) invert(1);
    transition: 0.3s;
}

.header {
    background-color: #fff;
    box-shadow: 0 0 7px 0 #8e8e8e;
}

.header #dnn_dnnLOGO_imgLogo {
    filter: brightness(1) invert(0);
}

.header.nav-pills li a {
    color: gray;
}

#wrap.tabid-113 .header .headerLink a {
    border: 1px solid #267481;
    color: #267481;
}

.header .headerLng span,
.header .headerLng a {
    color: #267481;
    transition: 0.3s;
    font-size: 14px;
}
#wrap:not(.tabid-203) .header .headerLng span,
#wrap:not(.tabid-203) .header .headerLng a {
    color: #000;
}
.headerLink {
    display: flex;
    align-items: center;
    justify-content: center;
}

.headerLng {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.headerLng span {
    display: block;
    padding: 9px 6px;
    position: relative;
}

.headerLng span::before {
    content: '';
    position: absolute;
    width: 0;
    height: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0.5px dashed #C4C4C4;
}

.headerLng a {
    color: #fff;
    font-size: 1rem;
}

.headerLink a {
    border: 1px solid #fff;
    padding: 7px 0px;
    font-size: 16px;
    color: #000;
    margin-right: 5px;
    transition: 0.3s;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: .5s;
    text-align: center;
    width: 50%;
}
.headerLink a:nth-child(1){
    color: #fff;
}

.headerLink a::before{
    content: '';
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #064F2D;
    transition: .5s ease-in-out;
    z-index: -1;
}
.headerLink a:nth-child(1)::before{
    background: #fff !important;
}
.headerLink a:nth-child(1)::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #064F2D;
    z-index: -2;
}
/* #wrap.tabid-203 .header .headerLink a {
    color: #fff;
} */
.headerLink a:hover {
    color: #fff !important;
    /* background: #064F2D; */
}
.headerLink a:hover::before {
    transform: scale(70);
    /* z-index: -1; */
}
.headerLink a:nth-child(1):hover{
    background-color: #fff;
    color: #000 !important;
}
.header .nav-pills li a {
    padding: 16px 13px;
    font-size: .85rem;
    transition: all 0.3s;
    color: #444444;
}
#wrap.tabid-113 .header .nav-pills li a {
    color: #064F2D;
}


.header .nav-pills li.active a {
    color: #117446;
    /*background:url('../images/menu-active.png') no-repeat top center*/
}

.header .nav-pills li a:hover {
    color: #064F2D
}

.header .logo-div {
    line-height: 72px;
}

.header .logo-div a {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.header .nav-pills li.dropdown .dropdown-menu {
    top: 65px;
    margin-top: 0;
}


.topheader {
    border-bottom: 1px solid rgba(193, 187, 175, 0.3);
    padding: 15px 0;
    display: inline-block;
    width: 100%;
}

.login-box {
    text-align: center;
    margin-top: 12px;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
}

.login-box a {
    color: #000;
    padding: 3px;
    transition: all 0.2s ease-out;
}

.login-box a:hover {
    color: #ffb400;
}

.login {
    color: #979797;
    margin-top: 23px;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    text-align: center;
}

.login a {
    padding: 5px;
    color: var(--main-text-color);
    -webkit-transition: all .25s cubic-bezier(.3, .3, 0, .8);
    -o-transition: all .25s cubic-bezier(.3, .3, 0, .8);
    transition: all .25s cubic-bezier(.3, .3, 0, .8);
    position: relative;
    font-size: 1.375rem;
}

.login a:hover {
    color: var(--main-text-hover-color);
}

.logo {
    background: url(images/logo.png) no-repeat 0 0;
    width: 85px;
    height: 37px;
    display: block;
    margin: 16px 0;
    -webkit-transition: all 1s cubic-bezier(.25, .8, .25, 1);
    -o-transition: all 1s cubic-bezier(.25, .8, .25, 1);
    transition: all 1s cubic-bezier(.25, .8, .25, 1);
}


/*------------------------------------------------*/


/* Start Mobile Menu */


/*------------------------------------------------*/

.Mobile-Menu-Icon {
    width: 40px;
    height: 20px;
    border-radius: 0;
    line-height: 1px;
    text-align: center;
    position: relative;
    cursor: pointer;
    display: none;
    z-index: 999;
    /* margin-right: 15px; */
}

.Mobile-Menu-Icon .icon-bar {
    height: 3px;
    width: 80%;
    margin-left: auto;
    background-color: #131014;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transition: all .7s;
}

.show-effect .Mobile-Menu-Icon .icon-bar {
    background-color: #fff;
}

.Mobile-Menu-Icon .icon-bar:first-child,
.Mobile-Menu-Icon .icon-bar:last-child {
    /* width: 52%; */
}

.Mobile-Menu-Icon .icon-bar:nth-child(2) {
    top: 8px;
}

.Mobile-Menu-Icon .icon-bar:nth-child(3) {
    top: 16px;
}

.show-effect .Mobile-Menu-Icon .icon-bar:nth-child(1) {
    top: 1px;
    transform: rotate( 46deg);
    width: calc(60%);
}

.show-effect .Mobile-Menu-Icon .icon-bar:nth-child(2) {
    /* transform:scale(0); */
    display: none;
}

.show-effect .Mobile-Menu-Icon .icon-bar:nth-child(3) {
    transform: rotate(135deg);
    width: calc(60%);
    top: 1px
}

header.isOn {
    /* width:100%; */
    /* height:100%; */
}

body.isOn {
    overflow: hidden;
}

.shades-wrap {
    position: fixed;
    display: flex;
    flex-flow: column;
    align-items: stretch;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: rotate(-45deg) scale(2, 2);
    z-index: 10;
    /* visibility: hidden; */
    background-color: transparent;
    display: none;
}

.shades-wrap.isOn {
    visibility: visible;
}

.navbar-inner .shade1,
.navbar-inner .shade2,
.navbar-inner .shade3 {
    /* flex:1 1 100%; */
}

.navbar-inner .shade1,
.navbar-inner .shade3 {
    flex: 1 1 100%;
    background-color: #000;
    transform: translateX(-100%);
    transition: transform .8s ease-in-out;
    border: solid 1px #000;
}

.navbar-inner .shade2 {
    flex: 1 1 100%;
    background-color: #000000;
    transform: translateX(100%);
    transition: transform .8s ease-in-out;
}

.show-effect .shades-wrap .shade1,
.show-effect .shades-wrap .shade2,
.show-effect .shades-wrap .shade3 {
    transform: translateX(0);
}

.navbar-inner .shade1.isOn {
    width: 100%;
}

.navbar-inner .shade2.isOn {
    width: 100%;
}

.show-effect .Main-Menu {
    transition-delay: 0.5s;
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    display: flex;
}

/*************************drip down menu*****************************/
#MENU .nav.nav-pills li.dropdown ul.dropdown-menu {
    transition: all 0.3s;
    overflow: unset;
    border: unset;
    box-shadow: unset;
    min-width: 200px;
    top: 100%;
    padding: 0;
    margin-top: 0;
    position: absolute;
    z-index: 10000;
    width: 260px;
    background: rgb(0 79 45 / 75%);
    margin-right: 0;
    border-radius: 0 !important;
}
#MENU .nav.nav-pills > .dropdown > ul.dropdown-menu li a {
    display: block;
    /* padding: 0; */
    color: #dedede;
    font-size: 14px;
    font-family: 'IRanian',Tahoma;
    font-weight: normal;
    text-decoration: none;
    transition: all ease-out 100ms;
    -moz-transition: all ease-out 100ms;
    -webkit-transition: all ease-out 100ms;
    -o-transition: all ease-out 100ms;
    -ms-transition: all ease-out 100ms;
    white-space: normal;
    border-bottom: 1px solid #2f103a;
    line-height: normal;
    padding: 10px;
}
    #MENU .nav.nav-pills > .dropdown > ul.dropdown-menu li a:after{
        display:none;
    }
    /*------------------------------------------------*/
    /* End Mobile Menu */
    /*------------------------------------------------*/
@media all and (min-width:992px) {
    .header .nav-pills li.dropdown:hover .dropdown-menu {
        display: block;
    }
}
@media all and (min-width:992px) and (max-width:1200px) {
    .header .nav-pills li a {
        padding: 16px 10px!important;
    }
}
@media all and (max-width:991px) {
    .header .nav-pills li:not(:last-child) a::after {
        all: unset;
    }

    .logo {
        margin: 16px auto;
    }

    .login {
        margin-top: 10px;
    }
    /* MOBILE MENU */
    .Main-Menu {
        visibility: hidden;
        opacity: 0;
        transform: translateY(100px);
        z-index: 102;
        transition: all 1s;
        height: 100%;
        width: 100%;
        z-index: 11;
        position: fixed;
        top: 100px;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
    }

    .display .shades-wrap {
        display: flex;
    }

    .Main-Menu.firstTime {
        /* transition: all 0s; */
    }

    .menu .nav.nav-pills {
        margin-right: 0px !IMPORTANT;
        margin-left: 0;
        margin-top: 0;
        /* background-color: rgba(57,57,57,1); */
        /* border-bottom: 1px solid #bdbdbd; */
        width: 100%;
        height: 100%;
        text-align:right;
    }

    .Main-Menu .nav.nav-pills > li {
        /* text-align: right; */
        width: 100%;
        border-bottom: 1px solid rgb(85, 85, 85);
        display: inline-block;
        align-items: center;
        width:100%;
    }

    .header .nav-pills li a {
        color: #fff !important;
        display: inline-block;
        width: 80%;
        text-align: right;
    }

    .Mobile-Menu-Icon {
        display: block;
        /* transform: rotate(-45deg); */
    }

    .nav.nav-pills {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .header .menu {
        height: 72px;
        justify-content: flex-start;
        align-items: center;
        line-height: normal;
        display: flex;
    }

    .header {
        /* background-color:transparent; */
    }
    /*******/
    .logo-div {
        order: 1;
        text-align: left;
    }

    header .container {
        max-width: 100%;
    }
  .menu .nav > li .hidden-desktop {
        border: none !important;
        background-position: -305px -110px !important;
        width: 45px !important;
        line-height: 45px !important;
        min-height: 45px !important;
        height: auto;
        display: inline-block;
        border-radius: 3px;
        margin-top: 2px;
        position: relative;
    }
    .menu .nav > li .hidden-desktop:before {
        position: absolute;
        content: '';
        width: 12px;
        height: 2px;
        background-color: #fff;
        top: 21px;
        right: 13px;
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -webkit-transform: rotate( -45deg );
        transform: rotate( -45deg );
        transition: all 0.3s;
    }
    .menu .nav > li .hidden-desktop:after {
        position: absolute;
        content: '';
        width: 12px;
        height: 2px;
        background-color: #fff;
        top: 21px;
        right: 21px;
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -webkit-transform: rotate( 45deg );
        transform: rotate( 45deg );
        transition: all 0.3s;
    }
    .rotate180 {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -webkit-transform: rotate( 180deg );
        transform: rotate( 180deg );
    }
    #MENU .nav.nav-pills li.dropdown ul.dropdown-menu {
        top: 0;
        background: transparent;
        border: 0;
        position: relative;
        width: 100%;
        -moz-transition: auto;
        -o-transition: auto;
        -webkit-transition: auto;
        transition: auto;
        padding-right: 30px;
        
    }
}
@media all and (min-width: 1500px){
    .header .nav-pills li a{
        font-size: .85rem;
    }
}
