/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/



@media screen and (min-width: 1001px) {
	.mobile-only-nav {
		display: none!important;
	}
}


/* SNOW CSS
#featured .slide:after {
content: '';
   display: block;
   position: absolute;
   z-index: 999999999999999 !important;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   pointer-events: none;
	background-image: url('https://www.dropbox.com/s/bgwuzfu83pjb5s1/divi-life-snowflakes-a-2?dl=1.png'),
url('https://www.cjsnw.co.uk/wp-content/uploads/2017/11/s2.png'),
url('https://www.cjsnw.co.uk/wp-content/uploads/2017/11/s3.png');
		-webkit-animation: snow 15s linear infinite;
	-moz-animation: snow 15s linear infinite;
	-ms-animation: snow 15s linear infinite;
	animation: snow 15s linear infinite;
  
}
@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}
@-moz-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 400px 1000px, 200px 400px, 100px 300px;}
}
@-webkit-keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

*/

.wpcf7-form-control-wrap {
	display: inline !important;
}

div[data-style="minimal"] .toggle {
	border-bottom: solid 2px #9e0000 !important;
}


/* Footer Blog Posts Fix */

.recent_posts_extra_widget .post-widget-text {
	float: left;
}


/* Social Media Coloring */

#footer-outer #copyright li a i,
#header-secondary-outer #social li a [class*="fa-twitter"] {
	color: #4099FF !important;
}

#footer-outer #copyright li a i,
#header-secondary-outer #social li a [class*="fa-facebook"] {
	color: #3b5998 !important;
}

#footer-outer #copyright li a i,
#header-secondary-outer #social li a [class*="fa-youtube"] {
	color: #bb0000 !important;
}

#footer-outer #copyright li a i,
#header-secondary-outer #social li a [class*="fa-instagram"] {
	color: #8a3ab9 !important;
}

#footer-outer #copyright li a i,
#header-secondary-outer #social li a [class*="fa-linkedin"] {
	color: #0077B5 !important;
}

#footer-outer #copyright li a i,
#header-secondary-outer #social li a [class*="fa-google-plus"] {
	color: #db3236 !important;
}


/* Blog slider adjustments */

.nectar-recent-posts-slider .inner-wrap {
	left: 20px !important;
	text-align: center;
	width: 100%;
	max-width: 100%;
	margin: auto;
	padding: 10%;
	box-sizing: border-box;
}

.nectar-recent-posts-slider .flickity-page-dots {
	display: none;
}


/* Button Restyling */

.regular-button {
	background: #FFF;
	border: #FFF 4px solid;
}

.regular-button:hover {
	background: #fff!important;
	color: #000 !important;
	border: #9e0000 4px solid;
	border-left: 0px;
}


/* Twitter Recolor */

#social>li:nth-child(1)>a>i {
	color: #4099FF !important;
}

#social>li:nth-child(2)>a>i {
	color: #335795 !important;
}

#social>li:nth-child(1)>a {
	color: #4099FF !important;
}

#social>li:nth-child(2)>a {
	color: #335795 !important;
}


/* H2 Links - Hover */

.after_slider h2 {
	border: #000 4px solid;
	border-left: 0px;
}

.after_slider h2:hover {
	background: #fff !important;
	color: #000 !important;
	border: #9e0000 4px solid;
	border-left: 0px;
}


/* Adds Border After Slider */

.after_slider {
	border-top: #9e0000 solid 4px;
}


/* Home Page Slider - Button Edits */

#featured article .post-title>a {
	top: 60px !important;
	background: #9e0000 !important;
	border: 4px white solid !important;
	font-weight: bold;
	padding: 20px 24px !important;
}

#featured article .post-title>a:hover {
	background: #fff!important;
	color: #000;
}


/* Footer Menu Fix - Reduce Line Height */

#footer-outer #footer-widgets .col ul li {
	line-height: 20px;
}


/* Facebook iFrame Border Bottom */

iframe {
	border-bottom: solid #9e0000 4px !important;
	width: 100%;
}


/* Mobile Nav - Fixes Navigation */

@media only screen and (max-width: 1000px) and (min-width: 1px) {
	div.slider-nav {
		margin: -80px auto 0px auto !important;
	}
}


/* Marc Custom CSS */

.quotation_text {
	font-size: 22px;
	line-height: 2.5rem;
}

.highlight_block {
	padding: 20px;
}

.case_study_gallery h4 {
	font-size: 24px !important;
}

.after_slider.after_slider_alt h2 {
	border-left: 4px solid #fff;
}

.after_slider.after_slider_alt h2:hover {
	border-color: #9e0000;
}

#core-features .centered-text .divider-small-border {
	margin: 25px 0;
}

#bayfields_title h2 {
	border: 4px solid #fff;
	padding: 10px 20px;
}

.nectar-flickity:not(.masonry) .flickity-viewport {
	margin: 40px 0 80px;
}

#features .centered-text .divider-small-border {
	margin: 25px 0;
}

#features .col.centered-text,
#features .wpb_column.centered-text {
	text-align: left;
}

.bayfields_hero p {
	font-size: 18px;
}


/* Custom - Retail Page */

#custom_page_title h2 {
	border: #fff 4px solid;
}

.custom_page_highlight_side p {
	font-size: 18px;
	line-height: 2.35rem;
	font-style: italic;
}

.custom_page_highlight_side .custom_testimonial_name p {
	font-size: 12px;
	line-height: 1.5rem;
}

.custom_page_fullinfo {
	font-style: italic;
	padding: 40px;
}

#custom_page_information h4 {
	color: #fff;
}

#custom_red_block p {
	color: #fff;
}

#custom_red_block a {
	color: #fff;
	text-decoration: underline;
}

#custom_red_block a:hover {
	text-decoration: none;
}

.custom_red_block_aside p {
	font-style: italic;
}

.custom_quotation p {
	font-style: italic;
	font-size: 22px;
	line-height: 2.35rem;
}

#home_testimonial .testimonial_slider blockquote p {
	line-height: 38px;
}

