/*
Theme Name: Horizon
Theme URI: http://horizonsliving.com
Author: Volar
Author URI: http://volarla.com
Description: Horizon Assisted Living
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: horizon
Tags: 
*/

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
.no-space {
    padding: 0px!important;
    margin: 0px!important;
    overflow: hidden;
}
.no-gap {
    padding: 0px!important;
}
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}



/* Admin Bar Fixes */
.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
	.admin-bar .site-header.scrolled {
		top: 0;
	}
}



/* Tables CSS */
table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
}
table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #ddd;
}
table > caption + thead > tr:first-child > th,
table > colgroup + thead > tr:first-child > th,
table > thead:first-child > tr:first-child > th,
table > caption + thead > tr:first-child > td,
table > colgroup + thead > tr:first-child > td,
table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
table > tbody + tbody {
  border-top: 2px solid #ddd;
}

/* Custom Styles */
/*=====================================================================================================================*/
/* Footer */

#additional-footer a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase; 
}
#additional-footer ul li {
     position: relative;
    padding: 0 15px;
    list-style: none;
    display: inline-flex;
}
#additional-footer ul li:after {
    content: "";
    position: absolute;
    border-right: 1px solid;
    width: 1px;
    height:auto;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 0px;
}
#additional-footer ul li:last-child:after {
    border-right: none;
}
/*Footer Social */

.social {
    text-align: center;
    padding-top: 30px;
}
.social ul {
    position: relative;
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.social ul li {
    list-style: none;
    margin: 0 5px;
}

.social ul li img {
    width: 40px;
    display: block;
    margin: auto;
}
/* Instagram Feed */

.insta h3 {
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.insta h4 {
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    position: relative;
   }
.insta h4 a:before {
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    top: -8px;
    border-top: 5px solid;
}
.insta h4 a {
    position: relative;
}
#instagram {
 --backgroundColor: #fff;
 --hoverBackgroundColor: rgba(0,0,0,0.75);
 --contentBackgroundColor: transparent;
 --contentBorder: none;
 --outerPadding: 5px;
 --innerMargin: 3px;
 --transitionDuration: 0.25s;
 --contentAnimationDelay: 0s;
 --fadeAmount: 0;
 --scaleAmount: 1.2;
 --titleFont: 'Helvetica-Bold';
 --captionFont: 'Helvetica';
 --textColor: #fff;
 --calcedHeight: 100vw;
}

#instagram {
    user-select: none;
    padding: var(--outerPadding);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: stretch;
    -ms-flex-align: center;
    align-items: stretch;
    align-content: stretch;
    background: var(--backgroundColor);
}

#instagram:hover a {
    opacity: calc(1 - var(--fadeAmount));
}

#instagram a {
    user-select: none;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    line-height: 0;
    -webkit-transition: opacity var(--transitionDuration) ease-in-out;
    transition: opacity var(--transitionDuration) ease-in-out;
    margin: var(--innerMargin);
    align-items: stretch;
    align-content: stretch;
    -webkit-flex-basis: calc(100% / 7);
    -ms-flex-preferred-size: calc(100% / 7);
    flex-basis: calc(100% / 7);
    height: calc(var(--calcedHeight) / 7);
    overflow: hidden;
}

#instagram a:hover {
    opacity: 1;
}

#instagram a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all var(--transitionDuration) ease-in-out;
}

#instagram a:hover img {
  transform: scale(var(--scaleAmount));
}

#instagram a .instaInfo {
  overflow: hidden;
  background: var(--hoverBackgroundColor);
  position: relative;
  display: inline-block;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateY(-100%) scale(0);
  transition: all var(--transitionDuration) ease-in-out;
}

#instagram a:hover .instaInfo {
  opacity: 1;
  transform: translateY(-100%) scale(1);
  transition: all var(--transitionDuration) ease-in-out var(--contentAnimationDelay);
}

.instaInfo p {
  display: inline-block;
  vertical-align: middle;
  user-select: none;
  background: var(--contentBackgroundColor);
  margin: 5%;
  padding: 5%;
  border-radius: 5px;
  border: var(--contentBorder);
  position: relative;
  float: left;
  top: 45%;
  left: 45%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  text-align: center;
  color: var(--textColor);
  font-family: var(--captionFont);
  font-size: 12px;
  line-height: 12px;
  font-weight: 100;
}

