
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic&subset=latin,greek,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic);
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

@import url("colors/color.css");




body.royal_preloader {
    background: none;
    visibility: hidden;
}
#royal_preloader {
    visibility: visible;
    position: fixed;
	width:100%;
	height:100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: auto;
    margin: 0;
    z-index: 9999999999;
}
#royal_preloader.royal_preloader_number:before,
#royal_preloader.royal_preloader_progress:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: -webkit-radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    background-image: -moz-radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    background-image: -ms-radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    background-image: -o-radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01));
}
#royal_preloader.complete {
    opacity: 0;
    -webkit-transition: opacity 0.2s linear 0.5s;
       -moz-transition: opacity 0.2s linear 0.5s;
        -ms-transition: opacity 0.2s linear 0.5s;
         -o-transition: opacity 0.2s linear 0.5s;
            transition: opacity 0.2s linear 0.5s;
}
#royal_preloader.royal_preloader_line {
    height: 2px;
    bottom: auto;
}

/* Number Mode */

#royal_preloader.royal_preloader_number .royal_preloader_percentage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    line-height: 100px;
    font-size: 20px;
    font-family: Impact, Arial;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
}
#royal_preloader.royal_preloader_number .royal_preloader_percentage > div {
    position: absolute;
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    border: 4px solid transparent;
    border-left-color: #FFFFFF;
    border-radius: 50%;
    -webkit-animation: rotate 0.8s linear infinite;
       -moz-animation: rotate 0.8s linear infinite;
        -ms-animation: rotate 0.8s linear infinite;
         -o-animation: rotate 0.8s linear infinite;
            animation: rotate 0.8s linear infinite;
}

/* Line Mode */

#royal_preloader.royal_preloader_line .royal_preloader_loader {
    position: absolute;
    height: 100%;
    left: 0;
}
#royal_preloader.royal_preloader_line .royal_preloader_peg {
    position: absolute;
    right: 0;
    height: 100%;
    width: 100px;
    opacity: 0.5;
}

/* Text Mode */

#royal_preloader.royal_preloader_text .royal_preloader_loader {
    color: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
	opacity:.2;
    left: 50%;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
    height: 80px;
    line-height: 80px;
    margin: auto;
    letter-spacing: -4px;
    font-size: 55px;
    white-space: nowrap;
}
#royal_preloader.royal_preloader_text .royal_preloader_loader div {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0%;
    background-color: #000000;
    opacity: 0.7;
    filter: alpha(opacity=70);
}

/* Scale Text Mode */

#royal_preloader.royal_preloader_scale_text .royal_preloader_loader {
    color: #FFFFFF;
    position: absolute;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
    top: 0;
    bottom: 0;
    left: 50%;
    height: 32px;
    line-height: 32px;
    margin: auto;
    letter-spacing: 1px;
    font-size: 32px;
    white-space: nowrap;
}

#royal_preloader.royal_preloader_scale_text .royal_preloader_loader span {
    display: inline-block;
    -webkit-transform: scale(0);
       -moz-transform: scale(0);
        -ms-transform: scale(0);
         -o-transform: scale(0);
            transform: scale(0);
}

#royal_preloader.royal_preloader_scale_text .royal_preloader_loader span.loaded {
    -webkit-animation: scale 0.2s forwards;
       -moz-animation: scale 0.2s forwards;
        -ms-animation: scale 0.2s forwards;
         -o-animation: scale 0.2s forwards;
            animation: scale 0.2s forwards;
}

/* Logo Mode */

#royal_preloader.royal_preloader_logo .royal_preloader_loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0px;
    overflow: hidden;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 5px;
}
#royal_preloader.royal_preloader_logo .royal_preloader_loader div {
    position: absolute;
    bottom: 0%;
    left: 0px;
    right: 0px;
    height: 100%;
    opacity: 0.7;
    filter: alpha(opacity=70);
}
#royal_preloader.royal_preloader_logo .royal_preloader_percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 40px;
    line-height: 40px;
    margin: 0px;
    color: #072E77;
    text-align: center;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
}

/* Progress Mode */

#royal_preloader.royal_preloader_progress .royal_preloader_percentage {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    color: #AAAAAA;
    color: rgba(255, 255, 255, 0.1);
    font-family: Impact, Arial;
    font-size: 20px;
    text-align: center;
}
#royal_preloader.royal_preloader_progress .royal_preloader_loader {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 60%;
    height: 2px;
    margin: -10px auto auto auto;
    background-color: rgba(0, 0, 0, 0.1);
}
#royal_preloader.royal_preloader_progress .royal_preloader_meter {
    width: 0;
    height: 100%;
    margin: auto;
    padding: 0;
    background-color: #C76363;
}


