﻿main{
    position: relative;
}
#sticker_wrap{
    background-color: #5d5d5d;
    padding: 50px 0;
}
#icon_heart {
    width: 20px;
    height: 17px;
    display: inline-block;
    background-image: url('../images/icon/heart_white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 6px;
}
.btnlang{
    border-radius: 100%;
    border: none;
    margin-left: 15px;    
    background-image: linear-gradient(114deg, #45c4db, #1bd7b2);
    color: #FFFFFF;
    font-weight: bolder;
    text-align: center;
    display: flex;
    justify-content: center;
}
.apple_md #icon_heart {background-image: url('../images/icon/heart_gray.svg'); margin-right: 0;width: 30px; height: 26px;}
.apple_md.active #icon_heart {background-image: url('../images/icon/heart_green.svg');}
.apple_md span{display: none;}
.detail .detail_info > div:nth-child(2) > a.apple_md{ width: 45px; height: 45px; background-image: initial; text-align: center; margin-right: 65px; padding-top: 2px;}
#titleseo,#descriptionseo{display:block;color:#000000;}
#titleseo{font-size:20px;font-weight:bold;padding-bottom:15px;}
#descriptionseo{font-size:14px;color:rgba(0,0,0,0.7); max-height: 210px; overflow: hidden;text-align:justify;margin-bottom:15px;}
@media (max-width: 991px){
    #sticker_wrap{padding-top: 65px; overflow: hidden;}
}
.detail,.related{
    background-color: #FFFFFF;
    border-radius: 20px;
    margin-bottom:25px;
    padding-top:30px;
    padding-bottom: 45px;
    margin-left: -15px;
    margin-right: -15px;
}
.detail{
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
}
.detail img{
    max-height: 400px;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
}
.detail_info{
    position: relative;
    text-align: left;
}

.detail_info > div:nth-child(1){
    padding-top: 14%;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.67;
    letter-spacing: 1.03px;
    color: rgba(0, 0, 0, 0.5);
}
.detail_info > div:nth-child(2){
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align: left;
}
.detail .detail_info > div:nth-child(1) > a{
   color: #1F71BF;
   font-weight: bolder;
   display: inline-block;
   margin-right: 8px;
}
.detail .detail_info > div:nth-child(2) > a{
    display: inline-block;
  width: 100px;
  height: 45px;
  line-height: 45px;
  color: #ffffff;
  font-weight: bold;
  border-radius: 17px;
  background-image: linear-gradient(114deg, #45c4db, #1bd7b2);
  margin-left: 15px;
  text-align: center;
}
@media (max-width: 991px) and (min-width: 576px){
    #btn_share_lg{right:25px!important;top:15px!important;}
    #titleseo{font-size:18px;margin-bottom:8px; line-height:20px;}
    .detail_info > div:nth-child(1){padding-top:15%;}
    .detail { padding-left: 15px; padding-right: 15px;}
    .detail_info{padding-left:0;padding-right:0;}
    /*.detail_info > div:nth-child(2){display: block;}*/
    .detail_info > div:nth-child(1){line-height:16px;}
    .detail .detail_info > div:nth-child(1) > a{font-size:14px;}
    .btnlang{margin-left:8px;}
    .btnlang:nth-child(1){margin-left:0;}
    .btnlang{width:35px!important;height:35px!important;}
    .detail .detail_info > div:nth-child(2) > a{height:35px;line-height:35px;margin-left:8px;}
    #descriptionseo{margin-bottom:8px;}
    #descriptionseo.photo{max-height:145px;}
    #descriptionseo.horizon-photo{max-height:49px;}
    #descriptionseo.video{max-height:15px;}
}
@media (max-width: 991px) and (min-width: 768px){
    #descriptionseo.video{max-height:95px;}
}
@media (max-width: 767px) and (min-width: 576px){
    #titleseo.horizon-photo{font-size:16px; max-height: 42px; overflow: hidden;}
}
.close{
    position: absolute;
    top: 30px;
    right: 30px;
    transform: scale(2);
    cursor: pointer;
}
.close_share{
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}
.close_share svg{
    width: 32px; height: 32px;
}
#btn_share, #btn_share_lg{
    position: absolute;
    width: 45px;
    height: 45px;
    right: 5%;
    top: 0;
    bottom: 0;
    cursor: pointer;opacity: 0.7;
}
#btn_share_lg{right: 45px; top: 23px;}
#btn_share_lg svg{position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0; }
#btn_share svg{
    transform: scale(0.75);
}
.share_popup{
    display: none;
}
#share_box{
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    bottom: -3000px;
    transition: .5s opacity ease-in-out ;
    opacity: 0;
}
#share_bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 3;
}
#share_box.active{
    bottom: 0;
    opacity: 1;
}

#share_box .container{
    position: relative;
}
#share_box .container > div{
    background-color: rgba(255, 255, 255, 1);
    position: absolute;
    width: 350px;
    height: 200px;
    right: 0;
    top: 165px;
    padding: 15px 15px 30px;
    border-radius: 15px;
    transition: .3s bottom ease-in-out;
    z-index: 5;
}
#share_box h5{ text-align: center; color:rgba(0, 0, 0, 0.5); font-size: 14px; font-weight: bolder; letter-spacing: 2px; padding-bottom: 25px;}
#share_box figure{text-align: center;}
#share_box figure img{width: 53px; height: auto;}
#share_box a figure figcaption,#share_box a:hover figure figcaption{ color:rgba(0, 0, 0, 0.5); padding-top: 10px;} 
.jwplayer.jw-flag-aspect-mode{
    max-height: 420px;
}

.tooltip {
  position: relative;
  display: inline-block;
  opacity: 1;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 90%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.tooltip:hover .tooltiptext {
  width: 75px;
  left: 115%;
  visibility: visible;
  opacity: 1;
}
@media (max-width: 991px){
    .close{
        top: 15px;
    }
    .detail_info > div:nth-child(1){
        padding-bottom: 25px;
    }
}
@media (max-width: 767px){
    .detail_info > div:nth-child(1){padding-top: 35px; font-size: 16px; }    
    #share_box .container{
        position: static;
        max-width: initial;
        padding: 0;
    }
    #share_box .container > div{
        width: 100%;
        bottom: -500px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        height: auto;
        right: auto;
        top: auto;
    }
    #share_box.active .container > div{
        bottom: 0;
    }
}
@media (max-width: 575px){
    .detail_info > div:nth-child(1){text-align: center; }    
    .detail_info > div:nth-child(2){
        position: relative;
        text-align: center;
    }
    .detail .detail_info > div:nth-child(2) > a.apple_md{
        display: block;
        margin-left: auto;
        margin-right: 65px;
    }
    #sticker_wrap img.share_popup{
        display: block;
        position: absolute;
        top: 8vh;
        right: -100%;
        width: 100%;
        height: auto;
        max-width: 368px;
        max-height: 376px;
        transition: .5s right ease-in-out;
        z-index: 4;
    }
    #sticker_wrap img.share_popup.active{ right: 0;}
    #sticker_wrap{padding-top: 0;}
    .detail{
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding-top: 0;
        margin-bottom: 5px;
        padding-left: 0;
        padding-right: 0;
    }
    .detail .col-sm-8{padding-left: 0; padding-right: 0;}
    .detail img{ max-height:initial; width: 100%; border-radius: 0;}
    #sticker_wrap .container{padding: 0;}
    .detail, .related{margin-left: 0; margin-right: 0; }
    .related{padding-left: 5px; padding-right: 5px;}
    #descriptionseo{text-align:left;max-height:inherit; }
}
