/*
 Theme Name:   Clarity
 Theme URI:    http://clarity.divisoup.com
 Description:  A Child Theme for Divi by Divi Soup
 Author:       Michelle Nunan
 Author URI:   http://divisoup.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*-----Colour Palette-----*/

/*Biscuit: HEX #fcf8ef RGB 252,248,239*/
/*Concrete HEX #d0d4d5 RGB 208,212,213*/
/*Blossom: HEX #f4d1d8 RGB 244,209,216*/
/*Dusk:    HEX #52576d RGB 82,87,109*/


/*-----Typography-----*/

/*Load custom fonts*/

@import 'https://fonts.googleapis.com/css?family=Crimson+Text';

/*Heading Styles*/

/*H1 styling*/
h1 {
    font-family: 'Crimson Text';
    font-size: 60px;
    color: #454d58;
    line-height: 1.4em;
    font-weight: normal;
    letter-spacing: 0px;
}

/*H2 styling*/
h2 {
    font-family: 'Crimson Text';
    font-size: 55px;
    color: #454d58;
    font-weight: 500;
    line-height: 1.4em;
    letter-spacing: 0px;
}

.ds-border-left h2 {
    font-family: 'Crimson Text';
    font-size: 55px;
    color: #454d58;
    font-weight: 500;
    line-height: 1.4em;
    border-left: 5px solid #00cb94;
    padding-left: 20px; 
    margin-bottom: 20px;
    letter-spacing: 0px;
}

/*H3 styling*/
h3 {
    font-family: 'Crimson Text';
    font-size: 35px;
    color: #e84e0f !important;
    line-height: 1.4em;
    letter-spacing: 0px;
}

/*H4 styling*/
h4 {
    font-family: 'Crimson Text';
    font-size: 20px;
    color: #454d58;
    line-height: 1.2em;
    letter-spacing: 0px;
}

/*H5 styling*/
h5 {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 18px;
    font-weight: normal;
    letter-spacing: 4px;
    color: #e84e0f;
}

/*H6 styling*/
h6 {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.2em;
}


/*Body copy styling*/
p, body {
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 16px;
    font-weight: 300 !important;
	letter-spacing: 2px;
    color: #2a2f36;
}

/*Button styling*/
.et_pb_button, .et_pb_more_button, .ds-home-header .header-content a.et_pb_button {
	font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 20px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: #e84e0f;
    color: #454d58 !important;
    border: none;
    border-radius: 0;
}

.et_pb_button:hover, .et_pb_more_button:hover, .ds-home-header .header-content a.et_pb_button:hover {
	background: #454d58;
    color: #e84e0f!important;
    border: none;
    border-radius: 0;
}

.ds-book-cta .et_pb_promo_button {
   	background: #e84e0f !important;
    color: #454d58!important;
    margin-top: 10px;
}

.ds-book-cta .et_pb_promo_button:hover {
   	background: #454d58 !important;
    color: #e84e0f !important;
}

/*----Remove sidebar dividing line----*/

container::before { 
    display:none; 
} 

.et_pb_widget_area_right { 
    border-left:0; 
}

/*----Fix Sidebar Monarch double colour issue----*/

.widget_monarchwidget {
    float: left !important;
}

/*-----Section Backgrounds-----*/
 
.ds-section-concrete.et_pb_section {
    background-color: #dbdbdb !important;
}

.ds-section-biscuit.et_pb_section {
    background-color: #dbdbdb;
}

.ds-section-blossom.et_pb_section {
    background-color: #dbdbdb;
}

/*-----Header & Navigation-----*/

#top-header .et-social-icons {
float: right;
}

/*Remove box shadow from header*/
#main-header {
    box-shadow: none;
}

/*Primary Menu*/
#top-menu {
    padding-bottom: 2px;
}

/*Style the primary menu*/
.et_header_style_centered nav#top-menu-nav {
   /* border-bottom: 1px solid #454d58;*/
    width: 100%;
  /*  border-top: 3px double #454d58;*/
    padding: 30px 0 0 0;
background: #454d58;
}

/*Add "Menu" to Hamburger Icon*/
@media all and (max-width: 980px) {
.mobile_menu_bar::before { 
content:'MENU'; 
vertical-align:top; 
line-height:2.2em; 
color: #00CB94 !important;
}
}

#main-header .container {
padding-right: 0 !important;
padding-left: 0 !important;
}