.instaInfo .caption {
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 4;
   line-height: 14px;
   max-height: 56px;  
}

.instaInfo .likesComments {
  display: inline-block;
  vertical-align: middle;
  font-family: var(--titleFont);
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
  padding-top: 5px;
}

.instaInfo .likesComments i {
  display: inline-block;
  vertical-align: middle;
  font-size: 20px;
  margin-bottom: 4px;
}

.likesComments i.fa-comment {
  margin: 0 0 6px 28px;
}

.instaInfo .instaAction {
  font-family: var(--titleFont);
  font-weight: 400;
}

@media screen and (max-width: 1200px) {
    #instagram a {
      -webkit-flex-basis: calc(100% / 5);
      -ms-flex-preferred-size: calc(100% / 5);
      flex-basis: calc(100% / 5);
      height: calc(var(--calcedHeight) / 4);
    }
}

@media screen and (max-width: 860px) {
    #instagram a {
      -webkit-flex-basis: calc(100% / 4);
      -ms-flex-preferred-size: calc(100% / 4);
      flex-basis: calc(100% / 4);
      height: calc(var(--calcedHeight) / 3);
    }
}

@media screen and (max-width: 580px) {
    #instagram a {
      -webkit-flex-basis: calc(100% / 3);
      -ms-flex-preferred-size: calc(100% / 3);
      flex-basis: calc(100% / 3);
      height: calc(var(--calcedHeight) / 2);
    }
}
/* Button Styles Global */

.spot {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.svg-wrapper {
  margin-top: 0;
  position: relative;
  width: 150px;
  height: 40px;
  display: inline-block;
  border-radius: 3px;
  margin-left: 5px;
  margin-right: 5px
}
#shape {
  stroke-width: 2px;
  fill: transparent;
  stroke: #4682b4;
  stroke-dasharray: 85 400;
  stroke-dashoffset: -220;
  transition: 1s all ease;
}
#text {
  margin-top: -40px;
  text-align: center;
}

#text a {
  color: #4682b4;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
}
.svg-wrapper:hover #shape {
  stroke-dasharray: 50 0;
  stroke-width: 2px;
  stroke-dashoffset: 0;
  stroke: #4682b4;
}

/* About Page Styles */

.aniWrap {
    margin: 0px auto;
    display: block;
    width: 28px;
    position: absolute;
    bottom: 10%;
    left: 0;
    right: 0;
}

.mouse {
  width: 28px;
  height: 50px;
  border: 2px solid white;
  border-radius: 14px;
}

.scroller {
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: white;
    position: relative;
    top: 10px;
    left: 9px;
    -webkit-animation: scrolls 1.3s ease-out infinite;
}
@-webkit-keyframes scrolls {
    0%   {top: 18px; opacity: 1; height: 4px}
    95% {top: 5px; opacity: 0; height: 8px}
  	100% {top: 18px; opacity: 1; height: 4px}
}

