/****************************************************************************
 * Set the Gab between first Child and Top of Wrapper
 ****************************************************************************/
.content>*:first-child.content_section.typo_slider_section {
    margin-top: -4rem;
}

.content>*:first-child.content_section.typo_slider_section+.content_section,
.content>*:first-child.content_section.typo_slider_section+script+.content_section {
    margin-top: 4rem;
}

/****************************************************************************
 * Default Settings
 ****************************************************************************/
.wrapper {
    overflow: hidden;
}

.row {
    max-width: 75rem;
}




/****************************************************************************
 * Set the PADDINGS
 ****************************************************************************/
.small_add_padding_top {
    padding-top: 2rem;
}

.small_add_padding_right {
    padding-right: 2rem;
}

.small_add_padding_bottom {
    padding-bottom: 2rem;
}

.small_add_padding_left {
    padding-left: 2rem;
}

.small_add_large_padding_top {
    padding-top: 4rem;
}

.small_add_large_padding_right {
    padding-right: 4rem;
}

.small_add_large_padding_bottom {
    padding-bottom: 4rem;
}

.small_add_large_padding_left {
    padding-left: 4rem;
}


/****************************************************************************
 * Post Content
 ****************************************************************************/
.post_content>p:last-child {
    margin: 0;
}

/****************************************************************************
 * Gallery
 ****************************************************************************/
.gallery {
    margin: 0;
}

.gallery .gallery-item {
    padding: 0;
}


/***************************************************************************
* Custom blocks -- clear padding
****************************************************************************/
.post_content .content_section {
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
}

#scroll_top {}





/****************************************************************************
 * Side bar width custom (lok)
 ****************************************************************************/
.lok_load_sidebar #content {
    max-width: 100%;
    display: flex;
}



/*.lok_load_sidebar .content .content_section{
    margin: 0px;
 }

.content .lok_sidebar{
        width: 20%;
     }

.lok_sidebar .sidebar{
    position: -webkit-sticky;
    position: sticky;
    top: 4rem;
}

.lok_sidebar.stickIt {
  position: fixed;
  top: 0;
}

.content .content_section.has_post_content.sidebar_sticked{
    left: 20%;
}*/


/****************************************************************************
 * Side bar -- in depth 
 ****************************************************************************/
.lok_sidebar {
    padding-bottom: 0;
}


.lok_sidebar ul {
    list-style-type: none;
    word-break: break-word;
}

.lok_sidebar .lok_main_ul_sidebar {
    margin-left: 0rem;
}


.lok_sidebar ul li a {
    display: block;
    padding: 0.25rem;
}


.lok_sidebar ul li.current_page_item>a {
    background: var(--plus-ci-colour);
    color: white;
}


.lok_sidebar ul li.current_page_ancestor>a {
    background: var(--plus-ci-colour);
    color: white;
}



.lok_sidebar ul.children li a {
    border-left: 0.05rem solid grey;
}


.lok_sidebar ul.children {
    display: none;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.lok_sidebar li.current_page_item>ul.children {
    display: block;
}


.lok_sidebar li.current_page_ancestor>ul.children {
    display: block;
}


.lok_sidebar li a i {
    position: relative;
    float: right;
    padding: 0.25em;
}


.lok_sidebar ul li.current_page_item>a i {
    transform: rotate(90deg);
}

.lok_sidebar ul li.current_page_ancestor>a i {
    transform: rotate(90deg);
}

.lok_sidebar .sidebar.post_type-post ul li.current_page_item>a i {
    transform: rotate(0deg);
}

/* .lok_sidebar ul li a:focus{
    background: gray;
    border: 2px solid black;
  } */


/*
* New address box
*/
.news_addressbox {
    background: #f4faf3;
    padding: 0.5rem;
}

.news_addressbox p {
    margin-bottom: 0.5rem;
}

/***************************************************************************
* Pagination (News, Events)
***************************************************************************/
.lok_pagination {
    display: flex;
    padding-top: 1rem;
    justify-content: space-between;
}


.lok_pagination a {
    padding: 0.25rem;
}

.lok_pagination a i {
    padding: 0.25rem;
}

.lok_pagination a:hover {
    background: var(--plus-ci-colour);
    color: white;
}


/****************************************************************************
 * full screen width (lok)
 ****************************************************************************/
.lok_fullscreen_width .content .content_section.has_post_content {
    padding: 0;
}

.lok_fullscreen_width .content .content_section.has_post_content .content_section {
    padding: 0.5rem 0rem;
}

.lok_fullscreen_width .content .content_section.has_post_content .row {
    max-width: none;
}

.lok_fullscreen_width .content .content_section.has_post_content {
    max-width: none;
}


/****************************************************************************
 * Gallery with text on image - lok
 ****************************************************************************/

.lok_gallery_with_text_content>div {
    padding: 0 0.4rem;
}

.content_section.lok_gallery_with_text figure {
    position: relative;
    text-align: center;
    padding: 0.1rem;
}

.content_section.lok_gallery_with_text.gallery_4_4 figure {
    padding-bottom: 0.15rem;
}

.content_section.lok_gallery_with_text figure .lok_text_over_image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: inherit;
    z-index: 11;
    overflow: hidden;
    margin: 1rem;
}