/*Added by Michelle - 25/10/17*/
/*Add the word MENU to the desktop hamburger*/
@media all and (min-width: 981px) {
#et-top-navigation:before {
    content: 'MENU';
    position: absolute;
    margin: 3px 0 0 -75px;
    font-size: 22px;
    color: #00CB94;
}
}



/*Style the primary menu items*/
#top-menu a {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 18px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 0 10px;
    color: #454d58;
}

/*Style the primary menu items on hover*/
#top-menu a:hover {
    color: #e84e0f;
	font-weight: 500;
}

/*Style the active primary menu item*/
#top-menu li.current-menu-item > a {
    color: #00cb94;
    font-weight: 600;
}

/*Style the secondary menu*/
#top-header {
    background-color: #dbdbdb;
}

/*Style the secondary menu contact info*/
#et-info {
    float: none;
    text-align: center;
    color: #454d58;
}

#et-info-email {
    color: #454d58 !important;
}

/*-----Mobile Navigation-----*/

/*Style the menu on mobile*/
.et_mobile_menu {
    padding: 5%;
    border-top: none;
    text-align: center;
    text-transform: uppercase;
    color: #454d58;
}

.et_mobile_menu li a {
    color: #454d58;    
}

.et_mobile_menu li a:hover, .et_mobile_menu current-menu-item li {
    background-color: #e84e0f;
    color: #dbdbdb;
    font-weight: 500;
}

/*Remove the box shadow from the mobile menu*/
.et_header_style_centered .et_mobile_menu {
    top: 38px;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.et_header_style_centered #main-header .mobile_nav {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

/*Remove 'select page' on mobile*/
@media only screen and (max-width: 980px) {
    .et_header_style_centered .mobile_nav .select_page {
        display: none;
    }
    .et_header_style_centered .mobile_nav {
        background-color: transparent !important;
    }
    
    .et_header_style_centered .mobile_menu_bar {
        position: absolute;
        right: 0;
        width: 100%;
        max-width: 980px;
        text-align: center;
    }
    
    .mobile_menu_bar {
        margin-bottom: 5px !important;
    }
    
    /*Add the word 'Menu'*/
    .mobile_menu_bar:before {
        font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif !important;
        font-size: 22px;
        color: #454d58;
        content: "MENU";
       /* border-bottom: 1px solid #454d58;
        border-top: 3px double #454d58;*/
        padding: 10px 35%;
    }
    
    .et_header_style_centered #main-header .container {
        margin-bottom: 8px;
    }
}

/*-----Footer-----*/

#main-footer {
    background-color: #dbdbdb !important;
}

#footer-bottom {
    background-color: #454d58 !important;
}

.footer-widget .fwidget {
    color: #dbdbdb;
}

.footer-widget .fwidget h4 {
    color: #00cb94;
    font-family: 'Crimson Text';
    font-size: 36px;
    margin-bottom: 20px;
    border-left: 5px solid #00cb94;
    padding-left: 20px;
    letter-spacing: 0px;
}

#footer-info {
    color: #e84e0f;
    font-weight: 500;
}

#footer-info a {
    color: #dbdbdb;
    font-weight: 500;
}


/*Bloom Footer Optin*/
.et_bloom .et_bloom_form_container .et_bloom_form_header {
    display: none;
}
.et_bloom .et_bloom_widget_content .et_bloom_form_container .et_bloom_form_content {
    padding: 0;
}
.et_bloom form input {
    font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif !important;
    padding: 10px !important;
    letter-spacing: 2px !important;
    font-weight: 300 !important;
    font-size: 16.5px;
}
.et_bloom .et_bloom_form_container .et_bloom_form_content .et_bloom_popup_input input {
    text-align: center;
}
span.et_bloom_button_text.et_bloom_button_text_color_light {
    font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif !important;
    color: #ffffff;
    font-size: 20px;
    letter-spacing: 4px !important;
    text-transform: uppercase;
}
.et_bloom .et_bloom_form_container .et_bloom_form_content span {
    font-weight: 500 !important;
}
.et_bloom .et_bloom_form_content button:hover {
    background: #454d58 !important;
}
.et_bloom .et_bloom_form_container.et_bloom_form_text_light .et_bloom_form_content input {
    background-color: #a8a8a8 !important;
    color: #ffffff !important;
}

.et_bloom .et_bloom_widget_content .et_bloom_form_container .et_bloom_form_content {
    padding: 0 20px 0 20px !important;
}

.et_bloom .et_bloom_form_content button:hover {
    background: #454d58 !important;
}


