/* Header Right Side Menu //////////*/
.menu, .menu ul, .menu ul li, .menu ul li a, .menu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    /*  position: relative;
*/  -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.menu {
    float:right;
    clear:right;
}
.menu:after, .menu > ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.menu #menu-button {
    display: none;
}
.menu {
    font-family: 'Poppins', serif;
    font-weight:600;
    /* margin-top:10px; */
}
.menu ul {
    float:right;
}
.menu > ul > li {
    float: left;
    position:relative;
}
.menu.align-center > ul {
    font-size: 0;
    text-align: center;
}
.menu.align-center > ul > li {
    display: inline-block;
    float: none;
}
.menu.align-center ul ul {
    text-align: left;
}

.menu > ul > li > a {
    margin:0;
    padding: 10px 15px;
    font-size: 23px;
    font-weight:600;
    text-decoration: none;
    color: #666;
    text-transform:uppercase;
}
.menu ul li:last-child a {
    border:none;
    padding-right:0;
}

.menu > ul > li > a:hover, .menu > ul > li > a.active {
    color:#9b0782;
}
.menu > ul > li.has-sub > a {
    padding-right: 30px;
}
.menu > ul > li.has-sub > a:after {
    position: absolute;
    top: 25px;
    right: 15px;
    width: 8px;
    height: 2px;
    display: block;
    background: #ccc;
    content: '';
    display:none;
}
.menu > ul > li.has-sub > a:before {
    position: absolute;
    top: 22px;
    right: 18px;
    display: block;
    width: 2px;
    height: 8px;
    background: #ccc;
    content: '';
    display:none;
 -webkit-transition: all .25s ease;
 -moz-transition: all .25s ease;
 -ms-transition: all .25s ease;
 -o-transition: all .25s ease;
 transition: all .25s ease;
}
.menu > ul > li.has-sub:hover > a:before {
    top: 23px;
    height: 0;
}


.menu ul ul {
    position: absolute;
    left: -9999px;
    width:220px;
    background:rgba(255,255,255,1);
    z-index:99999;
    padding-top:10px;
    /* padding-bottom:10px; */
    border-bottom:3px solid #ffbe12;
    -webkit-box-shadow:0px 9px 9px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 9px 9px 1px rgba(0,0,0,0.15);
    box-shadow: 0px 9px 9px 1px rgba(0,0,0,0.15);
}
/*.menu.align-right ul ul {
    text-align: left;
}*/
.menu ul ul li {
 -webkit-transition: all .25s ease;
 -moz-transition: all .25s ease;
 -ms-transition: all .25s ease;
 -o-transition: all .25s ease;
 transition: all .25s ease;
}
.menu li:hover > ul {
    left: 50%;
    transform: translateX(-50%);
}
.menu.align-right li:hover > ul {
    left: auto;
    right: 0;
}
.menu li:hover > ul > li {
    /* height: 35px;*/
    display:block;
    width:100%;
    position: relative;
}
.menu ul ul ul {
    margin-left: 100%;
    top: 0;
    /* background:none; */
    background: #fff;
    padding-top: 0px;
}
.menu ul ul li:hover > ul {
    left: 0px;
    transform: none;
}
.menu.align-right ul ul ul {
    margin-left: 0;
    margin-right: 100%;
    background:#fff;
}
.menu ul ul li a {
    border-bottom: 1px solid rgba(150, 150, 150, 0.15);
    /* width: 170px;*/
  text-decoration: none;
    color: #666;
    font-weight: 400;
}
.menu ul ul li:last-child > a, .menu ul ul li.last-item > a {
    border-bottom: 0;
}
.menu ul ul li:hover > a, .menu ul ul li a:hover, .menu ul ul li a.active {
    color: #9b0782;
    background:#fff;
}
/* .menu ul ul li.has-sub > a:after {
    position: absolute;
    top: 16px;
    right: 11px;
    width: 8px;
    height: 2px;
    display: block;
    background: #dddddd;
    content: '';
} */
.menu.align-right ul ul li.has-sub > a:after {
    right: auto;
    left: 11px;
    display:none;
}
.menu ul ul li.has-sub > a:before {
    position: absolute;
    top: 13px;
    right: 14px;
    display: block;
    width: 2px;
    height: 8px;
    background: #dddddd;
    content: '';
 -webkit-transition: all .25s ease;
 -moz-transition: all .25s ease;
 -ms-transition: all .25s ease;
 -o-transition: all .25s ease;
 transition: all .25s ease;
     display:none;
}
.menu.align-right ul ul li.has-sub > a:before {
    right: auto;
    left: 14px;
}
.menu ul ul > li.has-sub:hover > a:before {
    top: 17px;
    height: 0;
}
.submenu-button {
    display:none;
}
.menu > ul > li.has-sub > a {
    padding-right:10px;
}

.menu ul ul li a {
    font-size:16px;
    border:none;
    padding:13px 0;
    margin:0 20px;
    display:block;
    height:auto;
    /* border-bottom:1px solid #ccc; */
    text-transform:uppercase;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height:inherit;
    background:none;
}
.menu ul ul li a:hover {
    color:#9b0782;
    background:none;
}
.mobile-view {
    display:none;
}

a.search-icon {
    width:24px;
    height:24px;
    margin:5px 0 0 20px;
    display:block;
    float:right;
    text-indent:-9009px;
    cursor:pointer;
    background:#fff url(../img/i_search.png) no-repeat right top;
}
a:hover.search-icon {
    background-position: right bottom;
}