.content_section.lok_gallery_with_text figure .lok_text_over_image a:hover {
    text-decoration: underline;
    /*color: inherit;*/
    transition: all .5s linear;
}

.content_section.lok_gallery_with_text figure .lok_text_over_image a {
    background-color: var(--plus-ci-colour);
    opacity: 70%;
    color: white;
    padding: 1rem 0.25rem;
}

.content_section.lok_gallery_with_text figure .lok_text_over_image h3 {
    margin: 0;
    word-break: break-word;
}

.content_section.lok_gallery_with_text figure div:last-child:before {
    content: "";
    z-index: 1;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff8c;
}



/****************************************************************************
 *Text over image - lok
 ****************************************************************************/
.lok_text_over_image_content>div {
    padding: 0rem;
}

.lok_text_over_image_content>div>div {
    display: flex;
    flex-direction: column;
    margin: 0.25rem 0.25rem;
}

.content_section.lok_text_over_image_wrapper figure {
    position: relative;
    text-align: center;
    height: 21em;
    margin: 0.25rem 0.25rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/*.content_section.lok_text_over_image_wrapper figure img{
  height: 100%;
  width: 100%;
}*/

.content_section.lok_text_over_image_wrapper figure .lok_text {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    z-index: 11;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}


.content_section.lok_text_over_image_wrapper figure .lok_text a:hover {
    text-decoration: underline;
    color: white;
    transition: all .5s linear;
}

.content_section.lok_text_over_image_wrapper figure .lok_text h3 {
    margin: 0;
}

/*.content_section.lok_text_over_image_wrapper figure:before {
      content: "";
      z-index: 1;
      display: block;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      margin: 0.25rem;
      background: #00000070;
 }*/

/****************************************************************************
 *Text over image (ratio-1:2) - lok
 ****************************************************************************/
.content_section.lok_text_over_image_wrapper.ratio_33_67 figure:first-child {
    width: auto;
}

.content_section.lok_text_over_image_wrapper.ratio_33_67 figure:last-child {
    width: auto;
}


/****************************************************************************
 *Text over image (ratio-1:2) - lok
 ****************************************************************************/
.content_section.lok_text_over_image_wrapper.ratio_67_33 figure:first-child {
    width: auto;
}

.content_section.lok_text_over_image_wrapper.ratio_67_33 figure:last-child {
    width: auto;
}


/*******************************************************************
* Sidebar 
*******************************************************************/
aside.content_section {
    margin: 0;
}

/*******************************************************************
* Headline with big picture centered image  
*******************************************************************/
.post_thumbnail.reduce_width>img {
    width: 90%;
}


/*
* Editor only Hack
*/
.only_for_editor {
    display: none;
}


/*
* ACCESSIBILITY
*/
#scroll_top>#content>#main {
    order: 2;
}


.single-post-thumbnail-wrapper img {
    width: 100%;
    object-fit: cover;
}

/*****************************************************************************
LOADER
*****************************************************************************/
.loading_spinner {
    border: 0.5rem solid #f3f3f3;
    border-radius: 50%;
    border-top: 0.5rem solid var(--plus-ci-colour);
    width: 4rem;
    height: 4rem;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    left: 45%;
    position: relative;
}


.dn-austria-event-wrapper .event_meta_data_wrapper .data_row {
    margin-bottom: 1.5rem;
}

.dn-austria-event-wrapper .event_meta_data_wrapper .data_row .event_dates {
    margin: .25rem 0 .5rem;
    display: flex;
    align-items: center;
}

.dn-austria-event-wrapper .event_meta_data_wrapper .data_row .event_dates .fa-calendar {
    font-size: 1.25em;
}

