/*
Theme Name: Rebecca Matthews
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*****************************************
***************** GLOBAL *****************
******************************************/

body {
	background-image: url('/wp-content/uploads/site-background-dark.jpg') !important;
	background-position: center top !important;
}

.fusion-footer {
	margin: 0 auto;
    max-width: 1280px;
}

@media (max-width: 800px) {
body #toTop {
	right: 30px;
}
}

 ul {
 	margin-bottom: 30px;
 }

body .tfs-slider .slide-content-container.slide-content-left .buttons {
	margin-left: 0px;
    margin-right: 0px;
}

.fusion-section-separator .divider-candy.bottom {
border: none !important;
}

 .fusion-placeholder-image {
 	background: url('/wp-content/uploads/2017/02/post-placeholder-bg.jpg') no-repeat;
 	background-size: cover;
 }

#main a:not(.fusion-button) {
border-bottom: 1px dotted #a5a5a5;
}

.button-dark-bg {
border: 1px solid #fff !important;
width: auto !important;
}

/* FORMS */

.wpcf7-form .wpcf7-select {
height: 35px !important;
}

label{display:inline-block;width: 100%;}
input{display:block;}

form.widget_wysija {
display: table;
padding: 20px;
    border: 1px solid #dadada;
}

form.widget_wysija .fusion-header-tagline {
    display: table-row !important;
font-size: 16px;
color: #502368;
}

form.widget_wysija .wysija-paragraph {
    display: table-cell;
    position: relative;
vertical-align: bottom;
}


@media (min-width: 601px) and (max-width: 1023px) {

form.widget_wysija .wysija-submit {
margin-top:33px;
}

}

@media (max-width: 600px) {

form.widget_wysija {
margin-top: 20px;
}

form.widget_wysija .wysija-paragraph {
display: block !important;
margin-bottom: 0px;
margin-top: 0px;
}
form.widget_wysija .wysija-submit {
margin-top: 0px;
}
}

form.widget_wysija .wysija-submit {
display: table-cell !important;
}

form.widget_wysija .formError {
    bottom: 0;
    left: 0 !important;
    top: auto !important;
    padding-left: 0px;
    width: 100%;
position: relative !important;
}

form.widget_wysija .formError .formErrorContent {
    background: none;
    color: red;
    border: none;
    padding-left: 0px;
}


a:not(.fusion-button):hover {
color: #b63eff !important;
}

.fusion-button:hover .fusion-button-text {
color: #fff;
}

.fusion-sticky-header-wrapper {
height: auto !important;
}

.fusion-carousel-title a {
font-weight:bold;
}

.single-post .entry-title {
text-align: center;
}

.single-post .entry-title:after {
    content: "";
    width: 50px;
    border-top: 2px solid purple;
    display: block;
    margin: 10px auto;
}

/* Modals */
 .remodal-wrapper {
 	z-index: 999999999 !important;
 }

 .remodal-overlay {
	z-index: 999999 !important;
 }

 .remodal p {
 	text-align: left;
 }

.inner-shadow {
-webkit-box-shadow: inset 0px 0px 100px 22px rgba(29,19,66,0.5);
-moz-box-shadow: inset 0px 0px 100px 22px rgba(29,19,66,0.5);
box-shadow: inset 0px 0px 100px 22px rgba(29,19,66,0.5);
}

#wrapper #main .fusion-post-content > h2.entry-title {
line-height: 25px !important;
}

.fusion-post-content-container p {
line-height: 1.5;
}

.fusion-testimonials {
position: relative;
}

.white-bg .fusion-testimonials:before {
content: "\f10d";
font-family: FontAwesome;
position: absolute;
top:0;
left:0;
font-size: 20px;
}

.dark-bg .fusion-testimonials:before {
content: "\f10d";
font-family: FontAwesome;
color: #fff;
position: absolute;
top:0;
left:0;
font-size: 20px;
}

.tfs-slider .slide-content-container {
top: 56% !important;
}

