/*
 Theme Name:   Twenty Seventeen Child
 Description:  Theme for Sora Art
 Author:       Nadja Adam
 Author URI:   https://www.sora-art.de
 Template:     twentyseventeen
 Version:      1.0
 Text Domain:  twenty-seventeen-child
*/

/* General Site Design */

/* width of content */
.wrap {
	max-width: 1200px !important;
}

.site-content {
	padding-bottom: 0.5em !important;
	padding-top: 1.75em !important;
}

.site-content .wrap {
	padding-bottom: 0.5em !important;
	padding-top: 1.75em !important;
}

.content-area {
	max-width: 100% !important;
}

.site-branding .wrap {
	text-align: center;
}

/* Font styles */
* {
	font-family: 'Raleway', sans-serif !important;
	font-weight: 400;
}

h2, .home.blog .entry-title {
	color: #333;
}

h1 {
	font-weight: 800;
	text-transform: none;
	color: #333;
}

h2 {
	font-weight: 600;
	text-transform: none;
	color: #333;
}

h3, h4, h5, h6 {
	font-weight: 400;
	text-transform: none;
	color: #333;
}

.site-branding a:hover {
	opacity: 1;
}


@media screen and (min-width:768px) {
	.site-title {
		font-size: 2.5rem;
		letter-spacing: 0.05em;
	}

	.site-description {
		font-size: 20px;
		font-size: 1.25rem;
	}
}

@media screen and (max-width:767px) {
	.custom-header-media img {
		width: auto !important;
	}
	
	.twentyseventeen-front-page .site-branding {
		position: relative !important;
	}
	
	.custom-header-media:before {
		background: -moz-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 75%, rgba(0, 0, 0, 0.6) 100%) !important;
		background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 75%, rgba(0, 0, 0, 0.6) 100%) !important;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 75%, rgba(0, 0, 0, 0.6) 100%) !important;
	}
	
	.site-title a, .site-description {
		color: #e8e8e8 !important;
	}
}
	
.twentyseventeen-front-page .site-branding {
	position: absolute;
	top: 50%;
	left: 50% !important;
	-webkit-transform: translate(-50%, -50%);
  	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	padding-bottom: 82px;
	height: unset !important;
	bottom: unset !important;
}

.entry-title {
	font-size: 2em !important;
	text-transform: none !important;
	letter-spacing: 0.05em !important;
}

.entry-header {
	margin-bottom: 1rem !important;
}

/* Navigation bar */

.navigation-top a::before {
	background-color: black;
}

.navigation-top a:hover:before {
    visibility: visible;
	-webkit-transform: scaleX(1);
	-moz-transform: scaleX(1);
	transform: scaleX(1);
}

.navigation-top a:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #333;
	visibility: hidden;
	-webkit-transform: scaleX(0);
	-moz-transform: scaleX(0);
	transform: scaleX(0);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.navigation-top a {
	font-weight: inherit;
	text-decoration: none;
}

.navigation-top a:hover, .sub-menu .menu-item a:hover {
	color: #333 !important;
}

.current_page_item a, .current-menu-parent > a {
	color: #333 !important;
	font-weight: 600;
}

.navigation-top, .site-info {
	font-size: 16px;
	font-size: 1rem;
}

.sub-menu .menu-item:hover {
	background: none;
}

.sub-menu .menu-item a:hover {
	color: #767676;
}

/* buttons */
.wp-block-button a {
	letter-spacing: 0.05em;
	font-weight: 400 !important;
	color: #e8e8e8;
}

#menu-social_links a {
	color: #e8e8e8;
	background-color: #333;
}

#menu-social_links a:hover {
	color: #e8e8e8;
	background-color: #767676;
}

a, button {
	-webkit-transition-duration: 0.4s !important;
	-moz-transition-duration: 0.4s !important;
	transition-duration: 0.4s !important;
	transition: 0.4s !important;
}

.privacy-policy-link:hover {
	box-shadow: none !important;
}

button {
	border: none;
	border-radius: 28px;
	background-color: #222;
	color: #e8e8e8;
	letter-spacing: 0.05em;
	font-weight: 400 !important;
}

button:hover {
	background: initial;
}

.wpforms-submit:hover {
	background-color: #767676;
}

#site-navigation .menu-toggle:hover, #site-navigation .menu-toggle:focus, #site-navigation .menu-toggle:after,
.dropdown-toggle:hover, .dropdown-toggle:focus, .dropdown-toggle:after {
	background: none !important;
	outline: none !important;
}

/* Visual Portfolio */

/* set font color always */
.vp-portfolio__item-meta-title {
	font-size: 1em !important;
}

.vp-portfolio__item-meta-excerpt {
	font-size: 0.9em !important;
	line-height: normal;
}

.vp-portfolio__item-popup-title, .vp-portfolio__item-popup-description, .vp-portfolio__item-meta-excerpt, .vp-portfolio__item-meta-title, .vp-portfolio__item-meta-title a {
	color: #e8e8e8 !important;
}

/* fly overlay */
.vp-portfolio__items-style-fly .vp-portfolio__item-overlay {
	opacity: 0.8;
}

/* emerge overlay */
.vp-portfolio__items-style-emerge .vp-portfolio__item-overlay {
	opacity: 0.8;
}

.vp-portfolio__item-img img {
	transform: none !important;
}

.vp-portfolio__items-style-emerge .vp-portfolio__item:hover .vp-portfolio__item-overlay::before, .vp-portfolio__items-style-emerge .vp-portfolio__item:focus .vp-portfolio__item-overlay::before {
	-webkit-transform: rotate(5deg);
	transform: rotate(5deg);
}

/* no rightclick on images */
.fancybox-image, .fancybox-content {
	pointer-events: none;
}

.fancybox-button {
	background: none;
}

.fancybox-button:hover {
	background: initial !important;
}


/* filter button style */
.vp-filter__style-default .vp-filter__item a {
	-webkit-transition-duration: 0.4s;
	-moz-transition-duration: 0.4s;
	transition-duration: 0.4s;
	transition: 0.4s;
	border-radius: 2px;
}

.vp-filter__style-default .vp-filter__item:hover {
	border-color: #767676;
}

.vp-filter__style-default .vp-filter__item.vp-filter__item-active > * {
	background-color: #333;
}

/* make no overlay */
.vp-portfolio__item-overlay {
  display: none   !important;
}

/* Cookie notice */
.cookie-btn {
	background-color: #4a95ba !important;
	padding: 5px 10px;
	border-radius: 20px;
	
	font-size: 14px;
	font-size: 0.875em;
	font-weight: 400;
}

/* footer widget for newsletter */
.site-footer .widget-column.footer-widget-1 {
	float: none;
	width: 100%;
}

#newsletterwidget-6 {
	max-width: 500px;
	margin: 0 auto;
}

#newsletterwidget-6 .tnp-widget {
	margin-top: 20px;
}

#newsletterwidget-6 .tnp-field.tnp-field-email {
	display: flex;
	align-items: center;
}

#newsletterwidget-6 .tnp-field.tnp-field-email label {
	margin-right: 10px;
}