/*
Theme Name: Masterline Tema
Theme URI: http://portal.marine-profile.se/
Template: hello-elementor
Author: Daniel Persson
Author URI: http://portal.marine-profile.se/
Description: Fjäderlätt tema optimerat för hastighet.
Version: 1.0.0
*/

/** LOADER */

.ml-loader {
    display: inline-block;
    width: 40px;
    height: 10px;
    display: none;
}

.ml-loader:after {
    content: " ";
    display: block;
    width: 30px;
    height: 30px;
    margin-top: 1px;
    border-radius: 50%;
    border: 4px solid #fff;
    border-color: #254774 transparent #254774 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ml-loader.login {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.ml-loader.login:after {
    content: " ";
    display: block;
    width: 80px;
    height: 80px;
    margin-top: 1px;
    border-radius: 50%;
    border: 8px solid #fff;
    border-color: #254774 transparent #254774 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}
  

/***********/

body {
    font-size: 14px;
}

p {
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
}

.site-header {
    display: none;
}

.swal2-popup {
    width: auto !important;
}

.swal2-icon {
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
}

.swal2-icon-content {
    font-size: 2.5em !important;
}

.swal2-content {
    font-size: 1em !important;
}

.swal2-confirm {
    background-color: #254774 !important;
    padding: 6px 20px !important;
}

.swal2-cancel {
    padding: 6px 20px !important;
}

.swal2-confirm:hover {
    background-color: #0f2944 !important;
}

.swal2-confirm:focus {
    box-shadow: none !important;
}

/** Buttongroup */

.masterline-buttongroup {
    clear: both;
    display: inline-block;
}

.masterline-buttongroup.zh_CN {
    margin-left: 20px;
}

.masterline-buttongroup.zh_CN span {
    display: none;
}

.masterline-buttongroup label {
    margin-bottom: 0 !important;
}

.masterline-buttongroup.error {
    border: 2px solid red;
}

.masterline-buttongroup input[type="radio"] {
    display: none;
}

.masterline-buttongroup label {
    float: left;
    padding: .5em 1em;
    cursor: pointer;
    border: 1px solid lightgray;
    margin-right: -1px;
    color: #333;
    background-color: white;
    height: 43px;    
    display: flex;
    justify-content: center;
    align-items: center;
}

.masterline-buttongroup span {
    float: left;
    padding: .5em 1em;
    margin-right: 10px;
    height: 43px;   
    display: flex;
    justify-content: center;
    align-items: center;
}

.masterline-buttongroup input[type="radio"]:checked + label {
    background-color: #456084;
    color: white;
}

/*
.masterline-buttongroup label:first-of-type {
    border-radius: .7em 0 0 .7em;
}

.masterline-buttongroup label:last-of-type {
    border-radius: 0 .7em .7em 0;
}
*/

/****************/

.masterline-main .masterline-intro-main {
    max-width: 500px;
    margin: auto;
}

.masterline-main .masterline-intro-main .footer {
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
}

.masterline-main .masterline-intro-main .footer.info {
    justify-content: space-between;
}

.masterline-main .masterline-intro-main .footer.info div:nth-child(2) {
    display: flex;
}

.masterline-main .masterline-intro-main .footer.info div:nth-child(2) a {
    background-color: #5cb85c;
}

.masterline-main .masterline-intro-main .footer.info a.masterline-cancel {
    color: white;
    padding: 8px 20px;
    background-color: #d9534f;
    border-radius: 3px;
    display: block;
}

.masterline-main .masterline-intro-main .footer.info a.masterline-cancel:hover {
    opacity: 0.9;
}

.masterline-main .masterline-info-form div:not(.masterline-buttongroup) label {
    font-weight: bold;
    margin-bottom: 10px;
}

.masterline-main .masterline-info-form > div {
    margin-bottom: 20px;
}

.masterline-main .masterline-intro-main .col2 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.masterline-main .masterline-intro-main .col2 > div {
    max-width: 50%;
}

.masterline-info-buttongroup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.masterline-main .masterline-intro-main .col2 .masterline-buttongroup {
    display: flex;
    justify-content: flex-end;
}

.masterline-main {
    display: flex;
    width: 100%;
    min-height: 90vh;
    justify-content: center;
    align-items: center;
    padding: 100px 0;
}

.mltest-prev {
    position: absolute;
    top: 0;
    left: 0;
}

.mltest-next {
    position: absolute;
    top: 0;
    right: 0;
}

.masterline-main input[type="text"],
.masterline-main input[type="number"],
.masterline-main input[type="email"],
.masterline-main textarea,
.masterline-main input[type="text"]:focus,
.masterline-main input[type="number"]:focus,
.masterline-main input[type="email"]:focus,
.masterline-main textarea:focus {
    border: 1px solid lightgray;
    border-radius: 0;
    padding: 3px 12px !important;
    min-height: 30px;
}

.masterline-main input[type="text"][disabled],
.masterline-main input[type="number"][disabled],
.masterline-main input[type="email"][disabled] {
    color: #333;
}

.masterline-main input[type="text"].error,
.masterline-main input[type="number"].error,
.masterline-main input[type="email"].error,
.masterline-main textarea.error {
    border: 2px solid red !important;
}

.masterline-main .masterline-languages a {
    margin-left: 10px;
    margin-top: 10px;
}

.masterline-main .masterline-languages a img {
    width: 50px;
    height: auto;
}

.masterline-main .masterline-login {
    max-width: 300px;
    margin: 100px auto;
}

.masterline-autologin {
    display: flex;
    justify-content: center;
    align-items: center;
}

.masterline-main .masterline-login .trp-language-switcher {
    margin: 20px 0 0 0;
}

.masterline-main .masterline-login input {
text-align: center;
}

.masterline-main .masterline-login .masterline-login-submit {
    display: block;
    background-color: #254774;
    color: white;
}

.masterline-main .masterline-login .masterline-login-submit:hover {
    background-color: #0f2944;
}

.masterline-main .masterline-login .masterline-login-back-to-languages {
    font-size: 12px;
    color: #333;
    margin-top: 20px;
    display: block;
}

.masterline-main .masterline-login .masterline-login-fail {
    color: red;
    font-size: 12px;
    margin: 10px 0;
    display: none;
    font-weight: bold;
}

.masterline-heading h2 {
    margin: 0;
    position: relative;
    padding-bottom: 10px;
    color: #254774;
    margin-bottom: 10px;
}

.masterline-heading h2::after {
    content: "";
    display: block;
    position: absolute;
    width: 50%;
    left: 0;
    bottom: 0;
    border-bottom: 2px solid #254774;
}

.masterline-step-button {
    color: white;
    padding: 8px 20px;
    background-color: #254774;
    border-radius: 3px;
}

.masterline-step-button:hover {
    color: white;
    opacity: 0.9;
}





.masterline-main .masterline-test {
    width: 1200px;
    max-width: 100%;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.masterline-main .masterline-test .masterline-test-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid lightgray;
    padding-bottom: 10px;
    align-items: center;
}

.masterline-main .masterline-test .masterline-test-header img.logo1 {
    height: 35px;
}

.masterline-main .masterline-test .masterline-test-header img.logo2 {
    height: 25px;
}

.masterline-main .masterline-test .masterline-test-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px solid lightgray;
    padding-top: 10px;
    align-items: center;
}

