
/**
 * Modal
 */

.modal {
    /* Bootstrap Original */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 105000;
    display: none;
    width: 100%;
    height: 100%;
    outline: 0;
    overflow: auto;
    max-height: 100%;
    border-radius: 0;
}

#modal-cookie {
    color: rgba(255, 255, 255, 1.0);
    background-color: rgba(0, 0, 0, 0.5);
}

#modal-cookie {
    color: #040404;
}

/**
 * workaround to make cookie layer scrollable
 * leads to double scrollbars sometimes
*/
#modal-cookie.show {
    overflow-y: auto;
}

#modal-cookie .modal-header {
    padding: 1em 1em 0 1em;
}

#modal-cookie .modal-header .modal-title {
	font-family: "Runda W05 Bold";
	font-style: normal;
	font-weight: normal;
}

#modal-cookie .modal-header .modal-title:after {
    content: none;
}

#modal-cookie .modal-content {
    background-color: #fff;
    margin: 1em;
}

#modal-cookie .modal-body {

}

#modal-cookie .modal-footer {
    padding: 1em;
}

#modal-cookie .modal-body .container-fluid {
    /*padding: 1em;*/
}

@media (min-width: 768px) {

    #modal-cookie .modal-content {
        margin-left: auto;
        margin-right: auto;
        margin-top: 100px;
        max-width: 574px;
    }

    #modal-cookie .modal-header {
        padding-top: 2em;
    }

    #modal-cookie .modal-header,
    #modal-cookie .modal-body .container-fluid,
    #modal-cookie .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/**
 * Form
 */

#modal-cookie .cookie--group {
    /*margin-top: 1em;*/
}

#modal-cookie .cookie--group .cookie--desc > div {
	font-family: "Runda W05 Normal";
	font-size: 14px;
	letter-spacing: 0.5px;
	line-height: 20px;
    padding-left: 41px;
}

#modal-cookie input[type=checkbox] {
    margin-right: 29px;
	width: 12px;
}


#modal-cookie .btn {
    background-color: #494949;
    color: #fff;
}

#modal-cookie .btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

#modal-cookie .modal-footer button {
    margin-right: 2em;
    margin-bottom: 2em;
}

.modal-header h2 {
	color: #000;
	font-size: 26px;
	line-height: 34px;
}

.modal-header h2:after {
	content: " ";
	margin: 55px 0 30px;
	display: block;
	width: 60px;
	height: 2px;
	background: #222222;
}

#modal-cookie .cookie--group + .cookie--group {
	margin-top: 1rem;
}

.modal-body,
.modal-body th {
	font-family: "Runda W05 Normal";
	font-style: normal;
	font-weight: normal;

	font-size: 20px;
	line-height: 32px;

}

@media (max-width: 640px) {
	.modal-body th,
	.modal-body td {
		font-size: 12px;
		line-height: 20px;

		padding-top: 8px;
		padding-bottom: 8px;

	}

}

.modal-body th,
.modal-body td {
	padding-left: 0;

}

.modal-body td:nth-child(3),
.modal-body td:nth-child(4) {
	text-align: center;

}

.modal-body th {
	font-family: "Runda W05 Normal";
}

.modal-body p {
	font-size: 14px;
	letter-spacing: 0.5px;
	line-height: 20px;
	padding: 0 0 25px 0;
	margin: 0;
}

.modal .modal-footer {
	background: transparent;
	display: table;
	width: auto;
	/*margin-left: auto;*/

}

@media (max-width: 720px) {
	.modal .modal-footer {
		margin-left: -2rem;

	}

}

#modal-cookie .btn,
.modal-footer button {
	background: #ffffff;
	border: 1px solid #1D3965;
	border-radius: 0;
	box-shadow: none;
	color: #000000;
	cursor: pointer;
	float: right;
	font-family: "Runda W05 Normal";
	font-size: 14px;
	letter-spacing: 0.2px;
	line-height: 20px;
	outline: none;
	padding: 5px 24px 7px 24px;
	transition: none;
	text-transform: none;
}

#modal-cookie .btn:hover,
.modal-footer button:hover {
	color: #78FF99;
	background-color: transparent;
}

.modal-footer button#saveAllCookies {
	background: #1D3965;
	border-color: #1D3965;
	color: #ffffff;

}
.modal-footer button#saveAllCookies:hover {
	background-color: #1D3965;
}

.cookie--details-toggle > * {
	display: table;

	font-family: "Runda W05 Normal";
	border: 1px solid currentColor;
	background: #ffffff;
	cursor: pointer;

	font-size: 14px;
	line-height: 32px;

	transition: none;

	border-radius: 0;
	outline: none;
	box-shadow: none;

	padding: 0 2rem;
	padding-top: 3px;

	height: 36px;

	text-transform: uppercase;
	letter-spacing: .5px;

	margin-top: 3rem;
	margin-bottom: 2rem;

}

.cookie--details-toggle [hidden] {
	display: none !important;
}

.cookie--details-toggle > [style="display: none;"] {
	display: none !important;

}
.cookie--details-toggle > [style="display: inline;"],
.cookie--details-toggle > [style="display: table;"] {
	display: table !important;

}

#cookieForm label {
	color: #000;
	display: block;
	font-family: "Runda W05 Bold";
	font-size: 26px;
	font-style: normal;
	font-weight: normal;
	line-height: 34px;
	/*margin-top: 2rem;
	margin-bottom: 1rem;*/
}

#cookieForm [type="checkbox"]:not(:checked), [type="checkbox"]:checked {
	position: static;
	opacity: 1;

}

#modal-cookie .collapse {
    display: block;
}

#modal-cookie .collapsed {
    display: none;
}
