/* ==========================================
   BS5 overrides to match production (BS2) look
   ========================================== */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-family: inherit;
    color: inherit;
}

h1 { font-size: 30px; line-height: 30px; }
h2 { font-size: 24px; line-height: 36px; }
h3 { font-size: 18px; line-height: 27px; margin-bottom: 0; }
h4 { font-size: 14px; line-height: 18px; }
h5 { font-size: 12px; line-height: 18px; }

p {
    margin: 0 0 9px;
}

small {
    font-size: 100%;
}

h1 small, h2 small, h3 small, h4 small {
    font-weight: 400;
    color: #999;
    font-size: 75%;
    line-height: 1;
}

.btn {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: normal;
}

.btn-lg, .btn-large {
    font-size: 15px;
    padding: 9px 14px;
    border-radius: 5px;
}

.btn-primary {
    background-color: #0074cc;
    border-color: #0074cc;
    font-size: 15px;
    padding: 9px 14px;
    border-radius: 5px;
    font-weight: 200;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #0063b0;
    border-color: #0063b0;
}

.btn-danger {
    font-size: 15px;
    padding: 9px 14px;
    border-radius: 5px;
}

.btn-outline-secondary {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
}


/* Container */
.container {
    padding-left: 20px;
    padding-right: 20px;
}

/* Main content spacing below navbar */
.wgh-navbar + .container {
    padding-top: 24px;
}

.wgh-navbar + .container:has(> .wgh-breakout:first-child) {
    padding-top: 0;
}


/* Badge (was .label in BS2) */
.badge {
    font-size: 10.998px;
    font-weight: 700;
    padding: 1px 9px 2px;
    border-radius: 3px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

a.badge {
    text-decoration: none;
}

.badge.bg-success {
    background-color: #356635 !important;
}

.badge.bg-danger {
    background-color: #953b39 !important;
}

/* Form controls */
.form-control {
    font-size: 13px;
    padding: 4px 6px;
    border-radius: 3px;
    line-height: 18px;
    color: #555;
    border-color: #ccc;
}

.form-control:focus {
    border-color: rgba(82, 168, 236, 0.8);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

select.form-control, select.form-select {
    font-size: 13px;
    padding: 4px 6px;
    color: #555;
    border-color: #ccc;
}

.form-text {
    font-size: 13px;
}

/* Card body — match BS2 .well appearance */
.card-body {
    font-size: 13px;
}

.card.bg-light, .card-body.bg-light {
    background-color: #f5f5f5 !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.card-body.bg-light {
    padding: 19px;
}

/* Table */
.table {
    font-size: 13px;
}

/* Alert */
.alert {
    font-size: 13px;
}

/* Modal */
.modal-header {
    align-items: flex-start;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
}

.modal-body {
    font-size: 13px;
}

/* List-group items (matches BS2 nav-stacked style) */
.list-group-item {
    padding: 0;
    border-color: #ddd;
}

.list-group-item a {
    display: block;
    padding: 8px 12px;
    color: #0088cc;
}

.list-group-item a:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

/* Link colors */
a {
    color: #0088cc;
}

a:hover {
    color: #005580;
}

/* floating message */
#top_message_container {
	position: fixed;
	text-align: center;
	top: 64px;
	width: 100%;
	z-index: 1029;
}

#top_message {
	display: inline-block;
	width: 340px;
	max-width: calc(100% - 24px);
	border-radius: 0 0 10px 10px;
}

#top_message .btn-close {
	padding: 0.75rem 0.5rem;
}



/* Legacy Hero-box (verlanglijst info page, maintenance page) */

.hero-box, .hero-box-blauw {
	margin-bottom: 30px;
	background: #bbdfec;
	text-align: justify;
}

.hero-box h1 {
	margin-bottom: 0;
	font-size: 30px;
	line-height: 1;
	letter-spacing: -1px;
	color: inherit;
	margin-bottom: 5px;
}

.hero-box p {
	font-size: 18px;
	font-weight: 200;
	line-height: 27px;
	color: inherit;
}

.hero-5 {
	padding: 30px;
}

.hero-foto {
	margin-left: 15px;
	float: right;
	width: 150px;
	height: 150px;
	border: 0 none;
    border-radius: 5px 5px 5px 5px;
	-moz-border-radius:5px;
	position: relative;
}

.hero-foto #delete_list_image,
.hero-foto #rotate_list_image {
	width: 28px;
	height: 28px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}

.hero-foto #delete_list_image:hover,
.hero-foto #rotate_list_image:hover {
	background: rgba(255, 255, 255, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-foto #delete_list_image {
	position: absolute;
	right: 4px;
	top: 4px;
}

