/* Load fonts. */
@font-face {
    font-family: "Open Sans";
    src: url(../fonts/open_sans/OpenSans-Regular.ttf);
}

/* Apply natural box layout to all elements */
*, *:after, *:before {
    box-sizing: border-box !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    color: #444444;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5rem;
    touch-action: manipulation;
}

button {
    background: #1FA7DA;
    border: 0;
    border-radius: 0.4rem;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.5rem;
    min-width: 4rem;
    padding: 1rem;
}

button.destructive {
    background: #B92E2E;
}

button.primary {
    background: #2EB98A;
}

button:disabled {
    opacity: 0.5;
}

i.disabled {
    opacity: 0.5;
}

h1 {
    font-size: 2rem;
    line-height: 3rem;
}

h2 {
    font-size: 1.6rem;
    line-height: 2.4rem;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.8rem;
}

h4 {
    font-size: 1rem;
    line-height: 1.5rem;
}

input {
    -webkit-appearance: none;
    color: #444444;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #E0E8EA;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5rem;
    outline: none;
    padding: 1rem;
    width: 100%;
}

input:disabled {
    opacity: 0.5;
}

input[type=checkbox] {
    background: #ffffff;
    color: #00A072;
    cursor: pointer;
    width: 2rem;
}

input[type=range] {
    -webkit-appearance: none;
    padding: 1.5rem 1rem;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    box-shadow: 0 0 0 #000000;
    background: #F3A451;
    border-radius: 1px;
    border: 0 solid #000000;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #F3A451;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -13px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #F3A451;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    box-shadow: 0 0 0 #000000;
    background: #F3A451;
    border-radius: 1px;
    border: 0 solid #000000;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #F3A451;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

label {
    display: inline-block;
    font-size: 1rem;
    line-height: 1.5rem;
}

label.field {
    color: #00A072;
    width: 100%;
}

label.prompt {
    color: #FFED7D;
}

pre {
    color: #444444;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0;
    outline: none;
    padding: 0;
    white-space: pre-wrap;
    width: 100%;
}

textarea {
    -webkit-appearance: none;
    color: #444444;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #E0E8EA;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5rem;
    overflow: hidden;
    outline: none;
    padding: 1rem;
    resize: none;
    width: 100%;
}

textarea:disabled {
    opacity: 0.5;
}

ul {
    margin: 0;
    padding: 0 0 0 2rem;
}

.main {
    display: none;
    height: 100%;
    flex-direction: column;
}

.main-loading {
    display: flex;
    height: 100%;
    flex-direction: column;
}

.main-loading-icon {
    color: #4AC1DE;
    text-align: center;
    padding: 4rem;
}

.header {
    background: #3FA3BB;
    color: #ffffff;
    display: flex;
    min-height: 4rem;
    text-align: center;
}

.header label {
    font-size: 1.4rem;
    line-height: 2.1rem;
    padding: 0;
}

.header button {
    background: none;
    box-shadow: none;
    padding: 1rem 0;
    text-transform: uppercase;
}

.header button.left {
    padding: 0 0 0 1rem;
    text-align: left;
}

.header button.right {
    padding: 0 1rem 0 0;
    text-align: right;
}

.content {
    -webkit-overflow-scrolling: touch;
    align-items: center;
    background: linear-gradient(to bottom, #1f90ae 0%, #1b5ba0 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: auto;
}

.content > div {
    margin: 0 0 2rem 0;
}

.footer {
    background: #1b5ba0;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 0;
    text-align: center;
}

/* Icons */
.icon {
    color: #444444;
}

.icon > i {
    color: #1FA7DA;
    font-size: 2rem;
    line-height: 2rem;
    vertical-align: middle;
}

.icon > i + label {
    margin: 0 0 0 1rem;
}

.icon.menu > i {
    color: #ffffff;
}

.icon.primary > i {
    color: #00A072;
}

.icon.selected > i {
    color: #00A072;
}

/* Buttons */
.buttons button {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.buttons.padding {
    padding: 2rem 0;
}

.buttons button-progress {
    margin-right: 1rem;
}

.buttons :last-child {
    margin-right: 0;
}

/* Grid */
.grid {
    display: flex;
    width: 100%;
}

.grid .grid {
    padding: 0;
}

.grid.align-center {
    align-items: center;
}

.grid.disabled {
    opacity: 0.9;
}

.grid.margin {
    margin: 1rem 0 0 0;
}

.grid.gutters [class*='col-'] {
    padding-right: 1rem;
}

.grid.gutters [class*='col-']:last-of-type {
    padding-right: 0;
}

.grid.gutters-3x [class*='col-'] {
    padding-right: 3rem;
}

.grid.gutters-3x [class*='col-']:last-of-type {
    padding-right: 0;
}

.grid [class*='col-'].align-center {
    text-align: center;
}

.grid [class*='col-'].align-left {
    text-align: left;
}

.grid [class*='col-'].align-right {
    text-align: right;
}

.col-12-12 {
    width: 100%;
}

.col-11-12 {
    width: 91.67%;
}

.col-10-12 {
    width: 83.34%;
}

.col-9-12 {
    width: 75.00%;
}

.col-8-12 {
    width: 66.67%;
}

.col-7-12 {
    width: 58.34%;
}

.col-6-12 {
    width: 50.00%;
}

.col-5-12 {
    width: 41.67%;
}

.col-4-12 {
    width: 33.34%;
}

.col-3-12 {
    width: 25.00%;
}

.col-2-12 {
    width: 16.67%
}

.col-1-12 {
    width: 8.34%;
}

.col-8 {
    width: 8rem;
}

.col-6 {
    width: 6rem;
}

.col-4 {
    width: 4rem;
}

.col-2 {
    width: 2rem;
}

/* Grid List */
.grid-list {
    border-radius: 10px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.grid-list .grid {
    background: #F3F8FB;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.grid-list .grid .grid {
    border: 0;
    padding: 0;
}

.grid-list .grid .buttons {
    margin-bottom: -1rem;
}

.grid-list .grid.selectable:active {
    background: rgba(255, 255, 255, 0.9);
}

.grid-list .grid.selected {
    color: #00A072;
}

.grid-list .grid:first-child {
    border-radius: 10px 10px 0 0;
}

.grid-list .grid:last-child {
    border: none;
    border-radius: 0 0 10px 10px;
}

.grid-list .grid:only-child {
    border: none;
    border-radius: 10px;
}

.grid-list .grid.field {
    border: none;
    padding: 1rem 1rem 0 1rem;
}

.grid-list .grid.help {
    background: #D9E8F2;
    padding: 0.5rem 1rem;
}

.grid-list .grid.help label {
    color: #777777;
    font-size: 0.8rem;
    line-height: 1.2rem;
}

/* Grid Section Header */

.grid.sectionHeader {
    margin: 2rem 0 0 0;
}

.grid.sectionHeader label {
    color: #FFED7D;
    font-size: 1.2rem;
    line-height: 1.8rem;
}





