/* Bootstrap Css */
body{
    font-family: dnp-shuei-mincho-pr6,sans-serif;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    background: #fff;
}
img{max-width: 100%;height: auto;}
img.aligncenter{
    margin: 0 auto;
    display: block;
}
/*button:focus{outline: 1px solid gray;}*/

.marg20{margin-bottom:20px;}
.marg30{margin-bottom: 30px;}

.form-control:focus {
    border-color: #d9251b;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217, 37, 27, 0.4);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(217, 37, 27, 0.4);
}

.pagination{
    margin: 20px 0 15px;
}
.pagination>li>a, .pagination>li>span{
    border: 1px solid #4cae4c;
    margin-right: 10px;
    border-radius: 4px;
    color: #333;
}
.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span, .pagination>li>span:hover{
    background-color: #5cb85c;
    border-color: #4cae4c;
    color: #fff;
}
/*------------------------*/
/* Breadcrumbs */
/*------------------------*/
.wbreadcrumbs ul li a{
    color: #333;
}
.wbreadcrumbs ul{
    overflow: hidden;
    padding: 20px 0 0;
}
.wbreadcrumbs ul li{
    color: #d9251b;
    list-style: none;
    float: left
}
.wbreadcrumbs ul li+li:before{
    display: inline-block;
    padding-right: 10px;
    padding-left: 10px;
    color: #000;
    font-weight: bold;
    content: "\002192";
}
/* Contact form */
.wpcf7-form p{
    overflow: hidden;
}
.wpcf7-form p label{
    width: 120px;
    float: left;
}
.wpcf7-form p input[type="text"],.wpcf7-form p input[type="email"]{
    width: calc(100% - 135px);
    float: left;
    padding: 0 0 0 9px;
    height: 30px;
    border: 1px solid #d5d5d5;
    line-height: 30px;
}
.wpcf7-form p textarea{
    width: calc(100% - 135px);
    float: left;
    padding: 0 0 0 9px;
    height: 120px;
    border: 1px solid #d5d5d5;
    line-height: 30px;
}
.wpcf7-form .wpcf7-form-control.wpcf7-submit{
    display: inline-block;
    min-width: 150px;
    padding: 0 10px;
    margin: 0 2px;
    background-color: #999;
    border: 1px solid #999;
    text-align: center;
    color: #fff;
    line-height: 40px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: normal;
    margin-left: 120px;
}
.wpcf7-form .wpcf7-form-control.wpcf7-submit:hover{
    background-color: #fff;
    border: 1px solid #333;
    color: #333;
    text-decoration: none;
}
/* End */
a.gotop{
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease;
    transform: translate(120px,120px);
}
a.gotop.active{
    transform: translate(0,0);
}
/* Nav main */

/**/
#custom-search-input{
    padding: 3px;
    border: solid 1px #E4E4E4;
    border-radius: 6px;
    background-color: #fff;
}

#custom-search-input input{
    border: 0;
    box-shadow: none;
}

#custom-search-input button{
    margin: 2px 0 0 0;
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 8px 0 10px;
    border-left: solid 1px #ccc;
}

#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}

#custom-search-input .glyphicon-search{
    font-size: 18px;
}
/*=============================
.btn-trigger
=============================*/
.btn-trigger {
    position: relative;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: none;
}
.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #ababab;
    border-radius: 4px;
    display: inline-block;
}
.btn-trigger, .btn-trigger span {
    transition: all .5s;
    box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
    top: 0;
}
.btn-trigger span:nth-of-type(2) {
    top: 13px;
}
.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}


