/***********************************************
Copyright (c) 2007-2024, Wide Web. All Rights Reserved.
https://www.WideWeb.com.au
***********************************************/
#theme_menu {
	position: absolute;
	top: 10px;
	left: 10px;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	transition: all .3s ease .0s, color .0s ease .0s;
}
#theme_menu > li {
	margin: 0px;
	padding: 2px 20px 2px 0px;
	display: inline-block;
}

#theme_menu li > input[type="checkbox"] {
	display: none;
}

#theme_menu li > input[type="checkbox"] + label {
	padding: 2px 15px 2px 0px;
	max-width: 35px;
	max-height: 40px;
	font-weight: bolder;
	white-space: nowrap;
	text-decoration: none;
    text-transform: lowercase;
    font-variant: small-caps;
	background-color: rgba(255,255,255,0);
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
	overflow: hidden;
	transition: all .3s ease .6s, color .0s ease .0s;
	cursor: pointer;
	display: block;
}
#theme_menu li > input[type="checkbox"]:checked + label {
	max-width: 120px;
	background-color: rgba(0,0,0,0.8);
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
	transition: all .3s ease .0s, color .0s ease .0s;
}

#theme_menu li > input[type="checkbox"] + label + ul {
	position: absolute;
	transition: all .3s ease-out .3s, color .0s ease .0s;
	max-height: 0px;
	overflow: hidden;
}

#theme_menu li > input[type="checkbox"]:checked + label + ul {
	transition: all .3s ease-in .15s, color .0s ease .0s;
	max-height: 500px;
}


html #theme_menu > li > input[type="checkbox"] + label::before {
	margin: 5px 10px 5px 10px;
	padding: 0px;
	width: 30px;
	height: 30px;
    background-image: url('../image/theme_icon.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
	border-radius: 30px;
	vertical-align: middle;
	box-shadow: 0px 0px 0px 1px rgba(127,127,127,0.5), 0px 0px 0px 3px rgba(255,255,255,1);
	content: '';
	display: inline-block;
}
html #theme_menu > li > input[type="checkbox"]:checked + label::before {
	box-shadow: 0px 0px 0px 1px rgba(127,127,127,0.5), 0px 0px 0px 3px rgba(255,255,255,0);
}

html #theme_menu > li > input[type="checkbox"] + label::before {
	background-color: #003161;
	transition: all .2s ease-out .0s, color .0s ease .0s;
}
html.dark #theme_menu > li > input[type="checkbox"] + label::before {
	background-color: #333333;
}
html.light #theme_menu > li > input[type="checkbox"] + label::before {
	background-image: url('../image/theme_light_icon.svg');
	background-color: #F8F8F8;
}
html #theme_menu > li > input[type="checkbox"]:not(:checked) + label:hover::before {
	box-shadow: 0px 0px 0px 1px rgba(127,127,127,0.5), 0px 0px 0px 3px #FF3E00;
}

html #theme_menu {
	color: #FFFFFF;
	transition: all .3s ease .0s, color .0s ease .0s;
}
html.dark #theme_menu {
	color: #FFFFFF;
}
html.light #theme_menu {
	color: #FFFFFF;
}










#theme_switch {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	background-color: rgba(0,0,0,0.8);
	border-top-left-radius: 0px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 10px;
	transition: all .3s ease .0s, color .0s ease .0s;
}
#theme_switch li {
	margin: 0px;
	display: block;
}
#theme_switch li input[type="radio"] {
	display: none;
}
#theme_switch li label {
	margin: 0px;
	padding: 2px 10px 2px 5px;
	font-weight: lighter;
	white-space: nowrap;
	cursor: pointer;
	display: block;
}
#theme_switch li input[type="radio"]:checked + label {
	
}
#theme_switch li input[type="radio"] + label::before {
	margin: 5px 10px 5px 5px;
	padding: 0px;
	width: 30px;
	height: 30px;
	border-radius: 30px;
	vertical-align: middle;
	box-shadow: 0px 0px 0px 1px rgba(127,127,127,0.5), 0px 0px 0px 3px transparent;
	content: '';
	transition: all .3s ease .0s, color .0s ease .0s;
	display: inline-block;
}
#theme_switch li input[type="radio"]:checked + label::before {
	box-shadow: 0px 0px 0px 1px rgba(127,127,127,0.5), 0px 0px 0px 3px #FF3E00;
}