/*Add 'Follow us' before social icons*/
.et-social-icons:before {
    content: "Follow me on:";
    color: #ffffff;
    font-weight: 500;
}

/*Style the social icons*/
.et-social-icons li {
    margin-left: 10px;
}

.et-social-icon a {
    color: #e84e0f;
}

.et-social-icon a:hover, #footer-info a:hover {
    color: #e84e0f;
    opacity: 1;
}


/*-----Widget styling-----*/

/*Add icons before contact info*/

p.ds-phone:before {
    font-family: 'ETModules';
    content: "\e0a2";
    color: #00cb94;
}

p.ds-email:before {
    font-family: 'ETModules';
    content: "\e076";
    color: #00cb94;
}

p.ds-address:before {
    font-family: 'ETModules';
    content: "\e09d";
    color: #00cb94;
}

/*Style the footer*/
#et-footer-nav {
    background-color: #e84e0f;
}

.bottom-nav {
    text-align: center;
    padding: 5px 0;
}

.bottom-nav a {
    color: #dbdbdb;
    font-weight: normal;
}

/*-----Global Elements-----*/

/*Style the blockquote*/
blockquote {
    border-left: 5px solid #00cb94;
}

/*Style the Slim Bloom Optin text*/
.ds-slim-optin-text p {
    padding-top: 0 !important;
    font-size: 20px !important;
color: #fff;
}

@media only screen and (max-width: 980px) {
    .ds-slim-optin-text p {
        text-align: center;
        padding-bottom: 0;
    }
}

/*Vertically align elements to middle*/
.ds-vertical-align {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1% 3% 1% 5.5%;
}

/*Style the scroll to top button*/
.et_pb_scroll_top.et-pb-icon {
    background: #00cb94;
    color: #454d58;
    right: 15px;
    border-radius: 0;
}


/**** Show the header block on Bloom Fly-in Form ****/

.et_bloom .et_bloom_form_container.et_bloom_form_right .et_bloom_form_header {
display: block;
}


/*-----Homepage-----*/

/*Header background position*/
.ds-home-header {
	background-position: top left;
    min-height: 70vh !important;
}

@media only screen and (max-width: 980px) {
.ds-home-header {
	background-position: top center;
    height: 50vh !important;
}
    .ds-home-header h1 {
	line-height: 1em;
}
}

.ds-home-header .header-content {
    margin-top: 10%;
}

.ds-home-header .header-content span {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
	font-size: 20px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #e84e0f;
}

/*----------Super Slim Bloom Optin Form----------*/
/* Set the padding for the content */

.ds-slim-optin-form .et_bloom_form_container .et_bloom_form_content {
    padding: 0px !important;
}
/* Hide the header area */

.ds-slim-optin-form .et_bloom_form_container .et_bloom_form_header {
    display: none !important;
}
/* Set the font size of the optin text module */

.ds-slim-optin-text {
    padding-top: 15px !important;
}
/* Set the margin for the optin form module */

.ds-slim-optin-form {
    margin: 0px 0;
}
.ds-slim-optin-form .et_bloom_inline_form {
    margin: 10px 0 !important;
}
/* Add a little padding for smaller screens */

@media only screen and (max-width: 1110px) {
    .ds-slim-optin-form {
        margin-bottom: 25px;
        margin-top: 0px;
    }
}
/* Set the font colour for the success and error messages */

.ds-slim-optin-form h2.et_bloom_success_message,
h2.et_bloom_error_message {
    color: #a8a8a8 !important;
    margin-top: 0px !important;
}
/* Set the border radius for the success and error messages */

.ds-slim-optin-form .et_bloom_form_container h2.et_bloom_error_message,
h2.et_bloom_success_message {
    border-radius: 0px !important;
}
/* Hide the checkmark on success message */

.ds-slim-optin-form .et_bloom_success_container.et_bloom_animate_success span.et_bloom_success_checkmark {
    display: none;
}
.et_bloom .et_bloom_form_container .et_bloom_form_content span {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-size: 17px;
    font-weight: 500 !important;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FCF8EF !important;
}
.et_bloom .et_bloom_form_container .et_bloom_form_content .et_bloom_popup_input input {
    padding: 10px !important;
    letter-spacing: 2px;
    font-weight: 300;
    font-size: 16.5px;
}
.et_bloom .et_bloom_form_content button {
    background: #e84e0f !important;
    padding: 11px !important;
}
.et_bloom .et_bloom_form_content button:hover {
    background: #e84e0f !important;
}
@media only screen and (max-width: 980px) {
    .ds-slim-optin-form .et_bloom_inline_form {
        margin-top: 0px !important;
        margin-bottom: 20px !important;
    }
}



