/*
Theme Name: 123Web.vn
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/**** Topbar ***/
#top-bar .html_topbar_left a {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 23px;
}
#top-bar .html_topbar_left a i {
    margin-right: 10px;
    font-size: 15px;
    font-weight: 600;
}
/*** Main ***/
#masthead .header-nav > li {
    margin: 0 17px;
}
#masthead .header-nav > li > a {
    font-size: 16px;
    font-weight: 400;
}
#masthead .header-nav > li:not(.html) > a::before {
    width: 0;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
#masthead .header-nav > li:not(.html).active > a::before,
#masthead .header-nav > li:not(.html) > a:hover::before {
    width: 100%;
}

/*** Search ***/
#header .header-search-form {
    padding-bottom: 0;
}
#header .searchform > .flex-row {
    border-bottom: 2px solid #eee;
}
#header .searchform input,
#header .searchform button {
    border: 0;
    background-color: transparent;
    font-size: 14px;
    color: #0e1c22;
}
#header .searchform button i::before {
    font-size: 14px;
}

.html.custom a.btn-gd:after {
    content: "\f30b";
    font-family: "Font Awesome 5 Pro";
    margin-left: 10px;
}
a.btn-gd::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    -webkit-transition: all 0.5s !important;
    -moz-transition: all 0.5s !important;
    -o-transition: all 0.5s !important;
    transition: all 0.5s !important;
    opacity: 1 !important;
    -webkit-transform: translate(-105%, 0) !important;
    transform: translate(-105%, 0) !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
}
a.btn-gd:hover::before {
    opacity: 0 !important;
    -webkit-transform: translate(0, 0) !important;
    transform: translate(0, 0) !important;
}
.html.custom a.btn-gd:hover {
    background: #16327a !important;
}

/*************** ADD CUSTOM CSS HERE.   ***************/
#masthead .header-nav > li:not(.html) > a::before {
    width: 0;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}
#masthead .header-nav > li:not(.html).active > a::before,
#masthead .header-nav > li:not(.html) > a:hover::before {
    width: 100%;
}
.ct-h1 h1 span strong {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #e70f47;
	position: relative;
}
.ct-h1 h1 span strong::after {
    content: "";
    width: 24px;
    height: 24px;
    border-radius: 12px;
    background-color: var(--primary-color);
    position: absolute;
    right: -34px;
    bottom: 7px;
}

.bg-dot > .bg {
    background-repeat: repeat !important;
    background-image: url(/wp-content/themes/123web-vn/assets/img/bg-dot.png);
    background-size: auto !important;
}
.bg-color .row > .col {
    background: #faf9ff;
}

.col-services > .col-inner {
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    box-shadow: 0 0 10px rgb(0 0 0 / 4%);
    -moz-box-shadow: 0 0 10px rgb(0 0 0 / 4%);
    -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 4%);
    -o-box-shadow: 0 0 10px rgb(0 0 0 / 4%);
}
.col-services > .col-inner:hover {
    box-shadow: 0 1px 10px rgb(34 24 20 / 35%);
    -moz-box-shadow: 0 1px 10px rgb(34 24 20 / 35%);
    -webkit-box-shadow: 0 1px 10px rgb(34 24 20 / 35%);
    -o-box-shadow: 0 1px 10px rgb(34 24 20 / 35%);
}
.col-services .text {
    font-size: 14px;
}
.col-services ul {
    margin: 0 0 0 20px;
}
.col-services ul li {
    margin: 0 0 5px;
}
.col-services ul li:last-child {
    margin: 0;
}
.col-services .icon-box {
    margin: 0 0 15px;
}
.col-services .icon-box .icon-box-img {
    margin-bottom: 20px;
}
.col-services .icon-box .icon-box-img img {
    transition: all ease .3s;
    -moz-transition: all ease .3s;
    -webkit-transition: all ease .3s;
    -o-transition: all ease .3s;
}
.col-services .img {
	max-width: 100px;
	max-height: 100px;
	display: inline-block;
}
.col-services .img:nth-child(2) {
    opacity: 0 !important;
    position: absolute;
    left: 0;
    right: 0;
}
.col-services .icon-box:hover .img:nth-child(2) {
    opacity: 1 !important;
}
.col-services .icon-box:hover .img:nth-child(1) {
	opacity: 0 !important;
}

/*
.col-services .icon-box .icon-box-img img.img-hover,
.col-services .icon-box:hover .icon-box-img img:not(.img-hover) {
    opacity: 0;
}
.col-services .icon-box:hover .icon-box-img img.img-hover {
    opacity: 1;
}
*/

.ct-title-2 h2 strong {
    -webkit-text-stroke-color: #373737;
    color: transparent;
    -webkit-text-stroke-width: 1px;
}

