/* Marble Madness, Rimet Mach II */
/* Custom scheme vars, for custom classic themes */
:root {     
  --Background: #955c13;   
  --AppWorkspace: rgb(128, 128, 128);
  --ButtonFace: #dfdfdf;
  --ButtonHilight: rgb(255, 255, 255);
  --ButtonLight: rgb(223, 223, 223);
  --ButtonShadow: rgb(128, 128, 128);
  --ButtonDkShadow: rgb(0, 0, 0);
  --ActiveTitle: rgb(212,153,0);
  --GradientActiveTitle: rgb(212,153,0);
  --InactiveTitle: rgb(255, 209, 90);
  --GradientInactiveTitle: rgb(255, 209, 90);
  --Link: rgb(0, 0, 255);
  --HilightText: rgb(255, 255, 255);
  --ButtonText: rgb(0, 0, 0);
  --GrayText: rgb(128, 128, 128);
  --TitleText: rgb(255, 255, 255);
  --InactiveTitleText: rgb(0, 0, 0);
  --Window: rgb(255, 255, 255);
  --WindowFrame: #9b9b9b;
  --WindowText: rgb(0, 0, 0);
  --Hilight:  rgb(212,153,0);
  --InfoWindow: rgb(255, 255, 225);
  --InfoText: rgb(0, 0, 0);
  --Menu: rgb(255, 255, 255);
    --MenuBar: rgb(255, 255, 255);
    --MenuText: rgb(0, 0, 0);
}


:root {
        --3d-objects: var(--Window);
		--3d-objectstxt: var(--WindowText);
        --activebar: linear-gradient(90deg, var(--ActiveTitle), var(--GradientActiveTitle));
	    --activebartxt: var(--TitleText);
		--inactivebar: linear-gradient(90deg, var(--InactiveTitle), var(--GradientInactiveTitle));
		--inactivebartxt: var(--InactiveTitleText);
		--bodybgcolor: rgb(0, 0, 0);
		--desktopbgcolor: var(--Background);
--desktopbgimg: url("wallpapers/rimet/marble.jpeg");
--desktopbgsize: initial;
--desktopbgposition: initial;
--windowbg: var(--Window);
--windowtxt: var(--WindowText);
		--selectedcolor: var(--Hilight);
--globalboxshadow: 0 0 0 2px #000;
	    --globalmenushadow: var(--globalboxshadow);
    --globalboxshadowbtn: 0 0 0 1px #222;
--globalboxshadowactive: 0 0 0 2px #000;
--taskbarbackground: var(--ActiveTitle);
--globaltoolbar: inset -1px -1px var(--WindowFrame), inset 1px 1px var(--WindowFrame);
		--globaltoolbaractive: inset -1px -1px var(--WindowFrame), inset 1px 1px var(--WindowFrame);
    --field: 0 0 0 1px #000;
--taskbarboxshadow: 0 -2px 0 0 #000;
--tabboxshadow: 0 0 0 2px #000;
--globalfont: Tahoma, Jomolhari, Times New Roman, sans-serif;
--buttonfont: var(--globalfont);
--menu-button: url('assets/rimetmIIbtn.png');
--menu-button-hover: url('assets/rimetmIIbtn.png');
--menu-button-pressed: url('assets/rimetmIIbtn-pressed.png');
--titlefont: var(--globalfont);
}


/*Theme identifier, control panel*/
#themeDropdownText:after {
content: "Marble Madness";
}

#winAndButtonsDropdownText:after {
content: "Marble Madness style";
}

#colorSchemeDropdownText:after {
	content: "Marble Madness";
}

.dropdownlink.scheme {
	display: none !important;
}

#MarbleSchemes {
	display: block !important;
}

.window_bar {
margin: 0;
height: 21px;
line-height: 20.5px;
text-indent: 20px;
}

.window_bar.noIcon {
       text-indent: 5px; 
}