@-webkit-keyframes rotate {
    0% { -webkit-transform: rotate(0);}
    100% { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes rotate {
    0% { -moz-transform: rotate(0); }
    100% { -moz-transform: rotate(360deg); }
}
@-ms-keyframes rotate {
    0% { -ms-transform: rotate(0); }
    100% { -ms-transform: rotate(360deg); }
}
@-o-keyframes rotate {
    0% { -o-transform: rotate(0); }
    100% { -o-transform: rotate(360deg); }
}
@keyframes rotate {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

@-webkit-keyframes scale {
    0% { -webkit-transform: scale(0); opacity: 0;}
    50% { -webkit-transform: scale(2);  opacity: 0.5;}
    100% { -webkit-transform: scale(1);  opacity: 1;}
}
@-moz-keyframes scale {
    0% { -moz-transform: scale(0); opacity: 0;}
    50% { -moz-transform: scale(2); opacity: 0.5;}
    100% { -moz-transform: scale(1); opacity: 1;}
}
@-ms-keyframes scale {
    0% { -ms-transform: scale(0); opacity: 0;}
    50% { -ms-transform: scale(2); opacity: 0.5;}
    100% { -ms-transform: scale(1); opacity: 1;}
}
@-o-keyframes scale {
    0% { -o-transform: scale(0); opacity: 0;}
    50% { -o-transform: scale(2); opacity: 0;.5}
    100% { -o-transform: scale(1); opacity: 1;}
}
@keyframes scale {
    0% { transform: scale(0); opacity: 0;}
    50% { transform: scale(2); opacity: 0.5;}
    100% { transform: scale(1); opacity: 1;}
}

/* #Navigation
================================================== */
 
 
.header{
    position: fixed;
	width:100%;
	top:0;
	left:0;
	z-index:100;
}
 
.logo-wrap {
	display:block;
	float:left;
}
.logo-wrap.style-logo-home-1 {
  position: fixed;
	top:0px;
	left:30px;
	padding: 20px;
	background: rgba(255,255,255,.9);
}
.logo-wrap img{
	width:120px;
	height:auto;
	display:block;
  margin-top: -5px;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body.overflow-hidden {
  /* when primary navigation is visible, the content in the background won't scroll */
  overflow: hidden;
}
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}
.cd-container:after {
  content: "";
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */
/* ▼▼▼ ベース（スマホ・モバイル用）の設定 ▼▼▼ */
.cd-header {
  position: fixed; /* absolute から fixed に変更（これで固定されます） */
  padding-top: 5px;
  top: 0;
  left: 0;
  /* ↓スマホだと透けすぎると文字が重なって見にくいので、少し濃くしました（0.3→0.95） */
  background: rgba(247, 247, 247, 0.95); 
  height: 50px;
  width: 100%;
  z-index: 2002;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cd-header.style-header-home-1 {
  background: transparent;
  box-shadow: none;
}

/* ▼▼▼ タブレット・PC用の設定 ▼▼▼ */
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
    background: transparent;
    box-shadow: none;
    
    /* ★重要：PC等のときは固定を解除して、元のJSのアニメーション（いい感じの動き）に任せる */
    position: absolute; 
  }

  .logo-wrap.style-logo-home-1 {
    top: 50px;
    left: 50px;
  }
}

/* ▼▼▼ PC（大型モニタ）用のアニメーション設定（ここは元のまま） ▼▼▼ */
@media only screen and (min-width: 1170px) {
  .cd-header {
    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }

  .cd-header.is-fixed {
    /* when the user scrolls down, we hide the header right above the viewport */
    position: fixed;
    top: -80px;
    background-color: rgba(247, 247, 247, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
  }

  .cd-header.is-visible {
    /* if the user changes the scrolling direction, we show the header */
    padding-top: 5px;
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  .cd-header.menu-is-open {
    /* add a background color to the header when the navigation is open */
    background-color: rgba(247, 247, 247, 0);
  }
}
/* スマホの時だけ、ヘッダーの高さ分(50px)本文を下げる */
@media only screen and (max-width: 767px) {
  body {
    padding-top: 50px;
  }
}


@media only screen and (min-width: 768px) {
  .cd-secondary-nav {
    display: block;
  }
}

.cd-primary-nav-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
}
.cd-primary-nav-trigger.style-home-1 {
	background:rgba(255,255,255,.8);
	right: 30px;
	top: 0px;
  height: 50px;
  width: 50px;
}
.cd-primary-nav-trigger .cd-menu-text {
  color: #212121;
  text-transform: uppercase;
  font-weight: 700;
  /* hide the text on small devices */
  display: none;
}
.cd-primary-nav-trigger .cd-menu-icon {
  /* this span is the central line of the menu icon */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #212121;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  transition: background-color 0.3s;
  /* these are the upper and lower lines in the menu icon */
}
.cd-primary-nav-trigger .cd-menu-icon::before, .cd-primary-nav-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color:  #212121;
  right: 0;
  -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
  -moz-transition: -moz-transform .3s, top .3s, background-color 0s;
  transition: transform .3s, top .3s, background-color 0s;
}
.cd-primary-nav-trigger .cd-menu-icon::before {
  top: -5px;
}
.cd-primary-nav-trigger .cd-menu-icon::after {
  top: 5px;
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked {
  background-color: rgba(255, 255, 255, 0);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before, .cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  background-color:  #212121;
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::before {
  top: 0;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.cd-primary-nav-trigger .cd-menu-icon.is-clicked::after {
  top: 0;
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
@media only screen and (min-width: 768px) {
  .cd-primary-nav-trigger {
    width: 100px;
    padding-left: 1em;
    background-color: transparent;
    height: 30px;
    line-height: 30px;
    right: 2.2em;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
.cd-primary-nav-trigger.style-home-1 {
	right: 50px;
	top: 70px;
}
  .cd-primary-nav-trigger .cd-menu-text {
    display: inline-block;
  }
  .cd-primary-nav-trigger .cd-menu-icon {
    left: auto;
    right: 1em;
    -webkit-transform: translateX(0) translateY(-50%);
    -moz-transform: translateX(0) translateY(-50%);
    -ms-transform: translateX(0) translateY(-50%);
    -o-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
  }
}

.cd-primary-nav {
  /* by default it's hidden - on top of the viewport */
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(247, 247, 247, 0.96);
  z-index: 2000;
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: auto;
  /* this fixes the buggy scrolling on webkit browsers - mobile devices only - when overflow property is applied */
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.cd-primary-nav .cd-scndr-nav{
	position:absolute;
	top: 50%;
	width:100%;
	max-width:300px;
	left:50%;
	margin-left:-150px;
	-webkit-transform: translateY(-55%);
	-moz-transform: translateY(-55%);
	-ms-transform: translateY(-55%);
	-o-transform: translateY(-55%);
	transform: translateY(-55%);
}
@media only screen and (max-width: 300px) {
.cd-primary-nav .cd-scndr-nav{
	left:0;
	margin-left:0;
}
}



.cd-primary-nav .cd-label {
  color: #212121;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.cd-primary-nav.is-visible {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}


.cd-main-content {
  position: relative;
  z-index: 1;
}
.cd-main-content p {
}
@media only screen and (min-width: 1170px) {
  .cd-main-content p {
  }
}
.cd-label ul{
	overflow: hidden;
	max-height: 0;
	transition:all 0.7s ease 0s;
	-moz-transition:all 0.7s ease 0s;
	-webkit-transition:all 0.7s ease 0s;
	-o-transition:all 0.7s ease 0s;
}
.cd-label:hover ul{
	margin-top:5px;
	margin-bottom:10px;
	max-height: 500px;
}
.cd-label ul a {
  padding: .4em .7em;
}
a.curent-nav-color{
	color:#999999;
}

.social-nav{ 
	position:absolute;
	bottom:40px;
	width:100%;
	left:0;
	z-index:100;
	text-align:center;
	margin:0 auto;
	display:block;
}
.list-social-nav li {
    padding:0; 
    list-style: none;
	text-align:center; 
	width:50px;
	height:30px;
    display: inline-block;
	border-right:1px solid rgba(0,0,0,.1);
	cursor:pointer;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.list-social-nav li:last-child {
	border-right:1px solid transparent;
}
.list-social-nav li.icon-soc-nav a {
	font-family: 'FontAwesome';
	font-size: 14px;
	line-height: 30px;
	width:50px;
	color:#000;
	opacity:1;
	margin:0;
	padding:0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.list-social-nav li:hover{
	background:transparent;
}
.list-social-nav li:hover.icon-soc-nav a{
	background:transparent;
}



.cd-accordion-menu {
  width: 100%;
  max-width: 600px;
}
.cd-accordion-menu ul {
  /* by default hide all sub menus */
  display: none;
}
.cd-accordion-menu li {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cd-accordion-menu input[type=checkbox] {
  /* hide native checkbox */
  position: absolute;
  opacity: 0;
}
.cd-accordion-menu label, .cd-accordion-menu a {
  position: relative;
  display: block;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.cd-accordion-menu label{
	font-family: 'Montserrat', sans-serif;
	padding-top:2px;
	padding-bottom:5px;
	font-size: 18px;
	line-height:20px;
	font-weight:700;
  color: #323232;
}
.cd-accordion-menu label a{
	font-family: 'Montserrat', sans-serif;
	padding-top:2px;
	padding-bottom:5px;
	font-size: 18px;
	line-height:20px;
	font-weight:400;
  color: #323232;
}
.cd-accordion-menu a {
	font-family: 'Open Sans', sans-serif;
  padding: 4px 0px;
	font-size: 13px;
	font-weight:400;
	line-height:18px;
  color: #545454;
	letter-spacing:1px;
}
.cd-accordion-menu label {
  cursor: pointer;
}

@media only screen and (min-width: 1170px) {
.cd-accordion-menu label{
	font-size: 30px;
	line-height:34px;
	font-weight:800;
	letter-spacing:1px;
}
.cd-accordion-menu label a{
	font-size: 30px;
	line-height:34px;
	font-weight:800;
	letter-spacing:1px;
}
}
.no-touch .cd-accordion-menu ul label:hover, .no-touch
.cd-accordion-menu ul a:hover {
}
.cd-accordion-menu > li:last-of-type > label,
.cd-accordion-menu > li:last-of-type > a,
.cd-accordion-menu > li > ul > li:last-of-type label,
.cd-accordion-menu > li > ul > li:last-of-type a {
  box-shadow: none;
}

.cd-accordion-menu.animated label::before {
  /* this class is used if you're using jquery to animate the accordion */
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}




/* #Tooltip
================================================== */

	.tipper { height: 1px; left: -99999px; position: absolute; pointer-events: none; top: -99999px; width: 1px;z-index:100000; }
	.tipper .tipper-content { background: rgba(0, 0, 0, 0.85);box-shadow: 0 0 25px rgba(0,0,0,0.5);text-transform:uppercase; border-radius: 2px; color: #fff; font-weight:500; display: block; float: left; font-family: 'Open Sans', sans-serif; font-size: 9px; margin: 0; letter-spacing:2px; padding: 4px 20px; position: relative; white-space: nowrap; }
	.tipper .tipper-caret { background: url('../images/tipper-icon.png') no-repeat; display: block; height: 11px;  position: absolute; width: 100%; }

	.tipper.right .tipper-content { box-shadow: 1px 0 3px rgba(0, 0, 0, 0.25); }
	.tipper.right .tipper-caret { background-position: left center; left: -5px; top: 0; }

	.tipper.left .tipper-content { box-shadow: -1px 0 3px rgba(0, 0, 0, 0.25); }
	.tipper.left .tipper-caret { background-position: right center; right: -5px; top: 0; }

	.tipper.top .tipper-caret,
	.tipper.bottom .tipper-caret { display: block; float: none; height: 5px;  width: 12px;margin-left:-6px; }

	.tipper.top .tipper-content { box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.25); }
	.tipper.top .tipper-caret { background-position: center bottom; bottom: -5px; left: 0; text-align:center;}

	.tipper.bottom .tipper-content { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
	.tipper.bottom .tipper-caret { background-position: center top; top: -5px; left: 0; }



/* #image reveal animations 
================================================== */

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}
 .grid {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100vw;
}

.js .grid {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	opacity: 0;
}

.no-js .grid {
	border-bottom: none;
}

.js .grid--current {
	pointer-events: auto;
	opacity: 1;
}

.grid--horizontal {
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
}

.grid__column {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex: 1;
	-webkit-box-flex: 1;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex: 1;
	height: 100%;
	
}

.grid__item {
	overflow: hidden;
	position: relative;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}

.grid__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: 50% 50%;
	background-size: cover;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.grid__item:hover .grid__img {
	opacity:.8;
}

.grid__img--overlay::after {
 	content: '';
 	background: linear-gradient(to bottom, rgba(222,217,217,0.5), transparent);
 	position: absolute;
 	left: 0;
 	top: 0;
 	width: 100%;
 	height: 100%;
 }

.grid-nav {
	position: absolute;
	z-index: 1000;
	right: 50px;
	bottom: 50px;
}
.grid-nav button{
	width:40px;
	height:40px;
	background:rgba(255,255,255,.8);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.grid-nav button:hover{
	background:rgba(255,255,255,1);
}

.no-js .grid-nav {
	display: none;
}

.grid-nav--hidden {
	pointer-events: none;
	opacity: 0;
}

.grid__button {
	font-size: 14px;
	padding: 0;
	border: none;
	background: none;
}

.grid__button:focus {
	outline: none;
}

.grid__button--hidden {
	pointer-events: none;
	opacity: 0;
}

.icon--nav-up {
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

.grid__button--close {
	position: absolute;
	z-index: 1000;
	top: 0;
	right: 0;
}

.grid__title {
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-box-pack: center;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-pack: center;
	justify-content: center;
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 1em 0;
	margin: 0;
	text-align: center;
}

/* Loading styles */

.js .grid-pages:not(.grid-pages--loaded)::after,
.js .grid-pages:not(.grid-pages--loaded)::before {
	content: '';
	position: absolute;
	z-index: 1000;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	opacity: 0;
	border: 4px solid #fff;
	-webkit-animation: moveAround 0.5s ease-in infinite alternate forwards;
	animation: moveAround 0.5s ease-in infinite alternate forwards;
}

.js .grid-pages::after {
	-webkit-transform: translateX(-180%);
	transform: translateX(-180%);
}

.js .grid-pages::before {
	-webkit-transform: translateX(180%);
	transform: translateX(180%);
}

@-webkit-keyframes moveAround {
	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes moveAround {
	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

.js .grid__item,
.js .grid-nav {
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.js .grid-pages--loaded .grid__item,
.js .grid-pages--loaded .grid-nav {
	opacity: 1;
}

/* Style 2 */
.no-js .grid--style-2:nth-last-child(3) {
	border-bottom: 30px solid #ece6e6;
}

.grid--style-2 {
	border: 30px solid #ece6e6;
}

.grid--style-2 .grid__item {
	overflow: visible;
}

.grid--style-2 ~ .grid-nav {
}

.grid--style-2 ~ .grid-nav .icon {
	stroke: #000;
}
.grid--style-2 ~ .grid-nav .icon {
	stroke-width: 1px;
	width:14px;
	height:14px;
}

.grid__item:hover .caption {
	opacity:.8;
	bottom: 0.28em;
	left: 0.28em;
	font-size: 30px;
	line-height: 30px;
}
.grid--style-2 .caption {
	position: absolute;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
	font-size: 50px;
	line-height: 50px;
	z-index: 100;
	margin: 0;
	bottom: -0.28em;
	left: -0.28em;
	-webkit-transform: translateY(20px);
	transform: translateY(20px);
	opacity:0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.grid--style-2 .caption.first-port-box-text {
	position: absolute;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
	font-size: 24px;
	line-height: 32px;
	z-index: 100;
	margin: 0;
	bottom: 30px;
	left: 30px;
	right:30px;
	color: #fff;
	text-align:left;
}
.grid--style-2.grid--current .caption {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	opacity:1;
}

.grid--style-2 .grid__title {
	background: #ded9d9;
	color: #5b5e69;
	font-weight: 500;
	font-size: 0.85em;
}

/* Media Queries */

@media screen and (min-width: 50em) {
	.grid {
		height: 100vh;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	.grid--horizontal .grid__column {
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
		width: 100%;
		height: auto;
	}
	/* Grid style 2 */
	.grid--vertical.grid--style-2 .grid__column:not(:last-child),
	.grid--horizontal.grid--style-2 .grid__item:not(:last-child) {
		border-right: 30px solid #ece6e6;
	}
	.grid--horizontal.grid--style-2 .grid__column:not(:last-child),
	.grid--vertical.grid--style-2 .grid__item:not(:last-child) {
		border-bottom: 30px solid #ece6e6;
	}
}

@media screen and (max-width: 50em) {
.grid--style-2 .caption.first-port-box-text {
	position: relative;
	padding-top:100px;
	padding-bottom:30px;
	padding-left:30px;
	padding-right:30px;
	left:auto;
	right:auto;
	bottom:auto;
	font-size:17px;
	line-height:22px;
}
	.js .grid-pages {
		position: relative;
		overflow-y: scroll;
		overflow-x: hidden;
		height: 100vh;
	}
	.js .grid {
		height: 0;
	}
	.js .grid--current {
		height: auto;
	}
	.grid {
		padding: 0 0 2em;
		border-bottom: none;
	}
	.js .grid__column:last-child {
		padding-bottom: 3.75em;
	}
	.grid__item--auto {
		flex: none;
	}
	.grid__item:not(.grid__item--auto) {
		min-height: 200px;
	}
	.grid-nav {
		position: fixed;
	}
	/* Grid style 2 */
	.grid--style-2 .grid__item {
		border-bottom: 30px solid #ece6e6;
	}
}
.demo-2 {
	background: #ece6e6;
}

.demo-2 a {
	color: #dc4242;
}
 /* Icons */
.icon {
	display: block;
	width: 20px;
	height: 20px;
	margin: 0 auto;
	fill: currentColor;
}


.first-port-box {
	text-align: center;
	width: 100%;
	height: 100%;
	background: #212121;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
 
 
/* #All
================================================== */


.section {
	position:relative;
	width:100%;
}
.full-height {
	height: 100vh;
}
.half-height {
	height: 80vh;
}
.over-hidden {
	overflow: hidden;
}
.white-back {
	background-color:#fff;
}
.grey-back {
	background-color:#f9f9f9;
}
.black-back {
	background-color:#000;
}
.light-over{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:4;
	background-color:rgba(255,255,255,.7);
}
.light-over-2{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:4;
	background-color:rgba(255,255,255,.3);
}
.light-over-2{
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:4;
}
.padding-top-bottom{
	padding-top:120px;
	padding-bottom:120px;
}
.padding-top{
	padding-top:120px;
}
.padding-bottom{
	padding-bottom:120px;
}
.padding-top-bottom-small{
	padding-top:60px;
	padding-bottom:60px;
}
.section-shadow {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}
.section-shadow-biger {
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}
.ver-line-bottom-1{
	position:absolute;
	width:1px;
	height:50px;
	bottom:0;
	left:50%;
	z-index:6;
	background-color:#000;
}
.ver-line-top-1{
	position:absolute;
	width:1px;
	height:100px;
	top:0;
	left:50%;
	z-index:2;
	background-color:#000;
}
.ver-line-bottom-2{
	position:absolute;
	width:1px;
	height:50px;
	bottom:0;
	left:50%;
	z-index:2;
	background-color:rgba(255,255,255,.3);
}
.scroll-down{
	position:absolute;
	width:50px;
	height:50px;
	bottom:70px;
	left:50%;
	margin-left:-25px;
	z-index:5;
	background-image:url('../images/scrollhover.gif');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50px 50px;
}

.background-image-1{
	background-image:url('../images/home1.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.background-image-2{
	background-image:url('../images/home2.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.background-image-3{
	background-image:url('../images/home3.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.background-image-4{
	background-image:url('../images/home5.gif');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

.home-text-sec{
	position:absolute;
	width:100%;
	top:50%;
	left:0;
	z-index:10;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}
.home-text-sec h1{
	text-align:center;
	font-size: 80px;
	line-height:140px;
	letter-spacing:-3px;
	font-weight:700;
}
.home-text-sec h3{
	text-align:center;
	font-size: 50px;
	line-height:120px;
	font-weight:700;
}
.home-text-sec p{
	text-align:center;
	font-size: 11px;
	line-height:18px;
	font-weight:400;
	color:#fff;
	text-transform:uppercase;
	letter-spacing:1px;
}
.home-text-sec p span{
	padding:6px 15px;
  font-size: 15px;
  font-weight:400;
  line-height: 2;
}



.title-wrap{
	position:relative;
	width:100%;
}
.title-wrap h3{
	text-align:center;
	font-weight:700;
	padding-bottom:10px;
}
.title-wrap p{
	text-align:center;
	font-size:11px;
	font-weight:400;
	letter-spacing:2px;
	color:#727272;
	text-transform:uppercase;
	padding-bottom:10px;
}


/* #About page
================================================== */

.about-text{
	position:relative;
	width:100%;
	margin:0 auto;
	max-width:900px;
}
.about-text p{
	text-align:center;
}


.about-mission{
	position:relative;
	margin:0 auto;
	width:100%;
	overflow:hidden;
}
.about-mission:after {
  content: '';
  display: block;
  clear: both;
}
.about-half{
	width:50%;
	background:#181818;
}
.about-quarter-1{
	width:25%;
	background:#050505;
}
.about-quarter-2{
	width:25%;
}
.about-half,
.about-quarter-1,
.about-quarter-2{
	position:relative;
	float:left;
	display:inline-block;
	margin:0 auto;
	min-height:400px;
}
.about-text-in{
	position:absolute;
	top:50%;
	width:100%;
	left:0;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}
.about-half h4,
.about-quarter-1 h4{
	text-align:left;
	padding-bottom:15px;
	color:#fff;
	max-width:80%;
	margin:0 auto;
}
.about-half p,
.about-quarter-1 p,
.about-quarter-2 p{
	text-align:left;
	color:#f9f9f9;
	font-style: italic; 
	max-width:80%;
	margin:0 auto;
}
.about-quarter-2 h4{
	text-align:center;
	padding-bottom:25px;
	color:#fff;
	letter-spacing:3px;
	line-height: 34px;
	max-width:80%;
	margin:0 auto;
}
.about-link{
	position:relative;
	display:block;
	width:180px;
	margin:0 auto;
	text-align:center;
	padding:12px 30px;
	border:1px solid #fff;
	border-radius:40px;
	letter-spacing:2px;
	text-transform: uppercase;
	font-size:11px;
	color:#fff;
	font-weight:600;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.about-link:hover{
	background:#fff;
}

.team-box-1{
	position:relative;
	width:100%;
	margin:0 auto;
	text-align:center;
	overflow:hidden;
}
.team-box-1 img{
	width:100%;
	display:block;
}
.team-box-1 .mask-team{
	position:absolute;
	z-index:2;
	top:0;
	width:100%;
	left:0;
	height:calc(100% - 74px);
	opacity:0;
	background:rgba(0,0,0,.7);
	-webkit-transition : all 0.3s ease-out;
	-moz-transition : all 0.3s ease-out;
	-o-transition :all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.team-box-1:hover .mask-team{
	opacity:1;
}
.team-box-1 ul{
	position:absolute;
	z-index:3;
	top:-30px;
	margin-top:-46px;
	width:100%;
	left:0;
	text-align:center;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	-webkit-transition : all 0.3s ease-out;
	-moz-transition : all 0.3s ease-out;
	-o-transition :all 0.3s ease-out;
	transition : all 0.3s ease-out;
}
.team-box-1 ul li{
	display:inline-block;
	text-align:center;
	margin-left:8px;
	margin-right:8px;
}
.team-box-1:hover ul{
	top:50%;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.team-box-1 ul li a.social-icon .icons{
	font-family: 'FontAwesome';
	width:20px;
	height:20px;
	line-height:20px;
	font-size:16px;
	text-align:center;
	color:#fff;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.team-box-1 ul li a.social-icon:hover .icons.twitter{
	color:#55acef;
}
.team-box-1 ul li a.social-icon:hover .icons.dribbble{
	color:#fe0084;
}
.team-box-1 ul li a.social-icon:hover .icons.facebook{
	color:#3b5998;
}
.team-box-1 ul li a.social-icon:hover .icons.linkedin{
	color:#007bb5;
}
.team-box-1 ul li a.social-icon:hover .icons.vimeo{
	color:#aad450;
}
.team-box-1 h6{
	margin-top:30px;
	text-align:center;
	padding-bottom:5px;
}
.team-box-1 .subtext{
	text-align:center;
	color:#747474;
	font-style: italic;
	font-family: 'Open Sans', sans-serif;
	font-size: 13px;
	line-height:17px;
	letter-spacing:2px;
	font-weight:400;
}

#owl-about {
	position:relative;
	width:100%;
	margin:0 auto;
}
#owl-about .item{
	position:relative;
	width:100%;
	z-index:2;
}
#owl-about .item img{
	width:100%;
	display:block;
}
#owl-about.owl-theme .owl-controls .owl-buttons .owl-prev{
	background-image:url('../images/arrow-left-light.png');
	left:0;
	margin-top:-35px;
}
#owl-about.owl-theme .owl-controls .owl-buttons .owl-next{
	background-image:url('../images/arrow-right-light.png');
	right:0;
	margin-top:-35px;
}
#owl-about.owl-theme .owl-controls .owl-buttons .owl-next,
#owl-about.owl-theme .owl-controls .owl-buttons .owl-prev{
	position:absolute;
	top:50%;
	width:35px;
	height:70px;
	z-index:100;
	text-indent: 100%;
	background-size:8px 16px;
	background-repeat: no-repeat;
	background-position:center center;
	background-color:rgba(0,0,0,.7);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
#owl-about.owl-theme .owl-controls .owl-buttons .owl-next:hover,
#owl-about.owl-theme .owl-controls .owl-buttons .owl-prev:hover{
	background-color:rgba(0,0,0,1);
}

#owl-logos{
	position:relative;
	width:calc(100% - 30px);
	overflow:hidden;
	margin:0 auto;
	text-align:center;
}
#owl-logos .item{
	position:relative;
	margin-left:15px;
	margin-right:15px;
	overflow:hidden;
	text-align:center;
}
#owl-logos .item img{
	width:80px;
	display:block;
	margin:0 auto;
	text-align:center;
}


/* #Google map
================================================== */

#google-container {
	position: relative;
	width: 100%;
    height:80vh;
}
#cd-google-map {
	position: relative;
}
#cd-google-map address {
	position: absolute;
	bottom: 0;
	left: 0;
	border-radius:3px;
	padding-top:30px;
	padding-bottom:30px;
	width:100%;
	font-style: italic;
	background-color: rgba(0, 0, 0,.7);
	font-weight:400;
	font-size: 13px;
	line-height:25px;
	letter-spacing:3px;
	color:#fff;
	text-align: center;
	z-index:3;
}
#cd-zoom-in, #cd-zoom-out {
	height: 32px;
	width: 32px;
	cursor: pointer;
	margin-left: 10px;
	background-repeat: no-repeat;
	background-size: 32px 64px;
	opacity:.7;
	background-image: url("../images/cd-icon-controller.svg");
	z-index:3;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
#cd-zoom-in:hover, #cd-zoom-out:hover {
	opacity:1;
}
.no-touch #cd-zoom-in:hover, .no-touch #cd-zoom-out:hover {
	opacity:1;
}
#cd-zoom-in:hover, #cd-zoom-out:hover {
	opacity:1;
}
@media only screen and (min-width: 768px) {
  #cd-zoom-in, #cd-zoom-out {
    margin-left: 50px;
  }
}
#cd-zoom-in {
	background-position: 50% 0;
	margin-top: 100px;
	margin-bottom: 1px;
	z-index:3;
}
#cd-zoom-out {
	background-position: 50% -32px;
	z-index:3;
}
.google-map-loc-text{
	padding-bottom:160px;
}



#ajax-form {
	width: 100%;
	font-family: 'Open Sans', sans-serif;
	font-size: 10px;
	line-height:14px;
	color:#101010;
	margin:0 auto;
}
#ajax-form label {
	display: block;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	line-height:30px;
}
#ajax-form input{
	position:relative;
	width:100%;
	padding-left:20px;
	padding-right:20px;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	letter-spacing:1px;
	font-size: 13px;
	line-height:24px;
	padding-bottom: 15px;
	background:transparent;
	border:none;
	color: #737373;
	-webkit-transition: border-bottom 0.3s, color 0.3s;
	transition: border-bottom 0.3s, color 0.3s;
}
#ajax-form textarea {
	width:100%;
	padding-left:20px;
	padding-right:20px;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	letter-spacing:1px;
	font-size: 13px;
	line-height:24px;
	background:transparent;
	height:100px;
	border:none;
	color: #737373;
	-webkit-transition: border-bottom 0.3s, color 0.3s;
	transition: border-bottom 0.3s, color 0.3s;
}
#ajax-form textarea,
#ajax-form input {	
	border-bottom:1px solid rgba(100,100,100,.2);
}
.error {
	font: 11px/22px 'Open Sans', sans-serif;
	text-transform:uppercase;
	letter-spacing:1px;
	display: none;
	color:#636363;
}
#ajaxsuccess {
	background: #f2f2f2;
	color:#101010;
	font: 20px/60px 'Open Sans', sans-serif;
	height:60px;
	display: none;
	padding-left:10px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
.text-align-center{
	text-align:center;
	padding-top:10px;
 }
#ajax-form textarea:active,
#ajax-form input:active {	
	color: #101010;
}
#ajax-form textarea:active,
#ajax-form input:hover {	
	color: #101010;
}
#ajax-form textarea:focus,
#ajax-form input:focus {	 
    outline: none !important;
}
#ajax-form input:-ms-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form input::-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form input:-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form input::-webkit-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form textarea:-ms-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form textarea::-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form textarea:-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form textarea::-webkit-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
#ajax-form button {
	background:#323232;
	color:#fff;
	font-size:13px;
	padding: 13px 25px;
	max-width:150px;
}
#ajax-form button:hover {
	color:#fff;
}
#ajax-form button:focus,
#ajax-form button:active {
	border:none;
	outline:none;
}


