@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap");
@import url(https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap);

@font-face {
    font-family: "OpenSans";
    src: url(https://mansion.giaminhmedia.vn/emagazine14/font/OpenSans-Regular.ttf);
}
.cont-view1 {
    max-width: 1088px;
    margin: 0 auto;
}
#wrap-gm .gm-footer img {
    margin-bottom: 10px;
}
#wrap-gm .gm-footer p {
    line-height: 1.6;
}
.gm-footer {
    background: #fff;
    text-align: center;
    padding-top: 40px;
    font-family: "Mulish";
}
.layoutms h2,
.layoutms p {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 2rem;
    font-family: "OpenSans";
    margin-top: 0;
}
.layoutms p a {
    text-decoration: underline;
}
#wrap-gm img {
    display: block;
    margin: auto;
}
#wrap-gm .hide-m,
img.fullwidth {
    display: block;
}
#postContent,
#wrap-gm {
    width: 100%;
}
#wrap-gm {
    /* background-color: #850505; */
}
#wrap-gm .hide-w {
    display: none;
}
#wrap-gm img {
    max-width: 100%;
}
#wrap-gm img.img80 {
    max-width: calc(100% + 60px);
    margin-left: -60px;
}
.layoutms {
    width: 958px;
    font-family: "OpenSans";
    box-sizing: border-box;
    margin: 0 auto;
}

.layoutms h2,
.layoutms p strong {
    margin-top: 1rem;
    font-weight: 700;
    color: #fff;
}
.layoutms p {
    width: 100%;
    font-weight: 400;
    text-align: justify;
    color: #fff;
}
.layoutms p.video-title {
    padding-top: 15px;
}
img.fullwidth {
    width: 100%;
    height: auto;
    margin: auto;
}
#wrap-gm table,
#wrap-gm table td {
    border: none;
}
#wrap-gm table tr td:first-child {
    width: 510px;
}
#wrap-gm table tr td:last-child {
    padding-left: 30px;
}
#wrap-gm table img {
    width: 100%;
    max-width: 500px;
}
#wrap-gm table p {
    margin-bottom: 2rem;
    line-height: 32px;
    font-size: 20px;
}
#wrap-gm video {
    max-width: 856px;
    margin: 0 auto;
    display: block;
}
#wrap-gm .mr-t-5 {
    margin-top: 5px;
}
#wrap-gm .mr-t-10 {
    margin-top: 10px;
}
#wrap-gm .gm-footer img.logo {
    width: 50px;
    height: auto;
}
#wrap-gm .gm-table br {
    height: 3em;
}

#wrap-gm .gm-table .layoutms {
    width: 1015px;
}
#wrap-gm .gm-table .layoutms p {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 2rem;
}
#wrap-gm .gm-table img {
    float: left;
    width: 43%;
    margin-right: 40px;
    margin-bottom: 1rem;
}

#wrap-gm img.title_img {
    margin-top: -85px;
}
.layout_first {
    padding-top: 78%;
    background: url(images/pctop.webp?v=3);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100%;
}
.layout_secon{
  background-image: url(images/pc2.webp?v=4);
  background-size: 100%;
  width: 100%;
  max-width: 1233px;
  margin: auto;
  min-height: 1500px;
  margin-top: -280px;
  padding-top: 1303px;
  @media screen and (max-width: 1250px){
    margin-top: -220px;
    padding-top: 105%;
  }
  padding-bottom: 20px;
  background-repeat: no-repeat;
  /* background: #fff; */
}
.layoutms_boder {
    padding-bottom: 1px;
    background: #fff;
}
.layoutms_boder .layoutlg {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background-color: #850505;
    padding: 0;
}
#wrap-gm img.img_boder {
    border-radius: 40px;
    position: relative;
    z-index: 1;
}
.layoutlg {
    background-color: #fff;
    padding-top: 40px;
}
.cmcont{
  background-color: #c60000;
  max-width: 1205px;
  margin: auto;
  padding-bottom: 20px;
  @media screen and (max-width: 1250px){
    width: 97.5%;
  }
}
.wcomments{
  display: flex;
  flex-wrap: wrap; 
  padding: 0 60px;
  
}
.wcomments .item{
  background-color: #fff;
  background-image: url(images/border-cm.png);
  background-size: 100%;
  background-repeat: no-repeat;
  flex-basis: calc(33.33% - 24px); 
  margin: 12px;
    padding: 20px;
    box-sizing: border-box; 
    border-radius: 5px;
}
.wcomments .item .head{
  display: flex;
  margin-top: 10px;
  margin-bottom: 20px;
}
.wcomments .item .head>img{
border: 1px solid #C7C5C5;
padding:10px;
margin-left: 20px !important;
}
.wcomments .item >p{
  line-height: 1.5em;
  color: #717171;
  font-family: Mulish;
  display: -webkit-box;
    -webkit-line-clamp: 5;       /* Number of lines to show */
    -webkit-box-orient: vertical; /* Ensures text is vertically aligned */
    overflow: hidden;            /* Hides the overflow */
    text-overflow: ellipsis; 
    font-size: 17px;
}
.wcomments .item .head .left{
  width: calc(100% - 80px);
}
.wcomments .item .head .left p{
  text-align: left;
  border-bottom: 1px solid #cacaca;
  width: 100%;
  margin-bottom: 8px;
  padding: 3px 0px;
  font-size: 16px;
  font-weight: bold;
}
.wcomments .item .head .left p >img{
  float: left;
  margin-right: 10px !important;
}
.countcm{
  text-align: center;
  color: #fff;
  font-weight: bold;
  margin-bottom: 30px;
}
.countcm b{
  color: #FFDC36;
}
@media screen and (max-width: 1366px) {
    .layoutms {
        width: 1000px;
    }
}

