/*
Theme Name: Apex/Capex 
Theme URI: hhttp://apexsiterentals.com/
Description:  Apex/Capex custom WordPress theme built using Twitter Boostrap 3.3.4
Author: bWEST Interactive
Author URI: http://bwest.ca
Version: 2.2
*/


/* ===================================================
  Start things off with the body formatting,
  typography and a few miscellaneous bits
====================================================== */

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color:#494949;
  background-color: #fafafa;
}

/* colors */

.primary-bg {background-color:#005d90;}
.primary-text, .primary-text a {color:#005d90;}
.primary-border {border-color:#005d90}
/*.button-cta {background-color:#dfd600; color:#fff; border-color: transparent;}*/
/*.button-cta:hover {background-color:#c4be00; color:#fff;}*/
.button-cta {background-color:#669933; color:#fff; border-color: transparent;}
.button-cta:hover {background-color:#55802a; color:#fff;} 
.accent-bg {background-color:#669933;}
.accent-border { border-color:#669933 !important; }
.accent-text {color:#669933;}
.accent-button {background-color:#669933; border-color:#669933; color:#fff;}
.accent-button:hover {background-color:#55802a; border-color:#55802a; color:#fff;}

/* used to clear rows of varying heights */
@media (min-width:1200px){
    .auto-clear .col-lg-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-lg-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-lg-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-lg-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-lg-6:nth-child(odd){clear:left;}
}
@media (min-width:992px) and (max-width:1199px){
    .auto-clear .col-md-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-md-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-md-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-md-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-md-6:nth-child(odd){clear:left;}
}
@media (min-width:768px) and (max-width:991px){
    .auto-clear .col-sm-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-sm-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-sm-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-sm-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-sm-6:nth-child(odd){clear:left;}
}
@media (max-width:767px){
    .auto-clear .col-xs-1:nth-child(12n+1){clear:left;}
    .auto-clear .col-xs-2:nth-child(6n+1){clear:left;}
    .auto-clear .col-xs-3:nth-child(4n+1){clear:left;}
    .auto-clear .col-xs-4:nth-child(3n+1){clear:left;}
    .auto-clear .col-xs-6:nth-child(odd){clear:left;}
}

.fadeinleft {
  opacity:0;
  margin-left:-300px; 
  max-width:100%;
}

.fadeinbottom {
  opacity:0;
  margin-top:-300px; 
  max-width:100%;
}

img {max-width: 100%; height:auto;} /* sets all images to be responsive instead of using the .img-responsive class */


h1,h2,h3,h4,h5 {
  letter-spacing: -1px;
}


.overlay-container {
  position: relative;
  overflow: hidden;
}

.overlay {
  position: absolute;
  border-left: 0 solid transparent;
  /*border-bottom-width: 73vh;*/
  border-bottom-width: 87vh;
  border-bottom-style: solid;
  border-right: 70vw solid transparent;
}



.overlay.flipped {
    border-top-width: 100vh;
    border-top-style: solid;
    border-bottom-color: transparent;
}

.overlay.top {
  top: 0;
}

#plan .overlay {
    border-right: 57vw solid transparent;
}

.overlay-fill {
  height: 100%;
  position: absolute;
  top: 0;
}

.opacity {
  opacity: 0.7;
}

#why-apex .overlay-fill {
  /*width: 625px;*/
  width: 100%;
}

.btn {
  text-transform: uppercase;
  
}

.btn-large {
   padding: 18px 24px; 
   font-size: 24px;
}

.btn-container a {
  width: 100%;
  word-break: break-word;
  white-space: normal;
}

.shadow {
  box-shadow: 0px 7px 10px #f3f3f3;
}

.home section, footer {
  padding: 100px 0;
}


/* ===================================================
 Header
====================================================== */
header .navbar {
  margin-bottom: 0;
}

.navbar-brand {
  height: auto;
}

.navbar-brand>img {
  max-height: 50px;
}

#logo h1 {
    margin:0;
}






/* ===================================================
 Navigation
====================================================== */

.navbar-toggle {
  margin-top: 20px;
}

.navbar-toggle .icon-bar {
  background-color: #999;
}

.lang-toggle {
  padding-left: 0;
  text-align: center;
  float: none;
}

.lang-toggle li{
  display: inline-block;
  float: none;
}

.lang-toggle a {
  display: block;
  float: left;
  margin: 0 4px;
  opacity: 0.3;
}

.lang-toggle li.active a,
.lang-toggle a:hover,
.toggle-loc a,
.lang-toggle li a.active 
/*.geoip-country-CA #ca,*/
/*.geoip-country-US #us  */{
  opacity: 1; 
}

.toggle-loc a i{
  background-color:#ededed;
  width:24px;
  height: 24px;
  border-radius:12px;
  text-align: center;
  line-height: 1.7;
}


/* ===================================================
 Feature
====================================================== */

#feature {
  background-image: url('assets/img/bg-home-banner.jpg');
  background-size: cover;
  color:#fff;
  height: 320px;
  background-position: center center;
}

.home #feature {
  height: 620px;
}

#feature .overlay {
  bottom: 0;
}

#feature hgroup {
  /*margin-top: 16%;*/
  margin-top: 27%;
}


.home #feature h1 { /* temp for SEO purposes. Once ranking, remove current h1 and revert current h2 back to h1 */
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  margin-bottom: 0;
  padding-bottom: 0;
  position: relative;
  top: 15px;
}

.home #feature h2 {
  font-weight: 700;
  font-size: 48px;
  text-shadow: 3px 4px 1px #1f3967;
}

#feature h1 {
  font-weight: 700;
  font-size: 30px;
  padding-bottom: 20px;
}