.button-effect {
	min-width: 150px;
	max-width: 200px;
	display: block;
	margin: 0 auto;
	border: none;
	background: none;
	color: inherit;
	vertical-align: middle;
	cursor:pointer;
	position: relative;
	z-index: 1;
	-webkit-backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
}
.button-effect:focus {
	outline: none;
}
.button-effect > span {
	vertical-align: middle;
}
.button--moema {
	padding: 16px 30px;
	border-radius: 50px;
	text-align:center;
	background:#fff;
	letter-spacing:2px;
	color: #000;
	-webkit-transition: background-color 0.3s, color 0.3s;
	transition: background-color 0.3s, color 0.3s;
}
.button--moema::before {
	content: '';
	position: absolute;
	top: -20px;
	left: -20px;
	bottom: -20px;
	right: -20px;
	background: inherit;
	border-radius: 50px;
	z-index: -1;
	opacity: 0.4;
	-webkit-transform: scale3d(0.8, 0.5, 1);
	transform: scale3d(0.8, 0.5, 1);
}
.button--moema:hover {
	-webkit-transition: background-color 0.3s 0s, color 0.3s 0s;
	transition: background-color 0.3s 0s, color 0.3s 0s;
	color:#fff;
	-webkit-animation: anim-moema-1 0.6s forwards;
	animation: anim-moema-1 0.6s forwards;
}
.button--moema:hover::before {
	-webkit-animation: anim-moema-2 0.6s 0.5s forwards;
	animation: anim-moema-2 0.6s 0.5s forwards;
}
@-webkit-keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
		transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.2, 1.2, 1);
		transform: scale3d(1.2, 1.2, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-1 {
	60% {
		-webkit-transform: scale3d(0.8, 0.8, 1);
		transform: scale3d(0.8, 0.8, 1);
	}
	85% {
		-webkit-transform: scale3d(1.2, 1.2, 1);
		transform: scale3d(1.2, 1.2, 1);
	}
	100% {
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@-webkit-keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}
@keyframes anim-moema-2 {
	to {
		opacity: 0;
		-webkit-transform: scale3d(1, 1, 1);
		transform: scale3d(1, 1, 1);
	}
}


.contact-details{
	position: relative;
	width:100%;
	overflow:hidden;
	padding-top:70px;
	padding-bottom:70px;
}
.contact-details h6{
	text-align:center;
	color:#fff;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.contact-details p{
	position:absolute;
	top:50%;
	margin-top:-12px;
	left:0;
	width:100%;
	z-index:2;
	font-size:13px;
	font-style: italic;
	font-weight:400;
	text-align:center;
	letter-spacing:1px;
	opacity:0;
	-webkit-transform: translateY(100px);
	-moz-transform: translateY(100px);
	-ms-transform: translateY(100px);
	-o-transform: translateY(100px);
	transform: translateY(100px);
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.contact-details:hover h6{
	-webkit-transform: translateY(-15px);
	-moz-transform: translateY(-15px);
	-ms-transform: translateY(-15px);
	-o-transform: translateY(-15px);
	transform: translateY(-15px);
}
.contact-details:hover p{
	opacity:1;
	-webkit-transform: translateY(15px);
	-moz-transform: translateY(15px);
	-ms-transform: translateY(15px);
	-o-transform: translateY(15px);
	transform: translateY(15px);
}


/* #Blog
================================================== */


.blog-page-post {
	position:relative;
	width:100%;
	overflow:hidden;
}
.blog-page-post img{
	width:100%;
	display:block;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.blog-page-post h5 {
	position:absolute;
	width:100%;
	left:0;
	top:50%;
	margin-top:-25px;
	text-align:center;
	z-index:3;
	font-weight:700;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.blog-page-post:hover h5 {
	-webkit-transform: translateY(-25px);
	-moz-transform: translateY(-25px);
	-ms-transform: translateY(-25px);
	-o-transform: translateY(-25px);
	transform: translateY(-25px);
}
.blog-page-post p {
	position:absolute;
	width:100%;
	left:0;
	top:50%;
	margin-top:10px;
	font-size:13px;
	font-weight:400;
	text-align:center;
	font-style: italic;
	color:#646464;
	z-index:3;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.blog-page-post:hover p {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	-o-transform: translateY(-30px);
	transform: translateY(-30px);
}
.blog-page-post .blog-post-author {
	position:absolute;
	width:100%;
	left:0;
	top:50%;
	margin-top:30px;
	font-size:13px;
	text-transform:uppercase;
	font-weight:600;
	text-align:center;
	letter-spacing:2;
	color:#212121;
	z-index:3;
	opacity:0;
	-webkit-transform: translateY(70px);
	-moz-transform: translateY(70px);
	-ms-transform: translateY(70px);
	-o-transform: translateY(70px);
	transform: translateY(70px);
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear; 
}
.blog-page-post:hover .blog-post-author {
	opacity:1;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}
.blog-page-post .blog-mask {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:1;
	background-color:#fff;
	opacity:.9;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.blog-page-post:hover .blog-mask {
	opacity:.5;
}
.blog-page-post:hover img{
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}



/* #pagination */

nav[role="navigation"] {
  text-align: center;
}
.cd-pagination {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.cd-pagination li {
  /* hide numbers on small devices */
  display: none;
  margin: 0 .2em;
}
.cd-pagination li.button-pag {
  /* make sure prev next buttons are visible */
  display: inline-block;
}
.cd-pagination a, .cd-pagination span {
  display: inline-block;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* use padding and font-size to change buttons size */
  font-size: 11px;
  letter-spacing:2px;
	font-weight:600;
}
.cd-pagination a {
	border: 1px solid #e6e6e6;
	border-radius: 0.25em;
	color:#000;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.no-touch .cd-pagination a:hover {
	background-color: #000;
	border: 1px solid #000;
	color:#fff;
}
.cd-pagination a:active {
  /* click effect */
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}
.cd-pagination a.disabled {
  /* button disabled */
	color:#fff;
	pointer-events: none;
}
.cd-pagination a.disabled::before, .cd-pagination a.disabled::after {
  opacity: .4;
}
.cd-pagination .button-pag:first-of-type a::before {
  content: '\00ab  ';
}
.cd-pagination .button-pag:last-of-type a::after {
  content: ' \00bb';
}
.cd-pagination .current {
  /* selected number */
	color: #ffffff;
	pointer-events: none;
}
@media only screen and (min-width: 768px) {
  .cd-pagination li {
    display: inline-block;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-pagination {
  }
}

/* -------------------------------- 

No space - remove distance between list items

-------------------------------- */
.cd-pagination.no-space {
  width: auto;
  max-width: none;
  display: inline-block;
  border-radius: 0.25em;
  border: 1px solid #e6e6e6;
}
.cd-pagination.no-space:after {
  content: "";
  display: table;
  clear: both;
}
.cd-pagination.no-space li {
  margin: 0;
  float: left;
  border-right: 1px solid #e6e6e6;
}
.cd-pagination.no-space li:last-of-type {
  border-right: none;
}
.cd-pagination.no-space a, .cd-pagination.no-space span {
  float: left;
  border-radius: 0;
  border: none;
}
.cd-pagination.no-space li:first-of-type a {
  border-radius: 0.25em 0 0 0.25em;
}
.cd-pagination.no-space li:last-of-type a {
  border-radius: 0 0.25em 0.25em 0;
}

/* -------------------------------- 

move buttons - move prev and next buttons to the sides

-------------------------------- */
.cd-pagination.move-buttons:after {
  content: "";
  display: table;
  clear: both;
}
.cd-pagination.move-buttons .button-pag:first-of-type {
  float: left;
}
.cd-pagination.move-buttons .button-pag:last-of-type {
  float: right;
}

.cd-pagination.no-space.move-buttons {
  width: 90%;
  max-width: 768px;
  display: block;
  overflow: hidden;
}
.cd-pagination.no-space.move-buttons li {
  float: none;
  border: none;
}
.cd-pagination.no-space.move-buttons a, .cd-pagination.no-space.move-buttons span {
  float: none;
}

/* -------------------------------- 

custom icons - customize the small arrow inside the next and prev buttons 

-------------------------------- */
.cd-pagination.custom-icons .button-pag a {
  position: relative;
}
.cd-pagination.custom-icons .button-pag:first-of-type a {
  padding-left: 2.4em;
}
.cd-pagination.custom-icons .button-pag:last-of-type a {
  padding-right: 2.4em;
}
.cd-pagination.custom-icons .button-pag:first-of-type a::before,
.cd-pagination.custom-icons .button-pag:last-of-type a::after {
  content: '';
  position: absolute;
  display: inline-block;
  /* set size for custom icons */
  width: 16px;
  height: 16px;
  top: 50%;
  /* set margin-top = icon height/2 */
  margin-top: -8px;
  background: transparent url("../images/cd-icon-arrow-1.svg") no-repeat center center;
}
.cd-pagination.custom-icons .button-pag:first-of-type a::before {
  left: .8em;
}
.cd-pagination.custom-icons .button-pag:last-of-type a::after {
  right: .8em;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

/* -------------------------------- 

custom buttons - replace prev and next buttons text with a custom icon 

-------------------------------- */
.cd-pagination.custom-buttons a, .cd-pagination.custom-buttons span {
  vertical-align: middle;
}
.cd-pagination.custom-buttons .button-pag a {
  /* set custom width */
  width: 40px;
  /* image replacement */
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  color: transparent;
  background-image: url("../images/cd-icon-arrow-2.svg");
  background-repeat: no-repeat;
  background-position: center center;
}
.cd-pagination.custom-buttons .button-pag:last-of-type a {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}
.no-touch .cd-pagination.custom-buttons .button-pag:last-of-type a:active {
  -webkit-transform: scale(0.9) rotate(180deg);
  -moz-transform: scale(0.9) rotate(180deg);
  -ms-transform: scale(0.9) rotate(180deg);
  -o-transform: scale(0.9) rotate(180deg);
  transform: scale(0.9) rotate(180deg);
}

.cd-pagination.no-space.custom-buttons .button-pag:last-of-type a {
  border-radius: 0.25em 0 0 0.25em;
}

/* -------------------------------- 

animated buttons - animate the text inside prev and next buttons 

-------------------------------- */
.cd-pagination.animated-buttons a, .cd-pagination.animated-buttons span {
  padding: 0 1.2em;
  height: 35px;
  line-height: 35px;
  overflow: hidden;
}
.cd-pagination.animated-buttons .button-pag a {
  position: relative;
  padding: 0 2em;
}
.cd-pagination.animated-buttons .button-pag:first-of-type a::before,
.cd-pagination.animated-buttons .button-pag:last-of-type a::after {
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  right: auto;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-pagination.animated-buttons .button-pag:last-of-type a::after {
  -webkit-transform: translateX(-50%) rotate(180deg);
  -moz-transform: translateX(-50%) rotate(180deg);
  -ms-transform: translateX(-50%) rotate(180deg);
  -o-transform: translateX(-50%) rotate(180deg);
  transform: translateX(-50%) rotate(180deg);
}
.cd-pagination.animated-buttons i {
  display: block;
  height: 100%;
  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.no-touch .cd-pagination.animated-buttons .button-pag a:hover i {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.no-touch .cd-pagination.animated-buttons .button-pag:first-of-type a:hover::before {
  -webkit-transform: translateX(-50%) translateY(-50px);
  -moz-transform: translateX(-50%) translateY(-50px);
  -ms-transform: translateX(-50%) translateY(-50px);
  -o-transform: translateX(-50%) translateY(-50px);
  transform: translateX(-50%) translateY(-50px);
}

.no-touch .cd-pagination.animated-buttons .button-pag:last-of-type a:hover::after {
  -webkit-transform: translateX(-50%) rotate(180deg) translateY(50px);
  -moz-transform: translateX(-50%) rotate(180deg) translateY(50px);
  -ms-transform: translateX(-50%) rotate(180deg) translateY(50px);
  -o-transform: translateX(-50%) rotate(180deg) translateY(50px);
  transform: translateX(-50%) rotate(180deg) translateY(50px);
}

/* #Post
================================================== */

.post{
	position:relative;
	width:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding:25px;
	overflow:hidden;
	box-shadow: 0 0 25px rgba(44,44,44,0.02);
}

.comm-number{
	position:relative;
	width:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding:25px;
	overflow:hidden;
	box-shadow: 0 0 25px rgba(44,44,44,0.02);
	margin-top:25px;
	margin-bottom:25px;
}
.comm-number:after {
  content: '';
  display: block;
  clear: both;
}
.comm-number p{
	text-align:left;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:11px;
	line-height:11px;
	font-weight:400;
}
.comm-number p span{
	text-align:right;
	margin-left:10px;
	float:right;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.comm-number p a:hover{
	color:#212121;
}

.content-comm{
	position:relative;
	width:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding-top:25px;
	padding-left:25px;
	padding-right:25px;
	padding-bottom:36px;
	overflow:hidden;
	box-shadow: 0 0 25px rgba(44,44,44,0.02);
	margin-bottom:5px;
}
.content-comm.sub-comm{
	position:relative;
	width:calc(100% - 50px);
	margin-left:50px;
}
.content-comm:after {
	content: '';
	display: block;
	clear: both;
}
.content-comm img {
	display: block;
	float:left;
	width:100px;
	margin-right:25px;
	margin-bottom:25px;
}
.content-comm p {
	text-align:left;
	padding-bottom:25px;
}
.name-aut-replay{
	position:absolute;
	bottom:25px;
	right:25px;
	text-align:right;
	text-transform:uppercase;
	letter-spacing:2px;
	font-size:11px;
	line-height:11px;
	font-weight:400;	
}
.name-aut-replay a{
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 	
}
.name-aut-replay a:hover{
	color:#212121;
}

.comments{
	position:relative;
	width:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding:25px;
	overflow:hidden;
	box-shadow: 0 0 25px rgba(44,44,44,0.02);
	margin-top:20px;
}
.comments input{
	position:relative;
	width:100%;
	padding-left:20px;
	padding-right:20px;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	letter-spacing:1px;
	font-size: 13px;
	line-height:24px;
	padding-bottom: 15px;
	background:transparent;
	border:none;
	color: #737373;
	margin-bottom:20px;
	-webkit-transition: border-bottom 0.3s, color 0.3s;
	transition: border-bottom 0.3s, color 0.3s;
}
.comments textarea {
	width:100%;
	padding-left:20px;
	padding-right:20px;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	letter-spacing:1px;
	font-size: 13px;
	line-height:24px;
	background:transparent;
	height:70px;
	border:none;
	color: #737373;
	margin-bottom:20px;
	-webkit-transition: border-bottom 0.3s, color 0.3s;
	transition: border-bottom 0.3s, color 0.3s;
}
.comments textarea,
.comments input {	
	border-bottom:1px solid rgba(100,100,100,.2);
}
.comments textarea:active,
.comments input:active {	
	color: #101010;
}
.comments textarea:active,
.comments input:hover {	
	color: #101010;
}
.comments textarea:focus,
.comments input:focus {	 
    outline: none !important;
}
.comments input:-ms-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments input::-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments input:-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments input::-webkit-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments textarea:-ms-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments textarea::-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments textarea:-moz-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments textarea::-webkit-input-placeholder  {
	font-size: 11px;
	text-transform:uppercase;
	letter-spacing:2px;
	color:#999999;
}
.comments button {
	background:#efefef;
	color:#212121;
	font-size:14px;
	padding: 13px 30px;
	max-width:140px;
}
.comments button:hover {
	color:#fff;
}
.comments button:focus,
.comments button:active {
	border:none;
	outline:none;
}
.sidebar{
	position:relative;
	width:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding:25px;
	overflow:hidden;
	box-shadow: 0 0 25px rgba(44,44,44,0.02);
}

.sidebar input{
	width:100%;
	padding-left:20px;
	padding-right:20px;
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	letter-spacing:1px;
	font-size: 12px;
	line-height:22px;
	padding-top: 15px;
	padding-bottom: 15px;
	background:#fff;
	border:none;
	color: #737373;
	-webkit-transition: background 0.3s, color 0.3s;
	transition: background 0.3s, color 0.3s;
}
.sidebar input:active {	
	color: #fff;
	outline: none !important;
}
.sidebar input:hover {	
	color: #737373;
	outline: none !important;
}
.sidebar input:focus {
	color: #fff;	 
	outline: none !important;
}

.sidebar input:-ms-input-placeholder  {
	font-size: 10px;
	text-transform:uppercase;
	-webkit-transition:  color 0.3s;
	transition:  color 0.3s;
}
.sidebar input::-moz-placeholder  {
	font-size: 10px;
	text-transform:uppercase;
	-webkit-transition:  color 0.3s;
	transition:  color 0.3s;
}
.sidebar input:-moz-placeholder  {
	font-size: 10px;
	text-transform:uppercase;
	-webkit-transition:  color 0.3s;
	transition:  color 0.3s;
}
.sidebar input::-webkit-input-placeholder  {
	font-size: 10px;
	text-transform:uppercase;
	-webkit-transition:  color 0.3s;
	transition:  color 0.3s;
}
.sidebar input:active:-ms-input-placeholder  {
	color: #fff;
}
.sidebar input:active::-moz-placeholder  {
	color: #fff;
}
.sidebar input:active:-moz-placeholder  {
	color: #fff;
}
.sidebar input:active::-webkit-input-placeholder  {
	color: #fff;
}
.sidebar input:focus:-ms-input-placeholder  {
	color: #fff;
}
.sidebar input:focus::-moz-placeholder  {
	color: #fff;
}
.sidebar input:focus:-moz-placeholder  {
	color: #fff;
}
.sidebar input:focus::-webkit-input-placeholder  {
	color: #fff;
}

.separator-sidebar{ 
	position:relative;
	width:100%;
	padding-top:70px;
}

.sidebar h6{ 
	text-align:left;
	padding-bottom:20px;
}

.link-recents{ 
	position:relative;
	width:100%;
	overflow:hidden;
	text-align:left;
}
.link-recents a{
	position:relative;
	display:block;
	cursor:pointer;
	font-family: 'Open Sans', sans-serif;
	font-size: 11px;
	line-height:21px;
	text-align:left;
	text-transform:uppercase;
	padding-top:10px;
	padding-bottom:10px;
	border-top:1px solid rgba(0,0,0,.1);
	letter-spacing:1px;
	color:#323232;
	font-weight:400;
	-webkit-transition: padding-left 0.3s, color 0.3s;
	transition: padding-left 0.3s, color 0.3s;
}
.link-recents a:last-child{
	border-bottom:1px solid rgba(0,0,0,.1);
}
.link-recents a:hover {
	padding-left:10px;
}


.link-tag{ 
	position:relative;
	width:100%;
	overflow:hidden;
	text-align:left;
}
.link-tag a {
	position: relative;
	display: inline-block;
	cursor:pointer;
	outline: none;
	text-decoration: none;
	white-space: nowrap;
	font-family: 'Open Sans', sans-serif;
	font-size: 10px;
	line-height:21px;
	text-align:left;
	margin-right:3px;
	margin-bottom:3px;
	text-transform:uppercase;
	letter-spacing:2px;
	padding:3px 9px;
	color:#212121;
	font-weight:400;
	background-color:#fff;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.link-tag a:hover {
	color:#fff;
}


.video-wrapper, figure.vimeo, figure.youtube {
	margin:0;
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 0;
	height: 0;
	overflow: hidden;
}	
.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}	
figure.youtube a img, figure.vimeo a img {
	position: absolute;
	top: 0;
	left: 0;
	width: auto;
	height: 100%;
	max-width:none;
}	
figure.vimeo a:after, figure.youtube a:after {
	content:"";
	width:40px;
	height:40px;
	background:#fff;
	box-shadow: 0 0 10px rgba(44,44,44,0.1);
	z-index:9;
	position:absolute;
	top:50%;
	left:50%;
	margin:-20px 0 0 -20px;
	border-radius:50%;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
figure.vimeo:hover a:after, figure.youtube:hover a:after {
	background:#000;
	-webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.1);
	-moz-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.1);
	box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.1);
}	
figure.vimeo a:before, figure.youtube a:before {
	font-family: 'FontAwesome';
	content:"\f04b";
	width:40px;
	height:40px;
	z-index:10;
	position:absolute;
	color:#000;
	line-height:40px;
	text-align:center;
	font-size:10px;
	top:50%;
	left:50%;
	margin:-19px 0 0 -18px;
	display:block;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
figure.vimeo a:hover:before, figure.youtube a:hover:before {
	color:#fff; 
}	
figure.vimeo a:hover img, figure.youtube a:hover img {
	-webkit-transition: all 0.4s;
	transition: all 0.4s;
	-webkit-transform: scale(1.03) rotate(1deg);
	transform: scale(1.03) rotate(1deg);
}	
figure.vimeo a img, figure.youtube a img {
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
	a -webkit-transform: scale(1);
	transform: scale(1);
}

/* #Zoom effect
================================================== */

body::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
@media only screen and (min-width: 1170px) {
  body::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}
.cd-main-content {
  position: relative;
  z-index: 1;
}
@media only screen and (min-width: 1170px) {
.cd-section {
  position: relative;
    height: 100vh;
  }
.cd-section.half-sec-height {
    height: 80vh;
  }
}
.cd-section.show-after-load {
    opacity:0;
}
.cd-block {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-block {
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}
.cd-section:first-of-type .cd-block {
  height: 100vh;
}
.cd-section:first-of-type .cd-block.half-sec-height {
  height: 80vh;
}
@media only screen and (min-width: 1170px) {
  .cd-block {
    position: fixed;
    width: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    visibility: hidden;
  }
  .cd-block.half-sec-height {
    min-height: 80vh;
    height: 80vh;
  }
  .cd-section:first-of-type .cd-block {
    visibility: visible;
  }
  .cd-block > * {
    visibility: visible;
  }
}

.main-wrapper{
	position:relative;
	width:100%;
	margin:0 auto;
}

.cd-half-block {
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center center;
}

.cd-half-block.image-folio-1 {
	background-image:url('../images/cur1.jpg');
}
.cd-half-block.image-folio-2 {
	background-image:url('../images/cur2.jpg');
}
.cd-half-block.image-folio-3 {
	background-image:url('../images/cur4.jpg');
}
.cd-half-block.image-folio-4 {
	background-image:url('../images/cur3.jpg');
}
.cd-half-block.image-folio-5 {
	background-image:url('../images/cur5.jpg');
}
.cd-half-block.image-folio-6 {
	background-image:url('../images/cur6.jpg');
}
.cd-half-block.image-folio-7 {
	background-image:url('../images/cur8.jpg');
}
.cd-half-block.image-folio-8 {
	background-image:url('../images/cur7.jpg');
}
.cd-half-block.image-folio-9 {
	background-image:url('../images/cur9.jpg');
}
.cd-half-block.image-folio-10 {
	background-image:url('../images/cur10.jpg');
}
.cd-half-block.image-folio-11 {
	background-image:url('../images/cur12.jpg');
}
.cd-half-block.image-folio-12 {
	background-image:url('../images/cur11.jpg');
}
.cd-half-block.image-folio-13 {
	background-image:url('../images/cur13.jpg');
}
.cd-half-block.image-folio-14 {
	background-image:url('../images/cur14.jpg');
}

.cd-half-block:nth-of-type(1) {
  height: 80vh;
  background-position: center center;
  background-repeat: no-repeat;
}
.cd-half-block:nth-of-type(2) {
  height: 80vh;
  background-position: center center;
  background-repeat: no-repeat;
}
@media only screen and (min-width: 1170px) {
  .cd-half-block {
    height: 100vh !important;
    width: 50%;
    position: absolute;
    top: 0;
  }
  .cd-section:nth-of-type(even) .cd-half-block:first-of-type, .cd-section:nth-of-type(odd) .cd-half-block:nth-of-type(2) {
    left: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  .cd-section:nth-of-type(odd) .cd-half-block:first-of-type, .cd-section:nth-of-type(even) .cd-half-block:nth-of-type(2) {
    right: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.curtain-text{
	position:relative;
	display:block;
	max-width:350px;
	margin-left:6%;
	padding:10px 30px;
	z-index:5;
	background:rgba(21,21,21,.8);
	-webkit-transform: translateY(90%);
	-moz-transform: translateY(90%);
	-ms-transform: translateY(90%);
	-o-transform: translateY(90%);
	transform: translateY(90%);
}
.curtain-text h5{
	text-align:left;
	letter-spacing:2px;
	font-weight:700;
	font-size: 15px;
	line-height:26px;
	color:#fff;
}
.curtain-text p{
	color:#f9f9f9;
	text-align:left;
	letter-spacing:2px;
    text-transform: uppercase;
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
	font-size: 11px;
	line-height:26px;
}
.curtain-text .arrow-right{
	position:absolute;
	font-family: 'FontAwesome';
	font-size: 18px;
	line-height:18px;
	top:30px;
	right:45px;
	z-index:7;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear; 
}
.curtain-text:hover .arrow-right{
	right:30px;
}

/* --- 左寄せ用クラス --- */
.curtain-text.text-left {
    margin-left: 6%;   /* 左端からの距離 */
    margin-right: auto;
    text-align: left;  /* 中の文字も左揃え */
}

/* --- 右寄せ用クラス --- */
.curtain-text.text-right {
    margin-left: auto; /* 左側の余白を自動で埋めて右に寄せる */
    margin-right: 6%;  /* 右端からの距離 */
    text-align: left;  /* ※箱は右でも、中の文章は左揃えが読みやすいです */
}



.curtain-info {
    position: relative;
    display: block;
    max-width: 650px;
    z-index: 5;
    background: rgba(21, 21, 21, .8);
    
    /* PCでの設定 */
    transform: translateY(10%);
    margin-top: 25px;
    padding: 15px 20px;
    color: #f9f9f9;
    font-size: 15px;    /* PC用 */
    line-height: 2;   /* PC用 */
    font-weight:400;
}
.curtain-info strong{
    font-weight:600;
}

@media only screen and (max-width: 768px) {
    .curtain-info {
        
        transform: translateY(20%);
        font-size: 12px; 
        line-height: 1.4; 

        padding: 10px 15px; 
        margin-top: 15px;   
        
    }
}

/* --- 左寄せ用クラス --- */
.curtain-info.info-left {
    margin-left: 6%;   /* 左端からの距離 */
    margin-right: auto;
    text-align: left;  /* 中の文字も左揃え */
}

/* --- 右寄せ用クラス --- */
.curtain-info.info-right {
    margin-left: auto; /* 左側の余白を自動で埋めて右に寄せる */
    margin-right: 6%;  /* 右端からの距離 */
    text-align: left;  /* ※箱は右でも、中の文章は左揃えが読みやすいです */
}

/* =========================
   現場の声 専用
========================= */
#voice .voice-container {
    position: relative;
    width: 100%;
    z-index: 5;
    transform: translateY(15%);
}

#voice .voice-box {
    position: relative;
    display: block;
    max-width: 650px;
    z-index: 5;
    background: rgba(21, 21, 21, .8);
    color: #f9f9f9;
    padding: 15px 20px;
    font-size: 11px;
    line-height: 2;
    font-weight: 400;
    margin-bottom: 25px;
}

#voice .voice-box strong {
    font-weight: 600;
    font-size: 1.1em;
}

#voice .voice-box.voice-left {
    margin-left: 6%;
    margin-right: auto;
    text-align: left;
}

#voice .voice-box.voice-right {
    margin-left: auto;
    margin-right: 6%;
    text-align: left;
}

#voice .voice-points {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-bottom: 8px;
    line-height: 1.4;
}

@media only screen and (max-width: 768px) {
    #voice .cd-section,
    #voice .cd-block,
    #voice .cd-half-block {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    #voice .curtain-text {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 16px 20px !important;
        z-index: 10;
    }

    #voice .voice-container {
        transform: none;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    #voice .voice-box {
        max-width: none;
        width: auto;
        font-size: 14px;
        line-height: 1.7;
        padding: 12px 14px;
        margin-bottom: 15px;
    }

    #voice .voice-box.voice-left,
    #voice .voice-box.voice-right {
        margin-left: 16px;
        margin-right: 16px;
    }

    #voice .voice-points {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
}/* =========================
   daily-flow 専用
========================= */

/* 外枠 */
#daily-flow .voice-container {
    position: relative;
    width: 100%;
    z-index: 5;

    /* PCでは少し下げる */
    transform: translateY(20%);
}

/* タイムラインの箱 */
#daily-flow .timeline-box {
    margin-left: auto;
    margin-right: 6%;
    max-width: 650px;

    background: rgba(21, 21, 21, .8);
    color: #f9f9f9;
    padding: 24px 28px;
    line-height: 1.8;
}

/* --- リストの基本設定 --- */
#daily-flow ul.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

/* --- 各行の設定 --- */
#daily-flow ul.timeline li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

#daily-flow ul.timeline li:last-child {
    margin-bottom: 0;
}

/* --- 縦線 --- */
#daily-flow ul.timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 6px;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

/* --- ドット --- */
#daily-flow ul.timeline li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #333;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

/* --- 時間 --- */
#daily-flow ul.timeline .time {
    font-weight: 700;
    width: 60px;
    flex-shrink: 0;
    margin-right: 15px;
    color: #e0c0af;
}

/* --- テキスト --- */
#daily-flow ul.timeline .text {
    flex: 1;
    min-width: 0;
}

/* =========================
   モバイル
========================= */
@media only screen and (max-width: 768px) {
    #daily-flow .cd-section,
    #daily-flow .cd-block,
    #daily-flow .cd-half-block {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    /* タイトルを普通の縦積みに戻す */
    #daily-flow .curtain-text {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 16px 15px!important;
        z-index: 10;
    }

    #daily-flow .voice-container {
        transform: none;
        margin: 0;
              display: flex;
        flex-direction: column;
        gap: 16px;
    }

    #daily-flow .timeline-box {
        max-width: none;
        margin: 0 16px 24px;
        padding: 18px 16px;
    }

    #daily-flow ul.timeline li {
        padding-left: 26px;
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.45;
    }

    #daily-flow ul.timeline::before {
        left: 5px;
        top: 4px;
        bottom: 4px;
    }

    #daily-flow ul.timeline li::after {
        width: 11px;
        height: 11px;
    }

    #daily-flow ul.timeline .time {
        width: 52px;
        margin-right: 10px;
    }
}
/* =========================================
   給与明細ページ専用スタイル (Salary Model)
   ========================================= */

