/*
 Theme Name: Mackenzie Institute
 Theme URI: http://themeforest.net/item/bitz-news-publishing-theme/13542402
 Description: Child theme of Bitz WordPress theme available exclusively on Theme Forest.
 Author: MNKY
 Author URI: http://themeforest.net/user/MNKY
 Template:     bitz
 Version:      1.0.0
 License: Envato Marketplaces Split Licence
 License URI: Envato Marketplace Item License Certificate
 Tags: theme-options, translation-ready, rtl-language-support, post-formats, microformats, full-width-template, custom-colors, left-sidebar, right-sidebar, fluid-layout
 Text Domain:  bitz-child
*/

/***********************
	LAYOUT
***********************/

body:after {
    display: none;
    content: url(assets/img/dl-icon/magazine.png), url(assets/img/dl-icon/magazine-hover.png);
}

.container { 
	max-width: 1100px;
	width: auto;
}

section { padding: 50px 0; }
section.grey { background-color: #f7f7f7; }

.align-right { text-align: right; }

.page-header { margin-top: 0; }

.adspace-contain { padding: 40px 0; }

sup { top: -0.1em; }


/* HIDING STUFF */
.meta-views { display: none; }


/***********************
	FORM
***********************/
.gform_wrapper input[type=text],
.gform_wrapper input[type=url],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=number],
.gform_wrapper input[type=password] {
	border: 1px solid #e2e2e2;
}

/* donate form */
.gform_heading { display: none; }

.gfield_label {
    color: #666666;
    font-size: 16px;
    font-weight: normal !important;
    line-height: 18px;
}

.form-input input, .form-input textarea {
	border: 1px solid #E1E1E1;
    height: 40px;
}
.donate-btn {
    background-color: #EBEBEB;
    cursor: pointer;
    display: block;
    float: left;
    height: 85px;
    margin: 40px 30px 100px 0;
    padding: 20px;
    position: relative;
    width: 255px;
	-moz-transition: all 0.35s;
	-webkit-transition: all 0.35s;
}
.donate-btn:hover { background-color: #215192;color: #FFFFFF; }

.donate-btn input {
    position: absolute;
    right: 18px;
    top: 18px;
}

.donate-btn .donate-text {
    float: left;
    line-height: 20px;
    margin: 0;
    width: 130px;
}
.donate-btn img {
    float: right;
    margin: 5px 0 0;
}
.donate-img { width: 50px; }
.donate-btn p { margin: 0; }


/***********************
	HEADER
***********************/
nav#top-navigation { 
	background-color: #E8E7E7;
	overflow: auto;
	text-transform: uppercase;
	font-size: 13px;
}
nav#top-navigation .inner { margin: 0 auto; }
nav#top-navigation .top-menu-right ul { float: right; }
nav#top-navigation ul li {
	float: left;
	margin-right: 2px;
	padding: 10px 17px 10px;
}
nav#top-navigation ul li a { font-family: "Montserrat"; }

nav#top-navigation .top-menu-left ul li { background-color: #D6D5D5; }
nav#top-navigation .top-menu-left ul li:hover,
nav#top-navigation .top-menu-right ul li { background-color: #666766; }
nav#top-navigation .top-menu-left ul li a { color: #666766; }
nav#top-navigation .top-menu-left ul li:hover a,
nav#top-navigation .top-menu-right ul li a { color: #FFFFFF; }
nav#top-navigation .top-menu-right ul li:hover { background-color: #215192; }


/* header sidebar */
header #download-btns {
	float: right;
}
.support-callout,
.download-callout {
	font-family: "Montserrat";
	background-color: #EBEBEB;
	color: #666666;
	text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
	cursor: pointer;
	width: 262px;
	-moz-transition: all 0.35s;
	-webkit-transition: all 0.35s;
}
.support-callout { 
    padding-top: 20px;
    padding-bottom: 20px;
}
.download-callout { 
    padding-top: 5px;
    padding-bottom: 5px;
}
.support-callout:hover,
.download-callout:hover {
    background-color: #215192;
    color: #FFF;
}
.support-callout p,
.download-callout p {
    font-size: 15px;
    line-height: 21px;
}
.support-callout p,
.download-callout p { margin: 0; }
.download-callout p span { 
    display: block;
    clear: both;
}
.download-callout p span.magazine { margin: 6px 0; }
.download-callout p span.box { 
    background-color: #215192;
    padding: 5px;
    font-size: 11px;
    color: #EBEBEB;
    text-align: center;
}

