.fake-header {
    width: 100%;
    height: 60px;
}

@media screen and (max-width: 768px) {
    .fake-header {
        height: 50px;
    }
}

.container {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding: 0;
}

@media screen and (min-width: 960px) {
    .container {
        width: 960px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 769px) and (max-width: 959px) {
    .container {
        padding: 0 18px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

.bg-dark {
    background-color: #303335;
}

.bg-blue {
    background-color: #3A86B3;
}

.bg-dark *,
.bg-blue * {
    color: white;
}

@media screen and (min-width: 768px) {
    header.main .container {
        width: 100%;
    }

    header.main {
        position: fixed;
        width: 100%;
        height: 60px;
        background: white;
        z-index: 98;
    }

    header.main .site-title {
        position: absolute;
        top: 19px;
        left: 48px;
    }

    header.main .drawer {
        display: none;
    }

    header.main nav {
        display: flex;
        position: absolute;
        right: 0;
        font-size: 15px;
        letter-spacing: 0.07em;
    }

    header.main nav .main {
        display: flex;
    }

    header.main nav .main > li {
        display: flex;
        align-items: center;
        position: relative;
        width: auto;
        height: 60px;
    }

    header.main nav a {
        color: #222;
        text-decoration: none;
    }

    header.main nav .main li i {
        display: none;
    }

    header.main nav .main .top {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        color: #222;
        background: #fff;
        font-weight: 600;
        z-index: 2;
        padding: 0 20px;
    }

    header.main nav .main > li:hover .top {
        background: #f2f2f2;
    }

    header.main nav .main .sub {
        display: block;
        overflow: hidden;
        position: absolute;
        top: 60px;
        left: -37px;
        width: 200px;
        max-height: 0;
        opacity: 0;
        transition: all .2s ease-out;
    }

    header.main nav .main .sub2 {
        width: 470px !important;
        left: -307px !important;
    }

    header.main nav .main .sub ul {
        background: #fff;
        transform: translateY(-100%);
    }

    header.main nav .main > li:hover .sub {
        display: block;
        max-height: 100vh;
        opacity: 1;
    }

    header.main nav .main > li:hover .sub ul {
        transform: translateY(0);
    }

    header.main nav .main .sub li {
        font-size: 13px;
    }

    header.main nav .main .sub2 li {
        width: 230px;
        display: inline-block;
    }

    header.main nav .main .sub li a {
        display: block;
        padding: 18px;
        font-weight: 600;
    }

    header.main nav .main .sub li a:hover {
        background: #f2f2f2;
    }
}

@media screen and (max-width: 768px) {
    header.main nav {
        display: none;
        top: 50px;
    }

    header.main {
        position: fixed;
        width: 100%;
        height: 50px;
        background: #fff;
        z-index: 100;
    }

    header.main .drawer {
        position: absolute;
        right: 15px;
        top: 13px;
        font-size: 24px;
        cursor: pointer;
    }

    header.main .drawer i {
        display: none;
    }

    header.main .drawer .fa-bars {
        display: block;
    }

    header.main .drawer.opened .fa-bars {
        display: none;
    }

    header.main .drawer.opened .fa-xmark {
        display: block;
    }

    header.main .drawer + nav {
        display: none;
    }

    header.main .drawer.opened + nav {
        display: block;
    }

    header.main .site-title {
        position: absolute;
        top: 14px;
        left: 19px;
        height: auto;
        font-size: 0;
        z-index: 3;
    }

    header.main .site-title a {
        display: block;
    }

    header.main nav {
        display: block;
        position: absolute;
        top: 51px;
        right: 0;
        width: 250px;
        font-size: 13px;
        background: #fff;
        z-index: 1;
    }

    header.main nav .main > li {
        display: block;
        position: relative;
        height: auto;
    }

    header.main nav .main li i {
        position: absolute;
        top: 15px;
        right: 0.74em;
        display: none;
    }

    header.main nav .main li .fa-angle-right {
        display: block;
    }

    header.main nav .main li.selected .fa-angle-down {
        display: block;
    }

    header.main nav .main li.selected .fa-angle-right {
        display: none;
    }

    header.main nav.wide .main > li.current-item {
        display: block;
        height: auto;
    }

    header.main nav .main li .sub {
        display: none;
    }

    header.main nav .main li.selected .sub {
        display: block;
    }

    header.main nav a {
        color: #222;
        text-decoration: none;
    }

    header.main nav .main .top {
        display: block;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        height: 44px;
        line-height: 44px;
        padding-left: 20px;
        font-weight: 600;
        position: relative;
        border-bottom: 1px solid #f4f4f4;    
    }

    header.main nav.wide .main > li.current-item .top {
        display: block;
        background: #fff;
    }

    header.main nav .main > li:hover .top {
        background: #f4f4f4;
        cursor: pointer;
    }

    header.main nav .main .sub {
        overflow: hidden;
        background: #fff;
    }

    header.main nav.wide .main > li.current-item .sub {
        display: block;
        background: #f4f4f4;
    }

    header.main nav .main .sub ul {
        overflow: auto;
    }

    header.main nav .main .sub li {
        font-size: 13px;
        border-bottom: 1px solid #fff;
        text-indent: 1em;
    }

    header.main nav .main .sub li a {
        display: block;
        height: 44px;
        line-height: 44px;
        padding-left: 20px;
        font-weight: 600;
        background: #f4f4f4;
    }

    header.main nav .main .sub li a:hover {
        background: #f4f4f4;
    }
}

footer.main {
    padding-bottom: 38px;
}

footer.main .site-title {
    padding: 48px 0;
    text-align: center;
}

footer.main .site-title a,
footer.main .site-title img {
    display: inline;
}

footer.main nav.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer.main .items {
    width: 100%;
}

footer.main .items h2 {
    color: white;
    text-align: left;
    font-size: 1rem;
    padding: 7px;
    font-weight: 600;
}

footer.main .items ul {
    list-style: none;
    padding: 0;
}

footer.main .items li {
    font-size: 0.875rem;
    padding: 7px;
}

footer.main .items a {
    text-decoration: none;
    color: white;
}

@media (min-width: 960px) {
    footer.main nav.main {
        flex-direction: row;
    }

    footer.main .items {
        width: 22%;
    }

    footer.main .items ul {
        display: flex;
        flex-direction: column;
    }

    footer.main .items li {
        width: 100%;
    }

    footer.main .items li:before {
        content: "- ";
        color: white;
    }

    footer.main .items li:last-child{
        margin-bottom: 16px;
    }

    footer.main .items h2 i {
        display: none;
    }
}

@media (max-width: 959px) {
    footer.main nav.main {
        flex-direction: column;
    }

    footer.main .items h2,
    footer.main .items li {
        border-bottom: 1px solid #747474;
        padding: 11px 7px;
    }

    footer.main .items {
        width: 100%;
    }

    footer.main .items ul {
        align-items: flex-start;
    }

    footer.main .items li {
        text-align: left;
        text-indent: 13px;
        font-size: 0.875rem;
    }

    footer.main .items h2 a,
    footer.main .items li a {
        display: block;
        width: 100%;
    }

    footer.main .items h2 {
        position: relative;
    }

    footer.main .items h2 i {
        position: absolute;
        top: 14px;
        right: 9px;
        display: none;
    }

    footer.main .items h2 .fa-angle-right {
        display: block;
    }

    footer.main .items h2.selected .fa-angle-down {
        display: block;
    }
    
    footer.main .items h2.selected .fa-angle-right {
        display: none;
    }

    footer.main .items h2 + ul,
    footer.main .items h2 + .foot-ir {
        display: none;
    }

    footer.main .items h2.selected + ul,
    footer.main .items h2.selected + .foot-ir {
        display: block;
    }
}

footer.sub {
    font-size: 0.875rem;
    color: white;
    padding-bottom: 1rem;
}

footer.sub a {
    color: white;
    text-decoration: none;
}

footer.sub p {
    font-size: 0.8125rem;
}

footer.sub nav {
    display: flex;
    align-items: end;
}

footer.sub nav a img {
    width: 60px;
    height: 60px;
    margin: -1em 0px;
}

footer.sub nav ul li a {
    text-decoration: none;
}

@media (min-width: 960px) {
    footer.sub .container {
        padding: 2em 0;
    }

    footer.main nav.main {
        flex-direction: row;
    }

    footer.main li {
        width: 22%;
    }

    footer.sub p {
        text-align: right;
        margin-top: -1.5em;
    }

    footer.sub nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: flex-start;
    }

    footer.sub nav ul li {
        display: flex;
        justify-content: flex-start;
        position: relative;
        padding: 0 2em;
    }

    footer.sub nav ul li:not(:last-child)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 1px;
        background-color: #b4b4b4;
    }
}

@media (max-width: 959px) {
    footer.sub nav {
        margin-bottom: 1em;
        display: block;
    }

    footer.sub nav a img {
        margin: 0 0 38px;
    }    

    footer.sub nav ul li {
        margin-bottom: 0.4em;
    }
}


.articles li {
    margin-bottom: 2em;
}

@media screen and (min-width: 768px) {
    .articles {
        display: flex;
        justify-content: flex-start; 
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 0 0 2em;
        width: 100%;
    }

    .articles li {
        flex: 1 1 calc(33.333% - 20px);
        margin: 10px;
        max-width: calc(33.333% - 20px);;
    }

    .articles article {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.articles article figure a {
    padding-top: 75%;
    position: relative;
    overflow: hidden;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.articles article figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: none;
    max-height: none;
    height: 100%;
    transform: translate(-50%, -50%);
}

.articles article figure {
    margin: 0;
    width: 100%;
}

.articles article p {
    margin: 5px 0 5px;
    color: #666;
}

.articles article h3 {
    font-size: 0.9375rem;
    margin: 0;
}

.articles article h3 a {
    text-decoration: none;
    color: #333;
}

.articles article a:hover {
    opacity: 0.7;
}

main section {
    padding: 48px 0;
}

@media (max-width: 768px) {
    padding: 38px 0;
}

main section h2 {
    text-align: center;
    margin-bottom: 32px;
}

main section h2 b {
    display: block;
    font-size: 2.28rem;
    letter-spacing: 0.08em;
    word-wrap: break-word;
}

main section h2 i {
    display: inline-block;
    font-size: 0.875rem;
    border-top: 1px solid #b67c2d;
}

main section .btn-round-main {
    color: #222;
    text-decoration: none;
    display: block;
    width: 198px;
    border: 1px solid #222;
    text-align: center;
    padding: 0.68em 0;
    border-radius: 1.6em;
    position: relative;
    margin: 0 auto;
}

main section .btn-round-main i {
    position: absolute;
    right: 0.5em;
    top: 0.97em;
}

main section .btn-round-main:hover {
    color: white;
    background-color: #222;
}

main section p {
    font-size: 0.875rem;
    line-height: 1.6rem;
    margin-bottom: 1.6rem;
}

main {
    padding-bottom: 78px;
}
