/*     reset     */

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Lato", sans-serif;
    font-style: normal;
    font-optical-sizing: auto;
    background-color: #f8f8f8;
    padding: 25px 2% 25px 2%;
}

* {
    transition: 0.3s all ease-in-out;
}

p {
    margin-bottom: 0;
}

main {
    padding: 15px 0 15px 0;
    flex: 1;
}

footer {
    width: 100%;
    height: 80px;
    background: #fff;
    padding: 10px 30px;
}

a {
    color: #222;
    transition: 0.3s all;
    text-decoration: none;
}

a:hover {
    color: rgb(155, 24, 24);
    text-shadow: 0px 0px 1px rgba(34, 34, 34, 0.3);
}

li {
    list-style: none;
}

input::-webkit-inner-spin-button {
    display: none;
}

.btn-danger {
  width: fit-content;
  background-color: #e61a27;
  border-radius: 10px;
}

.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
  font-family: sans-serif;

}

.selected {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
}

.selected img {
  width: 20px;
  border-radius: 4px;
}

.options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  z-index: 10;
  max-height: 200px;
  border-radius: 10px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.options.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.option {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.option:hover {
  background-color: #eaeaea;
}

.option img {
  width: 20px;
  border-radius: 4px;
}

textarea:focus,
textarea.form-control:focus,
select.form-select:focus,
.dropdown-toggle:focus,
.nav-link:focus-visible,
input.form-control:focus,
input[type='text']:focus,
input[type='password']:focus,
input[type='email']:focus,
input[type='number']:focus,
[type='text'].form-control:focus,
[type='password'].form-control:focus,
[type='email'].form-control:focus,
[type='tel'].form-control:focus,
[contenteditable].form-control:focus {
  box-shadow: none;
  border-color: #e61a27;
  outline: none;
}

.form-floating>.form-control,
.form-floating>.form-control-plaintext,
.form-floating>.form-select {
    border-radius: 20px;
    border: 1px solid #ddd;
}

.form-control,
.form-select {
    font-size: 14px;
}

.form-floating>label,
.form-control-lg::placeholder {
    font-size: 14px;
    color: #888;
}

.navbar-toggler:focus {
    border: none;
    box-shadow: none;
}

.nav-tabs {
    border: 0;
    border-width: 0;
}

.nav-tabs .nav-link {
    border: 0;
    border-width: 0;
    border-radius: 16px;
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
    padding: 7px 28px;
    font-size: 14px;
    color: #1c1c1c;
}

.nav-tabs .nav-link.active {
    display: none;
}

.signup-button {
    float: right;
    transform: translateY(35px);
    padding: 6px 27% !important;
    font-size: 14px;
}

.next-button {
    width: 100%;
    background-color: #1c1c1c !important;
    color: #fff !important;
    border: 1px solid #1c1c1c !important;
}

.next-button:hover {
    background-color: #fff !important;
    color: #1c1c1c !important;
}

.sign_img {
    border-radius: 16px;
    overflow: hidden;
}

img {
    vertical-align: middle;
}

.btn {
    display: block;
    padding: 8px 32px;
}

.table-dark {
    --bs-table-bg: #e61a27;
}

.accordion-button:not(.collapsed) {
    background-color: #e61a27;
    color: #fff;
}

/*     Navigation     */

.navbar {
    background-color: #fff;
}

.navbar .navbar-brand img {
    width: 180px;
    height: 60px;
}

.navbar .navbar-toggler {
    border: 0;
    font-size: 1rem;
}

.navbar .navbar-nav .nav-item {
    margin: 0 12px;
}

.navbar .navbar-nav .nav-item .nav-link {
    color: #888;
    letter-spacing: 1px;
}

.navbar .navbar-nav .nav-item .nav-link i {
    font-size: 20px;
    margin: -5px 7px 0 0;
    color: #e61a27;
}

.offcanvas .btn-close {
    right: 25px;
}

.dropdown-menu[data-bs-popper] {
    top: 2rem;
    min-width: 6rem !important;
}

.mobile_menu {
    position: fixed;
    z-index: 9999;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.mobile_menu .navigation_mobile {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile_menu .navigation_mobile .link_mobile a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
}

.mobile_menu .navigation_mobile .link_mobile a i {
    font-size: 16px;
    color: #F34147;
}

.mobile_menu .navigation_mobile .link_mobile button {
    padding: 0 15px 0 0;
    font-size: 22px;
}

/*     Home     */

.header-banner {
    max-height: 360px
}

.header-banner .overlay {
    background: rgb(2, 0, 36);
    background: linear-gradient(0deg, rgb(248, 248, 248, 1) 55%, rgb(248, 248, 248, 0.3) 100%);
    width: 100%;
    height: 100%;
}

.log-form {
    margin-top: -13rem;
}

.log-form h1 {
    font-size: 40px;
    font-weight: 900;
    text-wrap: wrap;
    transform: translateY(-2rem);
}

.log-form h6 {
    transform: translateY(-1.5rem);
}

.log-email input,
.log-password input {
    height: 52px;
    border-radius: 18px;
    padding-left: 3.2rem;
    transition: all 0.3s ease-in-out;
}

.log-email i.bi-envelope,
.log-password i.bi-key {
    position: absolute;
    top: 10px;
    left: 18px;
    font-size: 22px;
    color: #ccc;
}

.log-password a {
    position: absolute;
    top: 12px;
    right: 10px;
    background-color: #fff;
    width: 30px;
}

.log-button button {
    background-color: #F34147;
    color: #fff;
    border-radius: 18px;
    border: 1px solid #F34147;
    transition: all 0.3s ease-in-out;
}

.log-button button:hover {
    background-color: #fff;
    color: #F34147;
    border: 1px solid #F34147;
}

/*     Account frames     */

.acc_login_wrapper {
    position: absolute;
    bottom: -44px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.acc_login {
    background-color: #f8f8f8;
    width: auto;

}

.acc_navlink {
    padding: 6px 14px;
    margin: 2px 0;
    border-radius: 12px;
}

.acc_nav {
    overflow: hidden;
}

.acc_content,
.portfolio,
.sign_form {
    height: 100%;
    padding: 35px 35px;
}

.form-frame {
    padding: 0 10%;
}

.form-frame p {
    margin-bottom: 2rem;
}

.settings .form-label,
.settings .form-check-label {
    font-size: 14px;
    margin-bottom: 10px !important;
    color: #888;
}

.settings .form-label strong {
    color: #1c1c1c;
    font-weight: 600;
    margin-left: 5px;
}

.acc_navlink:hover,
.acc_navlink.active {
    background-color: #f8f8f8;
}

.avatar {
    border-radius: 100%;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 7px solid #f1f1f1;
}

.product_portfolio {
    border: 2px solid #ededf0;
    min-height: 265px;
}


/*     Custom elements     */

.border-radius-14 {
    border-radius: 14px;
}

.border-radius-16 {
    border-radius: 16px;
}

.border-base {
    border-color: #222;
    transition: 0.3s all;
}

.border-base:hover {
    border-color: rgba(255, 255, 255, 0);
}

.border-transparent {
    border-color: rgba(255, 255, 255, 0);
    transition: 0.3s all;
}

.border-transparent:hover {
    border-color: #222;
}

.border-light-gray {
    border: 1px solid #ddd;
}

.bg-base {
    color: #fff;
    background-color: #222;
    transition: 0.3s all;
}

.bg-base:hover {
    background-color: rgba(255, 255, 255, 0);
    color: #222;
}

.bg-transparent {
    background-color: rgba(255, 255, 255, 0);
    color: #222;
    transition: 0.3s all;
}

.bg-transparent:hover {
    background-color: #222 !important;
    color: #fff;
}

.bg-cola {
    background-color: #e61a27;
    color: #fff;
}

a.bg-cola:hover {
    border: 1px solid #e61a27;
    background-color: #fff;
}

.bg-very-light-gray {
    background-color: #f8f8f8;
}

.text-cola {
    color: #e61a27;
}

.text-light-gray {
    color: #a0a0a0;
}

.shadow-cola {
    -webkit-box-shadow: 0px 18px 40px 0px rgba(230, 26, 39, 0.35);
    -moz-box-shadow: 0px 18px 40px 0px rgba(230, 26, 39, 0.35);
    box-shadow: 0px 18px 40px 0px rgba(230, 26, 39, 0.35);
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.fs-15 {
    font-size: 15px;
}

.fs-16 {
    font-size: 16px;
}

.fs-20 {
    font-size: 20px;
}

.w-90 {
    width: 90%;
}

.w-85 {
    width: 85%;
}

.w-80 {
    width: 80%;
}

.w-35 {
    width: 35%;
}

.w-30 {
    width: 30%;
}

.info {
    width: 60%;
    padding: 0 20% 0 0;
}

.req {
    color: #F34147;
}

.btn {
    display: block;
    padding: 8px 32px;
}

.idno-p {
    padding: 15px 0 15px 0;
    background-color: #fff;
    border-color: rgb(222, 226, 230);
    border-radius: 6px;
}

.idno-p:hover {
    background-color: #222;
    color: #fff;
}

.phone-prefix {
    background-color: #f1f1f1;
    border: 1px solid rgb(222, 226, 230);
    border-radius: 6px;
    color: #1c1c1c;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

/*     Leaderboard     */

.leaderboard {
    padding: 0 10% 4rem 10%;

}

.position1 .frame_leader_position,
.position2 .frame_leader_position,
.position3 .frame_leader_position {
    padding: 1rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 90%;
    margin: 0 auto;
    background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgb(223, 231, 252) 100%);
}

.frame_leader_position p {
    font-size: 22px;
    color: #1c1c1c;
    font-weight: 600;
}

.frame_leader_position span {
    font-size: 12px;
    color: #1c1c1c;
    line-height: 14px !important;
}

.position1 .frame_leader_position {
    height: 9rem;
}

.position2 .frame_leader_position {
    height: 6rem;
}

.position3 .frame_leader_position {
    height: 4rem;
}

.position1 {
    margin-top: 1rem;
}

.position2 {
    margin-top: 4rem;
}

.position3 {
    margin-top: 6rem;
}

.leader_image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 7px solid #f1f1f1;
    margin: 0 auto 1rem auto;
}

.leader_name {
    font-size: 14px;
    font-weight: 700;
    color: #888;
}

.leader_points {
    font-size: 12px;
    color: #1c1c1c;
    margin-bottom: 1rem;
}

.list-position {
    color: #888;
    font-size: 14px;
}

.list-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f1f1;
}

.list-name {
    font-size: 14px;
    font-weight: 700;
    color: #888;
}

.list-points {
    font-size: 12px;
    color: #1c1c1c;
}

.list-code,
.list-date {
    font-size: 14px;
    color: #888;
}

.bg-icon {
    font-size: 80px;
    opacity: 0.4;
    top: 0;
    right: 10%;
    background-color: #8EC5FC;
    background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bi-arrow-up-right {
    color: #4bb543;
}

.bi-arrow-down-left {
    color: #F34147;
}

/*     add code     */
.code_logo {
    width: 170px;
    margin: 120px auto 30px auto;
}

.add_code_frame form input {
    margin-bottom: 1rem;
    border-radius: 16px;
}

.add_code_frame form ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.add_code_frame form ul li {
    background-color: #F34147;
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
    padding: .2rem 1rem;
    margin: 0 10px 10px 0;
    transition: 0.3s all ease-in-out;
}

.result_codes {
    min-height: 70px;
}

.wrong_codes,
.correct_codes,
.already_used {
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
}

.wrong_codes span,
.correct_codes span,
.already_used span {
    font-size: 13px;
    margin-right: 10px;
    white-space: nowrap;
}

.wrong_codes ul li,
.already_used ul li {
    background-color: #888 !important;
}

.temporary_codes {
    min-height: 115px;
}

.ptb-6 {
    padding: 6px 0 6px 0 !important;
}

.photo-button {
    width: 180px;
    height: 140px;
}

.task-example-body {
    border-radius: 16px !important;
    border: 1px solid rgb(222, 226, 230);
    width: 100%;
    padding: 1rem;
    margin-bottom: 0.5rem;
}

.task-example-body .task-example-title {
    min-height: 38px;
}

.task-example .read-more {
    text-decoration: underline;
    margin-left: 0.5rem;
}

.progress_bar .progress_item {
    background-color: #dedede;
    border-radius: 10px;
    height: 6px;
    width: 22%;
}

.progress_bar .progress_item.active {
    background-color: #F34147;
}

.product_portfolio {
    border: 2px solid #ededf0;
    min-height: 265px;
}

/*     Inbox timeline    */

.timeline-centered {
    position: relative;
    margin-bottom: 30px;
}

.timeline-centered:before,
.timeline-centered:after {
    content: " ";
    display: table;
}

.timeline-centered:after {
    clear: both;
}

.timeline-centered:before,
.timeline-centered:after {
    content: " ";
    display: table;
}

.timeline-centered:after {
    clear: both;
}

.timeline-centered:before {
    content: "";
    position: absolute;
    display: block;
    width: 4px;
    background: #f5f5f6;
    left: 12%;
    top: 20px;
    bottom: 20px;
    margin-left: -4px;
}

.timeline-centered .timeline-entry {
    position: relative;
    width: 70%;
    float: left;
    margin: 0 0 70px 121px;
    clear: both;
}

.timeline-centered .timeline-entry:before,
.timeline-centered .timeline-entry:after {
    content: " ";
    display: table;
}

.timeline-centered .timeline-entry:after {
    clear: both;
}

.timeline-centered .timeline-entry:before,
.timeline-centered .timeline-entry:after {
    content: " ";
    display: table;
}

.timeline-centered .timeline-entry:after {
    clear: both;
}

.timeline-centered .timeline-entry.begin {
    margin-bottom: 0;
}

.timeline-centered .timeline-entry .timeline-entry-inner {
    position: relative;
    margin-left: -22px;
}

.timeline-centered .timeline-entry .timeline-entry-inner:before,
.timeline-centered .timeline-entry .timeline-entry-inner:after {
    content: " ";
    display: table;
}

.timeline-centered .timeline-entry .timeline-entry-inner:after {
    clear: both;
}

.timeline-centered .timeline-entry .timeline-entry-inner:before,
.timeline-centered .timeline-entry .timeline-entry-inner:after {
    content: " ";
    display: table;
}

.timeline-centered .timeline-entry .timeline-entry-inner:after {
    clear: both;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-time {
    position: absolute;
    left: -100px;
    text-align: right;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-time>span {
    display: block;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-time>span:first-child {
    font-size: 15px;
    font-weight: bold;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-time>span:last-child {
    font-size: 12px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
    background: #F34147;
    color: #fff;
    display: block;
    width: 40px;
    height: 40px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    text-align: center;
    -moz-box-shadow: 0 0 0 5px #f5f5f6;
    -webkit-box-shadow: 0 0 0 5px #f5f5f6;
    box-shadow: 0 0 0 5px #f5f5f6;
    line-height: 40px;
    font-size: 15px;
    float: left;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
    position: relative;
    background: #f5f5f6;
    padding: 1.7em;
    margin-left: 70px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 9px 9px 0;
    border-color: transparent #f5f5f6 transparent transparent;
    left: 0;
    top: 12px;
    margin-left: -9px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2,
.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p {
    color: #737881;
    font-size: 12px;
    margin: 0;
    line-height: 1.428571429;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label p+p {
    margin-top: 15px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 {
    font-size: 16px;
    margin-bottom: 10px;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 a {
    color: #303641;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label h2 span {
    -webkit-opacity: 0.6;
    -moz-opacity: 0.6;
    opacity: 0.6;
    -ms-filter: alpha(opacity=60);
    filter: alpha(opacity=60);
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label .inbox-label {
    font-size: 12px;
    color: #fff;
    padding: 2px 18px;
    border-radius: 50px;
    margin-left: 1.5rem;
    letter-spacing: normal;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label .inbox-label.admin {
    background-color: #F34147;
}

.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label .inbox-label.service,
.timeline-centered .timeline-entry .timeline-entry-inner .timeline-label .inbox-label.support-resp {
    background-color: #3d47e0;
}

.timeline-centered .timeline-entry .timeline-entry-inner.checked {
    filter: grayscale(100%);
    opacity: 0.6;
}

.counter {
    background-color: #F34147;
    color: #fff;
    border-radius: 100%;
    width: 19px;
    height: 19px;
    margin: -12px 0 0 10px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*  Media Queries  */

@media screen and (max-width: 576px) {
    body {
        padding: 10px 2% 10px 2%;
    }

    main {
        padding: 15px 0 15px 0;
    }

    .navbar .navbar-brand img {
        width: 90px;
        height: 30px;
    }

    .acc_content,
    .portfolio,
    .sign_form {
        height: 100%;
        margin-bottom: 0;
        padding: 20px 10px !important;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time {
        left: -2.5rem;
        text-align: left;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
        margin: 3.5rem 1rem 0 -2rem;
    }

    .timeline-centered:before {
        left: 7%;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
        margin: 3.5rem 0 0 -5.9rem;
    }

    .photo-button {
        width: 100%;
    }

    .signup-button {
        padding: 6px 21% !important;
    }

    .code_logo {
        margin: 30px auto 30px auto;
    }

    .leaderboard {
        padding: 0 0 3rem 0;

    }

    .position1 .frame_leader_position,
    .position2 .frame_leader_position,
    .position3 .frame_leader_position {
        width: 100%;
    }

    .form-frame {
        padding: 0 5%;
    }

}

@media screen and (max-width: 768px) {
    body {
        padding: 10px 2% 10px 2%;
    }

    main {
        padding: 15px 0 15px 0;
    }

    .navbar .navbar-brand img {
        width: 90px;
        height: 30px;
    }

    .form-frame {
        padding: 0 12%;
    }

    .info {
        width: 100%;
        padding: 45px 25px;
    }

    .code_logo {
        margin: 70px auto 30px auto;
    }
}

@media screen and (max-width: 992px) {
    body {
        padding: 10px 2% 10px 2%;
    }

    main {
        padding: 15px 0 15px 0;
    }

    .navbar .navbar-brand img {
        width: 120px;
        height: 40px;
    }

    .acc_content,
    .portfolio,
    .sign_form {
        height: 100%;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time {
        left: -1.5rem;
        text-align: left;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
        margin: 3.5rem 1rem 0 -1rem;
    }

    .timeline-centered:before {
        left: 2rem;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
        margin: 3.5rem 0 0 -5.5rem;
    }

    .leaderboard {
        padding: 0 0 3rem 0;

    }

    .position1 .frame_leader_position,
    .position2 .frame_leader_position,
    .position3 .frame_leader_position {
        width: 100%;
    }

    .form-frame {
        padding: 0 5%;
    }
}

@media (min-width: 1400px) {

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-time {
        left: 0.5rem;
        text-align: left;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-label {
        margin: 3.5rem 1rem 0 1rem;
    }

    .timeline-centered:before {
        left: 4rem;
    }

    .timeline-centered .timeline-entry .timeline-entry-inner .timeline-icon {
        margin: 3.5rem 0 0 -3.5rem;
    }

    .leaderboard {
        padding: 0 10% 4rem 10%;

    }

    .position1 .frame_leader_position,
    .position2 .frame_leader_position,
    .position3 .frame_leader_position {
        width: 90%;
    }

}

.sticky-top {
    z-index: 890 !important;
}