.support-callout i { 
	color: #215192;
	margin-left: 0 !important;
}
.support-callout:hover i { color: #FFF; }
.download-callout i {
    height: 73px;
    width: 59px;
    border: solid 2px #215192;
	-webkit-box-shadow: 1px 1px 3px 2px #ccc;
	-moz-box-shadow:    1px 1px 3px 2px #ccc;
	box-shadow:         1px 1px 3px 2px #ccc;
	position: relative;
}
.download-callout:hover i {
	opacity: 0.5;
    filter: alpha(opacity=50);
}
.download-callout:hover i:after {
	content: '';
	display: block;
	background-image: url(assets/img/dl-icon.png);
	width: 22px;
	height: 22px;
	position: absolute;
    top: 26px;
    left: 16px;
}
.download-callout:hover p span.box { 
    background-color: #EBEBEB;
    color: #215192;
}
.page-header h1 { max-width: 1050px !important; }


/***********************
	FOOTER TOP
***********************/
/* related readings & twitter */
section#twitter-stream .twitter-stream-head a,
section#related-readings .related-readings-head a {
	display: inline-block;
    margin-top: 20px;
}
section#related-readings .related-reading-contain,
section#twitter-stream .twitter-stream p {
	box-shadow: 0px 1px 3px rgba(0,0,0,0.13);
	height: 135px;
	padding: 20px 15px;
}
/* related readings */
section#related-readings .related-reading-contain {
    background-color: #FFF;
    margin-bottom: 20px;
}
section#related-readings .related-reading-contain h1 {
	font-size: 14px;
    line-height: 18px;
    margin-bottom: 10px;
}
section#related-readings .related-reading-contain time { 
	color: #000;
	font-size: 12px;
}

/* twitter */
section#twitter-stream .twitter-stream p {
	width: 31%;
	float: left;
	position: relative; 
    background-color: #f7f7f7;
    margin: 1%;
    font-size: 14px;
    line-height: 26px;
}
section#twitter-stream .twitter-stream p:nth-child(3n+1) { clear: left; }


/***********************
	FOOTER BOTTOM
***********************/
footer .footer-sidebar .vc_col-sm-3:nth-child(1),
footer .footer-sidebar .vc_col-sm-3:nth-child(2),
footer .footer-sidebar .vc_col-sm-3:nth-child(3) { width: 33%; }

footer .footer-sidebar #text-5 { padding-bottom: 0; }

footer .footer-sidebar #text-5 { margin-bottom: 0; }

footer .footer-sidebar #nav_menu-2,
footer .footer-sidebar #nav_menu-4 {
	width: 50%;
	float: left;
}
footer .footer-sidebar #nav_menu-2 a,
footer .footer-sidebar #nav_menu-4 a { color: #fff; }
footer .footer-sidebar #nav_menu-2 a:hover,
footer .footer-sidebar #nav_menu-4 a:hover { text-decoration: underline; }

/***********************
	HOME PAGE
***********************/
body.home .page-header { display: none; }
body.home #main { padding-top: 0; }

.hot-topic-bar { margin: 30px 0; }

body.home #articles-featured .article-featured-secondary:nth-child(odd) { clear: left; }
body.home #articles-featured .entry-summary { display: none; }

body.home #articles-archive .articles-archive-video {
	border-bottom: solid 1px #EEE;
	padding: 10px 0;
}
body.home #articles-archive header h2 { 
	font-size: 14px;
	margin-bottom: 5px;
}

body.home #articles-archive .video-thumb {
	/*position: relative;*/
	background-image: url(assets/img/video-icon-hover.png);
	height: 39px;
	width: 60px;
	margin-top: 10px;
}
body.home #articles-archive .video-thumb:hover { background-position: bottom; }
body.home #articles-archive .video-thumb .video-cover { 
	position: absolute;
	width: 89px;
    height: 80px;
    display: block;
    z-index: 100;
}

/***********************
	ARTICLES
***********************/
article { overflow: auto; }
article .meta-comments { display: none; }
article.archive-layout {}
.archive-layout .entry-title,
.archive-layout.layout-one-column.post-secondary .entry-title {
	font-size: 21px;
	line-height: 1.2em;
}
article.archive-layout span.entry-category {
	display: inline-block;
	background-color: #215192;
    font-size: 12px;
    padding: 0 10px 0 5px;
    position: relative;
    line-height: 24px;
}
article.archive-layout span.entry-category a { color: #FFF; }
article.archive-layout span.entry-category:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0, 0, 0, 0);
    border-left-color: #215192;
    border-width: 12px;
    margin-top: -12px;
}