#UserPane {
	margin: 0;
}

.WindowBarIcon {
left: 2px;
bottom: 3px;
}


#close, #close:active, .winBarButton {
    top: 0px;
    width: 20px;
    height: 19px;
    margin-right: 0;
    background-size: 11px;
    background-position: 4px 4px;
    box-shadow: none;
    border: solid #000;
    border-width: 0 0 2px 2px;
}

#close, #close:active {
    width: 21px;
}

.winBarButton:active {
            background-color: var(--ButtonFace);
    border: none;
}
#Taskbar {
height: 30px;
}

.taskband {
box-shadow: none;
border: 2px solid #000;
}

#taskbandContainer {
margin-top: 2px;
height: 30px;
}

.tabbutton.selected {
            top: -5px;
}
#windowcontent {
        top: 0px;
}
#MenuButton {
top: 4px;
}

.window.maximized .window_bar .winBarButton{
    top: 0px !important;
}

.tabbutton.selected::after {
    content: "";
    position: absolute;
    margin-top: 18px;
    left: 0px;
    width: 100%;
	background: var(--Window);
    height: 5px;
    display: inline-block;
}

#SysTray {
    box-shadow: var(--field) !important;
	background: var(--Window);

}

#searchResults, #searchBox {
     box-shadow: var(--field) !important;   
}

#searchBox {
    margin-top: 3px;
}

#browserbar {
    box-shadow: none;
}

.rebar {
	    box-shadow: none !important;
}

.button, div[id^="mBox-button"], .DropdownBoxButton, input[type=color], .BrowseWP, input::file-selector-button {
    background-color: var(--ButtonFace);
         box-shadow: var(--globalboxshadowbtn) !important;   
    
}


.button:active, div[id^="mBox-button"]:active, .button.active {
    background-color: #a6a6a6;
    
}

.button:disabled, div[id^="mBox-button"]:disabled, .button.disabled {
    background-color: #f0f0f0;
    
}


.DropdownBoxButton {

}
.taskband:active, .taskband.current {
        background-color: #a6a6a6;
    font-weight: bold;
             box-shadow: none !important;   
        border: 2px solid #000;
}

.taskband {
    border: 2px solid #222;
        background-color: var(--ButtonFace);
}

#MenuButton {
             box-shadow: 0 0 0 2px #222 !important;   
          background-color: var(--ButtonFace); 
}

#MenuButton:hover {
             box-shadow: 0 0 0 2px #222 !important;   
          background-color: var(--ButtonFace);  
}

#MenuButton.pressed {
        background-color: #a6a6a6;
             box-shadow: var(--globalboxshadowactive) !important;   
}

#MenuButton.pressed > #MenuButtonStartText {
top: 4px;
right: 4px;
}

#MenuButtonStartText {
top: 4px;
right: 4px;
}

#MenuButtonStartIcon, #MenuButton.pressed > #MenuButtonStartIcon {
top: 3px;
left: 4px;
}

#browserbar {
    margin: 0;
}

.ToolbarButton:hover, .menubaritem:hover {
background-color: #eee;
box-shadow: var(--globaltoolbar);
}
.ToolbarButton:active,.menubaritem:active {
background-color: #8c8c8c;
box-shadow: var(--globaltoolbaractive);
    color: #bdbdbd;
}

.rebar {
box-shadow: inset 0px 1px #808080, inset 0px 2px #fff;
}

.throbber {
box-shadow: inset 1px 0px #808080, inset 2px 0px #fff;
margin: 0;
top: 0px;
}
    
    #r1stbar {
box-shadow: none;
height: 22px;
}

#filemenu {
    top: 1px;
}

#StartSpine {
height: calc(100% - 0px);
margin: 0px;
}

#Menu .startLink {
padding: 9.5px 37px;
}

.submenu .startLink {
	margin: 0;
}

.StartMenuSIcon {
left: 2px;	
}

