/*
Theme Name: TopMetalM
Text Domain: https://cs2k.hotget.net/
Version: 1.0
Tested up to: 6.0
Requires at least: 4.7
Requires PHP: 5.2.4
Description: Our default theme for 2024 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: the WordPress team
Author URI: https://cs2k.hotget.net/
Theme URI: https://cs2k.hotget.net/themes/topmetalm/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Document Setup
	2. 	Element Base
	3. 	Helper Classes
	4. 	Site Header
	5. 	Menu Modal
	6. 	Search Modal
	7. 	Page Templates
		a. 	Template: Cover Template
		c. 	Template: Full Width
	8.  Post: Archive
	9.  Post: Single
	10. Blocks
	11. Entry Content
	12. Comments
	13. Site Pagination
	14. Error 404
	15. Widgets
	16. Site Footer
	17. Media Queries

----------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */

/*	0. CSS Reset
/* -------------------------------------------------------------------------- */

:root {
  --main-bg-color: #abb8c3;
  --header-bg-color: #29487d;
  --header-color: #fff;
  --selection-bg-color: #eee;
  --href-color: #6c8091;
  --href-color-hover: #29487d;
  --front-page-block-bg-color: #c2d0db;
}

html,
body {
	border: none;
	margin: 0;
	padding: 0;
	font-family: system-ui, "Roboto Condensed",Arial, Helvetica, sans-serif;
	font-size: 10pt;
	background-color: var(--main-bg-color);
}
* {
    outline: none;
    word-wrap: break-word;
}
ul{
	margin: 0px;
    padding: 0px;
    list-style-type: none;
    display: block;
    list-style-position: outside;
}
a {
	color: var( --href-color); text-decoration: none;
	transition: all 0.5s;
}
a:hover {
	color: var( --href-color-hover);
}

img { max-width: 100%; }

span.date {
	font-size: 8pt;
	color: #999;
}

header {
	text-align: center;
	margin-bottom: 0px;
	background-color: var( --header-bg-color );
	color: var( --header-color );
	position: relative;
	background: url('assets/images/profiles.jpg') var( --header-bg-color );
	background-size: cover; background-position: center;
}
header.single {
	background-size: cover; background-position: center;
	height: 400px;
}
header nav {
	margin-bottom: 0px;
    display: flex;
    justify-content: center;
    background: var(--header-bg-color);
	background: #d8dde7;
    flex-wrap: wrap;
    align-items: center;
	border-bottom: 0;
	z-index: 9999;
	transition: background .1s linear;   
}
header > .logo_header {
	display: inline-block; margin-top: 10px;
}
header nav > .logo_small {
	display: none; margin: 0 10px 0 0;
}
header.single nav {
	border: 0; background-color: unset;
}
header.single #header_search {
	background-color: unset; padding: 0; opacity: 0.8;
}
header.single #search-button a > span {
	color: #fff; text-shadow: 0 1px 4px #000;
}
header.single #search_error{
	padding: 3px; border-radius: 3px; background-color: #fff;
	margin-bottom: 3px;
}
header h1 {
	text-transform: uppercase;
}
@media ( max-width: 768px ) {
	header nav {
		display: none; width: 100%;
	}
}

header.main{
	
}

h1, h2, h3 {
	margin: 0;
	padding: 10px 0;
	font-weight: normal;
}

.hidden_element {
	display: none !important;
}
.show_element {
	display: block !important;
}
.w100p{
	width: 100%;
}
.fixed_background {
	background: var(--header-bg-color);
	opacity: 0.98;
}
.position_fixed{
	position: fixed !important;
}
.position_relative{
	position: relative !important;
}
.br-down-5 {
	border-radius: 0 0 5px 5px !important;
}
/* Response Menu*/
@media ( min-width: 769px )  {
	#response-menu-button {
		display: none;
	}
	.response-menu {
		display: flex !important;
		position: relative; top: unset;
	}
	.response-menu #menu-mainmenu > li {
		float: left;
	}
	#response-menu, #menu-mainmenu .href-item-has-children {
		display: none !important;
	}
}

