@font-face {
    font-family: nexaBold;
    src: url('../fonts/nexa_bold.otf');
}

@font-face {
    font-family: nexaLight;
    src: url('../fonts/nexa_light.otf');
}

body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    font-size:16px;
    display: flex;
    display: -ms-flexbox;
    flex-flow: column;
    min-height: 100vh;
    height: 100%;
}
/*html, body { height:100%; }*/
p {
    font-size: 18px;
}
p.small {
    font-size: 14px;
}
a,
a:hover,
a:focus,
a:active,
a.active {
    color: #394053;
    outline: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}
h1{
    font-family: 'nexaBold', sans-serif;
    letter-spacing: 2px;
}
#portfolio h1 {
    color: #3790BD;
    text-transform: uppercase;
    word-wrap: break-word;
}
.img-centered {
    margin: 0 auto;
}
header {
    text-align: center;
    background: #38d1db;
    background: linear-gradient(45deg, #38d1db, #3650a0);
    color: #FFF;
    box-shadow: inset 0 -10px 8px -10px #000000;;
}
header .container {
    padding-top: 100px;
    padding-bottom: 50px;
}
.container.container-low {
    padding-top: 121px;
    padding-bottom: 25px;
}
.container.container-narrow {
    max-width: 500px;
}
header img {
    display: block;
    margin: 0 auto 20px;
}
header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2em;
}
header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}
@media (min-width: 768px) {
    header .container {
        padding-top: 200px;
        padding-bottom: 100px;
    }
    header .intro-text .name {
        font-size: 4.75em;
    }
    header .intro-text .skills {
        font-size: 1.75em;
    }
}
.navbar-custom {
    background: #FFFFFF;
    color: #272F32;
    font-weight: 700;
    box-shadow: 0 0px 8px 0px #111;
}
.navbar-custom a:focus {
    outline: none;
}
.navbar-custom .navbar-brand {
    color: #2C3E50;
    margin-top:-20px;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .navbar-brand:active,
.navbar-custom .navbar-brand.active {
    color: #495867;
}
.navbar-custom .navbar-nav {
    letter-spacing: 1px;
}
.navbar-custom .navbar-nav li a {
    color: #495867;
}
.navbar-custom .navbar-nav li a:hover {
    color: #000;
    outline: none;
}
.navbar-custom .navbar-nav li a:focus,
.navbar-custom .navbar-nav li a:active {
    color: #1E2426;
}
.navbar-custom .navbar-nav li.active a {
    color: #1E2426;
    background: #394053;
}
.navbar-custom .navbar-nav li.active a:hover,
.navbar-custom .navbar-nav li.active a:focus,
.navbar-custom .navbar-nav li.active a:active {
    color: #495867;
    background: #394053;
}
.navbar-custom .navbar-toggle {
    color: #000;
    text-transform: uppercase;
    font-size: 10px;
    border-color: #CCC;
}
.navbar-custom .navbar-toggle:hover,
.navbar-custom .navbar-toggle:focus {
    background-color: #EEE;
    color: #000;
    border-color: #BBB;
}
@media (min-width: 768px) {
    .navbar-custom {
        padding: 25px 0;
        -webkit-transition: padding 0.3s;
        -moz-transition: padding 0.3s;
        transition: padding 0.3s;
    }
    .navbar-custom .navbar-brand {
        font-size: 2em;
        max-width: 450px;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
    .navbar-custom.affix {
        padding: 10px 0;
    }
    .navbar-custom.affix .navbar-brand {
        font-size: 1.5em;
        margin-top:-10px;
        max-width: 350px;
    }
}
section {
    padding: 40px 0;
    flex: 1;
}
section h2 {
    margin: 0 0 0.5em 0;
}

section#registration {
    padding: 0;
}

section#registration .homepage-register-panel h2,
section#registration .homepage-register__title {
    color: #354B5E;
    text-shadow: none;
    font-size: 1.5em;
    font-weight: 700;
}