/*Welcome text row*/
.ds-welcome-row {
    background-position: top left !important;
}

/*Call to action styling*/
.ds-book-cta h2 {
    color: #454d58;
}

/*View services button*/
.ds-view-services {
    margin-top: 30px !important;
}

/*Benefits blurbs*/
.ds-custom-blurb h4, .ds-custom-blurb2 h4 {
    font-family: 'Crimson Text';
    color: #454d58;
    font-size: 40px;
    margin-top: -10px;
    margin-bottom: 20px;
    letter-spacing: 0px;
}

.ds-custom-blurb p, .ds-custom-blurb2 p {
    text-align: justify;
}

/*Testimonial Slider*/
.ds-testimonial-slider {
  font-size:50px;
  position: relative;
  width: 100%;
  padding:10px;
}

.ds-testimonial-slider .et_pb_slide_content {
  font-weight: 300  !important;
}

.ds-testimonial-slider .et_pb_slide_description, .et_pb_slider_fullwidth_off .et_pb_slide_description {
    padding: 3% 0 3% 8%;
    width: 75%;
    margin-bottom: 30px;
}

.ds-testimonial-slider .et_pb_slide_image {
    width: 25%;
}

@media only screen and (max-width: 767px) {
    .ds-testimonial-slider .et_pb_slide_image {
    width: 50%;
    }
    
    .ds-testimonial-slider .et_pb_slide_description h2 {
        font-size: 30px !important;
    }
}

.ds-testimonial-slider .et_pb_slide_image img {
    border-radius: 50%;
    border: 5px solid #dbdbdb;
}

.ds-testimonial-slider .et_pb_slide_title {
    margin-bottom: 10px;
}


.ds-testimonial-slider .et-pb-controllers {
    margin-top: 20px;
}

.ds-testimonial-slider .et-pb-controllers a {
    background-color: #00cb94 !important;
}

.ds-testimonial-slider .et-pb-controllers .et-pb-active-control {
    background-color: #e84e0f !important;
}

/*Add the large left bracket*/
.ds-testimonial-slider.et_pb_slider .et_pb_slide:before {
   content: " ";
    position: absolute;
   border-left:5px solid #00cb94;
   border-top:5px solid #00cb94;
   border-bottom:5px solid #00cb94;
   padding:5px;
   top:-10px;
   bottom:-10px;
   left: -5px;
}

/*Add the large right bracket*/
.ds-testimonial-slider.et_pb_slider .et_pb_slide:after {
   content: " ";
   position: absolute;
   border-right:5px solid #00cb94;
   border-top:5px solid #00cb94;
   border-bottom:5px solid #00cb94;
   border-bottom:5px solid #00cb94;
   padding:5px;
   top:-10px;
   bottom:-10px;
   right: -5px;
}

/*Blog styling*/
.ds-home-blog.et_pb_blog_grid .et_pb_post {
    padding: 20px;
    border: none !important;
    text-align: justify;
}

.ds-home-blog.et_pb_blog_grid h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #454d58;
    border-left: 5px solid #00cb94;
    padding-left: 10px;
    text-align: left !important;
}

.ds-home-blog .et_pb_post .post-meta {
    font-size: 12px;
    letter-spacing: 1px;
    color: #454d58;
}

