/*
	Theme Name: baume
	Version: 1.0.5
	Author: baume
*/

@font-face {
    font-family: 'Garamond';
    src: url(fonts/GaramondPro.otf);
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Garamond';
    src: url(fonts/GaramondProSemibold.otf);
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Garamond';
    src: url(fonts/GaramondProBoldItalic.otf);
    font-weight: 700;
    font-style: italic;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Garamond', serif;
    line-height: 1.5;
    color: #000;
    font-size: 16px;
}

h1 {
    font-weight: 700;
    font-style: italic;
    text-align: center;
    font-size: 3em;
    margin: .25em 0;
}

.border-bottom {
    display: block;
    border-bottom: 1px solid;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    max-width: 100%;
    max-height:120px;
    display:block;
    margin:auto;
}

label {
    display: block;
}

.file-label,
.text-input,
input {
    display: block;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

input[type="file"] {
    display: none;
}

ul,
ol {
    padding-left: 1em;
}

hr {
    border-color: transparent;
    margin: 15px 0;
}

.wrapper > .fullscreen {
    height: calc(100vh - 140px);/*- 40px);*/
}

.fullwidth {
    width: 100%;
}

table.fullwidth {
    table-layout: fixed;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.between {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.align-self-top {
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.align-self-center {
    -ms-flex-item-align: center;
    align-self: center;
}

.align-self-bottom {
    -ms-flex-item-align: end;
    align-self: flex-end;
}

.wrapper {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

body.activity .wrapper,
.home .wrapper {
    width: 360px;
    padding: 20px;
}


.header {
    text-align: center;
}

.button {
    background: #b2b2b2;
    border: 1px solid #b2b2b2;
    color: #000;
}

.button-primary {
    background: #4d4d4d;
    border: 1px solid #4d4d4d;
    color: #fff;
    text-align: center;
}

.ios-only,
#mm-2 li:nth-last-child(2),
.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox label {
    position: relative;
    padding-left: 40px;
}

.home .checkbox label {
    margin: 10px 0;
}

.checkbox label:before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    border: 1px solid;
    position: absolute;
    left: 10px;
    top: 3px;
}

.checkbox input:checked + label:before {
    background: #000;
}

.align-self-bottom img {
    max-width: 50%;
    margin: 25px auto 10px;
    display: block;
}

.footer.fixed {
    position: fixed;
    left: 0;
    top: auto;
    right: 0;
    bottom: 0;
    padding: 0 10px;
    border-top: 1px solid;
    background: #fff;
    /*text-align: right;*/
    justify-content: flex-end
}

.footer a {
    display: inline-block;/*block;*/
    padding: 20px 10px;
    line-height: 0;
}

.footer a img {
    max-height: 30px;
}

table td,
table th {
    text-align: left;
    padding: 5px;
}

.border td,
.border th {
    padding: 10px 15px;
    border-bottom: 1px solid;
}

table td:last-child:not(:first-child),
table th:last-child {
    text-align: right;
}

.table-with-footer tbody tr:last-child td {
    padding-bottom: 125px;
    border: none;
}

table tfoot {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 70px;
    background: #fff;
}

table tfoot td {
    width: 100%;
    border-top: 1px solid;
}

td[rowspan="2"] + td {
    border: none;
    width: 70%;
}

.border img {
    display: block;
    margin: 0 auto;
    max-height: 90px;
}

.content-wrapper {
    padding: 20px 20px 70px;
}

.user-title {
    margin: 0;
    padding: 10px 20px;
    border: solid;
    border-width: 1px 0;
    font-weight: bold;
    letter-spacing: .5px;
}

.user-title img {
    max-width: 15px;
    vertical-align: top;
    margin-left: 10px;
}

/* CUSTOM */
button.button-primary {
    width: 100%;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}
input[type="submit"].approved {
    pointer-events: auto !important;
    opacity: 1 !important;
}
body > #loader {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(220,220,220,0.7);
    z-index:999;
}
body > #loader:after {
    display:block;
    content:'Loading...';
    position:absolute;
    top:40%;
    left:0;
    width:100%;
    text-align:center;
}
.title-logo {
    max-width: 90%;
    margin: 25px auto;
    display: block;
}

#act-form hr {
    border-color: #333;
}

.indent {
    padding-left:40px;
}
.guide img {
    margin:20px auto 40px;
}