/*
Theme Name: ColorMag Pro Child Theme
Theme URI: http://themegrill.com/themes/colormag/
Description: Child Theme for ColorMag Pro
Author: ThemeGrill
Author URI: http://themegrill.com
Template: colormag-pro
Version: 1.0
*/

/*COLOR RESTYLE*/
body,
#header-text-nav-container,
#main,
.news-bar,
#cm-secondary .widget,
.error-404 .widget,
.uk-modal-dialog {
	background-color: #FFDCCA!important;  
	font-size: 14px;
}

.search-form-top{
	border-radius: 0 0 10px 10px;
	border-color: #232323;
	background-color: #232323;
	padding: 5px;
	top: 100%;
}

.fa, .fa.search-top,
.comment-respond .logged-in-as, .comment-respond .comment-notes,
.tribe-events-event-meta dd, .tribe-events-event-meta dt{
	font-size: 14px!important;
}

.search-wrap input{
	border-radius: 5px 0 0 5px!important;
	font-size: 14px!important;
}

.search-wrap button,
.wp-block-search__inside-wrapper .search-icon::before, .search-wrap .search-icon::before{
	/* padding-bottom: 2px; */
	border-radius: 0 5px 5px 0;
	font-size: 14px!important;
}

.uk-card-default,
.widget_featured_posts .single-article,
.cm-post, .post, textarea, input, select,.reviews-template-default #cm-primary .cm-posts{
	background: #FFC2A2!important;
	color: #232323!important;
	/*height: 300px;*/
}

.post{
	margin-bottom: 30px;
	padding-bottom: 30px;
}

.custom-widget-post a img{
	width: 100%;
}

.uk-card-default .uk-cover{
    display: none;
}

textarea::placeholder,
input::placeholder{
	color:#E17F4B!important;
}

.nc_wrapper{
	background-color: #FFC2A2!important;
}

.dynatop .uk-card-default:hover{
	background-color: #FFCD7C!important;
}

/*END COLOR RESTYLE*/
.previous a, .next a{
	font-size: 14px;
}

.cm-author, .cm-post-views, .cm-edit-link, .cm-comments-link, .cm-post-date, .cm-reading-time,
.cm-below-entry-meta .cm-post-date a, .cm-below-entry-meta .cm-comments-link a,
.cm-post-date a, .human-diff-time .human-diff-time-display, .cm-total-views, .cm-author a, .cm-post-views, 
.total-views, .cm-edit-link a, .cm-comments-link a, .cm-reading-time, .dark-skin .cm-post-date a, 
.dark-skin .cm-author a, .dark-skin .cm-comments-link a, .dark-skin .cm-posts .post .cm-post-content 
.cm-below-entry-meta .cm-post-views span, .cm-footer-cols .cm-reading-time{
	font-size: 12px;
}

.cm-featured-posts .cm-entry-summary p,
.cm-entry-summary p{
	font-size: 14px;
}

.header-image-wrap{
	text-align: center;
}

.header-image{
	max-height: 350px;
}

h1 sub{
	font-size: 20px;
}

em {
    color: black;
    font-weight: 600;
    font-style: italic;
}

.newsticker{
	margin: 0 50px 0 0;
}

.cat-links a {
	background-color: #289dcc;
	border-radius: 3px;
	color: #ffffff!important;
	font-size: 12px;
	padding: 3px 10px;
}

.cat-links a:hover,
.uk-button:hover{
	text-decoration: underline;
}

.type-post a, .type-reviews a{
    text-decoration: underline;
    font-style: italic;
}
.more-link{
	background-color: #ba2047;
	color:#ffffff;	
	padding: 3px 10px;
}

a:hover,
.cm-entry-title a:hover{
	color: #e0bebe;
	text-decoration: none;
}

.cm-featured-category-slider .cm-entry-title,
.cm-highlighted-posts .cm-entry-title a{
	font-size: 18px;
}

.cm-menu ul,
.cm-menu-primary-container ul{
	margin: 0;
}

.cm-menu .children {
	padding: 0;
}

.cm-primary-nav ul li ul li{
    margin-left: -30px;
}
.main-small-navigation li{
    background-color: #232323!important;
    color: #fff!important;
}
.main-small-navigation li a{
    color: #fff!important;
}
.single-slide{
	height: 350px;
	max-height: 350px;
}

.widget_featured_slider .slide-content {
	background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 5));
	background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 5));
	background: -moz-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 5));
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 5));
}

.cm-featured-category-slider-widget{
	height: 400PX;
}

.cm-featured-category-slider .cm-single-slide, .cm-slider-area-rotate .cm-single-slide{
	height: 370px;
}

.cm-featured-category-slider img, .cm-slider-area-rotate img{
	height: 100%;
}

.highlights-featured-image a img {
    height: 170px;
    width: 272px
}

#cm-secondary .upw-posts .cm-entry-title{
    font-size: 14px;
    margin-bottom: -1.5em;
}

#cm-secondary .upw-posts .custom-field, .upw-posts .entry-categories, .upw-posts .entry-custom-fields, .upw-posts .entry-tags {
    margin-bottom: 2em!important;
}

#cm-secondary .upw-posts {
    padding-left: 30px;
}

