/*
Theme Name: Divi Child Theme
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Divi Child Theme for Migration Lawyers
Author: Kendall MacDonald and Noëlle Steegs
Template: Divi
*/

/* VERTICALLY ALIGN ANYTHING */
.vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 

/*--------------------------------------------------*/
/*--------------------TYPOGRAPHY--------------------*/
/*--------------------------------------------------*/
h2, h3 {
	line-height: 1.3em;
	padding-bottom: 15px;
}

p {
	padding-bottom: 2em;
}

.h2-no-margin {
    margin-top: 0px !important;
}
p a, ol li a, .et_pb_text ul li a {
    text-decoration: underline !important;
    transition: all 0.6s ease-in-out;
}
p a:hover, ol li a:hover, .et_pb_text ul li a:hover {
    text-decoration: underline !important;
    transition: all 0.6s ease-in-out;
    opacity: 0.7;
}
/*Make all headings except for H1 capitalised*/
h2, h3, h4, h5, h6 {
    text-transform: capitalize !important;
}
.short-accent-line-dark h2, .short-accent-line-light h2, .category-heading h3, .short-accent-line-dark-special h2 {
    padding-bottom: 0px
}
/*Change weight of menu items*/
#et-top-navigation, #top-header .container {
    font-weight: 500;
}
/*Add short horizontal accent line to headings*/
.short-accent-line-light h1:after, .short-accent-line-light h2:after {
    content: '';
    width: 80px;
    height: 2px;
    display: block;
    background-color: #fff;
    margin: 10px auto 15px auto;
    opacity: 0.7;
}
.short-accent-line-dark h1:after, .short-accent-line-dark h2:after {
    content: '';
    width: 80px;
    height: 2px;
    display: block;
    background-color: #252b34;
    margin: 10px auto 15px auto;
    opacity: 0.7;
}
.short-accent-line-light-left h1:after {
    content: '';
    width: 80px;
    height: 2px;
    display: block;
    background-color: #fff;
    margin: 10px 0px 15px 0px;
    opacity: 0.7;
}
.short-accent-line-dark-left h2:after, .short-accent-line-dark-left h3:after {
    content: '';
    width: 80px;
    height: 2px;
    display: block;
    background-color: #252b34;
    margin: 10px 0px 15px 0px;
    opacity: 0.7;
}
/*Decrease height of page headers*/
.short-accent-line-light-v2 h1:after {
    content: '';
    width: 80px;
    height: 2px;
    display: block;
    background-color: #fff;
    margin: 10px auto 0px auto;
    opacity: 0.7;
}
.page-header h1 {
    padding-bottom: 0px;
}
/*Make footer contact links white*/
#contact a {
    color: #fff;
}

/*--------------------------------------------------*/
/*--------------------NAVIGATION--------------------*/
/*--------------------------------------------------*/
/*Change hover effect duration of links*/
#top-menu a, #top-menu a:hover, #et-info-email, #et-info-email:hover, #et-secondary-menu > ul > li > a, #et-secondary-menu > ul > li > a:hover {
    transition: all 0.6s ease-in-out;
}
/*Add separators to primary nav*/
@media (min-width: 981px) {
.et_header_style_centered #top-menu > li > a {
    padding-bottom: 0px !important;
    margin-bottom: 20px;
    border-right: 1px solid #e4e4e4;
    padding: 0 15px 0 15px;
}
#menu-item-96 a {
    border-right: none !important;
}
#menu-item-2873 a {
    border-right: none !important;
	margin-right: 0px !important;
}
#top-menu li {
    padding-right: 0px;
}
}
/*Add separators to secondary nav*/
@media (min-width: 981px) {
#et-secondary-menu > ul > li > a {
    border-right: 1px solid #a57b55;
    padding-bottom: 0px !important;
    margin-bottom: 10px;
    padding: 0 15px 0 15px;
}
.last-secondary-menu-link a {
    border-right: none !important;
    padding-right: 0px !important;
}
#et-secondary-nav li {
    margin-right: 0px;
}
}
#et-info-phone {
    font-weight: bold;
}

/*--------------------------------------------------*/
/*----------------------HEADER----------------------*/
/*--------------------------------------------------*/
/* Set whitespace below sticky menu */
.et_header_style_centered #main-header div#et-top-navigation {
    margin-bottom: 8px !important;
}
.page-header .header-content{
    margin: 0px auto !important;
    padding: 0px 10px;
}   

