HTML {
    font-family: sans-serif;
    font-size: 10pt;
    background-color: white;
}

INPUT, TEXTAREA, KEYGEN, SELECT, BUTTON {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-variant: inherit;
    font-weight: inherit;
    line-height: inherit;
}

INPUT[type=checkbox] {
    -webkit-appearance: none;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin: 0 0.5rem -0.1rem 0;
    border: 1px solid #808284;
    background-image: linear-gradient(0deg, #ccc, #fff);
}

INPUT[type=checkbox]:checked {
    background-image: url('../images/icon_checkmark.svg'), linear-gradient(0deg, #ccc, #fff);
}


SELECT {
    -webkit-appearance:none;
    display: inline-block;
    background-color: #e6e7e8;
    background-image: url('../images/icon_select.svg');
    background-repeat: no-repeat;
    background-position: 100% 0%;
    background-size: auto 100%;
    padding: 0.25rem 2.5rem 0.25rem 0.4rem;
    margin: 0;
    border: none;
    border-radius: 0;
}

SELECT[disabled] {
    -webkit-filter: contrast(21%) brightness(165%);
}

BODY {
    font-family: sans-serif;
    font-size: inherit;
}

#ContentPanel {
    background-color: #fff;
    position: absolute;
    right: 0;
    top: 3rem;
    left: 0;
    bottom: 0;
    z-index: 2000;
    box-shadow: -0.25rem 0 0.5rem 0 rgba(0,0,0,0.25);
    color: #3a3a3c;
    font-weight: normal;
}

DEVICE-EXPLORER {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#splitter {
    position: absolute;
    top: 0;
    left: 39rem;
    bottom: 0;
    width: 0.5rem;
    background-color: #dddedf;
    color: transparent;
    fill: #999999;
    z-index: 2;
}

#splitter .chevronstyle {
    
}

#splitter .DeviceType {
    opacity: 0;
    display: none;
    transform: rotate(-90deg);
    transform-origin: right bottom;
    white-space: nowrap;
    position: absolute;
    right: 0.5rem;
}

#splitter:active {
    background-color: #3499dd;
}

#splitter .chevron {
    position: relative;
    top: 1rem;
    min-width: 0.4rem;
    width: 50%;
    margin: 1rem auto 1rem auto;
}

SCREEN-CAPTURES {
    position: absolute;
    top: 0;
    left: 39rem;
    bottom: 0;
    right: 0;
    margin-left: 0.5rem;
    z-index: 2;
}

ANIMATIONS {
    position: absolute;
    top: 4.5rem;
    left: 0;
    bottom: 0;
    width: 39rem; /* must match 'SCREEN-CAPTURES left' */
    background-color: rgba(255, 255, 255, 0.9);
}

/* Animation Transitions */

DEVICE-EXPLORER {
    transition: left 500ms ease-in-out;
}

SCREEN-CAPTURES {
    transition: left 500ms ease-in-out, margin 500ms ease-in-out;
}

#splitter {
    transition: width 500ms ease-in-out, left 500ms ease-in-out;
}

#splitter .chevron {
    transition: width 1500ms ease-in-out, transform 1500ms ease-in-out;
}

#splitter .DeviceType {
    transition: opacity 3000ms ease-in-out;
}

@keyframes deviceTypeIn {
  0% {opacity: 0;}
  100% {opacity: 1;}
}


#splitter.collapseExplorer .DeviceType {
    display: block;
    animation: deviceTypeIn 3000ms;
}

/* collapseExplorer transitions */
#splitter.collapseExplorer {
    color: #999999;
}

#splitter.collapseExplorer, SCREEN-CAPTURES.collapseExplorer {
    left: 0;
}

#splitter.collapseExplorer .DeviceType {
    opacity: 1;
}

#splitter.collapseExplorer .chevron {
    transform: rotateY(180deg);
    transform-origin: 50% 50%;
}

DEVICE-EXPLORER.collapseExplorer, ANIMATIONS.collapseExplorer {
    left: -39rem; /* must be 'SCREEN-CAPTURES left' minus '#splitter.collapseExplorer left' */
}

#splitter.collapseExplorer {
    width: 2rem;
}

SCREEN-CAPTURES.collapseExplorer {
    margin-left: 2rem;
}

#splitter:hover {
    color: #585858;
    fill: #585858;
}
