.agency-signup .title-icon {
    margin-right: 1rem;
}

.agency-signup #header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(../img/agency-signup-header.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

.agency-signup #header .titles {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    z-index: 9;
}

.agency-signup #header .titles h1 {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.agency-signup #header ul {
    color: #ffffff;
    font-size: 1.5rem;
    padding-left: 0;
    margin-bottom: 2rem;
    list-style: none;
    z-index: 9;
}

.agency-signup #header ul i {
    color: #f3bc2f;
}

.agency-signup #header .start {
    z-index: 9;
}

.agency-signup #header .start a{
    text-transform: unset;
}

.agency-signup #header .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.agency-signup #agency-signup-form .form-title {
    color: #107490;
}

.agency-signup #agency-signup-form a {
    color: #107490;
    font-weight: 600;
}

.agency-signup #agency-signup-form .sub-container {
    max-width: 800px;
    margin: 0 auto;
}

.agency-signup #agency-signup-form .form-header {
    display: flex;
    justify-content: space-between;
}

.agency-signup #agency-signup-form .form-header .right {
    text-align: right;
}

.agency-signup #agency-signup-form .form-header .right p:first-child {
    margin-bottom: 0;
}

.agency-signup #agency-signup-form .form-header .right a {
    font-weight: 600;
}

.agency-signup #agency-signup-form .form-section {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 3px solid #d4d6d7;
    border-radius: 10px;
}

.agency-signup #agency-signup-form .subsection-title {
    margin-top: 2rem;
    color: #107490;
}

.agency-signup #agency-signup-form .subsection-title-small {
    color: #107490;
}

.agency-signup #agency-signup-form .password-input .input-group-text {
    justify-content: center;
    min-width: 50px;
}

.agency-signup #agency-signup-form .password-input i {
    cursor: pointer;
}

.agency-signup #agency-signup-form input#agencysignupform-policy_check + label {
    color: unset;
}

.signup-success #confirm {
    text-align: center;
}

.signup-success #confirm i {
    color: #107490;
    font-size: 2rem;
}

.signup-success #confirm h2,
.signup-success #confirm h3,
.signup-success #confirm h4
{
    color: #107490;
    font-weight: 600;
}

.signup-success #confirm .mail-sent {
    margin-top: 2rem;
}

/* necessaria per bug yii\bootstrap4\ActiveForm (https://github.com/yiisoft/yii2-bootstrap4/issues/214) */
.invalid-feedback {
    display: block;
}

@media screen and (max-width: 576px)
{
    .agency-signup #header .titles h2 {
        font-size: 1.5rem;
    }

    .agency-signup #header ul {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px)
{
    .agency-signup #agency-signup-form .form-header {
        flex-flow: column;
    }

    .agency-signup #agency-signup-form .form-header .right {
        text-align: left;
    }
}