

/****************************************
* FONTS
****************************************/


@font-face { font-family: academy sans; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Regular-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/AcademySans-Regular.eot") format('eot'), url("/sites/all/themes/digibib/fonts/AcademySans-Regular.woff") format('woff'); }
@font-face { font-family: academy sans thin; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Thin-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/AcademySans-Regular.eot") format('eot'), url("/sites/all/themes/digibib/fonts/AcademySans-Regular.woff") format('woff'); }
@font-face { font-family: academy sans light; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Light-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/AcademySans-Regular.eot") format('eot'), url("/sites/all/themes/digibib/fonts/AcademySans-Regular.woff") format('woff'); }
@font-face { font-family: academy sans bold; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Bold-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/AcademySans-Bold.eot") format('eot'), url("/sites/all/themes/digibib/fonts/AcademySans-Bold.woff") format('woff'); }
@font-face { font-family: academy sans heavy; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Heavy-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/AcademySans-Heavy.eot") format('eot'), url("/sites/all/themes/digibib/fonts/AcademySans-Heavy.woff") format('woff'); }
@font-face { font-family: academy sans stencil; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil.eot") format('eot'), url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil.woff") format('woff'); }
@font-face { font-family: academy sans stencil light; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil-Light-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil.eot") format('eot'), url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil.woff") format('woff'); }
@font-face { font-family: academy sans stencil bold; src: url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil-Bold-Playtype.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil-Bold.eot") format('eot'), url("/sites/all/themes/digibib/fonts/Academy-Sans-Stencil-Bold.woff") format('woff'); }
@font-face { font-family: FontAwesome; src: url("/sites/all/themes/digibib/fonts/FontAwesome.otf") format("opentype"), url("/sites/all/themes/digibib/fonts/fontawesome-webfont.eot") format('eot'), url("/sites/all/themes/digibib/fonts/fontawesome-webfont.woff") format('woff'); }


/****************************************
* DEFAULT
****************************************/


html {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font: 16px/140% academy sans, sans-serif !important;
	background: #dbe7e4;
	color: #444;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: academy sans bold, sans-serif !important;
	line-height: initial;
}

h1 {
	font-size: 46px;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}

strong {
	font-family: academy sans bold, academy sans heavy, academy sans;
}

img {
	vertical-align: middle;
}

.field-name-field-ding-page-body img.media-element {
	padding: 0;
}

ul.no-bullets li {
	padding-left: 0 !important;
	background: none !important;
}

ul.no-bullets img {
	padding: 0 5px 0 0;
}

a:focus, textarea:focus, input:focus, select:focus {
    outline: none;
}

input {
	font: inherit;
}

input[type=submit] {
	border: 0;
	border-radius: 2px;
	padding: .7em 1.4em;
	font: 700 13px/140% sans-serif;
	background: #333;
	color: #eee;
}

input[type=submit]:hover {
	cursor: pointer;
}

input[type=text], input[type=password] {
	box-shadow: none;
    border-radius: 0 !important;
}

select {
	box-shadow: none;
	border: 2px solid #b3cdcc;
    border-radius: 0;
	padding: 7px 18px;
    font-size: 15px;
    background: transparent;
    color: #627e7f;
}

textarea {
	box-shadow: none;
	border-radius: 0;
}

input[type="checkbox"] + label::before {
    border-radius: 0;
    border: 1px solid #4d898e;
    background: #fff;
}

::-webkit-input-placeholder {
	font-size: inherit !important;
	line-height: inherit !important;
	color: #999;
}

::-moz-placeholder {
	font-size: inherit !important;
	line-height: inherit !important;
	color: #999;
}

:-ms-input-placeholder {
	font-size: inherit !important;
	line-height: inherit !important;
	color: #999;
}

.webform-client-form {
    padding: 10px;
    background: #fff;
}


/****************************************
* MAIN LAYOUT
****************************************/


#admin-menu {
	z-index: 900000;
}

#top {
	overflow: hidden;
	position: fixed;
	top: 0;
	width: 100%;
	min-height: 84px;
	box-sizing: border-box;
	box-shadow: 0px 1px 2px #c1cbca;
	border-bottom: 1px solid #c1cbca;
	padding: 15px 200px;
	text-align: center;
	background: #fff;
	z-index: 99999;
}

#top a {
	margin-left: 15px;
}

body.logged-in #top a#profile {
    width: 55px;
    background-image: url(/sites/all/themes/digibib/images/hexagon_gul.png);
}

#home {
	position: absolute;
	top: 10px;
	left: 10px;
}

#menu {
	position: absolute;
	top: 15px;
	right: 15px;
}

#profile {
	position: absolute;
	top: 15px;
	right: 60px;
}

#page {
	max-width: 1188px;
	min-height: 100%;
	margin: auto;
	margin-top: 84px;
	padding: 80px 0;
}

.default-layout {
	margin-top: 0;
}

#page-overlay {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #adc9c7;
    opacity: .7;
	z-index: 500;
}

#page-overlay #back_text {
	position: absolute;
    top: 190px;
    left: 0;
    width: 100%;
    text-align: center;
}

.content-wrapper .pane-content .default-panel-layout .left-and-main-content {
	background: transparent;
}

#menu-content {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	width: 400px;
	height: 100%;
	padding: 200px 0;
	background: #484d51;
	z-index: 1000;
}

#menu-content li {
	border-bottom: 1px solid #51565a;
	list-style-type: none;
}

#menu-content li:first-child {
	border-top: 1px solid #51565a;
}

