/*SOLUCAO FAMILIA - TUTOR*/

a.redirect-reference:hover {
    color: #FFFFFF;
}

.no-family h3 {
    text-align: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.no-family .left-button {
    padding-right: 0px;
    margin-bottom: 10px
}

.no-family .button {
    width: 100%;
}

#add-no-partner-member label.error {
    color: #C30000;
}

    #add-no-partner-member label.error:before {
        border: 1px solid #C30000;
    }

@media screen and (min-width: 768px) {
    .no-family .left-button {
        padding-right: 5px;
        margin-bottom: 0;
    }

    .no-family .button {
        width: 200px;
        float: initial;
    }

    .no-family {
        padding: 0
    }
}

.dropdown-arrow {
    background-color: #242424;
    position: absolute;
    top: 50%;
    right: 20px;
}

#add-no-partner-member .terms p {
    margin: 5px 0px;
}

#add-no-partner-member .text-small-warning p {
    font-size: 11px;
    text-transform: none;
}

/* section add new member */
#add-no-partner-member .terms-and-conditions {
    min-height: 0px !important;
    padding: 20px 0;
}

    #add-no-partner-member .terms-and-conditions p {
        text-align: left;
        margin-bottom: 20px;
    }

        #add-no-partner-member .terms-and-conditions p label {
            text-transform: none;
        }

#add-no-partner-member .family-text-small-warning {
    text-align: left;
    margin: 0;
}

    #add-no-partner-member .family-text-small-warning p {
        font-size: 11px;
        text-transform: none;
    }

/* START checkbox label error - Bug #11584 */
#add-no-partner-member .terms-and-conditions label.error {
    color: #C30000;
}

    #add-no-partner-member .terms-and-conditions label.error:before {
        border: 1px solid #C30000;
    }

    #add-no-partner-member .terms-and-conditions label.error a:hover {
        text-decoration: none;
    }

    #add-no-partner-member .terms-and-conditions label.error a:link {
        text-decoration: underline;
    }
/* END checkbox label error */

.breadcrumb {
    padding: 20px 0px;
    padding-left: 30px;
    border-bottom: 1px solid rgb(221,221,221);
}

.steps-progress-container {
    padding: 0;
}

    .steps-progress-container #steps-progress {
        margin: 0 10px;
    }

.steps-progress-pages-container {
    padding: 0 10px;
}

    .steps-progress-pages-container.no-margin {
        padding: 0;
    }

/* Fix Continue/Cancel button order - use the same display as before (flex) */
/*.add-member-form-container .inner-item #add-partner-member .button-holder {
    display: block;
}*/

.button-holder {
    flex-wrap: wrap;
}

    .button-holder.has-warning small { /*small warning in button holder*/
        font-size: 16px;
        margin-top: 20px;
        margin-bottom: 10px;
        text-align: left;
    }

#page-delay-quotas .step-section {
    padding-right: 20px;
    padding-left: 20px;
}

#page-delay-quotas .quotas-delay-row {
    box-sizing: content-box;
    line-height: 40px;
    display: flex;
    flex-wrap: wrap;
}

#page-delay-quotas .quotas-price {
    font-size: 20px;
    font-weight: 700;
    text-align: right;
    margin-left: auto;
}

.squares-container {
    background: #f4f4f4;
    margin-bottom: 50px;
}

.square-panel {
    padding-bottom: 350px;
    border-bottom: solid 1px rgb(221,221,221);
}

    .square-panel .inner-item {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .square-panel .content-wrapper {
        text-align: center;
        padding: 0 12%;
        transform: scale(0.6);
        opacity: 0;
        transition: transform 200ms 250ms ease-in-out, opacity 200ms 250ms ease-in-out;
    }

.steps-progress-page.steps-progress-visible #members-step-landing .square-panel .content-wrapper {
    transform: scale(1);
    opacity: 1;
}

.square-panel h1 {
    font-family: Roboto;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 300;
}

.square-panel p {
    font-size: 16px;
}

.square-panel .icon {
    height: 92px;
}

#square-join-family.square-panel .icon {
    padding: 6px 0;
}

.square-panel svg {
    height: 100%;
    max-width: 150px;
    stroke: #242424;
}

.square-panel .button {
    width: 100%;
    margin-top: 20px;
}

.pricing-rows-container {
    padding-bottom: 0 !important;
}

.price-row {
    box-sizing: content-box;
    line-height: 40px;
    text-transform: uppercase;
    padding: 5px 0;
}

    .price-row.bold div:last-child {
        font-size: 28px;
        text-align: right;
    }

    .price-row.bold sup {
        top: -0.25em;
    }

