/*
Theme Name:AGPRO 2019
Theme URI: 
Description: Spezielles Theme der Austrian Gay Professionals
Author: Christian Högl
Author URI: https://creativbox.at
Template: Divi
*/
p, li, .hyphenate {
    hyphens: auto;
}

.nohyphens, .nohyphens p, .nohyphens li {
    hyphens: none;
}

body {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.5em;
}

#wp-admin-bar-wpseo-menu,
#wp-admin-bar-rcb-clear-current-cookie,
#wp-admin-bar-comments,
#wp-admin-bar-wp-logo {
display:none;
}



#wp-admin-bar-enable-jquery-migrate-helper { display:none; }


/* ultimate member text color */
.um, .um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-card .um-member-tagline, .um-dropdown li a {
    color: #0A0505!important;
}
body .um-directory .um-members-wrapper .um-members.um-members-grid .um-member .um-member-card .um-member-tagline {
    font-size: 15px;
    line-height: 1.4em;
}
.um-directory .um-member-card .um-member-card-content .um-member-tagline {
    color: #0A0505!important;
    font-size: 17px!important;
    line-height: 1.4em;
}
.um-member-card .um-member-meta-main {
    line-height: 1.4em;
}
.um-directory .um-members-wrapper .um-members.um-members-list .um-member .um-member-card-container .um-member-photo {
    width: 140px;
    margin: 0 25px 0 0;
}

.um-directory .um-members-wrapper .um-members.um-members-list .um-member .um-member-card-container .um-member-photo a,
.um-directory .um-members-wrapper .um-members.um-members-list .um-member .um-member-card-container .um-member-photo a img {
    width: 140px;
    height: 140px;
}

.um-profile-edit {
    top: unset!important;
    bottom: 50px;
}

.um-profile.um .um-profile-headericon a {
    color: #888!important;
}

.um-directory .um-member-directory-header .um-member-directory-header-row .um-member-directory-nav-line .um-member-directory-view-type .um-member-directory-view-type-a {
    color: #cccccc!important;
}

.um-icon-arrow-up-b:before {
    color: #cccccc!important;
    line-height: 0.8em;
}

.um-dropdown ul {
    background: transparent;
}

.et_pb_post_content div .um-profile-photo a.um-profile-photo-img {
    top: 0!important;
}

body .um-profile-photo {
    width: inherit;
}

.um-page-login.um-page-loggedout #um-submit-btn {
    margin-top: 20px;
    width: 100%!important;
}

.page-id-5421 .um-members-edit-btn,
.page-id-5421 .um-member-metaline-member_offer strong { /* auf Aktuell-Seite ausblenden */
    display: none !important;
}




/* ultimate member member-photo */
.um-directory .um-members-wrapper .um-members .um-member .um-member-photo.radius-1 a img, .um-directory .um-members-wrapper .um-members .um-member, .um-profile-photo-overlay, .um-dropdown, .um-account-meta img, body .um-profile-photo a.um-profile-photo-img {
    border: 1px solid #ccc!important;
}

/* ultimate member link colors */
.um a.um-link, .um .um-tip:hover, .um .um-field-radio.active:not(.um-field-radio-state-disabled) i, .um .um-field-checkbox.active:not(.um-field-radio-state-disabled) i, .um .um-member-name a:hover, .um .um-member-more a:hover, .um .um-member-less a:hover, .um .um-members-pagi a:hover, .um .um-cover-add:hover, .um .um-profile-subnav a.active, .um .um-item-meta a, .um-account-name a:hover, .um-account-nav a.current, .um-account-side li a.current span.um-account-icon, .um-account-side li a.current:hover span.um-account-icon, .um-dropdown li a:hover, i.um-active-color, span.um-active-color, .um-profile.um .um-profile-headericon a:hover, .um-profile.um .um-profile-edit-a.active {
    color: #f39205 !important;
}

.um a.um-link:hover, .um a.um-link-hvr:hover {
    color: #ff9c0c !important;
}