article.archive-layout span.entry-category:hover { background-color: #EBEBEB; }
article.archive-layout span.entry-category:hover:after { border-left-color: #EBEBEB; }
article.archive-layout span.entry-category:hover a { color: #215192; }

article.archive-layout.category-briefing-notes span.entry-category { background-color: #547098; }
article.archive-layout.category-briefing-notes span.entry-category:hover a { color: #FFF; }
article.archive-layout.category-briefing-notes span.entry-category:after { border-left-color: #547098; }

article.archive-layout.category-institute-news span.entry-category { background-color: #3DA03F; }
article.archive-layout.category-institute-news span.entry-category:hover a { color: #FFF; }
article.archive-layout.category-institute-news span.entry-category:after { border-left-color: #3DA03F; }

article.archive-layout.category-reviews span.entry-category { background-color: #ED1C24; }
article.archive-layout.category-reviews span.entry-category:hover a { color: #FFF; }
article.archive-layout.category-reviews span.entry-category:after { border-left-color: #ED1C24; }

body.archive article:nth-child(1) { margin-top: 60px; }
body.archive article.has-post-thumbnail:nth-child(1) { margin-top: 10px; }

body.home article.has-post-thumbnail .post-content-wrapper,
article.has-post-thumbnail .post-content-wrapper,
article.has-post-thumbnail .archive-style-1 .post-content-wrapper,
article.has-post-thumbnail .archive-style-1.post-secondary .post-content-wrapper,
article.has-post-thumbnail .archive-style-1.layout-two-column .post-content-wrapper {
	padding: 15px 15px 10px 15px;
    margin: -20px 15px 0 15px;
}

body.category-reviews article .post-content-wrapper,
body.category-events article .post-content-wrapper,
article.archive-style-1 .post-content-wrapper,
article.archive-style-1.post-secondary .post-content-wrapper,
article.archive-style-1.layout-two-column .post-content-wrapper {
	padding: 15px 0 10px;
	margin: 0 0 0 0;
}

/* videos */
article.category-video .entry-content { padding-top: 30px; }

/* footnotes */
article #article-references {
    background: #f9f9f9;
    padding: 40px;
}
article #article-references ol { margin-left: 0; }

/* comments */
#comments { display: none; }

/* footnotes */
.single-layout .entry-content a.foot-note {
    background-color: #CCC;
    border-radius: 115px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    line-height: 17px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    width: 17px;
}
.single-layout .entry-content a.foot-note:hover {
	background-color: #215193;
	color: #FFF; 
}
#tiptip_content {
	background-color: #1C5193;
    color: #FFFFFF;
    font-size: 12px;
    line-height: 18px;
    padding: 25px 15px;
}
#tiptip_holder.tip_top #tiptip_arrow_inner { border-top-color: #1C5193; }


/***********************
    MAGAZINES
***********************/

body.page-template-page-magazines article { overflow: visible; }
body.page-template-page-magazines .entry-content .magazines .magazine {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: solid 1px #e9e9e9;
}
body.page-template-page-magazines .entry-content .magazines .magazine a.btn {
    background-color: #215192;
    color: #fff;
    border-radius: 0;
    border: solid 1px #215192;
}
body.page-template-page-magazines .entry-content .magazines .magazine a.btn:hover {
    background-color: #fff;
    color: #215192;
}


/**************************
	MEDIA QUERIES
**************************/

.widget#category-posts-2 { display: none; }
body.category-terrorism-profiles .widget#category-posts-2,
body.category-Terrorism .widget#category-posts-2 { display: block; }

#terrorism-profiles-list ul { margin: 0; }
#terrorism-profiles-list ul li.cat-post-item {
	border: 0;
	padding: 10px 0;
}

/**************************
	MEDIA QUERIES
**************************/

@media only screen and (max-width: 990px) {
	.hidden-mobile { display: none; }
	.mobile-align-left { text-align: left; }

	#mobile-site-header #mobile-site-logo { width: 70%; }

	section#related-readings .related-reading-contain,
	section#twitter-stream .twitter-stream p { height: auto; }
	section#twitter-stream .twitter-stream-head h1,
	section#related-readings .related-readings-head h1,
	section#twitter-stream .twitter-stream-head a,
	section#related-readings .related-readings-head a { margin: 0;}

	section#twitter-stream .twitter-stream p { width: 95%; float: none; }

	.donate-btn { margin-bottom: 0; }
}