html, body, p, h1, h2, h3, h4, h5, h6 {
    font-family: Ubuntu, Helvetica, Arial, sans-serif;
}

#logo {
    margin: 30px;
}

.admin-username-field {
    margin-bottom: 10px;
}

.no-margin-top {
    margin-top: 0 !important;
}

h2 {
    font-size: 36px;
    font-weight: normal;
    margin-bottom: 1em;
}

p.intro {
    font-weight: 300;
    font-size: 18px;
}

.pull-right {
    float: right;
}

#registration_birth_date > select {
    width: auto;
    display: inline-block;
    margin-right: 1em;
}

.welcome-img {
    width: 100%;
    display: none;
}

.logo-text {
    font-size: 16px;
    line-height: 20px;
}

.blue-text {
    color: #1C7C8F;
}

.green-text {
    color: #7AC943;
}

.welcome-img {
    width: 100%;
    display: none;
}

.navigation-bar-mobile {
    display: none !important;
}

.navigation-bar-mobile ul {
    width: 100%;
    list-style: none;
    padding-left: 0px;
}

.navigation-bar-mobile ul li {
    border-bottom: 1px solid rgba(34, 36, 38, .15);
    padding: 10px 0px;
}

.navigation-bar-mobile ul li.active {
    border-bottom: 1px solid rgba(0, 0, 0, .87);
}

.navigation-bar-mobile ul li a {
    color: rgba(0, 0, 0, 0.87);
}

.login-wrapper {
    margin-left: 4em !important;
    margin-top: 90px !important;
}

.login-wrapper h3 {
    display: inline-block;
    width: auto !important;
    margin-top: 0;
    margin-right: 1em;
    padding-left: .5em;
}

.login-wrapper > .ui.form {
    background-color: #3c6a9f;
    padding: 2em 1.2em 1.2em;
    color: #ffffff !important;
}

.ui.form input[type=text], .ui.form input[type=password], .ui.form select, .ui.form input[type=email], .ui.dropdown {
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

.login-wrapper > .ui.form > a {

}

.login-wrapper > .ui.form > a.register-link {
    color: #7ec248 !important;
    display: inline-block;
}

.ui.button.margin {
    margin-bottom: 1em !important;
}

.form-bg-image {
    position: absolute;
    top: -194px;
    right: -15px;
}

.forgot-password {
    background: #579ab7 !important;
    padding: 1em;
    text-align: center;
}

.forgot-password > a {
    color: #ffffff !important;
}

/* registration form */

.registration-wrapper{
    max-width: 990px;
    width: 100%;
    padding: 40px !important;
    margin: auto;
}

.ui.raised.segment.form-segment, .password-reset-wrapper div.ui.form {
    /*width: 70%;*/
    /*margin-left: 30px;*/
    margin-top: 150px;
    background-color: #579ab7 !important;
}

.ui.raised.segment.form-segment, .ui.top.attached.label {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: none;
    border: 0;
}

.ui.raised.segment.form-segment > .ui.top.attached.label {
    background-color: #3c6a9f !important;
    color: #ffffff !important;
}

.field label {
    display: none !important;
}

.field label.show-label {
    display: initial !important;
}

.ui.raised.segment.form-segment .form-bg-image {
    top: -169px;
    right: 10px;
}
.three.fields.m0,
.three.fields.m0 > .field {
    margin-bottom: 0 !important;
}

.privacy {
    color: white;
}

.privacy_checkbox {
    margin-top: 3px;
}

.hidden-content p, .hidden-content ul {
    display: none;
}

.homepage-video-en {
    max-width: 100%;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

/* Auto complete on the register page */

.autocomplete {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}


.register-modal .content {
    background-color: #579ab7 !important;
    color: #FFFFFF;
}

.register-modal .header {
    background-color: #3c6a9f !important;
    color: #FFFFFF;
}

.register-modal .header h3 {
    text-align: center;
    color: #FFFFFF;
}


.register-modal #continue_button {
    margin: 0px auto !important;
}

.register-modal .ui.checkbox label.checkbox-label {
    color: #FFFFFF;
}

.register-modal button,
.register-modal .ui.grid {
    transition: .2s;
    opacity: 1;
    height: auto;
}

.register-modal button.hidden,
.register-modal .ui.grid.hidden {
    opacity: 0;
    height: 0;
}


@media only screen and (max-width: 767px) {
    #logo {
        margin: 0px 30px 0px 30px;
    }

    div.navigation-spacer {
        display: none !important;
    }

}