#feature h2 {
  font-weight: 500;
  font-size: 20px;
}

.title-container {
  position: relative;
  z-index: 2;
  
}

.bg-cover {
  background-color: #000;
  opacity: 0.6;
  position: absolute;
  width: 100%;
  height: 100%;
}

.title-container h1 {
  border-bottom: 1px solid #fff;
  opacity: 1;
}


.page-template-template-optin #feature {
  background-image:none;
}

#breadcrumbs {
  position: relative;
}

#breadcrumbs .overlay {
  border-top-color: #f5f5f5;
}

#breadcrumbs p {
  font-size: 12px;
  margin: 0;
  padding: 18px 0;
}

/* ===================================================
 Content
====================================================== */
.entry h1, .entry h2, .entry h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

#breadcrumbs,
#main {
  background-color: #fafafa;
}

#main {
  overflow: hidden;
}

#content article {
  margin-top: 65px;
  margin-bottom: 40px;
}

#content section {
  margin: 20px 0;
}

.content-feature-image {
  margin-bottom: 15px;
}

.entry-title {
  margin-bottom: 18px;
}

.panel,
.panel-heading,
#content .sub-nav .list-group-item {
  background-color: #fff !important;
}

.panel-heading,
.panel-body {
  border-top: none !important;
}

.panel-default,
#content .sub-nav .list-group-item,
.blog .thumbnail,
.resources .resource  {
  border:none;
  border-top: 2px solid;
  border-radius: 0 !important;
}

.panel-heading {
  border-radius: 0;
  padding: 18px 30px;
}

.panel-title {
  font-weight: bold;
  font-size: 18px;
  color: #494949;
}

.panel-title i {
  float: right;
}

.products .carousel img {
  width: 100%;
}

.product {
  /*margin-top: 25px;*/
}

.product .list-group-item {
    background-color: transparent;
    border: 1px solid #f5f5f5;
    border-radius: 0;
    border-color: #f5f5f5;
    display: list-item;
    list-style-position: inside;
    /*list-style-type: none;*/
    padding: 5px 15px; 
    margin-left: 1em;
    text-indent: -1.4em;  
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}



/*.product .list-group-item:before{
  padding-right:5px;
  content: '\f111';
  font-family: FontAwesome;
}*/



.product .list-group {
    border-top: 4px solid;
    background: #f5f5f5;
    padding: 30px 5px;
    /*overflow: hidden;*/
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
}


.product-gallery-container {
  margin-bottom: 30px;
}

.product-descrption {
  margin-bottom: 20px;
}

.project > .container,
.project > .container-fluid,
.project > section {
  margin-top:20px;
  margin-bottom:20px;
}

.project-content-container {
  padding-top:12px;
}

.project .content-container,
.project h2 {
  padding:18px 30px;
  margin: 0;
}


.resources .resource {
  margin-bottom: 30px;
  overflow: hidden;
  background: #fff;
  padding: 10px 0;
}

.resource img {
  margin-top: 15px;
}