#response-menu {
	position: fixed;
    width: 100%;
    height: calc(100% + 200px);
    background: #000;
    opacity: 0.8;
    z-index: 9998;
    display: none;
    top: -100px;
}
#response-menu-button {
	width: 45px; height: 45px;
	position: absolute;
	top: 0; right: 10px;
	z-index: 10000;
	font-size: 30pt;
	cursor: pointer;
}
#response-menu-blank {
	width: 100%; height: 45px; display: none;
}
.response-menu {
	position: absolute;
    top: 55px;
	display: block;
}
.response-menu #search-button {
	display: none;
}
.response-menu #header_search { position: unset; }

.response-menu #menu-mainmenu .sub-menu {
	padding: 0 0 0 15px !important; border-left: 0;
}
.response-menu #menu-mainmenu {
	display: block !important;
}
.response-menu #menu-mainmenu > li {
	float: unset;
}
.response-menu #menu-mainmenu .href-item-has-children {
	float: right;
    padding: 15px;
}
.response-menu #menu-mainmenu > li > .sub-menu a, .response-menu #menu-mainmenu li > a {
	white-space: pre-wrap;
}
.response-menu #menu-mainmenu .sub-menu {
	position: unset;
}
.response-menu #menu-mainmenu:first-child > li.menu-item-has-children  > a:after {content: ''; }
.response-menu #menu-mainmenu li.menu-item-has-children > a:after { content: ''; }
.response-menu #menu-mainmenu li:hover > ul.sub-menu{
	display: none;
}
.response-menu #menu-mainmenu {
	margin: 0 10px;
}
.response-menu #mobile_search {
	display: block; margin: 20px 10px 10px;
}
.response-menu #mobile_search > div {
	padding: 10px 0; width: 100%; background: #e8f0fe;
    border: 1px solid var( --href-color);
}
.response-menu #mobile_search > div > input {
	width: 90%; padding: 0; border: 0;
	background: #e8f0fe;
}
.response-menu #menu-mainmenu:first-child > li:hover {
	background: unset;
}
.response-menu #menu-mainmenu li > a:hover {
	background-color: unset;
}
.response-menu #menu-mainmenu .sub-menu {
	background: unset;
}

.response-menu #menu-mainmenu:first-child > li > a::before {
  content: "";
  position: relative;
  display: block;
}
.response-menu #menu-mainmenu:first-child > li > a:hover::before {
  transform: scaleX(0);
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.8);
	overflow-y: auto;
	display: none;
}
/*Web Menu*/
#mobile_search {
	display: none;
}
.menu-mainmenu-container {
	/*background: var(--header-bg-color);*/
}
#menu-mainmenu {
	display: flex; justify-content: center; position: relative; z-index: 9999;
}

#menu-mainmenu li {
	position: relative;
	text-align: left;
}
#menu-mainmenu:first-child > li:hover {
	background: #eee;
}

#menu-mainmenu li:hover > ul.sub-menu {
	display: block;
}

#menu-mainmenu .sub-menu {
	position: absolute;
	display: none;
	background: #ddd;
}
#menu-mainmenu > li > .sub-menu a {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	padding: 15px;
	display: block;
}
#menu-mainmenu li > a {
	text-transform: uppercase;
	white-space: nowrap;
	font-weight: bold;
	padding: 15px 10px; margin: 0px; border-radius: 0px;
	display: block;
	transition: background-color 1s;
	/*color: var(--header-color);*/
}
#menu-mainmenu:first-child > li > a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: 2px;
  left: 0;
  background-color: var( --href-color-hover );
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: bottom left;
}

#menu-mainmenu li > a:hover {
	background-color: #eee;
	transition: background-color 1s; color: var(--href-color-hover);
}
#menu-mainmenu:first-child > li > a:hover::before {
  transform: scaleX(1);
  transform-origin: bottom left;
}


