/*
Theme Name: Emberson
Author:  George McCann
Author URI: https://everlong.digital;
Version: 1.0
Text Domain: Emberson
*/



body {
    background-color: #0b4551;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 14px;
}

nav {
  margin-top: 60px;
  margin-bottom: 30px;
}

.image-35 {
  width:35px;
}
.force-square {
  padding-bottom: 100%;
}

body.light{
    background-color: #fff;
    color: #0b4551;
}

body.light .top-menu .nav-link, .navbar-dark .navbar-nav .nav-link {
    color: #0b4551 !important;
}

.font-blue{
    color: #0b4551 !important; 
}

.font-orange{
    color: #ff4238 !important; 
}

.font-white{
    color: #fff !important; 
}

 
.font-sans{
    font-family: 'DM Sans', sans-serif !important;
}

.font-serif{
    font-family: 'DM Serif Display', serif !important;
}

p{ 
    font-family: 'DM Sans', sans-serif;
}

.nav-item img{
    margin-bottom: -12px;
    margin-left: -30px;
}

.header {
    width: 100%;
}

.header a{
    font-size: 12px;
    color: #fff;
}

.logo img{
    max-width: 200px
}
.logoTop{
    margin-left: 5rem;
}
 
.navbar-brand img {
  max-width:220px;
}

.top-menu > li,
.navbar-nav > li{
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; 
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.list-inline-item:last-child {
  padding-right:0;
}

.top-menu .nav-link,
.navbar-dark .navbar-nav .nav-link {
  color:white;
}
a.nav-link span {
  margin-left: 5px;
}
a.nav-link:before,
.navbar-nav > li::before{
    content: "\2022";
    color: red;
    font-weight: bold;
    display: inline-block;
    width: 1px;
    margin-left: -15px;
    position: absolute;
    height: 100%;
    line-height: 20px;
    font-size: 25px;

}

.navbar-nav > li:last-child:before {
    content: "";
}

 

#home-tiles a, #home-tiles a:hover, #home-tiles a:visited, #home-tiles a:active {
  color: inherit;
  text-decoration: none;
}


.tile-text{
    position: absolute;
    height: 100%;
    width: 100%;
    
}

.tile-text:hover {
  background: #00000057;
}

.background-orange{
    background-color: #ff4238;
}
.background-red{
    background-color: #8c0000;
}
.background-blue{
    background-color: #0b4551;
}
.title-orange{
    color: #ff4238;
}
.title-red{
    color: #8c0000;
}
.title-blue{
    color: #0b4551;
}
.title-white{
    color: #fff;
}
.background-biege{
    background-color: #f8f0e4;
    color: #0b4551;
}

.corner-orange, .corner-red {
    position: relative; 
}
.corner-orange:after{
    content: '';
    border-style: solid;
    border-width: 20px 20px 0px 0;
    border-color: transparent #ff4238 transparent transparent;
    right: 0;
    bottom: 0;
    position: absolute;
}
 
.corner-red:after{
    content: '';
    border-style: solid;
    border-width: 20px 20px 0px 0;
    border-color: transparent #8c0000 transparent transparent;
    right: 0;
    bottom: 0;
    position: absolute; 
}

.integ-text{
    z-index: 10;
    position: absolute;
    font-size: 40px;
}

.integ-text-video{
    z-index: 10;
    position: absolute;
    font-size: 100px;
}

.integ-text-top{
    top: 25%;
    left: 25%;
}
.integ-text-bottom{
    top: 40%;
    left: 25%;
}

.integ-text-top-video{
    top: 1.5em;
    left: 20%;
}
.integ-text-bottom-video{
    top: 2.5em;
    left: 25%;
}

.integ-amp{
 position: absolute;
 font-size: 200px;
 left: 25%;
 top: 0%;
 z-index: 0;
}

.integ-amp-video{
    position: absolute;
    font-size: 600px;
    left: 25%;
    top: -0.3em;
    z-index: 0;
   }

.slick-active {
	position: relative;
}
 
.slick-content {
    position: absolute;
    bottom: 80px;
    margin: 0px 20px;
    width: 100%;
}


.slider {
  max-width: 1000px;
  margin: 0 auto;
} 

.slick-list {
  margin: 0px -5px 0px -5px;
}
 
.slick-prev:before, .slick-next:before {
  font-size: 70px;
  color: #EA8496;
  line-height: inherit;
  font-weight: bold;
}
 
/* Slick Slider Styles -- Provided by https://kenwheeler.github.io/slick/ */
/* Slider */
.slick-slider
{
    margin-bottom:0px!important;
    position: relative;

    display: block;

    -moz-box-sizing: border-box;
         box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -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);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
 
  
 
.slick-dots {
    position: absolute;
    bottom: 40px;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
}
 
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 2px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{
    font-family: 'slick';
    font-size: 20px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: 1;
    color: #fff;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: #ff4238;
}

.large-tile{
    position: absolute;
    top: 45%;
    padding-left: 20px;
}

.slider-img {
    width: 100%; 
}

.minh-100{
    min-height: 100%;
}

