
.theme-header-wrap {
    overflow: hidden;
    @include mb2_border-radius(.3rem);
}

.theme-header {
    padding: 3rem 2rem;
    position: relative;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: left;

	.theme-header-content {
		z-index: 1;
		justify-content: space-between;
		gap: 1.4rem;
	}    

    &.linkbtn0 {
        .content-b {
            display: none;
        }
    }

	.theme-header-title {
		font-size: 1.8em;
	}

	.theme-header-title,
	.theme-header-subtitle {
		color: #fff;
		margin: 0;
	}

	.theme-header-subtitle {
		margin-top: 7px;
	}

    &.issubtitle0 .theme-header-subtitle {
        display: none;
    }

	.theme-header-bg {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,.35);
	}


	/* Dark striped */
	&.type-dark-striped {
		.theme-header-bg {
			background-image: url([[pix:theme|svg/strip1_white10]]);
		}
	}



	/* Light */
	&.type-light,
	&.type-light-striped {
		.theme-header-title{
			color: var(--mb2-pb-headingscolor);
		}

		.theme-header-subtitle {
			color: $textcolor;
			opacity: 1;
		}

		.theme-header-bg {
			background-color: rgba(255,255,255,.5);
		}
	}


	&.type-light-striped {

		.theme-header-bg {
			background-image: url([[pix:theme|svg/strip1_black8]]);
		}
	}



}

@media only screen and (max-width: $wsmalldevice){

    .theme-header-content {
		flex-flow: column;
		text-align: center;
	}


}
