/**
Theme Name: medico
Author: NOSUN GmbH
Author URI: https://no-sun.com
Description: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medico
Template: astra
*/
/* ===============================
	VARIABLES
=============================== */
:root {
	--c--primary: #FD4D08;
	--c--text: #3F4E55;
	--c--secondary: #357e96;
}
/* ===============================
	GENERAL STYLING
=============================== */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.4;
}
.pt-lg {padding-top: 80px;}
.pb-lg {padding-bottom: 80px;}
.pt-md {padding-top: 60px;}
.pb-md {padding-bottom: 60px;}
.pt-sm {padding-top: 40px;}
.pb-sm {padding-bottom: 40px;}
.mb0, .mb0 p, .mb0 h1, .mb0 h2, .mb0 h3, .mb0 h4 {
	margin-bottom: 0 !important;
}
a {
	outline:0 !important;
}
h1, .elementor-widget-heading h1.elementor-heading-title, .entry-content h1 {
	font-size: 24px;
	color: var(--c--text);
}
h2, .elementor-widget-heading h2.elementor-heading-title, .entry-content h2 {
	font-size: 22px;
	color: var(--c--text);
}
h3, .elementor-widget-heading h3.elementor-heading-title, .entry-content h3 {
	font-size: 20px;
	color: var(--c--text);
}
h4, .elementor-widget-heading h4.elementor-heading-title, .entry-content h4 {
	font-size: 18px;
	color: var(--c--text);
}
h5, .elementor-widget-heading h5.elementor-heading-title, .entry-content h5 {
	font-size: 16px;
	color: var(--c--text);
}
h6, .elementor-widget-heading h6.elementor-heading-title, .entry-content h6 {
	font-size: 14px;
	color: var(--c--text);
}
#page {
    width: 100%;
    max-width: 1020px;
    margin: 10px auto;
    border: 10px solid #fff;
    background-image: url("img/bg_canvas.jpeg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #fff;
}
.home #page {
    background-image: url("img/bg_canvas_home.jpeg");
}
#content {
    padding: 20px 0 80px;
}
#content > .ast-container {
	padding-top: 20px;
	padding-left: 0;
	padding-right: 0;
	margin-top: 10px;
    border-top: 2px solid #fff;
}
.home #content > .ast-container {
	padding-top: 0px;
	margin-top: 0px;
    border: none;
}
.ast-left-sidebar #primary {
	border: none;
    padding-left: 20px !important;
    width: calc(100% - 200px);
    margin: 0 !important;
}
#secondary {
    width: 200px;
    border: none !important;
    margin: 0 !important;
    padding: 10px !important;
}

.sidenav-menu {
	border-top: 2px solid #fff;
	width: 100%;
}
.sidenav-menu li {
	border-bottom: 2px solid #fff;
	text-align: center;
	display: inline-block;
	width: 100%;
}
.sidenav-menu li a {
	padding: 5px 0;
	line-height: 1.4;
}
.ns-current-page-ancestor a,
.ns-current-page-ancestor a,
.sidenav-menu li.current-menu-item a {
	font-weight: bold;
}
/* ===============================
	HEADER
=============================== */
body .site-header {
	position: absolute;
	top: 100px;
}
.home #logo {
	opacity: 0;
	pointer-events: none;
}
#logo img {
    width: 90% !important;
    height: auto;
}
.ast-primary-header-bar {
	background: none !important;
}
.site-primary-header-wrap.ast-container {
	padding-left: 0;
	padding-right: 0;
}
.site-header .ast-builder-grid-row {
	display: block;
	width: 100%;
	grid-column-gap: 0;
}
.main-header-menu .menu-item {
	margin: 0 0 0 10px;
}
.elementor-widget-nosun-lageplan-eintrag {
	margin-bottom: 10px !important;
}
.ns-lageplan-eintrag-wrap {
	float: left;
	width:100%;
	/*margin-bottom: 20px;*/
}
.ns-lageplan-nummer-wrap {
	width: 30px;
	float: left;
}
.lageplan-nummer {
	display: inline-block;
	width: 30px;
	height: 30px;
	line-height: 30px;
	border-radius: 30px;
	text-align: center;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	background-color: var(--c--text);
}
.ns-lageplan-content-wrap {
	float: left;
	width: calc(100% - 40px);
	margin-left: 10px;
}
.ns-lageplan-name {
	font-weight: bold;
	float: left;
	width: 100%;
	font-size: 16px;
	padding-top: 6px;
	line-height: 1.3;
}
.ns-lageplan-fachgebiet {
	float: left;
	width: 100%;
	line-height: 1.3;
	font-size: 14px;
}

