.axa__wheel_of_fortune {
    display: table;
    width: 100%;
    text-align: center;
    position: relative;
}

.peg, .wheelSVG {
    visibility: hidden;
}

.wheelContainer {
    width: 100%;
    margin: 0;
    padding: 0 0 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.centerCircle, .valueContainer, .wheelOutline, .wheelText {
    pointer-events: none;
}

.toast, .wheelContainer {
    text-align: center;
}

.wheelContainer, .wheelContainer button {
    transform: translate(-50%, 0);
}

.toast, .mod_article button {
    position: absolute;
    background-color: #E81D62;
}

.wheelContainer {
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
}

.wheelSVG {
    position: relative;
    overflow: visible;
    width: 100%;
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
}

@media (max-width: 700px) {
    .wheelSVG {
        height: 250px;
    }
}

.wheelText {
    text-anchor: middle;
    font-family: 'Fjalla One', Arial, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

.toast {
    border-radius: 12px;
    opacity: 0;
}

.toast p {
    clear: both;
    font-family: 'Fjalla One', Arial, sand-serif;
    margin: 23px;
    font-size: 30px;
    color: #ededed;
    letter-spacing: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 32px;
    -webkit-transition: line-height .2s ease;
    transition: line-height .2s ease;
}

@media only screen and (max-width: 480px) {
    .toast p, .toast span {
        font-size: 18px;
        line-height: 18px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {
    .toast p, .toast span {
        font-size: 38px;
        line-height: 38px;
    }
}

@media only screen and (min-width: 801px) {
    .toast p, .toast span {
        font-size: 58px;
        line-height: 60px;
    }
}

@media only screen and (max-height: 480px) {
    .toast p, .toast span {
        font-size: 33px;
        line-height: 35px;
    }

}

.axa__wheel_of_fortune__button_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 0;
    width: 100%;
    z-index: 10;
}

.axa__wheel_of_fortune__link {
    font-size: 13px;
    color: #43adb4;
    cursor: pointer;
    font-weight: 500;
}

.axa__wheel_of_fortune__link:hover {
    text-decoration: underline;
}

/* Layer */

.mc__layer {
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease;
}

.mc__layer.show {
    opacity: 1;
    visibility: visible;
    z-index: 99999;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.mc__layer__inside {
    width: 100%;
    height: auto;
    max-width: 700px;
    max-height: 700px;
    margin: 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 16px;
    -webkit-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow-y: scroll;
}

@media (max-height: 740px) {
    .mc__layer__inside {
        max-height: calc(100vh - 40px);
    }
}

.mc__layer .mc__layer__inside.show {


    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}


.mc__layer_head {
    height: 200px;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px;
    border-radius: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.mc__layer_head:after {
    content: '';
    position: absolute;
    background: #23A8B3;
    width: 160%;
    height: 300px;
    top: -100px;
    left: -50%;
    border-radius: 50%;
}

.mc__layer_head .mc__layer_close {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.4s ease;
}

.mc__layer_head .mc__layer_close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mc__layer_head .mc__layer_close svg {
    width: 21px;
    height: 20px;
}

.mc__layer_content {
    padding: 20px;
}

.mc__layer .mc__layer_subtitle, .mc__layer .mc__layer_title {
    position: relative;
    z-index: 1;
    color: #fff;
}

.mc__layer .mc__layer_subtitle {
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.15rem;
}

.mc__layer .mc__layer_title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 414px) {
    .mc__layer .mc__layer_title {
        font-size: 20px;
    }
}

.mc__layer_form {
    margin-bottom: 0;
}

.mc__layer_form #field_form > *:nth-of-type(2n+3) {
    clear: left;
}

.mc__layer .mc__field {
    max-width: 330px;
    width: 100%;
    float: left;
    margin-bottom: 15px;
    position: relative;
}

.mc__layer .mc__field input {
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: none !important;
    outline: none;
    width: calc(100% - 95px);
}

.mc__layer .mc__field input[type="text"] {
    background-color: #f3f3f3;
    border: 1px solid #f3f3f3;
    min-height: 46px;
    width: calc(81%) !important;
}

.mc__layer .mc__field select {
    background-color: #f3f3f3;

    height: 46px !important;
    width: calc(81%) !important;
    border-radius: 8px;
    box-shadow: none !important;
    outline: none;

}

.mc__layer .mc__field.false label {
    color: #777;
}

.mc__layer .mc__buttons {
    display: table;
    width: 100%;
}

.mc__layer .mc__buttons .submit {
    float: right;
}

.mc__layer .mc__buttons .submit.blocked {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Layer content */

.axa__extra_points_table {
    max-width: 100%;
}

.axa__extra_points_table > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7.5px
}

@media (max-width: 414px) {
    .axa__extra_points_table {
        margin-top: 20px;
    }

    .axa__extra_points_table .axa__task_message {
        width: 100%;
        justify-content: initial;
    }

    .axa__extra_points_table > div {
        flex-direction: column;
        align-items: left;
    }

    .axa__extra_points_table > div a {
        margin-top: 5px;
        width: 100%;
    }
}

.axa__extra_points_table > div > span {
    font-weight: 500;
}

.axa__extra_points_table > div > a {
    margin-bottom: 0;
}

.button.button-reverse {
    color: #fff;
    background-color: #43adb4 !important;
    border-color: #43adb4 !important;
}

.button.button-reverse:hover {
    background-color: #e52085 !important;
    border-color: #e52085 !important;
}

.form_title_text {
    margin-bottom: 0 !important;
}

.axa__task_message {
    display: flex;
    justify-content: center;
}

.axa__task_message a {
    margin-bottom: 0;
}

.axa__task_message svg {
    margin-right: 3px;
}

.axa__task_message span {
    color: #23A8B3;
    font-weight: 500;
}

/* Loading Animation */

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 29px;
    height: 21px;
}

.lds-facebook {
    top: -4px;
}

.lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 5px;
    background: #fff;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.lds-facebook div:nth-child(1) {
    left: 3px;
    animation-delay: -0.24s;
}

.lds-facebook div:nth-child(2) {
    left: 12px;
    animation-delay: -0.12s;
}

.lds-facebook div:nth-child(3) {
    left: 21px;
    animation-delay: 0;
}

@keyframes lds-facebook {
    0% {
        top: 3px;
        height: 24px;
    }
    50%, 100% {
        top: 9px;
        height: 12px;
    }
}

/* Upload file */

.upload-container {
    background-color: rgb(239, 239, 239);
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.border-container {
    border: 5px dashed rgba(198, 198, 198, 0.65);
    border-radius: 6px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .border-container {
        flex-direction: column;
        text-align: center;
    }

    .border-container img {
        margin-right: 0 !important;
        width: 100%;
    }
}

.border-container p {
    color: #777;
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: -1px;
    margin-bottom: 0;
}

.border-container img {
    width: 150px;
    height: auto;
    margin-right: 15px;
}

#file-browser {
    text-decoration: none;
    color: #43adb4;
    border-bottom: 3px dotted #43adb4;
    cursor: pointer;
    display: inline;
}

#file-browser:hover {
    color: #e52085;
    border-bottom: 3px dotted #e52085;
}

.upload-container .svg-icon {
    width: 50px;
    height: 50px;
}

@media (min-width: 641px) {
    .upload-container .svg-icon {
        margin-right: 15px;
    }
}

@media (max-width: 640px) {
    .upload-container .svg-icon, .border-container img {
        margin-bottom: 10px;
    }
}

.button.button-primary.button-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button.button-primary.button-disabled:hover {
    background-color: #e52085;
    border-color: #e52085;
}

.upload-button.not_allowed {
    opacity: 0.6;
    cursor: not-allowed;
}
