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

/*************** ADD CUSTOM CSS HERE.   ***************/
/* -------------- FOOTER ----------------- */
.f-title {
	text-transform: uppercase;
	font-weight: bold;
	margin: 20px 0px 27px;
}
/***************** Sidebar *******************/
.widget {
    margin-bottom: 1em;
}
.post-sidebar {padding-left:15px !important;}
ul.top-sidebar {background: #0879bf;color:#fff;padding: 10px;}
.top-sidebar li {border-top: 1px solid #fff;padding: 10px 0px 5px 0px;}
.top-sidebar li:first-child {border-top: none;}
.top-sidebar li a {color: #fff}
.title-sidebar {
	background: #c88450;
	padding: 10px;
	color: #fff;
	text-transform: uppercase;
	margin-bottom: 0px;
}
.block-sidebar ul {color:#fff;padding: 10px;border: 1px solid #c88450}
.block-sidebar li {border-top: 1px solid #eee;padding: 5px 0px 5px 0px;margin: 0px;}
.block-sidebar li:first-child {border-top: none;}
.block-sidebar li:before {
	background-image: url('../../uploads/2018/11/icon.png');
	display: inline-block;
	content: "";
	width: 18px;
	height: 18px;
	margin: 0px 5px 0px 0px;
	background-size: contain;
	vertical-align: middle;
}
.content-sidebar {border: 1px solid #c88450;padding: 10px;}
.content-sidebar .col.post-item {padding-bottom:0px;padding-top:0px}
.content-sidebar .box-vertical .box-text {padding: 0px 0px 0px 10px;}
.content-sidebar .col.post-item:first-child .box-image {
	width: 100% !important;
	display: table-caption;
	margin: 10px 0px;
}
.content-sidebar .col.post-item:first-child .box-image .image-cover {padding-top:0px !important}
.content-sidebar .col.post-item:first-child .box-image img {height:auto;position: inherit;}
.content-sidebar .col.post-item:first-child .box-text {padding-left:0px;}
.content-sidebar h5 {font-weight:500;}
.hotline-sidebar {
	font-size: 20px;
	color: red;
	font-weight: 700;
	display: block;
	margin: 15px;
}
/*************** CONTACT FIXED   ***************/
.ts-contact {position: fixed;right: 1%;top: 40%;width: 45px;}
.ts-contact ul {list-style: none;z-index:999;}
.ts-contact ul li {position: relative;}
.ts-contact ul li:hover {box-shadow: 0px 0px 15px rgba(225,229,99);border-radius: 99px;}
.text-hover {
	width: max-content;
    height: auto;
    background-color: rgba(225,229,99,0.6);
    position: absolute;
	top:5px;
    right:55px;
    text-align: right;
    color: #006859;
    padding: 5px 10px;
    box-sizing: border-box;
    opacity: 0;
	border-radius: 5px;
	font-size: 14px;
}
.ts-contact ul li:hover .text-hover::after {
	left: 100%;
    transform: rotateZ(-180deg);
	border-color: transparent rgba(225,229,99,0.6) transparent transparent!important;
	content: "";
    position: absolute;
    top: 50%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
}
.ts-contact ul li:hover .text-hover {opacity:1;transition:ease-in-out 0.5s;}
.face-mobile {display:none;}
/******************** POPUP ********************/
.sb-tuvan {background:#B76F3C;padding:40px 40px 20px 40px;}
.sb-tuvan p {position:relative;color:#fff;text-align:center;font-size:20px}
.sb-tuvan p::after {
	content: "";
    position: absolute;
    bottom: -5px;
    border-bottom: 1px solid #fff;
    width: 70%;
    left: 15%;
}
.sm-dktv {text-align:center}
.sb-tuvan input[type='submit']:not(.is-form) {background:#fff;border-radius:20px;color:#54C5D0;font-size: 15px;}
.sb-tuvan input[type='submit']:not(.is-form):hover {background:#EF7C81;color:#fff}
.sb-tuvan form {margin-bottom:0}
.sb-tuvan input,.sb-tuvan textarea {border-radius:6px;margin-bottom: 12px;}
.sb-tuvan textarea {border-radius:6px;min-height: 80px;}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.ly-do-chon {padding:0px !important;}
/*************** CONTACT FIXED MOBILE  ***************/
	.ts-contact {
		right: inherit;
		top: inherit;
		width: 100%;
		bottom: 0;
		text-align: center;
		text-align: -moz-center;
		text-align: -webkit-center;
		background: rgba(225,229,99,0.6);
	}
	.ts-contact ul {margin: 8px 0px;}
	.ts-contact ul li {display: table-cell;padding: 0px 20px;}
	.ts-contact ul li img {width:40px;}
	.text-hover {display:none;}
	.face-mobile {display:inherit;}
	.face-pc {display:none;}
}