/*
Theme Name: CSA
Description: CSA theme based on Twitter Bootstrap 3.2.0.
Version: 1.0.0

*/

/* All files in css folder are auto-enqueued in functions.php */



/*Common
---------------------------------------------------------------*/
@import url(/_ext/fonts.googleapis.com/css__qf897697608.css);

:focus {
	outline: none !important;
}
body, html {
	height: 100%;
}
body {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size: 16px;
	margin-top: 50px;
}

/*Navigation
---------------------------------------------------------------*/
#top-nav {
	background-color: #231F20;
	border: none;
	height: 43px;
	margin-bottom: 0;
}
#desktop-logo {
	margin-top: 15px;
}
#mobile-logo {
	margin: 12px 10px;
}
#mobile-logo img {
	width: 150px;

}

#menu-main_menu li:first-child {
	display: none;
}
#menu-main_menu li a {
	font-weight: 900;
	text-transform: uppercase;
	padding: 10px;
	color: white;
	opacity: 0.2;
	transition: opacity 0.5s linear;
}
#menu-main_menu li a:hover {
	opacity: 1;
}
#menu-main_menu li.active a {
	opacity: 1;
	background: none;
}
#topnav-social {
	margin: 0 -15px;
}
#topnav-social ul {
	padding:0;
	margin: 0;
}
#topnav-social li {
	float: left;
	list-style: none;
}
#topnav-social li#navtop-subscribe {
	float: none;
	margin-left: 8px;
}
#topnav-social li a {
	display: block;
	padding: 16px 8px;
	opacity: 0.2;
	transition: opacity 0.5s linear;
}
#topnav-social li a:hover {
	opacity: 1;
}
#navtop-subscribe {
	margin: 17px 0 0 0;
}
#navtop-subscribe p {
	display: inline-block;
	margin-right: 10px;
}
#navtop-subscribe #s2email {
	background: none;
	border: solid 1px white;
	border-radius: 3px;
	padding: 5px;
	color: white;
	opacity: 0.2;
	transition: opacity 0.5s linear;
}
#navtop-subscribe #s2email:focus {
	opacity: 1;
}
#navtop-subscribe input[type="submit"] {
	opacity: 0.2;
	transition: opacity 0.5s linear;
	margin-top: -4px;
}
#navtop-subscribe input[type="submit"]:hover  {
	opacity: 1;
	background: none;
}
#tp-nav + .container {
	margin-top: 69px;
}
#nav-local {
	background: #333132;
	height: 30px;
}
#nav-local li.active a {
	background: none;
	opacity: 1;
}
#nav-local li a {
	font-size: 14px;
	text-transform: uppercase;
	margin: 0;
	padding: 5px 10px;
	font-weight: 900;
	color: white;
	opacity: 0.3;
	transition: opacity 0.5s linear;
}
#nav-local li a:hover {
	opacity: 1;
}
#nav-local li:last-child {
	clear: right;
}
#navbar-mobile-menu-btn {
	margin-top: 9px;
	border: 0;
	padding: 0;
	color: white;
	
	transition: opacity 0.5s linear;
	background: none;
}
#navbar-mobile-menu-btn.collapsed {
	opacity: 0.2;
}
#navbar-mobile-menu-btn:hover {
	background: none;
	opacity: 1;
}
.navbar-collapse {
	background: #333132;
	border: none;
}

/*Blog
---------------------------------------------------------------*/
body.blog, body.single, body.categody, body.archive {
	background: #E6E7E8;
	color: white;
}

body.blog .csa-content, body.single .csa-content, body.archive .csa-content, body.category .csa-content {
	margin-bottom: 50px;
	margin-top: 30px;
	padding-bottom: 50px;
}
body.blog .csa-main, body.single .csa-main, body.archive .csa-main, body.category .csa-main {
	padding: 0;
}
body.blog .blog-post, body.single .blog-post, body.archive .blog-post, body.category .blog-post {
	padding: 15px;
	background: white;
	margin-bottom: 50px;
}
body.blog p, body.single p, body.archive p, body.category p {
	color: black;
}
body.blog .page-header, body.single .page-header, body.archive .page-header, body.category .page-header {
	border-bottom: 0;
	margin-bottom: 10px;
	margin-top: 20px;
}
body.blog .page-header small, body.single .page-header small, body.archive .page-header small, body.category .page-header small {
	display: block;
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 10px;

}
body.blog .page-header, body.single .page-header, body.archive .page-header, body.category .page-header, body.blog .page-header a, body.single .page-header a, body.archive .page-header a, body.category .page-header a {
	color: black;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
}
body.blog .page-header, body.single .page-header, body.archive .page-header, body.category .page-header {
	margin-top: 0;
	padding-bottom: 0;
}
.page-header + img {
	margin-bottom: 20px;
}
.page-header > small {
	margin-top: 20px;
}


/*Sidebar
---------------------------------------------------------------*/

/*CSA latest updates (Enhanced text widget)*/
.enhanced-text-widget {
	color: black;
	margin-bottom: 10px;
	padding-top: 10px;
	border-top: solid 1px #ccc;
	font-size: 14px;
}
.enhanced-text-widget:first-child {
	border: none;	
} 
.enhanced-text-widget:first-child:before {
	content:"The Latest";
	padding: 10px 0 0 50px;
	text-transform: uppercase;
	color: #231F20;
	font-weight: 900;
	background: url('/_ext/csa.octoplus.co.za/wp-content/themes/csa/img/icon.png') no-repeat left top;
	background-size: contain;
	height: 40px;
	display: block;
	margin-bottom: 10px;
}

/*Twitter feed*/
.tweet_data {
		font: inherit !important;
		font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    line-height: 16px !important;
}
.fetched_tweets {
    margin: 10px 0 0 0 !important;
}
.fetched_tweets > li {

    box-shadow: none !important;
}
.fetched_tweets:before {
	content:"";
	padding: 10px 0 0 50px;
	text-transform: uppercase;
	color: #231F20;
	font-weight: 900;
	background: url('/_ext/csa.octoplus.co.za/wp-content/themes/csa/img/icon-twitter.png') no-repeat left top;
	background-size: contain;
	height: 40px;
	display: block;
	margin-bottom: 10px;
}
ul.light li.tweets_avatar .times a,ul.light li.tweets_avatar .wdtf-screen-name a,ul.light li.tweets_avatar .stats a {
    font-size: 13px !important;
}
li.tweets_avatar {
	padding: 0 !important;
	border-radius: 0 !important;
	margin: -8px -8px 0 -8px !important;
}
.fetched_tweets > li, [data-icon]:before {
    font-family: 'Lato', sans-serif !important;
}
ul.light li.tweets_avatar {
	background: none !important;
}

/*Media Queries
---------------------------------------------------------------*/
@media (min-width: 768px) {

/*Common
---------------------------------------------------------------*/

	body {
		margin-top: 69px;
	}

/*Navigation
---------------------------------------------------------------*/
	#top-nav {
		height: 69px;
	}
	#menu-main_menu {
		margin: 26px 0 0 10px;
	}
	#topnav-social {
		float: right;
	}
	#topnav-social li#navtop-subscribe {
		float: left;
	}
	#topnav-social p {
		color: white;
	}
		#topnav-social p.s2_message a {
			display: inherit;
			padding: 0;
			opacity: 1;

		}
	.navbar-collapse {
		background: none;
	}
}