.seminar-category h2 span {
font-size: 45px;
text-shadow: 0px 0px 12px #000;
position:relative;
z-index:10;
}

.fusion-testimonials .author {
display: none !important;
}

.fusion-testimonials .testimonial-pagination {
margin-top: 0px;
}

.seminar-category:before {
 	content: "";
 	position: absolute;
 	width: 100%;
 	height: 100%;
 	background:url('/wp-content/uploads/halftone-pattern.png') repeat;
 	z-index: 5;
 }

::-webkit-input-placeholder { color: #333; opacity: 1 !important; }
:-moz-placeholder { color: #333;}
::-moz-placeholder {color: #333;}
:-ms-input-placeholder {color: #333;}


/*****************************************
***************** RESPONSIVE *****************
******************************************/

@media only screen and (max-device-width: 640px) and (min-device-width: 320px) {
#content {
margin-bottom: 0px !important;
}
}

@media (max-width: 480px) {

h2 {
line-height: 20px !important;
}

.home .fusion-equal-height-columns .fusion-column-tablecell {
display: block;
}

.stylistHome img {
display: block;
margin: auto;
}

.stylistHome {
margin: auto;
}

.stylistHome h3 {
text-align: center;
}

.stylistHome td {
display: block;
width: 100%;
}

.seminar-category h2 span {
font-size: 25px;
}

}

@media only screen and (max-width: 799px) {

	.fusion-logo img {
		max-width: 60%;
	}

	/*
	.fusion-equal-height-columns .fusion-column-tablecell {
		height: 230px;
	}

	.seminar-category > .fusion-column-wrapper {
		background-position: center !important;
	}
	*/
	.seminar-category > .fusion-column-wrapper h2 {
		line-height: 40px !important;
	}

	.home .seminar-category>.fusion-column-wrapper h2 {
		margin-top: 35px;
	}

}

@media only screen and (max-width: 1100px) {
	.page-id-388 .fusion-two-fifth,
	.page-id-388 .fusion-three-fifth {
		width: 100%;
	}

	.seminar-category > .fusion-column-wrapper {
		background-position: 50% 20% !important;
	}

	.page-id-388 .fusion-equal-height-columns .fusion-column-table {
		height: 230px !important;
	}

	.page-id-388 .fusion-equal-height-columns .fusion-column-table h2 {
		margin-bottom: 0px;
	}

}

@media only screen and (min-width: 1024px) {
	#wrapper {
		margin-top: 70px !important;
	}
}

@media only screen and (max-width: 1320px) {
	#wrapper, .fusion-footer {
		max-width: 90% !important;
	}
}

blockquote,
blockquote q {
	background-color: transparent !important;
}



/*****************************************
***************** NAV *****************
******************************************/


.fusion-main-menu > ul > li:last-child {
padding-right: 0 !important;
}

@media only screen and (min-width: 1024px) {
	.fusion-header-tagline {
		position: relative;
		top: 38px;
	}
}

@media only screen and (min-width: 1024px) and (max-width: 1169px) {
	.fusion-main-menu > ul > li {
		padding-right: 40px !important;
	}
}

/*****************************************
***************** HOME *****************
******************************************/
.stylistHome img {
	padding: 1em;
	max-width: none !important;
}

.fusion-secondary-main-menu {
width: 100% !important;
}

@media (max-width: 480px) {
.tfs-slider .background-image {
background-position: 50% 50% !important;
}
}

@media only screen and (max-width: 596px) {
	.tfs-slider .slide-content-container .fusion-title-size-two h2 {
		font-size: 18px !important;
		line-height: 19px !important;
	}
}

@media (max-width: 799px) {
.page-id-388 .fusion-two-fifth .fusion-column-wrapper {
		height: 230px !important;
		min-height: 0px !important;
	display: table;
    width: 100%;
	}

.page-id-388 .fusion-column-content-centered {
    display: table-cell !important;
    vertical-align: middle;
}

}

@media only screen and (min-width: 597px) and (max-width: 799px) {
.tfs-slider .slide-content-container .fusion-title-size-two h2 {
font-size: 30px !important;
line-height: 31px !important;
}
}

@media (min-width: 481px) {
.tfs-slider .background-image {
background-position: right -30px !important;
}
}

.tfs-slider .slide-content-container .tfs-button-1, .tfs-slider .slide-content-container .tfs-button-2 {
margin-top: 1% !important;
padding-left: 0px !important;
}

.home-stylist-column {
	position:relative;
}

.home-stylist-column:before {
	content: "";
	position:absolute;
	width:100%;
	height:4px;
	bottom:0;
	left: 0;
	background-color: #622c83;
	visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.home-stylist-column:hover:before {
	visibility: visible !important;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

@media only screen and (min-width: 801px) {
	.home-stylist-column {
		border-right: 1px solid #9b9b9b;
	}

	.home-stylist-column-last {
		border-right: none;
	}

	.services-top-left {
		border-right: 1px solid #9b9b9b;
		border-bottom: 1px solid #9b9b9b;
	}

	.services-top-right {
		border-bottom: 1px solid #9b9b9b;
	}

	.services-bottom-left {
		border-right: 1px solid #9b9b9b;
	}

}

.service-box-grid:hover {
	background-color: rgba(80,35,104,0.1);
}

/*****************************************
***************** BIOGRAPHIES *****************
******************************************/

.favorite-stores-list a,
.resale-stores-list a,
.dotted-underline-links a {
border-bottom: 1px dotted #444; 
}

.page-id-1485 #main,
.page-id-1540 #main,
.page-id-1544 #main,
.page-id-1657 #main {
padding: 0 !important;
}

.page-id-1540 .favorite-stores-list,
.page-id-1544 .favorite-stores-list {
margin-top: -40px;
}

@media only screen and (min-width: 801px) {
.page-id-1485 #main > .fusion-row,
.page-id-1540 #main > .fusion-row,
.page-id-1544 #main > .fusion-row,
.page-id-1657 #main > .fusion-row,
.page-id-1657 #main .fullwidth-box .fusion-row {
max-width: none !important;
}
}

@media only screen and (max-width: 800px) {
.bio-portrait {
padding: 6% 6% 0 6%;
}
}

@media only screen and (max-width: 801px) {
.biography > .fusion-column-wrapper {
padding: 30px !important;
}
}

@media only screen and (width: 800px) {
	.bio-portrait > .fusion-column-wrapper {
		    background-size: contain !important;
	}
}

@media only screen and (min-width: 801px) and (max-width: 949px) {
	.bio-portrait > .fusion-column-wrapper {
		    background-position: 65% -50px !important;
		    min-height: 860px !important;
	}
}

@media only screen and (min-width: 950px) and (max-width: 1245px) {
	.bio-portrait > .fusion-column-wrapper {
		    background-position: 70% -40px !important;
	}
}

@media only screen and (min-width: 1246px) {
.bio-portrait > .fusion-column-wrapper {
    background-position: right -70px !important;
}
}

/*****************************************
***************** MEDIA *****************
******************************************/
.media-posts-grid .fusion-post-wrapper .fusion-post-content-wrapper {
	padding-bottom: 30px;
}

.media-posts-grid .fusion-flexslider .slides {
	pointer-events: none !important;
}

/*****************************************
***************** BLOG *****************
******************************************/
.single-post #main .post-content:after {
    content: "";
    display: table;
    clear: both;
}

.fusion-social-networks.boxed-icons .fusion-social-network-icon {
color: #fff !important;
}

/*****************************************
***************** MEDIA *****************
******************************************/

#mediaBlock h2.entry-title {
    text-align: center;
    margin-bottom: 15px;
}

/*****************************************
***************** FOOTER *****************
******************************************/
.fusion-social-networks .fusion-social-network-icon {
    color: #46494a !important;
}