@import "my-journey.css";
@import "language-learning.css";

.home-description-box .elementor-widget-container {
    min-height: 160px;
}

/*
#home-background-rotate-container>.elementor-column-wrap {
    overflow: hidden;
}

#home-background-rotate-container>.elementor-column-wrap:before {
    content: "";
    background-color: #FFFFFF;
    position: absolute;
    height: 200%;
    width: 100%;
    top: -50%;
    left: 0%;
    transform: rotate(10deg);
}
*/

/* Table Of Contents */
.elementor-widget-table-of-contents .elementor-toc__header {
    display: none;
}

.elementor-widget-table-of-contents .elementor-toc__list-item {
    margin-bottom: 0;
    padding: 10px 20px;
    border-bottom: 1px solid #EEEEEE;
}

.elementor-widget-table-of-contents .elementor-toc__list-item:last-child {
    border-bottom: none;
}

.elementor-widget-table-of-contents .elementor-toc__body {
    padding: 0;
}

.find-my-selt-session-button a {
    width: 460px;
}

.elementor-widget-text-editor a {
    text-decoration: underline !important;
}

/* TablePress */
.tablepress {
    border-collapse: initial !important;
    border-spacing: 1px !important;
}

.tablepress thead tr th {
    background-color: #C9E4FB !important;
    color: #282629;
    font-family: "OpenSans", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    padding: 10px 15px;
    border: none !important;
    vertical-align: middle;
}

.tablepress tbody tr td {
    background-color: #E1EEF9 !important;
    color: #282629;
    font-family: "OpenSans", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    padding: 10px 15px;
    border: none !important;
    vertical-align: middle;
}

.table-section {
    overflow: auto;
}

/* Comparison Table */
#comparison-table tr td:first-child {
    font-weight: 600;
}

.form-wrapper {
    width: 100%;
    margin: 30px 0;
}

/* STEPS */

.steps-5,
.steps-4 {
    font-family: "OpenSans", Sans-serif;
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #fff;
    text-align: center;
    margin-bottom: 20px;
}


.steps-5 li,
.steps-4 li {
    flex-grow: 1;
    border-top: 6px solid #999999;
    display: flex;
    margin-right: 10px;
    color: #ccc;
    padding-bottom: 5px;
}

.step-number {
    font-family: "OpenSans", Sans-serif;
    font-size: 10px;
    color: #999999;
    letter-spacing: 0;
}

.step-title {
    font-family: "OpenSans", Sans-serif;
    font-size: 12px;
    letter-spacing: 0;
    color: #999999;
    position: absolute;
    top: 25px;
}

.steps-5 li.is-active,
.steps-4 li.is-active {
    border-top: 6px solid #002A4E;
    color: #002A4E;
}

.steps-5 li.is-active .step-number,
.steps-4 li.is-active .step-number {
    color: #002A4E;
}

.steps-5 li.is-active .step-title,
.steps-4 li.is-active .step-title {
    color: #002A4E;
}



#steps-4,
#nationality,
#family-visa,
#level-of-study,
#exemption-family,
#exemption-study,
#exemption-work,
#residence,
#confirmation,
#selt-message,
#selt-1-button,
#selt-2-button,
#section-previous,
#previous-answers,
#answer-row-2,
#answer-row-3,
#answer-row-4,
#answer-row-5,
#outcome-confirm-msg,
#answers-confirmation {
    display: none;
}

button[disabled] {
    opacity: 0.5;
    background: #9E0442;
}

.text-wizard {
    font-family: "Heebo";
    font-size: 30px;
    color: #282629;
    letter-spacing: 0;
    text-align: center;
}

.text-wizard-paragraph {
    margin-right: 25%;
    margin-left: 20%;
    font-family: "OpenSans";
    font-size: 16px;
    color: #282629;
    letter-spacing: 0;
    line-height: 24px;
}

.text-wizard-paragraph a {
    text-decoration: underline !important;
    color: #002A4E;
}

.text-wizard a {
    text-decoration: underline !important;
    color: #002A4E;
}

