/* CSS Document */

.primary-content.card_wrapper {
	padding: 0;
}
.frontpage-layout .layout-wrapper {
	background: transparent;
}

.frontcard .image {
	margin: 0;
    max-width: 100%;    
    box-sizing: initial;
    overflow: hidden;
    position: relative;
}

.frontcard .image img {
	position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
	transition: transform 1s;
}
.frontcard.card:hover img {
    transform: scale(1.02);
}

.frontcard .lead {
	color: #678381;
    margin-top: 30px;
    margin-left: 10px;
	margin-right: 20px;
    font-size: 17px;
	font-family: 'academy sans bold';
}

.frontcard .header {
	margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 10px;
    font-family: 'academy sans bold';
    color: #484d51;
    font-size: 30px;
	line-height: 30px;
	text-decoration: none;
}

.frontcard .header a {
	font-size: 25px;
}
.frontcard .header a:before {
	content: '\f105';
    font-family: 'fontawesome';
    margin-right: 6px;
	display: inline-block;
}

.frontcard > p {
	margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 10px;
}

.frontcard ul {
	padding-left: 10px;
}
.frontcard li {
	list-style-type: none !important;
}
.frontcard ul:not(.carousel) li:before {
	content: '\f105';
	font-family: fontawesome;
	display: inline;
	color: #A4A4A4;
}

.frontcard .info_hover .lead {
	color: #FFF;
    text-transform: none;
    margin-left: 0;
	max-height: 80%;
    overflow: hidden;
	font-family: 'academy sans';
	line-height: normal;
}

.frontcard .banner img {
	width: 100%;
	padding: 0;
}

.frontcard .video {
	width: 100%;
}

/* KARRUSELLER */
div.pane-carousel.frontcard .panel-pane-inner {
	width: 100% !important;
	padding: 0px !important;
	padding-bottom: 5px !important;
}

.ding-carousel .slick-slider {
	min-height: auto;
	padding: 0;
	margin: 0;
}
.ding-carousel .slick-slider .slick-track .placeholder {
	min-height: 260px;
}

.ding-carousel .slick-slider .slick-list {
	padding: 0;
}

.ding-carousel .slick-slider .slick-track .slick-slide {
	width: 200px;
	margin-right: 20px;
}

.ding-carousel .slick-slider .slick-track .slick-slide .field-name-ting-type {
	display: none;
}

.ding-carousel .slick-slider .slick-track .slick-slide h2 {
	padding-top: 8px;
	font-size: 29px;
	line-height: 27px;
    color: #b3cdcc;
    font-family: 'academy sans light' !important;
}


.ding-carousel .slick-slider .slick-track .slick-slide .field-type-ting-author {
	font-family: 'academy sans';
	font-size: 9px;
    line-height: initial;
	filter: alpha(opacity=0);
    opacity: 0;
}
.no-touch .ting-object.view-mode-teaser>.inner:hover .field-name-ting-author {
	zoom: 1;
	filter: alpha(opacity=100);
	opacity: 1;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-ms-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
	transition-delay: initial;
	color: #FFF;
	font-size: 17px;
	font-family: 'academy sans';
}


.no-touch .ting-object.view-mode-teaser>.inner:hover .group-text {
    background: rgba(0,79,86,0.97);
}

.no-touch .ting-object.view-mode-teaser >.inner:hover .group-text .group-inner {
	background: none;
}
.ting-object.view-mode-teaser>.inner:hover .group-text .group-inner::after {
	display: none;
}

.ting-object.view-mode-teaser>.inner .action-button.read-more-button {	
	background-color: transparent !important;
    background: transparent !important;
    color: #b3cdcc !important;
    border: 2px solid #b3cdcc;
    border-radius: 0;
    text-transform: uppercase;
    margin-right: 20px;
    box-shadow: none;
    line-height: 10px;
    vertical-align: middle;
    display: inline;
    width: auto;
    padding: 14px 14px;
}

.ting-object.view-mode-teaser>.inner .action-button.reserve-button, .ting-object.view-mode-teaser>.inner .action-button.button-see-online {
	background-color: transparent !important;
    background: transparent !important;
    color: #ebbc00 !important;
    border: 2px solid #ebbc00;
    border-radius: 0;
    text-transform: uppercase;
    margin-right: 20px;
    box-shadow: none;
    line-height: 10px;
    vertical-align: middle;
    display: inline;
    width: auto;
    padding: 14px 14px;
}


.ding-carousel .slick-slider .slick-arrow.slick-next {
	right: -20px;
	background-image: url("https://www.herningbib.dk/sites/all/modules/hb_bibflix/img/next.png");
	width: 55px;
	height: 55px;
	top: 40%;
	display: block !important;
	background-size: contain;
}
.ding-carousel .slick-slider .slick-arrow.slick-next:after {
	display: none;	
}
.ding-carousel .slick-slider .slick-arrow.slick-prev {
	left: -20px;
	background-image: url("https://www.herningbib.dk/sites/all/modules/hb_bibflix/img/prev.png");
	width: 55px;
	height: 55px;
	top: 40%;
	display: block !important;
	background-size: contain;
}
.ding-carousel .slick-slider .slick-arrow.slick-prev:after {
	display: none;	
}