.resource .entry,
.resource .entry + p a,
#faqs .panel-body {
  font-size: 14px;
}




/* ===================================================
 Sidebar
====================================================== */
#sidebar section {
  margin: 60px 0;
}
#sidebar .sub-nav {
  font-size: 13px;
}

#sidebar .sub-nav li:first-child {
  font-size: 22px;
  font-weight: 700;
}

#sidebar .list-group-item {
  background-color: transparent;
  border-right:0;
  border-top: 0;
  border-left: 0;
  border-radius: 0;
}

#sidebar .list-group-item a {
  color: #494949;
}

#sidebar .list-group-item.current_page_item a {
  font-weight: 700; 
}

#sidebar .list-group-item.current_page_item a:after {
  content: "\f054";
  float: right;
  font-family: FontAwesome;

}

#sidebar .well {
  background-color: #fff;
  border: none;
  border-radius: 0;
}

#sidebar .well h3 {
  margin-bottom: 20px;
  text-transform: capitalize;
}

#sidebar .well .btn {
  width: 100%;
  margin-top: 20px;
}

#sidebar .phone {
  white-space: nowrap;
}


#sidebar .btn-single {
  margin-bottom: 20px;
}

/* ===================================================
 Footer
====================================================== */
footer {
  position: relative;
  margin-top: 60px;
}
footer,
footer a {
  color: #fff;
  text-align: center;
}

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

footer h4 {
  font-weight: 900;
  letter-spacing: 0;
}

footer li {
  list-style-type: none;
}

.footer-menu ul,
.colophon ul {
  padding-left: 0;
}

.colophon {
  font-size: 12px;
}

.colophon li {
  display: inline;
  border-left: 1px solid;
}

.colophon li a {
  padding: 0 10px;
}

.colophon li:first-child {
  border:none;
}



/* ===================================================
 Page Specific
====================================================== */

/* home */

#why-apex {
  /*background-image: url('assets/img/bg-why-apex.jpg');*/
  background-size: cover;
  background-position: center center;
}

#why-apex .overlay {

}

#why-apex h3 {
  color:#fff;
}

/*#why-apex h3.line1 {
  font-size: 22px;
}

#why-apex h3.line2 {
  font-size: 28px;
}

#why-apex h3.line3 {
  font-size: 32px;
}*/


#depend h2 {
  /*font-size: 48px;*/
  font-size: 44px;
  font-weight: 700;
}

#depend .list-group {
  font-weight: 200;
  /*font-size:24px;*/
  font-size: 20px;
  text-transform: uppercase;

}

#depend .list-group-item {
  border:none;
  background-color: transparent;
}

#depend .list-group i {
  margin-right: 22px;
}

#plan {
  color: #fff;
}

#plan h2 {
  color:#fff;
  /*font-size: 48px;*/
  font-size: 42px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 30px;
}

#plan p {
  font-weight: 200;
  font-size: 20px;
}


#plan .btn {
  margin-top: 30px;
}

#info {
  padding-bottom: 0;
}
.info {
  background-color: #fff;
  padding: 40px;
  position: relative;
  margin-bottom: 30px;
}

.info hr {
  border-width: 8px;
}

#info h4 {
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info h4 {
  margin-top: 40px;
  margin-bottom: 30px;
}

.info p {
  font-weight: 200;
  font-size: 14px;
  line-height: 1.7;

}

.info .btn-container {
  max-width: 390px;
  width: 100%;
  margin-top: 30px;
}

#logos {
  margin-top: 60px;
}

#logos h4 {
  color:#a8a8a8;
  border-bottom: 1px solid #a8a8a8;
  padding-bottom: 14px;
  margin-bottom: 40px;
}

.logo-list {
  padding: 0;
  text-align: center;
}

.logo-list li {
  list-style-type: none;
  display: inline-block;
  float: none;
}

/*.logo-list li:nth-child(4):after { content:"\A"; white-space:pre; }*/

.logo-container {
  height: 100px;
  margin-bottom: 25px;
}

.logo-container samp {
  height: 100%;
  padding: 10px;
  display: block;
  background-color: #fff;
}

.logo-container samp span {
  height: 100%;
  display: block;
  background: no-repeat center;
  background-size: contain;
}

.logo-blocks {
  text-align: center;
  padding: 15px 0;
  border-top:1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-top: 25px;
}