.table-row,
.table-row > .inner-item {
    display: flex;
    align-items: center;
}

    .table-row p {
        text-transform: uppercase;
    }

    .table-row picture {
        width: 13%;
    }

    .table-row .profile-info {
        width: 76%;
        padding-left: 4%;
    }

    .table-row .actions {
        width: 11%;
        padding-left: 5%;
    }

    .table-row picture .inner-item {
        padding-bottom: 100%;
        border-radius: 100%;
        overflow: hidden;
    }

        .table-row picture .inner-item img {
            position: absolute;
            left: -999999px;
            top: -999999px;
            right: -999999px;
            bottom: -999999px;
            max-width: none;
        }

    .table-row .actions .action-wrapper {
        position: relative;
    }

.family-member-row {
    z-index: 1;
}

    .family-member-row:hover + .family-member-row {
        z-index: 0;
    }

.table-row .actions svg {
    stroke: rgb(36,36,36);
    width: 100%;
    height: 25px;
    transition: stroke 200ms ease-in-out;
}

    .table-row .actions svg:hover {
        stroke: #c30000;
        cursor: pointer;
    }

        .table-row .actions svg:hover + .slb-tooltip {
            display: block;
        }

    .table-row .actions svg.edit-icon {
        margin-top: 10px;
    }

.family-members-table {
    margin-bottom: 10px;
}

.family-member-row {
    padding: 15px 0;
    max-height: 150px;
    transition: max-height 250ms ease-in-out;
}

    .family-member-row.hiding {
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        min-height: 0;
        transition: max-height 250ms 200ms ease-in-out, margin 50ms 200ms, padding 50ms 200ms;
    }

    .family-member-row > .inner-item {
        transform: scale(1);
        opacity: 1;
        margin-bottom: 12px;
        transition: opacity 200ms 100ms ease-in-out, transform 200ms 100ms ease-in-out;
    }

    .family-member-row.hiding > .inner-item {
        transform: scale(0.8);
        opacity: 0;
        transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
    }

    .family-member-row.captain picture .inner-item::after {
        content: '';
        position: absolute;
        top: 18%;
        left: -25%;
        width: 100%;
        height: 15px;
        transform: rotate(-45deg);
        background: #c30000;
    }

    .family-member-row .name {
        display: flex;
    }

    .family-member-row.captain .name .role {
        color: #c30000;
    }

    .family-member-row .name .role {
        margin-left: auto;
        display: inline-block;
    }

    .family-member-row .name #state {
        text-transform: none;
        font-style: italic;
    }

    .family-member-row .quota-value p {
        color: #c30000;
        font-weight: bold;
    }

    .family-member-row .partner-type,
    .family-member-row .quota-value {
        width: auto;
    }

    .family-member-row .quota-value {
        float: right;
    }

        .family-member-row .quota-value.has-promotion p {
            display: inline-block;
        }

            .family-member-row .quota-value.has-promotion p:first-child {
                color: rgb(190,190,190);
                font-weight: normal;
                position: relative;
                margin-right: 5px;
                font-size: 14px;
            }

                .family-member-row .quota-value.has-promotion p:first-child::after {
                    content: '';
                    position: absolute;
                    top: 45%;
                    left: 0;
                    width: 100%;
                    height: 1px;
                    background-color: rgb(190,190,190);
                }

    .family-member-row.disabled {
        color: rgb(190,190,190);
    }

    .family-member-row.new-member picture .inner-item {
        border: solid 1px rgb(190,190,190);
    }

    .family-member-row.new-member picture .add-member-icon {
        position: absolute;
        right: -10%;
        bottom: -10%;
        height: 50%;
        width: 50%;
        background-color: white;
        border-radius: 100%;
    }

        .family-member-row.new-member picture .add-member-icon svg {
            fill: rgb(190,190,190);
            height: 100%;
            width: 100%;
            /* transition: fill 200ms ease-in-out; */
            /* transform: rotate(0); */
        }

.open-add-member .family-member-row.new-member picture .add-member-icon {
    animation-name: add-member-icon-animation;
    animation-duration: 500ms;
}

