/*
Theme Name: Avada Child
Description: Child theme for the Avada
Author: Your name here
Template: Avada
*/

input,
textarea,
select { font: 13px/20px 'Source Sans Pro', Arial, Helvetica, sans-serif; }

#nav, #sticky-nav, .navigation, .side-nav li a { font-weight: bold; }

.fusion-content-boxes { margin-bottom: 20px; }
.fusion-reading-box-container {margin-bottom: 20px; }

.footer-area a { text-shadow: none; }
.footer-area .textwidget,
#jtwt .jtwt_tweet,
#sidebar #jtwt .jtwt_tweet { 
	font-size: 15px !important; 
	line-height: 22px !important; 
}
.footer-area #jtwt .jtwt_tweet a.jtwt_date { color: #cc3e12; }

/* Top social header section */
.fusion-social-links-header { margin-top: 8px; margin-top: 6px; }
.header-social .header-info, .header-social .top-menu { line-height: 40px; }

/* For dark background sections, change font colors */
.ts-darkbg { color: #ddd; }
.ts-darkbg a,
.ts-darkbg a:before,
.ts-darkbg a:after,
.ts-darkbg .single-navigation a[rel="prev"]:before,
.ts-darkbg .single-navigation a[rel="next"]:after { color: #cc3e12; }
#main .ts-darkbg h1, 
#main .ts-darkbg h2, 
#main .ts-darkbg h3, 
#main .ts-darkbg h4, 
#main .ts-darkbg h5 { color: #99cc33; }

/* Page Titles - BOLD, centered, red tagline */
#wrapper .page-title h1 { font-weight: bold; }
.page-title, .page-title h1 { text-align: center; }
.page-title h3 { color: #cc3e12; }

/* Footer area */
.footer-area { border-top-width: 6px; } 

/* Splash on front page */
.ts-splash h1,
.ts-splash p { padding-right: 15%; }

/* Speaker carousel front page */ 
.ts-carousel .es-nav-prev,
.ts-carousel .es-nav-next { background-color: #99cc33; }
.ts-carousel .es-carousel-wrapper .es-nav .es-nav-prev:before, 
.ts-carousel .es-carousel-wrapper .es-nav .es-nav-next:before { font-size: 18px; color: #222; }
.ts-carousel .es-carousel-wrapper.fusion-carousel-small .es-carousel ul li img { border: 2px solid #fff; }
.ts-carousel { margin-bottom: 10px; }

/* RSS Blog Feed Plugin - styles */
.rssmi_wrap .title { margin-bottom: 15px; }
.rssmi_wrap .title a { color: #99cc33; }
.rssmi_wrap .imagefix { margin: 0 20px 20px; }
.rssmi_wrap .imagefix, .rssmi_wrap imagefix img { width: 200px; } /* IE 8 fix */
.rssmi_wrap .date { margin-bottom: 15px; color: #ffffff; font-style: italic; }
.rssmi_wrap .body { color: #ddd; }

/* TADS 2013 section styles for About page */
.ts-tads2013-review a:hover { color: #cc3e12; }
.ts-tads2013-review a,
.ts-tads2013-review a:before,
.ts-tads2013-review a:after,
.ts-tads2013-review .single-navigation a[rel="prev"]:before,
.ts-tads2013-review .single-navigation a[rel="next"]:after { color: #fff; }
p.ts-tads2013-more { 
	text-align: center; 
	font-size: .8em;
	line-height:1.4em; 
}
.ts-tads2013-more a { color: #444; } 

/* TADHack photo carousel for About page */
.ts-hackathon-photos .es-nav-prev,
.ts-hackathon-photos .es-nav-next { background-color: #333; }
.ts-hackathon-photos .es-carousel-wrapper .es-nav .es-nav-prev:before, 
.ts-hackathon-photos .es-carousel-wrapper .es-nav .es-nav-next:before { font-size: 18px; }
.ts-hackathon-photos .es-carousel-wrapper.fusion-carousel-small .es-carousel ul li img { border-width: 0px; }
.ts-hackathon-photos { margin-bottom: 0; }

/* Style for About page - TADHack section */
.ts-more-photos { margin-bottom: 0; }

/* Youtube Embed - center video */
.ts-youtube { margin: 0 auto; }

/* Pricing table for Register page */
.ts-register table { width: 100%; background: url(http://tadsummit.com/2014/wp-content/uploads/2014/07/ish-transparent-stripes-dark.png); }
.ts-register td { padding: 20px 16px; }
.ts-register tr { border: 1px #aeaeae solid; }
.ts-register .two_third { 
	margin-right: auto; 
	margin-left: auto;
	float: none;
}
.ts-register .one_third { display: none; }

/* Contact Form styles */
span.wpcf7-form-control-wrap { display: inline-block; width: 100%; }
.wpcf7-form { color: #99cc33; }
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-quiz,
.wpcf7-form .wpcf7-number,
.wpcf7-form .wpcf7-captchar,
.wpcf7-form .wpcf7-date,
.wpcf7-form .wpcf7-textarea,
.wpcf7-form .wpcf7-select { font-size: 16px; }

/* Location page styles */
.ts-location-summary { 
	-webkit-background-size:auto !important;
	-moz-background-size:auto !important;
	-o-background-size:auto !important;
	background-size:auto !important;
}
.ts-location-smallpics img { margin-bottom: 22px; }
.ts-location-smallpics img.ts-img-last { margin-bottom: 0; }

/* Photos page */
.ts-photo-gallery .one_fourth { width: 25%; margin-right: 0; margin-bottom: 0; }
.ts-photo-gallery .one_third { width: 33.333%; margin-right: 0; margin-bottom: 0; }
div.pp_default .pp_description { font-size: 14px; }

@media only screen and (max-width: 800px) {
	/* limit footer image size */
	.footer-area img { max-width: 300px; }
	
	.ts-splash h1, 
	.ts-splash p { padding-right: 35%; }
	#wrapper .page-title-container .page-title h3 {	
		line-height: 25px !important; 
		margin-top: -3px; 
	}
	/* photos page */
	.ts-photo-gallery .one_fourth { width: 100%; margin-right: 0; margin-bottom: 0; }
	.ts-photo-gallery .one_third { width: 100%; margin-right: 0; margin-bottom: 0; }

}

@media only screen and (max-width: 640px) {
	#wrapper .page-title-container .page-title h1 {
		font-size: 23px !important;
		line-height: 28px !important;
	}
	#wrapper .page-title-container .page-title h3 {
		margin-top: 0; 
	}
}
@media only screen and (max-width: 480px) {
	/* Hide social icons on small devices */
	.header-v3 .header-social .alignright { display: none; }
	.header-v3 .header-social .alignleft { margin-bottom: 0 !important; }

	/* Ensure that page title is centered */
	.page-title-wrapper {  margin-left: auto; margin-right: auto;}

	/* Tighten Splash heading for smaller devices */
	.post-content .ts-splash h1 { line-height: 42px; }

	/* Fix Register page table for iPhones / small touchscreens */
	.ts-register table { width: 100%; }
	.ts-register td { padding: 20px 6px; }

	/* Center RSS feed images for iPhones / small touchscreens */
	.rssmi_wrap .imagefix { 
		float: none;
		width: 100%;
		margin: 0 0 10px;
		text-align: center; }
	.rssmi_wrap .imagefix img { margin: 0 auto; }
}