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

/*
 * New styling from WP Project 2019 
 */

@media only screen and (max-width: 780px) 
{
	.fusion-logo img {
		margin-top: -30px !important;
		margin-bottom: -30px !important;
		margin-left: -35px !important;
	}
}

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

@media only screen and (min-width: 781px)
{
	/*#main {
	 * padding: 0px !important;
	 * }*/
	
	#content div:first-child.single-navigation {
		padding: 0px 15px;
	}
	
	article.post {
		padding: 0px 15px;
	}
	
	/*#departments {
	margin-top: -95px;
	z-index: 1000 !important;
	position:relative;
	}*/
	 
	#rev_slider_2_1_wrapper {
	 z-index: 1;
	}
	
	.attachment-blog-large wp-post-image {
		width: 100% !important;
		height: 100% !important;
	}
	
	/*#filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000');*/
	
	.front-page-story {
		width: 672px !important; height: 505px !important;
	}
	
	.bottomtxfbnews {
		padding-top: -30px !important;
	}
	
	.featurednewsposthome {
		padding: 0 !important; margin-bottom: 0px !important
	}
	
	h3.fusion-timeline-date {
		color: #ffffff !important;
	}
	
	.txfbnewsbuttons {
		display: none !important;
	}
	
	.sidebar {
	    width: 23% !important;
	    background-color: transparent;
	    padding: 0;
	}
	
	.fusion-post-content {
		padding-left: 10px; padding-left: 5px;
	}
	
	.blog-box {
		padding-bottom: 10px !important;
	}
	
	.blog-box-right {
		padding-bottom: 10px !important;
	}
	
	.editorialheadline {
	    border: solid #dfdfdd;
	    border-width: .1rem .1rem .1rem;
	    border-top-style: solid;
	    border-top-width: 4px;
	    border-top-color: #008ce1;
	    background: #fff;
	}
	
	#fusion-post-wrapper {
	    border-top-style: solid !important;
	    border-top-width: 4px !important;
	    border-top-color: #008ce1 !important;
	    background: #fff !important;
	}
	
	.recentbloglist {
	    border: solid #dfdfdd;
	    border-width: 0 .1rem .1rem 0;
	    border-top-style: solid;
	    border-top-width: 4px;
	    border-top-color: #002d5a;
	    background: #fff;
	}
	
	.recentvideolist {
	    border: solid #dfdfdd;
	    border-width: 0 .1rem .1rem 0;
	    border-top-style: solid;
	    border-top-width: 4px;
	    border-top-color: #d70019;
	    background: #fff;
	}
	
	hr.style-two {
	    border: 0;
	    height: 1px;
	    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
	}
}

@media (max-width: 780px) 
{
    #departments
    {
        display: none;
    }
}

@media (max-width: 780px) 
{
    .departments
    {
        display: none;
    }
	
	aside.sidebar { 
		padding: 0px 15px !important;
		margin-top: 25px;
	}
	
	aside #cssmenu {
		padding: 0;
	}
}

@media (max-width: 780px)
{
	.featured-news-youtube
	{
		margin-left: auto;
		margin-right: auto;
	}

	
	
}

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
	
	.desktopmarkets {
		display: none;
	}


}

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
	
	.desktopaboutpage {
		display: none;
	}
}

@media screen and (min-width:1000px) {
    .mobileaboutpage {display:none}
}

@media screen and (min-width:1200px) {
    .desktopmarketweather {display:none}
    .mobileaboutpage {display:none}
}

@media (max-device-width: 780px) {

       .featurednewsposthome {
             width: 100% !important;
	}

	.aboutimagecopy {
		display: none;
	}

	.aboutpagecopy {
		width: 900px !important;
	}

}

#youtube {
padding-left: -35px;
}

#newshome {
padding-left: 50px;
}

#publications {
margin-left: 10%;
padding-top: 10%;
}

.youtube_news {
margin-top: 10%;
}

.content-box-heading { font-size: 125%; }
a:hover content-box-heading { color: #008ce1; font-size: 125% !important; }

.entry-title {
	font-weight: 300 !important;
	width: 100% !important;
}

.fusion-breadcrumbs { 
	font-size: 16px !important;
	font-weight: 300;
}

.fusion-modal-text-link { color: #008ce1 !important; }



.wp-caption-text { font-style: italic !important; }

#priority-links { width: 45%; margin-left: auto; margin-right: auto;}

.aglead-list {  padding: 10px; }

.farmlead-landing { margin-top: -2% !important; }

#member_text {
margin-left: -10%;
padding-top: 5%;
}

#member_button {
padding-top: -2%;
}

#member_text2 {
margin-right: -15%;
padding-top: 5%;
padding-left: 3%;
}

#aboutpage {
width: 60%;
text-align: center;
margin: 0 auto;

}

.fusion-toggle-heading {
	font-size: 18px;
}

#aboutpage-row { vertical-align: text-top; }

a.anchor {display: block; position: relative; top: -200px; visibility: hidden;}

#pic{opacity: 1; filter: alpha(opacity=100); } 
#pic:hover{ opacity: 0.3; filter: alpha(opacity=30); } 

.aboutpage_info { padding-bottom: 25px; padding-top: 15px;}

.person-name { font-size: 20px; }

.person-title { font-size: 19px; }

.person-content { padding-right: 20px; }

.person-name { font-weight: bold; }

.person-title { font-size: 18px; }

.fusion-carousel-item-member { width: 80%; height: auto; margin:auto;}

.advocacy-images { width: 209px; height: 211px; }

.sidebar { width: 10%; margin: 0; padding: 0;  }


.advocacy_links { color: #008ce1 !important; }

.verticalline {
    border-left: thin solid #ff0000;	
}

#publication-main-image img {
width: 300px !important;
height: auto !important;
}
.recent-title {
	font-size: 22px !important;
	font-weight: 300 !important;
	width: 100% !important;	
	line-height: 32px !important;
}

.one-third-wrapper {
	height: 380px !important;
}

.fusion-column-wrapper-short{
	min-height: 400px !important;	
}

/*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000');*/

.modal-xlg {
    min-width: 500px !important;
    min-height: 900px !important;
}

.post {
	margin-bottom: 20px !important;
}