/*
 Theme Name:   Mission News Child
 Template:     mission-news
 Author: 	   Compete Themes
 Version: 	   1.0
 Author URI:   https://www.competethemes.com
 Description:  This is a child theme used to customize the Mission News WordPress theme.
 License: GNU  General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
 
/* =Theme customization starts here
-------------------------------------------------------------- */
:root {

	--color-1: #6db33f;
	--color-2: #ebad3c;
	--color-3: #e8941e;
	--color-4: #FFC001;

	--white-color: #ffffff;
	--black-color: #0a0a0a;
	--ulgreen-color: #008000;

	--font-size: 16px;

}

/* ================================ */
/* === Main ======================= */
::selection {
	background-color: var(--color-3);
	color: var(--white-color);
}

body {
	font-size: var(--font-size);
	font-family: 'roboto', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'roboto', sans-serif;
	font-weight: 600;
}
p {
	margin: 0;
	margin-bottom: .5rem;
}

.solar-line {
	position: relative;
	line-height: 3px;
}
.solar-line .qubely-block-divider {
	min-width: 100%;
	line-height: 0;
}

.solar-line-left {
	border-left: 1px solid var(--black-color);
}

.solar-line-right {
	border-right: 1px solid var(--black-color);
}

.solar-under-line img {
	border-bottom: 4px solid var(--color-4);
}

.hide-ori {
	display: none !important;
}

div.entry {
	border-bottom: 0;
}

.img-align-bottom img{
	/* outline: 1px dashed red; */
	object-fit: contain;
	object-position: center;
}



/* ================================ */
/* === Navigation ================= */
body:not(.page) .site-header {
	margin-bottom: 25px;
}

.site-header {
	/* margin-bottom: 1rem; */
	margin-bottom: 0;
}
.header-nav {
	margin-bottom: 0.375em;
}
.header-nav:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.menu-primary-items a,
.menu-secondary-items a {
	font-family: 'Roboto', sans-serif;
}

.bottom-nav {
	margin-bottom: 0.375em;
	display: block;
}
.bottom-nav:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.menu-primary-container {
	border-width: 0;
}


@media all and (min-width: 50em) {

	.layout-no-sidebar-wide .main {
		
		width: 100%;
		float: none;
		padding: 1.125em 2.778%;
		margin: 0;
	}

	.layout-no-sidebar-wide .loop-container {
		width: 100%;
		left: 0;
	}

	.layout-no-sidebar-wide .entry:first-child .post-header {
		left: 0;
		width: 100%;
		text-align: left;
	}

	.img-align-top {
		position: absolute;
		margin-top: auto;
		margin-bottom: 0;
	}

	.img-align-top img {
		/* width: 100%; */
		width: auto;
		max-height: 180px;
		object-fit: cover;
		object-position: center;
	}

	

}

/* 50em -> 800px */
@media (min-width: 50em) {

	.site-title img {
		width: 100%;
		height: 100%;
	}

	.menu-primary {
		padding-left:0;
		padding-right:0;
	}

	.menu-primary-container {
		border-width: 0;
	}

	.menu .menu-primary-items {
		width: 100%;
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
		border-bottom: 5px solid var(--ulgreen-color);
	}

	.menu-primary-items li {
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}

	.menu-primary-items li a {
		/* padding: 0.75rem 1.85rem; */
		padding: 0.5rem 0.5rem;
		text-transform: uppercase;
		font-size: 1.25rem;
		font-weight: 600;
		letter-spacing: .5px;
		transition: all .2s ease-in;
		width: 100%;
	}

	.menu .menu-primary-items li a:hover {
		background-color: var(--ulgreen-color);
		color: var(--white-color);
	}

	.menu-primary-items li a:link, 
	.menu-primary-items li a:visited {
		color: var(--ulgreen-color);
	}

	.menu-primary-items li.current-menu-item > a {
		background-color: transparent;
	}

	.menu-secondary-container {
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
		width: 100%;
		float: none !important;
		clear: both;
		padding-top: 0.45rem;
		/* padding-bottom: 0.45rem; */
	}
	.menu-secondary {
		width: 100%;
	}
	.menu-secondary-items {
		display: flex;
		flex-flow: row wrap;
		justify-content: center;
		width: 100%;
	}
	.menu-secondary-items li {
		margin-right: 0;
		/* border: 1px solid var(--white-color); */
		min-width: 25%;
		padding: 1px;
	}
	.menu-secondary-items li a {
		padding: 10px 15px;
		text-align: center;
		display: block;
		font-weight: 600;
		letter-spacing: .5px;
		font-size: 0.85rem;
		background: var(--color-4);
		transition: all .2s ease-in;
		width: 100%;
		/* margin: 1px 2px; */
	}
	.menu-secondary-items li a:hover {
		background-color: var(--white-color);
		color: var(--color-4);
	}
	.menu-secondary-items a:link, 
	.menu-secondary-items a:visited {
		color: rgba(255, 255, 255, 0.97);
	}

	.single-post .menu-secondary-container {
		margin-bottom: 27px;
	}
}