/* SKAL FORMENTLIG SLETTES
.frontcard a.rs-carousel-item-image {
	overflow: hidden;
}
.frontcard a.rs-carousel-item-title {
	display: block;
    position: static;
    background-color: transparent;
    color: #484c51;
	font-family: 'academy sans bold';
	max-height: 60px;
    padding: 0;
    margin-top: 10px;
}
.frontcard .rs-carousel-items li:hover .rs-carousel-item-title {
	background-color: transparent;
}
.frontcard .rs-carousel-tabs .rs-carousel-list-tabs .rs-carousel-item a {
	color: #FFF;
	letter-spacing: 1px;
	background-color: #b3cdcc;
	font-family: 'academy sans' !important;
	margin: 0px 10px;
}
.frontcard .rs-carousel-tabs .rs-carousel-list-tabs .rs-carousel-item.active a {
	background-color: #004f56;	
}
.frontcard .rs-carousel-tabs .rs-carousel-list-tabs .rs-carousel-item.active a:before {
	border-bottom-color: #004f56;
}
*/



/* HER SKAL MÅSKE LAVES NOGET DIFFERENTIERET IFHT CARD STØRRELSE */
.frontcard.card .image {
	padding-top: 79%;
}

/* KASSE MED VÆRT */
.frontcard.hostcard {
	//min-height: 430px;
	background-color: #004f56;
	order: 0 !important;
	padding: 0;
}

.frontcard.hostcard .hostimg {
	width: 30%;
	height: auto;
	display: block;
	float: left;
	margin-right: 20px;
}

#host_img {
	display: none;
}

.frontcard.hostcard .header {
	font-family: 'academy sans stencil light';
    color: #b3cdcc;
    font-size: 46px;
    line-height: normal;
	display: flex;
    align-items: center;
}

.frontcard.hostcard .popup .header {
	margin-left: 0;
}

.frontcard.hostcard .header div {
	max-width: 360px;
}

.frontcard.hostcard .lead {
	color: #FFF;
    text-transform: none;
    font-size: 23px;
    line-height: normal;
	margin-top: 0;
	float: none;
	clear: both;
	margin-left: 17px;
	margin-right: 2px;
	font-family: 'academy sans';
}

.frontcard.hostcard .table {
	height: 100%;
	width: 100%;
}

.frontcard.hostcard .table .table_row:first-of-type {
	display: none;
}
.frontcard.hostcard .table .table_row:last-of-type {
	height: 90px;
}

.frontcard.hostcard .table .table_cell.buttons {
	vertical-align: bottom;
	text-align: center;
	color: #FFF;
	font-family: 'academy sans light';
	font-size: 14px;
}
.frontcard.hostcard .table .table_cell.buttons div {
	width: 20%;
	height: 100%;
	float: left;
	padding: 2% 0;
	box-sizing: border-box;
	cursor: pointer;
}
.frontcard.hostcard .table .table_cell.buttons i {
	font-size: 35px;
    clear: both;
	float: none;
    display: block;	
	margin-bottom: 6px;
}

.frontcard.hostcard .table .table_cell.buttons i {
	color:#b3cdcc;
}
.frontcard.hostcard .table .table_cell.buttons div:hover i {
    color: #FFF;
}

/*
.frontcard.hostcard .table .table_cell.buttons i:not([class$="-o"]) {
	-webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #e9bb02;
    color: transparent;
}
.frontcard.hostcard .table .table_cell.buttons i[class$="-o"] {
	color:#e9bb02;
}
*/
	

.frontcard.hostcard .popup {
    //position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #004f56;
	box-sizing: border-box;
    color: #FFF;
	display: none;
	padding: 20px 30px;
	font-size: 25px;
    line-height: normal;
}

.frontcard.hostcard .popup .header {
    font-family: 'academy sans bold';
   /* text-transform: uppercase; */
	float: none;
	clear: both;
	display: block;
	margin: 0;
}

.frontcard.hostcard .popup.chat .chat_holder {
	/* margin-top: -30px; */
    height: 330px;
    overflow: hidden;
}

.frontcard.hostcard .popup.chat .chat_holder iframe {
	width: 100% !important;
}

.frontcard.hostcard .popup.phone .phonenumber {
    font-size: 55px;
    margin-top: 20px;
    text-align: center;
}

.frontcard.hostcard .popup.write .mailaddress {
    font-size: 35px;
    margin-top: 20px;
    text-align: center;
}


