/*Custom css*/

/* --------------------------------------
=========================================
   Post sidebar Css
=========================================
-----------------------------------------*/
.widget .sidebar-post {
    display: grid;
    list-style: none;
    padding: 0px;
    margin: 0px;
}
.widget .sidebar-post li{
    display: block;
    width: 100%;
    clear: both;
    position: relative;
    padding: 10px 0px;
}
.widget .sidebar-post li .img-sidebarpost{
    position: relative;
}
.widget .sidebar-post li .img-sidebarpost img {
    width: 100%;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
    object-fit: cover;
height: 100% !important;
}
.widget .sidebar-post li:hover .img-sidebarpost img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.widget .sidebar-post li .img-sidebarpost img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.widget .sidebar-post li .name-sidebarpost a{
    display: block;
    height: 44px;
    overflow: hidden;
    line-height: 22px;
    font-size: 14px;
    color: #333;
}
.widget .sidebar-post li .post-time{
    display: block;
    color: #aaa;
    font-size: 12px;
}
.widget .sidebar-post li:hover .name-sidebarpost a{
    color: #4db2ec;
}
.post-style-1 li:first-child .name-sidebarpost{
  position: absolute;
bottom: 0;
padding: 0 10px;
margin-bottom: 15px;
z-index: 1;
width: 100%;
}
.post-style-1 li:first-child .name-sidebarpost a{
color: #fff;
text-transform: uppercase;
height: auto;
}
.post-style-1 li:first-child .img-sidebarpost{
     width: 100%;
     aspect-ratio: 4/3;
}
.post-style-1 li:first-child .img-sidebarpost::before {
    bottom: 0;
    top: auto;
    content: "";
    display: block;
    height: 50%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);
}
.post-style-1 .img-sidebarpost{
    width: 30%;
    float: left;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.post-style-1 .name-sidebarpost{
   width: 70%;
    float: left;
    padding-left: 10px;
}

.post-style-2 .img-sidebarpost{
    width: 30%;
    float: right;
    height: 60px;
    overflow: hidden;
}
.post-style-2 .name-sidebarpost{
   width: 70%;
    float: left;
    padding-left: 10px;
}
.post-style-2 li:first-child .name-sidebarpost{
  position: absolute;
bottom: 0;
padding: 0 10px;
margin-bottom: 15px;
z-index: 1;
width: 100%;
}
.post-style-2 li:first-child .name-sidebarpost a{
color: #fff;
text-transform: uppercase;
}
.post-style-2 li:first-child .img-sidebarpost{
    aspect-ratio: 4/3;
     width: 100%;
}
.post-style-2 li:first-child .img-sidebarpost::before {
    bottom: 0;
    top: auto;
    content: "";
    display: block;
    height: 80%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);
}