/* --- 1. ページレイアウト（コンテナ） --- */
.salary-container {
    position: relative;
    z-index: 5;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    
    /* ★修正: 開始位置を上に移動（10vh -> 5vh） */
    padding-top: 5vh; 
    
    height: auto; 
    min-height: 80vh; 
    padding-bottom: 30px;
    
    display: flex;
    flex-direction: column;
}

/* --- 2. タイトルエリア --- */
/* 左側は文字が入り、右側は空だが、高さを揃えるために必須 */
.salary-title-area {
    /* ここはタイトルの「配置スペース」の高さ */
    /* タイトル自体の高さ + マージンを考慮して少し余裕を持たせる */
    height: 100px; 
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* 下揃えにしてボックスにくっつける */
    margin-bottom: 15px;       /* ボックスとの隙間 */
    flex-shrink: 0;
}

/* ★修正: タイトルデザインの復旧 */
.salary-container .curtain-text {
    /* 位置強制の解除 */
    transform: none !important;
    margin-left: 0 !important;
    max-width: 100%;
    
    /* 元のデザイン（黒背景・余白）を適用 */
    position: relative;
    display: block;
    background: rgba(21, 21, 21, .8); /* 黒背景を復活 */
    padding: 10px 30px;               /* 余白を復活 */
    color: #f9f9f9;
}