#menu-content a {
	margin-left: 20px;
	text-decoration: none;
	font-family: academy sans bold;
	font-size: 28px;
	letter-spacing: 2px;
	color: #fff;
	display: block;
	padding: 25px;
}

#menu-content li#menu_img {
	padding-left: 35px;
}

#menu-content li#menu_img a {
	display: inline-block;
	padding: 5px;
	margin-left: 0;
}

#menu-content li:hover {
	background: #585f63;
}

.menu_pil {
    position: fixed;
    right: 25px;
    top: 90px;
    z-index: 9999999;
}
    
.logind_pil {
    right: 85px !important;
    z-index: 888;
}

.hb-search-field-wrapper {
	margin-top: 7px;
}

.hb-search-field-wrapper .form-item, .hb-search-field-wrapper .form-wrapper {
	display: inline;
}

.hb-search-field-wrapper .form-text {
	display: inline;
	box-sizing: border-box;
	box-shadow: none !important;
	width: 99%;
	min-width: 15em;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 1px solid #ccc !important;
	padding: 6px 40px 6px 9px !important;
	font: 16px/1.4em academy sans, sans-serif;
	background: #fff !important;
	color: #333 !important;
}

.hb-search-field-wrapper .form-submit {
	display: inline-block;
	width: 28px;
	height: 28px;
	margin-left: -35px;
	padding: 0;
    border: 0;
	vertical-align: middle;
	text-indent: -9999em;
	text-transform: uppercase;
    background: url(../images/query.png) !important;
}

.search-overlay--wrapper {
	z-index: 999999;
}

#footer-wrap {
	padding: 50px;
	background: #484d51;
	color: #fff;
}
#footer {
	overflow: hidden;
	max-width: 1188px;
	min-height: 100%;
	margin: auto;
}

#footer-1, #footer-2, #footer-3, #footer-4 {
	float: left;
	width: 25%;
	margin-bottom: 30px;
}

#footer h2 {
	display: inline-block;
	border-bottom: 5px solid #b3cdcc;
	padding: 0 0 10px 0;
	text-transform: uppercase;
}

#footer ul {
	padding: 30px 0 0 0;
}

#footer li {
	padding: 5px 15px;
	background: url(../images/bullet.png) left center no-repeat;
}

#footer a {
	color: #fff;
}

.sliding-popup-bottom button, .sliding-popup-bottom button:hover {
	border-radius: 0 !important;
	padding: 10px 60px 10px 10px !important;
	background: #004f56 !important;
}

.front #panels-ipe-regionid-primary {
	display: none;
}

@media only screen and (max-width: 480px) {
	#menu-content { width: 90%; z-index: 100000; top: 85px; padding-top: 20px; }
	#menu-content li#menu_img { padding-left: 5px; }
	#menu-content li a { padding: 11px; font-size: 21px; margin-left: 0; }	
}

@media only screen and (max-width: 600px) {
	#footer-1, #footer-2, #footer-3, #footer-4 { width: 100% !important; }
}

@media only screen and (max-height: 650px) and (min-width: 370px) {
	#menu-content { padding: 150px 0; }
	#menu-content li a { padding: 15px; font-size: 26px; }
}

@media only screen and (max-width: 900px) {
	#top { padding: 0; }
	#top .hb-search-field-wrapper { display: block; margin-top: 80px; padding: 20px; background: #eee; }
	#page { margin-top: 170px; padding: 30px 0; }
	#footer-1, #footer-2, #footer-3, #footer-4 { width: 50%; }	
    .menu_pil { display:none !important; }
}

@media only screen and (max-width: 1024px) and (min-width: 900px) {
	#menu-content { padding-top: 110px; }
}


/****************************************
* MESSAGES
****************************************/


#popupbar .error {
	background: inherit !important;
	color: #c03 !important;
}

#popupbar #user-login-form {
	display: none;
}

#popupbar, #page .pane-page-messages.system-messages {
    background-color: #000;
    background: #000 !important;
    z-index: 999999;
}
#popupbar .messages, #popupbar div, .messages.error>ul>li, .messages.status>ul>li, #page .pane-page-messages.system-messages .messages.status {
    color: #FFF !important;
    font-family: 'academy sans bold';
    font-size: 17px;
    background-color: #000 !important;
    background: #000 !important;
}
.popupbar .popupbar-close:after, .system-messages .close-messages-button:after {
    color: rgba(255,255,255,0.8) !important;
}

#page .pane-page-messages {
	margin: 15px 7px;
	border: 1px solid #004f56;
	padding: 0 20px;
	box-shadow: none !important;
	background: #fff !important;
	color: #004f56 !important;
	z-index: 99999;
}

#page .pane-page-messages .panel-pane-inner {
	width: auto !important;
	max-width: none !important;
}

#page .pane-page-messages .messages {
	background: #fff !important;
	color: #004f56 !important;
}

#popupbar .messages, #popupbar .messages li, .pane-page-messages li {
	border: 0;
}

#popupbar .form-text {
	height: auto !important;
	border: 1px solid #ccc !important;
}

#popupbar .form-submit {
	border-radius: 0 !important;
	background: #004f56 !important;
}

.system-messages {
    position: fixed !important;
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    z-index: 999999 !important;
}


/****************************************
* PROFILE PAGES
****************************************/

/* SIDEBAR */

.pane-user-menu {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	box-sizing: border-box;
	width: 350px !important;
	padding: 85px 0 0 0 !important;
	background: #fff;
}

