/*
Theme Name: DAgency
Description: A child theme of GeneratePress
Author: Salah Uddin
Author URI: https://salahuddin.dev/
Version: 1.0.1
Template: generatepress
Theme URI: https://wpfix247.com/wordpress-child-theme-generator/
Text Domain: dagency
*/

/* Body */
p {
    margin-bottom: 0.5em;
}

/* Header */
.site-header {
    transition: all 0.3s ease-out 0s;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 99;
    border-bottom: 1px solid #f1f1f1;
}

.inside-header {
    min-height: 65px;
    position: relative;
}

.very_top, .very_top a {
    color: #fff;
}

.very_top .wp-block-social-links li a {
    padding: 0;
    color: #fff !important;
    font-size: 18px;
}

/* Main Navigasi */
.main-navigation ul ul {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: none;
}

.main-navigation ul ul li {
    border-bottom: 1px solid rgba(255,255,255,0.15);
    ; }

.main-navigation ul ul li:last-child {
    border-bottom: none;
}

.main-navigation ul ul:before {
    content: " ";
    position: absolute;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 9px solid var(--accent);
    width: 0;
    top: -9px;
    height: 0;
    left: 18%;
}

.main-navigation .main-nav ul li.cta a {
    background: var(--accent)!Important;
    line-height: 42px!Important;
    color: var(--contrast)!Important;
    border-radius: 8px;
    font-weight: bold;
    margin-left: 15px;
}

/* Page Normal */
.page header.entry-header {
    margin: 35px 0 15px;
}

.page header.entry-header h1 {
    margin: 0;
    font-weight: bold;
}

.page .entry-content {
    margin-top: 0;
}

/* .page .entry-content ul, .page .entry-content ol {
    margin-left: 1em;
} */

.single-guru table, .page .dynamic-entry-content table {
    border: 1px solid #f1f1f1;
    border-top: 3px solid #f1f1f1;
}

.single-guru .wp-block-table thead , .page .dynamic-entry-content .wp-block-table thead {
    border-bottom: 1px solid #f1f1f1;
    background: #f7f7f7;
}

.single-guru table tr:nth-child(even), .page .dynamic-entry-content table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.single-guru table td, .single-guru table th, .page .dynamic-entry-content table td, .page .dynamic-entry-content table th {
    border: none;
    font-size: 14px;
    line-height: 1.45em;
    padding: 10px 20px
}

.gb-text strong em {
    font-style: normal;
    font-weight: 900;
    color: var(--options);
}

/* Custom Social Share */
.ss-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ss-wrapper a {
    font-size: 17px;
    height: 33px;
    width: 33px;
    position: relative;
    border-radius: 50px;
    border: 1px solid #d2d5db;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-wrapper a svg {
    width: 14px;
    height: 14px;
    fill: var(--contrast);
}

.ss-wrapper a.tg svg {
    height: 26px;
    width: 28px;
    scale: 65%;
    position: absolute !important;
    top: 2px!Important;
}

.ss-wrapper a:hover svg {
    fill: var(--accent);
}

.ss-wrapper a.tg svg {
    position: relative;
    top: -3px;
}

/* Image Gallery */
.gb-block-image figcaption, .wp-block-image figcaption {
    font-size: 13px;
    text-align: center;
    margin: 10px 0 0;
    line-height: 19px;
}

/* Archive Style */
.blog .site-content {
    margin-top: 20px;
}

.search .page-header, .archive .page-header, .blog .page-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    font-size: 15px;
    line-height: 1.45em;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #f1f1f1;
}

.search .page-header h1, .archive .page-header h1, .blog .page-header h1 {
    margin-bottom: 0;
    font-size: 24px;
}

.author-info, .taxonomy-description p {
    margin-top: 10px;
    font-size: 14.5px;
}

.paging-navigation {
    margin: 0;
    background: none!important;
    text-align: center;
    font-size: 14px;
    padding: 25px 0!important;
}

