/*
Theme Name: IPOL
Author: high standArt networks.de
Author URI: https://hsam.de/
Description: IPOL Theme
Version: 1.0
Text Domain: ipol
*/

body {
    font-family: Roboto, Arial, sans-serif;
}

@media (max-width: 767px) {
    body > .uk-container {
        padding: 0 5px;
    }
}

.uk-button-primary {
    background: #1967bb;
}

.uk-button-primary:hover {
    background: #2a78cc;
}

/*
    Topbar
*/

#topbar {
    height: 28px;
    background: #6f94d4;
    border-top: solid 12px #1967bb;
}

#topbar #topbar-logo {
    width: 45px;
    margin-top: -10px;
    margin-left: 20px;
}

#topbar #topbar-slogan {
    width: 300px;
    margin-left: 20px;
    margin-top: 6px;
}

#topbar-nav {
    margin: 0;
    padding-left: 0;
}

#topbar-nav li {
    float: left;
    list-style: none;
}

#topbar-nav li a,
#topbar-nav li a:visited {
    color: #fff;
    height: 28px;
    line-height: 28px;
    display: inline-block;
    padding: 0 10px;
    font-weight: bold;
    font-size: 13px;
}

#topbar-nav li a:hover,
#topbar-nav li a:active,
#topbar-nav li.current-menu-item a {
    background: #fff;
    color: #6f94d4;
    text-decoration: none;
}

#search input {
    height: 28px;
    border: none;
    border-left: solid 1px #6f94d4;
    background: rgba(255, 255, 255, 0.6);
}

#search input:focus {
    background: rgba(255, 255, 255, 1);
}

#search button {
    height: 28px;
    width: 28px;
    padding: 0 8px;
}

#searchpage-form {
    background: #eee;
}

#searchpage-form input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

#searchpage-form button {
    width: auto;
}

#searchpage-form button i:before {
    content: '\f002  Suchen';
}

@media (max-width: 959px) {
    #topbar-nav li a {
        padding: 0 5px;
    }
}

/*
    Header
*/

#header {
    position: relative;
}

#header-slideshow {
    position: relative;
    z-index: 25;
}

#header-slideshow .uk-dotnav {
    margin-bottom: 10px;
}

#header-slideshow .uk-dotnav > * {
    padding-left: 10px;
}

#header-slideshow .uk-dotnav > * > * {
    width: 15px;
    height: 15px;
}

@media (max-width: 767px) {
    #header-slideshow .uk-dotnav > * > * {
        width: 10px;
        height: 10px;
    }
}

#header-logo {
    position: absolute;
    left: 25px;
    bottom: 0;
    margin-bottom: 25px;
    z-index: 100;
}

#header-logo img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

#header-nav {
    position: absolute;
    z-index: 50;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    padding: 7px 7px 7px 180px;
    margin: 0 0 30px;
}

#header-nav li {
    float: left;
    list-style: none;
}

#header-nav li a,
#header-nav li a:visited {
    display: block;
    font-size: 18px;
    padding: 10px 25px;
    margin-left: 3px;
    background: #fff;
    color: #3877c4;
    text-decoration: none;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

#header-nav li a:hover,
#header-nav li a:active,
#header-nav li.current-menu-item a {
    color: #fff;
    background-color: #3877c4;
}

@media (min-width: 768px) {
    #header-nav-toggle {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    #header-nav li a,
    #header-nav li a:visited {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    #header-logo {
        display: none;
    }

    #header-nav-toggle {
        position: relative;
        z-index: 25;
        display: block;
        text-align: center;
        background: #eee;
        font-size: 18px;
        padding: 8px 0;
    }

    #header-nav-toggle:hover {
        text-decoration: none;
    }

    #header-nav {
        position: static;
        padding: 0;
        z-index: 20;
        margin-bottom: 0;
    }

    #header-nav li {
        float: none;
        display: block;
        list-style: none;
    }

    #header-nav li a,
    #header-nav li a:visited {
        box-shadow: none;
        border-bottom: solid 1px #eee;
        margin-left: 0;
    }
}

/*
    Highlights
*/
#highlights .uk-overlay-panel {
    background: rgba(56, 119, 196, 0.7);
}

#highlights .uk-thumbnail {
    min-width: 100%;
}

#highlights .uk-thumbnail a img {
    min-width: 100%;
}