@keyframes add-member-icon-animation {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(45deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.family-member-row.new-member .profile-info {
    /* width: auto; */
}

.family-member-row.new-member:hover {
    cursor: pointer;
}

.family-member-row.row-member-template {
    display: none;
}

/*.open-add-member .add-member-form-container {
    max-height: 1700px;
    transition: max-height 500ms ease-in-out;
}*/

.add-member-form-container {
    /* max-height: 0; */
    overflow: hidden;
    min-height: 0;
    transition: max-height 500ms 200ms ease-in-out;
}

.open-add-member .add-member-form-container > .inner-item {
    transform: scale(1);
    transform-origin: center top;
    opacity: 1;
    transition: opacity 200ms 100ms ease-in-out, transform 200ms 100ms ease-in-out;
}

.add-member-form-container > .inner-item {
    transform: scale(0.8);
    opacity: 0;
    transition: opacity 200ms ease-in-out, transform 200ms ease-in-out;
}

.add-member-form-container .button-holder {
    margin-bottom: 40px;
}

.add-member-form-container .form-container {
    border-top: none;
}

.member-partner-type {
    margin-bottom: 10px;
}

    .member-partner-type p {
        margin-right: 15px;
    }

#page-direct-debit .profile-data div:nth-child(4) {
    margin-top: 49px;
}

#page-direct-debit .confirmation-form {
    margin-top: 25px;
}

.confimation-family-page {
    margin-bottom: 50px;
}

    .confimation-family-page svg {
        stroke-width: 1;
    }

    .confimation-family-page.accept svg {
        stroke-width: 0.3;
    }

.manage-family-page .pricing-rows-container {
    border-top: solid 1px rgb(241,241,241);
}

.manage-family-page .steps-progress-page > .slbt-opacity > .step-section {
    border-top: none;
}

/* alerts */

.alert.dismissed,
.alerts.dismissed {
    max-height: 0;
    opacity: 0 !important;
}

.alert,
.alerts {
    max-height: 500px;
    opacity: 1;
    overflow: hidden;
    transition: opacity 250ms ease-in-out, max-height 250ms 250ms ease-in-out;
}

    .alerts > .inner-item {
        /* border-top: solid 1px rgb(221,221,221); */
        border-bottom: solid 1px rgb(221,221,221);
        background-color: rgb(244,244,244);
        display: flex;
        padding: 15px;
    }

    .alerts .alerts-wrapper {
        flex-grow: 1;
    }

    .alert + .alert {
        margin-top: 5px;
    }