.pane-user-menu h2 {
	margin: 0 0 40px 20px !important;
	border: 0 !important;
}

.pane-user-menu ul {
	border-top: 1px solid #e1ebe8;
}

.pane-user-menu li {
	margin: 0 !important;
	border-bottom: 1px solid #e1ebe8;
}

.pane-user-menu li a {
	display: block;
	margin: 0;
	padding: 15px !important;
}

.pane-user-menu li a:after {
    content: none !important;
}

.pane-user-menu li a.active {
	color: #333;
}


@media only screen and (max-width: 700px) {
	.pane-user-menu {
		padding-top: 10px !important;
	}
	
	.pane-user-menu li a {
		padding: 8px !important;
	}
	
	.pane-user-menu h2.sub-menu-title {
		padding-bottom: 0;
    	margin: 3px 10px !important;
	}
}


/* CONTENT */

.page-user #page {
	position: relative;
	min-height: 700px;
}

.page-user .primary-content {
	border-right: 10px solid #dbe7e4;
}

.pane-profile2 {
	width: 100% !important;
	margin: 0 !important;
	border: 0;
}

.page-user h2 {
	margin: 0 0 20px 0;
}

.page-user h3 {
	margin: 20px 0 10px 0;
}

.page-user input, .page-user select {
	border: 0 !important;
}

.page-user label {
	font: 16px/140% academy sans, sans-serif;
}

.page-user .field-label {
	padding-bottom: 0;
}

.pane-profile2-form {
	padding: 15px !important;
	background: #c4d7d5 !important;
}

.page-user .field {
	float: none !important;
	width: 100% !important;
	margin: 5px 0 0 0;
	border: 0;
	padding: 15px;
	background: #c4d7d5;
}

.page-user .form-item {
	max-width: none !important;
}

#edit-profile-provider-fbs-field-fbs-phone, #edit-profile-provider-fbs-field-fbs-mail {
	width: 100% !important;
}

.page-user input[type=text], .page-user input[type=password], .page-user textarea, .page-user select {
	max-width: 100%;
	box-shadow: none;
	border: 1px solid #c4d7d5;
	background: #fff !important;
}

.form-type-date-popup .date-padding .form-item {
	border: 0 !important;
	border-radius: 0 !important;
}

.form-type-date-popup .date-padding .form-item::before {
	display: none !important;
}

.page-user .select-wrapper {
	border: 1px solid #c4d7d5;
	border-radius: 0;
}

.actions-container {
	background: #c4d7d5 !important;
}

.page-user .action-button {
	width: auto !important;
}

.page-user #page input[type=submit], .page-user #page a.button, .page-user .actions-container a {
	display: inline-block;
	height: auto !important;
	border-radius: 0 !important;
	margin: 0 5px 5px 0;
	padding: 8px 16px !important;
	font: 16px/140% academy sans, sans-serif !important;
	background: #004f56 !important;
	color: #fff !important;
	cursor: pointer !important;
}

.page-user .default-account-panel-layout .actions-container .action-buttons .action-button {
    margin: 0 !important;
}

.pane-lists {
	float: left;
	width: 45% !important;
	margin: 0 !important;
}

.pane-lists .userlists li {
	padding: 10px;
}

.pane-lists h3 {
	margin: 0px 0 20px 0px;
	font-size: 24px;
}

.pane-lists ul {
	margin-bottom: 20px;
	padding: 0 !important;
}

.pane-user-overview .specials .signature-label {
	border: 0;
	background: #004f56;
}

.no-touch .pane-user-overview .specials .signature-label:hover {
	background: #a4b7b5;
}

#edit-profile-provider-fbs-field-fbs-phone-notification, #edit-profile-provider-fbs-field-fbs-mail-notification, #edit-profile-provider-fbs-ding-user-fee-sms {
	display: none !important;
}

.page-user .select-all {
	background: #4d898e !important;
}

.page-user .select-all input[type="checkbox"] + label::before {
    border: 1px solid #fff;
}

.page-user .material-item {
	margin-bottom: 1px;
	background: #f2f6f5 !important;
}

.page-user .item-creators, .page-user .item-material-type, .item-information-list .class {
	display: none;
}

.page-user .item-title {
	margin: 0 0 5px 0;
}

.page-user .item-information {
	font-size: 14px;
}

.page-user .material-item .item-information.rating {
    display: none;
}

.page-user .material-item .messages {
	display: none;	
	margin: 0px 10px 0px 0px;
	padding: 2px 8px;
	font-size: 14px;	
	width: fit-content;
    position: absolute;
    right: 0;
    left: inherit;
    bottom: 10px;
    top: inherit;
    background-color: #fbcb00;
    color: #444;
    border-radius: 0;
}

.page-user .renew-loan-button .form-submit {
    margin-right: 15px;
}

.page-user #ding-loan-loans-form .actions-container:before {
    content: "Et materiale kan først vælges til fornyelse 7 dage før det skal afleveres.\A Kan det ikke vælges herefter, er det fordi det ikke kan fornyes yderligere.";
    margin-bottom: 15px;
    display: block;
    color: #444;
    white-space: pre;
}

.page-user .action-buttons-is-scrolling .renew-loan-button:after {
    color: #ddd;
}

.page-user form .action-buttons {
    padding-left:0 !important;
}

.page-user form .actions-container .form-item-select-all {
    display:none;
}

.pane-loans, .pane-reservations, .pane-debts, .pane-bookmarks {
	border-color: #c4d7d5;
}

.not-ready-for-pickup {
	background: #c4d7d5 !important;
}