#theme_switch li input[type="radio"] + label[for="theme_trade_local"]::before {
	background-color: #003161;
}
#theme_switch li input[type="radio"] + label[for="theme_dark"]::before {
	background-color: #333333;
}
#theme_switch li input[type="radio"] + label[for="theme_light"]::before {
	background-color: #F8F8F8;
}








/* themes */
html body {
	transition: background-color .1s ease-in .0s;
}
html body #search_trade fieldset {
	transition: background-color .1s ease-in .0s, background-image .1s ease-in .0s;
}
html body div.trades_result_msg {
	transition: box-shadow .1s ease-in .0s;
}



html.dark body {
	background-color: #222222;
}
html.dark body #header #logo {
	background-image: url(../image/tradelocal_logo.svg);
}
html.dark body #membership_menu {
	background-color: #222222;
}
html.dark body #search_trade fieldset {
	background-color: #222222;
	background-image: linear-gradient(#222222, #333333);
}

html.dark body #search_trade input[type="text"]:focus + label {
    background: #000;
}
html.dark body #search_trade fieldset input[type="text"]:focus + label:after {
    border-top: 10px solid #000;
}
html.dark body #search_trade #nearest {
    background-color: #FF3E00;
}
html.dark body #search_trade #nearest:disabled {
    background-color: #222222;
    animation: none 2s 0;
    cursor: default;
}
html.dark body #search_trade input[type="text"] {
    box-shadow: 0 0 0 2px #FF3E00;
}
html.dark body #search_trade input[type="submit"] {
    background-color: #FF3E00;
}

html.dark body #trades_result > a.loading::before,
html.dark body #trades_result > a.loaded::before,
html.dark body article.loading::before,
html.dark body article.loaded::before {
	color: #CCCCCC;
	background-color: #222222;
	background-image: linear-gradient(90deg, #222222, #333333 100px, #222222 200px);
}

html.dark body #australia_map {
	-webkit-filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0));
	filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0));
}
html.dark body #australia_map path {
	fill: #EEEEEE;
}

html.dark body #location_list ul li ul {
	color: #999999;
	box-shadow: 0 -1px 0 0 #999999;
}
html.dark body #location_list li {
	color: #999999;
}
html.dark body #location_list a {
	color: #FFFFFF;
}
html.dark body div.trades_result_msg {
	color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.1);
}
html.dark body #footer {
	background-color: #222222;
}
html.dark body #footer #notice {
	color: #9D9D9D;
}
html.dark body #footer #notice a {
	color: #9D9D9D;
}
html.dark body #footer #notice a:hover {
	color: #FFFFFF;
}


html.light body #header #logo {
	background-image: url(../image/tradelocal_light_logo.svg);
}
html.light body #membership_menu {
	background-color: #003161;
}
html.light body {
	color: #000000;
	background-color: #FFFFFF;
    background-repeat: no-repeat;
    background-attachment: fixed;
	background-image: linear-gradient(#FAFAFA, #EEEEEE 300px, #EEEEEE 100%);
}
html.light #search_trade legend {
    background-image: url(../image/find_deal_light.svg);
}
html.light body #search_trade fieldset {
	background-color: #FFFFFF;
	background-image: linear-gradient(#FAFAFA 20%, #FFFFFF);
	box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.1);
}
@keyframes pulse_light {
	0% { box-shadow: 0 0 0 0 rgba(255,92,0, 1); }
	70% { box-shadow: 0 0 0 10px rgba(255,92,0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255,92,0, 0); }
}
html.light body #search_trade #nearest {
    background-color: #FF3E00;
    animation: pulse_light 2s 1;
}
html.light body #search_trade #nearest:disabled {
    background-color: #CFCFCF;
    animation: none 2s 0;
    cursor: default;
}
html.light body #search_trade input[type="text"] {
    box-shadow: 0 0 0 2px #FF3E00;
}
html.light body #search_trade input[type="submit"] {
    background-color: #FF3E00;
}
html.light body #australia_map {
	-webkit-filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0));
	filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0));
}
html.light body #australia_map path {
	fill: #222222;
}
html.light body #location_list ul li ul {
	color: #555555;
	box-shadow: 0 -1px 0 0 #555555;
}
html.light body #location_list li {
	color: #555555;
}
html.light body #location_list a {
	color: #000000;
}
html.light body div.trades_result_msg {
	color: #555555;
	box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0.5);
}
html.light body #trades_result > a {
    box-shadow: 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px rgba(0, 0, 0, 0.2), 0px 5px 10px 0px rgba(0, 0, 0, 0.3);
}
html.light h2#greeting {
	color: #222222;
}