.main-bar {
    position:relative;
}
.menu-button {
    float:right;
    font:19px 'Cormorant Garamond', serif;
    padding: 10px 25px;
    text-transform:uppercase;
    color:#fff;
    background:#0b4b8e;
    margin:6px 0 0 20px;
    height: auto;
    clear:right;
}
.menu-button:hover {
    color:#fff;
    background:#1157a0;
}
.main-sub-menu {
    background:rgba(255,255,255,0.95);
    position:absolute;
    right:0;
    top:110px;
    padding:10px 30px 20px;
    font:14px 'Lato', sans-serif;
    color:#666;
    text-transform:uppercase;
    display:none;
    border-bottom:2px solid #1157a0;
}
.main-sub-menu a {
    display:block;
    padding:12px 0;
    color:#333;
    border-bottom:1px solid #ddd;
}
.main-sub-menu a:last-child {
    border:none;
}
.main-sub-menu a:hover, .main-sub-menu a.active {
    color:#1157a0;
    background:url(../img/more-video-arrow.png) no-repeat right 14px;
}
 @media all and (max-width: 768px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
 .nav-second li.border a, .nav-second li.language, .nav-second li.button {
padding:17px;
border:none;
width:auto;
}
.nav-second {
display:none;
}
 .menu {
 width: 100%;
 position:relative;
 z-index:999;
}
 .menu ul {
 width: 100%;
 display: none;
}
 .menu.align-center > ul {
 text-align: left;
}
 .menu {
float:none;
clear:both;
background:#fff;
}
 .menu ul li {
 width: 100%;
 clear:both;
 float:none;
 border-top: 1px solid rgba(120, 120, 120, 0.2);
 background:none;
 position:relative;
}
 .menu ul ul li,  .menu li:hover > ul > li {
 height: auto;
}
 .menu ul li a,  .menu ul ul li a {
 width: 100%;
 border-bottom: 0;
 font-size:16px;
}
 .menu > ul > li {
 float: none;
}
 .menu ul ul li a {
 padding-left: 25px;
}
 .menu ul ul ul li a {
 padding-left: 35px;
}
.menu ul ul li a {
    color: #616365;
    background: none;
}
.menu ul ul li:hover > a,  .menu ul ul li.active > a {
     color: #1157a0;
}
 .menu ul ul {
    margin-top:-4px;
    width:100%;
}
 .menu ul ul,  .menu ul ul ul,  .menu.align-right ul ul {
     position: relative;
     left: 0;
     width: 100%;
     margin: 0;
     text-align: left;
     background:none;
     padding-top:0;
}
 .menu > ul > li.has-sub > a:after,  .menu > ul > li.has-sub > a:before,  .menu ul ul > li.has-sub > a:after,  .menu ul ul > li.has-sub > a:before {
     display: none;
}
.menu > ul > li.has-sub > a {
    padding:15px;
}
 .menu #menu-button {
     display: block;
     /* width: 45px;
     height: 45px; */
     width: 40px;
     height: 40px;
     color: #fff;
     cursor: pointer;
     font-size: 16px;
     text-transform: uppercase;
     font-weight: 700;
     background:#083f78;
     position:absolute;
     right:15px;
     top:-61px;
}

 .menu #menu-button.menu-opened:after {
     /* top: 21px;
     left:15px; */
     top: 19px;
     left: 13px;
     border: 0;
     height: 2px;
     width: 15px;
     background: #ffffff;
     -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -ms-transform: rotate(45deg);
     -o-transform: rotate(45deg);
     transform: rotate(45deg);
}
 .menu #menu-button.menu-opened:before {
    /* top: 21px;
    left:15px; */
    top: 19px;
    left: 13px;
    background: #ffffff;
    width: 15px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 .menu .submenu-button {
     position: absolute;
     z-index: 99;
     right: 0;
     top: 0;
     display: block;
     border-left: 1px solid rgba(120, 120, 120, 0.2);
     height: 46px;
     width: 46px;
     cursor: pointer;
}
 .menu .submenu-button.submenu-opened {
     background: #08255d;
}
 .menu ul ul .submenu-button {
     height: 34px;
     width: 34px;
}
 .menu .submenu-button:after {
     position: absolute;
     top: 22px;
     right: 19px;
     width: 8px;
     height: 2px;
     display: block;
     background: #08255d;
     content: '';
}
 .menu ul ul .submenu-button:after {
     /* top: 15px;
     right: 13px; */
    top: 21px;
    right: 13px
}
 .menu .submenu-button.submenu-opened:after {
     background: #ffffff;
}
 .menu .submenu-button:before {
     position: absolute;
     top: 19px;
     right: 22px;
     display: block;
     width: 2px;
     height: 8px;
     background: #08255d;
     content: '';
}
 .menu ul ul .submenu-button:before {
    top: 18px;
    right: 16px;
     /* top: 12px;
     right: 16px; */
}
 .menu .submenu-button.submenu-opened:before {
     display: none;
}
.menu ul ul.one-col, .menu ul ul {
    top:0;
}
 .menu ul ul {
    width:100%;
    -webkit-box-shadow: 10px 10px 12px -10px rgba(0,0,0,0);
    -moz-box-shadow: 10px 10px 12px -10px rgba(0,0,0,0);
    box-shadow: 10px 10px 12px -10px rgba(0,0,0,0);
 }
 .menu > ul > li.has-sub > a {
    padding: 15px;
    margin: 0;
}
.menu li:hover > ul {
    left:0;
}


.main-bar {
   /* float: none;
    display: table;
    flex-wrap: inherit;
    width: 100%;*/
}

.menu ul {
    float:none;
}

}