.submenu {
	text-indent: 26px;
}

.contextmenuEntry {
		margin: 0px;
}

.ContextMenuContent {
margin: 2px;
}


#RimetApps {
	margin-left: 18px;
}

#Menu {
bottom: 30px !important;
padding-right: 0px;
padding-top: 1px;
padding-bottom: 0px;
}

#close::after, #maximize::after, #minimize::after, #help::after {
display: none;
}

#close {
margin-left: 0px;
margin-right: 0px;
background-image: url('assets/marble-close.png');
background-position: center;
background-repeat: no-repeat;
}

#maximize {
background-image: url('assets/marble-maximize.png');
background-position: 4px 6px;
background-repeat: no-repeat;
}

#minimize {
background-image: url('assets/marble-minimize.png');
background-position: 3px 13px;
background-repeat: no-repeat;
}

#close:active {
background-position: 6px 5px;
}

#maximize:active {
background-position: 5px 7px;
        border: solid #000;
    border-width: 0 0 0px 2px;
}

#minimize:active {
background-position: 4px 14px;
}

.WindowMultiPageContent {
	width: 100%;
	height: calc(100% - 20px);
	margin-left: 0px;
}

.watermark {
	bottom: 23px !important;
}

#AbtDialogBanner, #AbtDialogProgressBar {
	width: 417px !important;
	left: 0px !important;
}

.TaskbarFolderToolbar {
bottom: 4px;
}


#windowcontent {
margin: 0 !important;
    width: 100%;
	    height: calc(100% - 22px);
}

.resizeableWinBar ~ #windowcontent {
    width: 100%;
    height: calc(100% - 22px);
}

.window.maximized #windowcontent {
    margin: 0;
    top: 0px;
    width: 100%;
    height: calc(100% - 20px);
}

.window_bar {
    margin-bottom: 0px !important;
}

.ListItem {
	width: 100%;
	padding: 0;
	padding-top: 1px;
	top: 0;
	left: 0;
	height: 16px;
}

.tabcontent, .tabbutton.selected, .tabbutton, .window, .groupboxLabel {
	background: var(--Window);
}

.DropdownBoxButton::after {
    left: 3px;
    top: 1px;
}

.MenuItem:hover {
box-shadow: none;
}

.MenuItem:active, .MenuItem.pressed {
box-shadow: none;
    color: var(--HilightText);
    background-color: var(--Hilight);
}

.MenuItem {
	padding-left: 6px !important;
	padding-right: 6px !important;
}

.groupbox {
	box-shadow: none;
}

.MenuItem.disabled, .startLink.disabled {
	text-shadow: none;
	color: var(--GrayText);
}

hr, .ContextMenuSeparator {
    background: none;
    border: none;
    box-shadow: inset 1px 1px var(--ButtonShadow) !important;
    height: 1px;
}

input[type=checkbox]+label:before {
    width: 11px;
    height: 11px;
    left: -17px;
    top: 1px;
}
input[type=checkbox]:checked+label:after {
    left: -19px;
}

input[type=radio]+label:before {
box-shadow: none !important;
border: 1px solid  black;
background: white;
    border-radius: 50%;
    width: 11px;
    height: 11px;
    left: -17px;
    top: 1px;
}

input[type=radio]+label:hover:before {
background: silver;
box-shadow: none !important;
border: 1px solid black;
}

input[type=radio]+label:active:before {
background: black;
box-shadow: none !important;
border: 1px solid black;
}

input[type=radio]:disabled+label:before { 
    opacity: 1;
background: transparent;
box-shadow: none !important;
border: 1px solid black;
}

input[type=radio]:checked+label:after {
    left: -13px;
background: black !important;
	    width: 5px;
    height: 5px;
	    top: 5px;
}
input[type=radio]:checked+label:hover:after {
        background:white!important;
}

input[type=radio][disabled]:checked+label:after {
        background:gray!important;
}