/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

.av-preloading-logo{
	max-width: 200px!important;
}

#top #header_meta a, #top #header_meta li, #top #header_meta .phone-info{
    font-size: 13px;
}
.av_minimal_header #header_meta{
    background: linear-gradient(to right,#29B6F6,#B3E5FC);
    padding: 10px 0;
}
#top .av-control-minimal-dark .avia-slideshow-dots a{
    border-color: #4fc3f7;
}
#top .av-control-minimal-dark .avia-slideshow-dots a.active{
    border-color: #4fc3f7;
    background: #4fc3f7;
}
.custom_caption_banner .avia-slide-wrap{
	text-shadow: 0 0 10px rgba(255,255,255,1);
}
.custom_caption_banner .avia-slideshow-arrows{
    display: none;
}

body .av-special-heading .av-subheading > *{
    font-family: 'arizonia', 'HelveticaNeue', 'Helvetica Neue', 'Helvetica-Neue', Helvetica, Arial, sans-serif;
    margin-bottom:  0;
    color: #7a7992
}
#top .avia-button,
.button{
    background-image: linear-gradient(to right,#03A9F4 0%,#B3E5FC 51%,#03A9F4 100%) !important;
    background-size: 200% auto;
    transition: 0.7s all !important;
    -webkit-transition: 0.7s all !important;
}

#top .avia-button,
.button,
.avia_ajax_form .button{
    white-space: nowrap;
    outline: none;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transform-origin: 50% 50% 0px;
    padding:  15px 40px;
    border-radius: 30px;
    border:  none;
}

#top .avia-button:hover,
.button:hover,
.avia_ajax_form .button:hover{
    background-position: right center;
}

#top .team_custom .team-img-container{
    width: 78%;
    max-width: 200px;
    margin: 0 auto 20px;
    position: relative;
}
#top .team_custom .team-img-container img{
    border-radius: 100%;
    display: block;
}
#top .team_custom .team-img-container::before{
    content: " ";
    position: absolute;
    border: 10px solid rgba(255,255,255,0.5);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 100%;
    z-index: 1;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
}

#top .team_custom .team-img-container:hover::before{
    border-color: rgba(3,169,244,0.5);
}

.avia-team-member.avia-builder-el-no-sibling{
    text-align: center;
}
.avia-team-member.avia-builder-el-no-sibling h3{
    font-size: 18px!important;
}

#top .av-large-testimonial-slider .avia-testimonial-content{
    font-size: 16px;
}

.slice_feature{

}


.widgettitle{
    text-transform: uppercase;
}
.img_shadow{
    box-shadow: 0px 21px 50px rgba(0,0,0,0.1);
}
div .logo{
    padding: 10px 0;
}
.client_block{
    max-width: 900px;
    margin: 0 auto;
}


.categories_block{
    margin-left: -20px;
    margin-right: -20px;
}

.categories_block h3{
    font-size: 18px!important;
    height: 42px;
    overflow: hidden;
}
.categories_block.margin .inner-entry{
    margin-bottom: 40px;
}
.categories_block .inner-entry{
    text-align: center;
    background: #f5f5f9;
    padding: 10px;
    max-width: 300px;
    border-top-right-radius: 140px;
    border-top-left-radius: 140px;
    -webkit-transition: background 0.4s linear;
    -moz-transition: background 0.4s linear;
    -o-transition: background 0.4s linear;
    transition: background 0.4s linear;
    position: relative;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-left: 20px;
    margin-right: 20px;
    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0);
}
.categories_block .inner-entry::before{
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,#29B6F6,#B3E5FC);
    position: absolute;
    border-top-right-radius: 140px;
    border-top-left-radius: 140px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.4s linear;
    -moz-transition: 0.4s linear;
    -o-transition: 0.4s linear;
    transition: 0.4s linear;
}
.categories_block .inner-entry:hover::before{
    opacity: 1;
    visibility: visible;
}
.categories_block .inner-entry:hover .entry-title{
    color:  #fff!important;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
}
.categories_block .grid-content{
    background-color: transparent;
}
.categories_block .avia-arrow{
    display: none;
}
.categories_block .entry-title{
    background-color: transparent;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
}
.categories_block .grid-image img{
    border: 10px solid #ffffff;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    position: relative;
}