.nav-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.paging-navigation span, .paging-navigation a {
    padding: 5px 10px !important;
    color: var(--contrast)!important;
    border-radius: 0;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.paging-navigation span.current {
    border: 2px solid #ccc;
    box-shadow: 0px 0px 0 7px #f1f1f1;
}

a.prev, a.next, a.prev span, a.next span {
    display: none;
}

.masonry-load-more.load-more {
    text-align: center;
    margin: 30px 0 0;
}

.masonry-load-more.load-more a {
    font-weight: bold;
    border-radius: 6px;
}

blockquote {
    border-left: 5px solid var(--accent);
}

.vertica_text {
    writing-mode: vertical-lr;
    text-orientation: sideways;
    transform: rotate(-180deg);
}

.tax_list .gb-text {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
}

.ps_left {
    min-width: 220px;
    position: absolute;
    text-transform: uppercase;
    top: 22px;
    left: -55px;
    transform: rotate(-35deg);
    z-index: 2;
}

.round img {
    border-radius: 5px;
}

.rouded img {
    border-radius: 50%;
}

.author .page-header .avatar {
    margin-right: 10px;
    border-radius: 50%;
    width: 40px;
}

.dynamic-term-description p {
    margin-bottom: 0;
}

/* Left Nav */
.left_nav ul {
    margin: 0!Important;
    width: 100%;
    display: block;
}

.left_nav ul li {
    display: block!Important;
    width: 100%;
}

.left_nav ul li a {
    font-size: 15px;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
}

.left_nav ul li.current-menu-item a {
    border-bottom: 1px solid var(--accent);
    color: var(--accent)!Important;
    font-weight: bold;
}

/* Overwrite Archive */
.gb-text-c8e5afe6 {
    column-gap: 10px!Important;
    row-gap: 10px!Important;
}

.gb-element-b11bb921 {
    flex-wrap: wrap!Important;
    row-gap: 10px!Important;
}

/* Splide Slider Style */
.splide__list {
    display: flex!important;
    column-gap: 0!Important;
    row-gap: 0!Important;
}

.splide__pagination {
    bottom: 25px;
    position: static;
    display: flex;
    gap: 6px;
    margin-top: 25px;
}

.splide__pagination li {
    justify-content: center;
    align-items: center;
    display: flex;
    opacity: 1;
    background: none;
    border-radius: 50px;
}

.splide__pagination button {
    margin: 0;
    width: 6px;
    background: #ccc!Important;
    height: 6px;
}

.splide__pagination__page.is-active {
    width: 18px;
    margin: 0 3px;
    height: 4px;
    border-radius: 10px;
}

.splide__pagination {
    justify-content: center;
    padding-right: 40px;
    padding: 0;
}

.heroslide .splide__pagination {
    position: absolute;
}

.sideslide .splide__pagination {
    position: absolute;
    bottom: 18px;
}

.sideslide .splide__pagination button {
    background: #000!Important;
    opacity: 0.2;
}

/* 404 */
.error404 .inside-article {
    text-align: center;
    padding-top: 45px;
}

.error404 .search-form {
    display: none;
}

.error404 .entry-content {
    margin-top: 20px;
}

/* Search Not Found */
.no-results.not-found .inside-article {
}

.no-results.not-found .entry-content form.search-form {
    display: none;
}

/* Sidebar */
.inside-right-sidebar {
    position: sticky;
    top: 100px;
}

.list_custom {
    list-style: none;
    counter-reset: my-awesome-counter;
}

.list_custom .gb-loop-item h2, .list_custom .gb-loop-item p.gb-text {
    counter-increment: my-awesome-counter;
    position: relative;
    padding-left: 40px;
}

.list_custom .gb-loop-item p.gb-text:before, .list_custom .gb-loop-item h2:before {
    content: "#" counter(my-awesome-counter);
    top: 4px;
    left: 0;
    font-size: 14px;
    font-weight: bold;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 40px;
    flex-shrink: 0;
    position: absolute;
    top: 4px;
    color: #fff;
    background: var(--options);
    border-radius: 0 0 10px 0px;
}

h2.sidebar_loop {
    font-size: 16px;
    margin-bottom: 0;
    line-height: 1.4em;
}

.site-footer .list_custom .gb-loop-item p.gb-text:before {
    content: counter(my-awesome-counter);
    top: 4px;
    left: 0;
    font-size: 12px;
    font-weight: bold;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: 40px;
    flex-shrink: 0;
    position: absolute;
    top: 4px;
    border: none;
    background-color: var(--accent)!important;
    color: var(--contrast);
}

/* Timeline Style */
ul.steps {
    margin: 0!important;
    counter-reset: li;
}

ul.steps > li {
    position: relative;
    display: block;
    list-style: none;
    font-size: 16px;
    padding-left: 39px;
    padding-bottom: 15px;
}

ul.steps > li::before {
    content: counter(li);
    counter-increment: li;
    position: absolute;
    top: 5px;
    left: 0;
    box-sizing: border-box;
    margin-right: 8px;
    display: block;
    font-size: 15px;
    font-weight: 700;
    padding: 7px;
    width: 25px;
    height: 25px;
    text-align: center;
    font-weight: 500;
    background: var(--accent);
    color: var(--contrast);
    border-radius: 999em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px 3px 10px 3px;
}

ul.steps > li:last-child {
    border-left: 0;
}

ul.steps > li strong {
    font-size: 18px;
}

/* Breadcrumb */
.rank-math-breadcrumb p {
    margin-bottom: 0;
}

.breadcrumb {
    padding: 0!Important;
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* EZ TOC */
.ez-toc-title-toggle {
    display: none!important;
}

#ez-toc-container {
    background: none!important;
    border: none!important;
    border-radius: 0!important;
    box-shadow: 0!important;
    padding: 0!important;
    width: 100%!important;
}

#ez-toc-container a {
    padding: 12px 0 12px 20px!important;
    font-size: 16px!important;
    display: block!important;
    position: relative!important;
    color: var(--accent)!important;
    border-bottom: 1px solid #f1f1f1!important;
}