.text-wizard-left {
    text-align: left;
}

.text-wizard-center {
    text-align: center;
}

/* #visas, #types {
    background: #E1EEF9;
    border: 1px solid #282629;
} */

.elementor-element-width-15 {
    width: 15%;
}

.elementor-element-width-35 {
    width: 35%;
}

.select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 20px;
}

.selectWrap {
    position: relative;
}

.selectWrap:after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 48%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #000;
    pointer-events: none;
}

#previous-answers {
    background-color: #f3f3f3;
    padding-left: 200px;
    padding-right: 200px;
}

.prev-title {
    font-family: "Heebo";
    font-size: 24px;
    color: #282629;
    letter-spacing: 0;
}

.start-again {
    font-family: "OpenSans" !important;
    font-size: 16px;
    color: #002A4E;
    letter-spacing: 0;
    text-decoration: underline;
    cursor: pointer;
}

.prev-heading-row {
    font-family: "OpenSans";
    font-size: 16px;
    color: #000000;
    letter-spacing: 0;

}

#answer-header,
#answer-row-1,
#answer-row-2,
#answer-row-3,
#answer-row-4 {
    border-bottom: 1px solid #999999;
}

.answer,
.answer-change {
    font-family: "OpenSans";
    font-size: 16px;
    color: #000000;
    letter-spacing: 0;
}

.answer-change {
    text-decoration: underline;
    cursor: pointer;
}

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

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.prevBtn,
.nextBtn {
    width: 200px !important;
    font-family: "OpenSans" !important;
    font-size: 16px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    padding: 15px 70px !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    color: #000 !important;
}

.prevBtn:hover,
.nextBtn:hover {
    color: #fff !important;
    background-color: #9E0442;
}

.nextBtn {
    color: #fff !important;
    background-color: #9E0442 !important;
    opacity: 0.8;
    cursor: not-allowed;
}

.prevBtn {
    cursor: pointer !important;
}

[type="button"]:hover {
    background-color: #9E0442 !important;
}

.content-padding {
    padding-left: 200px;
    padding-right: 200px;
}

.input-padding {
    background: #E1EEF9;
    padding: 20px;
    margin-bottom: 2px;
}

.input-padding label {
    margin-left: 15px;
}

#details {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    margin-bottom: 3px;
}

#back-btn-to-resident,
#submit {
    padding: 15px 70px;
    width: 100%;
    font-family: "OpenSans";
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0;
}

#back-btn-to-resident {
    border: 1px solid #000;
    color: #000;
    background-color: transparent;
}

#submit {
    border: none;
    color: #fff;
    background-color: #9E0442;
}

#btn-link-home-1-btn,
#btn-link-home-2-btn,
#btn-selt-message {
    width: 300px !important;
    font-family: "OpenSans" !important;
    font-size: 16px !important;
    color: #282629 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    padding: 20px 50px !important;
    background-color: #fff !important;
    border: 1px solid #282629 !important;
    border-radius: 0 !important;
}

#btn-link-home-1-btn:hover,
#btn-link-home-2-btn:hover {
    color: #fff !important;
    background-color: #9E0442 !important;
}

#btn-selt-message {
    color: #fff !important;
    background-color: #9E0442 !important;
}

.elementor-element.elementor-element-3c0599c .elementor-button {
    font-family: "OpenSans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 0px;
    fill: #282629;
    color: #282629;
    background-color: #FFFFFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #282629;
    border-radius: 0px 0px 0px 0px;
}

.elementor-element.elementor-element-3c0599d .elementor-button {
    font-family: "OpenSans", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 0px;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: #9E0442;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #282629;
    border-radius: 0px 0px 0px 0px;
}

/* Latest News Box */
.latest-news-box a.elementor-post__read-more {
    background: #9E0442;
    font-family: "OpenSans", Sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    letter-spacing: 0;
    text-align: center;
    padding: 12px 30px;
}

.latest-news-box .elementor-post {
    box-shadow: 0px 0px 20px 0px rgba(68, 0, 28, 0.3);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) url('http://psi.qpsoftware.cn/wp-content/uploads/2020/09/loading.gif') 50% 50% no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal {
    display: block;
}

