/**
Terms of Use

The following terms of use (“Terms of Use”) govern the relations between You (“Licensee”, “You”) and DevriX Ltd. and its affiliates (“Licensor”), collectively referred to as “Parties”, regarding the use of the Licensor’s software product (“Software”). 

The Licensee warrants to the Licensor that it has the legal right and authority to be obliged by these Terms of Use and to perform its obligations under these Terms of Use.

BY INSTALLING, ACCESSING, VIEWING OR USING IN ANY MANNER THE SOFTWARE OF THE LICENSEE, THE LICENSEE CONFIRMS THAT IT HAS BEEN AWARE OF AND ACCEPTS UNCONDITIONALLY TO BE BOUND BY THESE TERMS OF USE, INCLUDING THE TERMS OF THE MASTER AGREEMENT. IF THE LICENSEE DOES NOT AGREE, IT SHOULD NOT INSTALL OR USE THE SOFTWARE PRODUCT.

1. Definitions.
“Licensor” shall mean DevriX, Ltd., a company organized and existing under the laws of Bulgaria, with UIC 201403718 and seat and registered address located at Sofia, Bulgaria, Vrabnitsa District, bl. 604, entrance A, fl. 9, ap. 34.
“Licensee” shall mean the Client of the Licensor pursuant to Master agreement №.../... concluded between the Parties. 
“License” shall mean the limited right to use the Software as further detailed in these Terms of Use and in the applicable Master Agreement.
“Intellectual Property Rights” shall mean copyrights and other similar rights and related rights (including database and catalogue rights), patents, utility models, trademarks, trade secrets, know-how and any other form of registered or unregistered intellectual property rights as well as any applications for any of the foregoing.
“Affiliate” shall mean any business entity controlling, controlled by, or under common control with any of the Parties.
“Software” shall mean the Licensor’s software product, licensed to the Licensee under these Terms of Use that the Parties entered into. Any updates to such Software, which the Licensee is entitled to receive, and that has been provided by the Licensor, shall also mean Software for the purpose of these Terms of Use.
“Website” shall mean the website with URL xtremerain.com , property of or operated by the Licensee, for which the specific Software was developed and provided under license to the Licensee

2. Ownership. 
The Licensor owns the title, copyright, and other intellectual property rights in the Software and reserves all rights not granted explicitly in these Terms of Use to the Licensee. The Software is licensed to the Licensee, not sold and the Licensee acknowledges that no title or ownership in the Software is being transferred or assigned and this license is not to be construed as a sale of any rights in the Software. Under no circumstances, shall the Licensee enable or allow a third party to use the Software for remuneration of any kind.

3. License. Restrictions
These Terms of Use grant the Licensee with а worldwide, perpetual, nonexclusive license to use, install and access the Software.

The Licensee agrees not to, and shall not allow others to:
license, sub-license, sell, rent, lease, assign, distribute, transmit, host, outsource, disclose or otherwise commercially exploit the Software or make the Software available to any third party without the prior written consent of the Licensor;
alter, edit, adapt, decompile, or reverse engineer the Software;
modify, improve, enhance, translate or create any derivative work based on the Software.   
The Licensee agrees to use its best efforts and to take all reasonable steps to safeguard the Software to ensure that no unauthorized person shall have access thereto and that no unauthorized copy, publication, disclosure or distribution in whole or in part, in any form, shall be made. The Licensee acknowledges that the Software contains valuable confidential information, intellectual property rights and trade secrets and that unauthorized use and copying are harmful to the Licensee. 
4. Warranty. Disclaimer
This Software is subject to a limited warranty. Licensor agrees to support any bugs/issues reported on the Software as long as the use of the Software is the direct cause for the bug/issue. Licensor shall provide all future upgrades through the period of license free of charge. This limited warranty lasts for the period of validity of the granted license. Without prejudice to the limited warranty, Licensor does not provide any warranties in respect of Licensee’s use of the Software. All other warranties – statutory, expressed, implied, or otherwise, as to quality, condition, description, merchantability or fitness for a specific purpose are hereby expressly excluded. 

TO THE EXTENT NOT PROVIDED BY LAW, IN NO EVENT SHALL THE LICENSOR BE LIABLE TO THE LICENSEE FOR ANY INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES OF ANY KIND, FROM ANY CAUSE ARISING OUT OF THE SALE, INSTALLATION, USE OR INABILITY TO USE THE SOFTWARE OR ANY OTHER PRODUCT OR SERVICE, EVEN IF THE LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY THEREOF, INCLUDING, WITHOUT LIMITATION, LOST PROFITS, LOST BUSINESS REVENUE, LOST GOODWILL, BUSINESS INTERRUPTION, OTHER ECONOMIC LOSS OR ANY LOSS OF RECORDED DATA. 
5. Indemnification
The Licensee shall (i) abide by all laws in the course of using the Software and in general to use the Software in good faith and under conditions that can be considered as normal use; (ii) take all reasonable precautions to prevent unauthorized use or misuse of the Software; (iii) be liable, to the full extent permitted by law, for damages resulting from unauthorized and/or non-compliant use of the Software.

6. Third party software
With regard to any third party software that may be incorporated in the Software, the Licensee shall not, nor give anyone permission to download, duplicate, rent, lease, alter, modify, disassemble or create derivative works based on the third party software, in any form or format whatsoever. 

7. Term and Termination
The license granted herein is effective until: (i) terminated by mutual written agreement between the Parties; or (ii) terminated immediately, without prior notice from the Licensor, in the event that the Licensee fails to comply with any provision of this Agreement; or (iii) the Licensee may also terminate this Agreement by deleting the Software and all copies thereof from his/hers mobile device, desktop, computer, hard drive or other technical device. Upon termination of the license, the Licensee shall cease all use of the Software and delete all copies of it in whatever format from his mobile device, desktop, computer, hard drive or other technical device.

8. No assignment of Intellectual Property Rights
Nothing in these Terms of Use shall be deemed to assign or transfer any Intellectual Property Rights from the Licensor to the Licensee, or vice versa.

9. Applicable Law and Jurisdiction
The enforceability, construction, interpretation, and validity of these Terms of Use shall be governed by the laws of Bulgaria. Exclusive jurisdiction and venue for all matters relating to these Terms of Use shall be in courts located in Sofia (Bulgaria), and the Licensee consents to such jurisdiction and court.
*/