.about-header {
    background: linear-gradient(#00000050,#00000050), url(/content/img/about-top.jpg) center no-repeat;
    background-attachment: scroll;
    background-size: cover;
    height: 780px;
    position: relative;
}

.top-section {
    position: relative;
    height: 780px;
}

.top-section h2 {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    top: 50%;
    color: #fff;
    font-weight: 200;
    letter-spacing: 0.05em;
}

.about-1, .about-2, .about-3, .about-4 {
    height: 600px;
}
.about-4 {
    background: url(/content/img/about-4.jpg) center no-repeat;
    background-size: cover;
}
.about-3 {
    background: url(/content/img/about-3.jpg) center no-repeat;
    background-size: cover;
}
.about-2 {
    background: url(/content/img/about-2.jpg) center no-repeat;
    background-size: cover;
}
.about-1 {
    background: url(/content/img/about-1.jpg) center no-repeat;
    background-size: cover;
}

.section-inner {
    padding: 90px;
}

.section-inner .main-btn {
    text-align: center;
    margin: 25px auto;
}

.about-section h3 {
    font-weight: 600;
    color: #000;
    font-size: 1.6em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 15px 0 20px;
}

@media (min-width: 769px) and (max-width: 1360px) {
.section-inner { padding: 0 40px; }
}

@media (max-width: 768px){
.section-inner {
    padding: 0 10px;
}
.about-1, .about-2, .about-3 {
    height: 280px;
}
.about-section h3 {
    font-size: 1.6em;
    margin: 0;
    padding: 25px 0;
    text-align: center;
}
.section-inner .main-btn {
    text-align: center;
    margin: 26px auto;
}
}
@media (max-width: 560px){
.about-header {
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(/content/img/about-top.jpg) center no-repeat;
    background-attachment: scroll;
    background-position: 10%;
    background-size: 240%;
    height: 500px;
    max-height: 100%;
    position: relative;
}
.top-section h2 {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    top: 25%;
    color: #fff;
    font-weight: 200;
    letter-spacing: 0.05em;
}
.aniWrap {
    margin: 0px auto;
    display: block;
    width: 28px;
    position: absolute;
    bottom: 40%;
    left: 0;
    right: 0;
}
}

/* Gallery */


.no-images {
    position: relative;
    height: auto;
}
.no-images .container {
    text-align: center;
    margin: 180px auto;
}

.no-images h2 {
    font-size: 1.3em;
    line-height: normal;
}


/* Contact us page Styles */

.cinfo {
    position: relative;
    background: #f7f7f7;
    height: 600px;
}

.cinfo img {
    width: 360px;
    display: block;
    margin: auto;
}

.binfo {
    text-align: center;
}

.binfo img {
    width: 35px;
    display: inline-block;
    padding: 2px;
    margin: 0 15px;
}

.binfo p {
    font-size: 1.6em;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 25px;
}

.binfo p:nth-child(2) {
    font-size: 2.2em;
    font-weight: 200;
    letter-spacing: 0.1em;
}

/* Contact Form */
.rate {
    display: flex;
    text-align: center;
}

.container.cf {
    padding: 60px 0;
}

.form-control {
    box-shadow: none!important;
    border: none!important;
    border-bottom: 2px solid #ccc!important;
    border-radius: 0!important;
}

#contact-form{
 position:relative;
  margin: auto;
  z-index: 10;
}
.spinner {
    display: none;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 999;
}
#contact-form .button_slide {
    padding: 18px 0;
    width: 100%;
    max-width: 303px;
}

#application .button_slide {
    width: 100%;
    max-width: 360px;
    height: 50px;
    font-size: 1.2em;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.form-group{
  display: block;
  position:relative;
}
.form-group {
  position: relative;
  margin-top: 20px;
}

.form-control{
  outline:none;
  border-width : 0px 0px 2px;
  border-style: solid;
  border-radius: 0px;
  box-shadow: none!important;
  z-index: 10;
}
.form-label{
  display: block;
  position: absolute;
  top: 6px;
  font-size: 1em;
  transform: translateY(0%);
  transition: transform 200ms ease-in, font-size 200ms ease-in;
}
.select-label{
  display: block;
  font-size: 0.75em;
  transform: translateY(0%);
  transition: transform 200ms ease-in, font-size 200ms ease-in;
}
.with-errors{
  color: #d33;
  font-weight: 200;
  font-size: 0.75em;
  font-style: italic;
  opacity: 1;
  transition: opacity 200ms ease-out;
}

.focused .form-label {
  font-size: 0.7em;
 transform: translateY(-150%);
  transition: transform 200ms ease-out, font-size 200ms ease-out;
}
/* Slogan */
.slogan {
    margin: 50px 0 25px;
    position: relative;
    text-align: center;
}
.slogan h2 {
    font-weight: 600;
    font-size: 2em;
    color: #17a4d1;
    margin: 10px 0;
    position: relative;
    display: inline-flex;
}
.slogan h2:after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: auto;
    border-bottom: 3px solid;
}
.slogan p {
    font-weight: 400;
    font-size: 1.2em;
    margin: 0;
}


.rate div:last-child:after {
    border: none;
}
.rate div:after {
    content: "";
    position: absolute;
    border-right: 2px solid #efefef;
    height: 100%;
    top: 0;
    right: 0;
}

.rate div {
    position: relative;
}
.rate div > span {
    display: block;
    text-align: center;
}
.rate img {
    width: 40px;
    margin: auto;
    display: block;
}
/* Service Page Template */
/* Page Navigation */

