/*



 Theme Name:   Allwood Place

 Theme URI:    http://www.onni.com/allwoodplace

 Description:  Allwood Place by Onni Group 2016

 Author:       Cynthia Tay

 Author URI:   http://www.rabbitwebconsulting.com

 Template:     twentysixteen

 Version:      10.0

 Tags:         allwood place, abbotsford, onni group, responsive

 Text Domain:  allwood



*/









@import url("vendor.css");

@import url("main.css");











/* =Theme customization starts here



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



.home #banner .box-text p.intro {text-transform: none; border-bottom: 2px solid #ffffff; font-size: 45px;}

.home #banner .box-text p.intro span {font-family: dolly; font-size: 40px;}











@media (min-width: 600px) {

	.home #banner .box-text p br {display: none;}

}

@media (min-width: 768px) {
	.home #banner .box-text p {font-size: 40px;padding-bottom: 20px;}
	.home #banner .box-text p.intro {font-size: 55px; border-bottom: none;}

     .home #banner .box-text p.intro span {font-size: 38px; border-bottom: 2px solid #ffffff; display: block;}

	.home #banner .box-text p br {display: block;}

	.home #banner .box-text {padding-top: 2% !important;}

}

@media (min-width: 992px) {

	.home #banner .box-text p.intro {font-size: 60px; }

     .home #banner .box-text p.intro span {font-size: 55px;display: block; padding-bottom: 30px; margin-bottom: 20px; }

	.home #banner .box-text .btn {margin-top: 35px;}

	.home #banner .box-text {padding-top: 50px !important;}

}



#header #utilities .btn {

	background: #E67E3C;

}



#primary-nav {

    background-color: #E67E3C;

}



#register form input[type=submit] {

	background-color: #E67E3C;

}



.home #banner-developer a.btn {

	background: #E67E3C;

}



#footer {

    background-color: #E67E3C;

}



.page-id-7 #main .col-sm-12 .title {

    background: #E67E3C;

}



.page-id-7 #main .location-list.shops {

    border-left: 10px solid #E67E3C;

}



#primary-nav li a:hover{

    background-color: #ec9660 ;

}



.page-template-floorplans-php #floorplanswrap #tabcordion-content .col-sm-4 p a {

    background-color: #E67E3C !important;

}



.orange-box {

    background-color: #E67E3C !important;

}



#header #utilities .btn:active, #header #utilities .btn:hover {

    background-color: #ec9660;

}
.page-template-gallery .ngg-gallery-thumbnail {
border: none;
}

.page-template-gallery .ngg-gallery-thumbnail a {
margin: 0px;
}

.page-template-gallery .ngg-gallery-thumbnail img {
width: 100%;
height: auto;
}

.page-template-gallery .ngg-gallery-thumbnail-box {
width: 100% !Important;
}

@media (min-width: 480px) {
.page-template-gallery .ngg-gallery-thumbnail-box {
width: 50% !Important;
}
}

@media (min-width: 768px) {
.page-template-gallery .ngg-gallery-thumbnail-box {
width: 33.33% !Important;
}
}

@media (min-width: 992px) {
.page-template-gallery .ngg-gallery-thumbnail-box {
width: 25% !Important;
}
}


.social-icons {
        position: relative;
    }
	.social-icons ul {padding: 0px;}
	.social-icons ul li {
	list-style-type: none;
	float: left;
	margin: 0px 10px;
	position: relative;
	}

	.social-icons ul li a {
	color: #ffffff;
	}

	.social-icons ul li a:hover {
	text-decoration: none; opacity: 0.8;
	}

	.social-icons ul li a .genericon,
	.social-icons ul li a .fa {
		font-size: 20px;
		color: #ffffff;
	}

    .qr-code {
        transition: opacity .3s;
        opacity: 0;
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        padding: 20px;
        background-color: #fff;
        width: 162px;
        height: 162px;
        box-shadow: 0 0 5px rgba(0,0,0,.2);
        pointer-events: none;

    }


    .qr-code img {
            max-width: 100%;
            height: auto;
        }

    .qr-code:after {
        content: '▼';
	color: #fff;
    text-shadow: 0 4px 3px rgba(0,0,0, .1);
    position: relative;
    top: 12px;
    display: block;
    transform: scaleX(2);
    margin-left: 25px;
    left: 50%;
    }
    .qr-code.active {
        opacity: 1;
        pointer-events: auto;
    }

.j-carousel {
	position: relative;
}

.j-carousel__panel:first-child {
	display: block;
}

.j-carousel__panel {
	display: none;
}

.j-carousel__btn {
	transition: opacity 0.3s;
	position: absolute;
	top: 50%;
	margin-top: -13px;
	padding: 0 20px;
	background: transparent;
	border: 0;
	outline: 0;
	opacity: 0.5;
}

.j-carousel__btn:hover {
	opacity: 1;
}

.j-carousel__btn--prev {
	left: 0;
}

.j-carousel__btn--next {
	right: 0;
}

.row.videos {
    padding:0px 15px;
  }

  .videos .col-sm-4 {
    padding: 0px 5px;
  }
  .videos .col-sm-4 img {
    max-width:100%;
    height:auto;
  }
  .videos .col-sm-4 img.vidtn {width:100%;}
@media(max-width:992px) {
    .videos .col-sm-4 {
      margin-bottom: 10px;
    }
  }
  .videos .col-sm-4 a {
    display:block;
    position:relative;
  }

  .videos .col-sm-4 .overlay {
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
  }
.videos .caption {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    text-align: center;
    color: #fff;
    padding: 10px 0px;
}
  .lightbox {
  display: none;
  position: fixed;
  z-index: 9000;
  width: 100vw;
  height: 100vh;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.85);
}
.lightbox a {
  color: #ffffff;
  text-decoration: none;
}

.lightbox:target {
  display: block;
}
.lightbox .video {
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 80%;
  margin-right:auto;
  margin-left:auto;
  z-index: 6;
}
.lightbox .video .iframe {
  position:relative;
  width:100%;
  overflow:hidden;
}
.lightbox .video .iframe:after{
  padding-top: 56.25%;
  display: block;
  content: '';
}
.lightbox .video .iframe iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.lightbox .next,
.lightbox .prev,
.lightbox .close {
  display: block;
  position: fixed;
}
.lightbox .close {
  width: 5000px;
  height: 5000px;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 5;
  cursor: default;
}
.lightbox .next,
.lightbox .prev {
  width: 100px;
  height: 25px;
  top: 50%;
  z-index: 10;
  opacity: 1;
  font-size: 50px;
  line-height: 50px;
  text-shadow: 0px 0px 15px #000000;
}
.lightbox .prev {
  left: -5%;
  text-align: left;
}
.lightbox .prev::after {
  content: '\2039';
}
.lightbox .next {
  right: -5%;
  text-align: right;
}
.lightbox .next::before {
  content: '\203A';
}
.lightbox .x {
  top: 30px;
  right: 50px;
  z-index: 9001;
  cursor: pointer;
  color: #fff;
  opacity: 1;
  font-weight: 400;
  position: absolute;
}
.ngg-galleryoverview {
  margin-top:5px !important;
}


.live-chat,
.live-chat2 * {
  box-sizing: border-box;
}

.live-chat2 {
  position: fixed;
  top: 20vh;
  right: 0;
  z-index: 10;
  box-shadow: 0 0 10px black;
}

.live-chat__tab {
  transition: background-color 0.3s;
  background-color: #E67E3C;
  width: 245px;
  border: 0;
  color: white;
  position: absolute;
  right: 100%;
  bottom: 100%;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  -webkit-transform-origin: bottom right;
  -ms-transform-origin: bottom right;
  transform-origin: bottom right;
  white-space: nowrap;
  box-shadow: 0 0 10px black;
  cursor: pointer;
}

.live-chat__tab:hover {
  color: #ffffff !important;
}

.live-chat__tab__inner {
  padding: 10px 10px 5px 10px;
}

.live-chat__tab__icon {
  width: 25px;
  float: left;
}

.live-chat__tab__icon svg {
    fill: white !important;
}

.live-chat__tab__text {
  float: left;
  font-size: 13px !important;
  font-weight: bold;
  text-transform: uppercase;
  padding: 2px 5px 10px 20px;
  text-align: right;
}

.live-chat__content {
  transition: width 0.3s;
  height: 155px;
  width: 200px;
  overflow: hidden;
  background-color: #0C0D11;
  color: white;
}

.live-chat__content.is-hidden {
  width: 0;
}

.live-chat__inner {
  width: 200px;
  height: 100%;
  padding: 25px 20px;
  font-weight: 500;
  font-size: 14px !important;
  overflow: hidden;
}

.live-chat__inner p:not(:last-child) {
  margin-bottom: 10px;
}

.live-chat__inner strong {
  font-weight: bold;
  font-size: 16px !important;
}

.live-chat__inner a[href^="tel:"] {
  text-decoration: none !important;
  pointer-events: none;
}

.ratio {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.ratio__block,.ratio iframe,.ratio svg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}

.ratio--live {
  padding-bottom: 96.2963%;
}

.dis-t {
  display: table;
}

.dis-tc {
  display: table-cell;
}

.align-m {
  vertical-align: middle;
}

.align-b {
  vertical-align: bottom;
}

.align-c {
  text-align: center;
}

.align-l {
  text-align: left;
}

.align-r {
  text-align: right;
}

.height-100 {
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .live-chat2 {
    top: 30vh;
  }
}


@media (min-width: 1200px) {
.home #main h1 {
  font-size: 50px;
}}

@media (min-width: 768px) {
.home #main h1 {
text-align: center;
}}

a {
    color: #E67E3C;
    transition: all 0.3s;
    }

    a:hover {
    color: #E67E3C;
    text-decoration: underline;
    }



.hero-banner {
	background-size: cover;
	background-position: center;
        width: 100%;
	margin: 0 0 0 0;
	height: 375px;
    position: relative;
    overflow: hidden;
min-height: 375px;
}

.oblique-title {
	background-color: rgb(230, 126, 60, 0.8);
	color: #fff;
	font-family: "Crimson Text",serif;
	font-size: 50px;
	font-weight: bold;
	line-height: 1.4em;
	left: 50%;
	margin: 0;
	padding: 30px 10%;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	top: 50%;
	transform: translate(-50%, -50%) rotate(18.4deg);
	width: 150%;
 	letter-spacing: 2px;
}

@media (max-width: 768px) {
	.oblique-title {font-size: 40px; line-height: 1em;}
}
