html,body{
  min-height: 100%; /* real browsers */
  height: 100% !important; /* real browsers */
  margin: 0;
}

@font-face {
    font-family: 'vijaya';
    src: url('fonts/vijaya.eot');
    src: local('?'), url('fonts/vijaya.woff') format('woff'), url('fonts/vijaya.ttf') format('truetype'), url('fonts/vijaya.svg#webfontCcgEJp0t') format('svg');
}
@font-face {
    font-family: 'Comfortaa';
    src: url('fonts/Comfortaa-Regular.eot');
    src: local('?'), url('fonts/Comfortaa-Regular.woff') format('woff'), url('fonts/Comfortaa-Regular.ttf') format('truetype'), url('fonts/Comfortaa-Regular.svg#webfontCcgEJp0t') format('svg');
}
@font-face {
    font-family: 'Comfortaa-Bold';
    src: url('fonts/Comfortaa-Bold.eot');
    src: local('?'), url('fonts/Comfortaa-Bold.woff') format('woff'), url('fonts/Comfortaa-Bold.ttf') format('truetype'), url('fonts/Comfortaa-Bold.svg#webfontCcgEJp0t') format('svg');
}

body{
  color:white;
  /*font-weight:bold;*/
background: rgb(0,0,0); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(0,0,0,1) 0%, rgba(69,72,77,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,1)), color-stop(100%,rgba(69,72,77,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(69,72,77,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(69,72,77,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,1) 0%,rgba(69,72,77,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(69,72,77,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#45484d',GradientType=0 ); /* IE6-9 */
}

a, a:visited,a:hover { color:yellow;}

table div span a {
  color:white;
 font-size:120%;
}

#nav { position: relative; margin:0 30px 0 0;padding: 0px;}

#nav li {list-style-type: none;margin-bottom:5px}

#nav a {

width:100px;
border:1px solid #5b2500;
border-radius: 14px;font-size:14px;font-weight:bold;font-family:arial, helvetica, sans-serif; padding: 10px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;

 background-color: #45484d; background-image: -webkit-gradient(linear, left top, left bottom, from(#45484d), to(#000000));
 background-image: -webkit-linear-gradient(top, #45484d, #000000);
 background-image: -moz-linear-gradient(top, #45484d, #000000);
 background-image: -ms-linear-gradient(top, #45484d, #000000);
 background-image: -o-linear-gradient(top, #45484d, #000000);
 background-image: linear-gradient(to bottom, #45484d, #000000);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#45484d, endColorstr=#000000);

}

#nav a:hover {
background-image: -webkit-linear-gradient(top, #2d2f32, #1a1a1a);
 background-image: -moz-linear-gradient(top, #2d2f32, #1a1a1a);
 background-image: -ms-linear-gradient(top, #2d2f32, #1a1a1a);
 background-image: -o-linear-gradient(top, #2d2f32, #1a1a1a);
 background-image: linear-gradient(to bottom, #2d2f32, #1a1a1a);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#2d2f32, endColorstr=#1a1a1a);
}

#nav a.selected {
 background-color: #933C00; background-image: -webkit-gradient(linear, left top, left bottom, from(#933C00), to(#6d0019));
 background-image: -webkit-linear-gradient(top, #933C00, #6d0019);
 background-image: -moz-linear-gradient(top, #933C00, #6d0019);
 background-image: -ms-linear-gradient(top, #933C00, #6d0019);
 background-image: -o-linear-gradient(top, #933C00, #6d0019);
 background-image: linear-gradient(to bottom, #933C00, #6d0019);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#933C00, endColorstr=#6d0019);
}


#nav a span {
    background: #FFFFcc; 
    border-radius: 10px;
    box-shadow: 5px 5px 5px #444;  
    display:block;
    position:absolute;
    z-index: 999;
    top:5px;
    width:200px;
    border:1px solid #ccc;
    padding: 5px;
    color:gray;
    text-align:left;
    left:150px;
    top:20px;
    display: none;
}

#nav a:hover span{
    display: block;
}

#nav a:focus span {
    display: none;
}

#devices > div{display: none;}


/* LED : http://cssdeck.com/labs/css-leds */

.led-white, .led-red, .led-yellow, .led-green, .led-blue, .led-off {
margin:20px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

#devices .bulb.led-white {
   background-color: white;
}

#devices .bulb.led-red {
    background-color: #ff2626;
}

#devices .bulb.led-yellow {
    background-color: #f0ff00;
}

#devices .bulb.led-green {
    background-color: #80ff00;
}

#devices .bulb.led-blue {
    background-color: #01e9ed;
}

#devices .bulb.led-off {
    background-color: #333333;
}

/* End LED */

/* ON OFF Switch: http://proto.io/freebies/onoff/ */

.onoffswitch {
    position: relative; width: 53px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
    float: right;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    height: 29px; padding: 0; line-height: 29px;
    border: 2px solid #FAFAFA; border-radius: 29px;
    background-color: ;
    transition: background-color 0.3s ease-in;
}
.onoffswitch-label:before {
    content: "";
    display: block; width: 29px; margin: 0px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 22px;
    border: 2px solid #FAFAFA; border-radius: 29px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
    background-color: #01adee;
}
.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
   border-color: #01adee;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
    right: 0px; 
}




#commands {
display:none;
}

#commands li {
    list-style-type: none;
    margin:5px;
}

#login a {
color:white;
font-size:120%;
}

/* bestcssbuttongenerator.com */
.redButton {
    box-shadow:inset 0px 34px 0px -15px #b54b3a;
    background-color:#a73f2d;
    border-radius:17px;
    border:1px solid #241d13;
    display:inline-block;
    cursor:pointer;
    color:#ffffff;
    /*font-family:Arial;*/
    font-size:15px;
    font-weight:bold;
    padding:9px;
    text-decoration:none;
    text-shadow:0px -1px 0px #7a2a1d;
    text-align:center;
    /*width: 200px;*/
}
.redButton:hover {
	background-color:#b34332;
}
.redButton:active {
	position:relative;
	top:1px;
}

/* Used by admin/.domain.lsp  */
.tstbtn {
  background: #70767a;
  background-image: linear-gradient(to bottom, #70767a, #18191a);
  border-radius: 12px;
  box-shadow: 0px 1px 2px #666666;
  font-family: Arial;
  color: #ffffff;
  padding: 1px 9px 1px 9px;
  border: solid #404c54 2px;
  text-decoration: none;
}

.tstbtn:hover, .tstbtnpressed {
  background: #1a1b1c !important;
  background-image: linear-gradient(to bottom, #1a1b1c, #7a7f82) !important;
}



.container { max-width: 1170px; margin: 0 auto; height: 100%; /*position: relative; padding-bottom: 145px;*/ }

/*.logged-in-page { background: #010520 url(images/bg-admin-page.jpg) no-repeat fixed top center; }*/
.logged-in-page {
    background: #010520;
}

/* Animated Christmas background */
#christmas-background {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    height: auto;
    max-width: none;

    z-index: 0;
    pointer-events: none;
}

/* Mobile background adjustments */
@media screen and (max-width: 768px) {
    #christmas-background {
        width: 100vw;
        height: 100dvh;
        min-height: 100vh;

        object-fit: cover;
        object-position: center center;
    }
}

/* Keep page content above video */
.logged-in-page > .container {
    position: relative;
    z-index: 2;
}

/* Keep existing star canvas above video */
.logged-in-page > canvas,
#stars-canvas {
    position: fixed;
    z-index: 1;
    pointer-events: none;
}

.content-wrap { max-width: 700px; padding: 50px 0 150px; margin: 0 auto -95px; font-family: 'Comfortaa'; min-height: 100%; box-sizing: border-box; }
.content-wrap:after { content: ""; display: block; height: 10px; }

.page-title {
    background: #c1201e;
    max-width: 608px;
    max-height: 68px;
    font-family: 'Comfortaa';
    margin: 0 auto 10px auto;
    text-align: center;
    font-size: 31px;
    line-height: 68px;
    position: relative;
    box-sizing: border-box;
    text-shadow: 3px 3px 6px #333333;
    font-weight: 400;
    padding-left:55px;

    background-image: url('images/snow/s1.png'), url('images/snow/s2.png'), url('images/snow/s3.png');
    animation: snow 10s linear infinite;
}

@keyframes snow {
  0% {background-position: 0px 0px, 0px 0px, 0px 0px;}
  50% {background-position: 500px 500px, 100px 200px, -100px 150px;}
  100% {background-position: 500px 1000px, 200px 400px, -100px 300px;}
}

.page-title::before { content: ""; width: 169px; height: 150px; background: url(images/title-left-ribbon.png) no-repeat; position: absolute; left: -30px; top: -25px; }
.page-title::after { content: ""; width: 46px; height: 68px; background: url(images/title-right-ribbon.png) no-repeat; position: absolute; right: -25px; top: 0; }

.breadcrumb { font-size:20px;text-align: center; position:relative; z-index:10;}
.breadcrumb a { color: #ead298;}
.domain-list { float: left; max-width: 338px; }
#add_domain_form { float: right; max-width: 338px; }
#add_domain_form fieldset { border: none; text-align: right; margin: 0; padding: 0; }
.domain-container { padding-top: 15px; }

.domain-names { width: 293px; min-height: 80px; color: white; position: relative; font-size: 23px; line-height: 80px; float: right; padding-left: 45px; box-sizing: border-box; }
.domain-names::before { content: ""; width: 80px; height: 80px; background: url(images/icon-domain-name.png) no-repeat; position: absolute; left: -45px; top: 0; }
.add-domain-names { width: 293px; min-height: 80px; color: white; position: relative; font-size: 23px; line-height: 80px; float: right; padding-left: 45px;  margin-bottom: 12px; box-sizing: border-box; }
.add-domain-names::before { content: ""; width: 80px; height: 80px; background: url(images/icon-add-domain.png) no-repeat; position: absolute; left: -45px; top: 0; }

.domain-list table { width: 293px; padding-top: 10px; float: right; }
.domain-list table tr { background: rgba(193, 32, 30, 0.3); min-height: 52px; }
.domain-list table tr td { border: 1px solid #c1201e; border-left: 5px solid white; /*line-height: 52px;*/ color: white; padding-left: 10px; max-width: 293px; word-wrap: break-word; }
.domain-list table tr td a { font-size:24px; color: white; line-height: 30px; display: block; padding: 8px 0; }

#add_domain_form input[type="text"] { background: rgba(193, 32, 30, 0.3); border: 1px solid #c1201e; box-sizing: border-box; color: white; font-size: 16px; height: 50px; padding: 5px; width: 293px; border-left: 3px solid #e3c478; font-family: 'Comfortaa'; }
.manage-domains #add_domain_form input[type="submit"] { display: inline-block; }

.alert-no-conn { padding: 15px 0; }
.alert-no-conn span { color: #eedeb3; }

#dlinks {
  list-style: none;
  padding: 0;
}
#dlinks li { width: 338px; height: 52px; line-height: 52px; padding-left: 10px; box-sizing: border-box; }
#dlinks li:first-child { background: rgba(255,0,0,0.5); border-left: 5px solid white; float: left; }
#dlinks li:nth-child(2) { background: rgba(255,0,0,0.5); border-left: 5px solid white; float: right; }
#dlinks li a { color: white; text-decoration: none; border-bottom: 1px solid yellow; }

input.priority {width:100%;}

#securityfield input[type="number"] {
width: 30px;
text-align:center;
}

#terminate_service_form fieldset { border: none; margin: 0; padding: 0; }
#terminate_service_form legend { border-bottom: 2px solid #06264c; margin-bottom: 18px; padding-bottom: 15px; width: 100%; }
.domain-page .content-wrap { padding-bottom: 80px; }

.cred-username { background: rgba(11,15,59,0.8); width: 293px; min-height: 80px; color: white; position: relative; font-size: 23px; line-height: 80px; float: right; padding-left: 45px; box-sizing: border-box; margin-left: 45px; }
.cred-username::before { content: ""; width: 90px; height: 90px; background: url(images/icon-username.png) no-repeat; position: absolute; left: -45px; top: -5px; }
.cred-username input, .cred-password input { background: rgba(173, 44, 33, 0.6); border: none; color: white; font-size: 23px; height: 50px; padding-left: 5px; padding-right: 10px; max-width: 230px; }
.cred-password { width: 293px; min-height: 80px; color: white; position: relative; font-size: 23px; line-height: 80px; float: right; padding-left: 45px;  margin-bottom: 12px; box-sizing: border-box; }
.cred-password::before { content: ""; width: 89px; height: 90px; background: url(images/icon-password.png) no-repeat; position: absolute; left: -45px; top: -5px; }
#add_domain_form .fieldset input[type="password"] { background: rgba(173, 44, 33, 0.6); border: none; box-sizing: border-box; color: white; font-size: 16px; height: 50px; padding: 5px; width: 293px; border-left: 3px solid #e3c478; }
#credentials_form input:focus, #login_form input:focus { outline: none; }
#login_form { padding-top: 35px; }
#login_form .cred-username { width: 285px; margin: 0 auto; float: none; background: none; padding-left: 0; }
#login_form .cred-password { width: 285px; margin: 0 auto; float: none; padding-left: 0; }
#login_form .cred-username input, #login_form .cred-password input { max-width: 200px; vertical-align: top; background: rgba(193, 32, 30, 0.3); border: 1px solid #c1201e; border-left: 5px solid #FFFFFF; }
#login_form .cred-username::before, #login_form .cred-password::before { display: none; }
#login_form img { max-width: 52px; float: left; margin-right: 8px; }
#login_form .button input { font-size: 24px; padding: 16px 20px 12px; text-transform: uppercase; }
#login_form .fieldset { padding-left: 55px; }

.form-image { width: 180px; float: left; margin-left: 30px; }
.form-image img { max-width: 100%; margin: 18px 0 0 0; }
#credentials_form .cred-username, #credentials_form .cred-password { background: none; width: auto; float: none; margin-left: 0; padding-left: 20px; }
#credentials_form .cred-password { min-height: 52px; line-height: 52px; }
#credentials_form .cred-username::before, #credentials_form .cred-password::before { display: none; }
#credentials_form .cred-username input, #credentials_form .cred-password input { background: rgba(193, 32, 30, 0.3); border: 1px solid #c1201e; border-left: 5px solid #FFFFFF; }
#credentials_form .fieldset input[type="password"] { background: rgba(193, 32, 30, 0.3); border: 1px solid #c1201e; box-sizing: border-box; color: white; font-size: 23px; height: 50px; padding: 5px; width: 250px; border-left: 5px solid #FFFFFF; display: block; margin-left: 20px; }
#credentials_form .button { margin: 20px auto 0; display: block; max-width: 150px; text-transform: uppercase; }
.field_container { width: 280px; float: left; }

.manage-domains .domain-names::before, .manage-domains .add-domain-names::before { display: none; }
.manage-domains #add_domain_form { float: none; margin-left: 210px; }
.manage-domains #add_domain_form .button { min-width: 150px; margin-top: 30px; margin-right: 65px; }
.manage-domains #add_domain_form .button input { text-transform: uppercase; }
.manage-domains #add_domain_form input[type="text"] { border-left: 5px solid #ffffff; }
.manage-domains .domain-names, .manage-domains .add-domain-names { text-align: center; padding-left: 0; margin-bottom: 0; }
.manage-domains .form-image img { margin: 40px 0 0 0; }

.useful-links { padding: 15px 0 0; list-style: none; }
.useful-links li { margin: 5px 0; }
.useful-links a { text-decoration: none; color: white; }

#config_form { margin-top: 15px; margin-bottom: 30px; }
#config_form fieldset { border: none; margin: 0 0 30px; padding: 0; }
#config_form legend { border-bottom: 2px solid #06264c; margin-bottom: 18px; padding-bottom: 15px; width: 100%; }
#config_form input[type="text"],#config_form input[type="time"] { background: rgba(173, 44, 33, 0.6); border: none; box-sizing: border-box; color: white; font-size: 16px; font-weight:bold; height: 50px; padding: 5px; width: 293px; border-left: 3px solid #e3c478; }
#config_form table tr td:first-child { width: 100px; }

.chml-title { font-family: 'vijaya'; color:#FFFFFF; text-align:center; font-size: 40px; margin-bottom: 45px; display: block; font-weight: 400; }
#devices tr:nth-child(2) td { border-top: none !important; }
#devices tr:first-child td { border-bottom: none !important; }
#devices td:first-child { width:75px; }

#commands .redButton, .button {
	display: inline-block;
	-webkit-box-sizing:border-box;
	   -moz-box-sizing:border-box;
	        box-sizing:border-box;
	min-width:190px;
	/*padding: 17px 10px;
	font-family: 'Lobster', cursive;*/
	margin-top: 12px;
	font-size: 22px;
	line-height: 26px;
	text-decoration: none;
	color: #FFF;
	text-shadow: 0 1px 2px rgba(0,0,0,0.75);
	text-align: center;
	background: #5e0d0c;
	outline: none;
	border-radius: 15px;
	border: 1px solid #4c0300;
	box-shadow:
		inset 1px 1px 0px rgba(255,255,255,0.25), /* highlight */
		inset 0 0 6px #a23227, /* inner glow */
		inset 0 80px 80px -40px #ac3223, /* gradient */
		1px 1px 3px rgba(0,0,0,0.75); /* shadow */
		
	position: relative;
	overflow: visible; /* IE9 & 10 */
	-webkit-transition: 500ms linear;
	   -moz-transition: 500ms linear;
	     -o-transition: 500ms linear;
					transition: 500ms linear;
}

#commands .redButton::before, .button::before {
	content: '';
	display: block;
	position: absolute;
	top: -7px;
	left: -3px;
	right: 0;
	height: 23px;
	background: url(images/cloud-left.png) no-repeat 0 0,
	url(images/cloud-middle.png) no-repeat 50% 0,
	url(images/cloud-right.png) no-repeat 100% 0;
	
}
#commands .redButton:hover, .button:hover {
	background: #a61715;
	text-shadow: 0 1px 2px rgba(0,0,0,0.75), 0 0 40px #FFF;
	box-shadow:
		inset 1px 1px 0px rgba(255,255,255,0.25), /* highlight */
		inset 0 0 6px #da3b2c, /* inner glow */
		inset 0 80px 80px -40px #dd4330, /* gradient */
		1px 1px 3px rgba(0,0,0,0.75); /* shadow */
		
}

.public-page .content-wrap { padding: 40px 0 0px; }
.public-page #devices { max-width: 400px; background: rgba(54, 61, 113, 0.15); padding: 0px; box-sizing: border-box; margin: 0 auto; width: 100%; }
.public-page #devices tr td { border-bottom: 1px solid rgba(54, 61, 113, 0.15); }
.public-page #devices tr:first-child td { border-top: none; }
.public-page #devices tr:last-child td { border-bottom: none; }
#commands { margin: 25px auto 0; max-width: 400px; padding: 0; }
#commands li { margin: 5px 0; width: 190px; float: left; }
#commands li:nth-child(even) { float: right; }
.public-page #login { margin: 30px 0 0; text-align: center; }

.button input { background: none; border: none; color: #ffffff; font-size: 20px; margin: 0; padding: 20px 20px; }
#login_form .button { margin: 3px auto 0; display: block; max-width: 150px; min-width: 150px; }
#login_form .button input { width: 150px; }
.public-page #commands .redButton { padding: 17px 10px; }
#devices tr td:nth-child(2) { padding-bottom: 4px; }


input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px rgba(255,255,255,0) inset;
}
.footer p { border-top: 2px solid #02397c; color: #01397b; font-family: "Comfortaa"; margin: 5px 0 10px; padding: 10px 0; }

#devices .bulb {
  background: white;
  border-radius: 50%;
  display: inline-block;
  width: 50px;
  list-style: none;
  margin: 20px;
  padding: 0;
  position: relative;
  height: 24px;
  box-shadow: 0px 0px 20px #fff;
}
#devices .bulb::before {
  background: #777777;
  border-radius: 3px;
  content: "";
  height: 9.33333px;
  left: -5px;
top: 2px;
  position: absolute;

  width: 10px;
  height: 20px;
}

.donation {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 55%;
  -webkit-tap-highlight-color: transparent;
  cursor: default !important;        /* no pointer cursor */
}
.newlogo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 40%;
  -webkit-tap-highlight-color: transparent;
  cursor: default !important;        /* no pointer cursor */
}
.aboutlogo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 35%;
  -webkit-tap-highlight-color: transparent;
  cursor: default !important;        /* no pointer cursor */
}
.footer { padding-left: 10px; }
.public-page.lights-loaded .footer {  }