/* 矢印の位置調整（もし崩れていれば） */
.salary-container .curtain-text .arrow-right {
    top: 30px; /* 必要であれば微調整 */
    right: 10px;
}


/* --- 3. 給与明細ボックス（本体） --- */
.salary-box {
    position: relative;
    background: rgba(21, 21, 21, .85);
    color: #f9f9f9;
    border-radius: 8px;
    
    display: flex;
    flex-direction: column;
    flex: 1; 
    
    /* ★修正: 高さを拡大（65vh -> 80vh） */
    /* これでより多くの行がスクロールなしで表示されます */
    max-height: 80vh; 
    overflow-y: auto; 
    padding: 0;
}

/* スクロールバーのデザイン */
.salary-box::-webkit-scrollbar {
    width: 6px;
}
.salary-box::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}


/* --- 4. ヘッダーエリア（手取り額など） --- */
.salary-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px; 
    min-height: 70px; /* 少しコンパクトに */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0; 
}
.salary-header .label {
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
}
.salary-header .amount-large {
    font-size: 24px;
    font-weight: 700;
    color: #eebb4d;
    letter-spacing: 1px;
}


/* --- 5. メインエリア（リスト部分） --- */
.salary-body {
    display: flex;
    flex-wrap: wrap;
    flex: 1; 
}
.salary-col {
    width: 100%; 
    padding: 15px 20px; 
    box-sizing: border-box;
}

