@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville');
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@font-face {
  font-family: 'Noto Serif Japanese';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/NotoSerifJP/NotoSerifJP-Regular.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Noto Serif Japanese';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/NotoSerifJP/NotoSerifJP-Bold.woff') format('woff');
  font-display: swap;
}

body {
  font-family: 'Noto Sans JP';
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 992px) {
  body {
    font-size: 16px;
  }
}

a {
  color: #2eb8b8;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
a:hover, a:active, a:focus {
  color: #29A3A3;
  outline: none;
}
li {
	margin-bottom: 0.5em;
    color: #3C3C3C;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
	font-weight: 400;
}
p {
  margin-bottom: 1.2em;
  color: #3C3C3C;
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-ideograph;
}
p span {
  font-size: 12px;
  line-height: 1.8;
}
p small {
  font-size: 15px;
  line-height: 1.7;
  color: #3C3C3C;
  font-weight: 300;
}

h1 {
  font-size: 90px;
  margin: 0 0 30px 0;
}

h2 {
  font-size: 70px;
  margin: 0 0 10px 0;
}
@media screen and (max-width: 767px) {
h2 {
  font-size: 60px;
}
}
@media screen and (max-width: 479px) {
h2 {
  font-size: 50px;
  margin: 0 20px 0 10px 0;
}
}
h3 {
  font-size: 30px;
  line-height: 1.5em;
}
h3 span {
  font-size: 24px;
  color: #2eb8b8;
}

h4 {
  font-size: 30px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 12px;
}

h1, h2 {
  color: #000;
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
}
h3 {
  color: #3C3C3C;
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
}
h4, h5, h6 {
  color: #000;
  font-family: 'Noto Sans JP';
  font-weight: 700;
  margin: 0 0 30px 0;
}
.red {
	color: #FF213E;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.right2 {
  float: right;
  width: 20%;
}
img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.mg {
	margin-top: 1em;
}
figure {
  margin-bottom: 2em;
  float: left;
  width: 100%;
}
figure figcaption {
  font-size: 16px;
  width: 80%;
  margin: 20px auto 0px auto;
  color: #b3b3b3;
  font-style: italic;
  font-family: 'Noto Sans JP';
}
@media screen and (max-width: 479px) {
  figure figcaption {
    width: 100%;
  }
}

::-webkit-selection {
  color: #fff;
  background: #29A3A3;
}

::-moz-selection {
  color: #fff;
  background: #29A3A3;
}

::selection {
  color: #fff;
  background: #29A3A3;
}

#page {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/*Side menu*/
#aside {
  padding-top: 40px;
  padding-bottom: 40px;
  width: 15%;
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  background: #fafafa;
  z-index: 1001;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
  -ms-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
  -o-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
@media screen and (max-width: 1200px) {
  #aside {
    width: 30%;
  }
}
@media screen and (max-width: 767px) {
  #aside {
    width: 270px;
    -moz-transform: translateX(-270px);
    -webkit-transform: translateX(-270px);
    -ms-transform: translateX(-270px);
    -o-transform: translateX(-270px);
    transform: translateX(-270px);
  }
}
#aside #logo {
  text-align: center;
}
@media screen and (max-width: 767px) {
#aside #logo {
  display: none;
}
}
#aside #main-menu ul {
  text-align: center;
  margin: 0;
  padding: 0;
}
@media screen and (max-width: 767px) {
  #aside #main-menu ul {
    margin: 0 0 2.25em 0;
  }
}
#aside #main-menu ul li {
  margin: 0 0 10px 20px;
  padding: 0;
  list-style: none;
}
#aside #main-menu ul li a {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 300;
    position: relative;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    padding: 12px 12px;
    letter-spacing: 0.1em;
    font-family: 'Noto Sans JP';
}
#aside #main-menu ul li a:after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background-color: #2eb8b8;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -moz-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -ms-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#aside #main-menu ul li a:hover {
  text-decoration: none;
  color: black;
}
#aside #main-menu ul li a:hover:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}
#aside #main-menu ul li.active a {
  color: black;
}
#aside #main-menu ul li.active a:after {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -o-transform: scaleX(1);
  transform: scaleX(1);
}
#aside .footer {
  position: absolute;
  bottom: 40px;
  width: 100%;
}
#aside .footer p {
  font-size: 11px;
  text-align: center;
  font-weight: 300;
  color: rgba(0, 0, 0, 0.6);
}
@media screen and (max-width: 767px) {
  #aside .footer {
    position: relative;
    bottom: 0;
  }
}
#aside .footer span {
  display: block;
}
#aside .footer ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
#aside .footer ul li {
  padding: 0;
  margin: 0;
  display: inline;
  list-style: none;
}
#aside .footer ul li a {
  color: rgba(0, 0, 0, 0.7);
  padding: 4px;
}
#aside .footer ul li a:hover, #aside .footer ul li a:active, #aside .footer ul li a:focus {
    text-decoration: none;
    outline: none;
    color: #FF213E;
}