@media (max-width: 799px) {

	.site-header {
		position: relative;
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-between;
		align-items: center;
		border-bottom-color: var(--ulgreen-color);
	}

	.site-header .header-sec {
		display: none;
	}

	.site-header .toggle-navigation {
		margin-left: auto;
		margin-right: 5px;
		/* background-color: var(--ulgreen-color); */
		border: unset;
		padding: 10px;
		border-radius: 0;
	}

}


.home.page .post-header {
	display: none;
}


/* === Home ======================= */
.obj-hide {
	display: none !important;
}

.home-section {
	position: relative;
}

.home-section > .qubely-container {
	padding-left: 2px !important;
	padding-right: 2px !important;
}

.home-section .wp-block-nextend-smartslider3 .n2-ss-slider {
	border-bottom: 5px solid var(--color-4);
}

.solar-post-news {
	position: relative;
}
.solar-post-news.pagination-hide .qubely-postgrid-pagination {
	display: none;
}

.solar-title {
	background-color: var(--color-4);
	padding: 6px 10px;
}

.solar-title h2 {
	color: var(--white-color);
}

.row-height-equal .qubely-row,
.row-height-equal.gb-grid-wrapper {
	position: relative;
	display: flex;
	flex-flow: row wrap;
}

.row-height-equal .gb-grid-column {
	position: relative;
	height: inherit;
}

.slide-align-bottom {
	position: relative;
	margin-top: auto;
	margin-bottom: 0;
}

.row-height-equal {
	padding-top: 10px;
	padding-bottom: 0;
}

.solar-ads-line {
	padding-top: 37px;
	padding-bottom: 37px;
	border-bottom: 4px solid var(--color-4);
	min-height: 120px;
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
}

.solar-ads-line:hover .qubely-block-text-title {
	transform: scale(1.1);
	transition: all .3s;
}

.solar-ads-line:hover {
	transform: scale(1.1);
	transition: all .3s;
}

.solar-ads-line .qubely-block-text-title-inner {
	padding-bottom: 0;
}

.solar-ads-line a {
	color: white;
}

.qubely-block-btn-anchor {
	color: var(--black-color);
}

.post-title {
	color: var(--ulgreen-color);
	text-transform: uppercase;
}

.solar-post-highlight {
	position: relative;

}

.solar-post-highlight .qubely-postgrid-pagination {
	display: none !important;
}

@media screen and (min-width: 767px) {
	.solar-post-highlight .qubely-post-list-wrapper .qubely-post-list-img {
		flex: 0 0 55%;
		max-width: 55%;
	}

	.solar-post-highlight .qubely-post-list-wrapper .qubely-post-list-img+.qubely-post-list-content {
		flex: 0 0 45%;
		max-width: 45%;
	}
}

@media (min-width: 68.75em) {
	.post-title {
		padding-left: 5px;
		padding-right: 5px;
	}
}


