﻿/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    width: 100vw;
    background-color: white;
}

.header:before,
.header:after {
    content: "";
    display: table;
}

.header:after {
    clear: both;
}

.header__logo {
    font-size: 0;
    float: left;
}

.header__tools {
    float: right;
    width: 40px;
}


.header__nav {
    float: right;
    margin-right: 30px;
}

.header__nav>ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.header__nav>ul:before,
.header__nav>ul:after {
    content: "";
    display: table;
}

.header__nav>ul:after {
    clear: both;
}

.header__nav>ul>li {
    float: left;
    -webkit-transition: background 0.2s 0.1s ease;
    -o-transition: background 0.2s 0.1s ease;
    transition: background 0.2s 0.1s ease;
}

.header__nav>ul>li.active>a {
    border-bottom: 4px solid #025da3;
}

.header__nav>ul>li:hover {
    background: #025da3;
    -webkit-transition: background 0.2s ease;
    -o-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.header__nav>ul>li:hover>a {
    color: #fff;
}

.header__nav>ul>li:hover>a:after {
    /*content: '';*/
    opacity: 1;
    bottom: -12px;
}

.header__nav>ul>li:hover .megaMenu {
    display: block;
}

.header__nav>ul>li>a {
    color: #111111;
    padding: 0 20px;
    line-height: 76px;
    height: 80px;
    border-bottom: 4px solid transparent;
    display: inline-block;
    text-decoration: none;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: color 0.2s ease;
    -o-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.header__nav>ul>li>a:after {
    /*content: '';*/
    position: absolute;
    left: 50%;
    bottom: 0;
    margin-left: -12px;
    opacity: 0;
    z-index: 101;
    -webkit-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #025da3;
    border-bottom: none;
}

.header__nav>ul>li>a.noMega:after {
    content: none;
}

.header__overlay {
    display: none;
}

.for-mobile {
    display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footerMembers {
    position: relative;
    color: #fff;
    font-size: 14px;
}

.footerMembers .wrap:before,
.footerMembers .wrap:after {
    content: "";
    display: table;
}

.footerMembers .wrap:after {
    clear: both;
}

.footerMembers a {
    color: #fff;
    padding-left: 30px;
    display: inline-block;
    text-align: right;
    line-height: 60px;
    text-decoration: none;
}

.footerMembers:before {
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    background: #01538f;
}

.footerMembers:after {
    content: '';
    width: 50%;
    height: 100%;
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 0;
    background: #0067b3;
}

.footerMembers>div {
    position: relative;
    z-index: 1;
}

.footerMembers__title {
    vertical-align: top;
    background: #01538f;
    line-height: 60px;
    float: left;
    width: 8%;
    padding: 0 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footerMembers__triangle {
    width: 60px;
    height: 60px;
    background: #0067b3;
    vertical-align: top;
    position: relative;
    float: left;
    width: 8%;
}

.footerMembers__triangle:before {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 60px 0 0;
    border-color: #01538f transparent transparent transparent;
}

.footerMembers__list {
    background: #0067b3;
    vertical-align: top;
    margin-left: -4px;
    float: left;
    width: 84%;
}

.footerMembers__list ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: table;
    width: 100%;
}

.footerMembers__list ul>li {
    display: table-cell;
    vertical-align: middle;
}

.footerCopyright {
    background: #007fe0;
    /* Old browsers */
    background: -moz-linear-gradient(top, #007fe0 0%, #009ae7 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #007fe0 0%, #009ae7 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #007fe0 0%, #009ae7 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007fe0', endColorstr='#009ae7', GradientType=0);
    /* IE6-9 */
    padding: 15px 0;
    margin: 0px;
    text-align: center;
}

.footerCopyright:before,
.footerCopyright:after {
    content: "";
    display: table;
}

.footerCopyright:after {
    clear: both;
}

.footerCopyright__left {
    /*float: left;*/
}

.footerCopyright__list {
    margin: 0;
    list-style: none;
    padding: 10px 0;
    display: inline-block;
}

.footerCopyright__list:before,
.footerCopyright__list:after {
    content: "";
    display: table;
}

.footerCopyright__list:after {
    clear: both;
}

.footerCopyright__list>li {
    float: left;
    border-right: 1px solid #fff;
}

.footerCopyright__list>li:last-child {
    border-right: 0;
}

.footerCopyright__list>li a {
    display: block;
    padding: 0 5px;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.footerCopyright__right {
    /*float: right;*/
    color: #fff;
    font-size: 13px;
    /*line-height: 60px;*/
}

/* Common */
.wrap {
    max-width: 960px;
    margin: auto;
    padding: 0 10px;
}

@media (max-width: 960px) {
    .header__nav {
        display: none;
    }

    .for-mobile {
        display: inline-block;
    }

    .for-wide {
        display: none;
    }

    .header_logo {
        position: relative;
    }

    .header__logo>a {
        float: left;
        display: inline-block;
        width: 138px;
        height: 26px;
        padding: 17px 20px;
        font-size: 0;
    }

    .header__logo>a>img {
        width: 100%;
    }

    .header__button {
        position: absolute;
        top: 0;
        display: inline-block;
        z-index: 9999;
        transition: background-color .3s ease-in-out
    }

    .header__burger {
        right: 0;
        padding: 22px 20px;
        background-color: #fff;
    }

    .header__burger>span {
        position: relative;
        top: 0;
        display: block;
        width: 20px;
        height: 2px;
        margin: 0 auto;
        background-color: #025da3;
        -webkit-transition: all .3s ease-in-out;
        -o-transition: all .3s ease-in-out;
        transition: all .3s ease-in-out
    }

    .header__burger>span:nth-of-type(2) {
        margin: 5px auto
    }

    .openMenu {
        height: 100%
    }

    .openMenu body,
    .openMenu .container {
        position: relative;
        height: 100%;
        overflow: hidden
    }

    .openMenu .header__burger {
        background-color: #025da3
    }

    .openMenu .header__burger>span {
        background-color: #fff
    }

    .openMenu .header__burger>span:nth-of-type(1) {
        transform: rotate(-45deg);
        top: 7px
    }

    .openMenu .header__burger>span:nth-of-type(2) {
        width: 0;
        opacity: 0
    }

    .openMenu .header__burger>span:nth-of-type(3) {
        transform: rotate(45deg);
        top: -7px
    }

    .openMenu .header__overlay {
        display: block
    }

    .openMenu .header__nav {
        display: block;
        position: fixed;
        top: 60px;
        width: 100vw;
        background-color: #01538f;
    }

    .header__nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 99
    }

    .header__nav ul li {
        display: block;
        width: 100vw;
    }

    .header__nav .toggleChild {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 50px;
        padding: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
    }

    .header__nav .toggleChild:after {
        content: "+";
        vertical-align: text-top;
        width: 15px;
        font-size: 24px;
        line-height: 24px;
        font-weight: normal;
        text-align: center;
        -webkit-transition: color .3s ease-in-out;
        -o-transition: color .3s ease-in-out;
        transition: color .3s ease-in-out
    }

    .header__nav .active>.toggleChild:after {
        content: "–";
        font-size: 20px;
        line-height: 20px;
        padding-left: 1px
    }

    .header__nav>ul {
        max-height: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch
    }

    .header__nav>ul>li>a {
        color: #fff;
        -webkit-transition: background-color .3s ease-in-out;
        -o-transition: background-color .3s ease-in-out;
        transition: background-color .3s ease-in-out;
        line-height: 66px;
        height: 72px;
    }

    .header__nav>ul>li>a:first-child {
        display: block;
        padding: 0px 30px;
        background-color: #025da3;
        vertical-align: middle;
    }

    .header__nav>ul>li:nth-of-type(even)>a:first-child {
        background-color: #045793
    }

    .header__nav>ul>li.active>a:first-child {
        background-color: #c3b893
    }

    .footerMembers {
        color: #fff;
        background-color: #01538f
    }

    .footerMembers a {
        display: block;
        text-align: center;
        padding-left: 0;
        line-height: unset;
    }

    .footerMembers__title {
        display: block;
        padding: 8px 0;
        color: #fff;
        text-align: center;
        font-size: 16px;
        width: 100vw;
    }

    a.footerMembers__title {
        line-height: 30px;
        display: block;
    }

    .footerMembers__title:before {
        content: "＋";
        display: inline-block;
        width: 25px;
        font-size: 20px;
        line-height: 20px;
        font-weight: bold;
        vertical-align: text-bottom
    }

    .footerMembers__title:active {
        color: #fff
    }

    .footerMembers__list {
        max-height: 0;
        overflow: hidden;
        -webkit-transition: max-height .3s ease-in-out;
        -o-transition: max-height .3s ease-in-out;
        transition: max-height .3s ease-in-out;
        width: unset;
    }

    .footerMembers__list ul {
        padding: 10px;
        margin: 0;
        list-style: none;
        border-top: 2px solid rgba(255, 255, 255, .5);
        width: unset;
    }

    .footerMembers__list ul:before,
    .footerMembers__list ul:after {
        content: "";
        display: table
    }

    .footerMembers__list ul:after {
        clear: both
    }

    .footerMembers__list ul>li {
        float: left;
        min-width: 50%;
        padding: 10px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
    }

    .footerMembers__list ul>li>a {
        color: #fff
    }

    .footerMembers.openMember .footerMembers__title:before {
        content: "–"
    }

    .footerMembers.openMember .footerMembers__list {
        max-height: 500px
    }

    .footerCopyright {
        padding: 20px 0;
        padding-top: 60px;
        text-align: center;
        background: #007fe0;
        background: -moz-linear-gradient(top, #007fe0 0%, #009ae7 100%);
        background: -webkit-linear-gradient(top, #007fe0 0%, #009ae7 100%);
        background: linear-gradient(to bottom, #007fe0 0%, #009ae7 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007fe0', endColorstr='#009ae7', GradientType=0)
    }

    .footerCopyright__list {
        margin: 0;
        list-style: none;
        padding: 0
    }

    .footerCopyright__list:before,
    .footerCopyright__list:after {
        content: "";
        display: table
    }

    .footerCopyright__list:after {
        clear: both
    }

    .footerCopyright__list:first-child {
        margin-top: 0
    }

    .footerCopyright__list>li {
        display: inline-block;
        border: none;
        float: none;
    }

    .footerCopyright__list>li:after {
        content: "|";
        padding: 0 8px;
        color: #fff
    }

    .footerCopyright__list>li:last-child:after {
        content: none
    }

    .footerCopyright__list>li a {
        color: #fff;
        font-size: 13px;
        text-decoration: none;
        display: inline-block;
    }

    .footerCopyright__right {
        margin-top: 20px;
        color: #fff;
        font-size: 13px;
        text-align: center
    }

}