#main {
  width: 85%;
  float: right;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  display:block;
  background-image: url(../images/page_background.png);
  background-repeat: repeat-y;
}
@media screen and (max-width: 1200px) {
  #main {
    width: 70%;
  }
}
@media screen and (max-width: 767px) {
  #main {
    width: 100%;
  }
}
#main .narrow-content {
  position: relative;
  width: 80%;
  margin: 0 auto;
  padding: 3em 0;
}
#main .narrow-content2 {
	position: relative;
	width: 100%;
	height: 220px;
}
.ct {
	padding-top: 2em;
}
@media screen and (max-width: 767px) {
  #main .narrow-content {
    width: 100%;
    padding: 6em 1em;
  }
  #main .narrow-content2 {
    width: 100%;
    padding: 6em 1em;
  }
}
#home_main {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position:fixed;
  overflow: hidden;
  background-image: url(../images/background.jpg);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
}
@media screen and (max-width: 767px) {
#home_main {
  background-image: url(../images/background_mb.jpg);
}
}
#home_main .narrow-content {
  position: relative;
  margin: 0 auto;
  padding: 3em 0;
}
@media screen and (max-width: 767px) {
  #home_main .narrow-content {
    padding: 3em 1em;
  }
}
body.offcanvas {
  overflow-x: hidden;
}
body.offcanvas #aside {
  -moz-transform: translateX(0);
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  width: 270px;
  background: #fff;
  z-index: 999;
  position: fixed;
}
body.offcanvas #main, body.offcanvas .nav-toggle {
  top: 0;
  -moz-transform: translateX(270px);
  -webkit-transform: translateX(270px);
  -ms-transform: translateX(270px);
  -o-transform: translateX(270px);
  transform: translateX(270px);
}

.border-bottom {
  border-bottom: 1px solid #2eb8b8;
}

/*Owl slider layout*/
.testimonial {
  padding: 0;
  position: relative;
}
.testimonial .item {
  color: black;
  padding-left: 3em;
  padding-right: 3em;
}
@media screen and (max-width: 767px) {
  .testimonial .item {
    padding-left: 0em;
    padding-right: 0em;
  }
}
.testimonial .item figure {
	display: inline-block;
	text-align: center;
	margin: 0 auto;
}
.testimonial .item figure img {
	width: 120px;
}
.testimonial .item h3 {
  font-size: 26px;
  line-height: 1.5em;
  margin-bottom: 1em;
}
.testimonial .item .quote {
  font-family: 'Noto Sans JP';
}
@media screen and (max-width: 767px) {
  .testimonial .item p {
    font-size: 18px;
  }
}
@media screen and (max-width: 479px) {
  .testimonial .item p {
    font-size: 18px;
  }
}
.testimonial .item .version {
  display: block;
  text-align: right;
}
a.refer{
  color: #b3b3b3;
}
.more-contact {
  background: #fafafa;
}

