/* 
Theme Name: Newsmatic ChildTheme 
Theme URI: https://blazethemes.com/theme/newsmatic-free/
Description: Newsmatic Child Themes
Theme Author: Rendy Setiotomo
Author URI: akku.remdy@gmail.com
Template: newsmatic
Version: 1.0.0
Text Domain: newsmatic-child
License: GNU General Public License or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/


/* Developer 2023 */
.clear { clear: both; }

@media only screen and (min-width: 1200px) {
    .custom_themes_re .row { max-width: 1200px; margin: auto; }
}

.custom_themes_re { margin: 0px auto; }
.custom_themes_re.newsmatic_main_body .site-header.layout--default .top-header { color: #000000; border: 0px;}
.custom_themes_re .site-header.layout--default .top-date-time { color: #000000; }
.custom_themes_re .site-header.layout--default .top-ticker-news .slick-list li a { color: #000000; }
.custom_themes_re .site-header.layout--default .top-ticker-news .slick-arrow { color: #000000; }
.custom_themes_re .site-header.layout--default .top-ticker-news .slick-prev.slick-arrow:after { background-color: #8a8a8c; }
.custom_themes_re #full-width-section { background-color: #fff; }
.custom_themes_re #theme-content .primary-content, 
.custom_themes_re .post-inner, 
.custom_themes_re .single #comments, 
.custom_themes_re .newsmatic-breadcrumb-wrap, 
.custom_themes_re .secondary-sidebar .widget, 
.custom_themes_re .secondary-left-sidebar .widget, 
.custom_themes_re .newsmatic-section .primary-content > div, 
.custom_themes_re .full-width-section .row > div, 
.custom_themes_re .bottom-full-width-section .row > div, 
.custom_themes_re .ticker-news-wrap, 
.custom_themes_re .single-related-posts-section, 
.custom_themes_re .archive.author .newsmatic-container.newsmatic-author-section .row, 
.custom_themes_re .sidebar-toggle .widget { box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }

/* Home page */
.page-template-page-home .newsmatic-container.full-width { max-width: 100%; padding: 0px; }
.page-template-page-home .banner-layout--four .row { display: block !important;}
.page-template-page-home .main-banner-wrap .slick-arrow i { border: 0px; }
.page-template-page-home .main-banner-wrap .slick-arrow i { padding: 15px 18px; }
.page-template-page-home .main-banner-wrap .slick-arrow:hover { background: #a32010;border-radius: 50%; border: 1px solid #fff; }
.page-template-page-home .banner-layout--four .main-banner-wrap .slick-list article, 
.page-template-page-home .banner-layout--four .main-banner-wrap .slick-list .post-thumb { height: 64vh; }
.custom_themes_re .section-grey { background: #f9f9fa !important; }
.custom_themes_re .section-white { background: #fff !important; }
.news-grid.layout--four.grid-custom-one .news-grid-post-wrap article.grid-item { position: relative; flex: 0 1 25%; }
.news-grid.layout--four.grid-custom-one .post-element { margin-bottom: 0px; margin-top: 0px; background-color: #fff; border: 1px solid #f2f2f2; width: 100%; bottom: 15px; padding: 24px 20px; height: 180px;}   
.grid-custom-one .post-categories { position: absolute; top: 10px; right: 8px; }
/* .custom_themes_re .grid-custom-one .post-categories .cat-item a { padding: 2px 16px; background: #d81800; color: #fff !important; } */
.custom_themes_re .grid-custom-one .post-categories .cat-item a { padding: 2px 16px; background: #fff; color: #d81800 !important; } 
.grid-custom-one .post-date a { text-decoration: none; color: #c2c2c2; font-size: 12px; }
.news-grid.layout--four.grid-custom-one h2.post-title { font-weight: bold; }
.readmore-custom {
  color: #3c4043;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase !important;
  text-decoration: none;
}

.readmore-custom i {
  position: relative;
  right: 0;
  -webkit-transition: right 0.3s ease 0s;
  transition: right 0.3s ease 0s;
}

.readmore-custom:hover {
  color: #a32010;
}

.readmore-custom:hover i {
  right: -6px;
}
.mainblock-title { text-align: center; font-size: 2em; margin-bottom: 15px; color: #000;}
.subblock-title { text-align: center; margin: 0px auto 40px; font-size: 1.25rem; font-weight: 400;}
/* .page-template-page-home .news-grid-post-wrap.column--three .post-element { box-shadow: 0 3px 3px rgba(0,0,0,.5)!important; } */

.page-template-page-home .banner-layout--four .newsmatic-container { max-width:100%; padding-left: 0px; padding-right: 0px; }
.page-template-page-home .banner-layout--four .row {  max-width:100%; overflow: hidden; }
.main-banner-wrap .post-element { max-width: 1200px; right: 0px; margin: auto; }

/* Home BUMD */
.news-grid.layout--four.grid-custom-bumd .post-element { margin-bottom: 0px; margin-top: 0px; background-color: #fff; width: 100%; bottom: 15px; text-align: center; } 
.news-grid.layout--four.grid-custom-bumd .post-thumb-wrap img { max-width: 200px; margin: 0px auto; height: auto; }
.news-grid.layout--four.grid-custom-bumd .post-title { font-weight: bold; color: #d81800; }
.news-grid.layout--four.grid-custom-bumd article figure.post-thumb-wrap { padding-bottom: calc( 0.4 * 100% ); } 
/*
.news-grid.layout--four.grid-custom-bumd h2.post-title { position: relative; }
.news-grid.layout--four.grid-custom-bumd h2.post-title::after { 
    content: '';
	width: 90%;
	height: 2px;
	background: linear-gradient(176deg,var(--theme-color-red),transparent);
	position: absolute;
	left: 0;
	bottom: -10px;
} */

@media only screen and (min-width: 770px) {
    .custom_themes_re .site-header.layout--default .social-icons-wrap { flex: 0 1 320px; }
    .custom_themes_re .site-header.layout--default .main-header .site-branding-section .site-branding { flex: 0 1 calc(98% - 320px) !important; text-align: left !important; }
}
.custom_themes_re .site-header.layout--one .order--buttons-logo-social .header-right-button-wrap { display: none; }
.custom_themes_re .site-header.layout--default .main-header .site-title { vertical-align: top; display: inline-block; margin: 0px auto 0px 5px; text-align: left; }
.custom_themes_re .site-header.layout--default .main-header .site-title a { font-family: Arial, Helvetica, sans-serif; }
.custom_themes_re .site-header.layout--default .main-header .site-title a span { display: block; font-size: 16px; line-height: 20px; font-weight: bold; }
.custom_themes_re .site-header.layout--default .main-header .site-title a:hover { color: #fcb900; }
.custom_themes_re .site-header.layout--default .social-icons-wrap .social-icon { margin: 0px 5px; color: #d81800; display: inline-block; border-radius: 50%; width: 45px; height: 45px; position: relative; }
.custom_themes_re .site-header.layout--default .social-icons-wrap .social-icon:hover { background: #a32010; color: #fff; }
.custom_themes_re .site-header.layout--default .social-icons-wrap .social-icon i { font-size: 28px; position: absolute; top: 0; bottom: 0; right: 0; left: 0; margin: auto; display: inline-table; }

.custom_themes_re footer .main-footer { background-color: #d81800 }
.custom_themes_re .site-footer .bottom-footer .bottom-inner-wrapper { flex-direction: row-reverse; }
.custom_themes_re .site-footer .bottom-footer { background-color: #a32010; padding: 10px 0px; } 
.custom_themes_re .site-footer .site-info,
.custom_themes_re .bottom-menu ul li a { color: #fff; ; }
.custom_themes_re #newsmatic_menu_burger span { background-color: #fff; }
.custom_themes_re footer .main-footer p { margin-bottom: 12px; }
footer .widget ul.footer-link-list li.wp-social-link { list-style: none; position: relative; padding: 7px; border: none; background-color: #fff !important; width: 90%; margin: 0px auto; }
footer .widget ul.footer-link-list li.wp-social-link:before { content: none; }
footer .widget ul.footer-link-list li.wp-social-link a { display: flex; }
footer .footer-link-list .wp-social-link svg { flex: 0 1 25px; margin-right: 5px; }
footer .footer-link-list .wp-social-link span { font-size: 14px !important; }
footer .widget ul.footer-sosmed-icon li.wp-social-link { list-style: none; position: relative; padding: 7px; border: none; background-color: #fff !important;}
footer .widget ul.footer-sosmed-icon li.wp-social-link:before { content: none; }
footer .widget ul.footer-sosmed-icon li.wp-social-link a { display: flex; }
footer .wp-block-social-links .wp-social-link svg { width: 100%; height: auto; color: #a32010 !important;}
footer .weather_widget_wrap { border: 1px solid #fff !important; border-radius: 20px; margin-top: 25px !important; }

.main-navigation ul li {
    transition-duration: 0.3s;
    transition-property: left;
    transition-timing-function: ease-out;
}
.main-navigation .menu li, 
.main-navigation .nav-menu.menu li { padding: 0px; }
.main-navigation .menu li a, 
.main-navigation .nav-menu.menu li a { padding: 12px 15px; }
.main-navigation .menu li:hover, .main-navigation .nav-menu.menu li:hover { background: #a32010; color: #fff; }
/*.main-navigation ul.menu ul li a:hover, .main-navigation ul.nav-menu ul li a:hover  { background: #a32010; color: #fff; }*/
.main-navigation .menu li.current-menu-item, .main-navigation .nav.menu li.current-menu-item, 
.main-navigation .menu li.current_page_item, .main-navigation .nav.menu li.current_page_item { background: #a32010; color: #fff; }
.main-navigation ul.menu ul li a, .main-navigation ul.nav-menu ul li a { border: 0px; }
.main-navigation ul.menu ul li:hover a, .main-navigation ul.nav-menu ul li:hover a { border: 0px; }
.main-navigation .menu ul.sub-menu { width: 270px; }
.main-navigation.hover-effect--one .menu > li.current_page_item > a:before, .main-navigation.hover-effect--one .nav.menu > li.current_page_item > a:before { left: 15px; right: 15px; }

.pagination ul.page-numbers { text-align: center; }
.custom_themes_re  .post-categories .cat-item { background-color: #d81800 !important; }



.home_right {width:300px; float:right;}
.wraplist_right {margin-bottom:20px;}
.wraplist_right .header_right {text-transform:uppercase; background:#fff; padding:0px 0px 10px; color: #d81800; font-weight:900; font-size:16px; margin-bottom:15px; border-bottom:3px solid #880015;}
.wrap_listcontent {overflow:auto; height:320px;}

.link_instansi {margin-bottom:0px;}
.link_instansi .wrap_listcontent {height:auto;}

.list_right {padding: 0px 0px; margin-bottom:10px; border-radius: 25px 0px 25px 0px; 
    -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.list_right:hover { background: #a32010; color: #fff; }
.list_right:hover a { color: #fff !Important; }
.list_right img { display:inline-block; vertical-align: middle; margin-right:15px; width:70px; height:auto; padding: 10px;}
.list_right a { display: inline-block; 
    -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
.titile_list_right {display:inline-block; vertical-align: middle; font-weight:900; width:65%;}
.titile_list_right a { color:#363636!important; transition:all 0.5s; line-height:normal; font-size:16px; text-decoration: none; }
.titile_list_right a:hover {color:#fff!important; text-decoration:none;}


/* Single Perusahaan BUMD */
body.right-sidebar.single-perusahaan-bumd #theme-content .row .primary-content, 
body.left-sidebar.single-perusahaan-bumd #theme-content .row .primary-content { max-width: 100%; flex: 1; }
.single.single-perusahaan-bumd h1.entry-title { text-align: center; }
body.single.single-perusahaan-bumd #theme-content .row .primary-content .post-thumbnail img { max-height: 250px; margin: 0px auto 15px; }

/* Page Template Gallery */
.page-template-page-gallery .grid-custom-4 .news-grid-post-wrap article.grid-item { flex: 0 1 25%; }
.news-grid.layout--four.grid-custom-4 .grid-item { margin-bottom: 15px; }
.news-grid.layout--four.grid-custom-4 .post-element { width: 100%; margin-top: 0px; text-align: center;}
.banner-layout--four .grid-custom-4 .post-meta .post-date time, 
.banner-layout--four .grid-custom-4 .post-meta span.post-date:before { color: #8a8a8c; }
.page-template-page-gallery.no-sidebar #theme-content .row { display: flex; }

/* Page Template Regulasi */
.page.page-template-page-regulasi #theme-content { margin-bottom: 20px; }
body.post-layout--one.page-template-page-regulasi #theme-content .primary-content article { display: block; }
.page.page-template-page-regulasi .primary-content .post-inner-wrapper { padding: 0px; }
.page-template-page-regulasi h1.entry-title { text-align: center; }
.main-table-regulasi { position: relative; display: block; margin: 10px auto 25px; max-width: 1200px;} 
a.btn-download { text-decoration: none; background: #d81800; color: #fff; padding: 8px 20px; border-radius: 8px; 
    -webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
a.btn-download:hover { background: #a32010; }
.table-regulasi { padding-top: 25px; }
.table-regulasi th { background: #d81800; color: #fff; }

/* Single Post Gallery */
body.right-sidebar.single-post-gallery #theme-content .row .primary-content, 
body.left-sidebar.single-post-gallery #theme-content .row .primary-content { max-width: 100%; flex: 1; }
.single.single-post-gallery h1.entry-title { text-align: center; }
body.single.single-post-gallery #theme-content .row .primary-content .post-thumbnail img { max-height: 250px; margin: 0px auto 15px; display: none; }




@media only screen and (max-width: 1024px) {
    .custom_themes_re.right-sidebar #theme-content .row .primary-content, 
    .custom_themes_re.left-sidebar #theme-content .row .primary-content { max-width: 100%; }
    .news-grid.layout--four.grid-custom-one .news-grid-post-wrap article.grid-item { flex: 0 1 50%; }
}
@media only screen and (max-width: 769px) {
    .custom_themes_re .site-header.layout--default .top-date-time { display: block; }   
    .site-header.layout--default nav.main-navigation { padding: 8px 0px; }
    .custom_themes_re nav.main-navigation ul.menu, .custom_themes_re nav.main-navigation ul.nav-menu { background-color: #d81800; padding: 10px 0px; }
    nav.main-navigation ul.menu li, nav.main-navigation ul.nav-menu li { padding: 0px 30px; }
    .main-navigation .menu li.current-menu-item, .main-navigation .nav.menu li.current-menu-item, .main-navigation .menu li.current_page_item, .main-navigation .nav.menu li.current_page_item { background: #a32010 !important; }
    .main-navigation.hover-effect--one .menu > li.current_page_item > a:before, .main-navigation.hover-effect--one .nav.menu > li.current_page_item > a:before { display: none; }
    .custom_themes_re .site-footer .bottom-footer .bottom-inner-wrapper { flex-direction: column; }
    .main-navigation .menu li:hover, .main-navigation .nav-menu.menu li:hover { background: transparent; }
    .main-navigation .menu li.current-menu-item, .main-navigation .nav.menu li.current-menu-item, 
    .main-navigation .menu li.current_page_item, .main-navigation .nav.menu li.current_page_item { background: transparent; }
    nav.main-navigation ul.menu li, 
    nav.main-navigation ul.nav-menu li { clear: both; }
    .main-navigation ul ul a { width: 100%; }
    .page-template-page-gallery .grid-custom-4 .news-grid-post-wrap article.grid-item { flex: 0 1 50%; }
}
@media only screen and (max-width: 650px) {
    .custom_themes_re .site-header.layout--default .main-header .site-title { margin: 0px auto; text-align: center; }
    .custom_themes_re .site-header.layout--default .main-header .site-title a span { margin-top: 8px; }
    .custom_themes_re .site-header.layout--default .top-date-time .time { padding-left: 0px; display: block; margin-top: 2px; display: none;}
    .custom_themes_re .site-branding .site-title a { font-size: 2em; line-height: 24px; }
    .news-grid.layout--four.grid-custom-one .news-grid-post-wrap article.grid-item { flex: 100%; }
}
@media only screen and (max-width: 425px) {
    .custom_themes_re .site-header.layout--default .top-ticker-news .slick-arrow { display: none !important; } 
    .custom_themes_re .site-header.layout--default .top-ticker-news .slick-list { width: 100%; }
    .table-regulasi th.resp-hide,
    .table-regulasi td.resp-hide { display:none;
        width:0;
        height:0;
        opacity:0;
        visibility: collapse;    }
    .page-template-page-gallery .grid-custom-4 .news-grid-post-wrap article.grid-item { flex: 0 1 100%; }
}
@media only screen and (max-width: 400px) {
    .custom_themes_re .site-branding .site-title a { font-size: 1.6em; line-height: 24px; }
}