/*
Theme Name: ColorMag Child Theme
Template: colormag
Version: 1.1.71
*/


/* fonts */
h1, h2, h3, h4, h5, h6, p, span { font-family: 'Roboto','Open Sans', sans-serif; letter-spacing: -0.01em !important; }
p { line-height: 1.6em; }


/* DEV VERSION FLAG */
.cm-top-bar { background-color: #52accc !important; }
#cm-site-branding img {
	-webkit-transform: scaleX(-1);
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	transform: scaleX(-1);
}


/* header */
.cm-top-bar { background-color: #ffffff; }
.newsticker { margin-left: 12px; max-width: 600px; }
.breaking-news { background-color: #FFFFFF; }
.breaking-news a { color: #555555; }
.breaking-news-latest { display: inline-block; padding: 0 10px; font-weight: 400; background-color: #212529; color: #FFFFFF; }
.social-links i { font-size: 22px !important; color: #495057 !important; }
.cm-primary-nav { border: none !important; box-shadow:none !important; }
.cm-primary-nav ul > li { padding: 6px 7px; }
.cm-primary-nav a { font-size: 17px; text-transform: none; font-family: 'PT Serif'; }
.cm-primary-nav .cm-submenu-toggle { padding-left: 6px; width: 18px; }
nav.breadcrumbs { margin-bottom: 15px; }
.page nav.breadcrumbs { margin-bottom: 0; }
nav.breadcrumbs a { font-weight: 500; }
nav.breadcrumbs .breadcrumb--last { font-weight: bold; }


/* content */
body::-webkit-scrollbar { display: none; }
.cm-content { padding-top: 20px; }
.cm-content a { font-weight: bold; }
.cm-widget-title span, .cm-page-title span { font-size: 14px !important; font-weight: 600; letter-spacing: normal; }
.cm-post { border-radius: 0; }
.cm-entry-header-meta { display: none !important; }
.cm-primary .cm-first-post .cm-entry-title { font-size: 20px !important; font-weight: 700; }
.cm-primary .cm-first-post .cm-entry-summary p { font-size: 16px !important; }
.cm-primary .cm-featured-posts { gap: 2px 20px; margin-bottom: 15px; }
.cm-featured-posts .cm-widget-title { border-bottom-color: #5f4b8b }
.cm-featured-posts .cm-first-post .cm-post { box-shadow: none; }
.cm-featured-posts .cm-first-post .cm-post-content { padding: 6px 0; }
.cm-featured-posts .cm-posts .cm-post { box-shadow: none; border-bottom: 1px solid #D3D3D3; }
.cm-featured-posts .cm-entry-title a { line-height: 1.2em; }
.cm-featured-posts .cm-post-content { padding: 0 16px; align-self: auto; }
.cm-featured-posts .cm-below-entry-meta { display: none; }
.cm-one-half .cm-first-post .cm-post-content { min-height: 170px; }
.cm-secondary h3, .home.blog h3 { font-size: 16px !important; font-weight: 600; margin-bottom: 15px; }
.cm-secondary .cm-posts .cm-post h3 { font-size: 14px !important; font-weight: 600; margin-bottom: 0; }

.wp-block-search__inside-wrapper { max-width: 88%; }
.wp-block-search__inside-wrapper > input.wp-block-search__input { height: 12px; }
.wp-block-search__inside-wrapper > input.wp-block-search__input::placeholder { word-spacing: 20em; }
.wp-block-search__inside-wrapper > button.wp-block-search__button { margin: 1px 0; }

.hf-fields-wrap label { font-size: .9em; font-weight: bold; }
.hf-fields-wrap p, .hf-fields-wrap input { margin-bottom: .1em; }
.hf-fields-wrap p.fname, .hf-fields-wrap p.lname { width: 42%; float: left; margin-right: 1em; }
.hf-fields-wrap p.email { width: 88%; }
.hf-fields-wrap input[type="text"], .hf-fields-wrap input[type="email"], .hf-fields-wrap textarea, .hf-fields-wrap select { padding: .3em .8em; font-size: .9em; }
.hf-fields-wrap textarea { height: 120px; margin: 0; }
.hf-fields-wrap select { margin-left: 1em; width: 38%; }
.hf-fields-wrap input[type="submit"] { padding: 2px 10px; font-size: .9em; margin-top: 1em; }
.cm-primary .hf-fields-wrap p, .cm-primary .hf-fields-wrap input { margin-bottom: .5em; }
.cm-primary .hf-fields-wrap p.subject { margin-bottom: 1em; }
.cm-primary .hf-fields-wrap p.fname, .cm-primary .hf-fields-wrap p.lname { width: 32%; }
.cm-primary .hf-fields-wrap p.cname  { width: 66%; }
.cm-primary .hf-fields-wrap p.email  { width: 66%; }
.cm-primary .hf-fields-wrap p.phone  { width: 66%; }
.cm-primary .hf-fields-wrap p.message { width: 63%; }
.cm-primary .hf-fields-wrap p.optin {  margin-bottom: 0; }
.cm-primary .hf-fields-wrap p.optin span { font-weight: 400; }

.crp_related .related-posts-main-title { margin-bottom: -20px; }
.related-posts .single-related-posts { box-shadow: none; border-radius: 0; width: 32.3%; margin-right: 1%; float: left; }
.related-posts .single-related-posts li { line-height: 1.3em; }
.related-posts .single-related-posts img { padding-bottom: .5em; }

.cm-post-date a, .cm-author a, .cm-tag-links a, .cm-edit-link a, .cm-comments-link a { color: #888888; font-weight: 500; }
.single .cm-posts .post { box-shadow: none; border-radius: 0; }
.single .post .cm-featured-image { display: table-header-group; }
.single .post .image-caption { display: table-footer-group; font-family: 'Roboto Slab'; font-size: 15px; color: #555555; }
.single .post .cm-post-content { padding: 0; }
.single .post .cm-post-content p { font-size: 16px; }
.single .post .cm-below-entry-meta { margin: 20px 0 30px 0; }
.single .post .cm-post-date { position: absolute; }
.single .post .cm-author { position: absolute; left: 11em; }
.single .post .cm-edit-link { position: absolute; left: 23em; }
.single h1.cm-entry-title { font-size: 32px; font-weight: 700; margin-bottom: 5px; margin-top: 10px; line-height: 1.2; }
.single ul.default-wp-page { display: none; }
.single .author-box { display: none; }

.archive .cm-page-title span span { padding: 0; }
.archive .cm-posts .post { box-shadow: none; border-radius: 0; }
.archive .post .cm-post-content { padding: 0; margin-bottom: 15px; }
.archive h2.cm-entry-title { font-size: 22px; font-weight: 700; margin: 5px 0; line-height: 1.2; }
.archive .post:first-of-type h2.cm-entry-title { font-size: 32px; }
.archive .post .cm-entry-header { display: table-header-group;  }
.archive .post .cm-below-entry-meta { display: table-footer-group; }
.archive .post .cm-author { display: none; }
.archive .post .cm-edit-link { display: none; }
.archive .cm-entry-summary { margin-top: 5px; }
.archive .cm-entry-summary p { margin-bottom: 15px; }
.archive .cm-entry-button span { text-transform: lowercase; }
.archive .cm-entry-button span:first-letter { text-transform: uppercase; }
.archive .cm-entry-button span { font-size: 12px; padding: 4px 10px; background-color: #5f4b8b; }
.archive ul.default-wp-page a { color: #5f4b8b; padding-top: 20px; }

.search .cm-posts { gap: 0; }
.search .cm-posts .post { box-shadow: none; border-radius: 0; }
.search .post .cm-post-content { padding: 0; margin-bottom: 5px; }
.search .cm-page-header { display: none; }
.search h2.cm-entry-title { font-size: 22px; font-weight: 700; margin-bottom: 5px; line-height: 1.2; }
.search .post:first-of-type h2.cm-entry-title { font-size: 32px; }
.search .post .cm-entry-header { display: table-header-group;  }
.search .post .cm-below-entry-meta { display: table-footer-group; }
.search .post .cm-author { display: none; }
.search .post .cm-edit-link { display: none; }
.search .cm-entry-summary { margin-top: 5px; }
.search .cm-entry-summary p { margin-bottom: 15px; }
.search .cm-entry-button span { text-transform: lowercase; }
.search .cm-entry-button span:first-letter { text-transform: uppercase; }
.search .cm-entry-button span { font-size: 12px; padding: 4px 10px; background-color: #5f4b8b; }
.search ul.default-wp-page a { color: #5f4b8b; padding-top: 20px; }

.page .cm-entry-header { display: none; }
.page .cm-entry-summary h2 { font-size: 38px; }
.page .cm-entry-summary p { font-size: 16px; }


/* footer */
.cm-footer-cols { background-color: #303440; }
.cm-footer-cols .cm-row { color: #CCCCCC; line-height: 1.4; padding-bottom: 10px; }
.cm-footer-cols a:hover { color: #D3D3D3 !important; }
.cm-footer .widget { margin-bottom: 12px; }
.cm-footer-bar { display: none; }


/* mobile */
.cm-mobile-nav a { padding: 5px 10px; font-family: 'PT Serif', 'serif'; text-transform: none; font-weight: 700; }
.cm-mobile-nav li a:hover { color: #FFFFFF !important; }
.cm-mobile-nav li.current-menu-item a { color: #FFFFFF; }
@media (max-width:768) {
	.breaking-news { display: none; }
	.cm-top-bar__1 { display: none; }
	.cm-header-1 .cm-row { padding: 14px 0; }
	.cm-primary-nav a { font-size: 15px; }
	.cm-menu-toggle { background-color: transparent !important; }
	.cm-menu-toggle::before { color: #5F4B8B !important; }
	.cm-content { padding-top: 14px; }
}

