/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}
.cfca-keyboard {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    background: rgba(254, 254, 254, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    clear: both;
    margin: 0;
    padding: 0;
}

.logo-border {
    border-top: 2px solid #CACACA;
    border-bottom: 2px solid #CACACA;
}
.center-table {
    display: table;
    width: 100%;
}

.center-table-cell {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.cfca-row {
    width: 100%;
    clear: both;
    margin: 0;
}


.col-sym-larger {
    display: block;
    float: left;
    width: 12.75%;
    margin-top: 5px;
    margin-left: 0.625%;
    margin-right: 0.625%;
    line-height: 1;
}

.col, .col-sym {
    display: block;
    float: left;
    width: 8.75%;
    margin-top: 5px;
    margin-left: 0.625%;
    margin-right: 0.625%;
    line-height: 1;
}


.col-num {
    display: block;
    float: left;
    width: 33.3%;
    line-height: 1;
}

.cfca-btn {
    width: 100%;
    color: #464847;
    padding: 0;
    border: 1px solid #CACACA;
    display: inline-block;
    font-family: Microsoft YaHei, Arial, sans-serif;
    text-align: center;
    text-align: -moz-center;
    text-align: -webkit-center;
    cursor: pointer;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.cfca-default, .cfca-space, .cfca-bubble {
    background-color: #F1F5F6;
    background-image: -webkit-linear-gradient(top, #F1F5F6 0%, #F1F5F6 100%);
    background-image: -moz-linear-gradient(top, #F1F5F6 0%, #F1F5F6 100%);
}

.cfca-num-default {
    background-color: #FEFEFE;
    background-image: -webkit-linear-gradient(top, #FEFEFE 0%, #FEFEFE 100%);
    background-image: -moz-linear-gradient(top, #FEFEFE 0%, #FEFEFE 100%);
}

.cfca-mod {
    background-color: #E3E7EA;
    background-image: -webkit-linear-gradient(top, #E3E7EA 0%, #E3E7EA 100%);
    background-image: -moz-linear-gradient(top, #E3E7EA 0%, #E3E7EA 100%);
}

.cfca-click, .cfca-mod-click {
    background-color: #C9CFD4;
    background-image: -webkit-linear-gradient(top, #C9CFD4 0%, #C9CFD4 100%);
    background-image: -moz-linear-gradient(top, #C9CFD4 0%, #C9CFD4 100%);
}