.quiz-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 80px;
    position: relative;
}

.quiz-result {
    font-size: 26px;
    line-height: 1.25em;
    text-align: center;
    position: relative;
}

.quiz-question ul.question-answers {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 12px -6px 0;
    padding: 0 0 20px 0;
    list-style: none outside none;
    z-index: 2;
}

li.question-answer {
    display: block;
    float: left;
    width: calc( 50% - 12px );
    margin: 0 6px 12px !important;
    background: #F5F5F5;
    border: 2px solid #E8E8E8;
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    text-align: center !important;
    color: #222;
    cursor: pointer;
    font-family: "roboto", sans-serif !important;
    font-size: 1.2em !important;
    transition-duration: 0.3s;
    transition-property: color, background-color;
    -webkit-transition-property: color, background-color;
    -webkit-transition-duration: 0.3s;
    letter-spacing: 0.05em;
}

li.question-answer.answer-correct span,
li.question-answer.answer-correct span:hover {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

li.question-answer.answer-incorrect span,
li.question-answer.answer-incorrect span:hover {
    background: #f44336;
    border-color: #f44336;
    color: white;
}

li.question-answer.answer-correct,
li.question-answer.answer-correct:hover {
    border-color: #4caf50;
    color: white;
}

li.question-answer.answer-incorrect,
li.question-answer.answer-incorrect:hover {
    border-color: #f44336;
    color: white;
}

@media (min-width: 640px) {
    li.question-answer:hover {
        background-color: #e4e4e4;
        border-color: #ddd;
        transition: .1s;
    }
}

.quiz .quiz-result-hidden {
    display: none;
}

.quiz .quiz-result {
    padding: 50px 0;
    line-height: 1.5em;
    font-weight: 600;
}

.quiz .quiz-result strong {
    text-shadow: 1px 0 0 black, 0 1px 0 black, -1px 0 0 black, 0 -1px 0 black;
}

.quiz .question-image {
    z-index: 2;
    width: 100%;
    left: 0;
    top: 0;
    margin: 0 !important;
}

.quiz .question-title {
    background: #fff;
    color: #000;
    padding: 20px 10px;
    font-weight: 600;
    margin-top: 7px;
    border-radius: 3px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 -5px 0 0 #0096e7;
    font-size: 26px;
    line-height: 1.25em;
    text-align: center;
    position: relative;
}

@media (max-width: 640px) {
    .quiz .question-image-wrapper {
        width: 300px;
    }

    .quiz .question-image {
        position: relative;
        z-index: 2;
        width: 100%;
        left: 0;
        top: 0;
        margin: 0;
    }

    .quiz .question-title {
        /*margin-top: -50px;*/
        font-size: 24px;
    }
}

.quiz .question-image-wrapper {
    z-index: -1;
    position: relative;
    margin: auto;
}

.question-image-ad {
    margin: 15px 0;
}

.question-answer-ad {
    display: inline-block;
    width: 100%;
    margin: 15px 0;
}

.quiz .quiz-ad-separator {
    font-size: 11px;
    color: #a2a2a2;
    float: none;
}

.quiz span.quiz-ad-separator:before,
.quiz span.quiz-ad-separator:after {
    display: inline-block;
    content: "";
    border-top: 1px solid #a2a2a2;
    width: 15%;
    margin: 0 15px;
    transform: translateY(-5px);
}

@media (max-width: 640px) {
    .quiz span.quiz-ad-separator:before,
    .quiz span.quiz-ad-separator:after {
        width: 20%;
    }
}

.quiz .question-number {
    width: 100%;
    background: #ff4902;
    color: #fff;
    padding: 6px 14px;
    font-size: 24px;
    font-weight: 600;
    top: 20px;
    right: 20px;
    text-align: center;
}

.quiz .quiz-intro {
    font-size: 22px;
    line-height: 1.5em;
}

.quiz .quiz-image-wrap img{
    width: 100%;
}


@media( max-width: 700px ) {
    .quiz .quiz-image-wrap {
        min-height: 250px;
    }
}

.quiz .quiz-image-wrap .quiz-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.quiz.quiz-final {
    border: 1px solid #ddd;
    max-width: 600px;
    margin: 30px auto 60px;
    background: url(https://i.imgur.com/nS2j0t0.png) no-repeat center center;
    background-size: cover;
}

.quiz-label {
    background: red;
    padding: 10px;
    color: white;
    margin-bottom: -15px;
    display: inline-block;
}

.quiz-nav {
    font-size: 24px;
    font-weight: 700;
    margin: 0px 0px 10px 0px;
}

.quiz-question {
    position: relative;
    background: none !important;
}

.quiz-question .greyedAnswer {
    background-color: hsla(0, 0%, 100%, 0.85);
    backdrop-filter: blur(4px);
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 5;
}

.question-answer-text {
    display: none;
    position: relative;
    margin: 7px 0;
    padding: 20px;
}

.question-answer-text.answer-correct {
    background: #4caf50;
    border-color: #4caf50;
    border-radius: 3px;
    color: #fff;
}

.question-answer-text.answer-incorrect {
    background: #f44336;
    border-color: #f44336;
    color: white;
    border-radius: 3px;
}

.question-filler h3,
body .post-content .question-filler p {
    text-align: center;
}

.question-filler #quiz-answer-cta {
    display: block;
    max-width: 100px;
    margin: 0 auto;
}

@media (min-width: 500px) {
    .quiz-question {
        background-size: 0;
    }
}

.quiz .question-image-wrapper {
    z-index: 2;
}

@media (max-width: 640px) {
    .quiz .question-image-wrapper {
        width: 100%;
    }

    .quiz .question-filler {
        text-align: center;
        margin-top: 20px;
    }

    .quiz .question-filler h3 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 2px;
    }

    .quiz .question-filler p {
        font-size: 18px;
        margin-top: 2px;
        text-align: center;
        color: #666;
    }

    .quiz .question-filler svg {
        max-width: 40px;
        opacity: .3;
    }

    li.question-answer {
        width: calc( 100% - 12px );
    }
}