#highlights .uk-thumbnail-caption {
    color: #fff;
    background: #1967bb;
    padding-bottom: 10px;
}

#highlights .uk-thumbnail-caption h3 {
    color: #fff;
    margin-bottom: 10px;
}

/*
    Filter
*/
#filter {
    background: #eee;
}

#filter h3 {
    color: #1967bb;
}

#filter #submit-filter {
    color: #fff;
    background: #1967bb;
    border: solid 1px #1967bb;
}

#filter #submit-filter:hover,
#filter #submit-filter:active {
    background: #2a78cc;
}

#filter #reset-filter {
    color: #1967bb;
    background: #f5f5f5;
    border: solid 1px #ddd;
}

#filter #reset-filter:hover {
    background: #fff;
}

#filter .uk-grid + .uk-grid {
    margin-top: 0;
}

#filter input[type=date] {
    border: none;
    width: 100%;
}

.uk-datepicker .uk-form-select {
    width: 70px;
}

.uk-datepicker .uk-form-select select {
    opacity: 1;
    border: none;
    background: #e5e5e5;
}

.uk-datepicker .uk-form-select:hover select {
    background: #eee;
}

.uk-datepicker-table a.uk-active {
    background: #00a650;
}

#filter .filter-label {
    background: #ddd;
    color: #1967bb;
    line-height: 30px;
    padding-left: 10px;
}

#filter .uk-button-dropdown,
#filter .uk-button-dropdown .uk-button {
    width: 100%;
    background: #fff;
}

#filter .uk-button-dropdown .uk-dropdown {
    width: 100%;
    margin-top: 1px;
    padding: 5px 15px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
}

#filter .uk-button-dropdown .uk-dropdown li label {
    display: block;
    padding: 5px 15px;
    cursor: pointer;
}

#filter .uk-button-dropdown .uk-dropdown li label:hover {
    background: #ddd;
}

/*
    Infobox
*/

#infobox {
    background: #1967bb;
    color: #fff;
}

#infobox h3 {
    color: #fff;
}

#infobox img {
    float: left;
    margin-right: 10px;
}

#infobox p {
    margin: 0;
}

/*
    Shortnews
*/
#shortnews .news {
    position: relative;
    display: block;
    background: #cceddc;
    color: #338058;
    padding: 0 10px 0 0;
    margin-bottom: 15px;
    min-height: 52px;
}

#shortnews .news img {
    max-width: 70px;
    position: absolute;
    top: 0;
    left: 0;
}

#shortnews .news .text {
    display: block;
    padding: 5px 5px 5px 80px;
}

#shortnews .news .text.excerpt {
    padding-top: 15px;
}

#shortnews .news .text p {
    margin: 0;
    display: inline;
}

#shortnews .news:hover,
#shortnews .news:active {
    text-decoration: none;
    background: #d1f2e1;
}

/*
    Filtered Events
*/
#filtered-events-headline {
    color: #777;
    font-size: 25px;
    line-height: 30px;
}

#filtered-events {
    min-width: 810px;
}

#filtered-events th {
    background: #00a650;
    border: solid 10px #fff;
    color: #fff;
    padding: 10px;
}

#filtered-events th:first-child {
    border-left: none;
}

#filtered-events th:last-child {
    border-right: none;
}

#filtered-events tbody tr {
    background: #cceddc;
}

#filtered-events tbody tr:nth-of-type(even) {
    background: #b3e4cb;
}

#filtered-events tbody tr:hover {
    background: #33b873;
    cursor: pointer;
}

#filtered-events tbody tr td {
    border-bottom: solid 10px #fff;
}

#filtered-events thead tr th:nth-child(1),
#filtered-events tbody tr td:nth-child(1) {
    width: 162px;
}

#filtered-events thead tr th:nth-child(2),
#filtered-events tbody tr td:nth-child(2) {
    max-width: 200px;
}

#filtered-events thead tr th:nth-child(3),
#filtered-events tbody tr td:nth-child(3),
#filtered-events thead tr th:nth-child(4),
#filtered-events tbody tr td:nth-child(4),
#filtered-events thead tr th:nth-child(5),
#filtered-events tbody tr td:nth-child(5) {
    width: 140px;
}

#filtered-events tbody tr td h3,
#filtered-events tbody tr td h4,
#filtered-events tbody tr td p {
    color: #1967bb;
}