.feature {
    text-align: left;
    width: 100%;
    float: left;
    padding: 10px;
}
.feature .icon {
  float: left;
  width: 10%;
  display: block;
  margin-top: 5px;
}
.feature .icon i {
  color: #FF213E;
  font-size: 70px;
}
@media screen and (max-width: 1200px) {
  .feature .icon i {
    font-size: 40px;
  }
}
.feature.feature-sm .icon i {
  color: #FF213E;
  font-size: 28px;
}
@media screen and (max-width: 1200px) {
  .feature.feature-sm .icon i {
    font-size: 28px;
  }
}
.feature .text {
  float: right;
  width: 70%;
}
@media screen and (max-width: 767px) {
  .feature .text {
    width: 82%;
  }
}
@media screen and (max-width: 479px) {
  .feature .text {
    width: 70%;
  }
}
.feature .text h2, .feature .text h3 {
  margin: 0;
  padding: 0;
}
.feature .text h3 {
  font-weight: 300;
  margin-bottom: 20px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.feature .text span {
  font-weight: 700;
  color: #FF213E;
}
/*Heading in top page*/
.heading {
  font-family: 'Libre Baskerville', serif;
  font-weight: 300;
  margin: 0.25em 0 0.4em;
}
.heading.light {
  color: #fff;
}
.heading span {
  font-family: 'Noto Sans JP';
  font-size: 32px;
  font-weight: 400;
  margin-top: 0.8em;
  display: block;
}
.heading-colored {
  color: #FF213E;
}
.heading-image{
  margin-top: 15px;
}
.top_texts {
	background: rgba(255, 255, 255, 0.8);
	margin-top: 30%;
    padding: 25px 30px 0;
	animation-delay: 1s;
}
@media screen and (max-width: 1200px) {
.top_texts {
	margin-top: 60%;
}
}
@media screen and (max-width: 1060px) {
.top_texts {
	margin-top: 80%;
}
}
@media screen and (max-width: 767px) {
.top_texts {
	margin-top: 70%;
}
}
.top_margin {
    margin-top: 1em;
}
.top_margin2 {
    margin-top: 30%;
}
@media screen and (max-width: 767px) {
.top_margin2 {
	margin-top: 50%;
}
}
h3.heading {
  color: #3C3C3C;
  line-height: 1em;
}
h1.heading {
  margin: 10% 0 0 15%;
  font-size: 13vmin;
  font-weight: normal;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9,0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.15), 0 3px 5px rgba(0,0,0,.15), 0 5px 10px rgba(0,0,0,.15), 0 10px 10px rgba(0,0,0,.15), 0 20px 20px rgba(0,0,0,.15);
}
@media screen and (max-width: 1200px) {
  h1.heading {
    padding:0 12% 0 28%;
	text-align: center;
  }
}
@media screen and (max-width: 767px) {
  h1.heading {
  padding:0 30% 0 6%;
  font-size: 17.5vmin;
  text-align: justify;
  }
}
@media screen and (max-width: 600px) {
  h3.heading {
  font-size: 5vmin;
line-height: 1.3em;
}
}
@media screen and (max-width: 479px) {
  h1.heading {
  font-size: 18vmin;
  }
  h3.heading {
  font-size: 22px;
}
}
/*shadow*/
.box {
    width:100%;
    height:auto;
    margin:10px auto 0;
}
.effect{
    -webkit-box-shadow: 0 10px 6px -6px #777;
       -moz-box-shadow: 0 10px 6px -6px #777;
            box-shadow: 0 10px 6px -6px #777;
}

/*Layout of 3 coloumns in varieties pages*/
.example {
  margin: 0;
}
.example h3 {
  margin: 0 0 10px 0;
　line-height: 1.5em;
}
.example h5 {
  font-weight: 400;
  color: #3c3c3c;
}
.example p {
  line-height: 0;
  margin-top: -10px;
}
.scale{
	width: 90%;
}
.scale2{
	width: 70%;
}
.tarot{
	width: 34%;
}
@media screen and (max-width: 767px) {
.scale{
	width: 60%;
}
.scale2{
	width: 40%;
}
.tarot{
	width: 60%;
}
}
.chart {
  width: 160px;
  height: 160px;
  margin: 0 auto 30px auto;
  position: relative;
  text-align: center;
}
.chart span {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -30px;
  width: 100%;
}
.chart span strong {
  display: block;
}
.chart canvas {
  position: absolute;
  left: 0;
  top: 0;
}

/*Owl override style*/
.owl-carousel .owl-controls,
.owl-carousel-posts .owl-controls {
  margin-top: 0;
}

