html {
    margin: 0;
    padding: 0;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

.container {
    width: 1024px;
    margin: 0 auto;
}

a {
    font-size: 16px;
    color: #0095ff;
}

a:hover {
    text-decoration: none;
}

.breadcrumbs {
    padding-top: 20px;
    font-size: 14px;
    box-sizing: border-box;
}

.breadcrumbs a {
    font-size: 14px;
}

/*HEADER*/

header {
    width: 100%;
    background: #0095ff;
    z-index: 3;
    position: relative;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

.logo {
}

.logo a {
    color: #fff;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

.menu-container {
    height: 100%;
}

ul.main-menu {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    align-items: center;

}

ul.main-menu li {
}

ul.main-menu li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    display: block;
    line-height: 60px;
    padding: 0 15px;
    transition: 0.2s;
}

ul.main-menu li a:hover {
    background:#0486e3;
}

.search {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.search:hover {
    background: #0486e3 !important;
}

.search-form {
    box-sizing: border-box;
    width: calc(100% - 60px);
}

.search-input {
    display: none;
    border: none;
    background: #0486e3;
    border-bottom: 1px solid #fff;
    margin: 0 0 0 15px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    height: 30px;
    padding: 0 0 0 35px;
    width: 100%;
}

.search-input:focus-visible {
    outline: none;
}

.search-input::placeholder {
    color:#fff;
}

.search-icon-hidden {
    position: absolute;
    left: 15px;
    display: none;
}

.search img {
    width: 18px;
    height: 18px;
    position: absolute;
}

.search-icon-hidden {
    display: none;
}

.search div.close-icon {
    display: none;
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    width: 60px;
    height: 60px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-button {
    width: 60px;
    height: 60px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.mobile-menu-button:hover {
    background:#0486e3;
}

.overlay {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    z-index: 2;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
}

.visible {
    opacity: 1 !important;
    visibility: visible !important;
}

/*END HEADER*/

/*CONTENT*/
.wrapper {
    display: flex;
    padding: 25px 0px;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    min-height:calc(100vh - 154px);
}

.wrapper-category {
    padding: 25px 0px;
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    min-height:calc(100vh - 154px);
}

.content {
    flex-basis: 65%;
    /*margin-right: 25px;*/
}


.video-container {
    /*border-top:4px solid #FF6700;*/
    margin-right: 25px;
}

.blog-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}


.blog-list-item {
    flex-basis: 50%;
    padding: 25px 25px 0px 0px;
    box-sizing: border-box;
}

.blog-list-item:hover h3 {
    color:#0095ff;
    transition: 0.2s;
}

.blog-list-item a {
    display: block;
    line-height: 100%;
    text-decoration: none;
}

.blog-list-item a p.category {
    padding: 10px 0;
    margin: 0;
    color: #0095ff;
    font-size: 14px;
}

.blog-list-item a h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
    transition: 0.2s;
    line-height: 22px;
}

.blog-list-item a p.datetime {
    color: #71717a;
    font-size: 12px;
    margin: 5px 0 0 0;
}

.blog-list-item img {
    width: 100%;
    max-height: 180px;
    min-height: 180px;
    object-fit: cover;
}

.wrapper-category ul.blog-list > li {
    flex-basis: 33%;
}


.content-post {
    width: 100%;
    height: 100%;
}

.pagination {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 26px 0 11px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-links {
    line-height: 40px;
}

span.current {
    padding: 10px 15px;
    background: #e5e7ed;
    border-radius: 5px;
}

article p {
    line-height: 22px;
}

article ul li {
    line-height: 22px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 36px 0;
}

.nav-previous a, .nav-next a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    background: #53a2e8;
    border-radius: 5px;

}

a.page-numbers, a.next {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    background: #53a2e8;
    border-radius: 5px;
    margin-left: 8px;
}

/*END CONTENT*/

/*SIDEBAR*/

.sidebar {
    flex-basis: 35%;
    position: relative;
}

.sidebar #appeal {
    height: 315px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    border-top:4px solid #e5e7eb;
    background: #f8f8f8;
    box-sizing: border-box;
    padding: 20px;
}

.sidebar #appeal h3 {
    font-size:28px;
    text-align: center;
}

.sidebar .main-featured-post {
    min-height: 315px;
    margin-bottom: 25px;
}

.sidebar .main-featured-post .post-meta a {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
    transition: 0.2s;
    line-height: 22px;
    text-decoration: none;
}

.sidebar .main-featured-post:hover .post-meta a {
    color: #0095ff;
}

.sidebar .main-featured-post .datetime {
    color: #71717a;
    font-size: 12px;
    margin: 5px 0 0 0;
    display: none;
}

.sidebar-list {
    margin: 0;
    list-style-type: none;
    border-top:4px solid #e5e7eb;
    background: #f8f8f8;
    padding: 0;
}

.sidebar-list h2 {
    font-size: 16px;
    padding: 0px 16px;
    margin: 22px 0 0 0;
}

.sidebar-list-item {
    border-bottom:1px solid #e5e7eb;
    position: relative;
}

.sidebar-list-item:hover h3 {
    color: #0095ff;
    transition: 0.2s;
}

.sidebar-list-item a {
    text-decoration: none;
    line-height: 100%;
    padding: 16px;
    display: block;
}

.sidebar-list-item h3 {
    font-size: 16px;
    font-weight: 400;
    color:#000;
    margin: 0;
    transition: 0.2s;
    line-height: 22px;
}

.sidebar-list-item p.datetime {
    color: #71717a;
    font-size: 12px;
    margin: 5px 0 0 0;
}

.wrapper-category .sidebar-list {
    border:none;
}

a.sidebar-category-link {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

p.datetime-cat-link {
    font-size: 16px;
    color: #000;
    font-weight: 700;
    margin-right: 20px;
    margin-top: 3px;
}

/*.sidebar-list::after {*/
/*    content: '';*/
/*    display: block;*/
/*    overflow: hidden;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*    height: 150px;*/
/*    background: linear-gradient(180deg, rgba(248,248,248, 0.2) 0,  #f8f8f8 60%);*/
/*}*/

.video-container-hidden {
    display: none;
}

.more {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100%;
    /*border-right:1px solid #e5e7eb;*/
    /*border-left:1px solid #e5e7eb;*/
    /*border-bottom:1px solid #e5e7eb;*/
    background: #f8f8f8;
    box-sizing: border-box;
}

a.btn {
    width: 80%;
    color: #ffffff;
    background: #0095ff;
    padding: 16px 20px;
    display: block;
    text-align: center;
    border-radius: 5px;
    bottom: 25px;
    box-sizing: border-box;
    text-decoration: none;
}

/*END SIDEBAR*/


/*FOOTER*/
footer {
    width: 100%;
    height: 60px;
    background: #001b2f;
}

.footer-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.footer-wrapper p {
    color: #fff;
}

/*END FOOTER*/

/*RESPONSIVE*/

@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
    }
    .wrapper, .wrapper-category {
        padding: 20px;
    }
    .breadcrumbs {
        padding: 20px 20px 0px 20px;
    }
    .header-wrapper {
        justify-content: space-between;
        position: relative;
    }
    .menu-container {
        flex: 1;
    }
    ul.main-menu {
        display: flex;
        visibility: hidden;
        opacity: 0;
        flex-direction: column;
        position: fixed;
        top: 60px;
        background: #0095ff;
        z-index: 2;
        width: 100%;
        left: 0;
        transition: 0.2s;
    }
    ul.main-menu li {
        height: 60px;
        width: 100%;
        border-top: 1px solid #0486e3;
    }
    ul.main-menu li a {
        width: 100%;
    }
    .logo {
        padding: 0px 20px;
    }
    .search {
        margin-left: auto;
        flex-basis: 60px;
        flex-shrink: 0;
    }
    .mobile-menu-button {
        display: flex;
        margin-left:auto;
        flex-basis: 60px;
        max-width: 60px;
    }
}

@media screen and (max-width: 815px) {
    .wrapper {
        flex-direction: column;
        padding: 16px;
    }
    .wrapper-category {
        padding: 16px;
    }
    .breadcrumbs {
        padding: 16px 16px 0px 16px;
    }
    .blog-list {
        justify-content: space-between;
    }
    .blog-list-item, .wrapper-category ul.blog-list > li {
        padding: 0 0 16px 0;
        flex-basis: 48%;
    }
    .sidebar {
        order: 1;
    }
    .sidebar .main-featured-post .post-thumbnail img {
        width: 100% !important;
    }
    .blog-container {
        order: 2;
    }
    .video-container {
        display: none;
    }
    .video-container-hidden {
        display: block;
        padding: 0;
        margin: 0 0 16px 0;
    }
}

@media screen and (max-width: 500px) {
    .blog-list-item, .wrapper-category ul.blog-list > li {
        flex-basis: 100%;
        padding-bottom: 20px;
    }
    .blog-list-item:first-child, .wrapper-category ul.blog-list > li:first-child {
        padding-top: 20px;
    }

}