.logo-blocks li {
  display: inline-block;
  margin: 0 15px;
}


/* ===================================================
 Default Wordpress
====================================================== */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

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



/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

    /* ===================================================
     Header:768
    ====================================================== */
.overlay {

}


header {
  padding-top: 20px;
}

header .navbar {
  margin-bottom: 20px;
}

.navbar-brand>img {
  max-height: 50px;
}

.navbar-header,
.navbar-brand {
  float: none;
  display: block;
}

.navbar-brand img {
      text-align: center;
    display: block;
    margin: auto;
}


    /* ===================================================
     Navigation:768
    ====================================================== */

.main-nav {
  padding-left: 0;
  text-align: center;
  float: none;
}

.main-nav > li{
  display: inline-block;
  float: none;
}

#nav-container {
  margin-top: 7px;
}

.navbar-nav>li>a {
  font-size: 14px;
  padding: 10px 13px;
}

header .navbar-nav.nav>li>a:hover {
  background-color: transparent;
  text-decoration: underline;
}

.navbar-nav.lang-toggle>li>a {
  padding: 9px 0;
}





    /* ===================================================
     Feature:768
    ====================================================== */




    /* ===================================================
     Content:768
    ====================================================== */




    /* ===================================================
     Sidebar:768
    ====================================================== */




    /* ===================================================
     Footer:768
    ====================================================== */



.colophon {
  text-align: left;
}

.colophon.row > div:last-child {
  text-align: right;
}



    /* ===================================================
     Page Specific:768
    ====================================================== */
#why-apex .overlay-fill {
    width: 70vw
  }

#why-apex .overlay {
    left: 70vw;
}

#depend h2 {
    font-size: 38px;
}

#plan h2 {
    font-size: 60px;
}

#plan p {
  font-size: 18px;
}

.info .btn-container {
    /*max-width: 640px;*/

}



}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    /* ===================================================
     Header:992
    ====================================================== */

.overlay {
    border-right: 60vw solid transparent;
}

#why-apex .overlay-fill {
    width: 60vw;
}

#why-apex .overlay {
    left: 60vw;
}

    /* ===================================================
     Navigation:992
    ====================================================== */

.lang-toggle {
  padding-left: 0;
  text-align: center;
  float: left;
      margin-top: 8px;
}

.lang-toggle li{
  display: inline;
  float: left;
}

.navbar-nav>li>a {
    font-size: 16px;
}

#nav-container {
    margin-top: 11px;
}


    /* ===================================================
     Feature:992
    ====================================================== */

#feature hgroup {
    margin-top: 16%;
}



    /* ===================================================
     Content:992
    ====================================================== */




    /* ===================================================
     Sidebar:992
    ====================================================== */




    /* ===================================================
     Footer:992
    ====================================================== */

footer {
  text-align: left;
}

footer h4 {
  min-height: 38px;
}

footer li {
  list-style-type: disc;
}


    /* ===================================================
     Page Specific:992
    ====================================================== */
/* home */

#plan {
  background-color: #fff;
  color:#494949;
}

#plan p {
    margin-top: 36px;
}

#plan .btn {
  margin-top: 0;
}

.info .btn-container {
  /*max-width: 213px;*/
  /*position: absolute;*/
  bottom: 40px;
}


.info .btn-container a {
  height: 60px;
  display: flex;
  align-items:center;/*Vertical align*/
  justify-content:center;/*horizontal align*/
}


}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

    /* ===================================================
     Header:1200
    ====================================================== */


.overlay {
    border-right: 45vw solid transparent;
}

#why-apex .overlay-fill {
    width: 45vw;
}

#why-apex .overlay {
    left: 45vw;
}


    /* ===================================================
     Navigation:1200
    ====================================================== */
.nav>li>a {
    padding: 10px 15px;
}

#nav-container {
    margin-top: 18px;
}


    /* ===================================================
     Feature:1200
    ====================================================== */



    /* ===================================================
     Content:1200
    ====================================================== */




    /* ===================================================
     Sidebar:1200
    ====================================================== */




    /* ===================================================
     Footer:1200
    ====================================================== */




    /* ===================================================
     Page Specific:1200
    ====================================================== */
/* home */

.info .btn-container {
    max-width: 280px;
    bottom: 10px;
}

.info h4 {
  /*font-size: 16px;*/
}

.info p:first-child {
  padding-bottom: 20px;
}


}