.CGXToolbar
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2D2D2D;
    z-index: 999;
    height:42px;
    transition: bottom 0.3s;
    pointer-events: all !important;
    cursor:pointer !important;
}

.CGXToolbarFullscreenWrapper
{
    pointer-events: none;
    position: absolute;
    transform: rotate(90deg);
}

.CGXToolbarIconZoom:hover
{
    transform: scale(1.1);
}

.CGXVerticalCenter
{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.CGXToolbar .pull-left
{
    float:left;
    left: 8px;
}

.CGXToolbar .pull-right
{
    float: right;
    right: 8px;
}

.CGXToolbar .pull-right > *
{
    margin-left: 8px;
}

.CGXToolbarNoSelect
{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.CGXToolbarToggleButton
{
    width: 30px;
    height: 30px;
    position:absolute;
    bottom: 6px;
    left: 6px;
    z-index:9999;
    cursor: pointer;
    opacity: 0.9;
    pointer-events: all !important;
}

.CGXToolbarToggleButtonUp
{
    background: url('images/toolbar_mobile_show.png') 0 0 no-repeat;
    background-size: 100% auto;
}

.CGXToolbarToggleButtonDown
{
    background: url('images/toolbar_mobile_hide.png') 0 0 no-repeat;
    background-size: 100% auto;
}

.CGXGamepad
{
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.CGXGamepadDisabled
{
    background: url('images/joystick_off.png') 0 0 no-repeat;
    background-size: 100% auto;
}

.CGXGamepadEnabled
{
    background: url('images/joystick_on.png') 0 0 no-repeat;
    background-size: 100% auto;
}


.CGXVolumeIcon
{
    margin-left: 12px !important;
    height: 20px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.CGXVolumeIconOn
{
    width: 20px;
    background: url('images/toolbar_volume_on.png') 0 0 no-repeat;
    background-size: 100% auto;
}

.CGXVolumeIconOff
{
    width: 24px;
    background: url('images/toolbar_volume_off.png') 0 0 no-repeat;
    background-size: 100% auto;
}

.CGXVolumeRange
{
    display: inline-block;
    vertical-align: middle;
    height: 27px;
    transform: none !important;
}

.CGXVolumeRange input[type=range]
{
    -webkit-appearance: none;
    width: 80px;
    height: 25px;
    outline: none;
    background-color: transparent;
}

.CGXVolumeRange input[type=range]::-webkit-slider-runnable-track
{
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #D3D3D3;
    border-radius: 6px;
    border: 0 solid #18D501;
}

.CGXVolumeRange input[type=range]::-webkit-slider-thumb
{
    box-shadow: 0 0 0 #00AA00;
    border: 0 solid #83E584;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -4px;
}

.CGXVolumeRange input[type=range]::-moz-range-track
{
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: #D3D3D3;
    border-radius: 6px;
    border: 0 solid #18D501;
}

.CGXVolumeRange input[type=range]::-moz-range-thumb
{
    box-shadow: 0 0 0 #00AA00;
    border: 0 solid #83E584;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
}

.CGXVolumeRange input[type=range]::-ms-track
{
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.CGXVolumeRange input[type=range]::-ms-thumb
{
    margin-top: 1px;
    border: 0 solid #83E584;
    height: 12px;
    width: 12px;
    border-radius: 12px;
    background: #FFFFFF;
    cursor: pointer;
}

.CGXVolumeRange input[type=range]::-ms-fill-lower
{
    background: #D3D3D3;
    border: 0 solid #18D501;
    border-radius: 6px;
}

.CGXVolumeRange input[type=range]::-ms-fill-upper
{
    background: #D3D3D3;
    border: 0 solid #18D501;
    border-radius: 6px;
}

.CGXDropUp
{
    vertical-align: middle;
    display: inline-block;
    padding-right: 1px;
    cursor: pointer;
}

.CGXDropUp
{
    font-family: Arial, Helvetica, sans-serif;
    color: #e3e3e3;
}

.CGXDropUp span
{
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 0 10px 0;
}

.CGXDropUp:hover span
{
    color: #FFFFFF;
}

.CGXDropUpContent
{
    position: absolute;
    background-color: #2D2D2D;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
    bottom: 38px;
    right: -8px;
    transform: none !important;
}

.CGXDropUpContent a
{
    padding: 12px 0 12px 34px;
    text-decoration: none;
    display: block;
    color: #FFFFFF;
    cursor: pointer;
}

.CGXDropUpContent a:hover
{
    background-color: #343434;
}

.CGXDropUpContent .active
{
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 14px 14px;
    padding-right: 38px;
    background-image: url('images/toolbar_check.png');
    font-weight: bold;
}

.CGXFullscreen
{
    width: 20px;
    height: 20px;
    background: url('images/toolbar_fullscreen_on.png') 0 0 no-repeat;
    background-size: 100% auto;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.CGXOverlay
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    font-family: Arial, sans-serif;
    z-index: 99999;
    cursor:pointer !important;
}

.CGXPopup
{
    margin: 0 auto;
    padding: 10px 20px;
    background: #2c2c2c;
    border-radius: 5px;
    width: 50%;
    position: relative;
    border: 1px #505050 solid;
    color: #fff;
    text-align: center;
}

.CGXPopupWarningIcon
{
    color: #ffc800;
    font-size: 19px;
}

.CGXPopup p
{
    text-align: center;
    margin: 10px 0;
    display: block;
}

.CGXPopup > .CGXButton
{
    margin-top:5px;
    margin-bottom: 5px;
    marign: 0 auto;
}

.CGXButton
{
    background-color: #4a4a4a;
    border: 1px solid #676767;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    font-size: 14px;
    padding: 5px 20px;
    text-decoration: none;
}

.CGXButton:hover
{
    background-color:#595959;
}
