/* Modal */

.modal-fader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 99998;
  background: rgba(0,0,0,0.8);
}
.modal-fader.active {
  display: block;
}

.modal-window {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  font-family: 'Open Sans', 'Lucida Sans Unicode', 'Lucida Grande', Garuda, sans-serif;
  top: 0px;
  color: #7d7d7d;
  max-width:700px;
  overflow-y:auto;
  max-height:100%;
}
.modal-window.active {
  display: block;
}
.modal-window h1,
.modal-window h2,
.modal-window h3,
.modal-window h4,
.modal-window h5,
.modal-window h6 {
  margin: 0;
}

.modal-btn {
  background: #7d4400;
  border: none;
  color: #fff;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 3px;
  text-decoration: none;
}
.modal-header {
	position:relative;
	padding-bottom:20px;
	border-bottom:1px solid #dee2e6;
}
.modal-title {
	font-weight:bold;
	color:#254151;
	font-size:16px;
	padding-right:40px;
}
.modal-header .modal-btn {
	position:absolute;
	top:0px;
	right:0px;
	line-height:20px;
}
@media (max-width: 991px) {
	.modal-window {
	  left: 25%;
	  transform: translateX(-18%);
	}
}
@media (max-width: 767px) {
	.modal-window {
	  left: 0px;
	  transform: translateX(0px);
	  top:0px;
	  max-width:700px;
	}
}

/* Cookie Consent */

#twaCookieConsent {
	font-size:14px;
}
#twaCookieConsent .table {
	border:1px solid #dee2e6;
	border-collapse: collapse;
	font-size: 12px;
}
#twaCookieConsent .table tbody, 
#twaCookieConsent .table td, 
#twaCookieConsent .table tfoot, 
#twaCookieConsent .table th, 
#twaCookieConsent .table thead, 
#twaCookieConsent .table tr {
  border-color: inherit;
  border:1px solid #dee2e6;
  font-size:12px;
}
#twaCookieConsent .table th,
#twaCookieConsent .table td {
	padding: .25rem .25rem;
}

#twaCookieConsent .collapse {
	display:none;
}

#twaCookieConsent .btn {
	background-color: #7d4400 !important;
  border-color: #7d4400 !important;
  color: #FFFFFF !important;
  border:none;
  border-radius: 30px;
  padding:5px 30px;
  transition: all .3s ease-in-out;
  font-size:14px;
}
#twaCookieConsent .btn:hover {
	cursor:pointer;
	background-color:#f9d157 !important;
	border-color: #f9d157 !important;
	color:#2e404b !important;
}
#twaCookieConsent .modal-header .btn {
	padding:5px 10px;
	border-radius:50%;
}
hr {
	margin: 0;
  color: inherit;
  border:0;
  border-top: 1px #dee2e6 solid;
}
#twaCookieConsent p {
	line-height: 18px;
	padding:10px 0px;
}
#twaCookieConsent small {
	font-size:12px;
	font-weight:normal;
}
#twaCookieConsent .custom-control {
	padding:10px 0px;
}
#twaCookieConsent .custom-control label {
	color:#254151;
}
#twaCookieConsent a {
	color: #ff9900 !important;
	font-size:inherit;
}

.twaCookieConsentSettings {
	padding:6px 0px 0px 0px;
}
#twaCookieConsentCta {
	padding:20px 0px 0px 0px;
}
@media (max-width: 991px) {
	#twaCookieConsentCta .align-right {
		text-align:left !important;
	}
}
/*
@media (max-width: 767px) {
	.twaCookieConsentSettings {
		padding:16px 0px 0px 0px;
	}
}
*/