/* header, left nav */
.acc.container {
    margin-top: 160px;
    max-width: 1428px;
}

.acc-header {
    display: flex;
    justify-content: space-between;
    gap: 250px;
}

.acc-title {
    font-weight: 600;
    font-size: 40px;
}

.acc-nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.acc-link {
    font-size: 20px;
}

.acc-menu {
    width: 340px;
    max-width: 100%;
}

.acc-menu li {
    font-weight: 400;
    padding-right: 32px;
}

.acc-menu li.active a {
    position: relative;
    left: -20px;
}

.acc-menu li.active a {
    color: #009CDF;
}

.acc-menu >ul >li:not(:last-child) {
    border-bottom: 2px solid rgb(234, 233, 233);
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.acc-menu li.active > a:before {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    margin-right: 10px;
}

.acc-menu ul {
    margin-top: 0;
}

.acc-menu li.active > ul {
    display: block;
}

.acc-main-content > div:not(:first-child) {
    display: none;
}

.acc-content {
    display: flex;
    gap: 50px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 18px 0 60px 0;
}

.acc-main-content {
    width: 100%;
}

/* about you */

.avatar_container {

}

.avatar_container .inner {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

html body .avatar_container h3 {
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #00517e !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

.avatar_container img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar_container .actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.avatar_container .actions a {
    border: 2px solid #00517e;
    padding: 2px 25px 0 25px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.avatar_container .actions a:hover {
    border-color: #009CDF;
}

h2.acc-section-title {
    font-weight: 400;
    font-size: 24px;
    color: #009CDF;
    margin-bottom: 0;
}

h3.acc-section-subtitle {
    font-weight: 600;
    font-size: 16px;
    color: #009CDF;
    border-bottom: 2px solid rgb(230, 230, 230);
}

p.acc-label {
    font-weight: 600;
    font-size: 16px;
    color: #00517e;
}

input[type=submit].gform_button {
    background-color: #009CDF;
    color: white;
    border-radius: 20px;
    text-transform: uppercase;
    border: none;
    float: right;
    margin-right: 40px;
    padding: 0 24px !important;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

input[type=submit].gform_button:hover {
    background-color: #00517e;
}

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

.acc-main-content h2 {
    color: #009CDF;
    font-size: 24px;
    margin-bottom: 0 !important;
}

.acc-main-content h3 {
    font-size: 18px !important;
    color: #009CDF !important;
    margin-top: 0 !important;
    border-bottom: 2px solid #e9e5e5;
}

.acc-about ul {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 15px;
}

.acc-about ul >li {
    width: 48%;
}

.acc-main-content select, .acc-main-content input[type="text"], .acc-main-content input[type="email"], .acc-main-content input[type="password"], .acc-main-content textarea {
    border-radius: 10px !important;
    border: none !important;
    box-shadow: 0px 0px 7px #bdb9b9 !important;
    padding: 0 12px !important;
    width: 100% !important;
    height: 40px;
}

.acc-main-content textarea {
    padding: 12px !important;
}

.acc-main-content .gfield_label {
    color: #00517e !important; 
}

.acc-main-content .name_last, .acc-main-content .name_first {
    padding-top: 0 !important;
}

/* profession */
.acc-profession ul {
    display: grid !important;
    grid-column-gap: 12px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(7, auto);
    grid-auto-flow: dense;
}

.acc-profession ul >li {
    grid-column: 1;
}

.acc-profession ul >li:last-child {
    grid-column: 2;
    grid-row: 1 / span 6;
}

.acc-profession textarea {
    height: 520px !important;
}

/* contact us */
.acc-contact ul {
    display: grid !important;
    grid-column-gap: 12px;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
}

.acc-contact ul >li {
    grid-column: 1;
}

.acc-contact ul >li:nth-last-child(1), .acc-contact ul >li:nth-last-child(2), .acc-contact ul >li:nth-last-child(3), .acc-contact ul >li:nth-last-child(4) {
    grid-column: 2;
}


.acc-contact ul >li:nth-child(3) {
    grid-row: 3 / span 2;
}

/* ambassador */
.acc-ambassador h3 {
    position: relative;
}

.acc-ambassador h3 img {
    position: absolute;
    width: 70px;
    right: 0;
    top: -20px;
}

.acc-ambassador .row {
    display: flex;
}

.acc-ambassador .row .col {
    flex: 1;
}

.acc-ambassador .row .col:first-child {
    margin-right: 24px;
}

html body .acc-ambassador label.gfield_label.disabled {
    color: gray !important;
}

.acc-ambassador ul {
    padding: 2px 10px;
    box-shadow: 0px 0px 6px #b2afaf;
    border-radius: 5px;
    color: #a0a0a0;
    margin-top: 3px;
}

.acc-ambassador label {
    margin-bottom: 4px;
}

.acc-ambassador .actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.acc-ambassador .actions a, .acc-ambassador .actions button {
    background-color: #9B53A1;
    color: white;
    border-radius: 20px;
    text-transform: uppercase;
    border: none;
    padding: 10px 32px !important;
    font-weight: 600;
    margin-top: 12px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
}

.acc-ambassador .actions button {
    background-color: #009CDF;
    min-width: 140px;
}

.acc-ambassador .actions button:hover {
    background-color: #00517e;
}

.acc-ambassador .actions a:hover {
    background-color: #7a3d7a;
}

html .acc-ambassador h2, html .acc-ambassador h3, html .acc-ambassador label.gfield_label {
    color: #9B53A1 !important;
    font-weight: 500;
}

.acc-ambassador .note {
    color: #c1c1c1;
    font-size: 14px;
}

/* password */
.acc-password .gform_title {
    display: none !important;
}

/* preferences */
.acc-preferences h3 {
    font-weight: 600 !important;
}

.acc-preferences .col:first-child {
    margin-right: 16px;
}

.acc-preferences .checkbox-container {
    position: relative;
}

.acc-preferences .checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 25px;
    height: 25px;
    z-index: 100;
  }

  .acc-preferences  .checkbox-container label {
    padding-left: 35px;
    color: #00517e;
  }
  
  .acc-preferences .checkbox-container label:before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #009CDF;
    position: absolute;
    left: 0;
    top: 2px;
    width: 25px;
    height: 25px;
    border-radius: 7px;
    box-shadow: 0 0 5px #979797;
    text-align: center;
  }
  
  .acc-preferences .checkbox-container input[type="checkbox"]:checked + label:before {
    content: "\f00c";
  }

  .acc-preferences .secondary_label {
    color: #00517e;
    font-size: 16px;
    margin-top: 4px;
    font-weight: 500;
  }

  .acc-preferences .show_on_profile {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .acc-preferences .show_on_profile .checkbox-container {
    width: 40%;
  }

  .acc-preferences .row {
    display: flex;
  }

  .acc-preferences .row .col {
    flex: 1;
  }

  .acc-preferences .notifications {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .acc-preferences input[type=submit].gform_button {
    padding: 8px 24px !important;
  }

/* help */
.acc-help .qas {
    margin-top: 12px;
    margin-bottom: 45px;
}

.acc-help .qas .row_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ececec;
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.acc-help .qas .row_item >*:first-child {
    color: #00517e;
    margin-bottom: 0;
    font-size: 16px;
}
.acc-help .qas .row_item >*:last-child {
    padding: 5px 31px;
    width: 190px;
    text-align: center;
    border: 2px solid #00517e;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.acc-help .qas .row_item >*:last-child:hover {
    border-color: #009CDF;
    color: #009CDF;
}

.acc-help .disclaimer h4 {
    font-size: 18px;
    color: black;
    font-weight: 500;
    margin-bottom: 4px;
}

.acc-help .disclaimer p {
    font-size: 14px;
    line-height: 21px;
}

/* corporate purchases */
.corporate-purchases .secondary_label {
    text-transform: uppercase;
    color: #00517e;
    font-size: 16px;
    margin-top: 4px;
    font-weight: 500;
}

.corporate-purchases hr {
    border: 1px solid #e9e5e5;
}

.corporate-purchases * {
    color: #00517e;
}

.corporate-purchases input {
    color: black;
}

.corporate-purchases button {
    background-color: #009CDF !important;
    padding: 14px 24px;
    color: white;
    text-transform: uppercase;
}

.corporate-purchases button:hover {
    background-color: #00517e;;
}

.corporate-purchases button span {
    color: white;
    font-weight: bold;
}

.corporate-purchases th, .corporate-purchases td {
    padding-left: 0 !important;
}

/* responsive */
@media (max-width: 768px) {
    .acc-content {
        flex-direction: column;
        padding: 16px;
    }

    .acc-about ul >li {
        width: 100%;
    }

    .acc-profession ul {
        display: block !important;
    }

    .acc-contact ul {
        display: block !important;
    }

    .acc-ambassador .row {
        flex-direction: column;
        gap: 16px;
    }

    .acc-ambassador h3 img {
        display: none;
    }

    .acc-ambassador .actions {
        flex-direction: column;
        gap: 8px;
    }

    .acc-ambassador .actions a, .acc-ambassador .actions button {
        padding: 10px 16px !important;
        font-size: 12px;
        text-align: center;
        height: 40px;
    }

    .acc-ambassador .row .col:first-child {
        margin-right: 0;
    }

    .acc-preferences .row {
        flex-direction: column;
        gap: 24px;
    }
    
    .acc-preferences .show_on_profile {
    flex-direction: column;
    }

    .acc-preferences .show_on_profile .checkbox-container {
    width: 100%;
    }

    .acc-preferences .gform_button {
    margin-top: 32px;
    display: block;
    width: 100%;
    margin-right: 0 !important;
    }

    .acc-preferences .col:first-child {
        margin-right: 0;
    }

}