/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Roland Bende
 Author URI:   https://bwebdesign.hu
 Template:     generatepress
 Version:      0.1
*/

/* Variables */
:root {
	--child-theme-primary-color: #C98F5A;
	--child-theme-secondary-color: #AE6B2D;
	--child-theme-light-color: #FFF;
	--child-theme-dark-color: #666666;
}

/* Fonts */
@font-face {
    font-family:'GP Premium';
    font-display:swap;
    src:url(/wp-content/themes/generatepress_child/assets/icons/gp-premium.eot);
    src:url(/wp-content/themes/generatepress_child/assets/icons/gp-premium.eot#iefix) format('embedded-opentype'),
    url(/wp-content/themes/generatepress_child/assets/icons/gp-premium.ttf) format('truetype'),
    url(/wp-content/themes/generatepress_child/assets/icons/gp-premium.woff) format('woff'),
    url(/wp-content/themes/generatepress_child/assets/icons/gp-premium.svg#gp-premium) format('svg');
    font-weight:400;
    font-style:normal;
}
.gp-premium-icon--before::before {
	font-family: 'GP Premium';
	left: -6px;
}
.dashicons--after::after, .gp-premium-icon--before::before {
    width: 1.28571429em;
    text-align: center;
    display: inline-block;
    position: relative;
    top: 2px;
    left: -6px;
}
.dashicons--after::after {
	font-family: 'dashicons';
	font-size: 110%;
	left: 6px;
}
.dashicons--after--icon-marker::after {
	content: "\f230";
}

/* HTML, BODY */
html, body {
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

/* HEADER */
.inside-header {
	padding: 0;
}

/* Logo */
.site-logo {
	margin-left: 1em;
	display: inline-block;
	float: left;
}
.site-logo > a > img {
	max-width: 200px !important;
}

/* Site branding */
.site-branding {
	display: none !important;
	margin: 0 !important;
}
.site-description {
	display: none !important;
}

/* Navigation */
.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover {
	background-color: var(--child-theme-light-color) !important;
}
.main-navigation, .main-navigation ul ul {
    background-color: var(--child-theme-light-color);
}
.main-navigation .main-nav ul li a {
	font-size: 1.1em;
	font-weight: 400 !important;
	letter-spacing: 0.35px;
	color: #000 !important;
	text-transform: uppercase;
}
.main-navigation .main-nav ul li:hover > a {
	background-color: transparent !important;
    color: var(--child-theme-primary-color) !important;
}
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background-color: transparent !important;
}
.main-navigation .main-nav ul ul li a  {
	text-transform: none !important;
}

/* Inside article */
.inside-article {
	padding-bottom: 0 !important;
}

/* Site main - Containers */
.separate-containers .site-main {
	margin-bottom: 0 !important;
}

/* Home page */
.home h1.entry-title {
    display: none !important;
}
.home .site-main {
	margin-top: 0 !important;
}
.home .inside-article {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.home .entry-content {
	margin-top: 0 !important;
}

/* Breadcrumbs */
#breadcrumbs {
	margin: 0 auto;
	padding: 15px;
	background: rgba(0,0,0, 0.05);
}

.breadcrumbs__link {
	color: var(--child-theme-dark-color) !important;
	font-size: 90%;
	line-height: 1;
	text-decoration: underline;
}

.breadcrumbs_link:hover {
	color: var(--child-theme-dark-color) !important;
	text-decoration: none !important;
}

.breadcrumbs__link:visited {
	/* text-decoration: none !important; */
}

.breadcrumbs__link.current {
	text-decoration: none !important;
}

.breadcrumbs__delimiter {
	color: var(--child-theme-dark-color) !important;
	display: inline-block;
	padding: 6px;
}

/* HERO */
.hero {
	padding-top: 0;
	padding-bottom: 400px;
}
.hero-heading {
	margin-top: 0;
	width: 100%;
	margin-left: 0;
	color: var(--child-theme-light-color);
	text-align: center !important;
	font-weight: 250 !important;
	font-size: 36px !important;
	line-height: 48px;
}
.hero-hr {
	width: 100%;
	margin-left: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	display: block;
	border: 1px solid var(--child-theme-primary-color);
}
.hero-buttons {
	margin-bottom: 0;
	width: 100%;
	margin-left: 0;
	justify-content: center;
}

/* IMAGES */

/* figcaption */
.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.is-resized>figcaption {
	text-align: right;
}

.image-border {
	border: 1px solid #dbdbdb;
}

.image-hover {
	transition: all .2s ease-in-out;
}

.image-hover:hover {
	transform: scale(1.05);
	-webkit-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
}

.img-gallery-grey .blocks-gallery-item img  {
	filter: grayscale(100%);
	-webkit-filter: grayscale(1);
}

.img-gallery-grey .blocks-gallery-item img:hover {
	filter: none;
	-webkit-filter: none;
}

/* BUTTON */
a.button, a.button:visited {
	background-color: #e40421;
	color: var(--child-theme-light-color);
}

a.button:hover, .wp-block-button__link:hover {
	background-color: #ab0b20;
}

a.button:after, .wp-block-button__link:after {
	-webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.wp-block-button__link, .wp-block-button__link:visited {
	color: var(--child-theme-light-color);
	background: linear-gradient(180deg, var(--child-theme-primary-color) 0%, var(--child-theme-secondary-color) 100%);
	border-radius: 40px;
	text-transform: uppercase;
}

.wp-block-button__link:hover {
	background: var(--child-theme-secondary-color) !important;
}

.ghost-btn > a {
	display: inline !important;
	background: rgba(0,0,0,0) !important;
	border: 1px solid;
}

.ghost-btn-light > a {
	border-color: var(--child-theme-light-color) !important;
	color: var(--child-theme-light-color) !important;
}

.ghost-btn-dark > a {
	border-color: #000 !important;
	color: #000 !important;
}

.ghost-btn > a:hover {
	background: rgba(0,0,0,0) !important;
	border: 1px solid var(--child-theme-primary-color) !important;
	color: var(--child-theme-primary-color) !important;
}

/* Embed */
.wp-embed-aspect-16-9 {
	margin-top: 1.5em;
}

/* FORM */
.form-row {
    width: 100%;
}

.input-group {
    padding: 15px 6px;
}

.input-group.col-12 {
    width: 100%;
}

.input-group.col-6 {
    width: 100%;
}

.input-group input[type="text"], .input-group input[type="email"], .input-group input[type="tel"], .input-group select {
    width: 100%;
}

.input-group input[type="text"], .input-group input[type="email"], .input-group input[type="tel"] {
    background: none !important;
	border-bottom: 1px solid #ccc !important;
}

.input-group select {
	background: none !important;
	border: 1px solid #ccc !important;
}

.input-group input, .input-group textarea, .input-group select {
    margin-top: 10px;
    color:  #000;
}

.form-input-label {}

.form-input-label--color-white {
    color:  #000;
}

.required { color: red; }

.form-input {}

.form-input-textarea {
	height: 96px;
	background: none !important;
	border: 1px solid #ccc !important;
}

.form-input-no-border {
    border: none !important;
}

.form-input-hp {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}

input[type="submit"] {
	background: linear-gradient(180deg, var(--child-theme-primary-color) 0%, var(--child-theme-secondary-color) 100%);
	border-radius: 40px;
	text-transform: uppercase;
    color: var(--child-theme-light-color);
}

input[type="submit"]:hover {
    background: var(--child-theme-primary-color);
}

input[type="search"] {
    border-radius: 0;
    -webkit-appearance: none;
}

::-webkit-input-placeholder {
    font-style: italic;
    color: #707070;
}
::-moz-placeholder {
    font-style: italic;
    color: #707070;
}
:-ms-input-placeholder {
    font-style: italic;
    color: #707070;
}
:-moz-placeholder {
    font-style: italic;
    color: #707070;
}

/* wpcf7 */

.wpcf7-form-control:focus-visible {
	outline: none !important;
}

.wpcf7 label {
    font-weight: bold;
}

.wpcf7-custom-acceptance-link, .wpcf7-custom-acceptance-link:visited {
    text-decoration: underline;
}

.wpcf7-acceptance label {
    font-weight: normal;
}

.wpcf7-custom-acceptance-link:hover {
    text-decoration: none;
}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
}

.wpcf7 form.invalid .wpcf7-response-output {
    border-color: darkred;
    color: var(--child-theme-light-color);
    background-color: #dc3232;
}

.wpcf7-not-valid {
    border: 1px solid #dc3232 !important;
    box-sizing: border-box;
}

.wpcf7-not-valid-tip {
    color: var(--child-theme-light-color);
    font-size: 1em;
    font-weight: normal;
    display: block;
    background-color: #dc3232;
    padding: 0 12px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    background-color: rgba(70, 180, 80, 0.8);
    color: var(--child-theme-light-color);
}

/* BLOCK ELEMENTS */

/* Block columns */
.wp-block-columns {
	align-items: center;
}

/* Fix missing bottom margin from site-main */
.one-container .site-main>:last-child {
	margin-bottom: 20px;
}

/* Gallery */
.blocks-gallery-item {
	box-sizing: border-box;
	border: 1px solid #dbdbdb;
	transition: all .2s ease-in-out;
}

.blocks-gallery-item:hover {
	transform: scale(1.05);
	-webkit-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
}

.wp-block-gallery > .wp-block-image {
    box-sizing: border-box;
    border: 1px solid #dbdbdb;
    transition: all .2s ease-in-out;
}

.wp-block-gallery > .wp-block-image:hover {
    transform: scale(1.05);
    -webkit-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.2);
}

/* Widgets */
.widget-area .widget {
    padding: 20px;
}

/* Tablepress */
.tablepress thead th,
.tablepress tfoot th {
	/*background-color: var(--child-theme-primary-color);*/
	background: linear-gradient(180deg, var(--child-theme-primary-color) 0%, var(--child-theme-secondary-color) 100%);
	color: var(--child-theme-light-color);
	font-weight: 400;
	text-transform: uppercase;
}
.tablepress thead .sorting_asc,
.tablepress thead .sorting_desc,
.tablepress thead .sorting:hover {
	background: linear-gradient(180deg, var(--child-theme-secondary-color) 0%, var(--child-theme-primary-color) 100%);
	color: var(--child-theme-light-color);
}
.tablepress-id-1 .column-2, .tablepress-id-2 .column-2, .tablepress-id-3 .column-2  {
	text-align: right;
}
.tablepress-id-4 .column-2, .tablepress-id-5 .column-2, .tablepress-id-6 .column-2  {
	text-align: right;
}
.tablepress-id-7 .column-2, .tablepress-id-8 .column-2, .tablepress-id-9 .column-2  {
	text-align: right;
}
.tablepress-id-10 .column-2, .tablepress-id-11 .column-2, .tablepress-id-12 .column-2  {
	text-align: right;
}
.tablepress-id-13 .column-2, .tablepress-id-13 .column-2, .tablepress-id-15 .column-2  {
	text-align: right;
}

/* Full width block */
.full-width-block-group {
    position: relative;
    max-width: 100vw;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.full-width-block-group > div {
	max-width: 100vw !important;
	width: 100vw;
}
.full-width-block-group--bg-color-white
{
	background-color: var(--child-theme-light-color) !important;
}
.full-width-block-group--bg-img-home
{
	background: var(--child-theme-light-color) center no-repeat url(/wp-content/uploads/dr-hoppar-hero-bg-mobile-v3-01.jpg);
	background-size: cover;
	background-position: center bottom;
}

/* MAP */
.map > .wp-block-group__inner-container  {
	padding: 0 !important;
}

/* Font Awesome*/
.font-awesome-icon {
	font-size: 2.1em;
}
.font-awesome-icon--color-gold {
	color: var(--child-theme-primary-color);
}

.font-awesome-icon-link {

}

.font-awesome-icon-link--insta {
	
}

.font-awesome-icon-link--insta:hover > span {
	color: #E1306C;
}

/* FOOTER */

/* Footer widgets */
.footer-widgets {
    padding: 0 15px 0 15px;
    margin-bottom: 4px;
}
.inside-footer-widgets {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
}
.footer-widget-button {
	position: absolute;
	bottom: -40px;
}
.footer-widget-button:after {
    content: "\f105";
    font-family: 'GeneratePress';
    width: 1.28571429em;
    text-align: center;
    display: inline-block;
}
.inside-footer-widgets .text-widgets {
    margin-bottom: 40px;
}
.inside-footer-widgets > div:not(:last-child) {
	margin-bottom: 15px;
}
.footer-widget-1, .footer-widget-2, .footer-widget-3 {
	display: flex;
    flex-direction: column;
	background-color: #ebebeb;
    padding: 15px;
    box-sizing: border-box;
    margin-bottom: 15px;
}
.footer-widget-1 > aside, .footer-widget-2 > aside, .footer-widget-3 > aside {
	position: relative;
	flex-grow: 1;
}
.site-footer .footer-widgets-container .inside-footer-widgets {
    margin-left: 0;
}
.site-footer .footer-widgets-container .inner-padding { /* .footer-widget-? > aside */
    padding: 0 0 0 15px;
    margin-bottom: 40px;
}

/* Footer info */
.site-info {
	background-color: #000;
	color: #ebebeb;
}
.copyright-bar {
	display: flex;
	flex-direction: column;
    align-items: baseline;
    justify-content: space-between;
}
.custom-footer-copyright-box, .custom-footer-link-box  {
	width: 100%;
}
.custom-footer-copyright-box {
	order: 2;
}
.custom-footer-link-box {
	order: 1;
}
.custom-footer-copyright-box__text {
	text-align: center;
}
.custom-footer-link-box > ul {
	list-style: none;
	margin: 0;
}
.custom-footer-link-box__elem {
	margin-bottom: 20px;
}
.custom-footer-link-box__link {
	color: rgba(255, 255, 255, 0.8) !important;
	text-transform: uppercase;
	text-decoration: none;
}
.custom-footer-link-box__link:hover {
	color: rgba(255, 255, 255, 1) !important;
	text-decoration: underline;
}

/* Typo */
.service-heading {
	font-size: 1.25em;
	color: var(--child-theme-primary-color);
}
.service-baseline {
	font-size: 1.4em;
	font-weight: 200;
}
.contact-subheadline {
	font-size: 1.25em;
	color: var(--child-theme-primary-color);
}

/* Hide */
.hide-on-mobile {
    display: none !important;
}
.hide-on-desktop {
    display: block !important;
}

/**
 * MEDIA QUERIES
 */ 

@media screen and (min-width: 321px) {

}

@media screen and (min-width: 376px) {
	/* HERO */
	.hero {
		padding-top: 0;
		padding-bottom: 500px;
	}
}

@media screen and (min-width: 576px) {
	.hide-on-mobile {
		display: block !important;
	}
	.hide-on-desktop {
		display: none !important;
	}
	/* Home(hero) bg */
	.full-width-block-group--bg-img-home
	{
		background: var(--child-theme-light-color) center no-repeat url(/wp-content/uploads/dr-hoppar-hero-bg-desktop-v3-01.jpg);
		background-size: cover;
		background-position: center 30%;
	}
	/* HERO */
	.hero {
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.hero-heading {
		margin-top: 40px;
		width: 50%;
		margin-left: 50%;
		text-align: left !important;
		font-weight: 250 !important;
		font-size: 32px !important;
		line-height: 48px;
	}
	.hero-hr {
		width: 50%;
		margin-left: 50%;
		margin-top: 40px;
		margin-bottom: 40px;
		display: block;
		border: 1px solid var(--child-theme-primary-color);
	}
	.hero-buttons {
		margin-bottom: 40px;
		width: 50%;
		margin-left: 50%;
		justify-content: left;
	}
}

@media screen and (min-width: 769px) {

	/* Header */
	.inside-header {
		padding: 20px;
	}

	/* Logo */
	.site-branding {
		display: none !important;
	}
	.site-logo {
		margin-left: 0;
		transition: all .2s ease-in-out;
	}
	.site-logo:hover {
		transform: scale(1.05);
	}
	.site-logo > a > img {
		max-width: 120px !important;
	}

	/* Navigation */
	.main-navigation .main-nav ul li a {
		font-size: 0.7em;
		padding-left: 10px;
		padding-right: 10px;
	}
    .main-navigation .main-nav ul li.nav-button a {
		color: var(--child-theme-light-color) !important;
		background: linear-gradient(180deg, var(--child-theme-primary-color) 0%, var(--child-theme-secondary-color) 100%);
		border-radius: 40px;
        border: none !important;
        line-height: 48px; /* For button height */
        transition: all .2s ease-in-out;
    }
	.main-navigation .main-nav ul li.nav-button a:hover {
		background: var(--child-theme-secondary-color) !important;
	}
	.main-navigation .main-nav ul li[class*="current-menu-"] > a {
		border-bottom: 4px solid #000;
	}
	/* HERO */
	.hero-heading {
		font-size: 48px !important;
		line-height: 56px;
	}

	/* Form elements */
	.form-row {
		display: flex;
		width: 100%;
	}
	.input-group {
		padding: 15px;
	}
	.input-group.col-6 {
		width: 50%;
	}
	.input-group.col-12 {
		width: 100%;
	}
	.input-group > p {
		margin-bottom: 0 !important;
	}

	/* Footer */
	.inside-footer-widgets > div:not(:last-child) {
		margin-bottom: 4px;
	}
	.footer-widget-1  {
		border-left: 4px solid var(--child-theme-light-color);
		border-right: 2px solid var(--child-theme-light-color);
	}
	.footer-widget-2  {
		border-left: 2px solid var(--child-theme-light-color);
		border-right: 4px solid var(--child-theme-light-color);
	}
	.footer-widget-3  {
		border-left: 4px solid var(--child-theme-light-color);
		border-right: 4px solid var(--child-theme-light-color);
	}
	.inside-site-info {
		display: block;
	}
	.copyright-bar {
		flex-direction: row;
	}
	.custom-footer-copyright-box, .custom-footer-link-box  {
		width: auto;
	}
	.custom-footer-copyright-box__text {
		text-align: left;
	}
	.custom-footer-link-box > ul > li {
		display: inline-block;
	}
	.custom-footer-link-box > ul > li:first-child {
		margin-right: 15px;
	}
	.custom-footer-link-box__elem {
		margin-bottom: 20px;
	}
	.custom-footer-copyright-box {
		order: 1;
	}
	.custom-footer-link-box {
		order: 2;
	}
	.custom-footer-copyright-box__text, .custom-footer-link-box__elem {
		margin-bottom: 0;
	}
}

@media screen and (min-width: 992px) {

	/* Logo */
	.site-logo > a > img {
		max-width: 200px !important;
	}

	/* Navigation */
	.main-navigation .main-nav ul li a {
		font-size: 0.9em;
		padding-left: 12px;
		padding-right: 12px;
	}
	.main-navigation .main-nav ul li:hover > ul {
		-webkit-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.25);
		-moz-box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.25);
		box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.25);
	}
	.main-navigation .main-nav ul li ul {
		display: block;
    	min-width: 100%;
    	top: 62px !important;
	}
	.main-navigation .main-nav ul li ul li {
		border-bottom: 1px solid #dbdbdb;
	}
	.main-navigation .main-nav ul li ul li:hover {
		/* background-color: #e40421 !important;*/
	}
	.main-navigation .main-nav ul li ul li > a {
		padding-left: 25px !important;
	}
	.main-navigation .main-nav ul li ul li > a:hover {
		border-bottom: 4px solid var(--child-theme-light-color) !important;
	}
	.main-navigation .main-nav ul li ul li > a::before {
		-webkit-font-smoothing: antialiased;
    	font-style: normal;
    	font-variant: normal;
    	text-rendering: auto;
    	line-height: 1;
    	content: "\f105";
    	font-family: 'GeneratePress';
    	width: 1.28571429em;
    	text-align: center;
    	display: inline-block;
    	position: absolute;
    	left: 3px;
    	top: 13px;
	}
	.main-navigation .main-nav ul li ul li > a:hover::before {
		left: 5px;
		color: #e40421;
	}
	/* HERO */
	.hero-heading {
		font-size: 60px !important;
		line-height: 80px;
	}

	/* Widgets */
	.widget-area .widget {
		padding: 5px;
	}
}

