/*
Theme Name: Opti - Versicherungsmonitor.de
Author: brainbits GmbH
Author URI: http://www.brainbits.net/
Version: 1.0
Template: opti
*/

/* Stylesheet is included in header.php */

.wp-caption {
    font-size: 12px;
}

.wp-caption-text {
    text-align: left;
}


.wp-copy-caption {
	margin: 15px 15px 0 0;
	float: left;
    /*
	background: #EFEFEF;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
	padding: 2px;
     */
}

.thumb-wrap .wp-copy-caption {
    margin: 0 15px 15px 4px;
}

/*
.wp-copy-caption:hover,
#recent-excerpts .wp-copy-caption:hover {
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.75);
}
 */

.wp-copy-caption .wp-post-image,
#recent-excerpts .wp-copy-caption .wp-post-image {
	box-shadow: none;
	border: 0;
	border-bottom: 0;
	display: block;
	float: none;
	margin: 0 auto;
}

.wp-copy-caption .copyright {
	clear: both;
	color: #666;
    margin: 2px 3px;
    font-size: 0.65em;
    font-style: italic;
    line-height: 1.2;
    text-align: left;
}

.search .wp-copy-caption .copyright {
    display: inline;
}

/*.copyright-archive {
	max-width: 105px;
}*/

/* Homepage */

.ngg-galleryoverview {
    float: left;
    margin-right: 15px;
    width: auto;
}

.ngg-gallery-thumbnail-box {
    display: none;
}
.ngg-gallery-thumbnail-box:first-child {
    display: block;
}
.ngg-gallery-thumbnail-box:first-child img {
    margin-top: 0;
}



h1.pagetitle {
    font-size: 1.75em;
}

/* Resetting Clearfix for older Browsers */
.row .eightcol,
.entry {
	overflow: visible;
}

.entry h2 {
    font-size: 1.5em;
}

.entry h5 {
    font-size: 1.2em;
}

.entry h6 {
    font-size: 1em;
}

.wp-caption .wp-caption-text {
    font-style: normal;
    margin: 5px 0 0;
    padding: 5px 0;
}

.wp-caption .copyright {
	clear: both;
    color: #666;
    margin: 0;
    font-size: 0.8em;
    padding: 0 0 5px;
    text-align: left;
}

.copyright a,
.copyright a:visited {
    color: #666;
}

.post a.read-more {
    white-space: nowrap;
}
.mobile-wrap {
    display: none;
}

@media screen and (max-width: 760px) {
    .mobile-wrap {
        display: block;
    }

    aside.fourcol #wp_sidebarlogin-2 {
        display: none;
    }
}

.wp-caption.alignleft {
    margin: 7px 20px 1em 0px !important;
}

.nav ul {
    width: 230px !important;
}

.nav ul li {
    width: 230px !important;
}


/* erster Absatz fett */

article section.entry > p:first-child {
    font-weight: bold;
}


/* Layering */

.layering-outer {
    width: 33%;
    min-width: 150px;
}

.layering-right {
    margin-left: 10px;
}

.layering-left {
    margin-right: 10px;
}


.layering {
    background-color: #EFEFEF;
    padding-left: 1.5em;
    padding-right: 1.5em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    margin-top: -0.2em;
    margin-bottom: -0.2em;
    color: #7b7b7b;
}

div.layering ul {
    list-style-type: square;
    list-style-position: inside;
    padding: 0px;
}

div.layering ul li {
    margin-left: 1.2em;
    margin-bottom: 0;
}

p.postmetadata,
span.postmetadata,
.postmetadata.print {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.postmetadata.print img {
    width: 14px;
    height: auto;
}

@media (min-width: 786px) {
    .post__metadata {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

form input.disabled {
	background: #E9E9E9;
	color: #666;
}

/* search */
.search article {
	float: none;
	width: 100%;
}
.search article section.entry p:first-child {
	font-weight: normal;
}

.search .postmetadata {
    margin-bottom: 0;
}

.textwidget {
	margin: 0;
}

.widget_text .widget-wrap {
	padding-bottom: 0;
}

.widget_text .widget-wrap img {
	display: block;
}

.widget.adsanity-single {
	margin-bottom: 15px;
}

.widget.blank {
	background: none;
	padding: 0;
}

.widget.footer-no-border .widgettitle {
	border-bottom: 0;
	margin-bottom: 9px;
}

.widget.blank .widget-wrap {
	border: 0;
}

.widget.blank .widget-wrap .full-width {
	height: auto;
	width: 100%;
}

.widget.adsanity-single .widget-wrap,
.widget.adsanity-random .widget-wrap {
	padding-bottom: 0;
}

.widget.adsanity-single img,
.widget.adsanity-random img {
	border: 0;
	margin-bottom: 0;
}

/* Twitter Widget */

.twitter-widget .textwidget {
    line-height: 0;
}

#sidebar-bookmarks {

}

#sidebar-bookmarks h3 {
	font-size: 1em;
	border-bottom: 3px solid #333;
	margin-bottom: 10px;
	padding-bottom: 5px;
}

#sidebar-bookmarks a {
	color: #111;
}

