﻿
/* --------Nav-bar--------- */

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


body.scrolling {
    overflow-y: hidden;
}

ol, ul {
    padding-left: 1.6rem;
}

a,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    text-decoration: none;
}

@media only screen and (max-width: 768px) {
    a,
    button {
        cursor: default !important;
        border: none;
        outline: none;
    }
}

.user-nav {
    max-width: 1100px;
    margin: auto;
    text-align: left;
    padding-left: 1.7%;
    height: 42px;
    padding-top: 5px;
}

    .user-nav a:hover {
        color: #e2cfcf;
        transition: 0.3s;
    }

.nav-gap {
    padding-top: 35px;
}

.top-navbar {
    max-width: 1110px;
    height: auto;
    /*    padding: 0 2rem;*/
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #121212;
}

@media only screen and (max-width: 768px) {
    .top-navbar {
        padding: 0 1rem;
        margin: 0 auto;
    }
}

.header {
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 999;
    border: none;
    outline: none;
    background: #04b8a5;
}

    .header .wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        max-width: 100%;
        height: auto;
    }

    .header .navbar {
        max-width: 100%;
        height: auto;
    }

.navbar {
    position: relative;
    top: 6px;
}

.header .menu > .menu-item {
    position: relative;
    display: inline-block;
    margin: 0 0.75rem;
}

    .header .menu > .menu-item > a {
        display: block;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
        line-height: inherit;
        padding: 1rem 0;
        border: none;
        outline: none;
        color: #121212;
        text-transform: capitalize;
        text-rendering: optimizeLegibility;
        -webkit-transition: all 0.35s ease;
        -o-transition: all 0.35s ease;
        transition: all 0.35s ease;
        padding-left: 2px;
    }

        .header .menu > .menu-item > a .expand {
            position: relative;
            display: inline-block;
            height: 0.65rem;
            width: 0.75rem;
            margin-left: 0.35rem;
            border: none;
            outline: none;
            pointer-events: none;
            margin-right: 6px;
        }

            .header .menu > .menu-item > a .expand:before, .header .menu > .menu-item > a .expand:after {
                position: absolute;
                -webkit-box-sizing: inherit;
                box-sizing: inherit;
                content: '';
                left: 50%;
                top: 50%;
                width: 100%;
                height: 2px;
                background: #121212;
                -webkit-transform: translate(-50%, -50%);
                -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
                -webkit-transition: all 0.35s ease;
                -o-transition: all 0.35s ease;
                transition: all 0.35s ease;
            }

    .header .menu > .menu-item:hover > a {
        color: #dd163b;
    }

        .header .menu > .menu-item:hover > a .expand::before, .header .menu > .menu-item:hover > a .expand::after {
            background: #dd163b;
        }

    .header .menu > .menu-item > a .expand::after {
        -webkit-transform: translate(-50%, -50%) rotate(-90deg);
        -ms-transform: translate(-50%, -50%) rotate(-90deg);
        transform: translate(-50%, -50%) rotate(-90deg);
    }

    .header .menu > .menu-item > .sub-menu > .menu-item > a:hover {
        color: #dd163b;
    }

    .header .menu > .menu-item > .sub-menu {
        position: absolute;
        left: -1rem;
        top: 100%;
        width: 13rem;
        height: auto;
        padding: 0.75rem 0;
        border: none;
        outline: none;
        opacity: 0;
        visibility: hidden;
        border-top: 3px solid #dd163b;
        background: #ffffff;
        -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        -webkit-transform: translateY(1rem);
        -ms-transform: translateY(1rem);
        transform: translateY(1rem);
        -webkit-transition: all 0.35s ease;
        -o-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }

        .header .menu > .menu-item > .sub-menu > .menu-item {
            display: block;
        }

            .header .menu > .menu-item > .sub-menu > .menu-item > a {
                display: block;
                font-family: inherit;
                font-size: 1rem;
                font-weight: 600;
                line-height: inherit;
                padding: 0.5rem 1.25rem;
                color: #121212;
                text-transform: capitalize;
                text-rendering: optimizeLegibility;
                -webkit-transition: all 0.35s ease;
                -o-transition: all 0.35s ease;
                transition: all 0.35s ease;
            }

.header .opened-menu {
    position: relative;
    display: none;
    cursor: pointer;
    width: 2rem;
    height: 1rem;
    border: none;
    outline: none;
    opacity: 0;
    visibility: hidden;
    background: none;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

    .header .opened-menu span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        border: none;
        outline: none;
        opacity: 1;
        border-radius: 0.25rem;
        background: #121212;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: all 0.25s ease;
        -o-transition: all 0.25s ease;
        transition: all 0.25s ease;
    }

        .header .opened-menu span:nth-child(1) {
            top: 0;
        }

        .header .opened-menu span:nth-child(2), .header .opened-menu span:nth-child(3) {
            top: 0.5rem;
        }

        .header .opened-menu span:nth-child(4) {
            top: 1rem;
        }

.header .closed-menu {
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    outline: none;
    background: none;
}

    .header .closed-menu img.closed-icon {
        display: block;
        width: 1rem;
        height: auto;
    }

.header .overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