/* ultimate member button colors */
.um .um-field-group-head, .picker__box, .picker__nav--prev:hover, .picker__nav--next:hover, .um .um-members-pagi span.current, .um .um-members-pagi span.current:hover, .um .um-profile-nav-item.active a, .um .um-profile-nav-item.active a:hover, .upload, .um-modal-header, .um-modal-btn, .um-modal-btn.disabled, .um-modal-btn.disabled:hover, div.uimob800 .um-account-side li a.current, div.uimob800 .um-account-side li a.current:hover, .um .um-button, .um a.um-button, .um a.um-button.um-disabled:hover, .um a.um-button.um-disabled:focus, .um a.um-button.um-disabled:active, .um input[type=submit].um-button, .um input[type=submit].um-button:focus, .um input[type=submit]:disabled:hover {
    background: #f39205 !important;
}

.um .um-field-group-head:hover, .picker__footer, .picker__header, .picker__day--infocus:hover, .picker__day--outfocus:hover, .picker__day--highlighted:hover, .picker--focused .picker__day--highlighted, .picker__list-item:hover, .picker__list-item--highlighted:hover, .picker--focused .picker__list-item--highlighted, .picker__list-item--selected, .picker__list-item--selected:hover, .picker--focused .picker__list-item--selected, .um .um-button:hover, .um a.um-button:hover, .um input[type=submit].um-button:hover {
    background: #ff9c0c !important;
}

/* ultimate member button alt colors */
.um .um-button.um-alt, .um input[type=submit].um-button.um-alt {
    background: #eeeeee !important;
}

.um .um-button.um-alt:hover, .um input[type=submit].um-button.um-alt:hover {
    background: #e5e5e5 !important;
}

/* ultimate member button radius */
.um-profile-nav-item a, a.um-button {
    border-radius: 2px!important;
}

/* just for termine archive */
@media only screen and (min-width: 1350px) {
    .post-type-archive-event .et_pb_section_0_tb_header {
        padding: 2px 0!important;
    }
}

/* footer forum */
body #wpforo-wrap #wpforo-poweredby, 
body #wpforo-poweredby #bywpforo {
    background-color: #f4f4f4;
    color: #353535!important;
}
#wpforo-poweredby .wpf-by span:after {
    content: 'Info';
    color: #353535!important;
} 

/* Hide subscribe link on main forum */
#wpforo #wpforo-wrap #wpfsubscribe-1 { display:none; }

.agpro-icon:after {
    display: inline-block;
    font-size: 22px;
    color: #555555;
    font-size: 16px;
    line-height: 16px;
    font-family: ETmodules;
    content: "\e033";
}

.agpro-icon.large:after {
    font-size: 30px;
    line-height: 30px;
}

.agpro-icon.lock:after {
    content: '\e06c';
}

.agpro-icon.groups:after {
    content: '\e08b';
}

.agpro-icon.location:after {
    content: '\e081';
}
.agpro-icon.location:hover:after {
    color:#ff9c0c;
}
.agpro-icon.arrow-left-alt2:after {
    content: '\34';
}

.agpro-icon.arrow-right-alt2:after {
    content: '\35';
}

.agpro-icon.arrow-down-alt2:after {
    content: '\33';
}

.agpro-icon.arrow-up-alt2:after {
    content: '\32';
}

.agpro-icon.edit:after {
    font-family: dashicons;
    content: '\f540';
    color:#aaa;
}
.agpro-icon.edit:hover:after {
    font-family: dashicons;
    content: '\f540';
    color:#ff9c0c;
}
.agpro-icon.hidden:after {
    font-family: dashicons;
    content: '\f530';
    font-size: 18px;
    line-height: 18px;
}

.agpro-icon.shown:after {
    font-family: dashicons;
    content: '\f577';
    font-size: 18px;
    line-height: 18px;
}

#termine-archiv {
    max-width: 1340px;
    margin: 0 auto;
    padding: 30px;
    min-height: 50vh;
}

