body {
    font-family: 'Open Sans', sans-serif;
}

h1 {
    font-family: 'Abel', sans-serif;
    font-size: 500%;
    margin-top: 1em;
}

.control_label {
    font-weight: bold;
    margin-bottom: 3px;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 300%;
    }
}

@media screen and (max-width: 430px) {
    h1 {
        font-size: 230%;
        margin-top: 0em;
    }
}

h4 {
    font-family: 'Abel', sans-serif;
    font-size: 200%;
}

.card {
    transition: box-shadow .35s;
    max-width: 400px;
    margin: auto;
    box-shadow: 0 0 8px rgba(33, 33, 33, .1);
}

.card:hover {
    box-shadow: 0 0 15px rgba(33, 33, 33, .45);
}

.app_title {
    color: white;
}

.navbar-custom {
    background-color: #4f81f1;
}

.logotype {
    max-width: 100px;
    max-height: 100px;
}

@media screen and (max-width: 500px) {
    .logotype {
        position: absolute !important;
        left: -5px !important;
        top: -30px !important;
        width: 50px !important;
        height: 50px !important;
    }
}

a {
    color: #4f81f1;
}

.btn-primary {
    background-color: #4f81f1;
}

.btn-discreet {
    border: 1px solid rgb(200, 200, 200);
}

/* ==========================
=== Toggle switch =========*/

/* The switch - the box around the slider */

.toggle-label {
    font-weight: bold;
    margin-right: 0.5em;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 21px;
    width: 21px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #4f81f1;
}

input:focus+.slider {
    box-shadow: 0 0 1px #4f81f1;
}

input:checked+.slider:before {
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 30px;
}

.slider.round:before {
    border-radius: 50%;
}

.warning {
    color: red;
    font-weight: bold;
}