body,h1,h2,h3,h4,h5,h6 {
	font-family: Verdana, Geneva, sans-serif;
}

body, html {
	height: 100%;
	color: #000;
	line-height: 1.8;
	font-size: 1em;
}

body {
	overflow-y: auto;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-overflow-scrolling: touch;
}

input[type="range"] {
	width: 140px;
	margin: 0;
}

.castle-links-asset-padding > * {
    padding: .25em;
}

.castle-links-course-preview {
	margin: auto;
	border: 1px solid white;
	cursor: pointer;
}

.castle-links-mm-1 {
	max-width: 600px;
    margin: auto;
    padding: 1em;
    text-align: center;
	border: 1px solid #404040;
    background: radial-gradient(circle at -50% -50%, #000, transparent 60%), radial-gradient(circle at 150% center, #ac0d0d, transparent 60%), radial-gradient(circle at center bottom, rgba(255, 255, 255, 0.2), transparent 100%), linear-gradient(#000 30%, #080c33 100%);
    color: white;	
}

.castle-links-mm-2 {
	max-width: 600px;
    margin: auto;
    padding: 1em;
    text-align: center;
	border: 1px solid #404040;
    background: radial-gradient(circle at -50% -50%, #000, transparent 60%), radial-gradient(circle at 150% center, #ba1d1d, transparent 60%), radial-gradient(circle at center bottom, rgba(255, 255, 255, 0.2), transparent 0%), linear-gradient(#000 30%, #2e368a 50%, #000 100%);
    color: white;	
}

.castle-links-mm-3 {
	max-width: 600px;
    margin: auto;
    padding: 1em;
    text-align: center;
	border: 1px solid #404040;
    background: radial-gradient(circle at -50% -50%, #000, transparent 60%), radial-gradient(circle at 150% center, #ac0d0d, transparent 60%), radial-gradient(circle at center bottom, rgba(255, 255, 255, 0), transparent 100%), linear-gradient(#000 30%, #3c4178 100%);
    color: white;	
}

.castle-links-modal-open {
	position: fixed !important;
	bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
	overflow: hidden !important;
}

.castle-links-tabs-reverse-assets-filters {
	margin: auto;
	margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 94%;
	display: none;
}

.castle-links-tabs-reverse-assets-filter {
	display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
}

.castle-links-modal-asset-canvas {
    transform: translateX(-50%) !important;
    position: static !important;
    margin-left: 50% !important;
    padding: 0 !important;
    width: auto !important;	
}

.castle-links-asset-image-hide {
	display: none;
}

.castle-links-386-rev-color, .castle-links-ls-rev-color {
    position: relative;
	width: 70px;
    height: 2em;
    margin: 0 auto;
    padding: 10px;
    border: 1px solid #c4c4c4;
    cursor: pointer;
    outline: none;
}

.castle-links-386-rev-color span, .castle-links-ls-rev-color span {
    position: relative;
	top: -8px;
	color: #000000;
}

.castle-links-386-rev-color .dropdown, .castle-links-ls-rev-color .dropdown{
    position: absolute;
	left: -1px;
    right: 0;
    top: 12px;
	height: 236px;
    width: 70px;	
    background: white;
    border-radius: inherit;
    border: 1px solid white;
    font-weight: normal;
    list-style: none;
	padding-inline-start: 0px;
    opacity: 0;
    pointer-events: none;
}

.castle-links-386-rev-color .dropdown:after, .castle-links-ls-rev-color .dropdown:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 100%;
    right: 15px;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: #fff transparent;    
}

.castle-links-386-rev-color .dropdown:before, .castle-links-ls-rev-color .dropdown:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: 100%;
    right: 13px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: rgba(0,0,0,0.1) transparent;    
}

.castle-links-386-rev-color.active .dropdown, .castle-links-ls-rev-color.active .dropdown {
    opacity: 1;
    pointer-events: auto;
}

.castle-links-386-rev-color .dropdown li, .castle-links-ls-rev-color .dropdown li {
    display: block;
	font-size: 8px;
    padding: 4px;
	padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
    color: #000000;
    box-shadow: inset 0 1px 0 rgba(255,255,255,1);
}

.castle-links-386-rev-color .dropdown li:hover, .castle-links-ls-rev-color .dropdown li:hover {
    box-shadow: inset 0 1px 0 rgba(0,0,0,1);
}

.castle-links-anim-fps, .castle-links-anim-fse {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	writing-mode: vertical-lr;
	width: 140px;
}

.castle-links-anim-fps option, .castle-links-anim-fse option {
	padding: 0;
}

.castle-wait-logo {
	filter: grayscale(1) opacity(0.4);
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin: auto;
    transform: translateY(-50%);
    position: fixed;	
}

.castle-wait-logo img {
	max-width: 25vmax;
}

.castle-wait-text {

}

.castle-links-games-select {
	color: white;
	text-transform: uppercase;	
	font-weight: bold;
	width: 50px;
	height: 50px;
	line-height: 50px;
	border-radius: 50%;
	display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;	
	border: 2px solid white;
}

.castle-links-cg-rev-logo, .castle-links-386-rev-logo, .castle-links-ls-rev-logo {
	width: 100%;
}

.castle-links-cg-rev-golfer, .castle-links-386-rev-golfer, .castle-links-ls-rev-golfer {
	position: relative;
    z-index: 9;
	cursor: pointer;
	width: 100px;
    margin: 0 auto;	
}

.castle-links-ls-rev-golfer {
	width: auto !important;
}

.castle-links-386-rev-golfer {
	width: 145px;
}

.castle-links-assets-search-descr {
	width: 86%;
	max-width: 580px;
	margin: auto;
	padding-bottom: 1em;
}

.castle-links-assets {
	display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: wrap;	
}

.castle-links-search-assets {
    border: solid 2px;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    right: 46px !important;
}

.castle-links-reset-assets {
    border: solid 2px;	
}

.castle-links-asset-canvas-blk, .castle-links-asset-canvas-blq, .castle-links-asset-canvas-flc, .castle-links-asset-canvas-flr {
	position: relative;
	width: fit-content;
    margin: 0 auto;
    padding: 1em;
	background-color: #e7e7e7;
}

.castle-links-asset-canvas-blk:after, .castle-links-asset-canvas-blq:after, .castle-links-asset-canvas-flc:after, .castle-links-asset-canvas-flr:after {
    content: attr(data-label);
	color: black;
    position: absolute;
    left: 0px;
    width: 100%;
    bottom: -2em;;
	font-size: 10px!important;
}

.castle-links-asset-canvas-mld, .castle-links-asset-canvas-scr, .castle-links-asset-canvas-cel, .castle-links-asset-canvas-tit, .castle-links-asset-canvas-tga, .castle-links-asset-canvas-gif, .castle-links-asset-canvas-jpg, .castle-links-asset-palette {
	position: relative;
    width: fit-content;
    margin: 0 auto;
}

.castle-links-asset-canvas-mld:after, .castle-links-asset-canvas-scr:after, .castle-links-asset-canvas-cel:after, .castle-links-asset-canvas-tit:after, .castle-links-asset-canvas-tga:after, .castle-links-asset-canvas-gif:after, .castle-links-asset-canvas-jpg:after {
    content: attr(data-label);
	color: black;
    position: absolute;
    left: 0px;
    width: 100%;
    bottom: -2em;;
	font-size: 10px!important;
}

.castle-links-asset-img {
	max-width: 100%;
}

.castle-links-asset {
	position: relative;
    min-width: 200px;
    padding-bottom: 1em;	
}

.castle-links-asset:after {
    content: attr(data-label);
	color: white;
    position: absolute;
    left: 0px;
    width: 100%;
    bottom: 0;
	font-size: 10px!important;
}

.castle-links-top {
	height:45px;
}

.castle-links-bold {
	font-weight: bold;
}

.castle-links-random {

}

.castle-links-random img {
    aspect-ratio: 4/2.85;
}

.castle-links-news-mld {
	width: min-content;
    margin: 0px auto;
	padding: 1em;
    background: #009688;
    color: white;
}

.castle-links-news-access {
	font-weight: bold;
	color: #ffea3c;
}

.castle-links-news-engine-background-small {
	background: url(/img/links/engine.jpg);
	background-position: top 20px center;
	background-repeat: no-repeat;
	background-color: #001b02;		
}

.castle-links-news-engine-background {
	background: url(/img/links/engine.jpg), linear-gradient(to bottom, #001b02, #001b02, #001b02, #001b02, #001b02, #062109, #08280f, #093013, #0e411b, #145424, #1a662c, #217a35);
	background-position: top 20px center;
	background-repeat: no-repeat;
	background-color: #001b02;	
}

.castle-links-news-engine-logo {
	width:50%;
	margin-bottom:1em;
	max-width:190px;	
}

.castle-links-news-engine-topmap {
	width: auto;
    max-height: 300px;
    max-width: 100%;
}

.castle-links-news-engine-crsview-img {
	width: 100%;
    max-width: 320px;	
}

.castle-links-news-engine-option {
}

.castle-links-news-engine-camera-input {
	width:80px;
	text-align:center;	
}

.castle-links-mosaic-r {
	position: absolute;
    display: flex;
    top: 45px;
    bottom: 0px;
    right: 0px;
    justify-content: flex-end;
    height: 320px;	
}

.mosaic-image {
    height: 80%;
	height: auto;
    max-height: 215px;
    width: auto;
	max-width: 100%
}

.mosaic-image-cd {
    max-height: 215px;
    width: 118px;
	height: auto;
	margin: auto;
    margin-top: .5em;
	-webkit-mask-image: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 8%, rgba(0,0,0,1) 9%, rgba(0,0,0,1) 8%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 19%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 100%);	
	mask-image: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 8%, rgba(0,0,0,1) 9%, rgba(0,0,0,1) 8%, rgba(255,255,255,0) 8%, rgba(255,255,255,0) 19%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 100%);	
}