#sidebar-bookmarks a:hover {
	text-decoration: underline;
}


/* 404 */

#oops {
	opacity: 0.2;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; // first!
	filter: alpha(opacity=20);					// second!
}



.search input.searchfield {
    color: black;
    width: 50%;
}

.checkout-info-message {
    background-color: #efefef;
    font-size: 12px;
}

/**
 * Search Person Hits
 */

.semantic-hits {
    background-color: #ffd;
    padding-left:20px;
    padding-right:20px;
    padding-top:20px;
    margin-bottom: 20px;
}

.semantic-hits:after {
    content:"";
    clear:both;
}

.semantic-hits + article {
    border-top: 1px solid #d7d7d7;
    padding-top: 20px;
}

h2[class^="semantic-hits-"] {
    margin-bottom: 20px;
}

.person-hits {
    background-color: #ffd;
    list-style-type: none;
    padding: 20px 20px 0;
}

@media screen and (min-width: 760px) {
    .person-hits {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .person-hit-illustrated {
        width: 50%;
    }
}

.person-hit-illustrated {
    margin-bottom:2em;
}

.person-hit-single {
	margin-bottom: 20px;
	background-color: #ffd;
}
.person-hit-single .teaserimage {
	float: none;
	margin: 0 auto 20px;
	width: 300px;
}
.person-hit-single .teaserimage a {
	display: block;
}
.person-hit .teaserimage .copyright:empty {
    display: none;
}
.person-hit .teaserimage .copyright {
    display: block;
}

.person-hit:nth-child(4n+1) {
    clear:both
}

.person-hit-illustrated .teaserimage {
    max-width: 40%;
    display: inline-block;
    float: none;
    margin-top: 0;
}

.person-hit .posttitle {
	font-size: 1.1em;
    display: inline-block;
    vertical-align: top;
}

.person-hit-illustrated .posttitle {
	padding-left: 0;
	padding-right: 5%;
}

.person-hit-single .posttitle {
    padding-bottom: 20px;
    text-align: center;
    display: block;
}

/**
 * END: Search Person Hits
 */

#masthead input.searchfield.ui-autocomplete-loading{
	background: linear-gradient(320deg, #bfbfbf, #d9d9d9);
	background-size: 400% 400%;

	-webkit-animation: loadingGradient 1s ease-in-out infinite;
	-moz-animation: loadingGradient 1s ease-in-out infinite;
	animation: loadingGradient 1s ease-in-out infinite;
}
.ui-autocomplete{
	z-index: 100;
}
.ui-autocomplete .ui-menu-item{
	text-align: left;
}

.ui-autocomplete .ui-menu-item.ui-state-focus{
	border:none;
	cursor: pointer;
}



@-webkit-keyframes loadingGradient {
	0%{background-position:96% 0%}
	50%{background-position:5% 100%}
	100%{background-position:96% 0%}
}
@-moz-keyframes loadingGradient {
	0%{background-position:96% 0%}
	50%{background-position:5% 100%}
	100%{background-position:96% 0%}
}
@keyframes loadingGradient {
	0%{background-position:96% 0%}
	50%{background-position:5% 100%}
	100%{background-position:96% 0%}
}


/*
 * Accordion #160
 */
.accordion {
	background-color: #eee;
	color: #444;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 15px;
	transition: 0.4s;
}

.accordion.active, .accordion:hover {
	background-color: #ccc;
}

.accordion:after {
	content: '\002B';
	color: #777;
	font-weight: bold;
	float: right;
	margin-left: 5px;
}

.panel {
	padding: 0 18px;
	background-color: white;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}



/* hack to display social icons of newsletter in one line */
.newsletter_archive a[title=facebook] ~ br {
    display: none;
}
.newsletter_archive a[title=facebook],
.newsletter_archive a[title=twitter],
.newsletter_archive a[title=linkedin],
.newsletter_archive a[title=xing] {
    border-bottom: none;
}

.recent-excerpts--sticky {
    margin-bottom: 18px;
}

.vmo-trainee-content {
    background-color: #f7fcfd;
    padding: 10px;
    border: 1px solid #1899CB;
    margin-bottom: 20px;
}

.more-about-teaser {
    padding: 10px 20px;
    background: #eee;
    box-shadow: 5px 5px 15px #c0c0c0;
}

.more-about-teaser ul li {
    margin-left: 26px;
}

@media screen and (min-width: 768px) {
    .more-about-teaser {
        padding: 0 15px;
        float: right;
        width: 33%;
        min-width: 200px;
        margin: 0 0 5px 15px;
    }
}

.post-flag {
    float: left;
    display: inline-block;
    padding: 1px 4px;
    margin-right: 4px;
    font-weight: bold;
    color: var(--flag-color, #ffffff);
    background: var(--flag-bg-color, #000000);
}