/*
 Theme Name:   TheWorld Child
 Theme URI:    http://www.theme-junkie.com/themes/theworld
 Description:  TheWorld Child Theme
 Author:       JTImages Inc.
 Author URI:   http://www.jtimages.com
 Template:     theworld
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  theworld-child
*/

html {
    width: 100% !important;
}

#primary-mobile-menu {
	display:none !important;
}

#featured-content .jcarousel-pagination a.active, #carousel-1, .more-content-link a:link, .more-content-link a:visited, .pagination .prev, .pagination .next, #respond button, .subscribe-widget button, #contact-form button, .contact-form button, #contact-form input[type="submit"], .contact-form input[type="submit"], #secondary-bar {
    background-color: #0C0C3B !important;
}

#footer {
    background-color: #0C0C3B !important;
	color: #ffffff !important;
}

.mainbanner {
    background-image: url("images/main1.jpg");
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: center top;
	min-height: 325px;
	background-size: cover;
}

.tiles {
    background: none repeat scroll 0 0 #d7d7d9;
	padding: 20px;
}

.page-title {
	color: #0c0c3b !important;
}

.hometiles {
	float: left;
    padding: 0 65px 0 0;
    width: 33%px;
	text-align:center;
}

.hometiles:last-child {
    padding-right: 0 !important;
}

img {
    height: auto;
    max-width: 100%;
    width: 100%;
}

#secondary-nav .sf-menu li a:hover, #secondary-nav .sf-menu li.current-menu-item a {
	color: #0C0C3B;
	font-weight:bold;
	background: #fff;
}

div.wpcf7 img.ajax-loader {
	width: auto;
}

.gfield_required {
    color: #ff0000;
    margin-left: 0.25em;
}

.wpcf7-submit {
	cursor:pointer;
}

#dynamic_select, #epaccontribselect {
    border: 1px solid #e6e6e6;
    font-family: "Titillium Web",Arial,sans-serif;
    height: 40px;
    padding: 0 15px;
}

#associate-members-table td {
	vertical-align: middle;
}

.epaccontribdiv {
	display:none;
}

/* Mobile start */

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) { 
/* Mobile phones */

	.mainbanner {
		min-height: 80px !important;
	}

	.hometiles {
		padding: 0 !important;
	}

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { 
/* Mobile tablet */
	.mainbanner {
		min-height: 180px !important
	}
	
	.hometiles {
		padding: 0 5px 0 0 !important;
	}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) { 
/* Mobile tablet */
	#secondary-nav .sf-menu li a {
		padding: 0 19px !important;
	}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 
/* Mobile tablet */
	.hometiles a img {
		max-width: 235px !important;
	}
}


/* Used to alter styles for screens at least 1280px wide. */
@media only screen and (max-device-width: 1280px) {
	#secondary-nav .sf-menu li a {
		padding: 0 18px !important;
	}
	
	#secondary-nav .sf-menu li ul.sub-menu li a {
		padding: 15px 0 !important;
	}
	
	.hometiles {
		padding: 0 5px 0 0 !important;
	}
}

@media screen and (max-width: 640px) {
   .page-id-57 table td, .page-id-41 table td, .page-id-66 table td {
		width: 90% !important;
		float: left !important;
		border-top: 1px solid #e0e0e0 !important;
		border-right: 1px solid #e0e0e0 !important;
	}
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1280px) {
	#secondary-nav .sf-menu li a {
		padding: 0 16px !important;
	}
	
	#secondary-nav .sf-menu li ul.sub-menu li a {
		padding: 15px 0 !important;
	}
	
	.sf-arrows .sf-with-ul::after {
		margin-right: 0 !important;
	}
}

/* Fixes */

@media only screen and (max-width: 1280px) {
	.hometiles {
		padding: 0 5px 0 0 !important;
	}
	#secondary-nav .sf-menu li a {
		padding: 0 12px;
	}
}