.salary-title {
    font-size: 13px;
    color: #8ed2ff;
    margin-bottom: 8px;
    font-weight: 700;
    border-bottom: 2px solid rgba(142, 210, 255, 0.3);
    padding-bottom: 4px;
    display: inline-block;
}

ul.salary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.salary-list li {
    display: flex;
    justify-content: space-between;
    /* 行間設定 */
    padding: 5px 0; 
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    font-size: 12px;
}
ul.salary-list li:last-child {
    border-bottom: none;
}
ul.salary-list li.subtotal {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-weight: 700;
    color: #fff;
}

/* --- 総支給額の強調（枠線・背景色・文字拡大） --- */
ul.salary-list li.highlight-total {
    margin-top: 15px;         /* 上に少し隙間を空ける */
    padding: 12px 15px;       /* 枠内の余白 */
    background: rgba(238, 187, 77, 0.1); /* 薄いゴールドの背景 */
    border: 1px solid rgba(238, 187, 77, 0.6); /* ゴールドの枠線 */
    border-radius: 4px;       /* 角丸 */
}

ul.salary-list li.highlight-total .name {
    font-weight: 700;
    color: #fff;              /* 項目名は白く */
}

ul.salary-list li.highlight-total .val {
    font-size: 18px;          /* 金額を大きく */
    font-weight: 700;
    color: #eebb4d;           /* ゴールド色 */
    letter-spacing: 0.5px;
}

/* --- ボーナスエリアのデザイン --- */
.bonus-area {
    margin-top: 25px;         /* 上のリストとの間隔 */
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1); /* 区切り線 */
}

.bonus-grid {
    display: flex;
    gap: 10px;                /* 夏と冬の間の隙間 */
}

.bonus-item {
    flex: 1;                  /* 均等に横並び */
    background: rgba(255,255,255,0.05); /* 背景色 */
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between; /* 文字を左右に配置 */
    align-items: center;
}

.bonus-item .lbl {
    font-size: 11px;
    color: #ccc;
}

.bonus-item .val {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

/* スマホ対応（ボーナスが狭くならないように） */
@media only screen and (max-width: 400px) {
    .bonus-grid {
        flex-direction: column; /* 画面が狭すぎる場合は縦並び */
    }
}


/* --- 6. フッターエリア（勤怠） --- */
.salary-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.attendance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.att-item {
    font-size: 11px;
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 4px;
}
.att-item .lbl {
    color: #aaa;
    margin-right: 6px;
}
.att-item .dat {
    font-weight: 700;
    color: #fff;
}

/* --- 手取り額（フッター配置用） --- */
.salary-header.result-footer {
    border-bottom: none;          /* 下線を消す */
    border-top: 1px solid rgba(255,255,255,0.2); /* 上線を追加 */
    background: rgba(238, 187, 77, 0.15); /* 少しだけゴールド背景にして特別感を出す */
    margin-top: auto;             /* ボックスの一番下に押し下げる */
}

/* 文字色を少し強調 */
.salary-header.result-footer .label {
    color: #fff;
    font-size: 14px;
}

/* 【修正】全体に馴染むスタイルに全面書き換え */
.salary-caution-inline {
    background-color: transparent; /* 背景を透明にする */
    padding: 0 10px; /* 余白を調整 */
    margin-bottom: 8px; /* 下のボックスとの間隔 */
    font-size: 0.6rem;
    line-height: 1.6;
    color: #fff; /* 文字色を白にして馴染ませる */
}

/* ご注意の見出しをSALARY見出しに寄せる */
.caution-title {
    display: inline-block;
    background: rgba(21, 21, 21, .8);
    color: #ff9e9e; /* 警告色として薄い赤を文字に */
    padding: 5px 10px;
    margin-bottom: 8px;
    border-radius: 5px; /* SALARY見出しに合わせた角丸 */
    font-weight: bold;
    font-size: 0.7rem;
}

/* モバイル対応：余白の調整 */
@media (max-width: 768px) {
    .salary-caution-inline {
        font-size: 0.6rem;
    }
}

.salary-caution strong {
    color: #d9534f;
    font-size: 1rem;
}

/* モバイル対応：auto-height-mobileに合わせて調整 */
@media (max-width: 768px) {
    .salary-caution {
        font-size: 0.7rem;
        margin: 0 10px 20px 10px;
    }
}

/* =========================================
   スマホ表示の修正パッチ（CSSの最後に追加）
   ========================================= */
@media only screen and (max-width: 768px) {

    /* 1. コンテナの余白を調整 */
    .salary-container {
        padding-top: 20px !important; /* 上の余白を詰める */
        padding-bottom: 40px !important;
        height: auto !important; /* 高さを自由に */
    }

    /* 2. タイトルエリアの調整 */
    .salary-title-area {
        height: auto !important; /* 固定の高さを解除 */
        margin-bottom: 15px;
    }

    /* ★重要：右側の「空のタイトルエリア」をスマホでは消す */
    /* これがないと、上下のボックスの間に無駄な巨大な隙間ができてしまいます */
    .salary-title-area:empty {
        display: none !important;
    }

    /* 3. ボックスのスクロール制限を解除 */
    /* スマホでは箱の中でスクロールせず、ページ全体でスクロールさせる方が自然です */
    .salary-box {
        max-height: none !important; /* 高さ制限をなしに */
        overflow: visible !important; /* スクロールバーを出さない */
        flex: none; /* フレックスの伸縮を解除 */
    }

    /* 4. 勤怠エリア（フッター）の微調整 */
    .salary-footer {
        /* もし見切れが起きるなら、ここで下余白を足して押し上げる */
        padding-bottom: 30px; 
    }
}

/* =========================================
   スマホ表示修正（5〜8番のデータセクション用）
   ========================================= */
@media only screen and (max-width: 768px) {

    /* 1. 「auto-height-mobile」がついた親セクションだけ高さを解除 */
    .cd-section.auto-height-mobile,
    .cd-section.auto-height-mobile .cd-block {
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }

    /* 2. 背景ブロック（5,6,7,8番）の高さを解除して中身に合わせる */
    .cd-section.auto-height-mobile .image-folio-5,
    .cd-section.auto-height-mobile .image-folio-6,
    .cd-section.auto-height-mobile .image-folio-7,
    .cd-section.auto-height-mobile .image-folio-8,
    .cd-section.auto-height-mobile .image-folio-9,
    .cd-section.auto-height-mobile .image-folio-10,
    .cd-section.auto-height-mobile .image-folio-11,
    .cd-section.auto-height-mobile .image-folio-12{
        height: auto !important;
        min-height: auto !important;
        
        /* 背景画像の設定 */
        background-size: cover !important;
        background-position: center top !important;
        
        /* ブロック同士の余白リセット */
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    /* 3. コンテンツ（salary-container）の余白調整 */
    .salary-container {
        padding-top: 80px !important;    /* 上の余白 */
        padding-bottom: 80px !important; /* 下の余白（次のブロックとの距離） */
        height: auto !important;
    }
}
/* =========================================
   数字で見る看護部 (By the Numbers)
   ========================================= */

/* --- 以前作った salary-box のスクロール設定などを継承 --- */
.numbers-box {
    /* salary-boxと同じ基本設定 */
    position: relative;
    background: rgba(21, 21, 21, .85);
    color: #f9f9f9;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px; /* 全体に少し余白を入れる */
}



/* スクロールバー設定（共通） */
.numbers-box::-webkit-scrollbar { width: 6px; }
.numbers-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 3px; }

/* セクション区切り */
.num-section {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}
.num-section:last-of-type {
    border-bottom: none;
    margin-bottom: 10px;
}

/* セクションタイトル */
.num-title {
    font-size: 14px;
    color: #8ed2ff; /* 水色 */
    margin-bottom: 15px;
    font-weight: 700;
    border-left: 3px solid #8ed2ff;
    padding-left: 10px;
}

/* --- 1. 横棒グラフのデザイン --- */
.graph-group {
    margin-bottom: 20px;
}
.graph-label {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
    color: #ccc;
}

.bar-chart {
    width: 100%;
}
.bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.bar-label {
    width: 60px; /* ラベル幅固定 */
    font-size: 11px;
    color: #aaa;
    flex-shrink: 0;
}
.bar-label.highlight {
    color: #eebb4d; /* 当院はゴールド文字 */
    font-weight: 700;
}

.bar-track {
    flex: 1; /* 残りの幅を使う */
    background: rgba(255,255,255,0.1); /* 背景のレール */
    height: 20px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* 文字を右端に */
    padding-right: 8px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    /* アニメーション（お好みで） */
    transition: width 1s ease-out;
}

/* 色分け */
.bar-fill.gray {
    background: #777;
    color: #fff;
}
.bar-fill.gold {
    background: #eebb4d;
    color: #333; /* 明るい背景なので文字は黒 */
}
/* バーの中に文字が入りきらない場合の調整（spanで囲む） */
.bar-fill span {
    position: relative;
    z-index: 2;
}


/* --- 2. グリッドパネルのデザイン --- */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.stat-card {
    width: 47%; /* 2列表示 */
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

.stat-name {
    display: block;
    font-size: 11px;
    color: #ccc;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
    padding-bottom: 4px;
}

.stat-compare {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 11px;
    color: #aaa;
}
.sc-row.highlight {
    color: #eebb4d;
    font-weight: 700;
}
.sc-val.large {
    font-size: 15px; /* 当院の数字だけ大きく */
}

/* 注釈 */
.num-note {
    font-size: 10px;
    color: #666;
    line-height: 1.4;
    margin-top: 10px;
}
/* --- 病棟別離職率の内訳リスト --- */
.ward-breakdown {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255,255,255,0.2);
}
.wb-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #ccc;
    margin-bottom: 3px;
}
.wb-row .wb-val {
    color: #fff;
    font-weight: 700;
}