#termine-archiv h1 {
    font-weight: 200;
    font-size: 50px;
    color: #f39205;
    position: relative;
    display: inline-block;
}

#termine-archiv .no-results {
    text-align: center;
    font-size: 18px;
    margin-top: 100px;
}

#termine-archiv .month-nav {
    text-align: center;
    font-size: 17px;
    margin: 0px 0px 10px 0px;
    padding: 25px 15px;
    background: #f4f4f4;
}

#termine-archiv .month-nav a {
    color: #888;
    padding: 3px 8px;
    margin-right: -3px;
    transition: 0.5s 0s ease-in;
    border-bottom: 2px solid #f4f4f4;
    white-space: nowrap;
}

#termine-archiv .month-nav .month-nav__item--active {
    font-weight: 600;
    color: #555;
}

#termine-archiv .month-nav a:hover {
    background: #ffffff;
    transition: 1s 0s ease-out;
    border-bottom: 2px solid #f39205;
}
#termine-archiv .month-nav a:first-child:hover,
#termine-archiv .month-nav a:last-child:hover  {
    border-bottom-color: #f4f4f4;
}
#termine-archiv .month-nav a:first-child:hover span::after,
#termine-archiv .month-nav a:last-child:hover span::after {
    color: #272624;
}

#termine-archiv .sandwich__side form {
    text-align: right;
    margin: -40px 0 40px;
}

#termine-archiv .sandwich__side input {
    border: solid 1px #ddd;
    padding: 5px 10px;
    width: 250px;
}

#termine-archiv .sandwich__side input:focus {
    border-color: #888;
}

#termine-archiv .sandwich__side input:focus::placeholder {
    color: #ddd;
}
.termin_ansichtsingle, .single .termin_ansichtliste {
    display: none;
}
.single .termin_ansichtsingle, .termin_ansichtliste {
    display: inline-block;
    border:1px solid #f39205;
    padding: 10px;
    margin:25px 0;
}
.event-item-header {
    display: flex;
}

.event-item__left {
    display: flex;
}

.event-item__right {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: calc(100% - 255px);
}

.event-item__meta {
    flex-grow: 2;
    padding-right: 30px;
}

.event-item__action {
    text-align: right;
}
.event-item__title-wrapper {
    cursor: pointer;
}
.js-rsvps {
    margin-left: 10px;
}

.date-square, .taxonomy-square {
    display: flex;
    width: 100px;
    height: 100px;
    margin-right: 15px;
    overflow: hidden;
    font-weight: 800;
}

.date-square {
    background: #f4f4f4;
    text-align: center;
    flex-direction: column;
}

.taxonomy-square {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #F4F4F4;
    padding: 10px 5px 10px 10px;
}

.date-square__date, .date-square__month {
    display: flex;
    justify-content: center;
    width: 100%;
    color: #555;
}
.rsvp_yes .date-square__date, 
.rsvp_yes .date-square__month,
.rsvp_yes .event-item__action .agpro-icon:after,
.rsvp_yes .event-item__title {
    color:#f39205;
}

.date-square__date {
    font-size: 50px;
    line-height: 1em;
    height: 60%;
    align-items: flex-end;
}

.date-square__month {
    font-size: 30px;
    line-height: 1em;
    text-transform: uppercase;
    height: 40%;
}

.event-item__status {
    width: 25px;
    padding-top: 5px;
}

.event-item__title,
.event-item__title-wrapper {
    display: block;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-top: -3px;
}

.event-item__subtitle {
    display: block;
    font-size: 18px;
    line-height: 1.1em;
    margin-top: 5px;
}

.event-item__title-wrapper {
    padding-bottom: 5px;
}

.event-item__location {
    line-height: 1.3;
    font-size: 17px;
    position: relative;
}