.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel-posts .owl-controls .owl-nav .owl-next,
.owl-carousel-posts .owl-controls .owl-nav .owl-prev {
  top: 50%;
  margin-top: -29px;
  z-index: 9999;
  position: absolute;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.owl-carousel-posts .owl-controls .owl-nav .owl-next,
.owl-carousel-posts .owl-controls .owl-nav .owl-prev {
  top: 24%;
}

.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel-posts .owl-controls .owl-nav .owl-next {
  right: -40px;
}
.owl-carousel .owl-controls .owl-nav .owl-next:hover,
.owl-carousel-posts .owl-controls .owl-nav .owl-next:hover {
  margin-right: -10px;
}

.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel-posts .owl-controls .owl-nav .owl-prev {
  left: -40px;
}
.owl-carousel .owl-controls .owl-nav .owl-prev:hover,
.owl-carousel-posts .owl-controls .owl-nav .owl-prev:hover {
  margin-left: -10px;
}

.owl-carousel-posts .owl-controls .owl-nav .owl-next {
  right: -50px;
}
@media screen and (max-width: 768px) {
  .owl-carousel-posts .owl-controls .owl-nav .owl-next {
    right: 0px;
  }
}

.owl-carousel-posts .owl-controls .owl-nav .owl-prev {
  left: -50px;
}
@media screen and (max-width: 768px) {
  .owl-carousel-posts .owl-controls .owl-nav .owl-prev {
    left: 0px;
  }
}

.owl-carousel-posts .owl-controls .owl-nav .owl-next i,
.owl-carousel-posts .owl-controls .owl-nav .owl-prev i,
.owl-carousel-fullwidth .owl-controls .owl-nav .owl-next i,
.owl-carousel-fullwidth .owl-controls .owl-nav .owl-prev i {
  color: #444;
}
.owl-carousel-posts .owl-controls .owl-nav .owl-next:hover i,
.owl-carousel-posts .owl-controls .owl-nav .owl-prev:hover i,
.owl-carousel-fullwidth .owl-controls .owl-nav .owl-next:hover i,
.owl-carousel-fullwidth .owl-controls .owl-nav .owl-prev:hover i {
  color: #2eb8b8;
}

.owl-carousel-fullwidth.fh5co-light-arrow .owl-controls .owl-nav .owl-next i,
.owl-carousel-fullwidth.fh5co-light-arrow .owl-controls .owl-nav .owl-prev i {
  color: #2eb8b8;
}
.owl-carousel-fullwidth.fh5co-light-arrow .owl-controls .owl-nav .owl-next:hover i,
.owl-carousel-fullwidth.fh5co-light-arrow .owl-controls .owl-nav .owl-prev:hover i {
  color: #2eb8b8;
}

@media screen and (max-width: 767px) {
  .owl-carousel .owl-theme .owl-controls .owl-nav .owl-dots {
    display: none !important;
  }
}

.owl-theme .owl-controls .owl-nav [class*="owl-"] {
  background: none !important;
}
.owl-theme .owl-controls .owl-nav [class*="owl-"] i {
  font-size: 30px;
}
.owl-theme .owl-controls .owl-nav [class*="owl-"] i:hover, .owl-theme .owl-controls .owl-nav [class*="owl-"] i:focus {
  background: none !important;
}
.owl-theme .owl-controls .owl-nav [class*="owl-"]:hover, .owl-theme .owl-controls .owl-nav [class*="owl-"]:focus {
  background: none !important;
}

.owl-theme .owl-dots {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.owl-carousel-fullwidth.owl-theme .owl-dots {
  bottom: 0;
  margin-bottom: -2.5em;
}

.owl-theme .owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  background: #2eb8b8;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  border: 1px solid transparent;
}
.owl-theme .owl-dots .owl-dot span:hover {
  background: none;
  border: 1px solid #2eb8b8;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: transparent;
  height: 10px;
  border: 1px solid #2eb8b8;
}

/*Button*/

.btn {
  color: #2eb8b8;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 45px;
  margin: 0;
  max-width: 200px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}
@media screen and (max-width: 600px) {
 .btn {
    margin: 0 1em 1em;
  }
}
.btn:hover {
  text-decoration: none;
}
.btn-2 {
  letter-spacing: 2px;
}

.btn-2:hover,
.btn-2:active {
  letter-spacing: 5px;
}

.btn-2:after,
.btn-2:before {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border: 1px solid #fafafa;
  bottom: 0px;
  content: " ";
  display: block;
  margin: 0 auto;
  position: relative;
  transition: all 280ms ease-in-out;
  width: 0;
}

.btn-2:hover:after,
.btn-2:hover:before {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-color: #2eb8b8;
  transition: width 350ms ease-in-out;
  width: 100%;
}

.btn-2:hover:before {
  bottom: auto;
  top: 0;
  width: 100%;
}

.btn-4 {
  color: #fff;
  background: #2eb8b8;
  font-weight: 400;
  border: 1px solid #2eb8b8;
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0.5);
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-4:hover {
  background: #fff;
  border: 1px solid;
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0);
}

