* {
    margin: 0;
    padding: 0;

    /* Disable Text Selection */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

input, textarea, .ui-input-text {
    /* Restore Text Selection */
    -webkit-user-select: text;
       -moz-user-select: text;
        -ms-user-select: text;
            user-select: text;
}


html, body {
    height: 100%;
    width: 100%;
}

body {
    /*
     * Fix for IE10 issue where scrollbar is being shown overlaid rather than displayed
     * in the classic style.
     * http://msdn.microsoft.com/en-us/library/windows/apps/hh441298.aspx
     */
    -ms-overflow-style: scrollbar;
}

canvas {
    display: block;
}

@-ms-viewport {
	user-zoom: fixed;
	max-zoom: 1;
	min-zoom: 1;
	width: device-width;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.hide {
    display: none;
}

.autoWidth {
    width: auto;
}

.bold {
    font-weight: bold;
}

.pf {
    position: fixed;
}

.pr {
    position: relative;
}

.hideOverflow {
    overflow: hidden;
}

.tac {
    text-align: center;
}

.tal {
    text-align: left;
}

.tar {
    text-align: right;
}

.line {
    display: block;
    vertical-align: middle;
    text-overflow: ellipsis;
}

.line.hide {
    display: none;
}

.vam {
    vertical-align: middle;
}

.material.flatButton {
    cursor: pointer;
    margin-left: 8px;
    margin-right: 8px;
    padding-left: 8px;
    padding-right: 8px;
    min-width: 88px;
    vertical-align: middle;
    font-size: 16px;
    color: #0078c6;
    height: 36px;
    line-height: 36px;
}

.material.flatButton.hover {
    background-color: #EEEEEE;
}

.material.flatButton.pressed {
    background-color: #BDBDBD;
}

.material.persistentFooter {
    background-color: white;
    width: 100%;
    height: 48px;
}

.material.persistentFooter .material.flatButton {
    height: 48px;
    line-height: 48px;
}

.d-ib {
    display: inline-block;
}

.cb {
    clear: both;
}

.white-background {
    background-color: white;
}

.glass-pane {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 500;
}

.glass-pane.smoked {
    background-color: black;
    opacity: 0.25;
}

/**
 * Fix for Android 4.x displaying horizontal and vertical scrollbars
 * when no scrollbar is needed.
 */
::-webkit-scrollbar, *::-webkit-scrollbar {
    overflow-y: auto;
}