@media only screen and (max-width: 455px) {
    .navigation-bar-mobile {
        display: block !important;
        padding-top: 0px !important;
    }

    .navigation-bar {
        display: none !important;
    }

    .navigation-bar-mobile ul {
        margin-top: 0px;
    }

    .navigation_wrapper {
        margin-top: 0px !important;
    }
}

/* for mobile */
@media only screen and (max-width: 629px) {
    .welcome-img {
        display: block;
    }

    h2 {
        text-align: center !important;
        font-size: 24px;
    }

    .login-wrapper .ui.form .form-bg-image {
        display: none !important;
    }

    .login-wrapper > div.ui.form {
        margin: 1em 1em 0 !important;
    }

    .forgot-password {
        margin: 0 1em 1em !important;
    }

    .ui.raised.segment.form-segment {
        width: 100%;
        margin-left: 0px;
    }

    #registration-form .ui.raised.segment.form-segment {
        margin-top: 6em;
    }

    #registration-form .ui.raised.segment.form-segment > .ui.top.attached.label {
        padding-top: 5em;
        margin-bottom: 5em;
    }

    #registration-form .ui.raised.segment.form-segment > div.ui.form {
        margin-top: 6em !important;
    }

    .ui.raised.segment.form-segment .form-bg-image {
        margin: 0 auto !important;
        right: 0 !important;
        left: 50%;
        right: 50%;
        transform: translate(-50%, 0);
        top: -209px;
    }

    .column.mobile.only {
        width: 100% !important;
        height: auto !important;
    }

    .row > .two.wide.column {
        display: none !important;
    }

    #logo {
        margin-bottom: 0;
    }
}


/* for tablet */
@media only screen and (min-width: 630px) and (max-width: 1023px) {
    .ui.twelve.wide.column.stackable.grid > .two.wide.column {
        display: none !important;
    }

    #welcome-text, .ui.twelve.wide.column.stackable.grid > .six.wide.column.login-wrapper {
        margin: auto 30px !important;
        padding: 0 30px !important;
        width: 100% !important;
    }

    .ui.twelve.wide.column.stackable.grid > .six.wide.column.login-wrapper {
        padding-bottom: 30px !important;
    }
}

/** FAQ **/

.blue-bg {
    background-color: #1C7C8F;
}

.green-bg {
    background-color: #7AC943;
}

.faq-question,
.faq-answer,
.faq p {
    margin: 0 !important;
}

.faq > .content,
.faq > .title {
    padding: 0 !important;
}

.faq > .title {
    background-color: rgba(28, 124, 143, .1);
    border-bottom: 1px solid white;
}

.faq-question p {
    padding: .5rem !important;
}

.faq-answer {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
}

.faq-answer .letter,
.faq-question .letter {
    font-size: 2rem;
    line-height: 2em;
    text-align: center;
}

.faq-answer .text,
.faq-question .text {
    display: flex !important;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    font-size: 1.4rem;
    height: inherit;
}

.faq-answer .text{
    font-size: 1.3rem;
    line-height: 2rem;
    padding: 2rem !important;
}

/* Removes auto generated error messages from forms because of custom ones*/
.errors{
    display: none;
}

#link_code_wrapper h4{
    margin-bottom: .2em;
    color: #FFFFFF;
}