.alert {
    padding: 0;
    margin-bottom: 0;
    border: none;
    max-height: 200px;
}

    .alert > .inner-item {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .alert svg {
        width: 25px;
        height: 25px;
        stroke: rgb(36,36,36);
    }

    .alert > .inner-item > .icon {
        flex-basis: 15%;
    }

        .alert > .inner-item > .icon svg {
            stroke: #c30000;
        }

    .alert .content {
        flex-basis: 85%;
        display: flex;
        flex-wrap: wrap;
        font-size: 15px;
    }

    .alert .actions {
        width: 100%;
        display: flex;
    }

        .alert .actions .cross svg {
            width: 12px;
            height: 12px;
            stroke-width: 2px;
        }

        .alert .actions .accept svg {
            width: 12px;
            height: 12px;
            stroke-width: 1px;
        }

        .alert .actions .newAnchor-accept svg {
            width: 12px;
            height: 12px;
            stroke-width: 1px;
        }

.alerts .right-wrapper {
    display: flex;
    align-items: center;
}

    .alerts .right-wrapper .border {
        border-left: solid 1px rgb(190,190,190);
        height: 100%;
    }

.alerts .clear-all {
    padding: 7px 0px;
    padding-left: 15px;
}

    .alerts .clear-all svg {
        width: 25px;
        height: 25px;
        display: block;
    }

    .alerts .actions .action svg,
    .alerts .clear-all svg {
        stroke: rgb(36,36,36);
    }

    .alerts .actions .action:hover,
    .alerts .clear-all:hover {
        color: #C30000;
        cursor: pointer;
    }

        .alerts .actions .action:hover svg,
        .alerts .clear-all:hover svg {
            stroke: #c30000;
        }

.alert .actions {
}

.alert .action {
    display: flex;
    align-items: center;
}

    .alert .action.reject {
        margin-right: 25px;
    }

    .alert .action.newAnchor-reject {
        margin-right: 25px;
    }

    .alert .action .icon {
        padding-left: 10px;
    }

@media (max-width: 425px) {
    .table-row p {
        font-size: 14px;
    }

    .price-row {
        line-height: 35px;
        font-size: 15px;
    }

        .price-row.bold div:last-child {
            font-size: 24px;
        }

    .family-member-row.captain picture .inner-item::after {
        height: 8px;
    }

    .family-member-row .quota-value.has-promotion p:first-child {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    /* alerts */

    .alerts .clear-all svg {
        width: 17px;
        height: 17px;
    }

    .alert .action.reject {
        margin-right: 45px;
    }

    .alert .action.newAnchor-reject {
        margin-right: 45px;
    }

    .alert > .inner-item > .icon {
        text-align: center;
    }

    .square-panel {
        padding-bottom: 45%;
    }

        .square-panel h1 {
            font-size: 30px;
            white-space: nowrap;
        }

        .square-panel p {
            font-size: 20px;
            height: 105px;
        }

        .square-panel .button {
            width: 145px;
            margin-top: 0px;
        }

    .squares-container .square-panel:first-child {
        border-right: solid 1px rgb(221,221,221);
    }

    .family-members-table {
        margin-top: 40px;
    }

        .family-members-table .table-body {
            margin-top: 28px;
            margin-bottom: 12px;
        }

    .table-header {
        padding: 5px 0;
        border-bottom: solid 1px rgb(221,221,221);
    }

        .table-header .table-row p:nth-child(1) {
            width: 10%;
        }

        .table-header .table-row p:nth-child(2) {
            width: 31.32%;
        }

        .table-header .table-row p:nth-child(3) {
            width: 20.88%;
        }

        .table-header .table-row p:nth-child(4) {
            width: 20.88%;
        }

        .table-header .table-row p:nth-child(5) {
            width: 13.92%;
            white-space: nowrap;
        }

        .table-header .table-row p:nth-child(6) {
            width: 3%;
        }

    .table-row picture {
        width: 10%;
        padding: 0 2%;
    }

    .table-row .profile-info {
        width: 87%;
        padding-left: 0;
        display: flex;
        align-items: flex-end;
    }

    .table-row .actions {
        width: 3%;
        padding-left: 0;
    }

    .family-member-row .name {
        width: 36%;
        display: block
    }

    .family-member-row .partner-number,
    .family-member-row .partner-type {
        width: 24%;
    }

    .family-member-row .quota-value {
        width: 16%;
    }

    .family-member-row {
        padding: 0px 0;
    }

        .family-member-row.captain picture .inner-item::after {
            top: 21%;
            height: 9px;
        }

        .family-member-row .name .role {
            font-size: 14px;
        }

        .family-member-row .partner-number span {
            display: none;
        }

        .family-member-row .quota-value p {
            font-size: 20px;
            float: left;
        }

        .family-member-row .quota-value.has-promotion p:first-child {
            font-size: 14px;
            margin-right: 0;
            float: left;
            top: 7px;
        }

        .family-member-row .quota-value.has-promotion p:last-child {
            display: block;
            width: 100%;
        }

    .table-row .actions svg {
        height: 20px;
    }

        .table-row .actions svg.edit-icon {
            margin-top: 3px;
            height: 20px;
        }

    .family-member-row.new-member picture .add-member-icon {
        right: 8%;
        bottom: -10%;
        height: 27px;
        width: 27px;
    }

    .add-member-form-container > .inner-item {
        padding-left: 10%;
    }

    .member-partner-type p {
        display: inline-block;
    }

    #page-direct-debit .confirmation-form {
        margin-top: 55px;
    }
}

@media (min-width: 992px) {
    #family-view {
        padding: 0px 20px;
    }

    .button-holder.has-warning {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

        .button-holder.has-warning small { /*small warning in button holder*/
            font-size: 14px;
            margin-bottom: 0;
            margin-top: 20px;
            padding-left: 30px;
            padding-right: 70px;
        }

    .steps-progress-pages-container.no-margin {
        padding: 0 10px;
    }

    .button-holder {
        justify-content: space-between; /* Fix Continue/Cancel button order */
    }

        .button-holder .button:first-child {
            /*margin-left: 15px;*/
        }

        /* Fix Continue/Cancel button order */
        .button-holder .button.cancel {
            float: left;
        }

        .button-holder .button.newAnchor-cancel {
            float: left;
        }

    .pricing-rows-container {
        padding-left: 30px;
        padding-top: 11px !important;
    }

    /* alerts */

    .alert .content {
        padding-right: 25px;
    }

    .alert .actions {
        width: auto;
        margin-left: auto;
    }
}

@media (min-width: 1366px) {
    .square-panel {
        padding-bottom: 600px;
    }
}

@media (max-width: 767px) {
    .family-member-row .name .family-view-paragraph {
        width: 45%;
    }
}

.alert, .alerts {
    box-shadow: inherit;
    -webkit-box-shadow: inherit;
}

.error-message-field {
    color: #C30000;
    font-size: 14px;
    margin: 5px 0;
}
