/*
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.   ***************/
@media only screen and (min-width: 1024px)
{
    .pum-container.pum-responsive.pum-responsive-medium {
        margin-left: -27%;
        width: 50%;
    }
    .pum-container.pum-responsive.pum-responsive-medium img
    {
        width: 100%;
    }
}
.header-nav-main .nav-dropdown-default
{
	padding: 0;
	min-width: 150px;
}
.header-nav-main .nav-dropdown-default li
{
	display: block;
	position: relative;
}
.header-nav-main .nav-dropdown-default li a
{
	font-weight: 500 !important;
	color: #00156a;
	font-size: .85em;	
}
.header-nav-main .nav-dropdown-default li ul.nav-dropdown-default
{
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	background: #fff;
    transition: opacity .25s;
    box-shadow: 1px 1px 15px rgba(0,0,0,0.15);
    border: 2px solid #ddd;
}
.header-nav-main .nav-dropdown-default li:hover ul.nav-dropdown-default
{
	display: block;
}
.cattitle, #related_posts h3
{
	background: url(images/menu-title.png) repeat-y left top;
}
.col.post-item .box-text-inner button.is-link
{
	margin: 0;
	color: #ff7e00;
	font-weight: 500;
}
.row-duantb .col.post-item
{
	padding-bottom: 0;
}
/* call button */
.call-button.left {
    right: auto;
    left: 50px;
}
.call-button {
    right: 50px;
    bottom: 50px;
    height: 60px;
    width: 60px;
    transition: all .5s;
}
.call-button a {
    display: inline-block;
    height: 60px;
    width: 60px;
    float: right;
}
.pulse-button {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    font-size: 1.3em;
    font-weight: light;
    text-transform: uppercase;
    text-align: center;
    line-height: 60px;
    letter-spacing: -1px;
    color: white;
    border: none;
    border-radius: 50%;
    background: #ed1c25;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(237, 29, 37,.5);
    -webkit-animation: pulse 1.5s infinite;
    transition: all .5s;
}
@keyframes pulse
{
	0% {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}
	70% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
}
	100% {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
}
}
.call-button .fa {
    font-size: 40px;
    line-height: 60px;
}
.call-button .text-phone {
    width: 0px;
    height: 60px;
    transition: all .2s;
    overflow: hidden;
}
.call-button .text-phone a {
    font-size: 18px;
    line-height: 60px;
    width: 100%;
    font-weight: bold;
    color: #edbf05;
    text-align: center;
    text-decoration: none;
}
.call-button:hover {
    width: 300px;
    background-color: #373737;
    border-radius: 3px;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.75);
}
.call-button:hover .text-phone {
    width: calc(100% - 60px);
}
.call-button:hover .pulse-button {
    -webkit-animation: none;
    border-radius: 0px;
    background: #edbf05;
}
.formbaogia {
    margin-top: 20px;
}
.formbaogia input, .formbaogia textarea {
    max-width: 85%;
}
.formbaogia textarea
{
	min-height: 80px;
}
input[type="submit"]
{
	font-weight: 500;
}
.customtt-1
{
	font-weight: 400 !important;
}
.customtt-2
{
	color: #000 !important;
	padding-left: 0;
	padding-right: 0;
}
/* absolute-footer */
.absolute-footer
{
	background: url(images/copyright-bg.png);
	background-repeat: no-repeat;
	background-size: cover;
	padding: 10px 0;
}
.footer-2
{
	background-attachment: fixed;
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	#cfacebook
	{
		/*width: auto !important;*/
	}
	#cfacebook a.chat_fb
	{
		/*width: auto !important;*/
		padding: 0 15px !important;
		margin-right: 0 !important;
	}
	.call-button.left
	{
		left: 5px;
	}
	.call-button
	{
		bottom: 10px;
	}
}
.floatpopup {
	 position: fixed;
	 left: 0;
	 bottom: 125px;
	 z-index: 9;
	 transform: translateX(-290px);
}
 .floatpopup.in {
	 transform: translateX(0px);
}
 .floatpopup .popup {
	 margin: 0;
	 display: block;
	 width: auto;
	 transform: translateX(-290px);
	 transition: all 0.5s ease;
}
 .floatpopup .popup.show {
	 transform: translateX(0px);
}
 .floatpopup .popup .titlepopup {
	 background: linear-gradient(#ffc21e,#ff7102);
	 color: white;
	 text-align: center;
	 font-size: 20px;
	 float: left;
	 position: absolute;
	 writing-mode: vertical-rl;
	 padding: 45px 0;
	 border-top-right-radius: 8px;
	 border-bottom-right-radius: 8px;
	 cursor: pointer;
	 top: 30%;
	 left: calc(100% + 290px);
	 box-shadow: 0px 1px 5px rgba(0,0,0,0.25);
	 font-weight: 400;
}
 .floatpopup .popup .titlepopup.in {
	 left: 100%;
}
 .floatpopup .popup .contentpp {
	 width: 290px;
	 border: 1px solid ;
	 background: #fff;
	 padding: 20px 15px;
	 transition: all 0.5s ease-in-out;
}
 .floatpopup .popup .contentpp i.fa.fa-times {
	 font-size: 14px;
	 position: absolute;
	 top: 1px;
	 right: 1px;
	 padding: 5px 7px;
	 color: #f00;
	 background: #fff;
	 z-index: 2;
	 cursor: pointer;
}
 .floatpopup .popup .contentpp h3 {
	 display: block;
	 font-size: 19px;
	 text-transform: uppercase;
	 text-align: center;
	 margin-bottom: 10px;
	 font-weight: 500;
}
 .floatpopup .popup .contentpp form {
	 margin-bottom: 0;
}
 .floatpopup .popup .contentpp form input, .floatpopup .popup .contentpp form textarea {
	 box-shadow: none;
	 font-size: 14px;
}
 .floatpopup .popup .contentpp form input[type="submit"] {
	 margin: 0;
	 color: #fff;
	 border: 1px solid #fff;
	 font-size: 14px;
	 padding: 8px 15px;
	 text-transform: uppercase;
	 cursor: pointer;
	 outline: none;
	 line-height: unset;
	 font-weight: 400;
	 transition: all .3s ease-in-out;
}
 @media (max-width: 320px) {
	 .floatpopup {
		 bottom: 80px;
	}
}