.covid-alert .elementor-alert-dismiss:hover {
    color: white;
}

/* Style changes to cookie settings button */
button#ot-sdk-btn,
button#ot-sdk-btn:hover {
    color: #FFFFFF !important;
    font-family: "OpenSans", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 36px !important;
    letter-spacing: 0px !important;
    padding: 0 !important;
    border: none !important;
    background-color: unset !important;
}

/* Icon Adjustments */
.white-icon img {
    filter: invert(97%) sepia(7%) saturate(13%) hue-rotate(242deg) brightness(110%) contrast(103%) !important;
}

.active-date {
    border: 6px solid #9E0442;
}

.margin-psi-bottom {
    margin-bottom: 15px;
}

/* navigation on Select SELT Page */

.nav-active {
    border-bottom: 2px solid #9E0442;
}


/* popup */
.cd-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(94, 110, 141, 0.9);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
  }
  .cd-popup.is-visible {
    opacity: 1;
    z-index: 50;
    visibility: visible;
    -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
    -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
    transition: opacity 0.3s 0s, visibility 0s 0s;
  }
  .cd-popup-container {
    position: relative;
    width: 90%;
    max-width: 400px;
    margin: 4em auto;
    background: #FFF;
    border-radius: .25em .25em .4em .4em;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(-40px);
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -o-transform: translateY(-40px);
    transform: translateY(-40px);
    /* Force Hardware Acceleration in WebKit */
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
  }
  .cd-popup-container p {
    padding: 3em 1em;
  }
  .cd-popup-container .cd-buttons:after {
    content: "";
    display: table;
    clear: both;
  }
  .cd-popup-container .cd-buttons li {
    float: left;
    width: 50%;
    list-style: none;
  }
  .cd-popup-container .cd-buttons a {
    display: block;
    height: 60px;
    line-height: 60px;
    text-transform: uppercase;
    color: #FFF;
    -webkit-transition: background-color 0.2s;
    -moz-transition: background-color 0.2s;
    transition: background-color 0.2s;
  }
  
  
  .cd-popup-container .cd-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
  }
  .cd-popup-container .cd-popup-close::before, .cd-popup-container .cd-popup-close::after {
    content: '';
    position: absolute;
    top: 12px;
    width: 14px;
    height: 3px;
    background-color: #8f9cb5;
  }
  .cd-popup-container .cd-popup-close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 8px;
  }
  .cd-popup-container .cd-popup-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    right: 8px;
  }
  .is-visible .cd-popup-container {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  @media only screen and (min-width: 1170px) {
    .cd-popup-container {
      margin: 8em auto;
    }
  }
/*btn on Find Your Level Page*/
.btn-find-your-level .elementor-column {
    cursor: pointer;
}
.btn-find-your-level .elementor-column:hover {
    background-color: #002A4E;
}
.btn-find-your-level .elementor-column:hover h2{
    color: #fff !important;
}

/*Toggle on Improve your knowledge Page*/
.toggle-improve-knowledge .elementor-tab-content a,
.toggle-improve-knowledge .elementor-tab-content a:hover,
.toggle-improve-knowledge .elementor-tab-content a:active {
    color: #002A4E !important;
}

/*Toggle on Practice Test Page*/
.toggle-practice-test .elementor-tab-content p {
    text-align: center;
    padding: 5px 0;
    width: 24%;
    display: inline-block;
    border-right: 1px solid #ccc ;
}
.toggle-practice-test .elementor-tab-content p:last-child {
    border-right: none;
}
.toggle-practice-test .elementor-tab-content p a {
    color: #002A4E !important;
}
.toggle-practice-test .elementor-tab-content p:hover {
    background-color: #002A4E;
}
.toggle-practice-test .elementor-tab-content p:hover a {
    color: #fff !important;
}
@media only screen and (max-width: 600px) {
    .toggle-practice-test .elementor-tab-content p {
        text-align: left;
        width: 49%;
        border-right: none;
    }
}