.actions-container {
  position: static !important;
}

.page-user .total-amount {
	background: #c4d7d5;
}

/* RESPONSIVE */

@media only screen and (max-width: 900px) {

	.page-user .primary-content, .page-user .secondary-content {
		width: 100% !important;
		padding: 10px !important;
	}

	.pane-user-menu {
		float: none !important;
		position: static !important;
		width: 100% !important;
		margin: 0 0 30px 0 !important;
		padding: 30px 0 0 0 !important;
	}

	.pane-profile2, .pane-lists {
		width: 100% !important;
		margin-right: 0 !important;
	}

	.page-user-view .primary-content {
		display: flex;
		flex-direction: column-reverse;
	}
}


/****************************************
* CARDS
****************************************/


/* DESKTOP LARGE */

.card_wrapper {
	margin-left: -7px !important;
	overflow: hidden;
	display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
    flex-direction: row;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
   	flex-wrap: wrap;
	-webkit-align-content: stretch;
	-moz-align-content: stretch;
   	align-content: stretch;
	-webkit-align-items: stretch;
	-moz-align-items: stretch;
	align-items: stretch;
}

.card {
	background: #fff;
	float: left;
	display: inline-block;
	margin-left: 15px;
	margin-bottom: 20px;
	padding: 10px;
	box-sizing: border-box;
	flex: none;
	position: relative;
}

.card h2 {
	color: #555;
}

.card h3 {
	font-size: 14px;
    color: #678381;
    margin-top: 5px;
    margin-bottom: 10px;
	font-family: academy sans !important;
}

.card a {
	height: 100%;
    display: block;
	text-decoration: none;
}

.card .info_hover {
	color: #fff;
    position: absolute;
    top: 0;
    left: 0;
	background: rgba(0,79,86,0.9);
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    padding-top: 13%;
	display:none;
}

.card .info_hover .title {
	margin-bottom: 20px;
	font-size: 35px;
	color: #b3cdcc;
	font-family: academy sans light !important;
}

.card .info_hover .fa {
    width: 100%;
    text-align: center;
    font-size: 100px;
	color: #b3cdcc;
	position: absolute;
    bottom: 0;
    height: 25%;
    left: 0;
    margin-top: 0;
}

.card .info_hover .fa:before {
	content: '\f105' !important;
	display: block;
}

.card1 {width: 84px;}
.card2 {width: 183px;}
.frontcard.card2 .header {font-size: 25px;}
.card2 .info_hover .title {font-size: 30px;}
.card2 .info_hover .fa {font-size: 70px;}
.card3 {width: 282px;}
.card3 .info_hover .fa {font-size: 70px;}
.card4 {width: 381px;}
.card4 .info_hover .title {font-size: 47px;}
.card4 .info_hover .lead {font-size: 20px;}
.card4 .info_hover .fa {font-size: 100px;}
.card5 {width: 480px;}
.card5 .info_hover .title {font-size: 59px;}
.card5 .info_hover .lead {font-size: 23px;}
.card5 .info_hover .fa {font-size: 106px;}
.card6 {width: 579px;}
.card6 .info_hover .title {font-size: 71px;}
.card6 .info_hover .lead {font-size: 26px;}
.card6 .info_hover .fa {font-size: 112px;}
.card7 {width: 678px;}
.card7 .info_hover .title {font-size: 83px;}
.card7 .info_hover .lead {font-size: 29px;}
.card7 .info_hover .fa {font-size: 118px;}
.card8 {width: 777px;}
.card8 .info_hover .title {font-size: 95px;}
.card8 .info_hover .lead {font-size: 32px;}
.card8 .info_hover .fa {font-size: 129px;}
.card9 {width: 876px;}
.card9 .info_hover .title {font-size: 107px;}
.card9 .info_hover .lead {font-size: 35px;}
.card9 .info_hover .fa {font-size: 130px;}
.card10 {width: 975px;}
.card10 .info_hover .title {font-size: 119px;}
.card10 .info_hover .lead {font-size: 38px;}
.card10 .info_hover .fa {font-size: 136px;}
.card11 {width: 1074px;}
.card11 .info_hover .title {font-size: 131px;}
.card11 .info_hover .lead {font-size: 41px;}
.card11 .info_hover .fa {font-size: 142px;}
.card12 {width: 1173px;}
.card12 .info_hover .title {font-size: 143px;}
.card12 .info_hover .lead {font-size: 44px;}
.card12 .info_hover .fa {font-size: 148px;}
.card .banner + a .info_hover {padding-top: 0;}
.card .banner + a h3 {font-size: 47px !important;}
.card .banner + a .lead {font-size: 20px !important;}
.card .banner + a .fa {font-size: 100px !important;}

