﻿
h1 {
    font-size: 30px;
}

h1, h2, h3 {
    font-family: 'Arial';
    font-weight: bold;
}

.profile-page {
}

.profile-page .course-history .table {
    margin-bottom: 30px;
    margin-left: 45px;
    margin-right: 10px;
    width: 100%;
}

    .profile-page .course-history .table thead tr {
        border-bottom: 6px solid #cccccc;
    }

        .profile-page .course-history .table thead tr th {
            font-family: 'Helvetica', sans-serif;
            font-weight: bold;
            color: #433f40;
            font-size: 22px;
            line-height: 27px;
            text-align: left;
            padding: 10px 0 10px 20px;
        }

            .profile-page .course-history .table thead tr th:last-child {
                padding-right: 20px;
            }

            .profile-page .course-history .table thead tr th:nth-child(4) {
                text-align: right;
            }

@media (max-width: 767px) {
    .profile-page .course-history .table thead tr th {
        font-size: 16px;
        line-height: 20px;
    }

        .profile-page .course-history .table thead tr th:nth-child(2), .profile-page .course-history .table thead tr th:nth-child(3) {
            display: none;
        }
}

.profile-page .course-history .table tbody tr {
    background: #f5f5f7;
    position: relative;
    border-bottom: 8px solid #ffffff;
}
    .profile-page .course-history .table tbody tr:last-child {
        border-bottom: 6px solid #cccccc;
    }


    .profile-page .course-history .table tbody tr.no-available {
        background: #FEEAEA;
    }

        .profile-page .course-history .table tbody tr.no-available td.date {
            color: #c7000f;
        }

            .profile-page .course-history .table tbody tr.no-available td.date form {
                font-size: 14px;
                line-height: 19px;
                font-style: oblique;
                font-weight: normal;
            }

                .profile-page .course-history .table tbody tr.no-available td.date form button {
                    border: none;
                    outline: none;
                    padding: 0;
                    background: transparent;
                    text-decoration: underline;
                }

    .profile-page .course-history .table tbody tr:not(:last-child) {
        border-bottom: 8px solid #ffffff;
    }

    .profile-page .course-history .table tbody tr td {
        padding: 15px 0 15px 20px;
        font-family: 'Helvetica', sans-serif;
        font-weight: 500;
        color: #000;
        font-size: 14px;
        line-height: 19px;
        text-align: left;
        vertical-align: top;
    }

        .profile-page .course-history .table tbody tr td.date {
            width: 250px;
        }

        .profile-page .course-history .table tbody tr td.price {
            text-align: right;
            width: 180px;
        }

        .profile-page .course-history .table tbody tr td:nth-child(4) {
            text-align: right;
            color: #000000;
        }

        .profile-page .course-history .table tbody tr td:nth-child(5) {
      
            padding-right: 20px;
            width: 64px;
        }

            .profile-page .course-history .table tbody tr td:nth-child(5) form {
                position: relative;
            }

                .profile-page .course-history .table tbody tr td:nth-child(5) form .loading {
                    position: absolute;
                    top: 50%;
                    left: 50%;
                    transform: translate(-50%, -50%);
                    background-color: rgba(102, 102, 102, 0.5) !important;
                }

                .profile-page .course-history .table tbody tr td:nth-child(5) form button {
                    background: transparent;
                    border: none;
                    outline: none;
                    padding: 0;
                }

                    .profile-page .course-history .table tbody tr td:nth-child(5) form button img {
                        width: 24px;
                        height: 24px;
                        filter: invert(65%) sepia(0%) saturate(0%) hue-rotate(157deg) brightness(97%) contrast(94%);
                    }

        .profile-page .course-history .table tbody tr td .address {
            font-size: 14px;
            line-height: 17px;
            margin: 0;
        }

        .profile-page .course-history .table tbody tr td h3 {
            font-family: 'Helvetica', sans-serif;
            font-weight: bold;
            font-size: 18px;
            line-height: 23px;
            color: #000000;
            margin: 0;
        }

            .profile-page .course-history .table tbody tr td h3 a {
                color: inherit;
                text-decoration: underline;
            }

@media (max-width: 767px) {
    .profile-page .course-history .table tbody tr td[data-label]:before {
        content: attr(data-label);
        margin-right: 10px;
        font-family: 'Helvetica', sans-serif;
        font-weight: bold;
        color: #433f40;
        font-size: 16px;
    }

    .profile-page .course-history .table tbody tr td:not(:nth-child(5)) {
        text-align: left;
        display: block;
    }
}