#menu-mainmenu:first-child > li.menu-item-has-children  > a:after {content: '\25BE'; font-size: 11px; }
#menu-mainmenu li.menu-item-has-children > a:after { content: ' \25B8'; font-size: 11px; }

#menu-mainmenu * {
    list-style:none;
    margin:0;
    padding:0;
    font-size:1em;
}

#menu-mainmenu > li{            /* Top Level */
    float:left;
}
#menu-mainmenu > li > span{
    display:block;
    background:#0ac;
    padding:3px 10px;
}
#menu-mainmenu > li:hover > span{
    color:#fff;
}

#menu-mainmenu > li > ul{        /* Second Level */
    display:none;
}
#menu-mainmenu > li:hover > ul{
    display:block;
    position:absolute;
}
#menu-mainmenu > li > ul > li > span{
    display:block;
    padding:3px 10px;
    border-top:solid 3px #fff;
}
#menu-mainmenu > li > ul > li:hover > span{
    color:#fff;
}

#menu-mainmenu > li > ul li > ul{   /* Third Level & beyond */
    display:none;
    background:#068;
}
#menu-mainmenu > li > ul li:hover > ul{
    display:block;
    position:absolute;
    left:100%;
	border-left: 2px solid var( --href-color);
    top:0;
    width:auto;
}
#menu-mainmenu > li > ul > li ul > li{
    display:block;
    white-space:nowrap;
}
#menu-mainmenu > li > ul > li ul > li:hover > span{
    color:#fff;
}
div.main-navigation ul.menu > li > a {
	color: #fff;
	text-shadow: 0 1px 4px #000;
}
div.main-navigation ul.menu > li > a:hover {
	color: var( --href-color-hover);
	text-shadow: unset;
}
#page {
	padding: 10px; margin: 30px auto; background-color: #f0f0f1; border-radius: 5px;
}
.container_800 > .page {
	margin: 10px 0 0 0;
}
@media ( max-width: 840px ) {
	#page {
		margin: 30px 10px;
	}
};
main .page{
	margin: 15px auto !important;
}
section > article {
	
}
main {
	font-size: 11pt;
}
.container_full {
	margin: 40px 0 30px 0;
    background: #f0f0f1;
    padding: 20px 0 0 0;
	z-index: 1;
	position: relative;
}
.container{
	margin: auto; max-width: 1280px; padding: 0 10px;
}
.container_800{
	margin: auto; max-width: 800px; padding: 0 10px;
}
.time_view {
	font-size: 12px;
	color: #999;
}

.center{
	text-align: center;
}
.logo_all {
	margin-top: 10px;
	margin-bottom: 20px;
	position: relative;
}

#home_slider {
	display: flex;
	justify-content: center;
	background-color: unset;
	padding: 0; margin: 0;
}

.block-info {
	border-radius: 0px;
    margin-bottom: 20px;
    padding: 10px;
    background: #e9ebee;
}
#header_search {
	position: absolute; background: #fff;
    right: 10px; top: 40px; padding: 10px; opacity: 0.8;
}
#header_search .flex{
	display: flex; 
}
#header_search input {
	color: var(--header-bg-color); width: 200px; padding: 5px; border-radius: 5px 0 0 5px;
	border: 1px solid var(--header-bg-color); background: #e8f0fe; font-weight: bold;
}
#search_error{
	margin: 0 0 10px 0; color: red; font-weight: bold;
}
#search-button {
	position: relative;
}
#search-button a {
	display: block;
    margin: 0 10px;
    padding: 0px 5px 5px;
}
#search-button a.form {
    background: #ddd;
    margin: 0;
	padding: 0 15px 5px;
    border-radius: 0 5px 5px 0;
    border: 1px solid var(--header-bg-color);
	background-color: var(--header-bg-color);
    border-left: 0;
}
#search-button a.form > .search-button-icon:before{
	color: #fff;
}
#search-button .search-button-icon {
    position: relative;
    font-size: 0;
    line-height: 1;
    font-weight: 400;
}
#search-button .search-button-icon:before {
    content: "\2315";
    font-family: woodmart-font;
    font-size: 30px;
    transition: opacity .3s ease;
}