/* DESKTOP + TABLET LANDSCAPE */
@media only screen and (max-width: 1205px) {
	#body-wrap, .card_wrapper {max-width: 1014px;}
	.card .info_hover .title {font-size: 25px;}
	.card .info_hover .fa {font-size: 70px;}
	.card1 {width: 68px;}
	.card2 {width: 152px;}
	.card2 .info_hover .title {font-size: 25px;}
	.card2 .info_hover .fa {font-size: 60px;}
	.card3 {width: 236px;}
	.card3 .info_hover .lead {font-size: 16px;}
	.card3 .info_hover .title {font-size: 33px;}
	.card3 .info_hover .fa {font-size: 60px;}
	.card4 {width: 320px;}
	.card4 .info_hover .title {font-size: 39px;}
	.card4 .info_hover .lead {font-size: 17px;}
	.card4 .info_hover .fa {font-size: 70px;}
	.card5 {width: 404px;}
	.card5 .info_hover .title {font-size: 50px;}
	.card5 .info_hover .lead {font-size: 20px;}
	.card5 .info_hover .fa {font-size: 79px;}
	.card6 {width: 488px;}
	.card6 .info_hover .title {font-size: 61px;}
	.card6 .info_hover .lead {font-size: 23px;}
	.card6 .info_hover .fa {font-size: 88px;}
	.card7 {width: 572px;}
	.card7 .info_hover .title {font-size: 72px;}
	.card7 .info_hover .lead {font-size: 26px;}
	.card7 .info_hover .fa {font-size: 97px;}
	.card8 {width: 656px;}
	.card8 .info_hover .title {font-size: 83px;}
	.card8 .info_hover .lead {font-size: 29px;}
	.card8 .info_hover .fa {font-size: 106px;}
	.card9 {width: 740px;}
	.card9 .info_hover .title {font-size: 94px;}
	.card9 .info_hover .lead {font-size: 32px;}
	.card9 .info_hover .fa {font-size: 115px;}
	.card10 {width: 824px;}
	.card10 .info_hover .title {font-size: 105px;}
	.card10 .info_hover .lead {font-size: 35px;}
	.card10 .info_hover .fa {font-size: 124px;}
	.card11 {width: 908px;}
	.card11 .info_hover .title {font-size: 116px;}
	.card11 .info_hover .lead {font-size: 38px;}
	.card11 .info_hover .fa {font-size: 133px;}
	.card12 {width: 992px;}
	.card12 .info_hover .title {font-size: 127px;}
	.card12 .info_hover .lead {font-size: 41px;}
	.card12 .info_hover .fa {font-size: 142px;}
}

/* TABLET PORTRAIT */
@media only screen and (min-width: 785px) and (max-width: 1023px) {
	#body-wrap, .card_wrapper {max-width: 785px;}
	.card1 {width: 113px;}
	.card2 {width: 241px;}
	.card2 .info_hover .title {font-size: 30px;}
	.card2 .info_hover .lead {font-size: 16px;}
	.card2 .info_hover .fa {font-size: 55px;}
	.card3 {width: 369px;}
	.card3 .info_hover .title {font-size: 42px;}
	.card3 .info_hover .lead {font-size: 16px;}
	.card3 .info_hover .fa {font-size: 70px;}
	.card4 {width: 241px;}
	.card4 .info_hover .title {font-size: 30px;}
	.card4 .info_hover .lead {font-size: 16px;}
	.card4 .info_hover .fa {font-size: 55px;}
	.card5 {width: 305px;}
	.card5 .info_hover .title {font-size: 33px;}
	.card5 .info_hover .lead {font-size: 16px;}
	.card5 .info_hover .fa {font-size: 70px;}
	.card6 {width: 753px;}
	.card6 .info_hover .title {font-size: 90px;}
	.card6 .info_hover .lead {font-size: 30px;}
	.card6 .info_hover .fa {font-size: 140px;}
	.card7 {width: 433px;}
	.card7 .info_hover .title {font-size: 53px;}
	.card7 .info_hover .lead {font-size: 20px;}
	.card7 .info_hover .fa {font-size: 100px;}
	.card8 {width: 497px;}
	.card8 .info_hover .title {font-size: 60px;}
	.card8 .info_hover .lead {font-size: 22px;}
	.card8 .info_hover .fa {font-size: 110px;}
	.card9 {width: 369px;}
	.card9 .info_hover .title {font-size: 42px;}
	.card9 .info_hover .lead {font-size: 16px;}
	.card9 .info_hover .fa {font-size: 70px;}
	.card10 {width: 625px;}
	.card10 .info_hover .title {font-size: 75px;}
	.card10 .info_hover .lead {font-size: 25px;}
	.card10 .info_hover .fa {font-size: 120px;}
	.card11 {width: 625px;}
	.card11 .info_hover .title {font-size: 75px;}
	.card11 .info_hover .lead {font-size: 25px;}
	.card11 .info_hover .fa {font-size: 120px;}
	.card12 {width: 753px;}
	.card12 .info_hover .title {font-size: 90px;}
	.card12 .info_hover .lead {font-size: 30px;}
	.card12 .info_hover .fa {font-size: 140px;}
}

/* SMARTPHONE LANDSCAPE */
@media only screen and (max-width: 784px) {
	#body-wrap {max-width: 100%;}
	.card .info_hover .title {display: none;}
	.card .info_hover .lead {margin-top: 0; width: 97%;}	
	.card_wrapper {margin-left: 0 !important;}
	.card {margin:1%;}
	.card1 {width: 31%;}
	.card1 .info_hover .lead {font-size: 14px;}
	.card1 .info_hover .fa {font-size: 50px;}
	.card2 {width: 31%;}
	.card2 .info_hover .lead {font-size: 14px;}
	.card2 .info_hover .fa {font-size: 50px;}
	.card2 .info_hover .title {display: block;}
	.card3 {width: 48%;}
	.card3 .info_hover .lead {font-size: 17px;}
	.card3 .info_hover .fa {font-size: 60px;}
	.card4 {width: 31%;}
	.card4 .info_hover .lead {font-size: 14px;}
	.card4 .info_hover .fa {font-size: 50px;}
	.card5 {width: 48%;}
	.card5 .info_hover .lead {font-size: 17px;}
	.card5 .info_hover .fa {font-size: 60px;}
	.card6 {width: 48%;}
	.card6 .info_hover .lead {font-size: 17px;}
	.card6 .info_hover .fa {font-size: 60px;}
	.card7 {width: 48%;}
	.card7 .info_hover .lead {font-size: 17px;}
	.card7 .info_hover .fa {font-size: 60px;}
	.card8 {width: 64%;}
	.card8 .info_hover .lead {font-size: 22px;}
	.card8 .info_hover .fa {font-size: 80px;}
	.card9 {width: 48%;}
	.card9 .info_hover .lead {font-size: 17px;}
	.card9 .info_hover .fa {font-size: 60px;}
	.card10 {width: 64%;}
	.card10 .info_hover .lead {font-size: 22px;}
	.card10 .info_hover .fa {font-size: 80px;}
	.card11 {width: 64%;}
	.card11 .info_hover .lead {font-size: 22px;}
	.card11 .info_hover .fa {font-size: 80px;}
	.card12 {width: 98%;}
	.card12 .info_hover .lead {font-size: 30px; line-height: normal;}
	.card12 .info_hover .fa {font-size: 100px;}
}

