/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

@import url('https://fonts.googleapis.com/css?family=Roboto:400,500');

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
    -webkit-overflow-scrolling: touch;
}

body {
    width: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9em;
    color: #323232;
}

html, body {
    height: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

b {
    font-weight: 500;
}

p {
    margin: 8px 0;
}

img {
    width: 100%;
    height: auto;
}

table {
    width: 100%;
}

table td {
    vertical-align: text-top;
}

section {
    padding: 20px 20px 0 20px;
    box-sizing: border-box;
}

section.border-bottom {
    border-bottom: 1px solid #F2F2F2;
}

section.full-width {
    padding: 20px 0 0 0;
}

h1, h2, h3, h4 {
    font-weight: 500;
}

h2 {
    font-size: 16px;
}

hr {
    margin: 0;
    border-top: 1px;
    border-bottom: 0;
    border-style: solid;
    border-color: #F2F2F2;
}

textarea,
input {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 0;
    background-color: #F2F2F2;
    box-sizing: border-box;
}

select {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    background-color: #F2F2F2;
    border: 0;
    -webkit-appearance: none;
}

input[type="submit"] {
    -webkit-appearance: none;
}

input[type="file"] {
    -webkit-appearance: none;
}

textarea {
    height: 150px;
    resize: none;
}

img.small-icon-h {
    width: 20px;
    height: auto;
}

img.small-icon-v {
    width: auto;
    height: 20px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    padding: 5px 0;
}

.hide {
    display: none;
}

.search-box {
    background: #FFFFFF;
}

#main-nav {
    width: 100%;
    height: 60px;
    color: #FFFFFF;
    font-weight: 500;
    background: #3F424A;
    line-height: 0;
    display: table;
}

#main-nav > div {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.top-bar {
    width: 100%;
    height: 60px;
    display: table;
    background: #323232;
}

.top-bar > * {
    display: table-cell;
}

.top-bar-content {
    color: #FFFFFF;
    text-align: center;
    vertical-align: middle;
    font-weight: 500;
}

.top-bar-side-button {
    width: 60px;
    height: 60px;
    text-align: center;
    vertical-align: middle;
    font-size: 0;
}

.top-bar-side-button img {
    width: auto;
    height: 20px;
}

.button-big {
    width: 100%;
    height: 60px;
    display: table;
}

.button-big div {
    display: table-cell;
    vertical-align: middle;
}

.button {
    width: 100%;
    margin: 10px 0 10px 0;
    padding: 20px;
    display: block;
    color: #FFFFFF;
    text-align: center;
    font-weight: 500;
    background: #5B5F69;
    border-radius: 5px;
    box-sizing: border-box;
}

.button:hover {
    cursor: pointer;
}

.upload-image-button {
    display: inline-block;
    opacity: 0;
}

.upload-journal-photo,
.upload-device-photo {
    position: absolute;
}

.big-button {
    width: 100%;
    height: 60px;
    min-height: 60px;
    display: table;
    border-bottom: 1px solid #F2F2F2;
}

.big-button > div {
    display: table-cell;
}

.dropdown-button-white,
.dropdown-button {
    width: 100%;
    height: 60px;
    display: table;
    cursor: pointer;
}

.button-small-block {
    width: 60px;
    min-width: 60px;
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

.button-icon-block {
    width: 60px;
    min-width: 60px;
    font-size: 0;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

.button-icon-block img {
    width: auto;
    height: 20px;
}

.button-arrow-block {
    width: 60px;
    height: 60px;
    text-align: center;
}

.button-arrow-block img {
    width: 12px;
    height: auto;
}

.dropdown-button-white div,
.dropdown-button div {
    display: table-cell;
    vertical-align: middle;
}

.dropdown-content > a {
    color: inherit;
    width: 100%;
    height: 60px;
    display: table;
}

.dropdown-content a div {
    display: table-cell;
    vertical-align: middle;
}

.dropdown-content > div {
    padding: 0 0 20px 60px;
}

.button-content-icon {
    width: 30px;
    text-align: right;
    padding-right: 15px;
    vertical-align: middle;
    font-size: 0;
    display: table-cell;
}

.button-content-icon img {
    width: auto;
    height: 12px;
}

.horizontal-content-icon img {
    width: 12px;
    height: auto;
}

.button-content-text {
    padding-left: 15px;
    overflow: hidden;
}

.toggle-button {
    width: 100%;
    height: 60px;
    color: #66ccda;
    font-weight: bold;
    display: table;
    cursor: pointer;
    border: 2px solid #66ccda;
    border-radius: 5px;
}

.toggle-button-active {
    color: #FFFFFF;
    background: #66ccda;
}

.toggle-button > div {
    width: 50%;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-center {
    text-align: center;
}

.text-bold {
    font-weight: 500;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.priority_0_color {
    color: #999acd;
}

.priority_1_color {
    color: #ff5253;
}

.priority_2_color {
    color: #f19434;
}

.priority_3_color {
    color: #6ac274;
}

.grey_color {
    color: #999999;
}

.priority_0_bg {
    background: #999acd;
}

.priority_1_bg {
    background: #ff5253;
}

.priority_2_bg {
    background: #f19434;
}

.priority_3_bg {
    background: #6ac274;
}

.blue_bg {
    background: #66ccda;
}

.light_grey_bg {
    background: #f8f8f8;
}

.grey_bg {
    background: #999999;
}

.border-top {
    border-top: 1px solid #F2F2F2;
}

.border-bottom {
    border-bottom: 1px solid #F2F2F2;
}

.text-bold {
    font-weight: 500;
}

.person-photo {
    width: 100px;
    height: 100px;
    max-width: 200px;
    float: right;
}

.list-caption {
    border-bottom: 1px solid #eaeaea;
}

.list-caption-light {
    border-bottom: 1px solid #f4f4f4;
}

.list-button-category {
    border-bottom: 1px solid #eaeaea;
}

.key-value-table td {
    vertical-align: text-top;
}

.key-value-table td:nth-child(2) {
    color: #999999;
}

.timeline-sep {
    width: 100%;
    height: 100px;
    background: #c8c8c8;
    display: table;
}

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

.button-table {
    border-collapse: collapse;
}

.button-table tr td {
    height: 60px;
    border-collapse: collapse;
    vertical-align: middle;
    border-bottom: 1px solid #F2F2F2;
}

.table-button {
    width: 100%;
    height: 60px;
    display: table;
    vertical-align: middle;
    border-bottom: 1px solid #F2F2F2;
}

.table-button > * {
    vertical-align: middle;
    display: table-cell;
}

#main-container {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    float: left;
    background-color: white;
}

#map-container {
    width: 50%;
    height: 100%;
    float: right;
}

#map {
    width: 100%;
    height: 100%;
}

.complex-button {
    min-height: 60px;
}

.complex-button div {
    height: 60px;
}

.complex-button img {
    width: auto;
    height: 12px;
}

.complex-table-button {
    width: 100%;
    height: 60px;
    display: table;
    border: 0;
    border-bottom: 1px;
    border-style: solid;
    border-color: #F2F2F2;
    border-collapse: collapse;
}

.complex-table-button div {
    display: table-cell;
    vertical-align: middle;
}

.complex-table-button div:first-child {
    padding-left: 20px;
}

.complex-table-button div:last-child {
    padding-right: 20px;
}

.complex-table-button img {
    width: auto;
    height: 12px;
}