/* --- 年齢構成テーブルのデザイン --- */
.age-table {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    padding: 10px 15px;
    box-sizing: border-box;
}

/* ヘッダー行 */
.at-header {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-size: 11px;
    color: #8ed2ff; /* 水色文字 */
    font-weight: 700;
}

/* データ行 */
.at-row {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    font-size: 12px;
    align-items: center;
}
.at-row:last-child {
    border-bottom: none;
}

/* カラム設定 */
.at-col {
    flex: 1;           /* 均等割り */
    text-align: center; /* 中央寄せ */
}
.at-col.name {
    text-align: left;  /* 病棟名は左寄せ */
    color: #ccc;
}
.at-col.val {
    color: #fff;
    font-weight: 700;
}


/* --- スマホ対応 --- */
@media only screen and (max-width: 768px) {
    .stat-card {
        width: 100%; /* スマホでは1列に */
    }
    .bar-label {
        width: 50px;
        font-size: 10px;
    }
    .bar-track {
        height: 18px;
    }
    .bar-fill {
        font-size: 9px;
    }
    .numbers-box {
        /* スマホ用リセット（salary-boxと同様） */
        max-height: none !important;
        overflow: visible !important;
    }
}
/* --- ルール・条件リストのデザイン --- */
.rule-box {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

ul.rule-list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13px;
    line-height: 1.6;
    color: #ddd;
}
ul.rule-list li {
    margin-bottom: 5px;
}
/* 数字リストにする場合 */
ul.rule-list.numbered {
    list-style-type: decimal;
}

/* 注釈（小さく表示） */
.caution-note {
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
    line-height: 1.4;
}

/* --- 金額の強調表示（支度金など） --- */
.benefit-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.benefit-price .bp-label {
    font-size: 13px;
    font-weight: 700;
    margin-right: 15px;
    color: #ccc;
}
.benefit-price .bp-val {
    font-size: 24px;
    font-weight: 700;
    color: #eebb4d; /* ゴールド */
    letter-spacing: 1px;
}

/* --- 金額の強調表示（2カラム：住宅手当など） --- */
.benefit-price-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}
.bp-item {
    flex: 1;
    background: rgba(238, 187, 77, 0.1); /* 薄いゴールド背景 */
    border: 1px solid rgba(238, 187, 77, 0.4);
    border-radius: 4px;
    padding: 10px;
    text-align: center;
}
.bp-item .bp-cat {
    display: block;
    font-size: 11px;
    color: #fff;
    margin-bottom: 3px;
}
.bp-item .bp-amount {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #eebb4d;
}
.bp-item .bp-amount small {
    font-size: 11px;
    color: #ccc;
    font-weight: 400;
}

/* --- 採用フロー（ステップ表示） --- */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: 15px;
}
/* 矢印（↓）の線 */
.step-item::after {
    content: '';
    position: absolute;
    left: 15px; /* 丸の中心 */
    top: 30px;
    bottom: -5px;
    width: 1px;
    background: rgba(255,255,255,0.2);
    z-index: 1;
}
.step-item:last-child::after {
    display: none; /* 最後は線を消す */
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #eebb4d;
    color: #333;
    font-weight: 700;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 15px;
    position: relative;
    z-index: 2; /* 線より上に */
    flex-shrink: 0;
}
.step-content strong {
    display: block;
    color: #eebb4d;
    font-size: 14px;
    margin-bottom: 4px;
}
.step-content p {
    font-size: 12px;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

/* --- 病院見学会 --- */
.tour-highlight {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
}
.tour-highlight .gold {
    color: #eebb4d;
    font-size: 18px;
}

/* --- 問い合わせ先 --- */
.contact-info {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 5px;
}
.contact-name {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 5px;
}
.contact-tel {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 1px;
    line-height: 1;
}
.contact-note {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 10px;
}
.contact-address {
    font-size: 12px;
    color: #ccc;
    border-top: 1px dashed rgba(255,255,255,0.2);
    padding-top: 10px;
}

/* --- エントリーフォーム --- */
.entry-form {
    margin-top: 10px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-size: 12px;
    color: #ccc;
    margin-bottom: 5px;
}
.form-group .required {
    background: #ff6b6b;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: text-bottom;
}

/* 入力フィールド */
.entry-form input[type="text"],
.entry-form input[type="tel"],
.entry-form input[type="email"],
.entry-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    box-sizing: border-box; /* 枠からはみ出ないように */
}
.entry-form input:focus,
.entry-form textarea:focus {
    outline: none;
    border-color: #eebb4d;
    background: rgba(255,255,255,0.15);
}

/* ラジオボタン */
.radio-group {
    display: flex;
    gap: 15px;
}
.radio-group label {
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.radio-group input {
    margin-right: 5px;
    accent-color: #eebb4d; /* ゴールドのラジオボタン */
}

/* 送信ボタン */
.form-submit {
    margin-top: 20px;
    text-align: center;
}
.form-submit button {
    background: #eebb4d;
    color: #222;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%; /* スマホで押しやすく */
    max-width: 300px;
}
.form-submit button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 187, 77, 0.3);
}

/* ハニーポット（隠しフィールド）を安全に隠すモダンな手法 */
.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* メッセージ枠のスタイル（そのまま） */
.form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
}

.form-status--success {
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.form-status--error {
  background: rgba(255, 80, 80, 0.08);
  color: #ff7b7b;
  border: 1px solid rgba(255, 80, 80, 0.28);
}

/* ＝＝＝ ここからレイアウト崩れ（フッター被り）対策 ＝＝＝ */
@media only screen and (max-width: 768px) {
  /* スマホ表示の時に、フォームコンテナの高さを自動調整し、下部に十分な余白を持たせる */
  #entry .cd-half-block {
    height: auto !important;
    padding-bottom: 80px !important; /* フッターと被らないように余白を追加 */
  }
  
  #entry .salary-container {
    height: auto !important;
  }
}

/* スマホ調整 */
@media only screen and (max-width: 480px) {
    .radio-group {
        flex-direction: column; /* ラジオボタンを縦並びに */
        gap: 8px;
    }
}
/* #Portfolio
================================================== */

#projects-grid{
	position:relative;
	text-align:center;
	margin:0 auto;
	width:100%;
	max-width:100%;
	overflow:hidden;
}
#projects-grid.max-grid-width{
	max-width:1400px;
}
#projects-grid.margin-on-side{
	width:calc(100% - 40px);
	max-width:calc(100% - 40px);
}
#projects-grid:after {
  content: '';
  display: block;
  clear: both;
}
.portfolio-box-1{
	position:relative;
	float:left;
	width:33.3333333333%;
	display:inline-block;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow:hidden;
	margin-left:-1px;
	-webkit-transform: translate3d(1px,0,0);
	transform: translate3d(1px,0,0);
}
.portfolio-box-1.with-margin{
	width:calc(33.3333333333% - 40px);
	margin-top:20px;
	margin-bottom:20px;
	margin-right:20px;
	margin-left:19px;
}
.portfolio-box-1 .mask{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:1;
	background-color:#212121;
	opacity:0;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.portfolio-box-1 .mask.with-cross{
	background-image:url('../images/big-plus-sign.png');
	background-repeat:no-repeat;
	background-position: center center;
	background-size: 20px 20px;
}
.portfolio-box-1:hover .mask{
	opacity:.9;
}
.portfolio-box-1 h3{
	position:absolute;
	left:25px;
	bottom:40px;
	font-family: 'Montserrat', sans-serif;
	font-weight:700;
	font-size: 22px; 
	line-height: 24px;
	text-align:left;
	z-index:3;
	letter-spacing:-1px;
	color:#fff;
	opacity:0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.portfolio-box-1:hover h3{
	left:40px;
	opacity:1;
}
.portfolio-box-1 h3 span{
	text-transform:uppercase;
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
	font-size: 10px;
	letter-spacing:2px;
}
.portfolio-box-1 img{
	width:100%;
	display:block;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.portfolio-box-1:hover img{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}


#portfolio-filter {
	position:relative;
	width:100%;
	text-align: center;
	padding-bottom:10px;
}
#portfolio-filter.image-no-margin {
	padding-bottom:35px;
}
#filter {
	position:relative;
	width:100%;
	text-align: center;
}
#filter li {
	display: inline-block;
	text-align: center;
}
#filter:after {
  content: '';
  display: block;
  clear: both;
}
#filter li a {
	position: relative;
	display: inline-block;
	letter-spacing:2px;
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 10px; 
	margin-bottom:5px;
	text-align: center;
	outline: none;
	color: #212121;
	text-transform:uppercase;
	margin-left:10px;
	margin-right:10px;
	text-decoration: none;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
#filter li .current {
}
#filter li a:hover {
}
.isotope-item {
    z-index: 2;
}
.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}
.isotope, .isotope .isotope-item {
    -webkit-transition-duration: 0.6s;
       -moz-transition-duration: 0.6s;
            transition-duration: 0.6s;
}
.isotope {
    -webkit-transition-property: height, width;
       -moz-transition-property: height, width;
            transition-property: height, width;
}
.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
       -moz-transition-property:    -moz-transform, opacity;
        -ms-transition-property:     -ms-transform, opacity;
         -o-transition-property:         top, left, opacity;
            transition-property:         transform, opacity;
}