#filtered-events tbody tr:hover td h3,
#filtered-events tbody tr:hover td h4,
#filtered-events tbody tr:hover td p,
#filtered-events tbody tr:hover td a {
    color: #fff;
}

#filtered-events tbody tr td h3 {
    margin: 5px 0;
}

#filtered-events tbody tr td h4 {
    margin: 0;
}

#filtered-events tbody tr td p {
    margin: 0;
}

.filtered-events-pagination > .uk-active > span,
.news-pagination > .uk-active > span {
    background: #1967bb;
}

/*
    Frontpage Events
*/
#events h4,
#news h4 {
    color: #666;
    border-bottom: solid 1px #ccc;
    font-size: 17px;
    padding: 25px 0 10px;
}

#events .event,
#news .news {
    background: #fff;
}

#events .event:hover,
#news .news:hover {
    background: #f0f0f0;
}

#events .event .readmore,
#news .news .readmore {
    color: #1967bb;
    background: #fff;
    border: solid 1px rgba(25, 103, 187, 0.3);
}

#events .event:hover .readmore,
#news .news:hover .readmore {
    border: solid 1px rgba(25, 103, 187, 1);
}

/*
    Footer
*/
#footer {
    background: #eee;
    padding: 15px;
    color: #a0a0a0;
}

/*
    Single
*/
body.single #content h1 {
    color: #00a650;
    font-size: 25px;
    line-height: 30px;
}

body.single #content .wp-post-image {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

body.single #content ul,
body.single #content ol {
    list-style-position: inside;
}

body.single #sidebar .event-detail-terms {
    margin-bottom: 25px;
}

body.single #sidebar .event-detail-terms h3 {
    margin: 10px 0 0;
    color: #00a650;
}

body.single #sidebar .event-detail-terms h3:first-child {
    margin-top: 0;
}

/*
    Page
*/
body.page #content h1,
body.search #content h1,
body.category #content h1,
body.single-post #content h1 {
    color: #00a650;
    font-size: 25px;
}

body.page .widget_nav_menu ul,
body.search .widget_nav_menu ul,
body.single-post .widget_nav_menu ul,
body.category .widget_nav_menu ul {
    background: #6f94d4;
    list-style: none;
    padding: 0;
}

body.page .widget_nav_menu ul li a,
body.search .widget_nav_menu ul li a,
body.single-post .widget_nav_menu ul li a,
body.category .widget_nav_menu ul li a {
    color: #fff;
    padding: 5px 15px;
    display: block;
}

body.page .widget_nav_menu ul > li > a:hover,
body.page .widget_nav_menu ul > li.current-menu-item > a,
body.search .widget_nav_menu ul > li > a:hover,
body.search .widget_nav_menu ul > li.current-menu-item > a,
body.single-post .widget_nav_menu ul > li > a:hover,
body.single-post .widget_nav_menu ul > li.current-menu-item > a,
body.category .widget_nav_menu ul > li > a:hover,
body.category .widget_nav_menu ul > li.current-menu-item > a {
    background: #1967bb;
    text-decoration: none;
}

body.page .widget_nav_menu ul > li.current-menu-item  ul,
body.search .widget_nav_menu ul > li.current-menu-item  ul,
body.single-post  .widget_nav_menu ul > li.current-menu-item  ul,
body.category .widget_nav_menu ul > li.current-menu-item  ul,
body.page .widget_nav_menu ul > li.current-menu-ancestor,
body.search .widget_nav_menu ul > li.current-menu-ancestor,
body.single-post  .widget_nav_menu ul > li.current-menu-ancestor,
body.category .widget_nav_menu ul > li.current-menu-ancestor,
body.page .widget_nav_menu ul > li.current-menu-ancestor ul,
body.search .widget_nav_menu ul > li.current-menu-ancestor ul,
body.single-post  .widget_nav_menu ul > li.current-menu-ancestor ul,
body.category .widget_nav_menu ul > li.current-menu-ancestor ul {
    background: #2a78cc;
}

body.page .widget_nav_menu ul > li > ul > li > a,
body.search .widget_nav_menu ul > li > ul > li > a,
body.single-post .widget_nav_menu ul > li > ul > li > a,
body.category .widget_nav_menu ul > li > ul > li > a {
    padding-left: 25px;
}