.team_members .box-text-inner h4::before {
    content: "";
    width: 1px;
    height: 35px;
    background: var(--primary-color);
    position: absolute; /* bottom: 0; */
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    top: 12px;
    left: calc(50% - 1px);
}
.team_members .box-text-inner h4 {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    margin-top: 42px;
}
.team_members .box-text-inner h4 .person-name {
    color: #16327a;
    font-size: 24px;
}
.team_members .col .col-inner > .box:hover h4::before {
    height: 0;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}
.team_members .col .col-inner > .box:hover h4 {
    margin-top: 0px;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
}
.bf-round::before {
    content: "";
    background: url(/wp-content/themes/123web-vn/assets/img/round-sh.png);
    width: 441px;
    height: 441px;
    position: absolute;
    left: 10px;
    top: 20px;
    opacity: 0.2;
}

/*** BLOG ***/
.blog-wrapper .is-divider {
    display: none;
}

.blog-wrapper > .row {
    max-width: 1140px !important;
    background-color: #faf9ff;
    /* padding: 20px 0; */
    position: relative;
}

.blog-wrapper > .row > .col,
.page-right-sidebar > .row > .col,
.category-page-row > .col {
    padding: 0 15px 20px;
}

.blog-wrapper > .row > .col.large-3,
.page-right-sidebar > .row > .col.large-3 {
    max-width: 30%;
    -ms-flex-preferred-size: 30%;
    flex-basis: 30%;
}

.blog-wrapper > .row > .col.large-9,
.page-right-sidebar > .row > .col.large-9 {
    max-width: 70%;
    -ms-flex-preferred-size: 70%;
    flex-basis: 70%;
}

.post-meta::before,
.entry-meta::before {
    content: "\f073";
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 16px;
    position: relative;
    top: -1px;
}

/*** ARCHIVE ***/
.mh-col-no-divider .is-divider {
    display: none;
}
.blog-wrapper .badge {
    height: 3.8em;
    width: 3.8em;
}
.blog-wrapper .badge .badge-inner {
    line-height: 1;
}
.blog-wrapper .badge .badge-inner .post-date-day {
    font-size: 17px;
}
.blog-archive > .row > .col {
    max-width: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}
.mh-featured-blog .box-text h5 {
    font-size: 16px;
    line-height: 25px;
    margin: 0;
}
.blog-archive .archive-page-header h1 {
    padding: 0 0 15px;
    font-size: 20px;
    line-height: 25px;
    border-bottom: 2px solid #e1e1e1;
    text-align: left;
    margin: 0 15px;
    position: relative;
}
.blog-archive .archive-page-header h1::after {
    content: "";
    display: block;
    width: 13%;
    background-color: var(--primary-color);
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -1px;
}
.blog-archive .col:not(.post-sidebar) .col.post-item .box-text {
    padding: 0 0 0 35px;
    vertical-align: top;
}
.blog-archive .col:not(.post-sidebar) .col.post-item .post-title,
.mh-grid-blog .col.post-item .post-title {
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.blog-archive .col:not(.post-sidebar) .col.post-item .post-title,
.mh-grid-blog .col.post-item .box-text .post-title {
    font-size: 25px;
    line-height: 32px;
}
.blog-archive .col:not(.post-sidebar) .col.post-item .post-meta,
.mh-grid-blog .col.post-item .box-text .post-meta,
.blog-archive .col:not(.post-sidebar) .col.post-item .box-text .from_the_blog_excerpt,
.mh-grid-blog .col.post-item .box-text .from_the_blog_excerpt {
    opacity: 1;
    font-size: 16px;
    line-height: 25px;
    margin: 0;
}

/* Single */
.blog-single::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    top: 0;
    background-image: url("assets/img/bg-dot.png");
    background-position-y: 10px;
}

.blog-wrapper.blog-single .entry-image {
    margin: 0 0 20px;
}

.blog-wrapper.blog-single .entry-header-text {
    padding-bottom: 20px;
}

.blog-wrapper.blog-single .entry-title {
    font-size: 25px;
    line-height: 32px;
    text-transform: initial;
    margin: 0 0 10px;
}

.blog-wrapper.blog-single .entry-category {
    display: none;
}

.blog-wrapper.blog-single .entry-meta span,
.blog-wrapper.blog-single .entry-meta a {
    opacity: 1;
    text-transform: capitalize;
    font-size: 13px;
}

.blog-wrapper.blog-single .entry-meta,
.blog-wrapper.blog-single .entry-meta a,
.blog-wrapper.blog-single .entry-meta span {
    opacity: 1;
    font-size: 15px;
    font-style: italic;
}

.blog-wrapper.blog-single .entry-excerpt {
    margin: 0 0 20px;
}

.blog-wrapper.blog-single .entry-share {
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    padding: 10px 0;
}

