/*
 Theme Name:   ÖH Website Theme
 Theme URI:
 Description:  Child Theme für die ÖH Website
 Author:       Thaler Software
 Author URI:   https://www.thaler-software.eu/
 Template:     hestia
 Version:      1.0.0
*/
/*
 *  Hide Iframe
 */

iframe[name='post_target'] {
    display: none;
}
/*
	Hide the copyright link
*/
.copyright.pull-right {
    display: none;
}

html {
    position: relative;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    position: relative;
    min-height: 100%;
    background-color: white;
    overflow: hidden;
}

/* To fix footer bug with beaver builder when edititng*/
.fl-builder-edit body {
    position: relative !important;
}

body.admin-bar {
    margin-top: 0px;
}

#wpadminbar {
    position: fixed !important;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .hestia-top-bar {
        display:none;
    }

    .navbar.header-with-topbar {
        top: 0;
    }

    #main-navigation {
        max-height: calc(100% - 70px);
        margin-top: 70px;
    }
}

.hestia-top-bar > div.container > div, .hestia-top-bar > div.container > div > div, .hestia-top-bar .widget_custom_html, .hestia-top-bar .widget_custom_html .custom-html-widget {
    width: 100%;
}


.wrapper {
    background-color: white;
}

.blog-post .section-text p {
    margin-bottom: 10px;
}

/*.page-template-default, .wrapper {
	min-height: 100%;
   	position: relative;
}*/

.footer-black {
    position: absolute;
    bottom: 0;
    padding: 0 !important;
    background: #7f8c8d;
    width: 100%;
}

/* Menu handling */
html #main-navigation a {
    display: none;
}

html[lang|='de'] #main-navigation a {
    display: block;
}

html[lang|='de'] #main-navigation a[href*='/en/'] {
    display: none;
}

html[lang|='en'] #main-navigation a[href*='/en/'] {
    display: block;
}

li.lang-item > a {
    display: block !important;
}

.home .main {
    background: #e6e6e6;
}

h1 {
    font-size: 24px;
    line-height: 28px;
}

h2 {
    font-size: 22px;
    line-height: 26px;
}
a {
    color: #f55d60;
}

p {
    text-align: justify;
    -moz-text-align-last: left; /* Code for Firefox */
    text-align-last: left;
}

/* Remove the title of the hestia theme */
.hestia-title, .header-filter {
    display: none;
}

.hestia-top-bar {
    background: #363537;
}

/* Page title */
.page-title {
    margin-top: 0px;
    margin-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

.page-title h1 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 32px !important;
    font-weight: 800;
    line-height: 40px !important;
    text-transform: uppercase;
}

.page-title h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 24px !important;
    line-height: 30px !important;
}


.team-title h3 {
    text-transform: uppercase;
    font-weight: 400;
}

/* STV Template */
.person-img img {
    border: 1px solid black;
}

.stv-logo img {
    max-height: 200px;
    width: auto;
}

.page-content-wrap {
    padding-left: 40px;
}

.header {
    background-color: white;
    height: 180px;
}

.home .header {
    background-color: #e6e6e6;
}

@media (min-width: 1057px) {
    .header {
        height: 110px;
    }
}

#primary {
    display: none;
}

.caret {
    display: none;
}

.section {
    padding: 20px 0px;
}

.main > .blog-post > .container {
    padding-bottom: 70px;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .main > .blog-post > .container {
        width: 100% !important;
        padding-left: 40px;
        padding-right: 40px;
    }
}

.navbar {
    background-color: #297fb8;
    color: white;
    font-weight: 800;
    font-family: "Roboto";
    min-height: 0px;
}

.navbar a {
    /* If no hover effect */
    /*background: black !important;*/
    background: inherit !important;
}

.navbar a:hover {
    color: white !important;
}

.fl-row-fixed-width {
    max-width: none;
}

.navbar-default {
    margin-top: 0 !important;
}

.navbar > .container {
    width: 100%;
    max-width: 1200px;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-collapse {
    color: black;
}

.navbar-toggle {
    margin-top: 19px;
}

.navbar-right .dropdown-menu {
    left: 0;
}

.dropdown-menu {
    min-width: 250px;
    padding: 0;
}

.dropdown-menu > li {
    background-color: #7f8c8d !important;
}

.dropdown-menu > li > a {
    text-transform: uppercase;
    white-space: normal;
    color: white !important;
    margin: 0px !important;
    border-radius: 0;
    border-bottom: 1px solid white;
    background-color: #7f8c8d !important;
}

.dropdown-menu > li > a:hover {
    color: lightgray !important;
}

li.dropdown > ul.dropdown-menu > li.dropdown-submenu > ul {
    display: none !important;
}

#main-navigation > ul > li > a {
    color: white;
    font-weight: 800;
    padding-top: 25px;
    padding-bottom: 25px;
}

.navbar #main-navigation > ul > li > a, .navbar .navbar-header {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

@media (min-width: 769px) {
    .navbar.small #main-navigation > ul > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar.small .navbar-header {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    p {
        text-align: left;
    }

    .navbar .navbar-brand img {
        margin-top: 15px;
    }

    .hestia-blogs {
        padding: 0;
        padding-top: 30px !important;
    }

    .dropdown-submenu > a > .caret {
        display: none !important;
    }

    #main-navigation > ul > li > a {
        color: white;
        border-bottom: 1px solid white;
    }

    .navbar-collapse {
        background-color: #1e1e1e !important;
    }

    .header {
        height: 70px;
    }

    .page-title h1 {
        font-size: 20px !important;
    }

    .page-title h2 {
        font-size: 18px !important;
    }

    .page-content-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Widget menu item css */