.paged-nav .page-nav {
    display: flex;
    margin: 60px auto;
    padding: 20px;
    border-bottom: 1px solid #eaeaea;
    border-top: 1px solid #eaeaea;
    font-weight: 400;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.page-nav .page-previous {
    text-align: center;
    width: 50%;
    border-right: 2px solid #eaeaea;
}

.page-nav .page-next {
    text-align: center;
    width: 50%;
}

/* Services Pages */
.ecc-bg {
    background: url(/content/img/horizon-living.jpg) center no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 680px;
}

.ecc-bg h2 {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: 45%;
    text-align: center;
    font-size: 3em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
}

.paged-title h3 {
    font-size: 2.6em;
    font-weight: 200;
    letter-spacing: 0.1em;
    margin: 35px auto;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.paged-title h3:after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: auto;
    border-bottom: 4px solid;
    width: 20%;
}
.ecc-service img {
    visibility: hidden;
}
.content-inner .entry-content {
    padding: 0 60px 0 15px;
}
.content-inner p {
    margin: 5px auto;
}

.serv {
    width: 90%;
    margin: auto;
    padding: 70px 0;
}
.img-outer {
    position: relative;
}
.img-left, .img-right {
    position: relative;
    width: 95%;
    margin: auto;
}
.img-left img, .img-right img {
    width: 100%;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.img-left:after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background: linear-gradient(45deg, red, black, red);
    bottom: -15px;
    right: -15px;
    z-index: -1;
}

.img-right:before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    background: linear-gradient(45deg, red, black, red);
    top: -15px;
    left: -15px;
    z-index: -1;
}

.link {
    position: relative;
    display: block;
    font-size: 1.4em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 15px 0 0 0;
}
.link a {
    position: relative;
}
.link a:after {
    content: "";
    position: absolute;
    width: 0;
    right: 0;
    border-bottom: 3px solid;
    bottom: 0;
    transition: all 0.35s ease-in;
}

.link a:hover:after {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
    border-bottom: 3px solid;
    bottom: 0;
    transition: all 0.35s ease-in;
}
.cont-inner {
    padding: 0 60px;
}
.cont-inner h2 {
    font-weight: 200;
    font-size: 1.8em;
    padding: 40px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


@media (max-width: 991px){
.paged-title h3 {font-size: 1.6em; letter-spacing: 0.05em;}
.ecc-bg { display: none;}
.content-inner .entry-content { padding: 0 20px;}
.paged-nav .page-nav {
    margin: 20px auto;
    padding: 20px 0;
    font-size: 0.8em;
    letter-spacing: 0;}
.cont-inner {padding: 0 10px;}
.serv {width: 96%;padding: 20px 0;}
.img-left, .img-right {width: 92%}
}

/* Main Page Styles */
/* Expandable Gallery */
.exp-outer {
    position: relative;
}

#exp-second {
  background:linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/content/img/home-gallery-1.jpg') 24% no-repeat;
}
#exp-third {
  background:linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/content/img/home-gallery-2.jpg') 78% no-repeat;
}
#exp-fourth {
  background:linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/content/img/home-gallery-3.jpg') 100% no-repeat;
}
#exp-main{
  background:linear-gradient(45deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/content/img/home-gallery-4.jpg') 70% no-repeat;
}
#exp-main, #exp-second, #exp-third, #exp-fourth{
  background-size: cover;
  position: relative;
}