@media (max-width: 767px) {
    section {
        padding: 30px 0;
    }
    section.first {
        padding-top: 75px;
    }

    .navbar-custom .navbar-brand {
        max-width: 350px;
        margin-top: -12px;
    }
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eeeeee;
}
.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: none;
    border-radius: 0;
    font-size: 1.5em;
    background: none;
    box-shadow: none !important;
    resize: none;
}
.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: 0.85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top 0.3s ease,opacity 0.3s ease;
    -moz-transition: top 0.3s ease,opacity 0.3s ease;
    -ms-transition: top 0.3s ease,opacity 0.3s ease;
    transition: top 0.3s ease,opacity 0.3s ease;
}
.floating-label-form-group:not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eeeeee;
}
.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}
.floating-label-form-group-with-focus label {
    color: #394053;
}
form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eeeeee;
}
.footer {
    font-size: 15px;
}
.footer,
.footer a {
    color: #FFF;
    position: relative;;
}
.footer h3 {
    margin-bottom: 30px;
}
.footer-above {
    /*padding-top: 50px;*/
    background-color: #475F77;
    display: flex;
    display: -ms-flexbox;
    justify-content: end;
    flex-direction: column;
    align-items: center;
}
.footer-col {
    margin-bottom: 50px;
}
.footer-below {
    padding: 25px 0;
    background-color: #354B5E;
    width: 100%;
    color: #FFF;
}
.footer-below a {
    color: #FFF;
}
.footer-dsj-link {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.25em;
    line-height: 0;
}
.footer-dsj-logo {
    display: inline-block;
    vertical-align: middle;
    height: 26px;
    width: auto;
}
#registration .footer-below {
    opacity: 0.8;
}
#particles {
    opacity: 0.4;
}
.btn-google-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    margin: 8px 0;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
    transition: background-color 0.2s, box-shadow 0.2s;
}
.btn-google-oauth:hover,
.btn-google-oauth:focus {
    background: #f8f9fa;
    color: #3c4043;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.25);
}
.btn-google-oauth__icon {
    display: flex;
    flex-shrink: 0;
}
.btn-google-oauth__label {
    flex: 0 1 auto;
}
.share-address-card {
    border-left: 4px solid #577399;
}
.share-challenge-box .share-question {
    font-size: 1.15em;
    margin-bottom: 1.25em;
}
.share-link-box .share-url-input {
    font-family: monospace;
    font-size: 1.1em;
}
.share-auth-panel h3 {
    margin-top: 0;
}
.btn-outline {
    color: #FFF;
    font-size: 20px;
    border: solid 2px #FFF;
    background: transparent;
    transition: all 0.3s ease-in-out;
    margin-top: 15px;
}
.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    color: #394053;
    background: #FFF;
    border: solid 2px #FFF;
}
.btn-primary {
    /*color: #FFF;
    background-color: #2C3E50;
    border-color: #2C3E50;
    font-weight: 700;*/
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    /*color: #FFF;
    background-color: #1a242f;
    border-color: #161f29;*/
}
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    /*background-image: none;*/
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    /*background-color: #2C3E50;
    border-color: #2C3E50;*/
}
.btn-primary .badge {
    /*color: #2C3E50;
    background-color: #FFF;*/
}
.btn-success {
    /*color: #FFF;
    background-color: #394053;
    border-color: #394053;
    font-weight: 700;*/
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    /*color: #FFF;
    background-color: #128f76;
    border-color: #11866f;*/
}
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    /*background-image: none;*/
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
    /*background-color: #394053;
    border-color: #394053;*/
}
.btn-success .badge {
    /*color: #394053;
    background-color: #FFF;*/
}
.btn-social {
    display: inline-block;
    height: 50px;
    width: 50px;
    border: 2px solid #FFF;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
}
.btn:focus,
.btn:active,
.btn.active {
    /*outline: none;*/
}
.scroll-top {
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
    z-index: 1049;
}
.scroll-top .btn {
    font-size: 20px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    line-height: 28px;
}
.scroll-top .btn:focus {
    outline: none;
}

.form-horizontal .control-label {
    text-align: left;
}

.friendlist ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#registration {
    padding: 0;
    height: 100%;
    background: #38d1db;
    background: linear-gradient(45deg, #38d1db, #3650a0);
    flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    position: relative;
}

#registration, .footer-below {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

#registration:before {
    content: none;
}

#registration .footer-below {
    display: flex;
    display: -ms-flexbox;
    justify-content: end;
    -ms-flex-pack: end;
    flex-direction: column;
    flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    align-items: center;
}