article:not(.event-venue-online) .event-item__location-title, 
article:not(.event-venue-online) .event-item__location-address, 
article:not(.event-venue-online) .event-item__location-datetime {
    padding-left: 35px;
}
.event-item__location-title {
    font-weight:600;
}
.event-item__location-address {
    font-size:14px;
}

.event-venue-online .event-item__location-address,
.event-venue-online .event-item__location-link,
.event-venue-online .agpro-icon.location {
    display: none;
}


.event-item__location .agpro-icon {
    position: absolute;
    top: 8px;
}

.event-item__content--closed, .event-item__location-address--closed {
    display: none;
}

.event-item__content a {
    font-weight: 400;
}

.event-item__content {
    padding-top: 15px;
    font-size: 110%;
}

@media only screen and (min-width: 900px) {
     .event-item__content {
        margin-left: 230px;
        margin-right: 230px;
    }
}
.js-attendees {
    margin-top: 15px;
    padding: 15px;
    background: #F4F4F4;
}
.js-attendees a {
    color:#d88200;
}
.js-attendees a:hover {
    text-decoration: underline;
}


#termine-archiv .button {
    position: relative;
    line-height: 1em;
    transition: all 300ms ease 0ms;
    display: inline-block;
    padding: 5px 10px 5px 10px;
    margin: 0 0 4px 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    background-color: #555;
    cursor: pointer;
    border: none;
    border-radius: 2px;
}

#termine-archiv .neuertermin {
    position: absolute;
    top: 23px;
    right: -75px;
    background: #d7d5d5;
}


#termine-archiv .button.event-item__details {
    padding-right: 25px;
}

#termine-archiv .button.event-item__details:after {
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -.5em;
    font-size: 16px;
    line-height: 16px;
    font-family: ETmodules;
    content: "\33";
}

#termine-archiv .button.event-item__details.open:after {
    content: "\32";
}
#termine-archiv .button.event-item__details.open {
    background-color: #777;
}

#termine-archiv .button:hover, #termine-archiv .button.event-item__details.open:hover  {
    background-color: #f39205;
}
.memberlist__content article {
    padding: 15px 0;
    border-top: 1px dotted #555555;
}

.memberlist__content article:first-child {
    border: none;
}













/******************************/
/* calendar */


.extra {
	border:1px solid #f39205;
	padding:1em;
	margin:0.6em 0 1em 0;
	background:#fff;
}

#hideme {
    display: none;
}

.agpro_event h4, .info-popup h4 {
    font-weight: 700;
    color: #f39205;
}

.agpro_event h3, .info-popup h3 {
    font-weight: 700;
    font-size: 25px;
    /* margin-bottom: 10px; */
}

.agpro_event p {
    line-height: 1.4em !important;
}

.agpro_event .location {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f39205;
}

.agpro_events_wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
}

.agpro_events_wrapper .agpro_event {
    display: flex;
    width: 30%;
    background: #fff;
    padding: 20px;
}

.thenewspage .more-link,
.agpro_info_btn,
.agpro_info_btn2,
#et-main-area a.smallorange, #et-main-area a.bigorange {
    position: relative;
    line-height: 1.7em;
    box-shadow: 0px 5px 18px 0px rgba(224, 153, 0, 0.29);
    transition: all 300ms ease 0ms;
    display: inline-block;
    padding: 15px 55px 15px 25px;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.75) !important;
    letter-spacing: 1px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #f39205;
    background: #f39205;
	border-radius:1px;
    cursor: pointer;
}

.thenewspage .more-link:after,
.agpro_info_btn:after,
.agpro_info_btn2:after,
#et-main-area a.smallorange:after, #et-main-area a.bigorange:after {
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -.5em;
    font-size: 16px;
    line-height: 16px;
    font-family: ETmodules;
    content: ";";
}
.agpro_info_btn2:after {
    content: "\3d";
}
#et-main-area a.smallorange:after, #et-main-area a.bigorange:after {
    content: "\39";
}
.map-link:before {
    position: relative;
    top: 1px;
    left: -1px;
    margin-right: 3px;
    font-family: ETmodules;
    content: "\e01d";
}