/* SMARTPHONE PORTRAIT */
@media only screen and (max-width: 480px) {
	.collapsible .field-group-format-toggler a {
		font-size: 15px;
		line-height: 30px;
	}
	.collapsible .field-group-format-toggler a:before {	
		background: #ebbc00 !important;
		color: #484d52 !important;
		width: 30px;
		height: 30px;
		margin-top: 0 !important;
		margin-right: 10px;
		font-size: 20px !important;
		text-align: center;
		line-height: 30px;
		padding: 0 !important;
	}
	.card1 {width: 48%;}
	.card2 {width: 48%;}
	.card3 {width: 98%;}
	.card4 {width: 98%;}
	.card5 {width: 98%;}
	.card6 {width: 98%;}
	.card7 {width: 98%;}
	.card8 {width: 98%;}
	.card9 {width: 98%;}
	.card10 {width: 48%;}
	.card10 .info_hover .lead {font-size: 12px !important;}
	.card10 .info_hover .fa {font-size: 40px !important;}
	.card11 {width: 48%;}
	.card11 .info_hover .lead {font-size: 12px !important;}
	.card11 .info_hover .fa {font-size: 40px !important;}
	.card12 {width: 98%;}
	.card .info_hover .lead {font-size: 18px;}
	.card .info_hover .fa {font-size: 70px;}
}


/****************************************
* SEARCHRESULT & MATERIALS
****************************************/

.availability {
	position: relative;
}
.availability:hover:after {
	display: block;
}
.availability:after {
	position: absolute;
	top: 0;
	left: 0;
    background: #004f56;
    color: #FFF;
	padding: 4px;
    border-radius: 2px;
    z-index: 99;
    font-size: 14px;
	line-height: 16px;
	-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);
	display: none;
}

/* Compensate for DDB overriding availability rules */
.availability.unavailable.not-reservable {
    color: #a32e10 !important;
}
.availability.processed, .availability.reservable, .availability.available.not-reservable, .availability.unavailable.reservable {
    color: #f0cb28 !important;
}
.availability.processed:after, .availability.reservable:after, .availability.available.not-reservable:after, .availability.unavailable.reservable:after {
	content: 'Kan reserveres';
}
.availability.available, .availability.available.reservable {
    color: #528c10 !important;
}
.availability.available:after, .availability.available.reservable:after {
	content: 'Klar til lån';
}


/****************************************
* P2
****************************************/
.webform-client-form .form-item {
	max-width: none;
}

.pane-interaction-pane {
	display: none;
}

.ding-user-lists .ratings {
	display: none;
}

.ding-user-lists .lists-list {
	display: none;
}

.ding-user-lists .user-searches {
	display: none;
}

.ding-entity-rating {
	display: none;
}

.page-search .ding-list-add-button {
	display: none;
}

.pane-private-share {
	display: none;
}

.pane-campaign {
	display: none;
}

.pane-lists li {
	margin-bottom: 5px !important;
	background: #c4d7d5 !important;
}

.pane-lists .label {
	background: #fff !important;
	color: #004f56 !important;
}

.pane-lists a {
	color: #004f56 !important;
}

.pane-lists .bottom-links li {
	background: none !important;
}

.pane-lists .bottom-links li.last {
	display: none;
}

.pane-lists .bottom-links a {
	padding: 0 !important;
	font-weight: 700 !important;
	background: none !important;
	color: #004f56 !important;
}

.pane-lists .bottom-links a:hover {
	text-decoration: underline;
}

.page-list .pane-content input[type=submit], .page-list a.button {
	display: inline-block;
	height: auto;
	border-radius: 0 !important;
	margin: 0 5px 5px 0;
	padding: 10px 15px !important;
	font: 16px/140% academy sans, sans-serif !important;
	background: #004f56 !important;
	color: #fff;
	cursor: pointer !important;
}

.page-list input[type=text], .page-list input[type=password], .page-list textarea, .page-list select {
	max-width: 95%;
	box-shadow: none;
	border: 1px solid #c4d7d5;
	background: #fff !important;
}

.page-list .sub-menu {
	margin-right: 30px !important;
	border-top: 1px solid #c4d7d5;
}

.page-list .sub-menu li {
	margin: 0 !important;
	border-bottom: 1px solid #c4d7d5;
	padding: 10px 0;
}

.page-list .sub-menu .share {
	display: none;
}

