html, body {
    min-height : 100%;
    background: #0072bc;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size : 100%;
    border: none;
}

main {
    margin-top: 100px;
    min-height: 80vh;
}

@font-face {
    font-family: 'Roboto';
url('./../../public/fonts/roboto/Roboto-Regular.woff') format('woff');
}

h1, h2, h3, h4, h4, h6 {
    font-family: "Roboto", sans-serif;
}

h3.news {
    font-size: 1.4em;
}

a, p, span, em, input, textarea, time, label {
    font-family: "Roboto", sans-serif;
    font-size: 1.4em;
}

a, a:hover, a:active, a:focus {
    color: inherit;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
    text-decoration-color: #0072bc;
}

/* Fields wrapped in span, e.g. radio */
label > span:hover, label > input:hover {
    cursor: pointer;
}

/* Bootstrap extensions */
@media(max-width:767px) {
    .col-xs-12-i {
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Helpers */

.font-size-regular {
    font-size: 1em !important;
}

.padding-none {
    padding-left: 0;
    padding-right: 0;
}

.padding-small {
    padding-left: 5px;
    padding-right: 5px;
}

.textarea-tall {
    min-height: 100px;
}

.margin-small {
    margin: 2.5%;
}

.margin-large {
    margin: 5%;
}

.divider {
    margin-top: 5%;
    margin-bottom: 5%;
    border: solid 1px lightgray;
}

.divider-small {
    margin-top: 1.5%;
    margin-bottom: 1.5%;
    border: solid 1px lightgray;
}

.spacer {
    height: 25px;
    min-height: 25px;
    float: left;
}

.spacer-tall {
    height: 50px;
    min-height: 50px;
    float: left;
}

.letter-tight {
    letter-spacing: -2px;
}

.btn-margin {
    margin-top: 2%;
}

/* Calendar datepicker top-most */
.datepicker {
    z-index: 9999 !important;
}

/* Font awesome icons */

.fa-larger {
    font-size: 1.4em !important;
}

.fa-tiny {
    font-size: 0.7em !important;
}

/* Overwrite of Bootsrap styles */

.table-responsive {
    font-size: 1.3em !important;
}

.form-control {
    border: 1px solid #616161;
}

label {
    margin-top: 25px;
}

.btn-tiny {
    padding: 1px 2px !important;
}

.btn-tiny-colored, .btn-tiny-colored:hover, .btn-tiny-colored:focus {
    background: #2b669a;
    color: white;
}

.btn-tiny-outline, .btn-tiny-outline:hover, .btn-tiny-outline:focus {
    border: 1px #2b669a solid;
    color: #2b669a;
    background: transparent;
}

.btn {
    z-index: 99 !important;
    outline: none !important;
    transition: all .2s ease-in-out;
}
.btn:hover {
    /*transform: scale(1.05);*/
    transform: translateY(-1px);
    box-shadow: 0px 5px 5px 0 lightgrey;
}

.col-centered{
    float: none;
    margin: 0 auto;
}

/* Notifications */

.toaster {
    margin-top: 80px;
    font-size: 1.2em;
    position: fixed;
    z-index: 1;
    top: 10px;
    right: 10px;
}

.toast {
    color: #fff;
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    -webkit-transform: translateY(-10px) rotateY(40deg);
    transform: translateY(-10px) rotateY(40deg);
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}
.toast.toast--show {
    -webkit-transform: translateY(0) rotateY(0);
    transform: translateY(0) rotateY(0);
    opacity: 1;
}

.toast--success {
    background-color: #31d47d;
}

.toast--error {
    background-color: #ff4148;
}

.toast--neutral {
    background-color: #2b669a;
}

.control {
    display: block;
    position: relative;
    padding-left: 30px;
    padding-right: 30px;
    cursor: pointer;
    font-size: 1.4em;
}
.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.control__indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background: #e6e6e6;
}
.control--radio .control__indicator {
    border-radius: 50%;
}
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: #ccc;
}
.control input:checked ~ .control__indicator {
    background: #2b669a;
}
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: #2b669a;
}
.control input:disabled ~ .control__indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control__indicator:after {
    display: block;
}
.control--checkbox .control__indicator:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: #7b7b7b;
}
.control--radio .control__indicator:after {
    left: 7px;
    top: 7px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #fff;
}
.control--radio input:disabled ~ .control__indicator:after {
    background: #7b7b7b;
}
.select {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
}
.select select {
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 10px 15px;
    outline: 0;
    border: 0;
    border-radius: 0;
    background: #e6e6e6;
    color: #7b7b7b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select select::-ms-expand {
    display: none;
}
.select select:hover,
.select select:focus {
    color: #000;
    background: #ccc;
}
.select select:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.select__arrow {
    position: absolute;
    top: 16px;
    right: 15px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select__arrow,
.select select:focus ~ .select__arrow {
    border-top-color: #000;
}
.select select:disabled ~ .select__arrow {
    border-top-color: #ccc;
}
