/*
 Theme Name:   NID Theme
 Description:  Child Theme Polestar
 Author:       EMF
 Author URI:   https://www.emf-institut.de
 Template:     polestar
 Version:      1.0
 Text Domain:  nid
*/

/* Typografie */

body, button, input, optgroup, select, textarea{
	font-size: 16px !important;
}

h5 {
	line-height: 1.3;
}

.ow-button-base a{
  line-height: 1.4 !important;
}

.sow-more-text a {
    color: #256592 !important;
}

.sow-more-text a:before{
    content: '▶';
}

.sow-icon-container-position-top a:hover{
   transform: scale(1.05);
}


/* Buttonfix */

.ow-button-base a.ow-icon-placement-left .sow-icon-image, .ow-button-base a.ow-icon-placement-left [class^="sow-icon-"]
{
	margin: -0.1em .55em 1.2em -0.75em !important;
}

.projektteam .ow-button-base a.ow-icon-placement-left [class^="sow-icon-"]{
		margin: 0em 0.5em -0.1em -1.5em !important;
}


/* Header */
.site-header{
	padding: 10px 0px !important;
}

.menu-header-container #primary-menu li{
font-size: 110% ;
}

/* Footer */

.site-footer{
  margin-top: 0px !important;
}

.site-footer .bottom-bar{
  background-color: #676666 !important;  
  color: #fff !important;
}

.site-footer .bottom-bar a:hover{
    color: #fff !important;
    font-weight: bold !important;
}

.site-footer #media_image-2 img{
margin-top: 40px; 
}

.site-footer #media_image-3 img{
margin-top: 25px;
width: 70%;
}

.site-footer #media_image-4 img{
margin-top: 30px; 
}

.site-footer #media_image-5 img{
margin-top: 0px; 
}


.site-info span:after{
  content: '' !important;
}

a img:hover{
	 transform: scale(1.05);
}

.perspektive{
	text-align:center;
}

.perspektivtext{
	text-align: center;
	font-size: 1.4em;
	font-weight: 100;
	min-height: 160px;
}

/* Landkarte Fixes */

.fm-tooltip-name {
	display: none !important;
}

.fm-map-container svg path{
	stroke-width:0.5;
}

.fm-map-container svg text{
	font:100 10px "Open Sans" !important;
}

.fm-map-container h4{
margin-top: 5px !important;
margin-bottom: 5px !important;}

.btn {
	background-color: #d73f31;
	padding: 10px;
}
.btn:hover{
	background-color: #a02c22;
}

.button-red{
	color: #fff !important;
}

h3.widget-title {
	line-height: 1.4;
}

.germanyHtml5MapStateInfo:empty{
	margin-top: 20% !important;
}

.germanyHtml5MapStateInfo:empty::after{
	content: "Wählen Sie auf der Deutschlandkarte einzelne Bundesländer aus, um hilfreiche Informationen, Tipps und Links zur Unternehmensnachfolge in der jeweiligen Region zu erhalten.";
}

/* Responsiveness */

@media (max-width: 780px){
 .nomobile {
     display: none !important;
}
    .so-widget-sow-button .ow-button-base a{
	width: 100%
}}

@media (max-width: 480px){
.widgets-4 a img{
	padding: 0 10% 0 10%;
	width: 80%;
}
.widgets-4 #media_image-5 img{
	padding: 0 20% 0 20%;
	width: 60%;
}}

@media (min-width: 780px){
.textwidget ul:first-child{
	padding-top: 30px;
}}

.widget_media_image{
	text-align: center;
}

/* News page */

@media (min-width: 1000px){
.news .entry-thumbnail{
	width: 25%;
	height: 25%;
	float: left;
	margin-right: 40px;
}
}

.post-navigation{
	display: none;
}

.related-posts-section {
	margin-top: 80px;
}

.related-posts-section:before{
	content: 'Weitere News-Beiträge';
	font-size: 16px;
	border-bottom: 2px solid #e6e6e6;
    display: inline-block;
    margin: 0 0 20px;
    padding-bottom: 3px;
    text-transform: uppercase;
    color: #d73f31;
    font-weight: 600 !important;
}

.related-posts-section .related-posts{
	display: none !important;
}

/* Checkboxes */

.checkbox ul {
	list-style: none;
}

.checkbox ul li{
	margin-left: 30px;
}

.checkbox ul li:before{
	content: "☐";
	margin-left: -23px;
	padding-right: 10px;
	color: #d73f31;
}

.checkbox ul ul{
	padding-top: 0px !important;
	margin-left: -6px;
	font-size: 85%;
}

.panel-row-style{
	    scroll-margin-top: 150px;
}

/* Quiz */

#cp_calculatedfieldsf_pform_1 img{
	max-width: 400px;
}

h2 label{
	font-size: 15pt;
}

.auswertung ul li{
	margin-bottom: 10px;
}

.auswertung ul li a:before{
    display: inline-block;
    content: ' ';
    background-image: url(./icons/quiz-links.svg);
    background-size: 30px 30px;
    position: absolute;
    height: 30px;
    width: 30px;
    margin-left: -40px;
    margin-top: 4px;
}

/* DSGVO */

@media (max-width: 800px){
.dsdvo-cookie-notice.style1 #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert {
	width: 95% !important;
}
.dsdvo-cookie-notice.style1 #tarteaucitronAlertBig #tarteaucitronDisclaimerAlert p{
	font-size: 9pt !important;
    line-height:1.4em;
}
}

/* Blog */

.blog{
	display: block;
}

.blog .listing-item{
    border-bottom: 1px solid #e6e6e6;
    margin: 0 0 50px;
    padding: 0 0 25px;
    min-height: 280px;
}

.blog .listing-item a.image{
	float: left;
	margin-right: 30px;
	margin-top:20px;
	padding-bottom:40px;
}

.blog .title{
	font-size: 29px;
	font-weight: 600;
}

.blog .date{
	display: block;
	margin-bottom: 25px;
	font-size: 80%;
}

.blog .excerpt-more{
	clear: both;
}

/* Zitate */

.zitat {
    padding: 30px 30px 10px 30px;
    font-style: italic;
}

.zitat blockquote span{
    font-weight: bold !important;
    font-size: 130%;
  letter-spacing: 0.5px;
    font-style:normal;
}

.zitat blockquote{
	border-left: 3px solid #fff;
}

/* Popup */

.pum-theme-3976 .pum-content + .pum-close, .pum-theme-standard-theme .pum-content + .pum-close{
	background-color: #d51030 !important;
}

#popmake-3985 a.red-btn{
	background-color: #d51030;
	color: #fff;
	padding: 5px 10px;
}

#popmake-3985 a.red-btn:hover{
	background-color: grey;
	color: #fff;
	padding: 5px 10px;
}