.blog-wrapper.blog-single .entry-share > span {
    font-size: 14px;
    margin-right: 10px;
}

.blog-wrapper.blog-single .entry-share .share-icons > a {
    margin-bottom: 0;
}

.blog-wrapper.blog-single .entry-content {
    text-align: justify;
    padding-bottom: 0;
}

.blog-wrapper.blog-single .entry-content p {
    font-size: 15px;
    margin: 0 0 5px;
}

.blog-wrapper.blog-single .entry-content img {
    margin: 15px 0;
}

.blog-wrapper.blog-single .entry-content h2 {
    font-size: 20px;
}

.blog-wrapper.blog-single .entry-content h3,
.blog-wrapper.blog-single .entry-content h4 {
    font-size: 18px;
}

.blog-wrapper.blog-single .entry-content h5,
.blog-wrapper.blog-single .entry-content h6 {
    font-size: 16px;
}

.blog-wrapper.blog-single .blog-share {
    margin: 30px 0 0;
}

.related-post h6 {
    font-size: 22px;
    margin: 0 0 25px;
}

.tags-list {
    font-weight: bold;
    margin: 0 0 25px;
}

.tags-list > a:not(:last-child)::after {
    content: ", ";
}

/* Sidebar */

.widget-title {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 22px !important;
    line-height: 27px !important;
    padding: 10px 15px;
    margin: 0 0 20px;
}

/* Widget Blog */

.mh-widget-recent-post > .col.post-item:last-child {
    padding-bottom: 0;
}

.mh-widget-recent-post .box-text {
    vertical-align: middle;
}

.mh-widget-recent-post .post-title {
    font-size: 15px !important;
    margin: 0 0 3px !important;
    line-height: 1.3 !important;
    max-height: 40px !important;
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    position: relative;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    font-weight: 400;
}

.mh-widget-recent-post a:hover .post-title {
    color: var(--primary-color);
}

.mh-widget-recent-post .post-meta {
    margin: 0;
    font-size: 13px;
    text-transform: capitalize;
    opacity: 1;
}

.mh-widget-recent-post .post-meta::before {
    font-size: 13px;
    margin-right: 5px;
}

/* Related post */
.mh-list-blog .box-vertical .box-text .post-title {
	min-height: 39px;
    font-size: 15px;
    margin: 0 0 5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.mh-list-blog a:hover .post-title {
    color: var(--primary-color);
}

.mh-list-blog .box-vertical .box-text .post-meta {
    opacity: 1;
    margin: 0;
    font-size: 13px;
}

.mh-list-blog .box-vertical .box-text .post-meta::before {
    font-size: 13px;
    margin-right: 5px;
}

.mh-list-blog .box-vertical .box-text .from_the_blog_excerpt {
    margin: 0;
    line-height: 1.3;
    font-size: 15px;
}

/*** FOOTER ***/
.mh-col-footer p,
.mh-col-footer li,
.mh-col-footer a:not(.icon) {
    font-size: 15px;
}

.mh-col-footer p {
    margin: 0;
}

.mh-col-footer i {
    font-size: 14px;
    margin-right: 10px;
}

.mh-col-footer ul {
    list-style: none;
    margin: 0;
}

.mh-col-footer li {
    margin: 0 0 10px !important;
}

.mh-col-footer li {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.mh-col-footer li i {
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #838383;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    -o-border-radius: 100%;
    font-size: 10px;
    position: relative;
    top: 3px;
}

.mh-col-footer .footer-title h5 {
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 16px;
    line-height: 21px;
    margin: 0 0 15px;
    font-weight: 700;
}

.mh-col-footer .wpcf7-form > .flex-row {
    border-bottom: 1px solid var(--primary-color);
}

.mh-col-footer .wpcf7-form input {
    background-color: transparent !important;
    border: 0;
    margin: 0;
    font-size: 14px;
    color: #373737;
}

.mh-col-footer .wpcf7-form input.wpcf7-text {
    font-style: italic;
}

.mh-col-footer .wpcf7-form input.wpcf7-submit {
    padding: 0;
    width: 40px;
}

.absolute-footer {
    padding: 15px 0;
}

.absolute-footer p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
}
.absolute-footer .footer-primary {
    padding-top: 12px;
    border-top: 1px solid #c0c0c0c0;
}
.absolute-footer p a {
    font-weight: bold;
}
#footer input[type="email"] {
    color: #ffffff;
}
#footer input[type="email"]::placeholder {
    color: #ffffff;
    opacity: 1;
}
#footer input[type="email"]:-ms-input-placeholder {
    color: #ffffff;
}
#footer input[type="email"]::-ms-input-placeholder {
    color: #ffffff;
}
#footer input[type="submit"] {
    color: #ffffff;
}
/* Form */
select,
input,
textarea,
.mh-input {
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -o-box-shadow: none !important;
}
.wpcf7-form {
    margin-bottom: 0;
}
.wpcf7 .flex-col .wpcf7-not-valid-tip {
    font-size: 13px;
}
/*** LOGO ***/
.mh-box-partner {
    border-top: 1px solid #d5d6da;
    border-right: 1px solid #d5d6da;
    padding: 1px;
}
.mh-box-partner .icon-box-img {
    margin-bottom: 0;
    cursor: pointer;
}
.mh-box-partner > .col > .col-inner > a.plain::before,
.mh-box-partner > .col > .col-inner > a.plain::after {
    position: absolute;
    content: "";
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    z-index: 1;
    border: solid var(--primary-color);
}
.mh-box-partner > .col > .col-inner > a.plain::before {
    top: -1px;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    border-width: 1px 0;
}
.mh-box-partner > .col > .col-inner > a.plain::after {
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    border-width: 0 1px;
    left: 0;
    right: 0;
}
.mh-box-partner > .col:hover > .col-inner > a.plain::before {
    left: 0;
    right: 0;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
}
.mh-box-partner > .col:hover > .col-inner > a.plain::after {
    top: -1px;
    bottom: -1px;
    transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    -o-transform: none;
}
.mh-box-partner .icon-box-img img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    transition: all ease 0.3s;
}
.mh-box-partner a.plain:hover img {
    -webkit-filter: grayscale(0);
}
/*** END LOGO ***/
.items-partner > .icon-box-img {
    min-height: 150px;
    max-height: 150px;
    max-width: 150px;
    border: 2px solid #d1d1d1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 100%;
    padding: 20px;
    margin-bottom: 25px;
}
.items-partner > .icon-box-text {
    font-size: 15px;
    margin: auto;
}

