﻿
#matwrapper .operbox, #matwrapper .hardbox, #matwrapper .chembox, #matwrapper .malist, #matwrapper .expbox {
    border: solid 1px #0D83C6;
    text-align: center;
    border-radius: 25px;
    padding: 5px 5px 1em 5px;
}

#matwrapper .hardbox, #matwrapper .chembox, #matwrapper .expbox {
    margin-top: 1em;
}

#matwrapper .header {
    color:#0D83C6;
    padding-bottom:10px;
    font-weight:bold;
}

#matwrapper .switch {
    position: relative;
    display: block;
    vertical-align: top;
    width: 60px;
    height: 30px;
    padding: 3px;
    margin: 0 auto 10px auto;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
    border-radius: 18px;
    box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

#matwrapper .switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

#matwrapper .switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 14px;
    text-transform: uppercase;
    background: #eceeef;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
}

#matwrapper .switch-label:before, .switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
}

#matwrapper .switch-label:before {
    content: attr(data-off);
    right: 8px;
    color: Black;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}

#matwrapper .switch-label:after {
    content: attr(data-on);
    left: 6px;
    color: #FFFFFF;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
    opacity: 0;
}

#matwrapper .switch-input:checked ~ .switch-label {
    /*background: #E1B42B;*/
    background: #C2CACD;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

#matwrapper .switch-input:checked ~ .switch-label:before {
    opacity: 0;
}

#matwrapper .switch-input:checked ~ .switch-label:after {
    opacity: 1;
}

#matwrapper .switch-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
    background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
    border-radius: 100%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

#matwrapper .switch-handle:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
    border-radius: 6px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}

#matwrapper .switch-input:checked ~ .switch-handle {
    left: 28px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* Transition */
#matwrapper .switch-label, .switch-handle {
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
    -moz-transition: All 0.3s ease;
    -o-transition: All 0.3s ease;
}

#matwrapper .ui-slider-range {
    background: #057DC9;
}

#matwrapper .ui-slider .ui-slider-handle {
    background: blue;
}

#matwrapper #slider-range .ui-slider-handle {
    background: url(/media/material_selection/knob3.png) no-repeat;
    border: none;
    width: 23px;
    height: 23px;
}

#matwrapper #slider-range .ui-slider-handle + .ui-slider-handle {
    background: url(/media/material_selection/knob2.png) no-repeat;
    border: none;
    width: 23px;
    height: 23px;
}

#matwrapper #slider .ui-slider-handle {
    background: url(/media/material_selection/knob1.png) no-repeat;
    border: none;
    width: 23px;
    height: 23px;
}

#matwrapper .malist {
    border: solid 1px #007DC3;
    /*width: 275px;*/
    border-radius: 25px;
}

#matwrapper #materiallist {
    list-style-type: none;
    padding-left: 0;
    text-align:left;
}

#matwrapper .chembox .search {
    /*background-color: Gray;*/
    padding-top: 5px;
    padding-bottom: 20px;
}


#matwrapper .chembox .thechemlist {
    float: left;
    /*width: 238px;*/
    width:80%;
    height: 595px;
    overflow: auto;
}

#matwrapper .navList {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align:left;
}

#matwrapper .chemletters {
    float: right;
    /*width: 50px;*/
    width:20%;
    background: silver;
    text-align: center;
}

#matwrapper .alpha {
    display: block;
    padding: 3px 0px 3px 0px;
    text-decoration: none;
    color: Black;
    font-size: 15px;
    cursor: pointer;
}

@media only screen and (max-width: 600px){
    #matwrapper .alpha {
        padding:13px 0px 13px 0px;
        font-size:20px;
    }
}

.alpha:hover {
    color: White !important;
}

#matwrapper #box {
    /*background-image: url(../media/material_selection/search.jpg);
    background-repeat: no-repeat;
    background-position:left center;
    padding-left: 20px;*/
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#matwrapper .matlist {
    font-size: 12px;
    height: 38px;
    border-bottom: solid 1px silver;
    width: 100%;
}

#matwrapper .matlist a:hover, .chemlist:hover {
    background-color: #007DC3 !important;
    color: White !important;
}

#matwrapper .chemlist {
    font-size: 14px;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

#matwrapper .chemhilite a, #matwrapper .chemhilite, #matwrapper .mathilite, #matwrapper .mathilite a {
    background-color: #007DC3;
    color: white;
}