.ds-home-blog .et_pb_post a.more-link {
    font-size: 20px;
    color: #e84e0f;
    margin-top: 40px !important;
	margin-bottom: -80px !important; /*Added 28/04/17*/
    float: left;
    width: 100%;
    padding: 0px !important;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

/*Style the read more link*/
.ds-home-blog .et_pb_post a.more-link:hover {
    color: #454d58;
}

/*Add the bracket before*/
.ds-home-blog a.more-link:before {
   content: " ";
   position: absolute;
   border-left:5px solid #e84e0f;
   border-top:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
   padding:5px;
   top:-10px;
   bottom:-10px;
   left: -5px;
}

/*Add the bracket after*/
.ds-home-blog a.more-link:after {
   content: " ";
   position: absolute;
   border-right:5px solid #e84e0f;
   border-top:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
   padding:5px;
   top:-10px;
   bottom:-10px;
   right: -5px;
}

/*Style the read more on hover*/
.ds-home-blog a.more-link:hover:before {
   border-left:5px solid #454d58;
   border-top:5px solid #454d58;
   border-bottom:5px solid #454d58;
    
}

.ds-home-blog a.more-link:hover:after {
   border-right:5px solid #454d58;
   border-top:5px solid #454d58;
   border-bottom:5px solid #454d58;
}

/*Style the blog image overlay*/
.ds-home-blog .et_overlay {
    background-color: rgba(245,184,159,0.8) !important;
}

/*Style the blog image overlay icon*/
.ds-home-blog .et_overlay.et_pb_inline_icon:before {
    color: #ffffff !important;
}

@media only screen and (max-width: 980px) {
   .ds-home-blog.et_pb_blog_grid .et_pb_post {
    margin-bottom: 100px !important;
}
}

@media only screen and (max-width: 767px) {
   .ds-home-blog.et_pb_blog_grid .column.size-1of1 .et_pb_post {
    margin-bottom: 100px !important;
}
}

/*-----Your Team Page-----*/

.ds-team-name h2 {
    font-size: 40px !important;
    margin-bottom: 10px;
    padding-left: 20px;
    border-left: 5px solid #00cb94;
    letter-spacing: 0px;
}

.ds-team img {
    border-radius: 50%;
    border: 5px solid #dbdbdb;
}

.ds-bar-counter .et_pb_counter_container {
    background-color: #e84e0f !important;
}

.ds-bar-counter .et_pb_counter_amount {
    background-color: #454d58 !important;
}

/*-----Services Page-----*/


/*---------Header with changing words right---------*/
.rw-wrapper-right .et_pb_button {
	float: right !important;
}
.rw-wrapper-right{
	width: 100%;
	position: relative;
	margin: 0 auto 0 auto;
	padding: 10px;
	overflow: hidden;
}
.rw-sentence-right{
	margin: auto;
	text-transform: uppercase;
	font-weight: 300;
	text-shadow: 0 0 0 rgba(0,0,0,0.0001);
}
.rw-sentence-right span{
	color: #454d58;
	white-space: normal;
	text-align:right;
}
.rw-sentence-right > span:first-child{
	display: block;
	font-size: 100%;
}
.rw-words-right{
	width: 100%;
	max-width:1080px;
	height: 100px;
	-webkit-perspective: 800px;
	perspective: 800px;
	
}
.rw-words-right span{
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	white-space: normal;
	overflow: hidden;
	text-align:right;
}
.rw-words-1-right span{
	font-size: 310%;
	line-height: 82%;
	color: #00cb94;	
	-webkit-animation: rotateWordsFirst 18s linear infinite 0s;
	-ms-animation: rotateWordsFirst 18s linear infinite 0s;
	animation: rotateWordsFirst 18s linear infinite 0s;
}
.rw-words-2-right span{
	font-size: 120%;
	font-style: italic;
	line-height: 90%;
	-webkit-animation: rotateWordsSecond 18s ease-in infinite 0s;
	-ms-animation: rotateWordsSecond 18s ease-in infinite 0s;
	animation: rotateWordsSecond 18s ease-in infinite 0s;
}
.rw-words-right span:nth-child(2) { 
    -webkit-animation-delay: 3s; 
	-ms-animation-delay: 3s; 
	animation-delay: 3s; 
}
.rw-words-right span:nth-child(3) { 
    -webkit-animation-delay: 6s; 
	-ms-animation-delay: 6s; 
	animation-delay: 6s; 
}
.rw-words-right span:nth-child(4) { 
    -webkit-animation-delay: 9s; 
	-ms-animation-delay: 9s; 
	animation-delay: 9s; 
}
.rw-words-right span:nth-child(5) { 
    -webkit-animation-delay: 12s; 
	-ms-animation-delay: 12s; 
	animation-delay: 12s; 
}
.rw-words-right span:nth-child(6) { 
    -webkit-animation-delay: 15s; 
	-ms-animation-delay: 15s; 
	animation-delay: 15s; 
}
@-webkit-keyframes rotateWordsFirst {
    0% { opacity: 0; -webkit-animation-timing-function: ease-in; width: 100%;}
    5% { opacity: 1; -webkit-animation-timing-function: ease-out; width: 100%;}
    17% { opacity: 1; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}
@-ms-keyframes rotateWordsFirst {
    0% { opacity: 0; -ms-animation-timing-function: ease-in; width: 100%;}
    5% { opacity: 1; -ms-animation-timing-function: ease-out; width: 100%;}
    17% { opacity: 1; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes rotateWordsFirst {
    0% { opacity: 0; -webkit-animation-timing-function: ease-in; animation-timing-function: ease-in; width: 100%;}
    5% { opacity: 1; -webkit-animation-timing-function: ease-out; animation-timing-function: ease-out; width: 100%;}
    17% { opacity: 1; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}
@-webkit-keyframes rotateWordsSecond {
    0% { opacity: 0; -webkit-transform: translateZ(600px) translateX(-400px);}
    8% { opacity: 1; -webkit-transform: translateZ(0px) translateX(0px);}
    17% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}
@-ms-keyframes rotateWordsSecond {
    0% { opacity: 0; -ms-transform: translateZ(600px) translateX(-400px);}
    8% { opacity: 1; -ms-transform: translateZ(0px) translateX(0px);}
    17% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}
@keyframes rotateWordsSecond {
    0% { opacity: 0; -webkit-transform: translateZ(600px) translateX(-400px); transform: translateZ(600px) translateX(-400px);}
    8% { opacity: 1; -webkit-transform: translateZ(0px) translateX(0px); transform: translateZ(0px) translateX(0px);}
    17% { opacity: 1; }
    25% { opacity: 0; }
    100% { opacity: 0; }
}
@media screen and (max-width: 1023px){
	.rw-words-right{ height: 75px; }
	.rw-words-1-right span{ font-size: 280%;}
	.rw-words-2-right span { font-size: 160%; }
}
@media screen and (max-width: 560px){
	.rw-words-right{ height: 50px; }
	.rw-words-1-right span{ font-size: 180%;}
	.rw-words-2-right span { font-size: 90%; }
	.rw-sentence-right > span:first-child{ font-size: 80%;}
}
@media screen and (max-width: 400px){
	.rw-words-right{ height: 45px; }
	.rw-words-1-right span{ font-size: 140%;}
	.rw-words-2-right span { font-size: 70%; }
	.rw-sentence-right > span:first-child{ font-size: 60%;}
}




/*Image hover effects*/

/*Show desktop version and hide smaller screen version*/
.ds-services-section-desktop {
    display: block;
}
.ds-services-section-mobile {
    display: none;
}

/*Show smaller screen version and hide desktop version at 1279px*/
@media only screen and (max-width: 1279px) {
.ds-services-section-desktop {
    display: none;
}
.ds-services-section-mobile {
    display: block;
}
}


/*Service section for desktop*/
.ds-services {
	position: relative;
	margin: 0 auto;
	padding: 1em 0 4em;
	max-width: 1000px;
	list-style: none;
	text-align: center;
}

.ds-services figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 30px 1%;
	min-width: 100%;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	text-align: center;
	cursor: pointer;
}

.ds-services figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.ds-services figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.ds-services figure figcaption::before,
.ds-services figure figcaption::after {
	pointer-events: none;
}

.ds-services figure figcaption,
.ds-services figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ds-services figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
    font-size: 50px;
    color: #ffffff;
    background: rgba(69,77,88,0.8);
    padding: 15px 0 25px 0;
    text-transform: none;
    margin-top: -10px !important;
}

.ds-services figure h2,
.ds-services figure p {
	margin: 0;
}

.ds-services figure p {
	letter-spacing: 2px;
	color: #ffffff;
    text-transform: none;
    background: rgba(69,77,88,0.8);
}

/*Hover Effect*/

figure.ds-effect {
	background: -webkit-linear-gradient(top, rgba(245,184,159,0.8) 50%, rgba(0,0,0,1) 100%);
	background: linear-gradient(to bottom, rgba(245,184,159,0.8) 50%,rgba(0,0,0,1) 100%); 
}

figure.ds-effect img {
    -webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.ds-effect:hover img {
	opacity: 0.4;
}

figure.ds-effect figcaption::before {
   position: absolute;
   left: 30px;
   bottom: 30px;
   padding: 5px;
   height: -webkit-calc(50% - 30px);
   height: calc(50% - 50px);
   border-left:5px solid #e84e0f;
   border-top:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
   content: '';
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-100%,0);
	transform: translate3d(0,-100%,0);
}

figure.ds-effect figcaption::after {
   position: absolute;
   right: 30px;
   bottom: 30px;
   padding: 5px;
   height: -webkit-calc(50% - 50px);
   height: calc(50% - 50px);
   border-right:5px solid #e84e0f;
   border-top:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
	content: '';
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-100%,0);
	transform: translate3d(0,-100%,0);
}

figure.ds-effect:hover figcaption::after, figure.ds-effect:hover figcaption::before {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.ds-effect figcaption {
	padding: 3em;
	text-align: center;
}

figure.ds-effect p {
	position: absolute;
	right: 60px;
	bottom: 50px;
	left: 60px;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,-100px,0);
	transform: translate3d(0,-100px,0);
}

figure.ds-effect:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


/*Services section for mobile*/

.ds-services-section-mobile h4 {
    font-family: 'Crimson Text';
    font-size: 45px;
    color: #52576d;
    font-weight: 500;
    line-height: 1.4em;
    letter-spacing: 0px;
    margin-bottom: 45px;
}

.ds-services-section-mobile .et_pb_blurb .et-pb-icon {
    color: #e84e0f !important;
}

.ds-services-section-mobile p {
    text-align: justify;
}

.ds-services-section-mobile blockquote {
    margin-left: -65px;
}


   
 

/*-----Plans & pricing Page-----*/

.ds-pricing .et_pb_pricing_heading {
    background-color: #e84e0f;
}

.ds-pricing .et_pb_featured_table .et_pb_pricing_heading {
    background-color: #00cb94;
}

.ds-pricing .et_pb_pricing_heading h2 {
    padding-bottom: 20px;
    color: #454d58;
    font-size: 46px;
}

.ds-pricing .et_pb_sum {
    color: #454d58;
}

.ds-pricing .et_pb_best_value {
    color: #2a2f36;
}

.ds-pricing .et_pb_featured_table .et_pb_best_value {
    color: #dbdbdb;
}

.ds-pricing .et_pb_pricing_table {
    background-color: transparent!important;
    border: 1px solid #dbdbdb !important;
}

.ds-pricing .et_pb_pricing li a {
    color: #e84e0f;
}

.ds-pricing .et_pb_pricing li span:before {
    border-color: #e84e0f;
}


/*-----FAQ Page-----*/

.ds-faq.et_pb_toggle_close {
    background-color: #dbdbdb !important;
}

.ds-faq.et_pb_toggle {
    border: none;
}

.ds-faq .et_pb_toggle_title:before {
    left: 0 !important;
    color: #454d58 !important;
    font-size: 20px !important;
}

.ds-faq.et_pb_toggle h5.et_pb_toggle_title {
    padding: 0 30px !important;
    color: #454d58;
    letter-spacing: 2px;
}

/*-----Contact Page-----*/

.ds-contact-form .et_pb_contact_main_title, .ds-contact-info h3 {
    font-size: 45px;
    color: #454d58;
    margin-bottom: 20px;
    border-left: 5px solid #00cb94;
    padding-left: 20px;
}

.ds-contact-form .et_pb_contact p input, .ds-contact-form .et_pb_contact p textarea {
    color: #ffffff;
    background-color: #454d58;
    font-size: 16px;
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 300 !important;
    letter-spacing: 2px;
}

.ds-contact-form .et_pb_button {
    background-color: #e84e0f !important;
}

.ds-contact-form .et_pb_button:hover {
    background-color: #454d58 !important;
    color: #ffffff !important;
}

/*-----Blog Page-----*/

/*Comment form styling*/

#commentform textarea, #commentform input[type="text"], #commentform input[type="email"], #commentform input[type="url"] {
    font-family: 'Open Sans';
    font-size: 20px;
    color: #454d58;
    background-color: #dbdbdb;
}

#commentform a {
    color: #e84e0f !important;
    font-weight: 500;
}