.center-vertical {
    flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 90px 15px 40px;
    position: relative;
    z-index: 1;
}

.homepage-layout.container {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}

.homepage-layout__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.homepage-hero {
    padding-top: 0;
    color: #fff;
    text-align: left;
}

.homepage-hero h1 {
    margin: 0 0 0.5em;
    font-size: 2.1em;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.homepage-hero__lead {
    font-size: 1.15em;
    line-height: 1.55;
    margin-bottom: 1em;
}

.homepage-hero__benefits {
    margin: 0 0 1.25em;
    padding: 0;
    list-style: none;
    font-size: 0.98em;
    line-height: 1.5;
}

.homepage-hero__benefits li {
    margin-bottom: 0.45em;
}

.homepage-hero__benefits .fa-check {
    color: #dff0d8;
    margin-right: 0.4em;
}

.homepage-hero__geo {
    font-size: 0.95em;
    line-height: 1.55;
    opacity: 0.95;
    margin-bottom: 0.75em;
}

.homepage-hero__link {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
}

.homepage-hero__link:hover,
.homepage-hero__link:focus {
    color: #f0f8ff;
}

.homepage-register-panel {
    background-color: #fff;
    padding: 30px 50px;
    color: #354B5E;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.homepage-register-panel h2,
.homepage-register-panel h3,
.homepage-register-panel label,
.homepage-register-panel p {
    color: #354B5E;
    text-shadow: none;
}

.homepage-register__title {
    margin-top: 0;
    font-size: 1.5em;
    color: #354B5E;
    text-shadow: none;
    font-weight: 700;
}

.homepage-register__intro {
    margin-bottom: 1em;
    color: #555;
}

@media only screen and (max-width: 1200px) {
    .homepage-hero {
        text-align: center;
        padding-top: 0;
    }

    .homepage-hero__benefits {
        text-align: left;
        display: inline-block;
    }
}

#particles {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

span.line-text {
    display: table;
    white-space: nowrap;
}

span.line-text:before,
span.line-text:after {
    border-top: 1px solid #DDD;
    content: '';
    display: table-cell;
    position: relative;
    top: 0.7em;
    width: 50%;
}

span.line-text:before { right: 1.5%; }
span.line-text:after { left: 1.5%; }

@media only screen and (max-width: 1200px) {
    #registration {
        display: flex;
        flex: 1 1 auto;
        padding: 0;
    }

    .center-vertical {
        padding: 100px 15px 30px;
    }

    .homepage-layout__row {
        display: flex;
    }

    .mobileMargin {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 768px) {
    #registration {
        padding: 0;
    }

    .center-vertical {
        padding: 80px 15px 24px;
    }

    section#registration h2 {
        font-size: 2.8em;
    }

    section#registration .homepage-register__title {
        font-size: 1.35em;
    }

    .container.container-low {
        padding-top: 70px;
    }
}

@media only screen and (max-width: 500px) {
    .navbar-custom .navbar-brand {
        max-width: 290px;
        margin-top: -8px;
    }
    section#registration h2 {
        font-size: 2.2em;
    }

    section#registration .homepage-register__title {
        font-size: 1.25em;
    }
}

@media only screen and (max-width: 420px) {
    .center-vertical {
        padding: 85px 12px 20px;
    }
}

@media only screen and (max-width: 370px) {
    .navbar-custom .navbar-brand {
        max-width: 240px;
        margin-top: -2px;
    }
}

.address-card__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35em;
}

.address-card__action-link {
    font-size: 0.9em;
    text-decoration: underline;
}

.address-card__action-link:hover,
.address-card__action-link:focus {
    text-decoration: underline;
}

.address-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0;
    padding: 0;
}

.address-card__country {
    flex: 1;
}

.address-card__shared-count {
    margin: 0;
    font-size: 0.85em;
    text-align: right;
    flex-shrink: 0;
}

.address-card__verified-icon {
    color: #3c763d;
    margin-left: 0.35em;
    font-size: 1.1em;
}

.address-card__verified-label {
    display: inline-block;
    margin-top: 0.35em;
    padding: 0.2em 0.5em;
    font-size: 0.85em;
    font-weight: normal;
    color: #3c763d;
    background-color: #dff0d8;
    border-radius: 3px;
}