/*=============================
#btn01
=============================*/
#btn01.active span:nth-of-type(1) {
    -webkit-transform: translateY(20px) rotate(-45deg);
    transform: translateY(15px) rotate(-45deg);
}
#btn01.active span:nth-of-type(2) {
    opacity: 0;
}
#btn01.active span:nth-of-type(3) {
    -webkit-transform: translateY(-20px) rotate(45deg);
    transform: translateY(-10px) rotate(45deg);
}
@media (max-width: 767px){
    .btn-trigger{
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        background: #fff;
    }
    #nav{
        border: none;
    }
    #nav ul{
        position: absolute;
        background: #fff;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 9;
        border-top: 1px solid #ababab;
        display: none;
    }
    #nav ul li a{
        border-right: none;
        padding: 10px 12px;
        border-bottom: 1px solid #ababab;
    }
}
/*-----------------------*/
.colleft{
    width: calc(25% - 15px);
    float: left;
    margin-bottom: 30px;
}
.colright{
    width: calc(75% - 15px);
    margin-bottom: 30px;
}
@media (max-width: 992px){
    .colright{
        width: 100%;
    }
    .colleft{
        width: 100%;
    }
}
/* Category */
.nvn-item-cat{
    overflow: hidden;
}
.nvn-item-cat+.nvn-item-cat{
    margin-top: 30px;
}
.nvn-item-cat .image{
    width: 300px;
    float: left;
}
.nvn-item-cat .info-item-cat{
    width: 520px;
    float: right;
}
.nvn-item-cat .info-item-cat h3{
    margin: 0 0 10px;
    font-size: 13px;
}
.nvn-item-cat .info-item-cat h3 a{
    color: #333;
    line-height: 18px;
}
.nvn-item-cat .info-item-cat h3 a:hover{
    text-decoration: none;
    color: #078398;
}
.nvn-item-cat .info-item-cat span.date-posted{
    color: #999;
    font-size: 12px;
    display: block;
    margin-bottom: 7px;
}
.nvn-item-cat .info-item-cat p{
    color: #666;
}
@media (max-width: 1200px){
    .nvn-item-cat .info-item-cat{
        width: 420px;
    }
    .nvn-item-cat .image{
        width: 270px;
    }
}
@media (max-width: 768px){
    .nvn-item-cat .info-item-cat{
        width: 100%;
    }
    .nvn-item-cat .image{
        width: 100%;
        margin-bottom: 15px;
    }
}
/* single */
.related-posts h3{
    margin: 30px 0 20px;
}
.related-posts ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.related-posts ul li{
    margin-bottom: 7px;
}
.related-posts ul li a i{
    margin-right: 7px;
}
.related-posts ul li a{
    color: #333;
}
.related-posts ul li a:hover{
    color: #078398;
}
/* End */
/*------------------------*/
/* Common */
.icon-section{
  width: 100px;
  margin: auto;
}
.icon-section img{
  width: 100%;
}
.title-section{
  text-align: center;
  font-size: 24px;
  margin-top: 20px;
  font-weight: bold;
}
.sub-title-section{
  text-align: center;
  font-size: 14px;
}
.text-pink{
  color: #9e0016;
}
.text-blue{
  color: #9e0016;
}
.iframe-container{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
}
.iframe-container iframe{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}
.btn-pink{
  display: block;
  background: #9e0016;
  text-align: center;
  width: 200px;
  margin: auto;
  color: #fff;
  margin-top: 30px;
}
a{
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
a:hover{
  text-decoration: none;
}
.button-group{
  display: flex;
  width: 100%;
  margin: auto;
  max-width: 100%;
	margin-top: 5px;
}
.button-group a{
  color: #fff;
  width: 50%;
  text-align: center;
  margin-right: 5px;
  font-size: 20px;
  padding: 10px 0;
}
.button-group a img{
  width: 30px;
  margin-right: 10px;
}
.button-group a:first-child{
  background: #39ad36;
}
.button-group a:last-child{
  background: #e3b23c;
  margin-right: 0;
}
.container{
  max-width: 960px;
}
/*------------------------*/
/* Header */
header{

}
.main-menu{
  margin-top: 100px;
}
.main-menu ul{
  list-style-type: none;
}
.main-menu ul li{
  display: inline-block;
  width: 170px;
  text-align: center;
  position: relative;
	font-size:16px;
}
.main-menu ul li.active::after{
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background: #9e0016;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 15px;
}
.main-menu ul li a{
  color: #393d3f;
  font-weight: bold;
}
.navbar{

    background: #9e0016;
    color: #fff;
    font-size: 12px;
    /* height: 15px; */
    padding: 5px;

}
.content-header{
  position: relative;
  padding: 20px 0;
}
.logo{
  position: absolute;
  left: 0;
}
.slogan{
  font-size: 24px;
  font-weight: bold;
  color: #393d3f;
}
.company-name{
  font-weight: bold;
  color: #393d3f;
}
.hotline{
  position: absolute;
  right: 0;
  top: 30px;
}
.title-hotline{
  font-size: 13px;
  margin-bottom: 0;
  font-weight: bold;
}
.main-hotline{
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.main-hotline img{
  width: 30px;
  margin-right: 5px;
}
.main-hotline span{
  font-size: 2.5rem;
  font-weight: bold;
  white-space: nowrap;
}
.section-banner{
  margin-top: 30px;
}
.section-banner img{
  width: 100%;
}
.section-promise{
  padding-top: 30px;
  background: #9e0016;
  padding-bottom: 50px;
}
.slider{
  margin: auto;
  margin-top: 20px;
}
.swiper-wrapper{
  margin-top: 100px;
}
.item-slider{
  display: flex;
}
.item-slider .txt-content{
  width: 85%;
}
.item-slider .txt-content h3{
    width: 390px;
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e3b23c;
    color: #fff;
}

.item-slider .txt-content p{
    font-size: 16px;
    line-height: 30px;
}

.item-slider .image{
  width: auto;
}
.item-slider .image img{
  width: 100%;
}
.swiper-pagination{
  top: 0;
  bottom: auto!important;
}
.swiper-pagination-bullet {
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 31px;
  font-size: 15px;
  color: #000;
  background: #fff!important;
  opacity: 1;
  background: transparent;
}

.swiper-pagination-bullet-active {
  color: #fff;
  background: #e3b23c!important;
}
/*------------------------*/
/* Section youtube */
.section-youtube{
  margin-top: 50px;
}
.section-youtube .header-section .icon-section{
  width: 50px;
}
.box-youtube{
  max-width: 900px;
  margin: auto;
  margin-top: 40px;
}
.box-youtube iframe{
  max-width: 900px;
}
/*------------------------*/
/* Section unfaithfulness */
.section-unfaithfulness{
  margin-top: 100px;
  padding-top: 30px;
  padding-bottom: 100px;
  background: #F4F6F7;
}
.section-unfaithfulness .header-section .icon-section{
  width: 40px;
}
.section-unfaithfulness .txt-content{
  text-align: center;
  margin-top: 15px;
}
.section-unfaithfulness .txt-content p{
  line-height: 25px;
}
/*------------------------*/
/* Section Survey */
.section-survey{
  padding-top: 30px;
  padding-bottom: 50px;
  background: #F4F6F7;
  margin-top: 80px;	
}
.section-survey .header-section .icon-section{
  width: 40px;
}
.list-survey{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 30px;
}
.item-survey{
  background: #fff;
  width: calc(25% - 20px);
  padding: 20px 20px 40px 20px;
  position: relative;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 10px #393d3f;
}
.item-survey h3{
  font-weight: bold;
  font-size: 20px;
  text-align: center;
  position: relative;
}
.item-survey h3::after{
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #9e0016;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 25px;
}
.item-survey p{
  margin-top: 25px;
	line-height: 1.8em;
}
.more{
  display: block;
  position: absolute;
  right: 20px;
  background: #9e0016;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 20px;
  width: 20px;
  height: 20px;
  border-radius: 100%;
}
/*------------------------*/
/* Section contact */
.section-contact{
  background: #9e0016;
  padding-top: 40px;
  padding-bottom: 50px;
}
.contact{
  display: flex;
  background: #fff;
  font-weight: bold;
  padding: 20px;
  width: 990px;
  margin: auto;
  max-width: 100%;
}
.left-contact{
  width: 45%;
  text-align: center;
}
.left-contact p{
  font-size: 12px;
  margin-bottom: 0;
}
.left-contact p span{
  font-size: 25px;
}
.box-contact{
  width: 11%;
  background: #9e0016;
  padding: 5px;
  position: relative;
}
.box-contact::after{
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-left: 10px solid #9e0016;;
  border-bottom: 5px solid transparent;
}
.box-contact p{
  color: #fff;
  text-align: center;
  margin-bottom: 0;
  font-size: 14px;
}
.box-contact p span{
  color: #FEFC31;
  font-size: 18px;
}
.right-contact{
  width: 44%;
  text-align: center;
  font-size: 32px;
  line-height: 20px;
  padding-top: 10px;
}
.right-contact span{
  font-size: 12px;
}
/*------------------------*/
/* Section faq */
.section-faq{
  padding-top: 50px;
  padding-bottom: 50px;
}
.section-faq .header-section .icon-section{
  width: 40px;
}
.list-faq{
  padding-top: 30px;
  width: 622px;
  margin: auto;
  max-width: 100%;
}
.item-faq{
  position: relative;
  font-weight: bold;
  padding-left: 40px;
  border-bottom: 3px dotted #95D9EF;
  margin-bottom: 30px;
}
.item-faq p{
  margin-bottom: 10px;
}
.icon-left-faq{
  position: absolute;
  left: 0;
  top: 0;
}
.icon-right-faq{
  position: absolute;
  right: 0;
  top: 0;
}
/*------------------------*/
/* Section case */
.section-case{
  padding-top: 30px;
  padding-bottom: 60px;
  background: #9e0016;
}
.section-case .header-section .icon-section{
  width: 40px;
}
.main-case{
  margin-top: 30px;
  background: url("../img/square.png");
  background-size: cover;
  text-align: center;
  color: #fff;
  padding: 20px;
  height: 400px;
}
/*------------------------*/
/* Section blog */
.section-blog{
  padding-top: 30px;
  padding-bottom: 50px;
}
.section-blog .header-section .icon-section{
  width: 40px;
}
.list-blog{
  display: flex;
  width: 900px;
  margin: auto;
  max-width: 100%;
  margin-top: 50px;

}
.item-blog{
  width: calc(33.333333% - 30px);
  margin-left: 15px;
  margin-right: 15px;
}
.item-blog img{
  width: 100%;
  margin-bottom: 10px;
}
.item-blog p{
  padding-left: 25px;
}
.item-blog h3{
  font-size: 16px;
  font-weight: bold;
  padding-left: 25px;
}
/*------------------------*/
@media (max-width: 1200px){
  .item-survey{
    width: 31%;
  }
  .item-survey:nth-child(odd){
    margin-right: 0;
  }
}
@media (max-width: 992px){
  .main-menu ul li{
    width: 150px;
  }
}
@media (max-width: 767px){
  .main-menu ul li{
    width: auto;
    display: block;
  }
  nav {
    display: block;
    position: fixed;
    top: 0;
    left: -220px;
    bottom: 0;
    width: 220px;
    background: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all .5s;
    z-index: 3;
    opacity: 0;
  }
  .open nav {
    left: 0;
    opacity: 1;
  }
  nav .inner {
    padding: 25px;
  }
  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .inner ul li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid #333;
  }
  nav .inner ul li a {
    display: block;
    color: #333;
    font-size: 14px;
    padding: 1em;
    text-decoration: none;
    transition-duration: 0.2s;
  }
  nav .inner ul li a:hover {
    background: #e4e4e4;
  }
  .toggle_btn {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    transition: all .5s;
    cursor: pointer;
    z-index: 3;
    padding: 10px;
    border: 1px solid #ababab;
    background: #fff;
  }
  .toggle_btn span {
    display: block;
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
    transition: all .5s;
  }
  .toggle_btn span:nth-child(1) {
    top: 14px;
  }
  .toggle_btn span:nth-child(2) {
    top: 23px;
  }
  .toggle_btn span:nth-child(3) {
    bottom: 14px;
  }
  .open .toggle_btn span {
    /*background-color: #fff;*/
  }
  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
  }
  .open .toggle_btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    transform: translateY(-10px) rotate(45deg);
  }
  /*============
  #mask
  =============*/
  #mask {
    display: none;
    transition: all .5s;
  }
  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .8;
    z-index: 2;
    cursor: pointer;
  }
  .navbar{
    font-size: 12px;
  }
  .slogan{
    font-size: 14px;
  }
  .company-name{
    font-size: 24px;
  }
  .hotline{
    top: 20px;
  }
  .section-banner{
    margin-top: 60px;
  }
  .slider{
    width: 100%;
  }
  .item-slider .txt-content{
    width: 80%;
  }
  .item-slider .image{
    width: 20%;
  }
  .item-survey{
    width: 45%;
  }
  .item-survey:nth-child(even){
    margin-right: 0;
  }
  .left-contact{
    width: 35%;
    margin-right: 25px;
  }
  .box-contact{
    width: 20%;
  }
  .right-contact{
    width: 45%;
  }
  .left-contact p span{
    font-size: 18px;
  }
}
@media (max-width: 480px){
  .navbar{
    padding-right: 70px;
  }
  .logo{
    position: relative;
    text-align: center;
  }
  .slogan{
    font-size: 24px;
  }
  .company-name{
    font-size: 40px;
  }
  .hotline{
    position: relative;
    text-align: center;
  }
  .main-hotline{
    position: relative;
  }
  .section-banner{
    margin-top: 0;
  }
  .item-slider .txt-content h3{
    font-size: 14px;
    width: 200px;
  }
  .item-slider .txt-content p{
    font-size: 10px;
  }
  .section-unfaithfulness{
    margin-top: 20px;
  }

  .item-survey h3{
    font-size: 14px;
  }
  .contact{
    display: block;
  }
  .left-contact{
    width: 100%;
    margin-bottom: 10px;
  }
  .box-contact{
    width: 60%;
    margin: auto;
    margin-bottom: 20px;
  }
  .right-contact{
    width: 100%;
  }
  .left-contact p{
    font-size: 13px;
  }
  .left-contact p span{
    font-size: 22px;
  }
  .box-contact::after{
    border: none;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #9e0016;
    bottom: -10px;
    top: auto;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .button-group a{
    font-size: 14px;
  }
  .button-group a:last-child{
    padding-top: 13px;
  }

  .item-blog{
    margin-left: 0;
    margin-right: 10px;
  }
  .item-blog:last-child{
    margin-right: 0;
  }
}