#submit {
	color: #ffffff !important;
    background-color: #e84e0f !important;
}

#submit:hover {
    color: #ffffff !important;
    background-color: #454d58 !important;
}

/*Sidebar Widget Styling*/


/*Remove sidebar dividing line*/
#main-content .container:before {
width: 0 !important;
}

/*Style the widgets*/
.et_pb_widget {
    background: #dbdbdb;
    padding: 15px;
	line-height: 1.3em;
}

.et_pb_widget h4 {
    font-family: 'Crimson Text';
    color: #454d58;
    padding: 10px;
}

.widgettitle {
    background: #00cb94;
    margin: -15px -15px 15px;
    font-size: 30px !important;
}

.et_pb_widget a:hover {
    color: #dbdbdb;
    font-weight: 500;
}

/*Style the sidebar search widget*/

.widget_search {
    padding: 0 !important;
    border-radius: 2;
}

.widget_search input#s {
    font-family: 'Open Sans', Helvetica, Arial, Lucida, sans-serif;
    height: 45px !important;
    margin: 0;
    padding: 0.7em;
    border: 2 !important;
    color: #454d58;
    font-size: 10px !important;
    line-height: normal !important;
    margin: 0;
    letter-spacing: 1px;
}

.widget_search input#searchsubmit {
    font-family: 'Crimson Text';
    height: 45px !important;
    border: 0;
    color: #454d58;
    font-size: 14px;
    border-radius: 0;
    padding-left: 5px;
    padding-top: 7px;
}