/*--------------------------------------------------*/
/*----------------------TESTIFY---------------------*/
/*--------------------------------------------------*/
/*Have arrows always show*/
.flex-direction-nav a {
    opacity: 1;
    top: 75px;
}
/*Remove excess margin at the bottom*/
.testify-testimonials .slides li {
    margin-bottom: 0px;
}
/*Style navigation arrows*/
.flex-direction-nav a:before {
    font-size: 40px;
    display: inline-block;
    color: #fff !important;
    text-shadow: none !important;
    content: "\34"!important;
    font-family: 'ETmodules';
}
.flex-direction-nav a.flex-next:before {
    content: "\35"!important;
    font-family: 'ETmodules';
}
.flexslider:hover .flex-direction-nav .flex-prev, .flex-direction-nav .flex-prev {
    opacity: 1;
    top: 75px;
    left: -20px;
}
.flexslider:hover .flex-direction-nav .flex-next, .flex-direction-nav .flex-next {
    opacity: 1;
    top: 75px;
    right: -20px;
}
/*Display star rating at image size*/
.testimonial-body img {
    width: 150px !important;
}
/*Make text non-italic*/
.testimonial-body p, .person-name p {
    font-style: normal !important;
}
/*Make navigation bullets white*/
.flex-control-paging li a {
    background: rgba(255, 255, 255, 0.5);
}
.flex-control-paging li a.flex-active {
    background: rgba(255, 255, 255, 0.9);
}
.flex-control-paging li a:hover {
    background: rgba(255, 255, 255, 0.7);
}
/*Correct navigation height*/
ol.flex-control-nav.flex-control-paging {
    height: 11px;
}
/*Reposition quote mark*/
.testify-testimonials .quotation-mark {
    top: 45px;
}

/*--------------------------------------------------*/
/*----------------------BUTTONS---------------------*/
/*--------------------------------------------------*/
/*Change hover effect duration*/
.et_pb_button, .et_pb_button:hover {
    transition: all 0.6s ease-in-out;
}

/*--------------------------------------------------*/
/*-----------------------BLOG-----------------------*/
/*--------------------------------------------------*/
.et_pb_posts a.more-link {
    background-color: #8f5b2b;
    color: #fff;
    padding: 0.3em 1em;
    border: 1px solid #8f5b2b;
    border-radius: 5px;
    float: right;
    font-size: 20px;
    text-transform: capitalize;
    transition: all 0.6s ease-in-out !important;
}
.et_pb_posts a.more-link:hover {
    opacity: 0.7;
    transition: all 0.6s ease-in-out !important;
}

.et_pb_post .entry-title {
    padding: 0px 10px 10px 0 !important;
    margin-top: 0px !important;
}

/*KK Blog*/
.et_pb_kkblogext_0 .et_pb_post {
    padding: 20px;
}
.et_pb_kkblogext .et_pb_post a.et_pb_button.more-link:hover {
    opacity: 0.7 !important;
    transition: all 0.6s ease-in-out !important;
}
.blog-feed .et_pb_post {
    margin-bottom: 30px;
}
#post-177 {
    margin-bottom: 0px;
}
/*Blog module feed post*/
.homepage-blog .et_pb_module .et_pb_post {
    border-top: none !important;
    height: 528px;
}
.homepage-blog .et_pb_post {
    margin-bottom: 0px;
}
/*Excerpt*/
.homepage-blog .post-content {
    padding: 0px 10px 10px 10px;
    height: 199px;
}
/*Title*/
.homepage-blog h2.entry-title {
    height: 85px;
}
/*Blog module feed post v2*/
.homepage-blog-v2 .et_pb_module .et_pb_post {
    border-top: none !important;
}
.homepage-blog-v2 .et_pb_post {
    margin-bottom: 0px;
}
/*Excerpt*/
.homepage-blog-v2 .post-content {
    padding: 0px 10px 10px 10px;
    height: 200px;
}
/*Title*/
.homepage-blog-v2 h2.entry-title {
    height: 116px;
}

/*--------------------------------------------------*/
/*---------------------BLOG POST--------------------*/
/*--------------------------------------------------*/
@media (min-width: 981px) {
#left-area {
    padding-bottom: 0px;
}
}
.single .et_pb_post {
    margin-bottom: 0px;
}
.single .post {
    padding-bottom: 0px;
}