html .thenewspage .more-link:hover,
.agpro_info_btn:hover,
.agpro_info_btn2:hover {
    box-shadow: 0px 8px 23px 0px rgba(242, 167, 0, 0.82);
    transform: translateX(0px) translateY(-2px);
    background-color: #f39205;
    color: #ffffff !important;
}


.agpro-event-preview-img {
    width: 100%;
    height: 20vmin;
    max-height: 330px;
    min-height: 220px;
    object-fit: cover;
    object-position: top center;
    margin-top: 20px;
    border: 1px solid #00000022;
}

.agpro-event-head {
   /* min-height: 19.1vw; */
}

#presenting .et_pb_slide {
    padding: 0 !important;
}

@media only screen and (max-width: 980px) {
	#werwirsind .et_pb_divider_0 {
		background-position:bottom center;
	}
}
@media only screen and (min-width: 981px) {
	#werwirsind .et_pb_column_1_3, #werwirsind .et_pb_column_2_3 {
		width:100%;
	}

}
@media only screen and (min-width: 1240px) {
	#werwirsind .et_pb_column_1_3 {
		width:33.3333%;
	}
	#werwirsind .et_pb_column_2_3 {
		width:67.667%;
	}
}

@media only screen and (min-width: 782px) {
    .agpro-event-preview-img {
        /* height: 12vw; */
    }
    .agpro-event-head {
        /* min-height: 160px; */
        min-height: auto;
    }
}
@media only screen and (min-width: 1400px) {
    .agpro-event-head {
        min-height: 135px;
    }
}

.info-popup {
    display: none;
    background-color: #eaeaea;
    padding: 40px 30px 30px;
    width: 60%;
    position: absolute;
    overflow: auto;
    max-height: 80vh;
    top: 180px;
    left: 20%;
    box-shadow: 0px 10px 26px 0px rgba(0, 0, 0, 0.3);
    z-index: 9997;
    border-top: 6px solid #f39205;
}

.info-popup p {
    padding-bottom: 0.66em;
}

@media only screen and (max-width: 782px) {
    .info-popup {
        width: 90%;
        left: 5%;
    }

    .event-item__left {
        flex-direction: column;
    }

    .event-item__right {
        flex-direction: column-reverse;
        width: calc(100% - 115px);
        align-self: center;
    }

    .event-item__meta {
        width: 100%;
        margin-top: 35px;
    }

    .date-square {
        margin-bottom: 15px;
    }

    #termine-archiv .month-nav {
        font-size: 15px;
    }
}

@media only screen and (max-height: 600px) {
    .info-popup {
        width: 90%;
        left: 5%;
        top: 80px;
    }
}

.close-popup {
    color: #555;
    position: absolute;
    top: 15px;
    right: 15px;
    font-family: ETmodules;
    font-size: 22px;
    font-weight: 900;
    display: block;
    width: 22px;
    height: 22px;
    cursor: pointer;
    z-index: 9998;
}

.close-popup:hover {
    color: #f39205;
}

/* toggle close icon */
.et_pb_toggle_open .et_pb_toggle_title:before {
    color: #f39205 !important;
}

#menu-main .mobileonly,
.role-administrator .member_dup {
    display: none!important;
}
.show_loggedin, .logged-in .show_loggedout  {
    visibility: hidden;
}
.logged-in .show_loggedin, .show_loggedout {
    visibility: visible;
}


.mobileonly a {
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    .agpro_events_wrapper .agpro_event {
        width: 47%;
    }
}

@media only screen and (max-width: 480px) {
    .agpro_events_wrapper .agpro_event {
        width: 100%;
    }
}