/* contact form */

#contactform {
	margin:0 auto;
	padding:5px 10px;
	width:85%;
}
#contactform .red {
	color:#F00;
}
#contactform ol {
	margin:0;
	padding:0;
	list-style:none;
}
#contactform li {
	margin:0;
	padding:0;
	background:none;
	border:none;
	display:block;
	clear:both;
	color: #3C3C3C;
 	font-size: 17px;
	font-weight: 400;
	line-height: 1.8;
	text-align: justify;
	text-justify: inter-ideograph;
	font: 'Open Sans', Arial, Helvetica, sans-serif;
}
#contactform label {
	width:20%;
	display:block;
	padding:10px 0;
	text-transform:capitalize;
	float:left;
}
#contactform label span {
	color:#F00;
}
#contactform input.text {
	width:65%;
	border:1px solid #2eb8b8;
	margin:2px 0;
	padding:5px;
	height:40px;
	background:#fff;
	float:right;
	font-size: 17px;
	font-weight: 300;
}
#contactform textarea {
	width:65%;
	border:1px solid #2eb8b8;
	margin:2px 0;
	padding:5px;
	background:#fff;
	float:right;
	font-size: 17px;
	font-weight: 300;
}
input[type=submit] {
    background-color: #2eb8b8;
    color: white;
    margin: 5px 0 15px 0;
	padding: 5px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	float:right;
}
input[type=submit]:hover {
    background-color: #29A3A3;
}

#contactform li.recap {
	margin:10px auto;
	border:0;
	float:right;
	padding: 7px 0 0 0;
}

@media only screen and (max-width: 1070px) {
#contactform label {
	width:100%;
	padding: 10px 0 0 0;
}
#contactform input.text {
	width:100%;
}
#contactform textarea {
	width:100%;
}
}
@media only screen and (max-width: 767px) {
#contactform {
	width:100%;
}
#contactform li.recap {
  margin:10px 0 0 0;
  box-sizing: border-box;
  display:inline-block;
  margin-right: -38px;
  position:relative;
}
#contactform li.re-width {
transform:scale(0.88);
-webkit-transform:scale(0.88);
transform-origin:0 0;
-webkit-transform-origin:0 0;
}
}

/*Mobile menu display*/
.cards {
  padding: 1em 0;
  background: #e6e6e6;
}
@media screen and (max-width: 767px) {
  .cards {
    padding: 1em 0;
  }
}
.cards .flex-wrap {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
}
.cards .flex-wrap > div {
  width: 49.5%;
  margin-right: 1%;
  background: #fff;
  padding: 30px;
  margin-bottom: 10px;
}
.cards .flex-wrap > div:nth-of-type(1) {
  float: left;
}
.cards .flex-wrap > div:nth-of-type(2) {
  float: right;
  margin-right: 0%;
}
@media screen and (max-width: 991px) {
  .cards .flex-wrap > div {
    width: 100%;
    margin-right: 0;
  }
}
.cards .flex-wrap .card p:last-child {
  margin-bottom: 0;
}
.cards .flex-wrap .card h5 {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .2em;
  padding: 4px 8px;
  background: #ebebeb;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.nav-toggle {
  cursor: pointer;
  text-decoration: none;
}
.nav-toggle.active i::before, .nav-toggle.active i::after {
  background: #000;
}
.nav-toggle.dark.active i::before, .nav-toggle.dark.active i::after {
  background: #000;
}
.nav-toggle:hover, .nav-toggle:focus, .nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}
.nav-toggle i {
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  *display: inline;
  width: 30px;
  height: 2px;
  color: #000;
  text-transform: uppercase;
  text-indent: -55px;
  background: #000;
  transition: all .2s ease-out;
}
.nav-toggle i::before, .nav-toggle i::after {
  content: '';
  width: 30px;
  height: 2px;
  background: #000;
  position: absolute;
  left: 0;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}
