﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    font-family: 'Roboto', sans-serif;
}

a, h6, p, label, span, select, input, ul, li, button {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}

a {
    color: #007daa;
}

    a:hover {
        color: #fab900;
    }

.primary-color {
    background-color: #007daa;
}

.custom-shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: 0px;
    border-radius: .5rem;
}

.primary-title {
    border-bottom: 2px solid #007daa;
    border-radius: 20px 20px 0px 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .primary-title h1 {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 0px;
        text-align: center;
        color: #007daa;
    }

.main-body {
    background-color: #f6f7f9;
    border-radius: 1.5rem;
    min-height: calc(100vh - 100px);
    margin-top: -30px;
    margin-bottom: 20px;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */

.btn-primary {
    border-radius: 2rem;
    width: auto;
    padding: .5rem 4rem;
    background-color: #007daa;
    border-color: #007daa;
    font-size: 1rem;
}

    .btn-primary.focus, .btn-primary:focus {
        box-shadow: none
    }

    .btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        color: #007daa;
        background-color: #fab900;
        border-color: #fab900;
        box-shadow: none;
    }

.btn-sm {
    font-size: .875rem;
    padding: .5rem 2rem;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #007daa;
    border-color: #007daa;
}

.btn-success, .btn-danger, .btn-info, .btn-warning {
    border-radius: 2rem;
    width: auto;
    padding: .5rem 4rem;
    font-size: 1rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.input-group-text {
    background-color: #007daa !important;
    color: #ffffff;
    border: 0 !important;
    border-radius: 50% !important;
    position: absolute;
    z-index: 999;
    width: 38px;
    height: 38px;
    padding: 0px;
    text-align: center;
    display: block;
    line-height: 38px;
}

    .input-group-text.extra-top {
        top: 32px;
    }

.input-group .form-control {
    text-indent: 30px;
    border: 1px solid #007daa;
    width: 100%;
    line-height: 28px;
    text-align: unset;
}

.input-group > .custom-select:not(:last-child), .input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:first-child), .input-group > .form-control:not(:first-child) {
    border-radius: 1.5rem;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #007daa;
    background-color: #007daa;
}

.custom-control-label::before {
    border-color: #007daa;
}

.custom-control-label {
    font-size: .875rem;
    color: #6c6c6c;
}

    .custom-control-label::before {
        top: .2rem;
    }

.form-control:focus {
    box-shadow: none;
    outline: 0px;
    border-color: #007daa;
    box-shadow: 0 0 0 .2rem rgba( 0, 125, 170,.25);
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 .2rem rgba( 0, 125, 170,.25);
}

.text-danger {
    margin-top: .25rem;
}

.validation-summary-errors {
    width: 100%;
    background-color: #ffe4e6;
    padding: .75rem;
    margin-bottom: 1rem;
}

    .validation-summary-errors ul {
        margin-bottom: 0px;
        padding-left: 1rem;
    }

.each-story {
    border-radius: .5rem;
    padding: 1rem;
    flex-direction: row;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border: none;
    margin-bottom: 1.25rem;
}

    .each-story .card-img-top {
        width: 250px;
        height: auto;
        object-fit: scale-down;
        border-radius: .5rem;
        align-self: baseline;
    }

    .each-story .card-body {
        padding: 0rem 1rem;
    }

    .each-story .card-title {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: .25rem;
        color: #007daa;
    }

    .each-story .card-text {
        color: #212121;
    }

.each-session-content h5 i {
    font-size: 2rem;
    display: inline-block;
    vertical-align: middle;
    top: -2px;
    position: relative;
    margin-right: 3px !important;
    color: #fab900 !important;
}

.each-session-content .card-body > a:hover {
    opacity: .7;
    text-decoration: none;
}

.each-session-content .card-text {
    margin-bottom: 1rem;
}

.mejs__container {
    background: #007daa;
    border-radius: .5rem;
    overflow: hidden;
}

.transcription-section-front {
    border-radius: .5rem;
    border: 0px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    overflow: hidden;
    height: 30rem;
}

.transcription-section-back {
    border-radius: .5rem;
    border: 0px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    overflow: hidden;
    height: 32rem;
}

    .transcription-section-front .card-body, .transcription-section-back .card-body {
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
    }

.toggle-off.btn, .toggle-on.btn {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
}

.front,
.back {
    -webkit-perspective: 0;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    visibility: visible;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

.flip .front {
    z-index: 999;
}

.rotate .front {
    z-index: 2;
}

.card-flip, .front, .back {
    height: 34rem !important;
}

.account-menu {
}

    .account-menu.nav-pills .nav-link.active, .account-menu.nav-pills .show > .nav-link {
        background-color: #fab900;
        border-color: #fab900;
        color: #007daa;
        font-weight: bold;
    }

.manage-account-body {
    border-radius: .5rem;
    border: 0px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    overflow: hidden;
    background-color: #fff;
    padding: 1rem;
}


    .manage-account-body h4 {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: .75rem;
        margin-bottom: 1rem;
        color: #007daa;
    }

#partialLearn .text-danger, #partialExercise .text-danger {
    font-size: 1rem;
}

.custom-excercise-area {
    display: flex;
    justify-content: space-between;
}

    .custom-excercise-area .btn-success {
        margin-bottom: 20px;
    }

.transcript-toggle {
    float: right;
}

@media (min-width: 768px) and (max-width: 992px) {
    .each-session-content .card-body {
        width: calc(100% - 250px);
    }
}

@media (max-width: 767.98px) {

    .navbar-nav .nav-link.english-german-btn {
        padding: .5rem 1rem;
    }

    .carousel-control-next, .carousel-control-prev {
        display: none;
    }

    .exercise-btn-group {
        text-align: center;
    }

        .exercise-btn-group .btn-primary {
            margin-bottom: 20px;
        }

    .translation-btn span {
        /*        display: none;
*/
    }

    .custom-excercise-area {
        display: block;
    }

    .transcript-toggle {
        margin-top: 10px;
        float: none;
        display: block;
    }

    .card-header {
        text-align: center;
    }

    .custom-excercise-area > .btn-primary {
        margin-bottom: 20px;
    }

    .each-story {
        flex-direction: column;
    }

        .each-story .card-img-top {
            width: 100%;
            height: auto;
            display: none
        }

    .main-body {
        margin-top: -20px;
        margin-left: -15px;
        margin-right: -15px;
    }

    .navbar-collapse {
        align-items: baseline;
        flex-direction: column-reverse;
        display: flex;
    }

    .navbar-toggler i {
        color: #fff;
    }

    .navbar-toggler:focus {
        border-color: #fff;
    }

    .text-small-center {
        text-align: center !important;
    }

    .input-group-text {
        width: 33px;
        height: 33px;
    }

        .input-group-text.extra-top {
            top: 28px;
        }

    .transcription-section {
        height: 28rem !important;
    }
}

.disable-arrow-section {
    filter: grayscale(100%);
    opacity: .5;
    pointer-events: none;
}

@media (max-width: 992px) {
    .hide-on-small {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .show-on-small {
        display: none !important;
    }
}



@media (min-width: 768px) and (max-width: 992px) {
    .group-check-sentences {
        padding-top: 30px;
    }

        .group-check-sentences .col-xs-6 .toggle {
            width: 100% !important;
            height: auto !important;
        }

        .group-check-sentences .col-md-4 .btn-primary {
            font-size: 12px;
            padding: 5px 15px;
        }
}

@media (max-width: 768px) {
    .group-check-sentences .col-xs-6 {
        width: 50%;
        max-width: 50%;
        flex: initial;
    }

    .group-check-sentences .btn-primary {
        font-size: 12px;
        padding: 5px 15px;
    }

    .group-check-sentences .text-center {
        text-align: left !important;
    }

    .group-check-sentences .col-xs-6.text-md-left .btn-primary {
        margin-right: auto;
        font-size: 12px;
        padding: 5px 15px;
    }

        .group-check-sentences .col-xs-6 .toggle {
            width: 100% !important;
            height: auto !important;
        }

        .group-check-sentences .col-xs-6 .toggle-off.btn, .toggle-on.btn {
            padding: 5px 15px !important;
            font-size: 12px;
        }

        .group-check-sentences .col-xs-6 .btn-primary {
            display: block;
        }
}