.tile-header{
    padding-top: 10px;
    display: flex;
    margin-bottom: 10px;
}

.tile-header p{
    margin-bottom: 0;
    margin-left: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tile-header a {
  margin-bottom: 0;
  margin-left: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}

.tile-header img{
    width: 35px;
    margin-left: 1em;
}


.slick-tile-header{
    position: absolute;
    top: 20px;
    margin-left: 20px;
    display: flex;
    text-transform: uppercase;
}

.slick-tile-header p{
    margin-bottom: 0;
    margin-left: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.slick-tile-header img{
    width: 40px
}

.our-team{
    font-size: 20px; 
    position: absolute;
    width: 100%;
    bottom: 0px;
    line-height: 22px;
}

footer {
    bottom: 0; 
    background-color: #f8eee3; 
    margin-top: 1rem;
    font-family: 'DM Sans', sans-serif;
    color:#0b4551!important;
}
footer .contact ul {
    list-style: none;
    margin-top: 3rem;
    text-transform: uppercase;
}

footer .contact li::before {
    content: "\2022";
    color: red;
    font-weight: bold;
    display: inline-block;
    width: 1px;
    position: absolute;
    height: 100%;
    line-height: 23px;
    font-size: 25px;

}

footer .contact a{
    font-size: 12px;
    color: #0b4551; 
    padding-left: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

footer a:hover { 
    color: #fff; 
}

.social{
    font-size: 30px;
    display: inline; 
    margin-top: 2rem;
}

.social i{ 
    line-height: 40px;
}

.social a {
    font-size: 28px;
    color: #f8eee3;
    background: #0b4551;
    border-radius: 360px;
    width: 40px;
    height: 40px;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
}

.social.dark a {
  background: #0b4551;
  color: #fff;
}

.social.dark a:hover {
  color: #ff4238;
}

.social a:hover {
	color: #0b4551;
}
.footerInfo {
    display: grid;
}

.smallPrint{
    margin-top: 2rem; 
    font-size: 12px;
}

.smallPrint a, .smallPrint a:hover {
    color:#0b4551;
    margin-right: 10px;
}

.row {
    display: -webkit-box;
    display: flex;
    justify-content: space-between;
    align-content: stretch;
}
.h-49 {
    height: 48% !important;
}

.top-row {
    height: 63%;
}

.content-tile{
    padding-bottom: 4.5rem;
}



.sidenav{background-color:#111;height:100%;left:0;overflow-x:hidden;padding-top:60px;position:fixed;top:0;transition:.5s;width:0;z-index:999;}
.sidenavR{background-color: #0b4551;height:100%;overflow-x:hidden;padding-top:60px;position:fixed;right:0;top:0;transition:.5s;width:0;z-index:999;}
.sidenav a,.sidenavR a{color:black;display:block;font-size:25px;padding:8px 8px 8px 32px;text-decoration:none;transition:.3s;}
.sidenav a:hover,.offcanvas a:focus,.sidenavR a:hover,.offcanvas a:focus{color:#f1f1f1;}
.sidenav .closebtn,.sidenavR .closebtn{    font-size: 36px;
    margin-left: 50px;
    position: absolute;
    right: 10px;
    top: 0;
    color:#fff;}

.sidenavR li {
  width:100%;
}

.sidenavR li a {
    color: white;
    text-transform: lowercase;
    text-transform: uppercase;
    font-size: 16px;
}

.sidenavR li.wood > a {
  background: #EE756A;
  color: white;
}

.sidenavR li.farm > a {
  background: #DC9A38;
  color: white;
}

.sidenavR ul {
  margin:0;
  padding: 0;
}

.sidenavR ul li ul {
  margin:0;
  padding-left: 30px;
  display: none;
}

.sidenavR ul li.current-menu-item ul, .sidenavR ul li.current-page-ancestor ul {
  display: block;
}

.sidenavR ul, .sidenavR li {
  list-style: none;
}

.overflow-hidden {
	overflow: hidden;
}

.article-intro {
  font-size: 18px;
}

#article-footer {
	color: white;
}

#article-footer .background-biege {
  background: #fff;
}

.team-list-item a, 
#article-footer a, #article-footer a:hover, #article-footer a:visited, #article-footer a:active {
    color: inherit;
    text-decoration: none;
}

.team-hover {
	display: none;
  display: none;
  position: absolute;
  width: 100%;
  bottom: 0px;

  position: relative;
  top: 50%;
  transform: translateY(-50%);
  margin: 0px!important;
}
.team-list-item:hover .team-hover {
  display: block;
}

.team-list-item .tile-text {
  line-height: 22px;
}

/* BLOG */

#read-more-button {
  cursor: pointer;
}

.orange-overlay:hover {
    opacity: 0.5;
}
.orange-overlay {
    background: #f87c56;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
}

.news-overlay { 
    height: 100%;
    width: 100%;
    top: 0;
    left: 0; 
    background: #0006;
}

.position-top-left {
  top: 8px;
  left: 16px;
  right: 16px;
}

.position-bottom-left {
  bottom: 8px;
  left: 16px;
  right: 16px;
}

.position-bottom-right {
  bottom: 8px;
  right: 16px;
}

.post-preview-image-large {
    object-fit: cover;
    width: 100%;
    height: 300px;
}

.w-30 {
	width: 30%;
}

.ellipse, .ellipse p {
  white-space: nowrap;
  display:inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.three-lines, .two-lines p {
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.two-lines, .two-lines p {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: normal;
}

#contact-button {
  color: white;
  position: fixed;
  right: -32px;
  top: 215px;
  cursor: pointer;
}

.contact-us-box {
  transform: rotate(-90deg);
  background: #fe4137;
  padding: 10px 20px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
}

#contactModal .modal-content {
  background: #f8eee3;
}
.wpcf7-not-valid-tip {
  color: #000;
}
.wpcf7-form label {
  width: 100%;
  color:#0b4551;
}
.wpcf7-form span {
  width: 100%;
  display: block;
}

.wpcf7-form textarea,
.wpcf7-form input {
  width: 100%;
  border: 0px;
  margin-top: 10px;
}
.wpcf7-submit {
  background: #0b4551;
  color: white;
  padding: 10px;
}
.wpcf7-submit:hover {
    cursor: pointer;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: transparent;
    text-align: center;
    font-size: 17px;
}

@media only screen and (max-width: 576px) {
  .tile-header img {
    width: 25px;
  }

  .tile-header p {
  	font-size: 12px;
    margin-left: 5px;
  }

  .our-team {
    font-size: 15px;
  }

}


/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
.w-sm-100 {
width:100%!important;
}
.w-sm-75 {
width:75%!important;
}
.w-sm-50 {
width:50%!important;
}
.w-sm-25 {
width:25%!important;
}
.h-sm-100 {
height:100%!important;
}
.h-sm-75 {
height:75%!important;
}
.h-sm-50 {
height:50%!important;
}
.h-sm-25 {
height:25%!important;
}
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
.w-md-100 {
width:100%!important;
}
.w-md-75 {
width:75%!important;
}
.w-md-50 {
width:50%!important;
}
.w-md-25 {
width:25%!important;
}
.h-md-100 {
height:100%!important;
}
.h-md-75 {
height:75%!important;
}
.h-md-50 {
height:50%!important;
}
.h-md-25 {
height:25%!important;
}
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
.w-lg-100 {
width:100%!important;
}
.w-lg-75 {
width:75%!important;
}
.w-lg-50 {
width:50%!important;
}
.w-lg-25 {
width:25%!important;
}

.w-lg-30 {
 width:30%!important;	
}
.h-lg-100 {
height:100%!important;
}
.h-lg-75 {
height:75%!important;
}
.h-lg-50 {
height:50%!important;
}
.h-lg-25 {
height:25%!important;
}
}

/* Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
.w-xl-100 {
width:100%!important;
}
.w-xl-75 {
width:75%!important;
}
.w-xl-50 {
width:50%!important;
}
.w-xl-25 {
width:25%!important;
}
.h-xl-100 {
height:100%!important;
}
.h-xl-75 {
height:75%!important;
}
.h-xl-50 {
height:50%!important;
}
.h-xl-25 {
height:25%!important;
}
}

.close {
	color: white;
}

.modal-header {
	border-bottom: 0px;
}

.fts-instagram-inline-block-centered {
  position: absolute;
  width: 100%;
}

.slicker-instagram-placeholder {
  margin:0px!important;
}

.dropdown.nav-item:hover ul.dropdown-menu{
    display: block;    
}

.top-menu .dropdown-menu {
  background: #0b4551;
  color: white;
  margin-top: -2px;
}

.top-menu .dropdown-menu li {
  width: 100%;
}

.top-menu .dropdown-item {
  color: white;
  font-size: 12px;
}

.dropdown-item:focus, .dropdown-item:hover {
  background-color: #fe4137;
}


@media only screen and (max-width: 991px) {
  body.light .top-menu .nav-link, .navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
  }

  .top-menu .dropdown-menu {
    display: block;
    background: none;
    position: relative;
    border: 0;

  }

  .dropdown-item:focus, .dropdown-item:hover {
    color: #fff!important;
    text-decoration: none;
    background-color: transparent!important;
  }

  .slick-initialized .slick-slide {
    position: relative;
  }

  .slick-content {
    bottom: 80px;
    left: 0;
    padding: 0 20px;
    margin:  0px;
  }


  .slick-content h1 {
    width: 100%!important;
  }

  .home h4 {
    font-size: 1.2rem;
  }

}

.no-hover-bg:hover {
  background: transparent!important;
}


 
/*-------------------------------------------------------------------------------
  1.WordPress WYSIWYG styles
-------------------------------------------------------------------------------*/
.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;
}

@media only screen and (max-width:480px){
 .single .alignright,.single .alignleft{
 float:none;
 }
}

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

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

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

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: 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;
}

.home .news-overlay {
    background: transparent;
}


.section-header p, .section-header a {
  font-family: 'DM Serif Display', serif !important;
  font-size: 24px;
}

.team-creds h2, .team-creds h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 18px;
  margin: 0px;
}