#exp-fourth span {
    display: block;
    font-size: 0.5em;
    font-weight: 300;
    width: 70%;
    margin: auto;
    text-align: center;
}
#exp-main h2, #exp-second h2, #exp-third h2, #exp-fourth h2 {
    position: absolute;
    margin: auto;
    top: 50%;
    bottom: 50%;
    left: 0;
    right: 0;
    text-align: center;
    vertical-align: middle;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.8em;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .05em;
}
.exp-gallery {
  position: relative;
  min-height: 780px;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.exp-gallery li {
  display: inline-block;
  height: 100%;
  width: 25%;
  border-right: 1px solid white;
  cursor: pointer;
  position: absolute;
  top: 0;
  transition: .3s width .2s, left .2s, 100ms z-index .6s;
}
.exp-gallery li:nth-child(2) {
  left: 25%;
}
.exp-gallery li:nth-child(3) {
  left: 50%;
}
.exp-gallery li:nth-child(4) {
  left: 75%;
}
.exp-gallery li.active {
  width: 100%;
  z-index: 1;
  transition: .3s width .2s, left .2s;
  border-right: none;
  left: 0;
}
.exp-gallery div {
  width: 100%;
  height: 100%;
  transition: 1s width;
}
.exp-close {
    position: absolute;
    top: 37px;
    right: 17px;
    z-index: 3;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.5em;
    opacity: 0;
    transition: 0.6s opacity;
}
.show-x .exp-close {
  opacity: 1;
}
@media (min-width: 992px) and (max-width: 1360px){
.exp-gallery {min-height: 560px;}
#exp-main h2, #exp-second h2, #exp-third h2, #exp-fourth h2 {font-size: 1.3em;}
}
@media (max-width: 991px){
.serv-inner ul li {font-size: 1em}
.home-inner p {position: relative;top: 0;padding: 40px;}
.home-bg {height: 520px;}
.serv-inner {position: relative; height: auto;}
#exp-main h2, #exp-second h2, #exp-third h2, #exp-fourth h2 { font-size: 1.2em;letter-spacing: .1em;}
#exp-main, #exp-second, #exp-third, #exp-fourth {background-size: 215%;}
.exp-gallery {min-height: 380px; overflow: -webkit-paged-x;margin-top: 56px;}
.exp-gallery li {width: 85%!important;}
.exp-gallery li:nth-child(2) {left: 85%;}
.exp-gallery li:nth-child(3) {left: 170%;}
.exp-gallery li:nth-child(4) {left: 255%;}
}

/* Main Page Tabs */
.row.tabs {
    margin: 60px 0;
}
.tab {display: none}
.tab.active {display:block;}
.tab-img { width: 45px;}

.tab-content section {
    padding: 0 35px;
}
.tab-links {
    list-style: none;
    columns: 2;
    margin: 35px auto;
    padding: 0;
}
.tab-links li {
    display: grid;
    height: 100px;
    margin: 5px;
}
.tab-links li span {
    text-align: center;
    display: block;
}
.tab-links li img {
    display: block;
    margin: auto;
}

@media (max-width: 768px){
.tab-content section {
    padding: 0 10px;
}
.tab-links {
    columns: 1;
    margin: 35px auto;
    display: flex;
    overflow: -webkit-paged-x;
}
.tab-links li {
    display: inline-flex;
    height: 100px;
    margin: 5px;
    min-width: 135px;
	}
}



@media (max-width: 991px){
.box {display: flex;}
.box-inner {display: inline-flex; overflow: -webkit-paged-x;}
.hov-box {width:345px}
.box-inner .col-md-3 {width: 100%;max-width: 100%;}
.services {display: flex;}
.services-inner {display: flex; overflow: -webkit-paged-x;}
.services-inner .col-sm-3 { max-width: 100%;}
}



.faq-block {
  background-color: #fff;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  cursor:pointer;
  margin-bottom: 0.5em;
}

.faq-block:hover{
  -webkit-transition: all 200ms;
  -o-transition: all 200ms;
  -moz-transition: all 200ms;
  transition: all 200ms;
  background-color:#f9f9f9;
}

.faq-block ul {
	list-style-type: square;
}

.faq-plus {
    color: #468aca;
    float: left;
    font-weight: 200;
    font-size: 2em;
    text-align: center;
    -webkit-transition: all 200ms;
    -moz-transition: all 200ms;
    transition: all 200ms;
    width: 5%;
    display: block;
    line-height: normal;
}

.faq-expand {
  -webkit-transform: rotate(-45deg);
  -webkit-transform-origin: 50% 50%;
  -webkit-transition: all 200ms;
  -moz-transform: rotate(-45deg);
  -moz-transform-origin: 50% 50%;
  -moz-transition: all 200ms;
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
  transition: all 200ms;
}

.faq-question {
    font-weight: bold;
    position: relative;
    width: 90%;
    margin-top: 0.5em;
}

.faq-answer {
  clear: both;
  color: #777;
  display: none;
}

.faq-inner {
    width: 95%;
    margin: 5% auto;
}

/* Testimonials */

.testimon {
    background: linear-gradient(rgba(23, 162, 184, 0.4), rgba(23, 162, 184, 0.4)), url(/content/img/couple.jpg) center no-repeat;
    background-size: cover;
    height: 100%;
}


.testimon-inner {
    margin:90px auto;
}
.testimon-inner .item p {
    color: #fff;
}

.testimon-inner h3:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    border-bottom: 1px solid;
}
.testimon-inner h3 {
    text-align: center;
    letter-spacing: 0.05em;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    color: #fff;
}