#single {
	padding: 10px;
    margin-top: -45px;
    background: #fff;
    z-index: 3;
    position: relative;
    border-radius: 5px 5px 0 0;
}
.blocks{
	display: flex;
    flex-wrap: wrap;
	margin: auto;
	justify-content: center;
	margin: 10px -5px 0 -5px;
}
.blocks > article {
	width: 100%;
}
.blocks > article > .post {
	height: calc(100% - 30px);
	margin: 0 5px 30px 5px; 
    background: var( --front-page-block-bg-color);
	border-radius: 5px;
}
.blocks > article > .post:hover > .post_img > a {
	opacity: 0.8;
	transform: scale( 1.2 );
}
.blocks > article > .post > .post_img, .category > article > .post > .post_img {
	overflow: hidden;
	border-radius: 5px 5px 0 5px;
}
.blocks > article > .post > .post_img > a, .category > article > .post > .post_img > a {
	display: block;
	transition-duration: 1s;
}
.blocks > article > .post > .post_img > a:hover, .category > article > .post > .post_img > a:hover {
	opacity: 0.8;
	transform: scale( 1.2 );
}
.blocks > article > .post > .post_img > a > img, .category > article > .post > .post_img > a > img{
	width: 100%; 
	display: block;
}
.post_info h2 {
	font-weight: normal;
    font-size: 18pt;
}
.blocks > article > .post > .post_info {
	padding: 0 15px 15px; position: relative;
}

.blocks > article > .post > .post_info > .category {
	text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 5px;
    position: absolute;
    top: -17px; left: 0;
	/*
    left: 0;
    background: #fff;
    border-radius: 0 5px 0 0;
    padding: 5px 15px;
 */
}
.blocks > article > .post > .post_info > .category > a:before {
	content: '\25C9    ';
}

.blocks > article > .post > .post_info > .category > a {
	padding: 5px 12px; background: var( --front-page-block-bg-color); border-radius: 0 4px 0 0;
}

@media (min-width:1024px) {
    .blocks > article  {
        width:calc( 100% / 3);
    }
	.blocks > article > .post {
		min-height: 300px;
	}
	.category > article > .post {
		display: flex; flex-wrap: wrap;
	}
}
/* tablet breakpoint */
@media (max-width:1024px) {
    .blocks > article  {
        width:calc(100% / 3);
    }
	
}
/* tablet breakpoint */
@media (max-width: 768px) {
	.blocks > article  {
        width:calc(100% / 2);
    }
}
/* tablet breakpoint */
@media (max-width: 500px) {
	.blocks > article  {
        width:100%;
    }
}

a.more:after {
	content: " ...";
	opacity: 0;
	transition: all 1s;
	font-weight: bold;
}

a.more:hover:after {
	opacity: 1;
}

.category {
	
}
.category > article > .post {
	margin: 0 0 30px; background: var( --front-page-block-bg-color);
	border-radius: 5px;
}
.category > article > .post > .post_info {
	flex: 1;
	padding: 0 15px 15px;
}
#breadcrumbs {
	font-weight: bold;
	margin-bottom: 10px;
}

.post_img_mini {
	width: 200px;
}

footer {
	color: #aaa;
	background: #333;
	background: url('assets/images/footer.jpg') #333 repeat-x;
}

footer h1, footer h2, footer h3 {
	margin: 0 0 10px 0; padding: 0;
	font-weight: bold;
    text-shadow: 1px 1px #111;
}

