.topButtons {
    text-align: right
}

.menu-header-container {
    border-bottom: 0 solid #fff
}

.navContainer {
    margin-bottom: -63px;
    padding-top: 10px;
    position: relative;
    z-index: 320;
    color: #838585
}

.current-menu-item,
.current-menu-parent {
    border-bottom: 3px solid #fff
}

#menu-icon {
    display: none
}

#nav-wrap {
    margin-top: 20px
}

.blueRibon .menu:after,
.blueRibon .menu:before,
#nav-wrap:after,
#nav-wrap:before {
    display: table;
    content: ""
}

.blueRibon .menu:after,
#nav-wrap:after {
    clear: both
}

.blueRibon .menu {
    margin-bottom: 0
}

.blueRibon .menu li,
#nav {
    margin: 0 60px 0 0;
    padding: 0
}

.blueRibon .menu li {
    list-style: none;
    float: left;
    margin: 0 55px 0 0;
    border-top: none
}

.blueRibon .menu a {
    color: #fff;
    display: block;
    font-size: 13px;
    letter-spacing: .8pt;
    padding: 12px 0 10px;
    text-decoration: none;
    transition: all .2s linear
}

.blueRibon .menu a[href]:hover {
    text-shadow: 0 0 10px #fff
}

.blueRibon .menu .menu-item-has-children .current-menu-item {
    border-bottom: none
}

.blueRibon .menu .menu-item-has-children .menu-item:hover {
    font-weight: 700
}

.blueRibon .menu ul {
    padding-top: 7px;
    position: relative;
    margin: 0;
    display: none
}

.blueRibon .menu ul li {
    float: none;
    margin: 0
}

.blueRibon .menu li:hover>ul {
    display: block;
    min-width: 195px;
    position: absolute;
    z-index: 10
}

.blueRibon .menu li:hover>ul a:hover {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: 0 0;
    -moz-box-shadow: 0 0;
    box-shadow: 0 0
}

.blueRibon .menu li:hover>ul li:last-child a {
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px
}

.blueRibon .menu .drop a {
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s
}

.blueRibon .menu ul li,
.blueRibon .menu ul li.current-menu-item {
    background: rgba(45, 110, 177, .9);
    border-right: 0 solid #fff;
    border-left: 0 solid #fff;
    padding: 0 25px 0 26px
}

.blueRibon .menu ul li:first-child {
    border-top: 0 solid #fff
}

.blueRibon .menu ul li:last-child {
    border-bottom: 0 solid #fff!important
}

.blueRibon .menu ul li a {
    padding: 8px 0
}