#cm-secondary .upw-posts .cm-entry-title a{
    color: #ba2047;
}

#cm-secondary .upw-posts .cm-entry-title a:hover{
    color: #e0bebe;
}

#cm-secondary .cm-post {
    background-color: #FFDCCA!important;
}

#cm-secondary .upw-posts article {
    margin-bottom: -15px;
    padding-bottom: 0px;
    border-bottom: 0;

}

.uk-accordion li a{
	padding: 15px;
}

.uk-grid-article{
	margin-left: 0px;
}

.uk-tab > .uk-active > a{
	border-color: #dd0000;
}

.uk-cover{
	max-height: 300px;
	max-width: 100%;
	width: auto!important;
}

.uk-button {
	color: white;
}

.tribe-events-content #yasr_rateit_overall,
.tribe-events-content .yasr-visitor-votes,
.tribe-events-content .star-rating,
.tribe_events .yasr-container-custom-text-and-overall,
.post-views{
	display: none;
	visibility: hidden;
}

.tribe-events-list-widget .tribe-event-title {
	margin-bottom: -1.3rem!important;
	margin-top: -13px!important;
	font-size: 16px;
}

.tribe-events-content .sw,
.tribe-events-content .spaceManWilly span{
	color: white;
}

.tribe-events-calendar .tribe-events-tooltip {
    visibility: 0!important;
    display: none!important;
}

#cm-primary .tribe-events-list-widget .cm-widget-title,
#cm-primary .widget_taxonomy_list_widget .cm-widget-title,
.tribe-events-widget .tribe-events-widget-events-list__header,
.cm-widget-title.dynatop {
    border-bottom: 2px solid #ba2047;
    padding-bottom: 0;
}

#cm-primary .tribe-events-list-widget .cm-widget-title span,
#cm-primary .widget_taxonomy_list_widget .cm-widget-title span,
.tribe-events-widget .tribe-events-widget-events-list__header h2,
.cm-widget-title.dynatop span{
    background-color: #ba2047;
	color: #ffffff;
    padding: 6px 12px;
    display: inline-block;
}

.cm-footer .widget{
	font-size: 60%;
}

.cm-footer .cm-widget-title span{
	font-size: 18px;
}

#cm-primary .widget_taxonomy_list_widget{
	padding: 40px 0 50px 0;
}

.tribe-events-list-event-title li,
.tribe-events-single-event-title li,
.tribe-events-month-event-title li{
    list-style: none;
}

/*Restyle of the tribe single event*/
.tribe-events-event-image img{
    max-width: 475px;
}

/*Contact Page*/
.evf-submit-container button,
.submit,
#submit_entry
{
	margin: 0!important;
	border: none!important;
	overflow: visible!important;
	font: inherit!important;
	color: inherit!important;
	text-transform: none!important;
	display: inline-block!important;
	box-sizing: border-box!important;
	padding: 0 30px!important;
	vertical-align: middle!important;
	font-size: .875rem!important;
	line-height: 38px!important;
	text-align: center!important;
	text-decoration: none!important;
	text-transform: uppercase!important;
	transition: .1s ease-in-out!important;
	transition-property: color,background-color,border-color!important;
	background-color: #ba2047!important;
	color: white!important;
}

.evf-submit-container button:hover,
.submit:hover,
#submit_entry:hover{
	background-color: #232323!important;
	text-decoration: underline!important;
}

.uk-modal{
	background: rgba(0,0,0,.8);
	color: #ba2047;
}

.bx-viewport{
    min-height: 390px;
    max-height: 350px;
}

/*contest*/
.terms-div a,
.pp-div a,
.register-text a,
.login-text a{
	text-decoration: underline;
	font-weight: bold;
}

/*Post Template Page*/
.uk-breadcrumb span[uk-icon="home"] svg{
	margin-top: -10px;
}

/*Dynatop*/
.dynatop img{
	height: 180px;
	width: 180px!important;
}

.dynatop .uk-grid-item-match > :not([class*="uk-width"]), .uk-grid-match > * > :not([class*="uk-width"]) {
	flex: none;
}

.dynatop .uk-card-body{
	padding: 0;
}

/*Chroniques*/
.cm-entry-title,
.single .cm-entry-header .cm-entry-title,
.comment-respond .comment-reply-title{
	font-size: 32px;
}

.cm-article-content{
	width: 85%;
}

.chroniques .chronique-thumbnail{
	width: 30%;
	padding-left: 14px;
}

.reviews .attachment-colormag-featured-image {
	max-width: 300px;
}

.widget_highlighted_posts .single-article {
    width: 100%;
}

.menu-item-type-custom a{
	color: greenyellow;
}

@media screen and (min-width: 400px){
    .uk-card-default .uk-cover{
        display: block;
    }
}

@media screen and (min-width: 600px) {

	/*Dynatop*/
	.dynatop .uk-card-media-right {
		width: 25%;
	}

	.dynatop .uk-card-media-left {
		width: 75%;
	}

	/*.chronique-thumbnail img{
	    max-width: 180px;
    }*/

}

@media screen and (min-width: 768px){

	.widget_highlighted_posts .single-article {
		height: 170px;
		max-height: 170px;
	}
}