body.page .widget_nav_menu ul > li > ul > li > ul > li > a,
body.search .widget_nav_menu ul > li > ul > li > ul > li > a,
body.single-post .widget_nav_menu ul > li > ul > li > ul > li > a,
body.category .widget_nav_menu ul > li > ul > li > ul > li > a {
    padding-left: 50px;
}

body.page .widget_nav_menu ul > li > ul > li > ul > li > ul > li > a,
body.search .widget_nav_menu ul > li > ul > li > ul > li > ul > li > a,
body.single-post .widget_nav_menu ul > li > ul > li > ul > li > ul > li > a,
body.category .widget_nav_menu ul > li > ul > li > ul > li > ul > li > a {
    padding-left: 75px;
}

/*
    GALLERY
*/
#content .gallery {
    width: 100%;
}

#content .gallery .gallery-item img {
    border: solid 1px #ccc;
}

/*
    SIDEBAR
*/
#sidebar #highlights {
    margin-bottom: 25px;
}

/*
    PARTNERS
*/
#partners {
    list-style: none;
    margin: 0 0 15px;
    padding: 15px 0 0;
}

#partners h2 {
    text-align: center;
    font-size: 17px;
    color: #666;
    border-bottom: solid 1px #ccc;
    padding: 25px 0 10px;
}


#partners .gallery {
    margin: auto;
}

#partners .gallery .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
}

#partners .gallery.gallery-columns-1 .gallery-item {
    width: 100%;
}

#partners .gallery.gallery-columns-2 .gallery-item {
    width: 50%;
}

#partners .gallery.gallery-columns-3 .gallery-item {
    width: 33%;
}

#partners .gallery.gallery-columns-4 .gallery-item {
    width: 25%;
}

#partners .gallery.gallery-columns-5 .gallery-item {
    width: 20%;
}

#partners .gallery.gallery-columns-6 .gallery-item {
    width: 16%;
}

#partners .gallery .gallery-caption {
    margin-left: 0;
}

@media screen and (max-width: 767px) {
    #partners .gallery .gallery-item {
        width: 100% !important;
    }
}


#partners a img {
    border: none;
    opacity: 0.5;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -moz-transition: filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -ms-transition: filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
    -o-transition: filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
    transition: filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#partners a:hover img {
    opacity: 1;
    -webkit-filter: none;
    -moz-filter: none;
    -ms-filter: none;
    -o-filter: none;
    filter: none;
}

/*
    UIKit
*/
.uk-tooltip {
    background: #fff;
    color: #00a650;
}

.uk-tooltip:after {
    border-top-color: #fff;
}

/*
    Plugins
*/
.mapp-layout {
    max-width: 100%;
    border: none;
}

/*
    Fancybox
*/
#fancybox-wrap #fancybox-close {
    box-shadow: none;
    background: #1967bb;
    top: 0;
    right: 0;
    opacity: 0.75;
}

#fancybox-wrap #fancybox-close:hover {
    opacity: 1;
    transition: opacity 0.2s;
}

#fancybox-wrap #fancybox-close:before {
    color: #fff;
    content: "\f00d";
    font-family: FontAwesome;
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
}

#fancybox-wrap #fancybox-left span,
#fancybox-wrap #fancybox-right span {
    background: none;
}

#fancybox-wrap #fancybox-left span:before,
#fancybox-wrap #fancybox-right span:before {
    color: #fff;
    background: #1967bb;
    content: "\f104";
    font-family: FontAwesome;
    width: 30px;
    height: 30px;
    display: block;
    text-align: center;
    line-height: 30px;
}

#fancybox-wrap #fancybox-right span:before {
    content: "\f105";
}

/*
    Print
*/
@media print {
    #topbar,
    #header,
    #highlights,
    #archive-widgets,
    #filter-form-container,
    #filtered-events tr th:first-child,
    #filtered-events tr td:first-child,
    .page .menu,
    .donotprint {
        display: none;
    }

    #shortnews .news {
        padding-left: 15px;
    }

    #filtered-events {
        width: 100%;
        font-size: 14px;
    }

    .archive .uk-overflow-container {
        overflow: visible;
    }

    #filtered-events tr td {
        width: auto;
    }

    #filtered-events .excerpt {
        font-size: 10px;
    }

    #filtered-events h4 {
        font-size: 13px;
    }

    #filtered-events h3 {
        font-size: 11px;
    }

    .event-detail-terms {
        padding: 0;
    }
}