/* =Global
-------------------------------------------------------------- */


#wrapper {
	width: 1020px;
}

body,
html,
p,
.singlepost,
html, body, div, span, applet, object, iframe, p, blockquote, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	font-family: 'Alike', sans-serif;
}

article p,
ul.singlepost article.short p {
	text-align: left !important;
}

.prev,
.next {
	background-color: #ff7200;
}

.prev a,
.next a {
	display:block;
	font-size:16px;
	line-height:22px;
	color:#fff;
	text-align:center;
	border:none;
	cursor:pointer;
	padding: 5px;
}

/* =Header
-------------------------------------------------------------- */

#header #brandwrap {
	display: flex;
}
#header .main-logo{
    float: left;
	flex: 1;
}

#header .logo {
	margin: 20px 0 5px 0;
	padding: 0 20px;
	box-sizing:border-box;
	width:100%;
}

#header .logo img{
	width:100%;
}

#header .top-leaderboard{
	box-sizing:border-box;
    margin: 20px 30px 20px 0;
	flex:3;
}

.menu {
	line-height: 50px;
}

.menu a {
	font-size: 17px;
}

/* =Body
-------------------------------------------------------------- */


.author-box {
	padding: 0 30px 20px 30px;
	overflow-y: auto;
}

.author-archive-gravatar {
	float: left;
	margin: 0 20px 20px 0;
}

.newsletter-logo {
	display: block;
	text-align: center;
}

.newsletter-logo img {
	border: 0;
	box-shadow: none;
	width: 50%;
	height: auto;
}

h1#author-archive {
	color: #343434;
	font-family: 'BebasNeueRegular', sans-serif;
	font-weight: normal;
	font-size: 25px;
}

.singlepost h1,
.singlepost h2 {
	font-size: 25px;
}

.singlepost h1,
.singlepost h2,
.singlepost h3,
.singlepost h4,
.singlepost h5,
.singlepost h6,
.singlepost h1 a,
.singlepost h2 a,
.singlepost h3 a,
.singlepost h4 a,
.singlepost h5 a,
.singlepost h6 a {
	font-family: 'BebasNeueRegular', sans-serif;
}

.posts h2 {
	line-height: 24px;
}

.posted .postedby,
.posted .date_time {
	padding: 0;
	background: none;
}

.posted .postedby a {
	color: rgb( 90, 90, 90 );
}

.singlepost p.posted {
	font-size: 12px;
}

.singlepost p,
.singlepost li {
	font-size: 14px;
}

.singlepost ul {
	margin: 0 0 20px 20px;
}

.singlepost pre.code {
	text-align: left;
}

.posted .date_time,
.posted .postedby {
	color: rgb( 90, 90, 90 );
}

img.feat-img {
	float: left;
	margin: 10px 10px 7px 0;
}

#content {
	margin: 30px 0;
}

blockquote {
	background: none;
	border-left: none;
	font-style: none;
	width: 400px;
	margin: 0 auto;
	text-align: center;
	padding: 6px 20px;
	border-top: 1px solid #ff7200;
	border-bottom: 1px solid #ff7200;
}

.readmore {
	width: 70px;
}

.sd-content ul li {
	display: inline-block !important;
}

.edd-submit.button {
	width: auto;
	height: auto;
	display: inline-block;
}

.itj-sponsor-title {
	text-align: center;
	border: 1px solid #dddddd;
	padding: 10px;
	line-height: 20px;
}

.itj-sponsor-content {
	background-color: #cae0ed;
	padding: 10px;
	border: 1px solid #dddddd;
	border-top: 0;
}

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


.sidebar {
	width: 340px;
}

#searchform #s {
	width: 200px;
}

.widget h3 {
	font-size: 20px;
}

.itj_issue_vol span {
    border: 1px solid #ddd;
    display: block;
    padding: 10px;
    text-align: center;
    color: #000;
	background-color: #cae0ed;
}

