/*
Theme Name: Total Child
Theme URI: http://totalwptheme.com
Description: Total WordPress theme example child theme.
Author: AJ Clarke
Author URI: http://totalwptheme.com
Template: Total
Version: 3.6.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */
.wpb_single_image_caption {
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.5);
}

.about-us a {
    line-height:38px !important;
}

.about-us-img, .subpage-section {
    padding-top:30px;
    padding-bottom:30px;
}

@media (max-width:1060px) {
		#responsive-menu-button {
			top:3% !important;
			right:3% !important;
		}
    .padding-on-mobile {
        padding-left:50px;
        padding-right:50px;
    }
    .testimonial-entry{
        margin-bottom:50px !important;
    }
}

@media only screen and (max-width:1000px) {
	#footer-widgets.wpex-row .footer-box.span_1_of_5.col {
	  width:33.3333% !important;
	}	
}

@media only screen and (max-width:767px) {
	#footer-widgets.wpex-row .footer-box.span_1_of_5.col {
	  width:50% !important;
	}
	#site-header-inner {
		padding-left:30px;
	}
}

@media only screen and (max-width:767px) {
	.testimonial-entry {
    max-width:450px;
    float:none !important;
    margin:auto !important;
    margin-bottom:40px;
  }
  .about-us-img {
    margin:auto;
    padding-top:30px;
    padding-right:15px;
    padding-left:15px;
    padding-bottom:40px;
    max-width:385px;
  }
  .about-us {
    padding-top:0;
    padding-left:30px;
    padding-right:30px;
    padding-bottom:50px;
    
  }
  .padding-on-mobile {
    padding-left:25px;
    padding-right:25px;
  }
    
	.testimonial-entry {
		margin-bottom:35px !important;
	}
	.frontpage-header p {
		padding:0 5%;
	}
	.frontpage-selected-work {
		margin-top:0 !important;
	}
	.frontpage-selected-work-header {
		text-align:center;
		padding-top:0;
	}
}

@media only screen and (max-width:500px) {
	#site-logo {
		width:50%;
	}
	
	.frontpage-header {
		padding-top:25px !important;
	}
	.frontpage-header p {
		font-size:22px !important;
	}
	
	.frontpage-selected-work-header {
		margin-bottom:0 !important;
		font-size:22px !important;
	}
	.vc_single_image-wrapper .wpb_single_image_caption {
		top:70px !important;
		left:35px !important;
		font-size:30px !important;
	}
	
	.frontpage-empty-space-above-testimonial-header {
		height:35px !important;
	}
	.frontpage-testimonial-header {
		margin-bottom:35px !important;
		font-size:22px !important;
		text-align:left;
		margin-left:-22px;
	}
	.testimonial-entry-details {
		font-size:16px !important;
	}
	
	.about-us {
		padding-bottom:20px;
	}
	.about-us p {
		font-size:18px;
		line-height:26px;
	}
	.about-us p a {
		line-height:18px !important;
	}
	.frontpage-contact-section .wpex-vc-column-wrapper {
		padding:50px 0 !important;
	}
}

@media only screen and (max-width:370px) {
	.vc_single_image-wrapper .wpb_single_image_caption {
		left:55px !important;
	}
}


.flexion-medium-show {
	display:none;
}

/* Generals */

@media only screen and (max-width:767px) {
	.flexion-background-position-fix {
		min-height:450px !important;
		background-position:right !important;
	}
	.flexion-row .wpb_wrapper {
		border:0 !important;
		padding:0 !important;
		margin:0 !important;
	}
	.flexion-medium-hide {
		display:none;
	}
	.flexion-medium-show {
		display:block;
	}
	.flexion-paragraph {
		font-size:18px !important;
		padding:30px 20px !important;
	}
	.flexion-profile-info {
		padding:25px !important;
	}
	.flexion-profile-info a {
		text-decoration:underline;
	}
	.flexion-profile-info p {
		font-size:16px;
		word-break:break-word;
	}
	.c-info {
		margin-top:0 !important;
	}
	.flexion-medium-profile-image .wpb_wrapper {
		height:100%;
	}
	.flexion-flex-row > .vc_column-inner > .wpb_wrapper {
		display:flex;
		flex-direction:row;
		flex-wrap:wrap;
		align-items:stretch;
	}
	.flexion-flex-order-2 {
		order:2;
	}
	.flexion-flex-row > .vc_column-inner > .wpb_wrapper > *:nth-child(n+2) {
		width:50%;
	}
	.flexion-no-padding, .flexion-no-padding > .vc_column-inner, .flexion-no-padding .wpb_wrapper {
		padding:0 !important;
	}
	.flexion-60px, .flexion-60px span {
		font-size:60px;
	}
	.flexion-60px > .vcex-milestone-number {
		margin-top:-30px;
	}
	.flexion-last-work-section > .vc_column-inner > .wpb_wrapper {
		padding: 30px !important;
	}
	.flexion-title, .flexion-title span {
		font-size:30px !important;
	}
	.flexion-smaller-title, .flexion-smaller-title span {
		font-size:23px !important;
	}
	.flexion-text, .flexion-text em, .flexion-text p {
		font-size:17px;
	}
	.flexion-section, .flexion-section .wpb_wrapper {
		padding: 20px 2% !important;
	}
	.flexion-section-image .vc_single_image-wrapper {
		width:50%;
	}
	.flexion-4p-top-padding {
		padding-top:4% !important;
	}
	.flexion-40px-bottom-padding {
		padding-bottom:40px !important;
	}
	.flexion-auto-height, .flexion-auto-height .wpb_wrapper {
		height:auto !important;
	}
	.flexion-contact-profile {
		display:flex;
		flex-direction:row;
		font-size:16px;
	}
	.flexion-contact-profile > div {
		width:50%;
	}
	.flexion-contact-profile-image {
		min-height:300px;
		background-size:cover;
	}
	.flexion-contact-profile > div:nth-child(2) {
		align-self:flex-end;
		padding:14px;
	}
	.flexion-contact-profile a {
		font-size:13px;
		word-break:break-all;
	}
	.flexion-dark {
		background-color:#31353c;
		color:white;
	}
	.flexion-dark a {
		color:white;
		text-decoration:underline;
	}
}

@media only screen and (max-width:500px) {
	.flexion-small-hide {
		display:none !important;
	}
}

@media only screen and (max-width:430px) {
	.flexion-flex-row > .vc_column-inner > .wpb_wrapper {
		align-items:flex-start;
	}
	.flexion-flex-row > .vc_column-inner > .wpb_wrapper > *:nth-child(n+2) {
		width:100%;
	}
	.flexion-medium-profile-image {
		height:200px;
	}
	.flexion-medium-profile-image .wpb_wrapper > div {
		height:300px;
		margin:auto;
	}
	.flexion-flex-order-2 {
		order:0;
	}
}