/* sticky header */
@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media only screen and (min-width: 480px) {
    .fixed-header {
        z-index: 999;
        /* display at the top */
        position: fixed;
        width: 100%;
        top: 0;
        -webkit-animation: fadein 1s ease-in;
        -moz-animation: fadein 1s ease-in;
        animation: fadein 1s ease-in;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .fixed-header .et_pb_row_0_tb_header.et_pb_row {
        padding-top: 2px !important;
        padding-bottom: 2px !important;
    }

    .fixed-header .et_pb_column_0_tb_header ul {
        transform: scale(0.9)
    }

    .fixed-header .et_pb_section_1_tb_header {
        padding: 0 !important;
    }

    .fixed-header .et_pb_menu__logo {
        transform: scale(0.75)
    }
}

@media only screen and (min-width: 782px) {
    .admin-bar .fixed-header {
        top: 32px;
    }
}

/* linkedin statt google+ */
.et-social-google-plus a.icon:before {
    content: "\e09d"
}

.et-social-myspace a.icon::before {
    opacity: 0;
}

.et_pb_social_media_follow .et_pb_social_media_follow_network_2_tb_header:hover a.icon,
.et-social-myspace a {
background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='xing-icon' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 28 28' enable-background='new 0 0 28 28' xml:space='preserve'%3E%3Cpath id='xing-path' fill='%23FFFFFF' d='M17.4,28l-6.3-11.3L20.6,0h5.8l-9.5,16.7L23.2,28H17.4z M8.9,5.5H3.1l3.3,5.6l-4.9,8.5h5.8 l4.9-8.5L8.9,5.5z'/%3E%3C/svg%3E")!important;
background-size: 70%;
background-position: center;
background-repeat: no-repeat;

}

#main-content {
    min-height: 60vh;
}

/* nicer bullet lists */
body:not(.um-page-loggedin) .et_pb_text ul,
.event-item__content ul {
    margin-left: 3em;
}

body:not(.um-page-loggedin) .et_pb_text ul li,
.event-item__content ul li {
    display: block;
    list-style: none;
    margin-bottom: 0.3em;
    padding: 0;
    position: relative;
}

body:not(.um-page-loggedin) .et_pb_text ul li::before,
.event-item__content ul li::before {
    color: #f39205;
    content: "\e033";
    font-family: ETmodules;
    display: block;
    left: -1.7em;
    position: absolute;
    top: 0em;
}

.container.et_menu_container, #footer-bottom .container, #main-footer .container {
    width: 100%;
    max-width: 1280px;
    padding-left: 30px;
    padding-right: 30px;
}

.admin-bar #main-header {
    box-shadow: none;
    top: 32px !important;
}

.admin-bar #main-header.et-fixed-header {
    top: 32 !important;
}


@media (max-width:600px) {
	#wpadminbar {
	display:none;
	}

	.admin-bar #main-header {
		top: 0 !important;
	}

}


#menu-main .member_area > a {
    border:1px solid #f39205;
}

#menu-main {
    margin-top: 10px;
}

#menu-main > li > ul {
    top: calc(100% - 10px);
    left: 11px;
    -webkit-transform-origin: 0 0;
    -moz-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: translate3d(0, 0, 0)
}

#menu-main > li:hover > ul, #menu-main > a:hover > ul {
    -webkit-animation: grow .4s ease-in-out;
    -moz-animation: grow .8s ease-in-out;
    -o-animation: grow .4s ease-in-out;
    animation: grow .4s ease-in-out;
    -webkit-backface-visibility: visible !important;
    backface-visibility: visible !important;
}

.post-type-archive-event #menu-main > li > a,
#menu-main > li > a {
    line-height: 20px;
    padding: 20px 15px;
    height: 20px;
}

#menu-main .menu-item-has-children > a:first-child {
    padding-right: 35px;
}

#menu-main li {
    padding-right: 0px;
}

#menu-main li a {
  /*  box-shadow: inset 0px 0px 0px 0px #e2e2e2; */
    transition: 0.75s;
}

#menu-main li a:hover {
   /* box-shadow: inset 0px -40px 0px 0px #e2e2e2; */
   background: #e2e2e2;
    transition: 0.75s;
}

