@font-face {
    font-family: "myfont";
    src: url(../font/Montserrat-Medium.ttf);
}
@font-face {
  font-family: "myfontlight";
  src: url(../font/Montserrat-Light.ttf);
}
@font-face {
  font-family: "myfontreg";
  src: url(../font/Montserrat-Regular.ttf);
}

/*********************************
5. Home
*********************************/

.home-img
{
  padding: 0;
	width: 100%;
  height: auto;
  padding: 0;
}
.home-img h2{
	position: relative;
  top: 385px;
  color: #ffffff;
}
.home-img p{
  position: relative;
  top: 385px;
  color: #ffffff;
}
.background_image
{
  width: 100%;
  height: 950px;  
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

/*********************************
        Service
*********************************/
.about .row{
    overflow: hidden;
    position: relative;
}
.about .row:hover .about_img{
    transform: scale(1.04);
}
.about_img{
    width: 100%;
    height: 450px;
    background-image: url(images/service_about.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 1s;
}
.about_info{
    padding: 40px;
}
.about_info h4{
    text-align: center;
}
.service{
  background-color: #d9dce536;
  padding: 50px;
}
.service .container-fluid{
  padding-bottom: 50px;
}
.service h3{
  text-align: center;
}
.service hr{
  padding-bottom: 25px;
}
#owl-demo .item{
	background-color: #ffffff;
	margin: 20px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.owl-carousel .owl-wrapper-outer{
	height: 700px;
}
.owl-carousel .owl-wrapper-outer .owl-wrapper .owl-item{
  height: 500px;
}
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 500px;
    perspective: 1000px;
  }
  
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  }
  
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .flip-card-front {
    background-color: #bbb;
    color: black;
  }
  .flip-card-front img{
        width: 100%;
        height: 500px;
      }
  
  .flip-card-back {
    padding: 30px 10px;
    color: black;
    transform: rotateY(180deg);
  }
  .details{
    padding: 50px;
  }
  .details_info{
    padding-right: 45px;
  }
  .img_det{
    position: relative;
    top: 125px;
    width: 100%;
    height: 500px;
    background-image: url(../images/details.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  }
  .details h2{
    font-family: myfontreg;
  }
  .details p{
    font-family: myfontlight;
    color: #000000;
  }


/* *******************
	   Responsive
******************** */
@media(max-width:1440px){
  .owl-carousel .owl-wrapper-outer{
    height: 590px;
  }
  .flip-card-front img{
    height: 440px;
  }
  .flip-card {
    height: 440px;
  }
  
}

@media(max-width:1366px){
  .background_image{
    height: 640px;
  }
  .home-img p {
    top: 285px;
  }
  .home-img h2 {
    top: 285px;
  }
}
@media(max-width:1280px){
  .owl-carousel .owl-wrapper-outer{
    height: 500px;
  }
  .flip-card-front img{
    height: 340px;
  }
  .flip-card {
    height: 340px;
  }
}
@media(max-width:1024px){
  .about_img {
    height: 400px;
  }
  .about_info > p{
    font-size: 12px;
  }
  .img_det {
    height: 380px;
  }
  .owl-carousel .owl-wrapper-outer{
    height: 480px;
  }
}
@media(max-width:980px){

  .img_det {
    height: 380px;
  }
}
@media(max-width:800px){
  .about_img {
    height: 320px;
  }
  .about_info {
    padding: 10px;
  }
  .about_info > p {
    font-size: 11px;
  }
  .owl-carousel .owl-wrapper-outer{
    height: 410px;
  }
  .flip-card {
    height: 320px;
  }
  .flip-card-front img {
    height: 320px;
  }
  .img_det {
    height: 290px;
}
}
@media(max-width:640px){
  .about_img {
    height: 260px;
  }
  .about_info hr{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .about_info {
    padding: 2px;
}
  .about_info > p {
    font-size: 10px;
  }
  .service{
    padding: 10px;
  }
.service > .container-fluid > .row > div{
    padding: 0;
  }
  .img_det {
    top: 0;
    width: 75%;
    height: 380px;
    left: 80px;
  }
}
@media(max-width:530px){
  .background_image {
    height: 460px;
  }
  .home-img h2 {
    top: 170px;
}
  .home-img p {
    top: 170px;
}
.about_info {
  padding: 25px;
}
.about_info > p {
  font-size: 16px;
}
.service {
  padding: 30px;
}

.img_det {
  left: 60px;
}
.flip-card-front img {
  height: 270px;
}
.flip-card{
  height: 270px;
}
.flip-card-back p {
  font-size: 12px;
}
}
@media(max-width:480px){
  .home-img h2 {
    font-size: 25px;
  }
  .home-img p {
    font-size: 12px;
  }
  .details {
    padding: 20px;
}
.details_info {
  padding-right: 0;
  }
  .owl-carousel .owl-wrapper-outer{
    height: 320px;
  }
  .flip-card-front img {
    height: 240px;
  }
  .flip-card{
    height: 240px;
  }
  .flip-card-back h4{
    font-size: 20px;
  }
  .flip-card-back p {
    font-size: 10px;
}
}
@media(max-width:414px){
  .background_image {
    height: 370px;
  }
  .home-img h2 {
    top: 145px;
  }
  .home-img p {
    top: 145px;
  }
  .owl-carousel .owl-wrapper-outer{
    height: 390px;
  }
  .flip-card {
    height: 320px;
  }
  .flip-card-front img {
    height: 320px;
  }
  .flip-card-back p {
    font-size: 16px;
}
  .img_det {
    left: 0;
    width: 100%;
  }
}
@media(max-width:375px){
  .home-img h2 {
    font-size: 22px;
  }
  .home-img p {
    font-size: 10px;
  }
  .service {
    padding: 20px;
  }
  .img_det {
    left: 0;
    width: 100%;
  }
}
@media(max-width:360px){
  .service {
    padding: 10px;
  }
  .img_det {
    left: 0;
    width: 100%;
  }
}
@media(max-width:320px){
  .background_image {
    height: 340px;
}
.home-img h2 {
  font-size: 20px;
}
.owl-carousel .owl-wrapper-outer{
  height: 320px;
}
.flip-card-front img {
  height: 250px;
}
.flip-card {
  height: 250px;
}
.flip-card-back p {
    font-size: 12px;
}
}