.nav-toggle.dark i {
  position: relative;
  color: #000;
  background: #000;
  transition: all .2s ease-out;
}
.nav-toggle.dark i::before, .nav-toggle.dark i::after {
  background: #000;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

.nav-toggle i::before {
  top: -7px;
}

.nav-toggle i::after {
  bottom: -7px;
}

.nav-toggle:hover i::before {
  top: -10px;
}

.nav-toggle:hover i::after {
  bottom: -10px;
}

.nav-toggle.active i {
  background: transparent;
}

.nav-toggle.active i::before {
  top: 0;
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.nav-toggle.active i::after {
  bottom: 0;
  -webkit-transform: rotateZ(-45deg);
  -moz-transform: rotateZ(-45deg);
  -ms-transform: rotateZ(-45deg);
  -o-transform: rotateZ(-45deg);
  transform: rotateZ(-45deg);
}

.nav-toggle {
  position: fixed;
  left: 0;
  top: 0px;
  z-index: 9999;
  cursor: pointer;
  opacity: 1;
  visibility: hidden;
  padding: 20px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
@media screen and (max-width: 767px) {
  .nav-toggle {
    opacity: 1;
    visibility: visible;
  }
}

@media screen and (max-width: 479px) {
  .col-xxs-12 {
    float: none;
    width: 100%;
  }
}

.row-bottom-padded-lg {
  padding-bottom: 7em;
}
@media screen and (max-width: 767px) {
  .row-bottom-padded-lg {
    padding-bottom: 1em;
  }
}

.row-bottom-padded-md {
  padding-bottom: 4em;
}
@media screen and (max-width: 767px) {
  .row-bottom-padded-md {
    padding-bottom: 1em;
  }
}

.row-bottom-padded-sm {
  padding-bottom: 1em;
}
@media screen and (max-width: 767px) {
  .row-bottom-padded-sm {
    padding-bottom: 1em;
  }
}

/*Animation*/
.js .animate-box {
  opacity: 0;
}

/*Video in final massage*/
video { margin: 10px 0; }
.video_frame{
    text-align:center;
}

/*Redio of banckgrounds*/
50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}

/*Slider*/
.slider, 
.slider > div {
    /* Images default to Center Center. Maybe try 'center top'? */
    background-position: center center;
    display: block;
    width: 100%;
    height: 500px;
    /* height: 100vh; *//* If you want fullscreen */
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    -moz-transition: transform .4s;
    -o-transition: transform .4s;
    -webkit-transition: transform .4s;
    transition: transform .4s;
}

.slider > div {
    position: absolute;
}
.hoverZoomOff:hover > div {
    transform: scale(1);
}
.slider > .show {
    z-index: 1;
}
.hideDots > ul {
    display: none;
}
.slider > div span {
    display: block;
    position: absolute;
    bottom: 0;
	text-align: center;
    padding: 0;
    width: 100%;
}
.slider h5 {
    color: #fff;
  	font-weight: 400;
	letter-spacing: 0.05em;
	text-shadow: #FC0 1px 0 10px;
}
@keyframes boing {
    0% {
        transform: scale(1.2);
    }
    40% {
        transform: scale(.6);
    }
    60% {
        transform: scale(1.2);
    }
    80% {
        transform: scale(.8);
    }
    100% {
        transform: scale(1);
    }
}
/* Back to top button style */
.to-top {
  position: fixed;
  z-index: 9999;
  bottom: 0px;
  right: 0px;
  display: none;
}
.to-top a.back-to-top {
  text-decoration: none;
  display: block;
  text-align: center;
  color: #fff;
  font-size: 1.3em;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 5px;
  background: #2eb8b8;
  opacity: 0.7;
  transition: 0.3s;
}
.to-top a.back-to-top:hover {
  opacity: 0.9;
}
@media screen and (max-width: 767px) {
.to-top {
  position: fixed;
  z-index: 9999;
  bottom: 0px;
  right: 0px;
  display:block;
}
}