@import "reset.css";
@import "font.css";

/**
--------------------------------------------------------------------------------------
------------------------ ************ Public Css ************ ------------------------
--------------------------------------------------------------------------------------
**/

html {
    scroll-behavior: smooth;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

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

.container-fluid {
    width: 100%;
}

a {
    text-decoration: none;
    color: #000;
}

body {
    font-family: Estedad;
    background-color: #fafafa;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

#header {
    background-color: #ffffff;
    padding: 16px 16px;
    border-radius: 12px;
    box-shadow: 0 0 20px #ebebeb;
    margin: 32px auto;
    position: relative;
}

.logo {
    width: 40px;
    float: right;
}

.name_site {
    float: right;
}

.name_site h1 {
    font-size: 16px;
    font-weight: 600;
    margin: 5px 8px 0 0;
}

.main_menu {
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;
    display: table;
}

.main_menu ul li {
    float: right;
    padding: 6px 16px;
}

.main_menu ul li a {
    font-size: 15px;
    font-weight: 500;
    color: #313131;
}

.main_menu ul li:hover a {
    color: #000000;
}

.cta_header {
    float: left;
}

.cta_header a {
    background-color: #000000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 7px 16px;
    display: block;
    border-radius: 8px;
}

#hero {
    padding: 32px 0;
}

.hero_lastest_post {
    width: 50%;
    float: right;
    height: 510px;
    background: #ffffff;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.hero_lastest_post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.hero_lastest_post:hover img {
    transform: scale(1.025);
}

.hero_lastest_post_cover {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #00000066;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

.hero_post_details {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
    padding: 32px;
}

.hero_post_title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.hero_post_excerpt {
    font-size: 14px;
    font-weight: 500;
    color: #e4e4e4;
}

.hero_other_posts {
    width: 50%;
    float: right;
    padding: 0 24px 0 0;
}

.hero_other_posts > div {
    margin: -12px;
}

.hero_other_post_col {
    width: 50%;
    float: right;
    padding: 12px;
}

.card_post {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px #ebebeb;
}

.post_image {
    height: 215px;
    overflow: hidden;
}

.post_image img {
    transition: 0.3s ease;
}

#hero .post_image {
    height: 155px;
}

.post_image:hover img {
    transform: scale(1.025);
}

.post_details {
    padding: 24px;
}

#hero .post_details {
    padding: 16px;
}

.post_title {
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s ease;
}

#hero .post_title {
    font-size: 16px;
}

.post_excerpt {
    font-size: 14px;
    color: #6a6a6a;
    margin: 12px 0;
    height: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.post_title:hover {
    color: #5d5d5d;
}

#popular {
    padding: 32px 0;
}

.main_title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.row_posts {
    margin: 0 -12px;
}

.col_posts {
    width: 33.33%;
    float: right;
    padding: 12px;
}

#footer {
    border-top: 1px solid #dfdfdf;
    margin: 32px auto;
    padding: 32px 0 0 0;
}

.copy_right {
    font-size: 13px;
    font-weight: 500;
    color: #a3a3a3;
    text-align: center;
}

.developer {
    font-size: 13px;
    font-weight: 500;
    color: #a3a3a3;
    text-align: center;
}

.developer span a {
    color: #a3a3a3;
    font-weight: 500;
}

.developer span:hover a {
    color: #e30000;
}

.breadcrumb {
    font-size: 14px;
    margin: 0 0 64px 0;
}

.breadcrumb a {
    color: #767676;
    font-weight: 300;
    transition: 0.3s ease;
}

.breadcrumb a:hover {
    color: #000000;
}

.breadcrumb .separator {
    color: #767676;
    font-weight: 300;
    margin: 0 5px;
}

.breadcrumb .current {
    color: #000000;
}

.header_page {
    border-bottom: 1px solid #dfdfdf;
    padding: 0 0 32px 0;
    margin: 0 0 32px 0;
}

.col_details_post {
    width: 50%;
    float: right;
    padding: 0 0 0 64px;
}

.col_thumbnail_post {
    width: 50%;
    float: right;
}

.col_thumbnail_post img {
    border-radius: 10px;
}

.main_title_page {
    font-size: 40px;
    font-weight: 700;
    line-height: 64px;
}

.main_excerpt_page {
    font-size: 17px;
    color: #6a6a6a;
    text-align: justify;
    margin: 20px 0 0 0;
}

.fixed_sidebar {
    width: 250px;
    float: right;
    padding: 0 0 0 32px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
}

.read_time_box {
    border-radius: 10px;
    padding: 16px 16px;
    box-shadow: 0 0 20px #ebebeb;
    margin: 0 0 32px 0;
}

.read_time {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.read_time_fill {
    height: 100%;
    background-color: #2b71f5;
    width: 0;
    border-radius: 999px;
    transition: width .1s linear;
}

.read_time_progress {
    width: 100%;
    height: 6px;
    background-color: #dcdcdc;
    border-radius: 999px;
    overflow: hidden;
}

.content_list_title {
    color: #737373;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 16px 0;
}

.content_list ul li {
    font-size: 15px;
    padding: 3px 0;
    transition: 0.3s ease;
}

.content_list ul li a {
    transition: 0.3s ease;
}

.content_list ul li.h2 {
    font-weight: 600;
}

.content_list ul li.h3 a {
    color: #737373;
}

.content_list ul li.h3:hover a {
    color: #000000;
}

.content_list ul li.active {
    margin: 0 10px 0 0;
}

.content_list ul li.active a {
    color: #2b71f5;
}

.page_content {
    width: 630px;
    float: right;
}

.main_sidebar {
    width: 320px;
    float: right;
    padding: 0 32px 0 0;
}

.main_sidebar_title {
    color: #737373;
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 16px 0;
}

.row_sidebar_item {
    padding: 8px 0;
}

.sidebar_item_thumbnail {
    float: right;
    width: 70px;
}

.sidebar_item_thumbnail img {
    border-radius: 8px;
}

.sidebar_item_title {
    float: right;
    width: calc(100% - 70px);
    padding: 0 16px 0 0;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

.page_content {
    font-size: 16px;
    line-height: 28px;
    text-align: justify;
}

.page_content h1 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px 0;
}

.page_content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.page_content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.page_content h4 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.page_content h5 {
    font-size: 14px;
    margin: 0 0 10px 0;
}

.page_content h6 {
    font-size: 12px;
    margin: 0 0 10px 0;
}

.page_content a {
    color: #0064f5;
    text-decoration: underline;
}

.page_content p, .page_content ol, .page_content ul {
    margin-bottom: 8px;
}

.page_content ul li {
    list-style: disc;
    list-style-position: inside;
}

.page_content ol li {
    list-style-position: inside;
}

.page_content img {
    width: auto !important;
    margin: 20px 0;
    border-radius: 5px;
}

.page_content a img {
    display: block;
    margin: 20px auto;
    border-radius: 5px;
}

.alignleft {
    float: left;
    margin: 0 15px 15px 0 !important;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.alignright {
    float: right;
    margin: 5px 0 15px 15px !important;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 599px) {
    .container {
        width: 100%;
    }
}