#ez-toc-container li:laste-child a {
    border-bottom: 0px solid #f1f1f1!important;
}

#ez-toc-container a:before {
    content: 'Â»';
    display: inline-block;
    left: 0;
    position: absolute;
    top: 7px;
    font-size: 20px;
}

#ez-toc-container {
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 5px rgba(228,230,235,0.35);
    margin-bottom: 35px;
    border: 1px solid #e5e7eb!important;
    border-radius: 5px!important;
    padding: 30px!Important;
}

div#ez-toc-container .ez-toc-title {
    font-weight: bold!important;
    font-size: 22px!important;
}

.ez-toc-title-container {
    margin-bottom: 12px;
}

/* Single Post Content */
.single .dynamic-entry-content ul, .single .dynamic-entry-content ol {
    margin-left: 1em;
}

.single .dynamic-entry-content ul li, .single .dynamic-entry-content ol li {
    margin-bottom: 5px;
}

.wp-block-post-author__name {
    font-weight: 20px;
    font-weight: bold;
}

.wp-block-post-author__name a {
    color: var(--contrast);
}

.wp-block-post-author__bio {
    font-size: 15px;
}

.wp-block-post-author__avatar {
    padding-top: 3px;
}

.wp-block-post-author__avatar img {
    border-radius: 50px;
}

/* Share Button Style */
.addtoany_list {
    display: flex!important;
    gap: 8px;
}

.addtoany_list.a2a_kit_size_32 a {
    display: flex!important;
    padding: 0!important;
}

.addtoany_list.a2a_kit_size_32 span {
    height: 30px!important;
    width: 30px!important;
    border-radius: 50px!Important;
    border: 1px solid #d2d5db;
    padding: 5px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    background: none!Important;
}

/* Tag List */
.taxonomy-post_tag {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.taxonomy-post_tag a {
    color: var(--contrast);
    position: relative;
    background: #f3f3f3;
    padding: 4px 13px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 5px;
    display: inline-block;
    transition: all .3s ease-in-out;
}

.taxonomy-post_tag a::before {
    content: "#";
}

.taxonomy-post_tag a:hover {
    background: var(--contrast);
    color: #fff;
}

.wp-block-post-terms__separator {
    display: none;
}

/* Table */
.wp-block-table thead {
    border-bottom: 3px solid var(--light-gray);
}

.wp-block-table th {
    border: 1px solid var(--light-gray);
    background: #eee;
}

table, td, .wp-block-table td {
    border-color: var(--light-gray);
}

.wp-block-table td, .wp-block-table th {
    font-size: 15px;
}

/* Comment */
.comments-area {
    border: 0px solid #f1f1f1;
    padding: 0px!important;
    border-radius: 8px;
    margin-top: 25px;
    font-size: 14px;
    background: none!important;
}

.comment-content {
    padding: 0;
    border: none;
    margin: 8px 0;
    padding: 10px 0!Important;
    border-radius: 8px;
}

.comment-content p {
    margin-bottom: 10px;
    line-height: 21px;
}

.comment-list .reply a {
    border-radius: 20px;
    padding: 2px 10px;
    border: 1px solid #f1f1f1;
}

.comment-list article {
    border: none;
    padding: 0!important;
    margin: 0!important;
}

.comment-list li.depth-1 {
    border: 0px solid #f1f1f1!important;
    padding: 0px!important;
}

.comment .children {
    padding-left: 30px;
    margin: 20px 0 20px 20px!important;
    border-left: 0 dotted rgba(0,0,0,.09)!important;
    border-bottom: none !important;
}

.comment-respond {
    margin-top: 40px;
}

.comment-form input, .comment-form textarea {
    border-radius: 5px!Important;
    width: 100%;
}

.comment-form input#submit, .comment-form input#wp-comment-cookies-consent {
    width: auto;
}