@media screen and (max-width: 600px) {
    .masterline-main .masterline-test .masterline-test-footer {
        flex-direction: column-reverse;
    }
}

.masterline-main .masterline-test .content {
    padding: 20px 0;
}

.masterline-main .masterline-test .masterline-test-footer .progressbar{
    display: flex;
    align-items: center;
}

.masterline-main .masterline-test .masterline-test-footer .progressbar-outer {
    width: 300px;
    position: relative;
    height: 20px;
    background: #a7a7a7;
    margin-left: 10px;
    border-radius: 50px;
    padding: 3px;
    box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.4);
}

.masterline-main .masterline-test .masterline-test-footer .progressbar-inner {
    background: #254774;
    height: 100%;
    border-radius: 50px;
    background-image: linear-gradient(45deg, #5576a3 20%, #254774 20%, #254774 50%, #5576a3 50%, #5576a3 70%, #254774 70%, #254774 100%);
    background-size: 30.71px 30.71px;
}

.masterline-main .masterline-test .masterline-test-footer .masterline-timer-box {
    display: flex;
}

.masterline-test.intro #masterline-timer {
    display: none;
}

.masterline-main .masterline-test .masterline-test-footer .masterline-timer-box #masterline-timer {
    margin-right: 10px;
    font-size: 18px;
    font-weight: bold;
}






.masterline-section-main .masterline-section-inner {
    display: flex;
}

.masterline-section-main .masterline-section-inner .left {
    padding: 20px;
}

.masterline-section-main .masterline-section-inner .right {
    padding: 0 20px 20px 20px;
}


.masterline-section-main .masterline-section-inner .left {
    flex: 0 0 15%;
}

.masterline-section-main .masterline-section-inner .right {
    flex: 0 0 85%;
}

.masterline-section-main .masterline-section-inner .right .masterline-heading {
    margin-bottom: 40px;
}

.masterline-section-main .masterline-section-inner .right .masterline-write-inputs input {
    margin-bottom: 10px;
}

.masterline-section-main .masterline-section-inner .right .footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 50px;
}

.masterline-section-finish {
    max-width: 500px;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.masterline-section-finish .finished-image {
    text-align: center;
}

.masterline-section-finish .finished-image img {
    max-width: 200px;
}



.masterline-rank-main .aspect {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.masterline-rank-main .answer {

}

.masterline-rank-main .rank {
    padding: 0 20px;
}

.masterline-rank-main .answer {
    padding: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    text-align: center;
    border: 2px solid white;
    min-width: 200px;
}

.masterline-rank-main input {
    width: 50px !important;
    display: block !important;
    text-align: center;
    font-size: 24px !important;
    padding: 3px !important;
    font-weight: bold;
    line-height: 1.47 !important;
}





.masterline-posneg-main > div,
.masterline-thought-main > div,
.masterline-situations-main > div,
.masterline-influence-main > div {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.masterline-posneg-main .answer,
.masterline-thought-main .answer,
.masterline-situations-main .answer,
.masterline-influence-main .answer {
    padding: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
    text-align: center;
    border: 2px solid white;
    flex: 0 0 38%;
}

.masterline-thought-main .answer,
.masterline-situations-main .answer,
.masterline-influence-main .answer {
    flex: 0 0 46%;
}

@media screen and (max-width: 1170px) {
    .masterline-posneg-main > div,
    .masterline-thought-main > div,
    .masterline-situations-main > div,
    .masterline-influence-main > div {
        flex-direction: column;
    }
    
    .masterline-posneg-main > div > div,
    .masterline-thought-main > div > div,
    .masterline-situations-main > div > div,
    .masterline-influence-main > div > div {
        width: 100%;
        margin-bottom: 10px;
    }
}