/*Styling for the posts*/

/*@media only screen and (min-width:1080px) {*/
.ds-thumbnail-blog .et_pb_post {
    background-color: #dbdbdb;
    min-height: 300px;
    margin-bottom: 130px;
    margin-top: -30px;
    padding-right: 20px;
    text-align: justify;
}

.ds-thumbnail-blog .et_pb_post h2 {
    text-align: left !important;
}

/*Sets the image size posts and moves it to the left of the text*/
.ds-thumbnail-blog .et_pb_post a img {
    float: left;
    width: 300px;
    height: 300px;
    object-fit: cover;
    margin: 0 20px 0 0;
}

/*Resize the overlay to fit the image*/
.ds-thumbnail-blog .et_overlay {
    width: 300px !important;
    height: 300px !important;
}

/*Stack the image and content on smaller screens*/
@media only screen and (max-width: 1080px) {
    .ds-thumbnail-blog .et_pb_post a img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        margin-bottom: 30px;
    }
    
    /*Resize the overlay on smaller screens*/
    .ds-thumbnail-blog .et_overlay {
        width: 100% !important;
        height: 300px !important;
    }
    
    .ds-thumbnail-blog .et_pb_post {
        padding: 30px !important;
    }
    
    .ds-thumbnail-blog .et_pb_post h2 {
        border-left: none !important;
    }
    .ds-thumbnail-blog .et_pb_post p {
        margin: 0;
    }
    .ds-thumbnail-blog .et_pb_post a.more-link {
        margin: 80px 0 0 0 !important;
    }
}