.entry-meta.comment-metadata {
    font-size: 12px;
}

/* Search Modal Pop-UP */
.search-modal-form {
    background: transparent!important;
}

.gp-modal__container input.search-field {
    margin: 0!important;
    border: none !important;
}

.search-modal-fields {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Limite Title */
.limit_desk {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.limit_two {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Footer */
.site-footer h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.12)
}

.wp-block-social-links {
    margin-bottom: 0;
}

.site-footer ul.wp-block-categories {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    row-gap: 10px;
    margin: 0px;
}

.site-footer ul.wp-block-categories li {
    list-style-type: none;
}

.site-footer ul.wp-block-categories li a {
    list-style-type: none;
    font-size: 12px;
    line-height: 1em;
    text-transform: uppercase;
    border: 1px solid #ffffff;
    border-radius: 5px;
    padding: 6px 12px;
}

@media only screen and (max-width: 1200px) {
    .gb_wrapper, .site-content, .site-header {
        padding-left:70px!important;
        padding-right: 70px!important;
    }

    .toggled .menu-item-has-children .dropdown-menu-toggle {
        padding-right: 0;
    }

    .site-logo, .site-logo.page-hero-logo {
        position: absolute;
        left: 0;
        top: 18px;
    }

    .has-inline-mobile-toggle .inside-header {
        align-content: center;
    }

    .menu-toggle {
        font-size: 24px!Important;
        background: none!Important;
    }

    .menu-toggle {
        position: absolute;
        right: -20px;
        top: 0px;
    }

    .has-inline-mobile-toggle #site-navigation.toggled {
        margin-top: 85px;
        padding: 15px 0 30px;
        border-top: 1px solid #f1f1f1;
    }

    .main-navigation ul ul {
        background: #fff;
    }

    .main-navigation .main-nav ul li a {
        padding-left: 0;
        padding-right: 0;
        line-height: 45px;
    }

    .main-navigation .main-nav ul li.cta {
        margin-top: 10px;
    }

    .main-navigation .main-nav ul li.cta a {
        margin-left: 0;
        display: block;
        padding: 0px 30px;
        text-align: center;
        text-transform: uppercase;
        width: 100%!Important
    }

    .toggled .menu-item-has-children .dropdown-menu-toggle {
        padding-right: 15px;
        font-size: 22px;
    }

    .main-navigation ul ul li {
        position: relative;
    }

    .main-navigation ul ul li a:before {
        border-style: solid;
        border-width: 1px 1px 0 0;
        content: '';
        display: inline-block;
        height: 6px;
        width: 6px;
        left: 0;
        position: absolute;
        top: 16px;
        transform: rotate(-45deg);
        vertical-align: top;
        transform: rotate(45deg);
    }

    body.full-width-content .site-content, #generate-slideout-menu .inside-navigation.grid-container {
        padding-left: 0px!important;
        padding-right: 0px!important;
    }
}

@media only screen and (max-width: 767px) {
    .gb_wrapper, .site-header, .site-content {
        padding-left:20px!important;
        padding-right: 20px!important;
    }

    .site-header .header-image {
        width: 145px;
    }

    .site-logo, .site-logo.page-hero-logo {
        position: absolute;
        top: 22px;
    }

    /* Limite Title */
    .limit {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

