/* Default stylesheet */

:root {
	color-scheme: light dark;

	--primary-color: rgb(145, 65, 0);
	--secondary-color: rgb(94, 42, 0);
	--tertiary-color: rgb(59, 26, 0);

	--text-primary: var(--secondary-color);
	--text-secondary: var(--secondary-color);
	--text-tertiary: var(--secondary-color);
	/*
	--text-primary: rgb(30, 30, 30);
	--text-secondary: rgb(60, 60, 60);
	--text-tertiary: rgb(100, 100, 100);
	*/
	
	--background-color: #fff;

	--text-light-primary: #fff;
	--text-light-secondary: rgb(230, 230, 230);
	--text-light-tertiary: rgb(150, 150, 150);

	--navigation-bg: #fff;
	--navigation-link: var(--text-secondary);
	--navigation-brand-text: var(--secondary-color);

	--border-color: rgb(210, 210, 210);

	--disabled-background: rgb(190, 190, 190);
	--disabled-text: rgb(230, 230, 230);

	--textbox-bg: #fff;
}


@media (prefers-color-scheme: dark) {
	:root {
		--text-primary: #fff;
		--text-secondary: rgb(230, 230, 230);
		--text-tertiary: rgb(150, 150, 150);

		--primary-color: rgb(255, 217, 0);
		--secondary-color: rgb(255, 183, 0);
		--tertiary-color: rgb(255, 132, 0);

		--background-color: rgb(18, 15, 0);

		--navigation-bg: rgb(40, 40, 40);
		--border-color: rgb(60, 60, 60);

		--disabled-background: rgb(20, 20, 20);
		--disabled-text: rgb(130, 130, 130);

		--textbox-bg: rgb(30, 31, 35);
	}
}


html { width: 100%; height: 100%; }

body { 
	width: 100%; 
	height: 100%; 
	margin: 0; 
	background-color: var(--background-color);
	color: var(--text-secondary);
	min-height: 100%;
}


h1,h2,h3,h4,h5,h6 { 
	color: var(--text-primary); 
	font-weight: 400;
}
p { color: var(--text-secondary); }

main {
	color: var(--text-secondary);

	text-align: center;

	border-color: var(--border-color);
	border-width: 1px;
	border-left-style: solid;
	border-right-style: solid;

	position: relative;
	height: auto;
	padding-bottom: 30px;
}
main * {
	color: var(--text-secondary);
}

ul {
	list-style-type: none;
	padding: 0;
}
ul li {
	font-size: 18px;
}

hr {
	height: 0px;
	background-color: var(--border-color);
}
textarea {
	resize: vertical;
}

.object-fit {
	object-fit: contain;
}
.full-width {
	width: 100%;
}
.full-size {
	width: 100%;
	height: 100%;
}
.half-width {
	width: 50%;
}
.row.nopadding {
    margin: 0;
}
.row.nopadding * {
	padding: 0;
}

.contact-form {
	display: block;
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	max-width: 500px;
}
.contact-form * {
	width: 100%;
}
.contact-form input {
	margin-bottom: 10px;
}
.contact-form textarea {
	margin-bottom: 25px;
}

.contact-form img {
	margin-bottom: 10px;
	border-radius: 6px;
}
.contact-form .captcha {
	margin-bottom: 25px;
}
.contact-form .captcha {
	border-style: solid;
	border-radius: 6px;
	border-color: var(--border-color);
	border-width: 1px;
	padding: 10px;
}
.contact-form .captcha img {
	display: block;
	padding: 0 !important;
	width: 100%;
}

.form-control {
	background-color: var(--textbox-bg);
	border-color: var(--border-color);
	color: var(--text-primary);
}
.form-control:focus {
	background-color: var(--textbox-bg);
	color: var(--text-secondary);
}

.default-padding {
	padding-top: 30px;
	padding-left: 20px;
	padding-right: 20px;
}

.longer-text {
	font-family: 'Lingo', serif;
	font-size: 18px;
}

.child-border div:not(:last-child) {
    border-right-style: solid;
    border-right-color: var(--border-color);
    border-width: 1px;
}
.border-bottom {
	border-width: 1px;
	border-color: var(--border-color) !important;
	border-bottom-style: solid;
}
.gallery-image {
	width: 100%;
	height: 100%;
	max-width: 384px;
	max-height: 200px;
	margin-left: auto;
	margin-right: auto;
	object-fit: cover;
}
.gallery-image:hover {
	filter: grayscale(1);
}

#image-fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--background-color);
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	z-index: 100;
}
#image-fullscreen img {
	height: 100%;
	width: 100%;
	object-fit: contain;
	border-radius: 6px;
	overflow: auto;
}
#image-fullscreen p {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	opacity: 0.5;
	background-color: var(--background-color);
}
#image-fullscreen button {
	position: absolute;
	right: 0;
	top: 0;
	border-style: none;
	padding: 4px;
	padding-bottom: 6px;
	width: 60px;
	height: 60px;
	color: #fff;
	font-size: 32px;
	border-top-right-radius: 0;
	border-top-left-radius: 0;
	border-bottom-right-radius: 0;
}