/*--------------------------------------------------*/
/*------------------SCROLLING LOGOS-----------------*/
/*--------------------------------------------------*/
/*Stops the browser creating a horizontal scrollbar*/
.ds-carousel-section {
    overflow: hidden;
    max-height: 199px;
}
/*Reduces the section height on mobiles*/
@media only screen and (max-width: 567px) {
.ds-carousel-section {
    max-height: 140px;
    padding: 0;
    }
}
/*Sets the width of the image modules and floats them so they are next to each other*/
.ds-carousel-logo {
    width: 20%;
    float: left;
    padding: 0px 20px 0px 20px;
}
/*Sets the layout for the first row*/
.ds-image-carousel-first {
    width: 100% !important;
    max-height: 184px;
    height: 184px;
    background: #fff;
    animation: 15s first 1 linear;
    animation-fill-mode: forwards;
    
}
/*Sets the layout for the second row*/
.ds-image-carousel-second {
    z-index: 2;
    height: 184px;
    background: #fff;
    width: 100% !important;
    float: left;
    display: inline-block;
    top: -184px;
    animation: 30s second infinite linear;    
}
/*Sets the layout for the third row*/
.ds-image-carousel-third {
    z-index: 1;
    height: 184px;
    background: #fff;
    width: 100% !important;
    float: left;
    display: inline-block;
    top: -368px;
    animation: 30s third infinite linear;
    animation-delay: 15s;
    opacity: 0;
}
/*Animation for the continuous scrolling effect*/
@keyframes first {
  0% {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    z-index: 3;
  }
  99.99% {
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    z-index: 3;
  }
  100% {
    z-index: -1;
  }
}
@keyframes second {
  0% {
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
@keyframes third {
  0.1% {
    opacity: 0;
  }
  0.2% {
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 1;
  }
  100% {
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 1;
  }
}
/*Changes bottom margin of short accent line*/
.short-accent-line-dark-special h2:after {
    content: '';
    width: 80px;
    height: 2px;
    display: block;
    background-color: #252b34;
    margin: 10px auto 7px auto;
    opacity: 0.7;
}

/*--------------------------------------------------*/
/*----------------------SIDEBAR---------------------*/
/*--------------------------------------------------*/
div#media_image-2 img {
    padding: 10px;
}
.et_pb_widget_area .et_pb_widget a {
    color: #fff;
}
.et_pb_widget_area p {
    padding: 10px;
}
.et_pb_widget_area {
    font-size: 14px;
}
/*Recent Posts*/
span.rpwwt-post-title {
    line-height: 1.2em;
}
.et_pb_widget_area .rpwwt-widget ul {
    line-height: 1.2em !important;
    padding: 10px 0 10px!important;
    list-style-type: none !important;
}
.rpwwt-post-date {
    font-size: 12px;
}
.rpwwt-widget ul li {
    padding: 0px 8px 0px;
}
.rpwwt-widget ul li {
    padding: 0 10px;
}
.rpwwt-widget ul li {
    margin: 0 0 15px !important;
}
.rpwwt-widget ul li:last-child {
    margin: 0px !important;
}
/*Links*/
.et_pb_widget li a {
    transition: all 0.6s ease-in-out;
}
.et_pb_widget li a:hover {
    color: #333 !important;
    opacity: 0.7;
    transition: all 0.6s ease-in-out;
}
.et_pb_bg_layout_light .et_pb_widget li a {
    color: #333;
}
/*Spacing*/
.et_pb_widget_area ul {
    padding: 10px !important;
}
.et_pb_widget ul li:last-child {
    margin-bottom: 0px;
}
/*Lists*/
.et_pb_widget_area ul {
    list-style: disc !important;
    list-style-position: inside !important;
}

/*--------------------------------------------------*/
/*----------------------FOOTER----------------------*/
/*--------------------------------------------------*/
/*Bottom bar*/
#footer-info {
    float: none;
    text-align: center;
    font-size: 14px;
}
/*Add padding to H3*/
.contact-details h3 {
    padding-bottom: 5px !important;
}
/* Give a little extra space above*/
div#footer-info {
    margin-top: 20px;
}
div#footer-bottom {
    color: #dddddd !important;
    padding: 20px;
}
a.footer-link {
    color: #946030;
}

/*--------------------------------------------------*/
/*-------------------CONTACT FORM-------------------*/
/*--------------------------------------------------*/
/*Whitespace*/
body .gform_wrapper ul li.gfield {
    margin-top: 0px !important;
}
.gform_wrapper {
    margin: 0px !important;
}
.gform_wrapper .gform_footer {
    padding: 16px 0 0px !important;
}
/*Labels*/
.gfield_label, .gform_wrapper .gfield_required, label {
    color: #fff !important;
    font-weight: 500 !important;
}

input#input_1_2 {
    margin-top: 0px !important;
}
select#input_1_7 {
    margin-top: 10px;
}
textarea#input_1_4 {
    margin-top: 10px;
}
.gform_footer.top_label {
    margin-top: -5px !important;
}
.navasst {
color:#BBBBBB !important}


/*Fields*/
body .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), body .gform_wrapper select, body .gform_wrapper textarea.textarea {
    background-color: #fff;
    color: #333;
    border-radius: 5px;
}
/*Button*/
body .gform_wrapper .gform_footer input.button {
   color: #fff;
}

