/*
Theme Name: ColorMag Child
Theme URI: http://themegrill.com/themes/colormag-child/
Template: colormag
Author: ThemeGrill
Author URI: http://themegrill.com
Description: ColorMag is a perfect responsive magazine style WordPress theme. Suitable for news, newspaper, magazine, publishing, business and any kind of sites. Get free support at http://themegrill.com/support-forum/ and check the demo at http://demo.themegrill.com/colormag/
Version: 1.1.1
License: GNU General Public License, version 3 (GPLv3)
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Tags: light, white, two-columns, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, post-formats
Text Domain: colormag-child

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

#content .post .article-content .above-entry-meta .cat-links a{
	background-color: #fff; 
	/* border-radius: 3px; */
	color: #5599ff;
	font-size: 12px;
	padding: 3px 10px;
}

.cat-links a{
background-color:black;
}

#content .post .article-content .entry-title{
	padding:0px 0px 0px;
}

#content .post{
	margin-bottom:4px;
}

#content .post .article-content{
padding:2px;
}

header.entry-header, h2.entry-title{
	/* margin-top:-16px; */
	padding:0px;
}

img.header-image{
	margin-bottom: 0;
	border-bottom: 0px;
	width: auto;
}

.wp-custom-header {
	margin: 0 auto;
	max-width: 1140px;
	padding-top: 40px;
	position: relative;
}

/* Per il courses */
.the_title_courses{
	float:left;
	clear:right;
}
.the_button_subscribe_courses a, .the_button_subscribe_courses a:hover, .the_button_subscribe_courses a:visited{
	margin: 8px 0 0 20px;
	color: #fff;
	background-color: #5498fe;
	padding:6px;
	float:left;
	clear: right;
}
.the_detail_courses{
	clear:left;
}
/* Per il courses FINE */

h2.entry-title a{
	font-size:16px;
	font-family:"Open Sans",serif;
	font-weight:bold;
}

h3.entry-title a
{
	font-size:18px;
	font-family:"Open Sans",serif;
	font-weight:bold;
	font-color:#289DCC;
}

.article-container .article-content h5{
	font-size: 16px;
	padding-bottom: 0px;

}

.article-container{
	margin-bottom: 22px;

}

/* preview articolo laterale */
.archive .article-preview {
	margin-bottom: 22px;
}

.archive #content .post:nth-child(2n) {
	float: left;
	width: 250px;
	clear: both;
	margin-bottom: 22px;
}

#secondary .article-preview{
	margin-bottom: 22px;
}

#secondary article{
	display: block;
	height: 250px;
	width:250px;
	position: relative;

}

#secondary article img{
	display: block;
	background-color: blue;
}

.article-overlay{
	background-color: white;
	opacity: 0.85;
	bottom: 0;
	position: absolute;
	width: 100%;
}

.article-text{
	bottom: 0;

}

.article-content p{
	padding-left: 8px;
}

.article_img_preview{
	display: block;
	float: left;
	padding: 8px 8px;
	clear:both;
}

.article_single_img{
	float:left;
}

.teacher_img_preview{
	display: block;
	float: left;
	padding: 8px 8px;
}

.teacher_img_preview img{
	margin-bottom: 0px;
}

.teacher_link{
	padding-left: 30px;
}

.teacher_single_img{
	padding-right: 8px;
	padding-bottom: 8px;
}

.teacher_single_details{

}

.widget_featured_posts{
margin-bottom:2px;
}

/* Two COLUMN */
.tg-one-half {
	float: left;
	width: 100%;
	padding: 0px 0px 30px;
}

/* =FRONT PAGE MAIN CONTENT SECTION
----------------------------------------------- */
.main-content-section {
	padding-top: 20px;
}
.main-content-section .tg-one-half {
	/* width: 48.75%; */
	width: 100%;
	padding-bottom: 0;
}


/* =PRIMARY AND SECONDARY CONTENT AREA
----------------------------------------------- */
#primary {
	float: left;
	width: 70.17543859%;
}


/* REGISTRAZIONE */

.icons_gliphy_success_registration{
	font-size: 40px;
	color:#00AA00;
	display: block;
	padding-right:40px;
	float:left;
}

h5.success_registration{
	color:#00AA00;
	font-weight: bold;
}

.icons_gliphy_insuccess_registration{
	font-size: 40px;
	color:#aa0000;
	display: block;
	padding-right:40px;
	float:left;
}

h5.insuccess_registration{
	color:#aa0000;
	font-weight: bold;
}