@media screen and (min-width: 1030px) {

	/* Header */
	.inside-header {
		padding: 40px;
	}

	/* Logo */
	.site-logo > a > img {
		max-width: 200px !important;
	}

	/* Navigation */
	.main-navigation .main-nav ul li a {
		font-size: 0.8em;
		padding-left: 14px;
		padding-right: 14px;
	}

	/* Footer */
	.footer-widgets {
		background-color: #ebebeb;
	}
	.inside-footer-widgets > div {
		margin-bottom: 0;
	}
	.footer-widget-1  {
		border-left: 4px solid var(--child-theme-light-color);
		border-right: 2px solid var(--child-theme-light-color);
	}

	.footer-widget-2  {
		border-left: 2px solid var(--child-theme-light-color);
		border-right: 2px solid var(--child-theme-light-color);
	}

	.footer-widget-3  {
		border-left: 2px solid var(--child-theme-light-color);
		border-right: 4px solid var(--child-theme-light-color);
	}
}

@media screen and (min-width: 1200px) {

	/* Logo */
	.site-logo > a > img {
		max-width: 220px !important;
	}

	/* Navigation */
	.main-navigation .main-nav ul li a {
		font-size: 1em;
		padding-left: 15px;
		padding-right: 15px;
	}

	/* Breadcrumbs */
	#breadcrumbs {
		max-width: 100vw;
		padding: 15px calc((100% - 1200px) / 2);
	}
}