@media only screen and (min-width: 993px) {
    .header .menu > .menu-item-has-children:hover > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    .header .menu > .menu-item-has-children:hover > a .expand::after {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        -ms-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@media only screen and (max-width: 992px) {

    .header .wrapper {
        padding: 1rem 0;
    }

    .header .overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .header .navbar {
        position: fixed;
        top: 0;
        left: -18rem;
        width: 18rem;
        height: 100%;
        padding: 1rem 0;
        z-index: 999;
        opacity: 0;
        overflow-y: auto;
        visibility: hidden;
        background: #ffffff;
        -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
    }

        .header .navbar.active {
            left: 0rem;
            opacity: 1;
            visibility: visible;
            padding-bottom: 100%;
        }

        .header .navbar::-webkit-scrollbar {
            width: 5px;
        }

        .header .navbar::-webkit-scrollbar-thumb {
            border-radius: 1rem;
            background: #e6e6e6;
            -webkit-box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
            box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
        }

    .header .menu {
        width: 100%;
        height: auto;
        margin-top: 3.5rem;
    }

        .header .menu > .menu-item {
            display: block;
            margin: 0;
        }

        .header .menu > .menu-item-has-children > a {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }

        .header .menu > .menu-item > a {
            padding: 0.75rem 1rem;
            color: #121212;
            border-bottom: 1px solid #f2f2f2;
        }

        .header .menu > .menu-item:first-child > a {
            border-top: 1px solid #f2f2f2;
        }

        .header .menu > .menu-item > a .expand::before, .header .menu > .menu-item > a .expand::after {
            background: #121212;
        }

        .header .menu > .menu-item-has-children.active > a .expand:after {
            -webkit-transform: translate(-50%, -50%) rotate(0deg);
            -ms-transform: translate(-50%, -50%) rotate(0deg);
            transform: translate(-50%, -50%) rotate(0deg);
        }

        .header .menu > .menu-item > .sub-menu {
            position: relative;
            top: auto;
            left: auto;
            width: 100%;
            max-height: 0;
            padding: 0px;
            border: none;
            outline: none;
            opacity: 1;
            overflow: hidden;
            visibility: visible;
            background: transparent;
            -webkit-box-shadow: none;
            box-shadow: none;
            -webkit-transform: translateY(0px);
            -ms-transform: translateY(0px);
            transform: translateY(0px);
        }

            .header .menu > .menu-item > .sub-menu > .menu-item > a {
                padding: 0.75rem 2rem;
                color: #121212;
                border-bottom: 1px solid #f2f2f2;
            }

    .header .opened-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .header .closed-menu {
        position: absolute;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        top: 1rem;
        right: 0.5rem;
    }
}

/* --------Site Template--------- */

body {
    background-color: #212529;
    color: white;
    /*additional to posts*/
    line-height: 1.7;
    letter-spacing: .015em;
    /*font-family: 'Heebo', Arial, sans-serif;*/
}

.container {
    background-color: #292e38;
    max-width: 1110px;
    padding-top: 35px;
    padding-bottom: 150px;
    position: relative;
}

/*Template Style*/

.titlelink {
    color: #FFFFFF;
    text-decoration: none;
    margin: 3px;
    font-weight: 600;
    font-size: 1.04rem;
    letter-spacing: .015em;
    line-height: 2;
}

    .titlelink:hover {
        color: #04b8a5;
        transition: .15s color;
    }

.headh2 {
    display: flex;
    align-items: center;
    margin-bottom: 55px;
    font-weight: 600;
    letter-spacing: .015em;
}

    .headh2::after {
        content: '';
        flex: 1;
        margin-right: 10px;
        margin-top: 23px;
        opacity: 0.84;
        height: 2px;
        background-color: #fff;
    }


.headh4 {
    display: flex;
    margin-top: 9px;
    color: #04b8a5
}

    .headh4::after {
        content: '';
        flex: 1;
        margin-top: 16px;
        height: 3px;
        background-color: #fff;
        margin: -12px 12px 30px -12px;
        margin-top: 15px;
    }

#anotherpostsbox {
    background-color: #363c4a;
    width: 100%;
    margin: 0px;
}

#headeranotherpost {
    margin-top: 10px;
    height: 52px;
    text-align: right;
    background-color: #404859;
    margin: 0px;
    padding: 0px;
}

#anotherpimg {
    margin: 1px;
    height: 125px;
}

#panotherpost {
    font-size: 14px;
}

#imganotherpost {
    width: 100%;
    height: 80%;
    max-height: 120px;
    max-width: 300px;
    margin: 2px;
}

th {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    border-right: 1px solid white;
}

    th:first-child {
        border-left: 2px solid white;
    }

#page_content {
    margin: 3px;
}

a {
    color: white;
    text-decoration: none;
}

    a:hover {
        color: #04b8a5;
        transition: .15s color;
    }

/*Template - Remove Later*/

.footer {
    width: 100%;
    margin-top: 40px;
    background-color: #1a1a1a !important;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 60px;
}

.sub-footer {
    max-width: 1100px;
    margin: auto;
}

    .sub-footer p {
        font-size: 13px;
        margin: 0;
    }

#footer-title {
    font-size: 17px;
    color: #04b8a5;
}


.column_partner {
    float: left;
    width: 20%;
    padding: 5px;
}

.footer img {
    transition: .3s;
}

    .footer img:hover {
        opacity: 0.7;
        transition: .3s;
    }

.footer-system {
    width: 100%;
    margin-top: 40px;
    background-color: #1a1a1a !important;
    text-align: center;
    padding-top: 28px;
    padding-bottom: 30px;
}

    .footer-system a {
        color: #04b8a5;
    }