@media (min-width: 50em) {
	.row-height-equal .gb-grid-column > div {
		position: relative;
		padding-left: 5px;
		padding-right: 5px;

	}
	.row-height-equal .gb-grid-column .column-1 {
		padding-left: 0;
	}
	.row-height-equal .gb-grid-column .column-3 {
		padding-right: 0;
	}
	.gb-inside-container {
		position: relative;
		height: inherit;
		display: flex;
		flex-direction: column;
	}

	.img-align-bottom {
		position: absolute;
		margin-top: auto;
		margin-bottom: 0;
	}

	.img-align-bottom img {
		width: 100%;
		max-height: 155px;
		object-fit: cover;
		object-position: center;

	}

	.img-height-210 img {
		width: 100%;
		max-height: 210px;
		object-fit: cover;
		object-position: center;
	}

}

@media (min-width: 37.5em) {

	section.main {
		padding-bottom: 0;
	}
	
	.main .type-page {
		padding-bottom: 0;
		margin-bottom: 0;
	}

}

@media (max-width: 799px) {

	.row-height-equal .gb-grid-column > div {
		position: relative;
	}

	.row-height-equal .gb-grid-column .column-1 {
		padding-left: 0;
	}

	.row-height-equal .gb-grid-column .column-3 {
		padding-right: 0;
	}

	.gb-inside-container {
		position: relative;
		height: inherit;
		display: flex;
		flex-direction: column;
	}

	.img-align-bottom {
		position: absolute;
		margin-top: auto;
		margin-bottom: 0;
	}

	.img-align-bottom img {
		width: 100%;
		max-height: 160px;
		object-fit: cover;
		object-position: center;

	}

	.solar-post-news {
		position: relative;
	}

	.solar-post-news .qubely-post-list-img {
		position: relative;
	}

	.solar-post-news img {
		max-width: 100%;
	}

}


@media screen and (max-width: 766px) {
	.qubely-post-list-wrapper {
		flex-direction: column;
	}

	div.solar-post-news .qubely-postgrid-wrapper .qubely-postgrid .qubely-post-list-content {
		padding-left: 0;
	}
}


/* === Footer ==================== */
a:-webkit-any-link {
	text-decoration: none !important;
}

.site-footer {
	position: relative;
	border-top: 0;
	/* padding: 1.5em 5.556% 1.125em; */
	padding-top: 1em;
	padding-bottom: 1.125em;
}

.site-footer .footer-title-container {
	display: none;
}
.site-footer .widget-area {
	margin-top: 5px;
	/* margin-bottom: 10px; */
	margin-bottom: 0;
	padding-bottom: 10px;

	background-color: var(--ulgreen-color);
}
.site-footer .design-credit {
	/* margin-top: 17px; */
	margin-top: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 15px;
	padding-right: 15px;
	background-color: var(--ulgreen-color);
}
.site-footer .design-credit span {
	color: var(--white-color);
}
.site-footer #footer-builder .so-panel {
	margin-bottom: 17px;
}
.site-footer #footer-builder .textwidget {
	margin-top: 27px;
}
.site-footer #footer-builder .so-panel h4 {
	font-size: 1.1rem;
	line-height: 1.2;
	margin-bottom: 10px;
}
.site-footer #footer-builder .so-panel p {
	line-height: 1.4;
	font-size: 1rem;
}

.site-footer .footer-widget {
	display: flex;
	flex-direction: row;
}
.site-footer .widget-title {
	font-size: 1.25rem;
	margin-bottom: 14px;
}
/* .site-footer .widget-area {
	border-bottom: 5px solid green;
} */

.site-footer .sow-headline {
	text-transform: uppercase;
	letter-spacing: .5px;
}
.site-footer .widget_nav_menu {
	padding-top: 27px;
	padding-bottom: 27px;
}
.site-footer .so-panel .menu a {
	font-size: 1rem;
	line-height: 1.1;
}
.site-footer .widget_nav_menu a {
	color: var(--white-color);
	transition: all .2s ease-in-out;
}
.site-footer .widget_nav_menu a:hover {
	color: var(--black-color);
}
.site-footer .widget_nav_menu .menu {
	width: 100%;
	display: block;
}