.page-list table, .page-list tr {
	border: 1px solid #c4d7d5;
	background: #f2f6f5 !important;
}

.ding-list-add-button .content {
	overflow: hidden !important;
	overflow-y: scroll !important;
	background: #004f56 !important;
}

.ding-list-add-button li {
	background: #fff !important;
	border-top: 1px solid #004f56;
}

.ding-list-add-button .list-title {
	color: #004f56 !important;
}

.ding-list-add-button .button {
	display: none !important;
}


/****************************************
* PRINT
****************************************/


@media print {

	/* MAIN LAYOUT */
	
	#page .node h1 {
		font-size: 35px !important;
	}
	
	#page .node h2 {
		font-size: 18px;
	}
		
	#page .node p {
		font-size: 16px;
		margin: 0;
	}

	#top {
		position: static;
		box-shadow: none;
    	border-bottom: 0;
    	background: transparent;
		min-height: 0;
    	height: 0;
	}
	
	.content-inner {
		width: 100% !important;
	}
	
	#top .hb-search-field-wrapper,  #top #menu, #top #profile, #admin-menu, .back, .ask-vopros-tab, #footer-wrap, .contextual-links-wrapper, .action-buttons, a.user-status, .pane-page-tabs, .abb_tilmelding, #mc_embed_signup, .ding-news-right img {
		display: none !important;
	}
	
	#page {
		margin-top: 0;
		padding-bottom: 0;
		max-width: 100%;
	}
	
	/* MATERIALE-LISTER */
	.field-name-field-ding-news-materials > .field-items > .field-item {
		width: 100% !important;
		margin-bottom: 0 !important;
		border-bottom: 1px solid #000;
	}
	.field-name-field-ding-news-materials .field-items .field-item * {
		margin-bottom: 0 !important;
		padding: 0 !important;
	}
	
	.ting-object.view-mode-teaser>.inner {
		padding-top: 0 !important;
		background: #FFF !important;
	}
	
	.ting-object.view-mode-teaser>.inner .group-text {
		position: static;
	}
	
	.ting-object.view-mode-teaser .ting-cover, .ting-object.view-mode-teaser .action-button {
		display: none !important;
	}
	
	.ting-object.view-mode-teaser>.inner .group-text .group-inner {
		background: #FFF !important;
	}
	.ting-object.view-mode-teaser .field-type-ting-type, .ting-object.view-mode-teaser h2, .ting-object.view-mode-teaser>.inner .field-type-ting-type li {
		color: #000 !important;
	}
	.ting-object.view-mode-teaser>.inner .field-name-ting-author {
		opacity: 1;
		color: #000;
		font-weight: normal;
	}
	.ting-object.view-mode-teaser>.inner .field-type-ting-type {
		display: block !important;
	}
	.ting-object.view-mode-teaser>.inner .group-text .group-inner::after {
		background-image: none !important;
	}
	
	/* SØGNING */
	body.page-search div.primary-content, body.page-search div.ting-object-right {
		width: 100% !important;
	}
	body.page-search div.ting-object-left {
		display: none;
	}
	body.page-search div.ting-object-right * {
		font-size: 16px !important;
		padding: 0 !important;
    	margin: 0 !important;
	}
	body.page-search div.availability {
		border: 0 !important;
	}
	body.page-search div.availability strong {
		display: none;
	}
	body.page-search div.availability p {
		float: left;
		display: inline-flex;
    	margin-right: 10px !important;
		color: #000 !important;
	}
	body.page-search div.availability p a {
		margin-left: 10px !important;
	}
	
	/* VÆRK-VISNING */
	.page-ting-collection div.primary-content, .page-ting-collection div.ting-object-right {
		width: 100% !important;
	}
	.page-ting-collection .action-button, .page-ting-collection .ting-object-left {
		display: none !important;
	}
	body.page-ting-collection div.field-items div.ting-object * {
		margin: 0 !important;
		padding: 0 !important;
	}
	
	/* POST-VISNING */
	.page-ting-object #page {
		padding: 0 !important;
	}
	.page-ting-object .pane-ting-ting-object-host, .page-ting-object .action-button, .page-ting-object .ding-list-add-button, .page-ting-object .ting-object-right .group-material-details ~ div, .page-ting-object .pane-ting-ting-object-types {
		display: none !important;
	}
	.page-ting-object .ting-object-inner-wrapper .ting-object-right .group-holdings-available {
		display: table !important;
	}	
	.page-ting-object .ting-object-right div {
		margin: 0 !important;
	}
	
	.page-ting-object div.group-holdings-available, .page-ting-object div.group-material-details {
		width: 135%;
		margin-left: -35% !important;
		background: #FFF;
	}
	
	
	/* PROFILE PAGES */

	.page-user .primary-content {
		border: 0;
		padding-left: 0 !important;
	}
	
	.pane-user-menu {
		display: none;
	}

	.page-user .left-column {
		display: none;
	}

	.page-user .right-column {
		width: 100%;
		margin: 0;
	}

	.page-user h3 {
		font-size: 16px;
	}

	.page-user .select-all {
		margin: 10px 0;
		padding: 0;
		border-bottom: 1px solid #000;
	}
	
	.page-user #ding-loan-loans-form {
		padding-top: 0 !important;
	}

	.page-user .material-item .item-checkbox .form-type-checkbox.form-disabled {
		visibility: visible;
		opacity: 0.3;
		height: 30px;
	}

	/* P2 */

	.page-list input[type=submit], .page-list a.button {
		display: none;
	}

	/* CARDS */

	.card {
		padding-left: 1%;
		box-sizing: border-box;
		margin: 0;
		page-break-inside: avoid !important;
		border-left: 1px solid;
		border-bottom: 1px solid;
	}
	.card1 {width: 8.33333333333%}
	.card2 {width: 16.6666666666666%}
	.card3 {width: 25%;}
	.card4 {width: 33.3333333333333333333%;}
	.card5 {width: 41.6666666%;}
	.card6 {width: 50%;}
	.card7 {width: 58.33333333333333333333%; }
	.card8 {width: 66.666666666%;}
	.card9 {width: 75%;}
	.card10 {width: 83.3333333333%;}
	.card11 {width: 91.66666666666666666%;}
	.card12 {width: 100%;}
	.card .video iframe {
		width: inherit !important;
		height: inherit !important;
	}
}