.testimon-user:before {
    content: "\2014";
}
.testimon-user {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 300;
    line-height: 2em;
    color: #fff;
    position: relative;
    left: 3%;
}

span.quote:before {
    content: "\201D";
    position: absolute;
    top: 80px;
    right: 0;
    font-size: 10em;
    line-height: 0px;
    color: rgb(232, 232, 232);
    font-family: 'Montserrat', sans-serif;
    z-index: -5;
}
span.quote {
    position: relative;
}


/* Front Post Carousel */

figure.f-post {
  color: #fff;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
  min-width: 220px;
  max-width: 360px;
  max-height: 220px;
  width: 100%;
  color: #000;
  text-align: center;
}
figure.f-post * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.f-post img {
  opacity: 1;
  width: 100%;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}
figure.f-post:after {
  background: #ffffff;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  opacity: 0.75;
  -webkit-transform: skew(-45deg) scaleX(0);
  transform: skew(-45deg) scaleX(0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
figure.f-post figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}
figure.f-post h2,
figure.f-post p {
  margin: 0;
  width: 100%;
  opacity: 0;
}
figure.f-post h2 {
  font-size: 1.2em;
  font-weight: 400;
  padding: 0 30px;
  display: inline-block;
  text-transform: uppercase;
}
figure.f-post p {
  padding: 0 50px;
  font-size: 0.8em;
  font-weight: 500;
}
figure.f-post a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.f-post:hover:after,
figure.f-post.hover:after {
  -webkit-transform: skew(-45deg) scaleX(1);
  transform: skew(-45deg) scaleX(1);
  transition: all 400ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
figure.f-post:hover figcaption h2,
figure.f-post.hover figcaption h2,
figure.f-post:hover figcaption p,
figure.f-post.hover figcaption p {
  -webkit-transform: translate3d(0%, 0%, 0);
  transform: translate3d(0%, 0%, 0);
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.f-post:hover figcaption h2,
figure.f-post.hover figcaption h2 {
  opacity: 1;
}
figure.f-post:hover figcaption p,
figure.f-post.hover figcaption p {
  opacity: 0.7;
}

#post {
    margin: 0 auto 50px;
}
.post h3 {
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    margin: 60px auto;
}

.post h3:after {
    content: "";
    width: 100%;
    border-bottom: 1px solid #eaeaea;
    position: absolute;
    left: 0;
    bottom: -10px;
}
/* Main Page Services*/
.service-outer {
    margin-top: 45px;
}
.serv-inner img {
    max-width: 60px;
    height: auto;
    width: 100%;
}

.serv-inner h2 {
    position: relative;
    font-size: 1.4em;
    font-weight: 400;
    margin-top: 30px;
}
.serv-inner h2:before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    width: 100%;
    border-width: 5px 0 5px 80px;
    border-style: solid;
    -webkit-border-image: -webkit-gradient(linear, 100% 0, 0 0, from(#46a4db), to(rgba(0, 0, 0, 0))) 1 100%;
    -webkit-border-image: -webkit-linear-gradient(right, #46a4db, rgba(0, 0, 0, 0)) 1 100%;
    -moz-border-image: -moz-linear-gradient(right, #46a4db, rgba(0, 0, 0, 0)) 1 100%;
    -o-border-image: -o-linear-gradient(right, #46a4db, rgba(0, 0, 0, 0)) 1 100%;
    border-image: linear-gradient(to right, #46a4db, rgba(0, 0, 0, 0)) 1 100%;
}

/* Main Page Gallery */

.gallery-outer #gallery {
    margin: 90px auto;
}
.gallery-outer {
    background: linear-gradient(rgba(240, 240, 240, 0.5), rgba(240, 240, 240, 0.5)),url(/content/img/couple.jpg) center no-repeat;
    background-size: cover;
    height: 100%;
}