.frontcard.hostcard .popup.write form {
	height: 100%;
}
.frontcard.hostcard .popup.write form input {
	background: #FFF !important;
	border:0 !important;
}
.frontcard.hostcard .popup.write .table {
	height: 80%;
}
.frontcard.hostcard .popup.write textarea {
	height: 200px;
}
.frontcard.hostcard .popup.write .table_cell {
	vertical-align: middle;
	text-align: center;
}

.frontcard.hostcard .host_button {
	width: 100%;
    text-align: center;
}

.frontcard.hostcard .popup.opening .opening_holder {
	/* margin-top: -30px; */
}
.frontcard.hostcard .popup.opening .opening_holder select {
    background: #FFF;
    border: 0;
    height: auto;
    width: 100%;
    padding: 9px 18px;
    position: inherit;
	-webkit-appearance: menulist;
}
.frontcard.hostcard .popup.opening .opening_holder table {
	border: 0;
	max-width: 100%;
    min-width: 75%;
    margin: auto;
	margin-top:20px;
}
.frontcard.hostcard .popup.opening .opening_holder table tr {
	background-color: transparent !important;
}
.frontcard.hostcard .popup.opening .opening_holder table:not(#Herning_aaben){
	display: none;
}
.frontcard.hostcard .popup.opening .opening_holder table td {
	font-size: 17px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding: 5px;
	border-radius: 0;
}
.frontcard.hostcard .popup.opening .opening_holder table td:nth-child(1) {
	width: 15%;
}
.frontcard.hostcard .popup.opening .opening_holder table td:nth-child(2) {
	width: 35%;
}
.frontcard.hostcard .popup.opening .opening_holder table td:nth-child(3) {
	width: 50%;
}

.frontcard.hostcard .popup_holder {
	position: relative;
}
.frontcard.hostcard .popup_close {
	position: absolute;
	top: 5px;
	right: 5px;
	display: none;
}

.frontcard.hostcard .popup_close  i {
    color: rgba(255,255,255,0.8);
    font-size: 40px;
	cursor: pointer;
}
.frontcard.hostcard .popup_close  i:hover {
	color: #FFF;
}

.frontcard.hostcard .table .table_cell.buttons div {
	background-color: #033237;
	border-right: 2px solid #004f56;
}

/*
.frontcard.hostcard .table .table_cell.buttons .chat {
	background-color: rgba(255,255,255,0.1);
}
.frontcard.hostcard .table .table_cell.buttons .phone {
	background-color: rgba(255,255,255,0.15);
}
.frontcard.hostcard .table .table_cell.buttons .write {
	background-color: rgba(255,255,255,0.2);
}
.frontcard.hostcard .table .table_cell.buttons .book {
	background-color: rgba(255,255,255,0.25);
}
.frontcard.hostcard .table .table_cell.buttons .opening {
	background-color: rgba(255,255,255,0.3);
}
*/
/* TILRETNING AF VÆRT PÅ LILLE SMARTPHONE */
@media only screen and (max-width: 480px) {
	.frontcard.hostcard .header { 
		font-size: 30px;
		display: inline-grid;
		margin-left: 17px;
	}
	.frontcard.hostcard .lead {
		font-size: 20px;
	}
	.frontcard.hostcard .hostimg {
		width: 45%;
		margin-bottom: 10px;
	}
	
	.frontcard.hostcard .buttons div span {
		display: none;
	}
	.frontcard.hostcard .table .table_cell.buttons {
		height: 55px;
	}
	.frontcard.hostcard .popup.opening .opening_holder table td {
		font-size: 15px;
	}
	.frontcard.hostcard .popup.opening .opening_holder table td:nth-child(1) {
		width: 10%;
	}
	.frontcard.hostcard .popup.opening .opening_holder table td:nth-child(2) {
		width: 45%;
	}
	.frontcard.hostcard .popup.opening .opening_holder table td:nth-child(3) {
		width: 45%;
	}
	
	.frontcard.hostcard .popup.phone .phonenumber {
		font-size: 40px;
	}
	
	.frontcard.hostcard .popup.write .mailaddress {
		font-size: 22px;
	}
}

.frontcard.card:hover {
	-webkit-box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.18);
    -moz-box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.18);
    box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.18);
}



/* SMARTPHONE PORTRAIT */
/* ÆNDRER RÆKKEFØLGEN SÅ STØRST KOMMER ØVERST */
/*
@media only screen and (max-width: 480px) {
	.frontcard.card12 {
		order: 1;
	}
	.frontcard.card11 {
		order: 2;
	}
	.card10 {
		order: 3;
	}
	.frontcard.card9 {
		order: 4;
	}
	.frontcard.card8 {
		order: 5;
	}
	.frontcard.card7 {
		order: 6;
	}
	.frontcard.card6 {
		order: 7;
	}
	.frontcard.card5 {
		order: 8;
	}
	.frontcard.card4 {
		order: 9;
	}
	.frontcard.card3 {
		order: 10;
	}
	.frontcard.card2 {
		order: 11;
	}
	.frontcard.card1 {
		order: 12;
	}
}
*/