.profile-page .course-history .table tfoot tr:not(.no-border):not(.border-bottom) {
    border-top: 6px solid #cccccc;
}

.profile-page .course-history .table tfoot tr.border-bottom {
    border-bottom: 6px solid #cccccc;
}

.profile-page .course-history .table tfoot tr td {
    padding: 15px 0;
    text-align: right;
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    color: #605F5E;
    font-size: 16px;
    line-height: 19px;
}

    .profile-page .course-history .table tfoot tr td .total {
        font-family: 'Helvetica', sans-serif;
        font-weight: bold;
        color: #433f40;
        font-size: 21px;
        line-height: 26px;
        margin-bottom: 10px;
    }

        .profile-page .course-history .table tfoot tr td .total > span {
            font-family: 'Helvetica', sans-serif;
            font-weight: 500;
            color: #000000;
            font-size: 20px;
            line-height: 25px;
            margin-left: 15px;
        }

.profile-title {
    color: #000;
    margin-top: 60px;
    margin-bottom: 47px;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 48px;
}

@media(max-width: 767px) {
    .profile-title {
        margin-top: 30px;
        margin-bottom: 30px;
        font-size: 36px;
        padding: 0 15px;
    }
}

.profile-instructions {
    /*width: 280px;*/
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 21px;
    line-height: 26px;
    color: #000;
    border-top: 6px solid #ffe600;
    border-bottom: 6px solid #ffe600;
    margin-bottom: 25px;
    /*margin-right: 25px;*/
    padding: 28px 0 26px;
}

.profile-instructions p:not(:last-child) {
    margin-bottom: 30px;
}

.profile-instructions .customer-name .name {
    display: block;
}

@media(max-width: 767px) {
    .profile-instructions {
        padding-left: 25px;
        padding-right: 25px;
    }

    .profile-instructions .customer-name {
        font-size: 16px;
        line-height: 19px;
    }
}

.profile-navigation {
    margin-bottom: 25px;
}

.profile-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.profile-navigation ul li {
    padding: 15px 0;
}

.profile-navigation ul > li > span {
    color: #000000;
    font-family: 'SegoeUI-Bold';
    font-size: 22px;
    line-height: 26px;
}

.profile-navigation ul > li > a {
    color: #000000;
    font-family: 'SegoeUI-Regular';
    font-size: 21px;
    line-height: 25px;
}

@media(max-width: 767px) {
    .profile-navigation {
        padding-left: 25px;
        padding-right: 25px;
    }

    .profile-navigation ul > li > span {
        font-size: 17px;
        line-height: 19px;
    }

    .profile-navigation ul > li > a {
        font-size: 16px;
        line-height: 18px;
    }
}