/****************************************
* UNSORTED STUFF
****************************************/

@media screen and (max-width: 950px) {
	.carousel-tabs .carousel-select {
		display: block;
		margin-top: 0;
		margin-bottom: 10px;
		position: initial;
	}
}

.digibib .primary-content {
	padding-right: 0 !important;
}

.digibib .layout-wrapper {
	background: transparent;
	margin-right: 0px;
    margin-left: 0px;
    padding-right: 0px;
    padding-left: 2px;
	padding-top: 0;
}

.digibib a {
	color: #76a7a4;
}

.digibib .status {
	border: 1px solid #76a7a4;
	background: url(../images/white.png);
	color: #76a7a4;
}

.digibib .status a {
	color: inherit;
}

.flex_wrapper {
	display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
}

a.primary_button {
	background-color: #e9bb02;
    padding: 10px 35px;
    text-transform: uppercase;
    box-sizing: border-box;
    font-family: academy sans bold;
    color: rgba(0,0,0,0.7);
    font-size: 20px;
}

.back {
	position: absolute;
    top: -20px;
    right: -20px;
    border: 7px solid #FFF;
    cursor: pointer;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #FFF;
    font-size: 35px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    background: #d9e6e5;
    text-align: center;
}

.back:before {
	content: '\f00d';
}

.table {
	display: table;
	table-layout: fixed;
}

.table_row {
	display: table-row;
}

.table_cell {
	display: table-cell;
}

.ui-widget-overlay {
	background: #adc9c7;
    opacity: .7;
}

.ui-dialog {
	background: #484d51;	
}
.ui-dialog .ui-dialog-title {
	display: none;
}
.ui-dialog span {
	font-family: academy sans bold;
	color: #FFF !important;
}
.ui-dialog label, .ui-dialog div {
	font-family: academy sans;
	color: #FFF;
}
.ui-dialog div {
	margin-top: -10px;
    margin-bottom: 30px;
}
.ui-dialog input {
	border-radius: 0;
}
.ui-dialog input[type=submit] {
	padding: 10px 30px;
    font: 22px/1.4em academy sans bold, sans-serif;
    text-transform: uppercase;
    background: #e9bb00 !important;
    color: #484d51;
}
.ui-dialog div.messages {
	background: #585d61;
	color: #FFF;
	border: 0;
}

.collapsible .field-group-format-toggler a {
	font-size: 24px;
	line-height: 60px;
}

.collapsible .field-group-format-toggler a:before {	
	background: #ebbc00 !important;
    color: #484d52 !important;
    width: 60px;
    height: 60px;
    margin-top: 0 !important;
    margin-right: 20px;
    font-size: 30px !important;
    text-align: center;
    line-height: 60px;
    padding: 0 !important;
}

.collapsible.collapsed .field-group-format-toggler a:before {
	content: '\f078' !important;
}

.collapsible .field-group-format-toggler a:before {
	content: '\f077' !important;
}

.material_type div:before, li:before {
	font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	padding-right: 5px;
	display:inline-block;
}

.material_type div[class$="-bog"]:before, .material_type div[class*="bog-"]:before, .material_type div[class$="-ebog"]:before, li.bog:before, li.ebog:before, li.bog-stor-skrift:before {
	content: '\f02d';	
}

.material_type div[class*="-lydbog"]:before, .material_type div[class*="-cd"]:before, li[class*="lydbog"]:before, li.cd:before {
	content: '\f025';
}

.material_type div[class*="-playstation-"]:before, .material_type div[class$="-pc-spil"]:before, .material_type div[class$="-wii"]:before, .material_type div[class*="-xbox"]:before, .material_type div[class*="-nintendo-"]:before, .material_type div[class*="-gameboy-"]:before {
	content: '\f11b';
}

.material_type div[class$="-diskette"]:before, .material_type div[class$="-cd-rom"]:before, li[class*="diskette"]:before {
	content: '\f109';	
}

.material_type div[class$="-dvd"]:before, .material_type div[class$="-blu-ray"]:before, .material_type div[class$="-video"]:before, .material_type div[class$="-film-net"]:before,li[class*="blu-ray"]:before, li[class*="film-net"]:before, li[class*="dvd"]:before {
	content: '\f008';	
}

.material_type div[class$="-netdokument"]:before {
	content: '\f08e';
}

.material_type div[class$="-node"]:before, .material_type div[class$="musik"]:before, li.node:before, li.cd-musik:before {
	content: '\f001';	
}

.material_type div[class$="-artikel"]:before {
	content: '\f0f6'
}

.material_type div[class$="-billedbog"]:before, .material_type div[class$="-tegneserie"]:before, li.billedbog:before, li.tegneserie:before {
	content: '\f03e'
}