@media screen and (max-width: 1200px) {
    #wrap-gm img.img30 {
        max-width: 100%;
        margin-left: 0px;
    }
}

@media screen and (max-width: 1024px) {
  .wcomments{
    padding: 0 20px;
  }
  .wcomments .item{
    flex-basis: calc(100%); 
    margin: 10px 0px;
  }

  .wcomments .item  .left img{
    width: 20px !important;
    float: left;
  }
  .wcomments .item .head > img{
    width: 55px !important;
  }

    .cont-view1 {
        margin: 0 12px;
    }
    .cont-view1 .lead-title {
        text-align: left;
    }
    .layoutms p {
        text-align: justify;
    }
    .layoutms.first {
        margin-top: 0px;
    }
    #wrap-gm {
        max-width: 450px;
        margin: 0 auto;
    }
    #wrap-gm .hide-m {
        display: none;
    }
    #wrap-gm .hide-w {
        display: block;
    }
    .layoutms,
    #wrap-gm .gm-table .layoutms {
        padding: 0 15px;
        width: 100%;
    }

    #wrap-gm img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    #wrap-gm img.mbfull {
        max-width: calc(100% + 30px);
        width: calc(100% + 30px);
        margin-left: -15px;
    }

    #wrap-gm img.wauto {
        width: auto;
    }
    .layoutms video {
        height: 260px;
        width: calc(100% + 30px);
        margin-left: -15px !important;
    }
    .layoutms p.video-title {
        line-height: 1.4;
        font-size: 18px;
    }
    #wrap-gm .gm-footer img {
        width: calc(100% - 30px);
    }
    #wrap-gm .gm-footer img.logo {
        width: 50px;
        height: auto;
    }
    #wrap-gm .mr-t-mb-20 {
        margin-top: 20px;
    }
    #wrap-gm table tr {
        display: flex;
        flex-direction: column;
    }
    #wrap-gm table tr td:first-child {
        width: 100%;
        margin-bottom: 2rem;
    }
    #wrap-gm table tr td:last-child {
        padding-left: 0;
    }
    #wrap-gm .gm-footer p {
        font-size: 17px;
        line-height: 1.5em;
    }
    .gm-footer {
        margin-top: -20px;
    }
    .layoutms h2,
    .layoutms p strong {
        line-height: 1.5em;
        font-size: 17px;
    }
    #wrap-gm .gm-table img {
        max-width: calc(100% + 30px);
        margin-right: 0;
    }

    .layout_first {
      padding-top: 174.2%;
        background: url(images/mobile1.webp?v=3);
        background-repeat: no-repeat;
        background-position: top left;
        background-size: 100%;
    }
    .layout_secon {
      background-image: url(images/mb-2.webp?v=3);
      background-size: 100%;
      background-repeat: no-repeat;
      margin-top: 0;
      padding-top: 318%;
      padding-bottom: 20px;
      margin-bottom: -20px;
      margin-top: -78px;
    }
    .cmcont{
      width: 100%;
    }
    
    .layout_first p span {
        display: inline-block;
        width: 20px;
    }
    #wrap-gm .layoutlg img.title_img {
        margin-top: -120px;
    }

    #wrap-gm img.title_img {
        margin-top: -50px;
        padding: 0 20px;
    }
    #wrap-gm img.img_boder {
        border-radius: 20px;
    }
}