.ds-thumbnail-blog .et_pb_post {
    min-height: 161.44px;
    margin-bottom: 30px;
    border: 1px solid #e2e2e2;
    padding: 10px;
}
/*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: 287.39px;
    height: 161.44px;
    object-fit: cover;
    margin: 0 20px 0 0;
}
/*Resize the overlay to fit the image*/
.ds-thumbnail-blog .et_overlay {
    width: 287.39px !important;
    height: 161.44px !important;
}
/*Stack the image and content on smaller screens*/
@media only screen and (max-width: 980px) {
    .ds-thumbnail-blog .et_pb_post a img {
        width: 100%;
        height: 161.44px;
        object-fit: cover;
        margin: 0 0 40px 0;
    }
    /*Resize the overlay on smaller screens*/
    .ds-thumbnail-blog .et_overlay {
        width: 100% !important;
        height: 161.44px !important;
    }
    .ds-thumbnail-blog .et_pb_post h2 {
        margin: 40px 30px 20px 30px !important;
    }
    .ds-thumbnail-blog .et_pb_post p {
        margin: 0 30px;
    }
    .ds-thumbnail-blog a.more-link {
        margin: 20px 0 30px 30px;
    }
    
    .ds-thumbnail-blog .post-content {
        padding: 30px 30px 80px 30px;
    }
}

.pagination a {
    transition: all 0.6s ease-in-out;
}
.pagination a:hover {
    transition: all 0.6s ease-in-out;
    opacity: 0.7;
}

.gform_wrapper .gfield_radio li label {
    font-size: 16px !important;
}

a.footer-link {
    color: #ddd;
    text-decoration: underline;
    transition: all 0.6s ease-in-out;
}
a.footer-link:hover {
    opacity: 0.7;
    transition: all 0.6s ease-in-out;
}

.inline-image {
    margin-left: 5.5% !important;
}

input#input_1_1_3, input#input_1_1_6 {
    margin-top: 0px;
}
.gform_wrapper .top_label div.ginput_container {
    margin-top: 0px;
}

h6 {
    font-size: 16px;
}

.list-no-padding ol {
    padding-bottom: 0px;
}

/*STICKY BOTTOM RIGHT*/
/*This places the button where we want it*/
#ds-sticky-button {
position: fixed;
right: 20px !important; /*Positions the button to the right of the page*/
bottom: 20px; /*Sets the distance of the button from the bottom of page*/
z-index:99999; /*Keeps the button on top*/
}
/*Styles the link text to make it look like a button - You can edit all these values to match your design*/
#ds-sticky-button a {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #8f5b2b;
  color: #ffffff;
  font-size: 20px;
  background: #8f5b2b;
  padding: 6px 20px;
  text-decoration: none;
  transition: all 0.6s ease-in-out;
}
/*Styles the button on hover - You can edit all these values to match your design*/
#ds-sticky-button a:hover {
  text-decoration: none;
  transition: all 0.6s ease-in-out;
  opacity: 0.7;
}

/*Hides the button on smaller screens*/
@media only screen and (max-width: 980px) { /*adjust the max width value to hide the button on the screen sizes of your choice*/
#ds-sticky-button {
display: none;
}
}

.ul-no-padding ul {
    padding-bottom: 0px !important;
}

.ghost-button:hover {
    opacity: 0.7;
}

@media all and (min-width: 981px) {
#et-secondary-menu > ul > li > a {
    border-right: none;
    padding: 0 0px 0 15px;
}
}
#et-info-phone, li.et-info-phone.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-2867 {
    font-weight: normal !important;
}
#top-header .container {
    font-family: 'PT Serif',Helvetica,Arial,Lucida,sans-serif !important;
}

.et_pb_post .entry-featured-image-url {
    margin-bottom: 0px;
    border-bottom: 1px solid #e2e2e2;
}

/* MAKE CONTACT LINK INTO BUTTON */

.contact-menu-item {
    padding: 10px 15px 10px 15px !important;
    background-color: #8f5b2b;
    text-align: left;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    transition: all 0.6s ease-in-out;
}

.contact-menu-item a {
	padding: 0px !important;
	margin-bottom: 0px !important;
	color: #fff !important;
}

.contact-menu-item:hover {
    color: #FFFFFF !important;
	text-decoration: none;
	transition: all 0.6s ease-in-out;
	opacity: 0.7;
}

.no-right-border {
	border-right: 1px solid #FFFFFF !important;
}

.et-fixed-header #top-menu .contact-menu-item a {
	color: #fff !important;
}