nav.hfe-dropdown {
	top: 55px !important;
    box-shadow: 0 10px 20px rgb(0, 0, 0,.2) !important;
}
.hfe-nav-menu__toggle.elementor-clickable svg {
	stroke: #fff;
}
.elementor-widget-navigation-menu nav.hfe-dropdown li a.hfe-menu-item {
	color: var(--c--text) !important;
}
.elementor-widget-navigation-menu nav.hfe-dropdown li a.hfe-menu-item:hover {
	color: var(--c--primary) !important;
}
.elementor-widget-navigation-menu nav.hfe-dropdown li.current-menu-item a.hfe-menu-item {
	font-weight: bold;
}
/* ===============================
	FOOTER
=============================== */
.footer-nav-wrap .astra-footer-horizontal-menu a {
	font-weight: bold;
	padding: 0 10px;
}
.footer-nav-wrap .astra-footer-horizontal-menu a:hover {
	text-decoration: underline;
}
/* ===============================
	SHORTCODE:  AERZTE;
=============================== */
.aerzte-wrapper {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 20px;
}
.aerzte-unit {
	float: left;
	width: 100%;
	display: block;
}
.au-thumb-wrap,
.au-content-wrap {
	float: left;
	width: 100%;
}
.au-thumb-wrap {
	margin-bottom: 10px;
}
.au-content-wrap {
	text-decoration: none;
	color: var(--c--text);
	line-height: 1.2;
}
.au-content-wrap h3 {
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 2px;
}
.aerzte-unit:hover .au-content-wrap h3 {
	color: var(--c--primary);
}
/* ===============================
	SINGLE POST
=============================== */
body.ast-separate-container .ast-article-single:not(.ast-related-post) {
	background: none;
	padding: 0;
}
/*.single #main {
	padding: 10px;
}*/
.aerzte-content-wrap {
    padding: 10px;
    float: left;
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-gap: 20px;
}
/*.aerzte-text-wrap {
	float: left;
	width: calc(100% / 3 * 2);
	padding-right: 20px;
}
.aerzte-image-wrap {
	float: left;
	width: calc(100% / 3);
}*/
.aerzte-thumbnail-caption {
	font-size: 12px;
	font-style: italic;
	margin-top: 5px;
}
/* ===============================
	DISPLAY NONE
=============================== */
.sidebar-main p{
	display: none !important;
}
/* ===============================
	MEDIA QUERIES
=============================== */
@media (min-width: 1025px) {
	.single-aerzte #menu-item-72 a,
	header .menu-item.current-page-ancestor a,
	header .menu-item.current-menu-item a,
	header .menu-item a:hover{
		background-color: var(--c--primary) !important;
	}
}
@media (max-width: 1024px) {
	.footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-vertical-menu,
	.ast-left-sidebar #content > .ast-container {
		display: block !important;
	}
	.ast-left-sidebar #primary {
		border: none;
    	padding-left: 0px !important;
	    width: 100%;
	}
	#secondary {
	    width: 100%;
	}
	.ast-builder-grid-row-container.ast-builder-grid-row-tablet-2-equal .ast-builder-grid-row {
	    grid-template-columns: repeat(1, 1fr);
	}
	.ast-separate-container #primary, .ast-separate-container #secondary {
	    padding: 0;
	    float: left;
    	width: 100%;
	}
	.single #secondary,
	.page-id-277 #secondary {
		display: none;
	}
}
@media (max-width: 767px) {
	#logo img {
	    width: 200px !important;
	    height: auto;
	}
	.home #logo {
		opacity: 1;
		pointer-events: all;
	}
	.aerzte-content-wrap {
		padding: 20px 0 0 0;
	    grid-template-columns: repeat(1, 1fr);
	}
	.aerzte-text-wrap {
		grid-row: 2;
	}
	.aerzte-image-wrap {
		grid-row: 1;
	}
	#content {
	    padding: 20px 0;
	}
	#astra-footer-menu li {
		margin-top: 10px;
	}
}
@media (max-width: 375px) {
	.aerzte-wrapper {
	    grid-template-columns: repeat(1, 1fr);
	}
}