@media screen and (max-width:767px) {
    .blueRibon .menu li:hover ul,
    #nav-wrap {
        position: relative
    }
    .blueRibon .menu .menu-item-has-children>a:after {
        top: 50%;
        right: 0;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        border-color: rgba(255, 255, 255, 0);
        border-top-color: #fff;
        border-width: 10px;
        margin: -5px 0 0 0;
        transform: scale(0.6, 1)
    }
    .blueRibon .menu .menu-item-has-children:hover>a:after {
        transform: scale(1, 0.6) rotate(-90deg);
        margin: -9px -10px 0 0
    }
    .blueRibon .menu ul li,
    .blueRibon .menu ul li.current-menu-item {
        background: none;
        border: 0;
        padding: 0
    }
    .blueRibon .menu li {
        clear: both;
        float: none;
        padding: 0;
        margin: 0
    }
    .blueRibon .menu li.showfromMobile.button {
        margin: 0;
        width: 50%;
        transform: none;
        background: #fff;
        border: 0;
        float: left;
        display: block;
        clear: none;
        padding: 10px 30px;
        box-sizing: border-box;
        height: auto;
        line-height: normal
    }
    .blueRibon .menu li.showfromMobile.button a {
        transform: skew(-6deg);
        color: #1d64b2;
        display: block;
        text-transform: uppercase;
        letter-spacing: 1px;
        /* border-image: linear-gradient(to right, #3487be 0%, #096 100%); */
        border-image-slice: 1;
        border-image-width: 1px;
        margin: 0
    }
    #nav-wrap {
        margin: 0;
        width: 100%;
        z-index: 1030;
        border-bottom: 1px solid #DCDCDC
    }
    #menu-icon {
        color: #fff;
        width: 100%;
        height: 60px;
        background: url(../images/menu-icon.png) 10px center no-repeat;
        padding: 8px 10px 0 42px;
        cursor: pointer;
        display: block;
        text-align: center
    }
    #menu-icon img {
        height: 100%
    }
    #menu-icon.active,
    #menu-icon:hover {
        background-color: #fff
    }
    .blueRibon .menu {
        clear: both;
        position: absolute;
        top: 61px;
        width: 100%;
        padding: 0;
        background: url(../images/poly-m.jpg) top center;
        display: none;
        box-sizing: border-box;
        overflow: hidden
    }
    .blueRibon .menu>li>a {
        font-family: 'Lato-Italic';
        font-weight: bold;
        text-transform: lowercase;
        padding: 15px 0;
        border-top: 1px #fff solid;
        margin: 0 30px;
        width: auto;
        font-size: 1.2em
    }
    .blueRibon .menu>li:first-of-type>a {
        border: 0
    }
    .blueRibon .menu>li>a:first-letter {
        text-transform: uppercase
    }
    .blueRibon .menu a {
        font: inherit;
        display: block;
        padding: 8px 0;
        color: #fff;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        width: 100%;
        font-weight: bold;
        position: relative
    }
    .blueRibon .menu .menu-item-has-children:hover>a,
    .blueRibon .menu .menu-item-has-children>a,
    .blueRibon .menu>li>a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0
    }
    .blueRibon .menu ul {
        width: auto;
        position: static;
        display: none;
        border: none;
        background: inherit
    }
    .blueRibon .menu .drop {
        display: none
    }
    .blueRibon .menu .drop a {
        background: #fff;
        text-indent: 40px
    }
    .blueRibon .menu li:hover>ul li:last-child a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0
    }
    .blueRibon .menu>li>ul>li>a {
        padding: 10px 30px;
        position: relative;
        box-sizing: border-box
    }
    .blueRibon .menu>li>ul>li.menu-item-has-children>a:after {
        right: 30px
    }
    .blueRibon .menu>li>ul>li>a:hover,
    .blueRibon .menu>li>ul>li.current-menu-item>a {
        background: rgba(0, 0, 0, .2)
    }
    .blueRibon .menu>li>ul>li>ul>li {
        background: none!important;
    }
    .blueRibon .menu>li>ul>li>ul>li>a {
        padding: 10px 40px;
        box-sizing: border-box;
        background: none!important;
    }
}

@media screen and (min-width:768px) {
    .blueRibon .menu {
        display: block!important
    }
}

.exchangeLinks {
    cursor: pointer
}

.exchangeLinks>.sub-menu {
    left: 0
}

.exchangeLinks>.sub-menu li {
    background: rgba(53, 184, 218, 0.91)!important
}

.social-icons
{
    position: relative;
}

#new-header .topButtons .qr-panel {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    z-index: 10;
    height:auto;
    color:#ffffff;
    background-color: grey;
    padding: 8px;
}
#new-header .topButtons .qr-panel:before {
    content: '';
    display: block;
    position: absolute;
    right: 86px;
    bottom: 100%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color: grey;
}

#new-header .topButtons .qr-panel.open {
    visibility: visible;
    opacity: 1;
}

footer .qr-panel {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    z-index: 10;
    height:auto;
    color:#ffffff;
    background-color: grey;
    padding: 8px;
    left:0;
    top:0;
}
footer .qr-panel:before {
    content: '';
    display: block;
    position: absolute;
    left: 83px;
    bottom: -20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: grey;
}

footer .qr-panel.open {
    visibility: visible;
    opacity: 1;
}