/*Add a little top padding to the post titles*/
.ds-thumbnail-blog .et_pb_post h2 {
    padding: 20px 0 20px 0 !important;
    font-size: 30px;
    border-left: 5px solid #00cb94;
    padding-left: 10px;
}

.ds-thumbnail-blog .et_pb_post h2 a {
    border-left: 5px solid #00cb94;
    padding-left: 10px;
    padding-bottom: 10px;
}

.ds-thumbnail-blog .et_pb_post p {
    font-size: 18px;
}

.ds-thumbnail-blog .post-meta {
    font-size: 14px !important;
}

/*This styles the read more link*/
.ds-thumbnail-blog .et_pb_post a.more-link {
    font-size: 20px;
    color: #e84e0f;
    float:right;
    width: 150px;
    margin-top: 20px;
	margin-bottom: -45px; /*Added 28/04/17*/
    padding: 0px !important;
    text-align: center;
    text-transform: uppercase;
    position: relative;
}

.ds-thumbnail-blog .et_pb_post a.more-link:hover {
    color: #454d58;
}

.ds-thumbnail-blog a.more-link:before {
   content: " ";
   position: absolute;
   border-left:5px solid #e84e0f;
   border-top:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
   padding:5px;
   top:-10px;
   bottom:-10px;
   left: -5px;
}

.ds-thumbnail-blog a.more-link:after {
   content: " ";
   position: absolute;
   border-right:5px solid #e84e0f;
   border-top:5px solid #e84e0f;
   border-bottom:5px solid #e84e0f;
   padding:5px;
   top:-10px;
   bottom:-10px;
   right: -5px;
}

.ds-thumbnail-blog a.more-link:hover:before {
   border-left:5px solid #454d58;
   border-top:5px solid #454d58;
   border-bottom:5px solid #454d58;
    
}

.ds-thumbnail-blog a.more-link:hover:after {
   border-right:5px solid #454d58;
   border-top:5px solid #454d58;
   border-bottom:5px solid #454d58;
}

.ds-thumbnail-blog .et_overlay {
    background-color: rgba(245,184,159,0.8) !important;
}

.ds-thumbnail-blog .et_overlay .et_pb_inline_icon:before {
    color: #ffffff !important;
}

/*This styles the post pagination links*/
.pagination a {
    background: #e84e0f;
    color: #dbdbdb;
    padding: 10px;
    margin-top: 30px !important;
    font-weight: 500;
}

/*This styles the post pagination links on hover*/
.pagination a:hover {
    background: #454d58;
    color: #dbdbdb;
}