.dn-austria-event-wrapper .event_meta_data_wrapper .data_row .event_dates ._date {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f7f7f7;
    align-self: center;
    border-radius: 0.25rem;
    border: 1px solid #8080806e;
    padding: 0.1rem 0.5rem;
    margin: 0rem 0.5rem;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media screen and (min-width: 40em) {

    /****************************************************************************
     * Set the PADDINGS
     ****************************************************************************/
    .medium_add_padding_top {
        padding-top: 2rem;
    }

    .medium_add_padding_right {
        padding-right: 2rem;
    }

    .medium_add_padding_bottom {
        padding-bottom: 2rem;
    }

    .medium_add_padding_left {
        padding-left: 2rem;
    }

    .medium_add_large_padding_top {
        padding-top: 6rem;
    }

    .medium_add_large_padding_right {
        padding-right: 6rem;
    }

    .medium_add_large_padding_bottom {
        padding-bottom: 6rem;
    }

    .medium_add_large_padding_left {
        padding-left: 6rem;
    }

    .medium_remove_padding_top {
        padding-top: 0;
    }

    .medium_remove_padding_right {
        padding-right: 0;
    }

    .medium_remove_padding_bottom {
        padding-bottom: 0;
    }

    .medium_remove_padding_left {
        padding-left: 0;
    }


    /****************************************************************************
     *Text over image (ratio-1:2) - lok
     ****************************************************************************/
    /*.content_section.lok_text_over_image_wrapper.ratio_33_67 figure:first-child {
        width: 50%;
    }

    .content_section.lok_text_over_image_wrapper.ratio_33_67 figure:last-child {
        width: 50%;
    }*/


    /****************************************************************************
     *Text over image (ratio-1:2) - lok
     ****************************************************************************/
    /*.content_section.lok_text_over_image_wrapper.ratio_67_33 figure:first-child {
        width: 50%;
    }

    .content_section.lok_text_over_image_wrapper.ratio_67_33 figure:last-child {
        width: 50%;
    }*/




}


@media screen and (min-width: 64em) {
    /****************************************************************************
     * Set the PADDINGS
     ****************************************************************************/


    /****************************************************************************
     * For testing added by lokesh to stretch the content to full screen
     ****************************************************************************/
    /*Trial 1*/
    /*.content_section {
        padding: 4rem 1rem;
     }
    .content_section.startseite_kay_mit_slider .row{
        margin: 0;
        max-width: 100%;
    }*/


    /*Trial 2
    .content_section.startseite_kay_mit_slider {
        padding: 0;
     }

     .content_section.startseite_kay_mit_slider .content_section{
        padding: 1rem 0rem; 
     }

    .content_section.startseite_kay_mit_slider .row{
        max-width: none;
    }*/

    .lok_news_wrapper {
        justify-content: center;
        padding: 0rem 0.25rem;
    }


    .content_section.lok_gallery_with_text.gallery_4_4 figure {
        width: 24.99%;
        padding: 0.1rem;
    }



    .large_add_padding_top {
        padding-top: 2rem;
    }

    .large_add_padding_right {
        padding-right: 2rem;
    }

    .large_add_padding_bottom {
        padding-bottom: 2rem;
    }

    .large_add_padding_left {
        padding-left: 2rem;
    }

    .large_add_large_padding_top {
        padding-top: 6rem;
    }

    .large_add_large_padding_right {
        padding-right: 6rem;
    }

    .large_add_large_padding_bottom {
        padding-bottom: 6rem;
    }

    .large_add_large_padding_left {
        padding-left: 6rem;
    }

    .large_remove_padding_top {
        padding-top: 0;
    }

    .large_remove_padding_right {
        padding-right: 0;
    }

    .large_remove_padding_bottom {
        padding-bottom: 0;
    }

    .large_remove_padding_left {
        padding-left: 0;
    }



    /****************************************************************************
     *Text over image (ratio-1:2) - lok
     ****************************************************************************/

    .lok_text_over_image_content>div>div {
        flex-direction: row;
    }

    .content_section.lok_text_over_image_wrapper.ratio_33_67 figure:first-child {
        width: 33.33%;
    }

    .content_section.lok_text_over_image_wrapper.ratio_33_67 figure:last-child {
        width: 66.66%;
    }


    /****************************************************************************
     *Text over image (ratio-1:2) - lok
     ****************************************************************************/
    .content_section.lok_text_over_image_wrapper.ratio_67_33 figure:first-child {
        width: 66.66%;
    }

    .content_section.lok_text_over_image_wrapper.ratio_67_33 figure:last-child {
        width: 33.33%;
    }

    .content_section.lok_text_over_image_wrapper figure {
        height: 40em;
    }

    .lok_pagination {
        padding-right: 2rem;
    }

    /*******************************************************************
    * Sidebar 
    *******************************************************************/
    body.lok_load_sidebar div#content aside.lok_sidebar {
        padding-right: 0;
    }
}


@media screen and (min-width: 100em) {
    /****************************************************************************
     * For testing adding sidebar 
     ****************************************************************************/

    /*.content .lok_sidebar{
        width: 20%;
     }*/
    /*.content_section.lok_text_over_image_wrapper figure{
        height: 64.5vh;
    }*/
}

@media screen and (min-width: 64em) and (max-width: 64em) {
    /*.content_section.lok_text_over_image_wrapper figure{
      height: 27vh;
  }*/
}