.img-border .img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    top: 20px;
    left: -20px;
}

.mission_vision .icon .icon-inner::before {
    content: "";
    width: 45px;
    height: 45px;
    position: absolute;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    top: 40%;
    right: 0;
    background: rgba(231,15,71,0.2);
}

@media only screen and (max-width: 48em) {
	/* Blog */
	.blog-wrapper {
		padding-top: 25px;
	}
	.blog-wrapper > .row > .col {
		max-width: 100% !important;
		-ms-flex-preferred-size: 100% !important;
		flex-basis: 100% !important;
	}

	.blog-archive .col:not(.post-sidebar) .col.post-item .box-text {
		padding: 0 0 0 25px;
	}

	.blog-archive .col:not(.post-sidebar) .col.post-item .post-title,
	.mh-grid-blog .col.post-item .box-text .post-title {
		font-size: 20px;
		line-height: 1.4;
	}

	.blog-archive .col:not(.post-sidebar) .col.post-item .post-meta,
	.mh-grid-blog .col.post-item .box-text .post-meta,
	.blog-archive
		.col:not(.post-sidebar)
		.col.post-item
		.box-text
		.from_the_blog_excerpt,
	.mh-grid-blog .col.post-item .box-text .from_the_blog_excerpt {
		font-size: 15px;
	}

	.blog-archive .archive-page-header h1 {
		margin: 0;
	}

	.blog-wrapper article.post {
		margin: 0 0 10px;
	}

	.tags-list {
		text-align: center;
		margin: 0 0 20px;
	}


	.blog-wrapper.blog-single .entry-title {
		font-size: 20px;
	}
	.blog-archive .col:not(.post-sidebar) .col.post-item .box-text {
		padding: 20px 0 0;
	}
	.blog-archive .col:not(.post-sidebar) .col.post-item .post-title,
	.mh-grid-blog .col.post-item .box-text .post-title {
		font-size: 18px;
		margin: 0 0 5px;
	}
	.mh-featured-blog .box-text h5 {
		font-size: 18px;
	}
	.blog-archive .col:not(.post-sidebar) .col.post-item .post-meta,
	.mh-grid-blog .col.post-item .box-text .post-meta,
	.blog-archive
		.col:not(.post-sidebar)
		.col.post-item
		.box-text
		.from_the_blog_excerpt,
	.mh-grid-blog .col.post-item .box-text .from_the_blog_excerpt {
		line-height: 1.4;
	}
	/* Global */
	.mh-widget-recent-post .box-vertical,
	.mh-list-blog .box-vertical {
		display: flex;
		flex-direction: row;
	}
	.mh-widget-recent-post .box-vertical .box-image,
	.mh-list-blog .box-vertical .box-image {
		width: 45% !important;
	}
	.mh-widget-recent-post .box-vertical .box-text,
	.mh-list-blog .box-vertical .box-text {
    	padding: 0 0 0 10px !important;
	}
	.social-icons i {
    	font-size: 12px !important;
    	top: -1px;
	}


}