.post-style-3 .img-sidebarpost{
    width: 100%;
    float: left;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.post-style-3 .name-sidebarpost{
   width: 100%;
    float: left;
    padding: 0px 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 11;
    text-transform: uppercase;
}
.sidebar .widget .post-style-3 .name-sidebarpost a{
    color: #fff;
}
.post-style-3 li .img-sidebarpost::before {
    bottom: 0;
    top: auto;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background:rgba(0,0,0,0.6);
}
.post-style-4 li .img-sidebarpost{
    display: none;
}
.post-style-4 li:first-child .img-sidebarpost{
display: block;
}
.post-style-4 li:first-child .name-sidebarpost{
  position: absolute;
bottom: 0;
padding: 0 10px;
margin-bottom: 15px;
z-index: 1;
}
.post-style-4 li:first-child .name-sidebarpost a{
color: #fff;
text-transform: uppercase;
}
.post-style-4 li:first-child .img-sidebarpost::before {
    bottom: 0;
    top: auto;
    content: "";
    display: block;
    height: 80%;
    width: 100%;
    position: absolute;
    z-index: 1;
    background: linear-gradient(to bottom,rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);
}
.post-style-4 .img-sidebarpost{
    width: 100%;
    float: left;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.post-style-4 .name-sidebarpost{
   width: 100%;
    float: left;
    padding-left: 20px;
    position: relative;
}
.post-style-4 .name-sidebarpost::before {
    content: "\f0da";
    font-weight: 900;
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    left: 5px;
    top: 10px;
    color: #0883d5;
}
.post-style-4 li:first-child .name-sidebarpost::before{
    display: none;
}
.post-style-4 li .post-time{
    display: none;
}
.sidebar .widget .post-style-4 li{
    border-bottom: solid 1px #ddd;
    padding: 2px 0px;
    margin: 0px;
    background: transparent;
}
.sidebar .widget ul.widget .sidebar-post{
    padding: 0px;
    border: solid 0px #ddd;
}

/* --------------------------------------
=========================================
   Social-ring
=========================================
-----------------------------------------*/
.fa-facebook-messenger::before {
    content: "\f39f";
    font-family: "Font Awesome 5 Brands" !important;
}
.social-ring i.fa-zalo {
    font-size: 18px;
    padding: 0;
}
.social-ring .call-icon{
    margin-bottom: 20px;
}
.social-ring .call-icon i.fa{
    color: #fff;
}
.social-ring .zalo{
    margin-bottom: 20px;
}
.social-ring .mes{
    margin-bottom: 20px;
}
.social-ring .mes i.fa{
    background-color: #365899;
    color: #fff;
    padding: 8px;
}
.social-ring .mes i.fa img{
    max-width: 25px;
}
.social-ring .mes .alo-circle-fill{
    background-color: rgba(36, 45, 28, 0.5);
}
.social-ring .mes .alo-circle{
    border-color: #153039;
}
.social-ring .call-icon .alo-circle-fill{
    background-color: rgba(36, 45, 28, 0.5);
}
.social-ring .call-icon .alo-circle{
    border-color: #153039;
}
.social-ring .zalo .alo-circle-fill{
    background-color: rgba(36, 45, 28, 0.5);
}
.social-ring .zalo .alo-circle{
    border-color: #153039;
}
.social-ring .mes:hover > span{
    background: rgb(52, 62, 35);
 }
.social-ring .zalo:hover > span{
    background: rgb(52, 62, 35);
}
.social-ring a.user-support{
	display: none;
}
.social-ring a.zalo span:before {
border-color: transparent rgb(52, 62, 35) transparent transparent;
}
.social-ring a.mes span:before {
border-color: transparent rgb(52, 62, 35) transparent transparent;
}
.social-ring{
  display: inline-grid;
    position: fixed;
    bottom: 30px;
    right:30px;
    min-width: 45px;
    text-align: center;
    z-index: 99999;
}
.social-ring-main{
    display: block;
}
.social-ring-content{
  display: inline-grid;   
}
.social-ring a {padding:0;cursor: pointer;position: relative;}
.social-ring i {
	width: 46px;
	height: 46px;
	background: #205a41;
	color: #fff;
	border-radius: 100%;
	font-size: 22px;
	text-align: center;
	line-height: unset;
	position: relative;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 5px;
}
.social-ring span{
  display: none;
}
.alo-circle {
	animation-iteration-count: infinite;
	animation-duration: 1s;
	animation-fill-mode: both;
	animation-name: zoomIn;
	width: 50px;
	height: 50px;
	top: 3px;
	right: -2px;
	position: absolute;
	background-color: transparent;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 2px solid rgba(30, 30, 30, 0.4);
	opacity: .1;
	border-color: #0089B9;
	opacity: .5;
}
.alo-circle-fill {
  animation-iteration-count: infinite;
  animation-duration: 1s;
  animation-fill-mode: both;
  animation-name: pulse;
    width: 60px;
    height: 60px;
    top: -2px;
    right: -8px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    background-color: rgba(0, 175, 242, 0.5);
    opacity: .75;
}
.call-icon:hover > span, .mes:hover > span, .sms:hover > span, .zalo:hover > span{display: block}
.social-ring a span {
	border-radius: 2px;
	text-align: center;
	background: rgb(52, 62, 35);
	padding: 10px 5px;
	display: none;
	width: 180px;
	margin-left: 10px;
	position: absolute;
	color: #ffffff;
	z-index: 999;
	top: 9px;
	right: 55px;
	transition: all 0.2s ease-in-out 0s;
	-moz-animation: headerAnimation 0.7s 1;
	-webkit-animation: headerAnimation 0.7s 1;
	-o-animation: headerAnimation 0.7s 1;
	animation: headerAnimation 0.7s 1;
	font-size: 14px;
	font-family: "Montserrat", sans-serif;
}
@-webkit-keyframes headerAnimation{
    0% { margin-top: -70px; }
    100% { margin-top: 0; }
}
@keyframes headerAnimation {
    0% { margin-top: -70px; }
    100% { margin-top: 0; }
}
.social-ring a span::before {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 10px 10px 0;
	border-color: transparent rgb(52, 62, 35) transparent transparent;
	position: absolute;
	right: -10px;
	top: 10px;
	transform: rotate(180deg);
}
/*---------------------------------------
    contact
-----------------------------------------*/

/*---------------------------------------
    footer
-----------------------------------------*/
#list-widget_contact {
	display: block;
	margin: 0;
	padding: 0;
}
#list-widget_contact li{
	border-top: 0px solid #ececec;
	color: #FFF;
	padding: 0px;
	font-size: 16px;
}
#list-widget_contact li a{
	color: #FFF;
}
#list-widget_contact li i {
	color: #FFF;
	margin-right: 5px;
	width: 24px;
	text-align: center;
}
.copyright-footer {
	color: #FFF;
}