.itj_issue_sponsor th {
	background-color: #cae0ed;
	border-color: #cae0ed;
	color: #000000;
}

.itj_issue_sponsor td {
	background-color: #ffffff;
}

.itj_issue_sponsor a {
	color: #000000;
}

.itj_issue_sponsor h2,.itj_issue_sponsor ul,
.itj_tableofcontents h2,.itj_tableofcontents ul {
    border: 1px solid #ddd;
}

.widget h2 {
    margin-bottom: 0;
    border-bottom: none;
    text-align: center;
    padding: 10px;
    background-color: #cae0ed; */
}

.itj_issue_sponsor ul,
.itj_tableofcontents ul {
    padding: 10px;
    color: black;
}

.itj_fhg_issue_sponsor {
	text-align: center;
}

#itj-social-widget {
	text-align: center;
}

#itj-social-widget a {
	width: 42px;
	height: 42px;
	display: inline-block;
}

#itj-social-widget a:hover {
	text-decoration: none;
	opacity:0.8;
}

#itj-social-widget a:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	color: #666;
	display: inline-block;
	font-family: "Genericons";
	font-size: 36px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}

#itj-social-widget a[href$="/feed/"]:before {
	content: "\f413";
}

#itj-social-widget a[href*="twitter.com"]:before {
	content: "\f202";
}

#itj-social-widget a[href*="facebook.com"]:before {
	content: "\f204";
}

#itj-social-widget a[href*="linkedin.com"]:before {
	content: "\f207";
}

#itj-social-widget a[href*="plus.google.com"]:before {
	content: "\f218";
}

#itj-social-widget a[href*="mailto:"]:before {
	content: "\f410";
}

/* =Footer
-------------------------------------------------------------- */




/* =Mobile
-------------------------------------------------------------- */


@media screen and (max-width: 480px) {
	ul.top-reads li {
		display: inline-block;
		width: 150px;
		clear: both;
	}
	ul.top-reads li a:nth-child(1) {
		float: left;
	}
	ul.top-reads li a:nth-child(2) {
		font-size: 14px;
	}

	select {
    max-width:100%!important;
}
}

@media screen and (max-width:480px) {
	#wrapper {
		width: 300px;
	}
}


/* Gravity Forms overrides */

.gform_footer input[type=submit] {
    font-size: 1.4em!important;
    width: 97%!important;
    height: 35px;
    padding-top: 6px!important;
    font-family: 'BebasNeueRegular', sans-serif;
}

.gform_wrapper .top_label .gfield_label {
    margin: 10px 0 0 !important;
}
.ginput_container.ginput_container_text {
    width: 99%!important;
}
.ginput_container.ginput_container_email {
    width: 99%!important;
}
.ginput_container.ginput_container_phone {
    width: 99%!important;
}
.gform_confirmation_wrapper {
    margin:20px 0 20px 0;
}

.gform_wrapper textarea.medium {
    width: 96%!important;
    border: 1px solid #cccccc!important;
}

.sidebar li {
    list-style: none;
}

.tooltip {
    position: relative;
    display: inline-block;
    width:100%;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 100%;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 5px;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
top:0px;
left:-5px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}


/* brand colors */

a,
.posted .date_time,
.posted .postedby,
.posted .commentcount,
.logo .color,
.widget .menu a,
.widget-footer .menu a {
	color: #4b5725;
}

.prev,
.next,
th,
#topsearch #button,
.menu .current_page_item a,
.menu .current_page_item a:hover,
.readmore,
.button,
.menu_mobile,
.type-post input[type="submit"],
#searchform #searchsubmit,
.menu a:hover,
.menu a.hover,
.menu .sub-menu,
.menu .children,
.homepage .koenda-homepage-dropcap,
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	background-color: #4b5725;
}

blockquote,
th,
.menu,
.business .fullwidth h2,
.postlist li:first-child,
.videoblock,
#footer,
.mobilemenu_toggle,
.homepage h1,
.widget select,
.widget-footer select,
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
	border-color: #4b5725;
}