.project-text-box{
	position:relative;
	padding:30px;
	background-color:#212121;
}
.project-text-box h5{
	color:#fff;
	padding-bottom:15px;
	text-align:left;
}
.project-text-box p{
	color:#f9f9f9;
	text-align:left;
	font-style: italic;
	padding-bottom:15px;
}
.project-text-box p:last-child{
	color:#999;
	text-align:left;
	font-style: normal;
	padding-bottom:0;
	font-size:11px;
	text-transform:uppercase;
	letter-spacing:1px;
}

.project-next-prev{
	position:relative;
	width:100%;
	overflow:hidden;
	z-index: 5;
}
.project-next-prev:after {
  content: '';
  display: block;
  clear: both;
}
.project-prev{
	position:relative;
	width:50%;
	display:inline-block;
	height:350px;
	float:left;
	background:url('../images/project-left.svg')no-repeat center center;
	background-size:120px 120px;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.project-prev .text,
.project-next .text{
	position:absolute;
	letter-spacing:3px;
	font-weight:700;
	width:100%;
	left:0;
	top:120%;
	margin-top:-28px;
	font-size:22px;
	line-height:28px;
	text-align:center;
	color:#212121;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.project-prev:hover .text,
.project-next:hover .text{
	top:50%;
}
.project-prev .text span,
.project-next .text span{
	font-weight:400;
	font-size: 10px;
	color:#747474;
	line-height:28px;
	letter-spacing:3px;
	text-transform: uppercase;
}
.project-prev:hover{
	background-position:center -100%;
}
.project-next{
	position:relative;
	width:50%;
	display:inline-block;
	height:350px;
	float:left;
	background:url('../images/project-right.svg')no-repeat center center;
	background-size:120px 120px;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}
.project-next:hover{
	background-position:center -100%;
}

 
/* #Home Slider
================================================== */
 
#owl-top {
	position:relative;
	width:100%;
	margin:0 auto;
	height: 100vh;
}
#owl-top .item{
	position:relative;
	width:100%;
	height: 100vh;
	margin:0 auto;
	background-size:cover;
	background-position:center center;
	background-repeat:no-repeat;
	z-index:2;
}
#owl-top .item.top-image-1{
	background-image:url('../images/home1.jpg');
}
#owl-top .item.top-image-2{
	background-image:url('../images/home2.jpg');
}
#owl-top .item.top-image-3{
	background-image:url('../images/home3.jpg');
}
#owl-top .item.top-image-4{
	background-image:url('../images/home4.jpg');
}
#owl-top .item.top-image-5{
	background-image:url('../images/home5.gif');
}
#owl-top .item.top-image-6{
	background-image:url('../images/home6.jpg');
}


#owl-top.owl-theme .owl-controls .owl-buttons .owl-prev{
	background-image:url('../images/arrow-left.png');
	margin-left:-32px;
}
#owl-top.owl-theme .owl-controls .owl-buttons .owl-next{
	background-image:url('../images/arrow-right.png');
	margin-left:2px;
}
#owl-top.owl-theme .owl-controls .owl-buttons .owl-next,
#owl-top.owl-theme .owl-controls .owl-buttons .owl-prev{
	position:absolute;
	top:50%;
	width:30px;
	height:30px;
	left:50%;
	z-index:100;
	margin-top:150px;
	text-indent: 100%;
	background-size:7px 14px;
	background-repeat: no-repeat;
	background-position:center center;
	background-color:rgba(255,255,255,.7);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
#owl-top.owl-theme .owl-controls .owl-buttons .owl-next:hover,
#owl-top.owl-theme .owl-controls .owl-buttons .owl-prev:hover{
	background-color:rgba(255,255,255,1);
}

/* #Home HTML Video
================================================== */
 
#poster_background { 
	position: absolute; 
	bottom: 0; 
	left: 0;
	top:0;
	right:0;
	background:url('../images/video.jpg')no-repeat center center;
	background-size:cover;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}
video#video_background { 
	position: absolute;
	top:50%;
	left:50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: 2;
	overflow: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
#video-wrap{ 
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	z-index: 2;
	overflow: hidden;
}

/* #Elements
================================================== */ 


.columns-block {
	position:relative;
	width:100%;
	background:#f4f4f4;
	height:50px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
} 
.columns-block:hover {
	background:#000;
}
.columns-block p{
	line-height:50px;
	font-size:11px;
	text-align:center;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.columns-block:hover p{
	color:#fff;
} 

.pricing-item{
	position:relative;
	width:100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border:1px solid rgba(100,100,100,.2);
	padding:40px;
	margin:0 auto;
	text-align:center;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
}
.pricing-item:hover{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.pricing-item.popular{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}
.pricing-item h6{
	text-align:center;
	padding-bottom:15px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.pricing-item p{
	text-align:center;
	padding-top:3px;
	padding-bottom:3px;
    text-transform: uppercase;
	letter-spacing:2px;
	font-size: 12px;
	color:#626262;
}
.pricing-item p span{
	font-weight:800;
}
.pricing-item .number-price{
	position:relative;
	width:100%;
	font-family: 'Open Sans', sans-serif;
	font-weight:100;
	font-size: 44px;
	line-height:44px;
	color:#323232;
	text-align:center;
	padding-bottom:17px;
}
.pricing-item .number-price span{
	font-family: 'FontAwesome';
	font-size: 22px;
	line-height:62px;
	vertical-align:super;
	font-weight:400;
	padding-right:8px;
}
.pricing-item .number-price span:last-child{
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height:54px;
	vertical-align:-1%;
	font-weight:600;
	padding-right:0;
	padding-left:5px;
}
.pricing-item a.price-link{
	position:relative;
	font-family: 'Open Sans', sans-serif;
	text-align:center;
	padding-top:8px;
	padding-bottom:8px;
	width:130px;
	margin:0 auto;
	margin-top:22px;
    text-transform: uppercase;
	letter-spacing:2px;
	display:block;
	background:#111111;
	border-radius:30px;
	font-size: 11px;
	color:#fff;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.pricing-item a.price-link:hover{
	color:#fff;
}


.services-list.services-box{
	padding:30px;
	background:#f9f9f9;
}

.services-list{ 
	position:relative;
	width:100%;
	margin:0 auto;
	border-radius:3px;
}
.services-list .icons{ 
    font-family: 'et-line';
	width:100%;
	text-align:center;
	color:#212121;
	font-size:30px;
	line-height:30px;
	padding-bottom:20px;
}
.services-list h6{ 
	padding-bottom:15px;
	text-align:center;
}
.services-list p{ 
	text-align:center;
	font-style: italic;
}


p.justify{
	text-align:justify;
}
.gu-box{
	position:relative;
	width:100%;
	border-left:2px solid #bababa;
	padding-bottom:20px;
}
.gu-box.float-quotes{
	float:right;
	max-width:440px;
	margin-left:30px;
}
.gu-box p{
	color:#000;
	padding-left:30px;
	padding-top:20px;
	padding-bottom:20px;
	letter-spacing:2px;
	font-size: 16px;
	line-height:28px;
}
.gu-box span{
	color:#999999;
	padding-left:30px;
	font-family: 'Open Sans', sans-serif;
	font-weight:600;
	letter-spacing:3px;
	font-size: 12px;
	line-height:20px;
}
.gu-box.margin-gu{
	margin-top:20px;
	margin-bottom:20px;
}


.alert{
	position: relative; 
	width: 100%;
	overflow:hidden;
	padding:20px;
}
.alert p{
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	font-size: 10px;
	line-height:18px;
	color:#212121;
	text-transform: uppercase;
	letter-spacing:1px;
} 
.alert p span{
	font-size: 12px;
	font-family: 'FontAwesome';
	padding-right:15px;
}  
.alert.alert-green{
	background-color:#c5ebd4;
	border-left:3px solid #8cd7aa;
} 
.alert.alert-red{
	background-color:#ffcccb;
	border-left:3px solid #ff817f;
} 
.alert.alert-blue{
	background-color:#b9dff4;
	border-left:3px solid #77c1ea;
}   
.alert.alert-yelow{
	background-color:#fce1b6;
	border-left:3px solid #f9c36d;
}    
.alert.alert-blank{
	background-color:#eeeeee;
	border-left:3px solid #ccc;
}   
.alert.alert-blank-2{
	background-color:#333333;
	border-left:3px solid #111;
}  
.alert.alert-blank-2 p{
	color:#fff;
}


.counter-wrap{
	position:relative;
	width:100%;
	margin:0 auto;
	z-index:10;
}	
.counter-numb{
	position:relative;
	width:100%;
	margin:0 auto;
	text-align:center;
	font-family: 'Open Sans', sans-serif;
	font-weight:300;
	font-size: 30px;
	line-height:30px;
	letter-spacing:4px;
	color:#060606;
	padding-bottom:10px;
}
.counter-line{
	position:relative;
	width:20px;
	margin:0 auto;
	text-align:center;
	height:2px;
	margin-top:10px;
	margin-bottom:10px;
}	
.counter-wrap h6{
	text-align:center;
	padding-top:10px;
	padding-bottom:0;
}

/* #Footer
================================================== */
 
.dark-back {
	background-color:#212121;
}
.arrow-up-footer {
	position:relative;
	width:30px;
	height:30px;
	margin:0 auto;
	text-align:center;
	background-image:url('../images/up-arrow.png');
	background-repeat:no-repeat;
	background-position:center center;
	background-size: 30px 16px;
}
.left-footer p{
	text-align:left;
	font-size:12px;
	line-height:20px;
	color: #f4f4f4;
	letter-spacing:1px;
}
.right-footer p{
	text-align:right;
	font-size:12px;
	line-height:20px;
	color: #f4f4f4;
	letter-spacing:1px;
}



 
/* #Media Queries
================================================== */



@media only screen and (max-width: 1400px) {
.portfolio-box-1{
	width:50%;
}
.portfolio-box-1.with-margin{
	width:calc(50% - 40px);
}
}

@media only screen and (max-width: 1200px) {
.home-text-sec h1{
	font-size: 50px;
	line-height:80px;
	letter-spacing:-1px;
}
.home-text-sec h3{
	font-size: 30px;
	line-height:60px;
}
.home-text-sec p{
	font-size: 10px;
	line-height:17px;
	letter-spacing:1px;
}
.home-text-sec p span{
	padding:6px 15px;
}
.about-half,
.about-quarter-1,
.about-quarter-2{
	width:100%;
	min-height:auto;
	padding-top:70px;
	padding-bottom:70px;
}
.about-text-in{
	position:relative;
	top:auto;
	left:auto;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}
}

@media only screen and (max-width: 1000px) {
#owl-top.owl-theme .owl-controls .owl-buttons .owl-next,
#owl-top.owl-theme .owl-controls .owl-buttons .owl-prev{
	margin-top:100px;
}
}

@media only screen and (max-width: 800px) {
#royal_preloader.royal_preloader_scale_text .royal_preloader_loader {
    height: 22px;
    line-height: 22px;
    font-size: 22px;
}
.portfolio-box-1{
	width:100%;
}
.portfolio-box-1.with-margin{
	width:calc(100% - 40px);
}
.home-text-sec h1{
	font-size: 30px;
	line-height:50px;
	letter-spacing:0;
}
.home-text-sec h3{
	font-size: 20px;
	line-height:50px;
}
.home-text-sec p{
	font-size: 9px;
	line-height:16px;
	letter-spacing:1px;
}
.home-text-sec p span{
	padding:4px 10px;
}
.blog-page-post h5 {
	margin-top:-10px;
}
.blog-page-post:hover h5 {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}
.blog-page-post p {
	display:none;
}
.blog-page-post .blog-post-author {
	display:none;
}
}

@media only screen and (max-width: 600px) {
}

@media only screen and (min-width: 1200px) and (max-width: 1319px) {
}

@media only screen and (min-width: 960px) and (max-width: 1199px) {
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
.left-footer p,
.right-footer p{
	text-align:center;
}
}

@media only screen and (min-width: 320px) and (max-width: 479px) {
.left-footer p,
.right-footer p{
	text-align:center;
}
}

@media only screen and (max-width: 319px) {
.left-footer p,
.right-footer p{
	text-align:center;
}
}




/* #Font-Face
================================================== */


@font-face {
    font-family: 'et-line';
    src: url('font/et-line.eot');
    src: url('font/et-line.eot?#iefix') format('embedded-opentype'),
         url('font/et-line.woff') format('woff'),
         url('font/et-line.ttf') format('truetype'),
         url('font/et-line.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}














