/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
.dtable{ display: table !important; width: 100% ; height: 100% ; }
.dtable .innerd{ display: table-cell; vertical-align: middle; }

.dtable .table-cell{ display: table-cell; }
.overlay{ width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; right: 0; left: 0; background: rgba(0,0,0,.2); z-index: 10;}
.overlay.transparent{ background: transparent; }


.custom-page-title{ padding: 0 !important; margin: 0 !important; }
/* .custom-image{

} */

.splide__track{
    width: 100%; 
}

@media (max-width: 991px)
{

    #page-title {
        padding: 0 !important;
    }

}

/* BANNER */

.banner-wrapper{
    margin-top: -90px;
    position: relative !important;
    z-index: 1;
}

.banner-lines{
    margin-bottom: -10px;
}

/* FLIPBOOK STYLES */

.flipbook{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee;
}

/* Book */
.book-1{
    position: relative;
    width: 350px;
    height: 350px;
    transition: transform 0.5s;
}

.paper{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    perspective: 1500px;
}

.front,
.back{
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: left;
    transition: transform 0.5s;
}

.front{
    z-index: 1;
    backface-visibility: hidden;
    border-left: 3px solid #eee;
}

.back{
    z-index: 0;
}

.front-content,
.back-content{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.back-content{
    transform: rotateY(180deg);
}

/* Paper flip effect */

.flipped .front,
.flipped .back{
    transform: rotateY(-180deg);
}

/* Controller Buttons */

.flipbook button{
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 10px;
    transition: transform 0.5s;
}

.flipbook button:focus{
    outline: none;
}

.flipbook button:hover i{
    color: #30D0FF;
}

.flipbook i{
    font-size: 30px;
    color: #000;                    
}

/* Paper stack order */

#p1{
    z-index: 3;
}

#p2{
    z-index: 2;
}

#p3{
    z-index: 1;
}

.flip{
    height: 730px;
}

/* TEXT SELECTION */

::selection {
    color: white;
    background-color: #fd9e03;
  }

  #form-gichuru-subscribe .error{ color: white; font-weight: bold;}

  .color-777{
    color: #777;
  }

  @media (max-width: 550px)
  {
      .slide-captions h1 {
          font-size: 1.5rem;
      }
  }

  @media (max-width: 575px) {
    .order-xs-0{
        order: 0;
    }
    .order-xs-1{
        order: 1;
    }
    .order-xs-2{
        order: 2;
    }
    .order-xs-3{
        order: 3;
    }
    .order-xs-4{
        order: 4;
    }
}