.mosaic-image-disk {
    max-height: 215px;
    width: 104px;
	height: auto;
	margin: auto;
    margin-top: 0.25em;
}

.mosaic-image-disk-35 {
	width: 74px;
}

.mosaic-image-disk-525 {
	width: 104px;
	-webkit-mask-image: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 18%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 100%);
	mask-image: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 18%, rgba(0,0,0,1) 20%, rgba(0,0,0,1) 100%);	
}

.mosaic-image:hover {
	transform: scale(0.85);
}

.mosaic-image-screen{
    height: auto !important;
	width: auto !important;
	max-height: calc( 87.5px - 0.375em);
	aspect-ratio: 4/3;
}

.mosaic-image-boxart{
    max-height: 168px;
	height: auto;	
	aspect-ratio: 5/6.5;
}

.mosaic-image-dummy{
	visibility: hidden;
}

.mosaic-item-shadow {
	filter: drop-shadow(0 0 2px #000000ba);
}

.mosaic-item-shared img, .asset-item-shared img{
	transition: transform 0.3s ease;
}

.mosaic-item, .asset-item{
	padding-top: 0.25em;
    padding-bottom: 0.25em;
    padding-right: 0.25em;
    padding-left: 0.25em;
    flex-direction: column;
	flex-shrink: 0;
	flex-grow: 0;
    display: flex;
    justify-content: flex-start;
    height: 215px;
}

.mosaic-item-end {
    padding-right: 0.25em;
}

.mosaic-item-col{
    flex-direction: column;
    display: flex;
    justify-content: flex-start;
    flex-shrink: 0;
    flex-grow: 0;
	height: 320px;
    gap: 0.25em;
    margin-top: 0.25em;
}

.mosaic-item-row{
    flex-direction: row;
    display: flex;
    justify-content: flex-start;
    flex-shrink: 0;
    flex-grow: 0;
    gap: 0.25em;
    margin-top: 0.25em;
}

.castle-links-header-item {
	max-width: 20%;
}

.castle-links-video-cont {
	max-width:420px;
	aspect-ratio: 16 / 10;
	display: block;
	margin: auto;
	width: 100%;
    height: auto !important;	
}

.castle-links-video {
	position:relative;
}

.castle-links-shadow {
	--shadow-color: 197deg 32% 65%;
    box-shadow: 0 0.5px 0.6px hsl(var(--shadow-color)/.36),0 1.7px 1.9px -0.8px hsl(var(--shadow-color)/.36),0 4.3px 4.8px -1.7px hsl(var(--shadow-color)/.36),-0.1px 10.6px 11.9px -2.5px hsl(var(--shadow-color)/.36);
}

.castle-links-shadow1 {
	border: none !important;
}

.castle-links-break {
	flex-basis: 100%;
    height: 0;	
}

.castle-links-divider {
	position: relative;
    left: 0;
    right: 0;
	background-image: linear-gradient(to right, #ba8a27, #c99828, #d9a629, #e8b42a, #f7c32b);
    width: 100%;
    height: 0.75em;
    z-index: 0;
}

.castle-links-download {
	border: solid 1px black;
    padding: 1em;
    margin: 1em;	
}

.castle-links-screenshot-cont, .castle-links-boxart-cont, .castle-links-promo-cont, .castle-links-manual-cont {
	max-width: 320px;
    align-self: center;	
	margin: inherit;
}

.castle-links-boxart-cont {
	max-width: 300px !important;
}

.castle-links-promo-cont {
	max-width: 340px !important;	
}

.castle-links-boxart-cont1 {
	max-width: 140px !important;
}

.castle-links-boxart-cont2 {
	max-width: 310px !important;
}

.castle-links-manual-cont {
	max-width: 250px !important;
	cursor: pointer;
}

.castle-links-screenshot, .castle-links-boxart, .castle-links-manual {
	width: 100%;
	border: 1px solid #808080cc;
}

.castle-links-manual {
	height: 160px;
    width: auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.castle-links-boxart-disk-35 {
	border-radius: 4px;
    border: none;
    border-bottom-left-radius: 8px;
}

.castle-links-boxart-disk-35ud {
	border-radius: 4px;
    border: none;
    border-top-right-radius: 8px;
}

.castle-links-boxart-disk-525 {
	border-radius: 4px;
	border: none;
}

.castle-links-boxart-disk {
	border-radius: 4px;
}

.castle-links-boxart-cd {
	border-radius: 100%;
    border: 2px solid #00000030;
	max-width: 220px;	
}

.castle-links-media-cont {
	display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
	align-items: flex-end;
    gap: 10px 10px;
}

.castle-links-detail-border {
	border: 1px solid #ccc;	
}

.castle-links-change {
	background-color: #cdf2d8 !important;
}

.castle-links-delete {
	background-color: #f2cdcd !important;
}

.castle-links-wait {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
	height: 100%;
    background: #fffffff5;
	z-index: 20;	
}

.castle-links-pdf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
	height: 100%;
    background: #545454f5;
	z-index: 20;
	display: none;
}

.castle-links-pdf-back {
	width: 100%;
	height: 100%;
    margin: auto;
    text-align: center;
	border: 1px solid #adadad;
    color: white;	
}

.castle-links-pdf-back iframe {
	width: 100%; 
	height: 100%;
}

.castle-links-execM {
	margin-left: 1em;
}

.castle-links-edit div, .castle-links-edit span, .castle-links-edit input, .castle-links-edit select   {
	height: 2em;
	display: flex;
}

.castle-links-edit input, .castle-links-edit select {
	width: 100% !important;
	height: 22px;
}

.castle-links-disabled {
	background-color: #f1f1f1 !important;
	color: auto !important;
    opacity: 1 !important;
}

.castle-links-bg {
	position: relative;
	background-color: #000000;
	background-image: url('../img/links/back-links-e6-r.jpg');	
    background-position: top left 7%;
	background-repeat: no-repeat;
	background-size: cover;	
	min-height: 260px;	
    height: 260px;
	width: 100%;
	z-index: 1;
}

.castle-links-bg-0 {
	background-color: #000000;
	background-image: url('../img/links/back-0.jpg');	
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover;	
	min-height: 16em;
}

.castle-links-bg-1 {
	background-color: #000000;
	background-image: url('../img/links/back-1.jpg');	
	background-position: left;
	background-repeat: no-repeat;
	background-size: cover;	
	min-height: 16em;
}

.castle-links-bg-2 {
	background-color: #000000;
	background-image: url('../img/links/back-2.jpg');	
	background-position: center right;
	background-position-y: 60%;
	background-repeat: no-repeat;
	background-size: cover;	
	min-height: 16em;	
}

.castle-links-bg-3 {
	background-color: #000000;
	background-image: url('../img/links/back-3.jpg');	
	background-position: left;
	background-position-y: 60%;
	background-repeat: no-repeat;
	background-size: cover;	
	min-height: 16em;	
}

.castle-links-bg-4 {
	background-color: #000000;
	background-image: url('../img/links/back-4.jpg');	
    background-position: left;
    background-position-y: 75%;
    background-repeat: no-repeat;
	background-size: cover;	
	min-height: 16em;	
}

.castle-links-cont {
	min-height: 620px;
	margin: auto;
	max-width: 800px;
	position: relative;
	z-index: 5;
	overflow: hidden;
}

.castle-links-cont-spacer-1 {
	height: 62px;
}

.castle-links-box {
    width: 240px;
    left: -10%;
    position: relative;
    bottom: 0px;
	float: left;
	-webkit-appearance: none;
	transform: translateZ(0);
}

.castle-links-tabs-menu {
	color: #ffffff;
	background: none !important;
	position: absolute;
    top: 0px;
    right: 0px;
	z-index: 8;
}

.castle-links-tabs-menu-top {
	color: #ffffff;
	background: none !important;
	position: absolute;
	top: 0px;
    left: 0px;
	z-index: 8;
	display: block;
}

.castle-links-tabs-menu-bot {
	color: #ffffff;
	background: none !important;
	position: absolute;
	bottom: 0px;
    left: 0px;
	z-index: 8;
	display: block;
}

.castle-links-tabs-menu-top-bot {
	color: #ffffff;
	background: none !important;
	position: absolute;
	bottom: -4.5px;
    right: -24px;
    z-index: 8;
}

.castle-links-tabs-menu-sel {
	color: #000000 !important;
}

.castle-links-tabs-mobile-cont {
	position:relative;
}

.castle-links-tabs-mobile {
	position: absolute;
    top: 62px;
    left: 0px;
	right: 0px;
	width: 100%;
	z-index: 7;
	background: #ffffffe0 !important;
}

.castle-links-tab-back {
	padding: 1em;
	background: #ffffff3d;	
	border-radius: 1em;
}

.castle-links-cg, .castle-links-cg-check:before  {
	background-image: linear-gradient(to bottom, #000000, #020202, #040403, #050505, #070707, #101118, #101a26, #062233, #003649, #004b4f, #005e3f, #076f1a);
}

.castle-links-cg-logo {
	width:80%;
	max-width:350px;
}

.castle-links-cg-box {	
    filter: drop-shadow(0em 0em 4em #ffffff50);
}

.castle-links-cg-intro {
    width: 100%;
    height: auto;
}

.castle-links-cg-tab-intro {
	background-color: black;
    padding-top: 2em;
    padding-bottom: 2em;
}

.castle-links-386, .castle-links-386-check:before  {
	background-image: linear-gradient(to bottom, #15101a, #160f1e, #160e22, #150d27, #140c2b, #1b0f32, #251139, #2f113f, #471146, #5f104a, #770d49, #8e0f46);
}

.castle-links-386-logo {
	width: 80%;
    max-width: 500px;
}

.castle-links-386-box {
	filter: drop-shadow(-2em -2em 4em #ffffff70);	
}

.castle-links-ls, .castle-links-ls-check:before  {
	background-image: linear-gradient(to bottom, #074800, #0a5200, #0e5c00, #126600, #167000, #1c7300, #227500, #277800, #2c7400, #306f00, #346b00, #366700);
}

.castle-links-ls-logo {
	width:80%;
	max-width:350px;
}

.castle-links-ls-box {	
	filter: drop-shadow(-2em -2em 4em #ffffff50);
}

.castle-links-lb, .castle-links-lb-check:before  {
	background-image: linear-gradient(to bottom, #201cff, #342dff, #433bff, #5047ff, #5b52ff, #306eff, #0083ff, #0095ff, #00acff, #00bbd9, #00c18b, #00c122);
}

.castle-links-lb-logo {
	width:80%;
	max-width:350px;
}

.castle-links-lb-box {	
	filter: drop-shadow(-2em -2em 4em #ffffff50);
}

.castle-links-ms, .castle-links-ms-check:before  {
	background-image: linear-gradient(to top, #034456, #044656, #054856, #084955, #0b4b55, #124552, #183e4e, #1d3848, #222938, #1f1c25, #161115, #000000);
}

.castle-links-ms-logo {
	width:80%;
	max-width:160px;
}

.castle-links-ms-box {	
	filter: drop-shadow(-2em -2em 4em #ffffff50);
}

.castle-links-list-item, .castle-links-list-item-recent, .castle-links-courses-list-item, .castle-links-cursor-pointer, .mosaic-image {
	cursor: pointer;
}

.castle-links-courses-list-item-icon {
	float: left;	
	margin-right: 1em;    
    width: 4em;
	height: 4em;
    filter: drop-shadow(0 0 1.5px #000000ba);
	border: 1px solid #00000033;
}

.castle-links-cursor-pointer {
	cursor: pointer;	
}

.castle-links-cursor-auto {
	cursor: auto;	
}

.castle-links-search-button {
	height: 46px;
	position: absolute;
    right: 0px;
	top: 0px;
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
}

.castle-links-course-where {
	padding-left: 4px;
	padding-right: 4px;
}

.castle-links-search-bar {
	height:46px;
	border-top-right-radius: 25px;
	border-bottom-right-radius: 25px;
}

.castle-navbar {
	background: #ffffffbf;
	color: #000;
    -webkit-backdrop-filter: blur(.5em);	
	backdrop-filter: blur(.5em);
    transition: backdrop-filter .25s;
    will-change: backdrop-filter;	
}

.castle-navbar-font {
	color: #000;
	background: #fff !important;
}

.castle-navbar-icon {
	font-size: 1.5em;
    position: relative;
    top: 2px;	
}

.castle-header-cont {
	padding-top: 45px;
}

.castle-header-logo {
	position: absolute;
    left: 1em;
    height: 80%;
    bottom: -100px;
    margin: auto 0;
}

.castle-header-logo-img {
	height: 100%;
}

.castle-footer-cont {
	position: relative;
    margin-top: 45px;
    background-color: black !important;
    color: #ffffff !important;
}

.castle-footer-logo {
	position: absolute;
    left: 1em;
    height: 100%;
    top: 0;
    bottom: 0;
    margin: auto 0;	
}

.castle-footer-logo-img {
    height: 20vmax;
    filter: grayscale(1);
    opacity: 0.35;
    max-height: 200px;
    position: absolute;
    bottom: 0px;
}

.castle-footer-logo-txt {
	color: white;
    font-size: xx-small;
    bottom: 3.5em;
    position: absolute;
    width: 86%;
    text-align: center;
    padding-top: 0.5em;
    min-width: 200px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}

.castle-footer-logo-txt img {
	filter: invert(100%) sepia(0%) saturate(4%) hue-rotate(179deg) brightness(103%) contrast(100%);
}

.castle-footer-top {
	position:relative;
	z-index:1;	
}

.castle-footer-text {
	position: absolute;
    bottom: 1.5em;
    width: 100%;
    text-transform: uppercase;
    font-size: xx-small !important;
}

.castle-logo-cont {
	height: 100%;
	margin-left: auto;
    margin-right: auto;	
}

.castle-logo-cont img {
	width: 100%;
}

.castle-quote {
	height: 90%;
	overflow: hidden;
}

.castle-logo-quote {
	line-height: normal;
	left: 10%;
}

.castle-logo-quote div {
	letter-spacing: normal;
	font-size: initial;
}

.castle-news {
	max-height:600px;
	min-height:600px;
	overflow:hidden;
	position: relative;
	cursor: pointer;
}

.castle-news-text-shadow {
	text-shadow: 0px 0px 0.25em black;	
}

.castle-news-item {
    position: absolute;
    max-height: 500px;	
    top: 8em;
    bottom: 1em;
    left: 1em;
    right: 1em;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;	
}

.castle-news-item-text {
	width: 100%;
	padding: 1em;
	line-height: normal !important;
	position: absolute;
    z-index: 1;	
}
 
.castle-news img {
	width: 60%;
}

.castle-upper {
	text-transform: uppercase;
}

.castle-top {
	border-top: 2px solid #D01E1A;
}

.castle-bottom {
	border-bottom: 2px solid #D01E1A;
}

.castle-footer {

}

.castle-links-exec-first {
	display:block;
}

.castle-links-exec-other {
	display:none;
}

.castle-links-list-item-group {
	margin-top: 1em;
	--spacing: 20px;
    --radius: 10px;	
}


.castle-links-list-item-group li {
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;	
	position: relative;  
	border-color: #f44336;
	overflow: unset;
}

.castle-links-list-item-group li::before {
	content: '';
    display: block;
    position: absolute;
    top: calc(var(--spacing) / -2);
    left: -1px;
    width: calc(var(--spacing) - 10px);
    height: calc(var(--spacing) + 8px);
    border: solid #ddd;
    border-width: 0 0 1px 1px;
    border-color: #f44336;
}

.castle-links-list-item-group li:last-child {
	border-color: transparent;
}

#castle-links-list summary {
	cursor: pointer;
	left: -3px;
    position: relative;	
}

#castle-links-list summary span {
	margin-left: 4px;
}

#castle-links-list summary:focus {
	outline: none;
}

#castle-links-list summary:focus-visible {
	outline: 1px dotted #000;
}

.castle-links-list-item-group-child {
	width: calc(100% - 22px);
}

.castle-links-list-item-group-unique {
	padding-left: 13px;
}

.castle-links-list-item-hover:hover {
	background-color: #ccc
}

.castle-links-list-item-name {
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.w3-modal {	
	overscroll-behavior-y: contain;	
}

.w3-top, .w3-bottom {
	z-index: 10;
}

.w3-modal {
	z-index: 20;
}

.w3-wide {
	letter-spacing: 10px;
}

.w3-hover-opacity {
	cursor: pointer;
}

.w3-bar-item {
	text-transform: capitalize;
}

.onoffswitch {
    position: relative; 
	width: 3.5em;
    -webkit-user-select:none; 
	-moz-user-select:none; 
	-ms-user-select: none;
	margin: 1em auto;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; 
	overflow: hidden; 
	cursor: pointer;
    height: 1.5rem; 
	padding: 0; 
	line-height: 1.5rem;
	border: 1px solid #2f2f2f;
    border-radius: 2rem;
    background-color: #00000040;
    transition: background-color 0.1s ease-in;
}
.onoffswitch-label:before {
    content: "";
    display: block; 
	width: 1.5rem; 
	margin: 0px;
    position: absolute; 
	top: 0; 
	bottom: 0;
    right: 24px;
    border: 2px solid #ffffffbd; 
	border-radius: 2rem;;
    transition: all 0.1s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
	box-shadow: 0 0 30px 0px #FFEB3B;
    background-color: #fed267;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
	border-color: #ffffffbd;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px; 
}

pre {
	white-space: pre-wrap;
    text-align: left;
	word-break: break-word;
    -moz-tab-size: 2;
    -o-tab-size: 2;
    tab-size: 2;
}

pre code {
	background-color: #eee;
	border: 1px solid #999;
	display: block;
	padding: 0.5em;
	font-size: .75em;
}

.footerQuickLinksTxtCont {
	position: absolute;
	left: 0px;
	right: 0px;
    top: -25px;
	margin-left: calc(50% - 55px);
}

.footerQuickLinksTxt {	
	border-top: 2px solid #3e3e3e;
    border-top-left-radius: 2em;	
    border-top-right-radius: 2em;
    border-bottom: 1px solid #3e3e3e;
	width: 110px;
    text-align: center;	
}

.footerQuickLinksCont {
	position: relative;
	top: -60px;
    left: 0px;
    right: 0px;
}

.footerQuickLinks {
    position: relative;		
    cursor: pointer;
    outline: none;	
    width: 80%;
    margin: auto;	
}

.footerQuickLinks img {
	border: 1px solid #3e3e3e;
}

.footerQuickLinks .dropdown {
	position: relative;
    font-weight: normal;
    list-style: none;
    padding-inline-start: 0px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 154px), 154px));
	justify-content: center;
	align-content: center;	
    opacity: 0;
    pointer-events: none;
}

.footerQuickLinks .dropdown img {
	display: block;
    width: 100%;
    text-align: center;
}	

.footerQuickLinks .dropdown span {
	display: block;
    width: 100%;
    text-align: center;
}	

.footerQuickLinks.active .dropdown {
    opacity: 1;
    pointer-events: auto;
}

@media only screen and (max-device-width: 1200px) {
	.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-5{
		background-attachment: scroll;
		min-height: 400px;
	}
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
	.w3-modal {
		padding: unset !important;
		background-color: #fff !important;
		-webkit-overflow-scrolling: touch;
	}
	.w3-modal .w3-card-4 {
		box-shadow: none !important;
	}
	.castle-links-asset-canvas-flc, .castle-links-asset-canvas-flr {
		padding: unset !important;
	}	
}