.quiz-result {
    background-size: cover;
    background-position: center center;
    padding: 120px !important;
}

@media (max-width: 800px) {
    .quiz-result {
        padding: 0 !important;
        background: white !important;;
    }
}

.quiz-top {
    display: block;
}

.quiz-bottom {
    display: block;
}

.quiz-score {
    font-size: 62px;
}

.quiz-result {
    padding: 30px 0;
}

.quiz-result-inner {
    background:  white;
    padding: 30px;
}

.quiz-result-inner span {
    padding-bottom: 5px;
}

.dx-rtk-wrapper {
    width: 100%;
    display: inline-block;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

.dx-rtk-native-unit {
    position: relative;
}

.dx-rtk-wrapper-inner {
    margin-top: 20px;
    position: relative;
    text-align: center;
}

.quiz-section .dx-rtk-wrapper-inner {
    margin: 20px auto;
    width: 730px;
}

.quiz-mobile .quiz-section .dx-rtk-wrapper-inner {
    width: 100%;
}

.dx-rtk-wrapper-inner:before {
    content: 'ADVERTISEMENT';
    position: absolute; 
    top: -15px;
    left: 0;
    display: none;
    width: 100%;
    text-align: center;
    font-size: 12px;
    line-height: 1;
}

.visible-ad .dx-rtk-wrapper-inner:before {
    display: block;    
}

.question-answer-ad.left {
    display: inline-block;
    width: 50%;
    float: left;
    text-align: center;
    padding: 5px;
}

.question-answer-ad.right {
    display: inline-block;
    width: 50%;
    float: right;
    text-align: center;
    padding: 5px;
}

.quiz-result-sticky {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 20px;
    z-index: 99999;
    box-sizing: border-box;
    background: white;
    left: 0;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
    transform: translateY(100%);
    transition: .5s;
}

.quiz-result-sticky.is-visible-new {
    transform: translateY(0);
    transition: .5s;
}

.quiz-result-answered {
    font-size: 14px;
}

.quiz-result-score {
    font-weight: bold;
}

.quiz-result-bar {
    height: 10px;
    background: #f0f0f0;
    position: relative;
    border-radius: 30px;
}

.quiz-result-bar-inner {
    position: absolute;
    left: 0;
    top: 0;
    height: 10px;
    background: #0C1D6F linear-gradient(to left top, #0C1D6F, #32409B);
    transition: 1s;
    border-radius: 30px;
}

.headroom--top ~ .wrapper .sidebar .sticky-rails,
.headroom--top ~ .wrapper .sidebar-quiz .sidebar-quiz-inner {
    transform: translateY(100px);
    transition: .5s;
}

.sidebar .sticky-rails,
.sidebar-quiz .sidebar-quiz-inner {
    top: 180px;
    transition: .5s;
}

@media( min-width: 700px ) {
    .quiz-result-sticky {
        bottom: auto;
        /*top: 96px;*/
        top: 0;
        background: #0b1875;
        border-color: #3343af;
        padding: 20px;
        font-size: 18px;
        color: #ffffff;
        opacity: 0;
        pointer-events: none;
    }

    .admin-bar .quiz-result-sticky {
        top: 129px;
    }

    .quiz-result-sticky.is-visible-new {
        opacity: 1;
        pointer-events: all;
        transform: translateY(80px);
    }

    .quiz-result-bar {
        max-width: 800px;
        margin: 10px auto 0;
    }

    .quiz-result-answered {
        font-size: inherit;
    }

    .headroom--not-top ~ .wrapper .quiz-result-sticky {
        transform: translateY(-23px);
    }

    .quiz-result-bar-inner {
        background: #4caf50 linear-gradient(to left top, #4caf50, #32409B);
    }
}

.quiz .button {
    color: white;
    width: 100%;
    text-align: left;
    text-align: center;
    font-size: 1.2em;
    position: relative;
    padding: 10px;
    background-color: #3364cc;
    display: block;
    text-align: center;
    font-size: 26px;
}


.quiz .button:hover {
    color: #a6a9aa;
}

.quiz .button.loading:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.7;
    z-index: 10;
}