.site-footer .menu .menu-item {
	min-width: 50%;
	word-wrap: none;
	padding-left: 7px;
	padding-right: 7px;
	text-align: left;
}

.sow-social-media-button-steam-0 .sow-icon-fontawesome[data-sow-icon]:before {
	content: '\f3c0';
}

/* .site-footer .sub-menu .menu-item {
	border-left: 1px solid rgba(255, 255, 255, 0.57);
} */

@media (min-width: 37.5em) {
	.site-footer {
		position: relative;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	#site-footer .so-widget-sow-image img {
		max-width: 170px;
		width: 100%;
		height: auto;
	}

	.site-footer .widget_nav_menu .menu {
		column-count: 2;
	}

	.site-footer .panel-grid-cell {
		padding-top: 0;
	}
	.site-footer .panel-grid-cell:nth-last-of-type(1) {
		padding-top: 0;
	}
	.site-footer .panel-grid-cell:nth-last-of-type(1) img {
		padding-left: 10px;
		padding-right: 20px;
		width: 100%;
		max-height: 150px;
		object-fit: contain;
		object-position: top;
	}
}



.qubely-section .qubely-container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-block-qubely-divider .qubely-block-divider {
	display: flex;
}

.txt-two-col div + p {
	column-count: 2;
}

.imprint-table table td {
	border: unset;
}

/* ==============================
 *  Gallery Page
 ================================ */
html {
	scroll-behavior: smooth;
}

.row-hide {
	display: none !important;
}

.row-line-top {
	border-top: 1px solid var(--black-color);
}

.row-line-bottom {
	border-bottom: 1px solid var(--black-color);
}

.gallery-main-menu {
	position: relative;
}

.gallery-list {
	position: relative;
	list-style: none;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.gallery-list li {
	position: relative;
	padding: 3px 5px;
	min-width: 25%;
}

.gallery-list li a {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	white-space: nowrap;
	line-height: 1;
	padding: 5px 10px;
	margin-top: 5px;
	color: var(--black-color);
}

.gallery-list li a:hover {
	/* color:rgba(168, 168, 168, 0.7); */
	color: var(--ulgreen-color);
	transition: all .3s ease-out;
}

.solar-line-bottom .qubely-image-media figure {
	border-bottom: 4px solid var(--color-4);
}

.gallery-group-row .qubely-image-media figure div img {
	outline: 1px dashed red;
}

.gallery-group-row .qubely-image-container .qubely-image-image {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center;
}

@media all and (min-width: 50em) {
	.gallery-group-row .qubely-image-container .qubely-image-image {
		position: relative;
		min-height: 210px;
		height: 210px;
		object-fit: cover;
		object-position: center;
	}
}

.row-same-height {
	position: relative;
}

.row-same-height .qubely-container > .qubely-row > .qubely-column {
	/* outline: 1px dashed red; */
}

ol.list-heigh {
	line-height: 1.6;
	margin-top: 7px;
	margin-bottom: 7px;
}

ol.list-heigh li {
	padding-bottom: 10px;
}


/* === Single Post ======================= */
.single-post .post {
	position: relative;
}

.single-post .post .post-categories {
	font-style: normal;
	font-weight: 500;
	font-size: 1rem;
}

.single-post .post .post-categories a {
	color: var(--ulgreen-color);
	font-weight: 600;
}

.single-post .post .post-categories a:hover {
	color: var(--black-color);
	transition: all .3s ease-out;
}

.single-post .more-from-category {
	position: relative;
}

@media (min-width: 31.25em) {
	.single-post .more-from-category .category-container ul {
		display: flex;
		flex-flow: row nowrap;
	}

	.single-post .more-from-category li {
		/* margin: 10px; */
		/* width: 30%;
		float: none; */
	}
}