.widget_nav_menu a {
    color: white !important;
}

.widget_nav_menu a {
    display: block;
    padding-left: 14px;
    padding-right: 14px;
}

.widget_nav_menu ul {
    padding: 0;
}

.widget_nav_menu .menu-item {
    display: none;
}

.widget_nav_menu .current-menu-ancestor, .widget_nav_menu .current-menu-ancestor > ul > li,
.widget_nav_menu .current-menu-item.menu-item-has-children,
.widget_nav_menu .current-menu-item.menu-item-has-children > ul > li {
    display: list-item !important;
    padding-top: 0;
}

.widget_nav_menu li > a {
    font-size: 18px;
}

.widget_nav_menu > div > ul.menu > li > a {
    display: none;
}

/* Background colors for side menu links */
.widget_nav_menu li.current-menu-parent > ul a,
.widget_nav_menu > div > ul.menu > li.current-menu-ancestor > ul > li.current-menu-ancestor > ul > li > a {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #9f9f9f;
    border-bottom: 1px solid white;
}
.widget_nav_menu li.current-menu-parent > ul a:hover,
.widget_nav_menu > div > ul.menu > li.current-menu-ancestor > ul > li.current-menu-ancestor > ul > li > a:hover {
    background-color: gray;
}

/* Only the actual selected page */
.widget_nav_menu .current_page_item > a {
    background-image: url(/wp-content/uploads/theme/white-arrow.png) !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
}

/* Children of a toplevel menu - exception handling */
.widget_nav_menu > div > ul.menu > li > ul > li > a {
    font-size: 16px;
    background-color: #297fb8;
    border-bottom: 1px solid lightgray !important;
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 500;
    line-height: 33.6px;
    border-bottom: none;
    text-transform: uppercase;
}

.widget_nav_menu > div > ul.menu > li > ul > li > a:hover {
    background-color: #f55d60;
}

/* Last menu level exception */
.widget_nav_menu > div > ul.menu > li .current-page-parent > ul > .current_page_item > ul a,
.widget_nav_menu > div > ul.menu > li.current-menu-ancestor > ul > li.current-menu-ancestor > ul > li > ul > li > a {
    padding-left: 40px;
    background-color: lightgray;
    color: gray !important;
}

.widget_nav_menu > div > ul.menu > li .current-page-parent > ul > .current_page_item > ul a:hover,
.widget_nav_menu > div > ul.menu > li.current-menu-ancestor > ul > li.current-menu-ancestor > ul > li > ul > li > a:hover {
    color: white !important;
    background-color: gray;
}


.widgettitle {
    font-size: 26px !important;
    margin-top: 0px;
    line-height: 43px !important;
}

.entry-categories {
    display: none;
}

.boersen-link {
    background-color: rgba(255,255,255,0.7);
    padding: 20px;
}

.boersen-link a:hover {
    color: #009ec1
}

.boersen-link .fa {
    font-size: 120px;
}

.boersen-link .boersen-text {
    padding-top: 20px;
    font-size: 18px;
    font-weight: 800;
}

.single-post .blog-post-wrapper {
    padding-top: 20px;
}

@media (min-width: 993px) and (max-width: 1200px) {
    .boersen-link .fa {
        font-size: 90px;
    }

    .boersen-link .boersen-text {
        font-size: 15px;
    }
}

.boersen-link-container .widget {
    margin-bottom: 0px;
}

@media (min-width: 768px) and (max-width: 992px) {
    .boersen-link .fa {
        font-size: 90px;
    }

    .boersen-link .boersen-text {
        font-size: 18px;
    }

    .boersen-link-container .widget {
        margin-bottom: 10px;
    }
}

.ui-datepicker-title {
    color: black;
}

@media (max-width: 768px) {

    .fp-bottom-section {
        margin-top: 20px;
    }

    .upcoming-events {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .boersen-link-container .widget {
        margin-bottom: 20px;
    }

    .boersen-link-container .fl-module-content {
        margin: 0px;
    }

    .fl-post-feed-post.fl-post-feed-image-beside {
        max-width: 600px;
    }

    .fl-post-feed-image-beside .fl-post-feed-image img {
        max-width: 40%;
        margin-top: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
        float: left;
    }
}

@media (max-width: 992px) {
    .upcoming-events > .fl-col-content {
        margin: 0px;
    }
}

#wp-admin-bar-edit {
    display: none;
}

/* Set color of the ÖH Board link */
a[title*='ÖH Board'] {
    background: #1abc9c !important;
    border-radius: 0 !important;
}

a[title*='ÖH Board']:hover {
    background: #16a085 !important;
    color: white !important;
}

/* Unipress import */
.issuuembed {
    width: 100% !important;
    height: 550px !important;
}

.fl-slide-mobile-photo {
    display: block !important;
}

.fl-content-slider .fl-slide-bg-photo {
    background-image: none !important;
    position: static !important;
}

.fl-content-slider, .fl-content-slider .fl-slide {
    min-height: 0 !important;
}

/* Hide Page Titel for Schluesselantraege */

.blog-post.blog-post-wrapper .section-text h2 {
    line-height: 1.1 !important;
}

.fl-post-feed-header {
    margin-bottom: unset !important;
}