#helpb {float: right;opacity: 0.5;padding:25px 10px 0 0}

.pub-content { text-align: center; }
.no-public-access .content-wrap { padding: 40px 0 100px; }
.no-public-access .pub-content a { color: #FFF; padding-top: 20px; display: inline-block; }
.form-content-wrapper:after { clear: both; display: table; content: ""; }

@media screen and (max-width: 768px) {
	.logged-in-page { background-size: 768px 467px; }

    .content-wrap { padding: 0 0 100px; }
    .page-title::before, .page-title::after { display: none; }
    .page-title { max-width:100%;max-height: 200px; line-height: 38px; padding: 15px 0; }
    .domain-list { float: none; /*max-width: 100%;*/ margin: 0 auto; }
    #add_domain_form { float: none; /*max-width: 100%;*/ margin: 0 auto; }
    #login_form .cred-password { /*margin-right: 0; margin-top: 15px;*/ }
    #add_domain_form fieldset { margin: 0 auto; max-width: 293px; }
    .add-domain-names { float: none; margin: 20px auto 12px; }
    .domain-list table { float: none; margin: 0 auto; }
    .domain-names { float: none; margin: 0 auto; }
    #login_form .fieldset { text-align: right; }
    #dlinks li { float: none !important; margin-bottom: 10px; width: 300px; }
    .chml-title { margin-bottom: 30px; line-height: 40px; }
	
	.form-image { display: none; }
	.domain-list { float: none; margin: 0 auto; }
	.manage-domains #add_domain_form { margin-left: auto; }
	.field_container { float: none; margin: 0 auto; }
}

@media screen and (max-width: 420px) {
	#commands li { float: none !important; margin: 15px auto; }
	.footer img { display: block; margin: 0 auto; }
}

body{
	margin:-2px 0 0 -2px;
	padding:0;
	}

ul.gsd li ul a
{
border:1px solid #c1201e;
color:#fafafa;
text-align:center;
width:auto;
border-radius:0;
padding:0;
display:block;
font-size:16px;
font-weight:bold;
text-decoration:none;
font-family:"Comfortaa";
background:none;
}

ul.gsd li ul
{
	padding: 0;
	border: 1px solid #c1201e;
	width: 200px;
	display: none;
	position: absolute;
	list-style-type: none;
	top: 51px;
	background: #c1201e;	
}

ul.gsd li:hover > ul
{
display:block;
-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

ul.gsd > li:hover
{
margin:0;
padding:0;
}

ul.gsd li li
{
margin:0;
float:none;
display:block;
}

ul.gsd li ul a:hover
{
color:#fafafa;
background:#000000;
-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

ul.gsd a
{
color:#fafafa;
background:#08072f;
border:1px solid #FFFFFF;
font-size:16px;
font-weight:bold;
text-decoration:none;
font-family:"Comfortaa";
padding:0;
margin:0;
width:50px;
height:50px;
line-height:50px;
text-align:center;
vertical-align:middle;
display:block;
}

ul.gsd > li:hover > a
{
color:#dac72a;
border-color:#dac72a;
-webkit-transition: all 1s ease-in-out;
	-moz-transition: all 1s ease-in-out;
	-ms-transition: all 1s ease-in-out;
	-o-transition: all 1s ease-in-out;
	transition: all 1s ease-in-out;
}

ul.gsd
{
list-style-type:none;
margin:0;
border:1px solid #ffffff;
background:#ffffff;
background: -moz-linear-gradient(top,  #FFFFFF 0%, #FFFFFF 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#FFFFFF));
background: -webkit-linear-gradient(top,#FFFFFF 0%,#FFFFFF 100%);
background: -o-linear-gradient(top,#FFFFFF 0%,#FFFFFF 100%);
background: -ms-linear-gradient(top,#FFFFFF 0%,#FFFFFF 100%);
background: linear-gradient(top,#FFFFFF 0%,#FFFFFF 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF',endColorstr='#FFFFFF',GradientType=0s);
display:table;
padding:0;
position:absolute;
}

ul.gsd li
{
display:inline;
float:left;
margin:0;
}

ul.gsd li ul:hover {
	color: #000000;
}

/* animation */
.animated {
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-ms-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-moz-animation-duration: 1s;
	-ms-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
}
@-webkit-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@-moz-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@-o-keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

@keyframes fadeIn {
	0% {opacity: 0;}	
	100% {opacity: 1;}
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	-moz-animation-name: fadeIn;
	-o-animation-name: fadeIn;
	animation-name: fadeIn;
}

@-webkit-keyframes fadeInLeft {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-20px);
	}
	
	100% {
		opacity: 1;
		-webkit-transform: translateX(0);
	}
}

@-moz-keyframes fadeInLeft {
	0% {
		opacity: 0;
		-moz-transform: translateX(-20px);
	}
	
	100% {
		opacity: 1;
		-moz-transform: translateX(0);
	}
}

@-o-keyframes fadeInLeft {
	0% {
		opacity: 0;
		-o-transform: translateX(-20px);
	}
	
	100% {
		opacity: 1;
		-o-transform: translateX(0);
	}
}

@keyframes fadeInLeft {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}
	
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.fadeInLeft {
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;
}

.txt {
padding-left: 4px;
}	

/* Weather banner: participates in layout and controls spacing to the table */
.weather{
  display: none;                 /* shown by JS when needed */
  position: static;
  margin: 0px auto 0px;         /* small gap under logo, comfy gap above switches */
  font-size: 14px;
  text-align: center;
  opacity: 0.6;
  -webkit-animation: pulsate 2s ease-out infinite;
  max-width: 400px;              /* align with #devices width */
  padding: 0 8px;
}
.weather a {
  display: inline-block;  /* centers text cleanly inside */
  text-align: left;
  text-decoration: none;
  color: yellow;          /* keeps your theme */
  margin: 0;
  padding: 0;
}
@-webkit-keyframes pulsate {
  0% { opacity: 0.6; }
  50% { opacity: 1.0; }
  100% { opacity: 0.6; }
}

/* Header row: hamburger + centered logo */
.header-bar{
  display: grid;
  grid-template-columns: 80px auto 90px;  /* nav | logo | spacer (balanced) */
  align-items: center;
  margin: 0;
  padding: 0;
  margin-bottom: -24px;                   /* closes the gap below the header */
}

/* keep the nav on the left; no vertical offset */
.header-bar nav{
  justify-self: start;
  margin: 0;
  padding: 0;
  line-height: 1;
  transform: none !important;
  margin-top: -85px;
}

/* centered logo; no offsets; override any global width rule */
.header-bar .aboutlogo{
  justify-self: center;
  height: 100px;
  width: auto !important;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  margin: 0;
  margin-bottom: 0px;
}

/* let the weather control spacing to the table */
.public-page #devices{ margin-top: 0; }

/* keep page top tight */
.container, .content-wrap{
  margin-top: 0;
  padding-top: 0;
  margin-top: -25px;
}

/* If you keep a global .newlogo rule elsewhere, this header-scoped rule above overrides it */
.header-bar,
.header-bar nav {
  position: relative;
  z-index: 5000;
}

.donation {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  transform: translateY(0px);
  cursor: default !important;        /* no pointer cursor */
  position: relative;
  z-index: 50;
}

/* default (santa) */
#imgClick.donation{
  width: 50%;
  cursor: default !important;        /* no pointer cursor */
}

/* smaller for the other easter egg images */
#imgClick.is-egg{
  width: 40%;
  transform: translateY(40px);
  cursor: default !important;        /* no pointer cursor */
  position: relative;
}

/* Prevent tap highlight / selection on footer image */
#imgClick{
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

#imgClick:focus,
#imgClick:active{
  outline: none;
}

/*NAV Menu*/

/* =========================================
   Christmas Navigation - Frosted Glass
   ========================================= */

/* Keep dropdown anchored to hamburger */
ul.gsd > li {
    position: relative;
}

/* Frosted glass dropdown panel */
body ul.gsd li ul {
    background: rgba(20, 25, 60, 0.7);
    background-image: none;

    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 18px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);

    width: 225px;
    max-width: calc(100vw - 16px);

    padding: 10px;
    top: 52px;
    left: 0;

    overflow: hidden;
    z-index: 500;

    /* Override old gradient filters */
    filter: none;
}

/* Individual menu links */
body ul.gsd li ul a {
    display: block;
    width: 100%;
    height: auto;
    line-height: 1.4;

    background: transparent;
    background-image: none;

    border: none;
    border-radius: 12px;

    color: #ffffff;
    font-family: "Comfortaa", sans-serif;
    font-size: 16px;
    font-weight: normal;

    padding: 15px 12px;
    text-align: center;
    text-decoration: none;

    filter: none;

    transition: background 0.25s ease;
}

/* Highlight hovered item */
body ul.gsd li ul a:hover,
body ul.gsd li ul a:focus-visible {
    background: rgba(255, 255, 255, 0.10);
    background-image: none;
    color: #ffffff;
}

/* Preserve keyboard navigation */
body ul.gsd > li:focus-within > ul {
    display: block;
}

/* Mobile */
@media screen and (max-width: 768px) {
    body ul.gsd li ul {
        width: 225px;
        left: 0;
    }
}

/* Prevent navigation animation from interfering with frosted glass */
nav.animated.fadeIn {
    animation: none !important;
    opacity: 1 !important;
}