/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* colors */

.bkgr-braun1 { background-color: #f6ece2; } 	.bkgr-braun1_05 { background-color: rgba(246,236,226,0.5); }
.bkgr-braun2 { background-color: #edd9c5; } 	.bkgr-braun2_05 { background-color: rgba(237,217,197,0.5); }
.bkgr-grau1 { background-color: #f2f2f2; } 		.bkgr-grau1_05 { background-color: rgba(242,242,242,0.5); }
.bkgr-grau2 { background-color: #e8e8e8; } 		.bkgr-grau2_05 { background-color: rgba(238,238,238,0.5); }
.bkgr-blau1 { background-color: #daebf2; } 		.bkgr-blau1_05 { background-color: rgba(218,235,245,0.5); }


/* layout */

.cv_customfunctions_links {
    background-color: #EBD5BE;
    border: 5px solid #EBD5BE;

    padding: 20px;
    margin-bottom: 20px;
    clear: both;
}

.cv_customfunctions_links .header_region, .header_tours, .header_places {
    color: #666;
    margin-bottom: 5px;
}
.cv_customfunctions_links .header_region 	{ background: url(../assets/icon_region_1.png) no-repeat; padding: 50px 0 0 0; }
.cv_customfunctions_links .header_tours 	{ background: url(../assets/icon_tour_1.png) 5px 0 no-repeat; padding: 30px 0 0 0;  }
.cv_customfunctions_links .header_places 	{ background: url(../assets/icon_place_1.png) 5px 0 no-repeat; padding: 55px 0 0 0;  }

.cv_customfunctions_links .region_places 	{ margin: 6px 0; }

.cv_customfunctions_links .content_links .ui-accordion-content { padding-top: 0; } 

.cv_customfunctions_links .entry-meta { margin-top: 1em; }

/*
-------------------------- Custom: pageteaser  (new)  --------- 
*/

.cv_pagelist.pagelist_ext {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: 2rem;
}

.cv_pagelist.pagelist_ext .cv_grid_item {
    padding: 10px;
    width: 100%;
    flex-shrink: 0;
}

@media screen and (min-width: 699px) {
    .cv_pagelist.pagelist_ext .cv_grid_item {
        width: 50%;
    }
    .cv_pagelist.pagelist_ext.cols_1 .cv_grid_item {
        width: 100%;
    }
}
@media screen and (min-width: 1021px) {
    .cv_pagelist.pagelist_ext .cv_grid_item {
        width: 33%;
    }
    .cv_pagelist.pagelist_ext.cols_2 .cv_grid_item {
        width: 50%;
    }
    .cv_pagelist.pagelist_ext.cols_1 .cv_grid_item {
        width: 100%;
    }
}


.cv_pagelist .thumbnail_outer {
    overflow: hidden;
    height: 220px;
    position: relative;
}
.cv_pagelist.cols_2 .thumbnail_outer {
    height: 300px;
}

.cv_pagelist .cv_grid_item .thumbnail {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    
    transition-duration: 0.3s;
    transform-origin: 50% 50%;
    transform: scale(1) translate(0%,0%);
    
    overflow: hidden;
    margin: 0;
}
.cv_pagelist .cv_grid_item:hover .thumbnail {
    transform: scale(1.1) translate(0%,0%);
}

.cv_pagelist .cv_grid_item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cv_pagelist .cv_grid_item .thumbnail_outer .caption {
	position: absolute !important;
	right: 0px !important;
	bottom: 0px;

    padding: 2px 5px !important;
	width: auto !important;
	min-height: inherit !important;
	background-color: rgba(10,30,10,0.35);

    font-size: 12px !important;
	line-height: 18px;
	color: rgba(255,255,255,0.7);
	margin-bottom:0;
}

.ms-slide-info .ms-info,
.ms-slide-info .ms-info p,
.image_caption {
	font-size: 12px !important;
	line-height: 18px;
	color: rgba(255,255,255,0.7);
	margin-bottom:0;
}


.cv_pagelist H3,
.cv_pagelist H4,
.cv_pagelist .item_title { 
    font-family: "Teko",sans-serif;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0em;
    margin-bottom: 0.2rem; 
    padding-top: 0.7rem; 
}

.cv_pagelist .excerpt { font-size: 90%; line-height: 1.4rem; }
.cv_pagelist .excerpt ul { margin: 0 0 5px 15px; }
.cv_pagelist .excerpt ul li { margin: 0; }
.cv_pagelist .excerpt p { margin-bottom: 5px; }


.cv_pagelist.pagelist_menu { overflow: auto; }
.cv_pagelist.pagelist_menu .cv_grid_item { 
    float: left; 
    border-right: 1px solid #000; 
    padding-right: 10px;
    margin-right: 10px;
}
.cv_pagelist.pagelist_menu .cv_grid_item:last-child { border-right: 0; }


/*
-------------------------- Custom: insert content  --------- 
*/
.insert_content.teaser .excerpt,
.insert_content.accordion .content { background-color: #EEE; border: 1px solid #DDD; border-top: 0; padding: 20px 10px; }

.insert_content.teaser { margin-bottom: 24px; }

.insert_content.teaser .image_wrap { overflow: auto; position: relative; }
.insert_content.teaser .excerpt { font-size: 0.9rem; line-height: 1.4; }

.insert_content.teaser.cross_site_link .targetsite_name { 
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
    background-color: rgb(219, 127, 8);
    padding: 0px 20px 0px 10px;
    color: #fff;
    font-size: 0.9rem;
}
.insert_content.teaser.cross_site_link .targetsite_name:after {
    content:""; 
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    border-top: 10px solid #7D4B00;
    border-right: 10px solid #7D4B00;
    border-bottom: 10px solid rgb(219, 127, 8);
    border-left: 10px solid rgb(219, 127, 8);
}

/*
-------------------------- Custom: Accordion Teaser  --------- 
*/
.view {
    float: left;
	height: 300px;
    overflow: hidden;
    position: relative;
    text-align: center;
    box-shadow: 1px 1px 2px #e6e6e6;
    cursor: default;
/*    background: #fff url(../images/bgimg.jpg) no-repeat center center; */
	width: 100%;
	/* border-top: 1px solid rgba(219,127,8, 1); */
}
.view.view-no-image {
	height: 35px;
	box-shadow: none;
}

.view .mask, .view .content {
    width: 100%;
    height: 300px;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.view img {
    display: block;
    position: absolute;
	bottom: 0;
    top:0;
	width: 100% !important;
}
.view B {
    text-transform: uppercase;
	display: block;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    /* background: rgba(0, 0, 0, 0.8); */
    margin: 20px 0 0 0
}
.view p {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 12px;
    position: relative;
    color: #fff;
    padding: 10px 20px 20px;
    text-align: center
}
.view a.info {
    display: inline-block;
    text-decoration: none;
    padding: 7px 14px;
    background: #000;
    color: #fff;
    text-transform: uppercase;
    /* box-shadow: 0 0 1px #000 */
}
.view.view-no-image a.info {
    background: #FFF;
    color: #666;
    text-transform: none;
	border: 0;
	padding: 3px 14px;
	box-shadow: 0 0 1px #ccc; 
}
.view a.info:hover {
    /* box-shadow: 0 0 5px #666 */
}

.view .info:before { content: 'Mehr lesen'; }

.ui-accordion-header .info:before { content: 'Mehr lesen'; }
.ui-accordion-header-active .info:before { content: 'Weniger lesen'; }

/* -- first effect */
.view-first img { 
    transition: all 0.2s linear;
}
.view-first .mask {
    opacity: 0;
    background-color: rgba(219,127,8, 0.5); 
    transition: all 0.4s ease-in-out;
    
    display: flex;
    align-items: center;
    justify-content: center;
}
.view-first B {
    transform: translateY(-100px);
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.view-first p { 
    transform: translateY(100px);
    opacity: 0;
	transition: all 0.2s linear;
}
.view-first a.info{
    opacity: 0;
	transition: all 0.2s ease-in-out;
}


.view-first:hover img { 
	transform: scale(1.1);
} 
.view-first:hover .mask { 
	opacity: 1;
}
.view-first:hover B,
.view-first:hover p,
.view-first:hover a.info {
    opacity: 1;
    transform: translateY(0px);
}
.view-first:hover p {
    transition-delay: 0.1s;
}
.view-first:hover a.info {
    transition-delay: 0.2s;
}