.hero-foto #rotate_list_image {
	position: absolute;
	left: 4px;
	top: 4px;
}

.hero-foto #edit_list_image {
	position: absolute;
	right: 4px;
	bottom: 4px;
	padding: 2px 8px;
	background: rgba(0, 0, 0, 0.6);
	border: none;
	border-radius: 6px;
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s;
}

.hero-foto #edit_list_image:hover {
	background: rgba(0, 0, 0, 0.8);
}

hr.soften {
	height: 1px;
	margin: 20px 0;
	background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
	background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
	background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
	background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
	border: 0;
}

#list_overview_container hr {
	margin-bottom: 30px;
    margin-top: 50px;
}


#public_list_container a.wishlink,
#public_list_container a.wishlink:visited,
#public_list_container a.wishlink:active {
	color: #000000;
}

#public_list_container a.wishlink:hover {
	color: #0088CC;
}

#public_list_container .wgh-wish-item--purchased a.wishlink,
#public_list_container .wgh-wish-item--purchased a.wishlink:visited,
#public_list_container .wgh-wish-item--purchased a.wishlink:active,
#public_list_container .wgh-wish-item--purchased a.wishlink:hover {
	color: #888888;
}

.ajax_loading {
	background-image: url('/images/ajax-loader.gif');
	background-repeat:no-repeat;
	background-position: 97% center;
}


#wish_image {
	position: absolute;
	background-color: #ffffff;
	overflow: auto;
	height: 200px;
	width: 200px;
	z-index:10;
	-moz-box-shadow: 5px 5px 10px #888;
	-webkit-box-shadow: 5px 5px 10px #888;
	box-shadow: 5px 5px 10px #888;
	border-radius: 3px;
	border: 1px solid #CCCCCC;
	overflow: hidden;
}

.close_container {
	font-size: 12px;
    font-weight: bold;
    position: absolute;
	right: 5px;
}

.close_container:hover {
	cursor: pointer;
}

/* Cookie consent banner */
#wgh-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: #222;
	color: #ccc;
	padding: 3px 0 6px;
	z-index: 9999;
	font-size: 12px;
	line-height: 16px;
	box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.3);
}
#wgh-cookie-banner a:not(.btn) {
	color: #8cf;
}
#wgh-cookie-banner .btn-sm {
	padding: 2px 10px;
	font-size: 12px;
}


.radio.inline,
.radio.inline+.radio.inline {
    margin-left: 0px;
    margin-right: 15px;
}


#suggestions {
	font-weight: 600;
	font-size: 16px;
	line-height: 20px;
}

#wish_suggestions_container {
	position: absolute;
	background-color: #ffffff;
	z-index: 10;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	border: 1px solid #dee2e6;
	padding: 10px 12px;
	margin-left: 250px;
	margin-top: -75px;
	max-width: 480px;
}

#wish_suggestions {
	overflow-y: auto;
	max-height: 360px;
	margin-top: 8px;
}


.list_anchor {
    position: relative;
    top: -50px;
}

/*   Hieronder de regels voor kleinere schermen */
@media (max-width: 979px) {
	.hero-5 {
		padding: 30px 30px 110px 30px;
	}

	h4 {
		font-size: 14px;
	}

    #wish_suggestions_container {
        max-width: 400px;
        margin-left: 200px;
        margin-top: -75px;
    }

    .list_anchor {
        position: relative;
        top: -100px;
    }
}

@media (max-width: 767px) {
    .hero-box h1 {
        font-size: 22px;
    }

    .hero-box p {
        font-size: 15px;
        font-weight: 200;
        line-height: 1.4;
        color: inherit;
    }

    .hero-box {
        margin-top: 10px;
    }

    .container {
		padding-right: 12px;
		padding-left: 12px;
	}

	body {
		padding-right: 0;
		padding-left: 0;
		font-size: 13px;
		line-height: 1.4;
	}

	h2, h4 {
		overflow-wrap: break-word;
		max-width: 100%;
	}

	h4 {
		font-size: 14px;
	}

    p.small {
        font-size: 11px;
        line-height: 1.4;
    }

    .input-large, .input-xlarge, .input-xxlarge {
        width: 95%;
    }

    legend {
        margin-bottom: 0px;
    }

    .hero-5 {
		padding: 15px;
	}

    #wish_suggestions_container {
        max-width: none;
        width: calc(100% - 24px);
        margin-left: 0;
        margin-top: 0;
    }


    #top_message_container {
        top: 64px;
    }

    .list_anchor {
        position: relative;
        top: -100px;
    }

}