.profile-instructions-required {
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.profile-instructions-required.warning {
    color: #FF571A;
}


.profile-details {
    background-color: #f5f5f7;
    border-top: 3px solid #cccbcf;
    border-bottom: 3px solid #cccbcf;
}

.profile-details-column .intro-message {
    font-weight: 700;
    text-align: center;
    display: block;
    padding-bottom: 50px;
    max-width: 500px;
    width: 100%;
    padding-left: 10px;
    font-size: 18px;
    padding-right: 10px;
    margin-left: auto;
    margin-right: auto;
}

@media(min-width: 992px) {
    .profile-page .profile-content .row.flex {
        display: flex;
    }

    .profile-page .profile-content .row.flex .aside {
        width: 433px;
        max-width: 40%;
        padding-left: 10px;
        padding-right: 10px;
        flex-shrink: 0;
    }

    .profile-page .profile-content .profile-details-column {
        padding-left: 45px;
        padding-right: 10px;
        flex-grow: 1;
    }

    .profile-page .profile-content .profile-details-column .profile-details-form {
        padding-left: 35px;
        padding-right: 35px;
    }

    .profile-page .profile-content .profile-details-column .profile-details-form [class^=col-] {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media(max-width: 991px) and (min-width: 768px) {
    .profile-page .profile-content .row.flex {
        display: flex;
    }

    .profile-page .profile-content .row.flex .aside {
        width: 40%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .profile-page .profile-content .row.flex .profile-details-column {
        width: 60%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .profile-page .profile-content .row.flex .profile-details-column .profile-details-form {
        padding: 30px;
    }
}

.profile-details-form {
    padding: 53px;
    font-size: 12px;
}

.profile-details .result-message {
    margin: 0;
    padding: 53px;
}

@media(max-width: 767px) {
    .profile-page .profile-content .profile-details-form {
        padding: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .profile-page .profile-content .profile-details-column {
        padding-left: 0;
        padding-right: 0;
    }

    .profile-details .result-message {
        padding: 15px;
    }
}

.profile-details-form .form-group {
    margin-bottom: 30px;
}

.profile-details-form .form-group label {
    color: #9E9E9E;
    font-size: 18px;
    line-height: 21px;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
}

.profile-details-form .form-group label a {
    color: #9E9E9E;
    text-decoration: underline;
    white-space: nowrap;
}

.profile-details-form .form-group em {
    display: block;
    color: #9e9e9e;
    font-family: 'Helvetica', sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-style: oblique;
    margin-top: 5px;
}

.profile-details-form .form-group .form-control {
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 23px;
    color: #000000;
    height: auto;
    padding: 13px 12px 12px;
}

.profile-details-form .form-group .form-control.warning {
    border-color: #FF571A;
}

.profile-details-form .form-group select.form-control {
    background-image: url(/images/icons/down-24px.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
    padding-right: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media(max-width: 767px) {
    .profile-details-form .form-group label {
        font-size: 14px;
        line-height: 16px;
    }

    .profile-details-form .form-group .form-control {
        font-size: 14px;
        line-height: 17px;
    }
}

.profile-page form .btn-success {
    min-width: 336px;
    max-width: 100%;
}

.form-control {
    font-weight: bold;
    border-radius: unset;
}

.form-control .has-error {
    border-color: #d40d07;
}

.form-control[readonly] {
    background-color: lightgrey;
}

.profile-details-form .form-group .checkbox,
.existing-customer-alert .form-group .checkbox {
}

.profile-details-form .form-group .checkbox label,
.existing-customer-alert .form-group .checkbox label {
    font-family: 'Helvetica', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding-left: 42px;
    min-height: 30px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.profile-details-form .form-group .checkbox label.center,
.existing-customer-alert .form-group .checkbox label.center {
    display: flex;
    align-items: center;
}

.profile-details-form .form-group .checkbox label:before,
.existing-customer-alert .form-group .checkbox label:before {
    width: 30px;
    height: 30px;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #CCCCCC;
    background: #ffffff;
}

.profile-details-form .form-group .checkbox input[type=checkbox],
.existing-customer-alert .form-group .checkbox input[type=checkbox] {
    display: none;
}

.profile-details-form .form-group .checkbox input[type=checkbox]:checked ~ label:before,
.existing-customer-alert .form-group .checkbox input[type=checkbox]:checked ~ label:before {
    background: #21b962;
    border-color: #21b962;
}

.profile-details-form .form-group .checkbox input[type=checkbox]:checked ~ label:after,
.existing-customer-alert .form-group .checkbox input[type=checkbox]:checked ~ label:after {
    filter: invert(99%) sepia(4%) saturate(861%) hue-rotate(274deg) brightness(121%) contrast(100%);
    background: url(/images/icons/check-24px.svg) no-repeat;
    background-position: center;
    width: 30px;
    height: 30px;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.existing-customer-alert .form-group .checkbox label {
    min-height: 20px;
    padding-left: 32px;
}

.existing-customer-alert .form-group .checkbox label:before,
.existing-customer-alert .form-group .checkbox input[type=checkbox]:checked ~ label:after {
    width: 20px;
    height: 20px;
}

.existing-customer-alert .form-group .checkbox input[type=checkbox][disabled],
.existing-customer-alert .form-group .checkbox input[type=checkbox][disabled] ~ label {
    cursor: not-allowed;
}

.checkbox .field-validation-error {
    display: block;
    padding-left: 30px;
    margin-left: 10px;
    font-size: 16px;
    line-height: 19px;
}

select {
    -webkit-appearance: auto;
    background: unset;
    color: black;
}

select option {
    font-weight: bold;
}

.field-validation-error {
    color: #C7000F;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    font-family: 'Helvetica', sans-serif;
    font-style: italic;
    margin-top: 5px;
    display: inline-block;
}

.input-validation-error {
    border-color: #C7000F;
}

.date-group .input-validation-error + input.date-picker {
    border-color: #C7000F;
}

.submit-button {
    width: 150px;
    padding: 5px;
    font-family: 'Arial';
    font-size: 14px;
    font-weight: bold;
    color: black;
    background: linear-gradient(#fefe0e,#ffee34);
    border: none;
}

.create-button {
    width: 180px;
    height: 40px;
    margin-top: 15px;
    padding: 5px;
    font-family: 'Arial';
    font-size: 14px;
    font-weight: bold;
    color: black;
    background-color: #5bec0a;
    border: none;
    border-radius: unset;
}

.actions {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
}

.validation-summary {
    font-family: 'Arial';
    font-weight: 400;
    line-height: 20px;
    font-size: 14px;
    padding: 22px;
    color: white;
    background-color: #d93934;
    border-color: lightgray;
    margin-top: 10px;
}

.required-indicator {
    color: #C7000F;
    font-weight: 900;
    font-size: 18px;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
}

.ui-autocomplete-loading {
    background-image: url("/images/spinner.gif");
    background-position: right 10px center;
    background-repeat:no-repeat;
    background-size: 20px 20px;
}

.ui-menu .ui-state-focus {
    color: blue;
    font-family: 'Arial';
    font-size: 12px;
    font-weight: bold;
    background-color: #f6f5f9;
    /*border: solid 1px #acabaf;*/
    padding: 5px;
}

.ui-menu .ui-state-active,
.ui-menu-item {
    color: black;
    width: 500px;
    font-family: 'Arial';
    font-size: 12px;
    font-weight: bold;
    /*background-color: #f6f5f9;*/
    /*border: solid 1px #acabaf;*/
    padding: 5px;
}

.existing-customer-alert {
    background: #e8f4ed;
    position: relative;
    padding: 10px 15px 20px 77px;
    font-family: 'Helvetica', sans-serif;
    font-style: oblique;
    font-size: 16px;
    line-height: 18px;
    color: #000000;
    margin-top: 50px;
}

.existing-customer-alert .title {
    font-weight: bold;
    color: #000;
    font-size: 16px;
    line-height: 22px;
    padding-bottom: 6px;
    text-align: right;
}

.existing-customer-alert .icon {
    position: absolute;
    top: 12px;
    left: 10px;
    width: 45px;
}

.tr-account-company-name .message a {
    text-decoration: underline;
    white-space: nowrap;
}

.tr-account-company-name.message label.button .state {
    padding: 8px 15px;
    width: 190px;
    max-width: 100%;
    display: block;
    text-align: center;
    font-style: normal;
    margin-top: 15px;
    font-weight: normal;
    cursor: pointer;
    border-radius: 5px;
}

.tr-account-company-name.message label.button .state.approval {
    background: #85c5a0;
    color: #ffffff;
}

.tr-account-company-name .message label.button .state.approval:hover {
    background: #52ac78;
}

.tr-account-company-name .message label.button .state.cancel {
    background: #ffe600;
    display: none;
}

.tr-account-company-name .message label.button .state.cancel:hover {
    background: #e6ce00;
}

.tr-account-company-name .message label.button input[type=checkbox]:checked ~ .state.approval {
    display: none;
}

.tr-account-company-name .message label.button input[type=checkbox]:checked ~ .state.cancel {
    display: block;
}

@media(max-width: 767px) {
    .existing-customer-alert {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .existing-customer-alert .icon {
        left: 25px;
    }
}

.tr-account-company-name .message {
    margin-top: 10px;
}

.tr-account-company-name {
    display: none;
}

.tr-account-company-name .show {
    display: block;
}

.tr-account-company-name label {
    color: #9E9E9E;
}

.tr-account-company-alert {
    background: #e8f4ed;
    color: #787373;
    padding: 20px 15px;
    margin-top: 10px;
    display: none;
}

.tr-account-company-alert .show {
    display: block;
}

.tr-account-company-alert .message {
    width: 340px;
    max-width: 100%;
}

.tr-account-company-alert .message p {
    margin: 0;
}

.tr-account-company-alert .message a {
    color: #787373;
}

.tr-account-company-alert .message a.tel {
    font-weight: bold;
    font-size: 24px;
}

.pagination {
    display: inline-block;
    float: right;
    padding-bottom:40px;
    font-size:14px;
    cursor:pointer;
}

    .pagination a {
        color: black;
        padding: 8px 16px;
        text-decoration: none;
    }

.pagination a.active {
    background-color: #ffe600;
    color: white;
}

        .pagination a:hover:not(.active) {
            background-color: #ddd;
        }