.pinkBg {
    background-color: #29B6F6!important;
    background-image: linear-gradient(90deg, #29B6F6, #B3E5FC);
}
.intro-banner-vdo-play-btn{
    height:60px;
    width:60px;
    position:fixed;
    top:250px;
    right:60px;
    text-align:center;
    margin:-30px 0 0 -30px;
    border-radius:100px;
    z-index:1000;
    text-decoration: none !important;
}
.intro-banner-vdo-play-btn i{
    line-height:60px;
    font-size:28px;
    font-family: 'entypo-fontello';
}

.intro-banner-vdo-play-btn i:before{
    content: '';
    color:#fff;
}

.intro-banner-vdo-play-btn .ripple{
    position:absolute;
    width:160px;
    height:160px;
    z-index:-1;
    left:50%;
    top:50%;
    opacity:0;
    margin:-80px 0 0 -80px;
    border-radius:100px;
    -webkit-animation:ripple 1.8s infinite;
    animation:ripple 1.8s infinite
}

@-webkit-keyframes ripple{
    0%{
        opacity:1;
        -webkit-transform:scale(0);
        transform:scale(0)
    }
    100%{
        opacity:0;
        -webkit-transform:scale(1);
        transform:scale(1)
    }
}
@keyframes ripple{
    0%{
        opacity:1;
        -webkit-transform:scale(0);
        transform:scale(0)
    }
    100%{
        opacity:0;
        -webkit-transform:scale(1);
        transform:scale(1)
    }
}
.intro-banner-vdo-play-btn .ripple:nth-child(2){
    animation-delay:.3s;
    -webkit-animation-delay:.3s
}
.intro-banner-vdo-play-btn .ripple:nth-child(3){
    animation-delay:.6s;
    -webkit-animation-delay:.6s
}

.entry-discount{
	position: absolute;
	top: 50px;
	right: 0;
	background-image: url('https://thammyvienpeony.vn/wp-content/uploads/2019/02/discount.png');
	width: 50px;
	height: 50px;
	margin: 0 0 0 -25px;
	text-align: center;
	line-height: 50px;
	background-size: 100%;
	-webkit-animation: zoominoutsinglefeatured 2s ease-in infinite;
	animation: zoominoutsinglefeatured 2s ease-in infinite;
	transition: all .5s ease-in-out;
}
.entry-discount .inner{
	font-weight: 700;
    color: #fff;
    font-size: 14px;
}

@keyframes zoominoutsinglefeatured {
    0% {
        transform: scale(1,1);
    }
    50% {
        transform: scale(1.2,1.2);
    }
    100% {
        transform: scale(1,1);
    }
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}

@media only screen and (max-width: 989px ) {
  /* Add your Desktop Styles here */
    .categories_block h3{
        font-size: 14px!important;
        height: 32px;
        overflow: hidden;
    }
    .categories_block{
        margin-left: -10px;
        margin-right: -10px;
    }
    .categories_block .inner-entry{
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 20px;
    }
    .categories_block.margin .inner-entry{
        margin-bottom: 20px;
    }
}


/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
    .avia-section-large .content, .avia-section-large .sidebar,
    .content, .sidebar {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #footer .widget{
        padding: 0;
        margin: 0;
    }
    .responsive .logo img {
        width: 130px;
    }
}

@media only screen and (max-width: 479px) {
  /* Add your Mobile Styles here */
    .categories_block .inner-entry{
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
		border-top-right-radius: 150px;
    	border-top-left-radius: 150px;
    }
    .intro-banner-vdo-play-btn {
		right: unset;
		left: 22px;
		top: unset;
		bottom: -8px;
	}
}