.carousel-custom {
	margin-bottom: 20px;
}
.carousel-custom .carousel-inner {
}
.carousel-custom .carousel-inner .carousel-item img {
	height: 500px;
	object-fit: cover;
}
.carousel-custom.smaller .carousel-inner .carousel-item img {
	height: 300px;
}

.hidden {
	display: none;
}

.absolute {
	position: absolute;
}
.fixed {
	position: absolute;
}
.fixed.full-size {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.absolute.full-size {
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}
.z-2 {
	z-index: 2;
}
.z-1 {
	z-index: 1;
}
.z-0 {
	z-index: 0;
}

.w-50px {
	width: 50px;
}

.d-table {
	display: table;
}
.table-cell {
	display: table-cell;
}
.table-cell.centered {
	vertical-align: middle;
}
.centered {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.navbar-custom {
	background-color: var(--navigation-bg) !important;
	padding-top: 10px;
	padding-bottom: 10px;
	border-color: var(--secondary-color);
	border-width: 1px;
	border-bottom-style: solid;
	font-weight: 400;
}
.navbar-custom:after {
	height: 1px;
	width: 100%;
	background-color: var(--primary-color);
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
}
.navbar-custom .navbar-brand {
    font-size: 20px;
    margin-left: 10px;
    margin-right: 10px;
    color: var(--navigation-brand-text);
}
.navbar-custom .navbar-collapse a {
	color: var(--navigation-link) !important;
    font-size: 18px;
}
.navbar-custom .navbar-toggler {
	border-color: var(--border-color) !important;
}
.navbar-custom .navbar-toggler:hover {
	background-color: var(--border-color);
}

.navbar-custom .navbar-collapse a:hover {
	color: var(--primary-color) !important;
}
.navbar-custom .navbar-collapse a:active {
	color: var(--secondary-color) !important;
}
.navbar-custom .navbar-collapse a:focus {
	outline: 0;
}
.navbar-custom .navbar-brand:hover {
	color: var(--primary-color) !important;
}
.navbar-custom .navbar-brand:active {
	color: var(--secondary-color) !important;
}
.navbar-custom .navbar-collapse .active {
	color: var(--text-tertiary) !important;
	pointer-events: none;
}
.navbar-custom .navbar-collapse ul li {
	width: auto;
}

.navbar-custom .navbar-collapse ul li {
    margin-left: 5px;
    margin-right: 5px;
}

.navbar-custom .navbar-brand .navbar-logo {
	background: url('../img/vector/TBR_Logo.svg');
	height: 40px;
	width: 40px;
	margin-top: -2px;
}

.logo-main {
	background: url('../img/vector/TBR_Logo.svg');
	height: 50px;
	width: 50px;
}

.fixed-bottom {
	margin-bottom: 0;
}

.dropdown-menu {
	color: var(--text-secondary);
	background-color: var(--navigation-bg);
}
.dropdown-menu .dropdown-item:hover {
	color: var(--secondary-color);
	background-color: var(--background-color);
}

.dropdown-menu .dropdown-item.active {
	color: var(--disabled-text);
	background-color: var(--disabled-background);
}

.img-thumbnail {
    background-color: var(--background-color);
    border-color: var(--border-color);
    padding: 0;
}
.gallery {
	margin-left: auto;
	margin-right: auto;
}
.gallery * {
	margin-bottom: 8px;
}

.alert * {
	color: rgba(0, 0, 0, 0.7);
}
.alert strong {
	color: rgba(0, 0, 0, 0.9);
}

#cookie-alert {
	background-color: rgba(252, 3, 107, 0.8);
	border-color: transparent;
}
#cookie-alert * {
	color: #fff;
}
#cookie-alert a {
	text-decoration: underline;
}

.underline {
	text-decoration: underline !important;
}

.text-left {
	text-align: left !important;
}

footer {
	font-size: 11px;
}

footer .close {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

/* DARK MODE AFTER APPLYING STYLE */
@media (prefers-color-scheme: dark) {
	.navbar-toggler-icon {
		filter: invert(1);
	}
	.navbar-custom .navbar-brand .navbar-logo {
		background: url('../img/vector/TBR_Logo_Dark.svg');
	}
	.logo-main {
		background: url('../img/vector/TBR_Logo_Dark.svg');
	}
	.contact-form .captcha img {
		filter: invert(1);
	}
}

@media screen and (min-width: 1024px) {
    .navbar-custom .navbar-collapse ul {
        margin-left: 20px;
    }
}

@media screen and (min-width: 1920px) {
	.carousel-custom .carousel-inner .carousel-item img {
		object-fit: contain;
	}
}

@media screen and (max-width: 767px) {
	.navbar-custom .navbar-collapse ul li {
		border-color: var(--border-color);
		border-width: 1px;
		border-bottom-style: solid;
	}
	.child-border div:not(:last-child) {
    	border-right-style: none;
    	border-bottom-style: solid;
    	border-bottom-color: var(--border-color);
    	border-width: 1px;
	}
	.contact-form {
		width: 75%;
	}
}