footer .footer-sidebar {
	margin: 15px 5px; padding: 0 10px;
}
footer #footer-sliders > .footer-sidebar p {
	margin: 0;
}
footer .footer {
	margin: auto; margin-bottom: 15px;
	padding: 50px 10px 10px 10px;
}
footer .copyright {
	background: rgba(0, 0, 0, .3);
	padding: 20px 10px;
}
footer .copyright > div:first-of-type {
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

footer .copyright p {
	margin: 0;
}
footer a {
	color: #eee;
}
footer a:hover {
	color: #aaa; text-decoration: underline;
}
@media (max-width: 768px) {
	footer .copyright > div:first-of-type {
		display: block;
	}
	footer .copyright p {
		margin: 5px;
	}
}
.shadow {
    box-shadow: 0 0 4px rgba(0, 0, 0, .12);
	transition: box-shadow .35s ease;
}

.shadow_more {
    box-shadow: 0 16px 38px -50px rgba(0, 0, 0, .56), 0 4px 25px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2);
}

.shadow_big {
	box-shadow: 0 16px 38px -12px rgba(0, 0, 0, .56), 0 4px 25px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(0, 0, 0, .2);
}

.text_shadow {
	text-shadow: 0 3px 10px black;
}
.header_text_shadow{
	text-shadow: rgb(0, 0, 0) 1px 0px 0px, rgb(0, 0, 0) 0.540302px 0.841471px 0px, rgb(0, 0, 0) -0.416147px 0.909297px 0px, rgb(0, 0, 0) -0.989992px 0.14112px 0px, rgb(0, 0, 0) -0.653644px -0.756802px 0px, rgb(0, 0, 0) 0.283662px -0.958924px 0px, rgb(0, 0, 0) 0.96017px -0.279415px 0px;
}
.paginate_links {
	padding: 5px;
	margin-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
}
.paginate_links span.current {
	background-color: var( --href-color);
	color: var( --main-bg-color);
	padding: 5px 10px; border-radius: 50%;
}
.paginate_links a {
	padding:  5px 10px; border-radius: 100%;
}
.paginate_links a:hover {
	background: var( --selection-bg-color);
}
.paginate_links a.prev, .paginate_links a.next{
	border-radius: 8px;
}

#videos {
	padding: 0;	margin: 0 0 10px 0;
}

#videos > .video-block {
	padding: 0; margin: 0 0 20px 0;
}

iframe {
	max-width: 100% !important;
}

/*DMC */

.reveal{
  position: relative;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease;
}

.reveal.active{
  transform: translateY(0);
  opacity: 1;
}

a.topmetal_href_button {
	background: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 5px;
    display: inline-block;
    border: 1px solid #aaa;
}
a.topmetal_href_button:hover {
	background: #ddd;
}
/* DMC Animates 2024 */
.animation-right{
	animation: righty 2s forwards;
	position: relative;
	animation-delay: 0.5s;
}
@keyframes righty{
	0%{
		opacity: 0;
        transform: translateX(150px);
	}
	100% {
		opacity: 1;
		transform: translateX(0px);
	}
}

.animation-left{
	animation: lefty 2s forwards;
	position: relative;
	animation-delay: 0.5s;
}
@keyframes lefty{
	0%{
		opacity: 0;
		transform: translateX(-150px);
	}
	100% {
		opacity: 1;
		transform: translateX(0px);
	}
}

.animation-top{
	animation: toping 2s forwards;
	position: relative;
	animation-delay: 0.2s;
}
@keyframes toping{
	0%{
		opacity: 0;
        transform: translateY(150px);
	}
	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}

.animation-down{
	animation: downing 2s forwards;
	position: relative;
	animation-delay: 0.2s;
}
@keyframes downing{
	0%{
		opacity: 0;
        transform: translateY(150px);
	}
	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}


/* System */

figure.wp-block-gallery.has-nested-images {
	display: flex; flex-wrap: wrap; margin: 0 -3px;
}
.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) {
	margin: 0; overflow: hidden; display: block;
}
.wp-block-gallery.has-nested-images.columns-3 > img, figure.wp-block-image > img {
	display: block;	transition-duration: 1s;
	opacity: 0.8;
}
.wp-block-gallery.has-nested-images.columns-3:hover > img, figure.wp-block-image:hover > img {
	opacity: 1;
	transform: scale( 1.2 );
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
	overflow: hidden;
}

.blocks > .post-gallery > .ngg-galleryoverview > .ngg-navigation {
	display: none !important;
}