/*
Theme Name:		 gpc-gp
Theme URI:		 http://childtheme-generator.com/
Description:	 gpc-gp is a child theme of GeneratePress, created by ChildTheme-Generator.com
Author:			 gpc
Author URI:		 http://childtheme-generator.com/
Template:		 generatepress
Version:		 1.0.0
Text Domain:	 gpc-gp
*/


/*
    Add your custom styles here
*/

:root {
    --my-color-blue: #40A8FF;
    --my-color-orange: #F9C881;
    --my-color-orange-2: #e48c00;
}

a {
    text-decoration: none;
}

.wp-block-image {
    margin-bottom: 16px;
}

.wp-block-list.is-style-list-plain {
    margin-left: 0;
    list-style: none;
}

.wp-block-table {
	table, tr, th, td { border-color: #dad5d5 }
	th, td { padding: .5rem }
}

p:last-child,
ul:last-child {
	margin-bottom: 0;
}

/*=============================================
=            Plugins            =
=============================================*/

/*---------- Generate Block - Carousel ---------- */
.gb-carousel {
    position: relative;

    .gb-slider-nav {
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translate(0, -50%);
        z-index: 2;
    }

    .gb-carousel-pagination {
        padding: 5px 0;
    }

    .gb-carousel-control--previous {
        position: absolute;
        left: 0;
    }

    .gb-carousel-control--next {
        position: absolute;
        right: 0;
    }
}

/*---------- GB - Accordion ---------- */
.gb-accordion {
    .gb-accordion__item-open .gb-accordion__content { padding: 16px 0 }
    .gb-accordion__item-open .gb-accordion__content > :last-child { margin-bottom: 0 }
}

/*---------- GB - Query loop ---------- */
.gb-query-loop-pagination {
    [class^=gb-query-page-numbers] .page-numbers,
    &> a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        padding: 0;
    }

    [class^=gb-query-page-numbers] .page-numbers.current {
        background: #ff4301;
        color: #fff;
    }
}

/*---------- Woo ---------- */
.wc-block-product-template__responsive {
    margin-left: 0;
}

/*---------- Fluent Form ---------- */
.fluentform form.frm-fluent-form .ff-btn-submit:not(.ff_btn_no_style) {
    background: #ff4301;
}

/*---------- Breadcrumbs ---------- */
.wp-block-bcn-breadcrumb-trail {
    font-size: 13px;
}
/*=============================================
=            General            =
=============================================*/

.single:not(.page) #primary .entry-content {
    h1, h2 { font-weight: 600; color: #4e6663; }
    h3 { font-weight: 600; }
}

/*=============================================
=            Header            =
=============================================*/
#masthead {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.main-navigation ul ul {
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    min-width: 200px;
    width: max-content;
}
/*=============================================
=            Footer            =
=============================================*/

.footer-title {
    margin-bottom: 20px;
}

.footer-contact {
    margin: 0 0 0 1rem;

    li {
        margin-bottom: 8px;
    }
}

/*=============================================
=            Sidebar            =
=============================================*/
.gb-widget {
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 8px;

    &+ .gb-widget { margin-top: 20px }

    .gb-widget-title {
        font-size: 20px;
        font-weight: 600 !important;
        position: relative;
        padding-bottom: 8px;
        margin-bottom: 20px;

        &:after {
            display: block;
            content: '';
            position: absolute;
            bottom: 0;
            width: 120px;
            height: 2px;
            background: #ffc700
        }
    }
}

.gb-widget .gb-navigation {
    .gb-menu-link {
        &::before {
            display: block;
            content:'\203A';
        }
    }
}

/*=============================================
=            Home            =
=============================================*/


/*=============================================
=            Dự án            =
=============================================*/
.du-an-loop .gb-loop-item {
    position: relative;

    img { margin-bottom: 0; border-radius: 6px; }

    .post-title {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 0;
        width: 90%;
        color: #fff;
        padding: 4px 8px;
        background: #252525d9;
        border-radius: 6px;
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translate(-50%, 0);
        text-align: center;

        a {
            color: #fff;
        }
    }
}

/*=============================================
=            Timeline            =
=============================================*/
.wp-block-getwid-content-timeline-item__meta-content {
	margin-bottom: 0;
	color: #DE3C41;
	font-weight: bold;
	font-size: 18px;
}

.wp-block-getwid-content-timeline-item__content-wrapper {
	.wp-block-heading {
		color: #00A75A;
		font-weight: bold;
	}
	
	p:last-child { margin-bottom: 0 }
}

.wp-block-getwid-content-timeline__line { background-color: #00A75A !important }
.wp-block-getwid-content-timeline-item .wp-block-getwid-content-timeline-item__point-content {
	border-color: #00A75A;
}

