
p {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.hovered {
    transition: box-shadow .3s;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.rounded img {
    border-radius: .25rem;
}
.rounded {
    border-radius: .25rem;
}
.hidden {
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.btn-success {
    background-color: #00c851 !important;
}
.btn-success:hover, .btn-success.hover, .btn-success.active {
    background-color: #00c851 !important;
}
.btn3d {
    position: relative;
    top: -6px;
    border: 0;
    transition: all 40ms linear;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 20px !important;
    text-transform: uppercase;
}

.btn3d:active:focus,
.btn3d:focus:hover,
.btn3d:focus {
    -moz-outline-style: none;
    outline: medium none;
}
.btn3d.btn-success {
    color: #fff !important;
    box-shadow: 0 0 0 1px #31c300 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 2px 0 0 #5eb924, 0 3px 3px 1px rgba(0, 0, 0, 0.5);
    background-color: #78d739;
}
.btn3d.btn-success:active,
.btn3d.btn-success.active {
    box-shadow: 0 0 0 1px #30cd00 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 2px 1px rgba(0, 0, 0, 0.3);
    background-color: #78d739;
}
.btn3d.btn-warning {
    color: #fff !important;
    box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 2px rgba(255, 255, 255, 0.15) inset, 0 2px 0 0 #D79A34, 0 3px 3px 1px rgba(0, 0, 0, 0.5);
    background-color: #FEAF20;
}
.btn3d.btn-warning:active,
.btn3d.btn-warning.active {
    box-shadow: 0 0 0 1px #d79a47 inset, 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 1px 2px 1px rgba(0, 0, 0, 0.3);
    background-color: #FEAF20;
}
.z-depth-3 {
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}
.z-depth-2 {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}



/* Test result start */
#navTabs .nav-item {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}
.tab-content li {
    text-align: left !important;
}
.test-results-wrapper .tab-content {

    border-top: none;
    background-image: linear-gradient(#e3f2fd, #fff);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
.test-results-wrapper .tab-pane {
    transition: opacity .15s linear;
    background-color: #fff;
    padding: .5rem 1rem !important;
}
.test-results-wrapper .nav-link.active {
    background-color: #e3f2fd;
    border-bottom: 1px solid #e3f2fd;
}
.test-results-wrapper .nav-link {
    border: 1px solid #dee2e6;
    min-height: 100%;
    font-weight: bold;
}
.test-results-wrapper .tab-pane.in {
    opacity: 1 !important;
}
.test-results-wrapper .tidbit,
.test-results-wrapper .tidbit-cite {
    border: 1px solid #dee2e6;
    border-bottom-right-radius: 1.2rem;
    border-top-left-radius: 1.2rem;
    background: url("../img/svg/information.svg") no-repeat top left;
    background-color: #fff;
    background-size: 35px 35px;
    background-position: .3% 3.5%;
    width: 100%;
}
.test-results-wrapper .tidbit-cite {
    background: url("../img/svg/Quote_left.svg") no-repeat top left;
    background-size: 35px 35px;
    background-position: 1% 4.5%;
}
.test-results-wrapper .tidbit .tidbit-wrapper,
.test-results-wrapper .tidbit-cite .tidbit-wrapper{
    border: 1px solid #477BE4;
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 1.15rem;
}
.test-results-wrapper .tidbit p {
    margin-bottom: 0;
}
.test-results-wrapper .blockquote {
    border-color: #477BE4;
}

.card h4 {
    margin-bottom: 0;
}
.grey-text {
    color: #6e6e6e!important;
}
.white-text {
    color: #fff !important;
}
.card .card-header,
.card .card-footer {
    text-align: center;
    border-top: none;
}
.card-header {
    border: none !important;
    border-bottom: 1px solid #dee2e6 !important;
}
.card-header-blue {
    background-color: #477BE4;
}
.card .card-promotion-footer a {
    color: #477BE4;
}
.card-body {
    position: relative;
}
.card-body p.card-text {
    display: block;
    margin-bottom: 4rem;
}
.card-body .btn-take-test {
    position: absolute;
    bottom: 1rem;
}
.card-body__list {
    display: block;
    min-height: 125px;
}
.card-footer__result {
    font-size: 2.5rem;
    text-align: left;
    text-shadow: 0 1px #b8bec5;
    font-weight: bold;
    color: #fff;
    padding-bottom: 1rem;
}
.card-footer__result-label {
    position: relative;
    top: -10px;
    left: 5px;
    color: #fff;
}
.card-footer__result-details {
    font-size: 2.5rem;
    text-align: left;
    /*text-shadow: 0 2px #fff;*/
    font-weight: bold;
    color: #477BE4;
    padding: 1rem;
}
.card-footer__details-wrapper {
    text-align: right;
    width: 50%;
    float: right;
}
.card-footer__details {
    position: relative;
    left: 5px;
    font-size: .8rem;
    line-height: 1.4;

}
canvas {
    width: auto;
    height: 150px !important;
}
.details-score {
    font-weight: bold;
    font-size: 1.3rem;
    color: #fff;
    height: 100%;
}
.test-results-wrapper .card-body .grey-text {
    line-height: 1.2;
}
.scale-50 {
    display: none;
}
/* Test result end */

/* old Q  reports styles reassigned start */
.card-body p.rte_content:last-child {
    margin-bottom: 0;
}
.card-body p[align="center"] {
    font-weight: bold;
}

#btnNext {
    float: right;
    display: block;
}
main  .waves-input-wrapper {
    width: 100%;
}
.rte_subtitle,
.rte_h2 {
    font-size: 21px;
    font-family: "Proxima Nova Semi Bold", Arial, sans-serif;
    font-weight: normal;
    color: #2C2D30;
}
.rte_category,
.rte_content5 {
    font-weight: bold;
}
.rte_category .rte_content {
    font-weight: normal;
}
a.rte_link_underline {
    font-family: "Proxima Nova Semi Bold", Arial, sans-serif;
    color: #477BE4 !important;
    text-decoration: underline !important;
}
/* old Q  reports styles reassigned end */




/* TESTS STYLES START */
.blockquote {
    font-size: 17px;
    line-height: 1.75;
}
.card-body {
    padding: 1.25rem .75rem;
}
.table thead th {
    font-size: 14px;
    line-height: 1 !important;
}
.inactive a.nav-link { /* snapshot tabs */
    color: #999 !important;
}
th .qte_question_number,
th {
    font-size: 14px !important;
    line-height: 1 !important;
}
.inactive a.nav-link.active {
    color: #999 !important;
    background-color: rgba(0,0,0,.05) !important;
    border-bottom: rgba(0,0,0,.05) !important;
}
a#alwaysActive {
    background-color: #477BE4 !important;
    border-bottom: #477BE4 !important;
    color: #fff !important;;
}



table.table-hover tbody tr:hover {
    background-color: #e3f2fd;
}
.title-and-decs {
    width: 90%;
}
#content .table-container td {
    vertical-align: middle;
    padding: .5rem .1rem .5rem .2rem;
    width: 100%;
}
#content .table-container th.th-answer {
    width: 8.333333%;
    text-align: center;
    font-size: .7rem;
    vertical-align: middle;
}
#content .table-container {
    padding: 0 .1rem;
}
span.qte_question_number, td.qte_question_number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #212529 !important;
}
i.fa-circle-o, i.fa-square-o {
    color: #666;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
i.fa-check-circle-o, i.fa-check-square-o {
    color: #84CE7B;
}
.table-container .question-number {
    vertical-align: top;
    border-right: none;
}
.table-container .question-text {
    border-left: none;
}
.card.blockquote {
    border: .25rem solid #477BE4;
}
/* Classical IQ Test*/
.radio-div {
    cursor: pointer;
    text-align: center;
}
.i-dont-know {
    padding-top: 91px;
}
/* Logic IQ Test */
.logic-iq-question {
    font-size: 1.1rem;
}
.rte_italic {
    font-weight: bold;
}
/* pdf reports: don't break page class */

.not-break {
    page-break-inside: avoid;
}
.next-page {
    page-break-before: always;
}

     /**** Radio and check-boxes styles ***/
 input[type='radio'],
 input[type='checkbox'] {
     display: none;
 }
input[type='radio'] + label {
    display: block;
}
input[type='checkbox'] + label:before,
input[type='radio'] + label:before {
    display: inline-block;
    font-family: FontAwesome;
    font-size: 1.5em;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: 8px;
    width: 23px;
    transition: all 0.3s ease-in-out;
}
input[type="checkbox"] + label:before {
    content: "\f096"; /* Checkbox Unchecked */
}
input[type="checkbox"]:checked + label:before {
    content: "\f046"; /* Checkbox Checked */
    color: #00c851;
}
input[type="radio"] + label:before {
    content: "\f10c"; /* Radio Unchecked */
}
input[type="radio"]:checked + label:before {
    content: "\f05d"; /* Radio Checked */
    color: #00c851;
}

/* TESTS STYLES end */


@media (max-width: 767px) {
    .container {
        max-width: 100% !important;
    }
    .p-5,
    .p-4 {
        padding: 0 !important;
    }
    .p-4.tidbit-wrapper {
        padding: 1.5rem !important;
    }
    .title-and-decs {
        width: 75%;
    }
}



/* SAFARI FIXES */
.row:before, .row:after {display: inline-block !important;}



.psychtests-container.main--sidebar {
    max-width: 100%;
}
.test-results-wrapper .tab-content {
    background-color: #477BE4;
    background-image: linear-gradient(#477BE4, #fff);
}
.test-results-wrapper .nav-link.active {
    color: #fff !important;
    background-color: #477BE4;
    border: 1px solid #477BE4;
}