.quiz .button.loading:before {
    content: '';
    background-image: url("../img/ajax-loader.gif");
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 5px);
    right: calc(50% - 21px);
    width: 43px;
    height: 11px;
    z-index: 11;
}

@media( max-width: 500px ) {
    .quiz .button {
        font-size: 18px;
    }
}

.quiz .quiz-thumbnail,
.quiz .quiz-content,
.quiz .quiz-questions-wrapper {
    max-height: 0;
    overflow: hidden;

    transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.quiz .quiz-thumbnail.is-visible,
.quiz .quiz-content.is-visible,
.quiz .quiz-questions-wrapper.is-visible {
	overflow: hidden;
	max-height: 2000px;

	transition-property: all;
	transition-duration: .5s;
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    text-align: center;
}

.hidden {
    display: none !important;
}

div[id^="RTK_"]:before {
    display: none;
}

.quiz-right-sidebar {
    width: 300px;
    height: auto;
}

.quiz-sidebar {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 115px;
    align-self: flex-start;
}

.quiz-section {
    padding: 0 50px 0 0;
    flex: 0 1 53%;
    min-width: 780px;
}

.quiz-mobile .quiz-title h1 {
    font-size: 30px;
}

.quiz-mobile .quiz-sidebar {
    display: none;
}

.quiz-mobile .quiz-section {
    flex: 0 0 100%;
    padding: 0 50px;
    min-width: 300px;
}

@media( max-width: 400px ) {
    .quiz-mobile .quiz-section {
        padding: 0 10px;
    }
}

@media( max-width: 320px ) {
    .quiz-mobile .quiz-section {
        padding: 0 2px;
    }

    .quiz-mobile .quiz-title,
    .quiz-mobile .quiz-content,
    .quiz-mobile .quiz-thumbnail img,
    .quiz-mobile .quiz-questions-wrapper,
    .quiz-mobile .quiz-foot {
        padding: 0 10px;
    }
}

.quiz .answer-image {
    background-size: contain !important;
    background-repeat: no-repeat !important; 
    background-position: center !important;
}

.quiz-related-posts {
    padding-top: 20px;
}

.quiz-related-posts .related-posts {
    display: flex;
}

.quiz-related-posts h4 {
    display: block;
}

.quiz-related-posts .related-post {
    flex: 0 0 33%;
    justify-content: space-between;
}

.quiz-related-posts .related-post:nth-child(2n) {
    margin: 0 10px;
}

.quiz-related-posts .related-post-image {
    height: 150px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-bottom: 10px;
}

.quiz-questions-wrapper {
    /* display: none; */
    max-width: 100%;
    height: auto;
}

.active {
    display: block !important;
}

@media ( max-width: 600px ) {
    .quiz-related-posts .related-posts {
        flex-wrap: wrap;
    }

    .quiz-related-posts .related-post {
        flex: 0 0 100%;
        justify-content: space-between;
    }

    .quiz-related-posts .related-post:nth-child(2n) {
        margin: 0;
    }
}

.quiz-mobile {
    padding-top: 30px;
}

@media(max-width: 1024px) {
    #fl-footer-bottom {
        max-width: 100%;
        padding: 20px !important;
    }
}

.quiz .quiz-thumbnail {
    text-align:center;
}