#menu-main li.current_page_parent > a, #menu-main li.current_page_item > a {
    font-weight: 600 !important;
}

#et_top_search {
    padding-left: 0px;
}

#menu-main .menu-item-has-children > a:first-child:after {
    top: 10px;
    right: 15px;
}

#et_search_icon:before {
    top: 8px;
}

#menu-main li li {
}

.nav li ul {
    border-left: 1px solid rgba(41, 49, 79, 0.5) !important;
    border-bottom: 1px solid rgba(41, 49, 79, 0.5) !important;
    border-right: 1px solid rgba(41, 49, 79, 0.5) !important;
    border-top-color: rgb(41, 49, 79) !important;
    border-top-width: 2px;
    box-shadow: none;
}

.mobile_menu_bar:before {
    color: #29314f;
}

.et_mobile_menu {
    border-top-color: #29314f;
}

/* styling for person module */
.dh_email_icon:before {
    content: "\e076";
}

.dh_person_email {
    display: none;
}

.et_pb_team_member_description h4 {
    margin-bottom: -4px;
}

.et_pb_column .et_pb_team_member_description {
    max-width: 400px;
}

.et_pb_team_member_image {
    margin-bottom: 25px !important;
    max-width: 400px;
}

.et_pb_member_social_links {
    margin-top: 20px;
    padding: 20px 0 25px 0 !important;
    border-top: 1px solid #f39205;
}

.tippy-tooltip p {
    hyphens:none;
}

@media all and (min-width: 720px) and (max-width:980px) {
    .et_pb_column .et_pb_team_member_description {
        /* display: inline-block;
    width: 40%;*/
    }

    .et_pb_column .et_pb_team_member_image {
        width: 100%;
    }
}

/* Buttons side by side for header */
.btn-inline .et_pb_button_module_wrapper {
    display: inline-block;
    padding-bottom: 20px;
    margin: 0 10px;
}

.fotocredits {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 1em;
    color: #29314f;
}

#testimonials .et_pb_slide_image img {
    max-width: 300px;
}

#testimonials .et_pb_slide_with_image .et_pb_slide_description {
    width: 65.5%;
}

#testimonials .et_pb_slide_image {
    width: 19%;
}

/* fancy hover for partner logos */
#agpropartners a:hover {
    filter: sepia(100%) hue-rotate(357deg) saturate(500%) contrast(85%);
}

@media only screen and (min-width: 1320px) {
    .container.et_menu_container, #footer-bottom .container, #main-footer .container {
        padding-left: 0px;
        padding-right: 0px;
    }
}

@media only screen and (max-width: 980px) {
    #testimonials .et_pb_slide_image img {
        max-width: 190px;
    }
}

@media only screen and (max-width: 767px) {
    #testimonials .et_pb_slide_image {
        display: block !important;
        width: 100%;
    }

    #testimonials .et_pb_slide_with_image .et_pb_slide_description {
        width: 90%;
    }

    #testimonials .et_pb_slide_image img {
    }
}

@media only screen and (max-width: 600px) {
    #termine-archiv .sandwich__side form {
        margin: 0 0 30px 0;
    }
    #termine-archiv .sandwich__side form input {
        width: 100%;
    }
    #termine-archiv .sandwich__side {
        text-align: left;
        width: 100%;
    }
    .event-item-header {
        flex-direction:column;
    }
    .event-item__left {
        flex-direction: row;
    }

    .event-item__right {
        flex-direction: column;
        width: 100%;
        align-self: center;
    }
    .event-item__action {
        text-align:left;
        margin-top:20px;
    }
    .event-item__action > div {
        text-align:right;
    }

    .date-square, .taxonomy-square {
        width: 80px;
        height: 80px;
        margin-right: 15px;
    }

    .date-square__date {
        font-size: 40px;
    }

    .date-square__month {
        font-size: 22px;
    }

    .taxonomy-square {
        font-size: 12px;
        line-height: 1.1em;
    }
}
