:root {
  --container-width: 1240px;
  --mobile-breakpoint: 991px;
}

body.archive.tax-candidate_category {
    background-image: url('../img/step2-bg.jpg');
}

.jdg_category_wrapper a {
    box-shadow: 0px 0px 19px 1px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0px 0px 19px 1px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 19px 1px rgba(0,0,0,0.25);
}
.jdg_category_wrapper a  {
    position:relative;
    transition: all 300ms ease;
}
.jdg_category_wrapper a:not(.answered):hover  {
    transform: translateY(-10px);
}
.jdg_category_wrapper a .jdg_category_wrapper_icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
}
.jdg_category_wrapper a.answered > img {
    opacity: .5;
    filter: grayscale(1);
}

/* ***************** */
/*   TAXONOMY PAGE   */
/* ***************** */
.candidate_tax_wrapper {
    /*
    margin-top: 80px;
    margin-bottom: 80px;
    */
}
.candidate_tax_header {
    margin-bottom: 30px;
}
.candidate_tax_header_logo {
    padding-right: 30px;
    /*border-right: 15px solid #d6d6d6;*/
}
.candidate_tax_header_logo img {
    width: auto;
}
.candidate_tax_header_title {
    width: 70%;
    padding-left: 20px;
}
.candidate_tax_header_title h2 {
    font-size: 54px;
    font-weight: bolder;
    line-height: 58px;
    margin-bottom: 0;
    color: #ffffff;
}
.candidate_tax_header_title h5 {
    font-size: 28px;
    font-weight: bolder;
    color: #9052fa;
    margin-bottom: 0;
}

.candidate_tax_header_logo img,
.candidate_tax_header_thumbnail_term img,
.candidate_tax_header_thumbnail_single {
    height: 100px
}

.candidate_tax_header_thumbnail_single {
    border: 2px solid transparent;
    border-left: 0;
    border-image: linear-gradient(135deg, rgb(45, 44, 109), rgb(187, 69, 179));
    border-image-slice: 1;
}
.candidate_tax_header_thumbnail_single img {
    padding: 15px 20px 15px 20px;
    width: auto;
    height: 100%;
}
@media screen and (max-width: 1240px) {
    .candidate_tax_header_logo img,
    .candidate_tax_header_thumbnail_term img,
    .candidate_tax_header_thumbnail_single {
        height: 8.1vw;
    }
    .candidate_tax_header_title h2 {
        font-size: 4.346vw;
        line-height: 4.678vw;
    }
    .candidate_tax_header_title h5 {
        font-size: 2.25vw
    }
    .candidate_tax_header_thumbnail_single img {
        /*padding: .8vw 1.08vw .8vw 1.08vw;*/
    }
    .candidate_tax_header_logo {
        width: 48.2vw;
        padding-right: 0;
    }
    .candidate_tax_header_title {
        width: 100%;
        padding-left: 0;
    }
}
@media screen and (max-width: 768px) {
    .candidate_tax_header_logo img {
        height: 60px;
    }
    .candidate_tax_header_thumbnail_term img,
    .candidate_tax_header_thumbnail_single {
        height: 100px;
    }
    .candidate_tax_header_logo {
        width: unset;
    }
    .candidate_tax_header_title {
        padding-top: 30px;
    }

}
@media screen and (max-width: 540px) {
    .candidate_tax_header {
        margin-bottom: 15px;
    }
    .candidate_tax_header_thumbnail_term img,
    .candidate_tax_header_thumbnail_single {
        height: 18.55vw;
    }
    .candidate_tax_header_thumbnail_single img {
        padding: 2.8vw 3.8vw 2.8vw 3.8vw;
    }
    .candidate_tax_header_title {
        padding-top: 15px;
    }
}


/* ********************** */
/*   TAXONOMY PAGE FORM   */
/* ********************** */




/* HEADER */
.candidate_tax_content_intro {
    margin-bottom: 35px;
}
.candidate_tax_content_intro,
.candidate_tax_content_criteria {
    color: #ffffff;
}
.candidate_tax_content_category_logo img {
    height: 100px;
    width: auto;
    margin: -2px
}
.candidate_tax_content_single_logo img {
    width: auto;
    height: 80px;
    margin-left: 20px;
}



/* CONTENT SECTION */
body * {
    transition: all 300ms ease;
}
.candidate_tax_content_wrapper {
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, rgb(45, 44, 109), rgb(187, 69, 179));
    border-image-slice: 1;
}
.candidate_tax_content_wrapper:hover {
    transform: translateX(10px);
}
@media screen and (max-width: 1240px) {
    .candidate_tax_content_single_logo img {
        height: 6.45vw;
    }
    .candidate_tax_content > .row {
        row-gap: 10px;
    }
}


/* Criteria list (Single) */
.candidate_tax_content_criteria ul {
    margin-left: 0;
    padding-left: 0;
    list-style-position: inside;
}
.candidate_tax_content_criteria ul li {
    color: #ffffff;
}
.candidate_tax_content_criteria ul li span {
    color: #9052fa;
}
.candidate_tax_content_criteria {
    border: 2px solid transparent;
    border-image: linear-gradient(89deg, rgb(49 55 108), rgb(16 178 107));
    border-image-slice: 1;
    padding: 20px;
}


/* VIDEO COLUMN */
.candidate_tax_content_video {
    width: 60%;
    transition: all 300ms ease;
}
.candidate-video {
    padding: 20px;
    background-color: #222222;
    border-radius: 10px;
    min-height: 100%;
    transition: all 300ms ease;
}
.candidate-video .candidate-category {
    color: #ffffff;
}
.candidate-video .candidate-name {
    color: #ffffff;
}
.candidate-pdf {
    color: #ffffff;
    display: inline-flex;
    margin-bottom: 10px;
    column-gap: 6px;
    align-items: flex-end;
    text-decoration: underline;
    text-underline-offset: 5px;
}
.candidate-pdf:hover {
    text-decoration: underline;
    color: #ffffff;
}

.candidate-video .candidate-pdf img {
    height: 18px;
}


.responsive-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.responsive-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 992px) {
    .candidate_tax_content_video {
        width: 100%;
    }
    .candidate_tax_content_form {
        width: 100% !important;
    }
    .candidate_tax_content_form > form {
        margin-left: 0 !important;
        margin-top: 20px;
    }
}

/* SCORING FORM COLUMN */
.candidate_tax_content_form {
    width: 40%;
    transition: all 300ms ease;
}
.candidate-scoring-form {
    color: #ffffff;
    margin-left: 30px;
    padding:20px;
    border: 2px solid transparent;
    border-image: linear-gradient(89deg, rgb(49 55 108), rgb(16 178 107));
    border-image-slice: 1;
    transition: all 300ms ease;
}
.candidate-scoring-form .criteria-block-input {
    min-width: 100px;
    max-width: 100px;
    min-height: 70px;
    max-height: 70px;
}
.candidate-scoring-form .criteria-block-input span {
    font-size: 26px;
}
.candidate-scoring-form .criteria-block-wrapper:not(:last-of-type) {
    margin-bottom: 10px;
}
.candidate-scoring-form .criteria-block-wrapper p {
    font-size: 12px;
  line-height: 18px;
}
.candidate-scoring-form .criteria-block-wrapper p.crit-class {
    color: #9052fa;
    font-size: 14px;
}
.candidate-scoring-form .criteria-block-wrapper p:last-of-type {
    margin-bottom: 0;
}

/* Chrome, Safari, Edge, Opera */
.candidate-scoring-form .criteria-block input::-webkit-outer-spin-button,
.candidate-scoring-form .criteria-block input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.candidate-scoring-form .criteria-block input {
    -moz-appearance: textfield;
    height: 70px;
    font-size: 30px;
    padding: 8px;
    color: #202020;
    font-weight: 700;
    text-align: center;
}

.weighted-average-display-value {
    width: 70px;
    text-align: center;
    font-size: 22px;
}
.weighted-average-display-value {
    width: 70px;
    min-width: 70px;
    font-size: 22px;
    text-align: center;
}


/* FORM MESSAGE */
.candidate_tax_form_message {
    margin-left: 30px;
    width: calc(100% - 30px) !important;
    transition: all 300ms ease;
}
.candidate_tax_form_message_inner {
  border: 1px solid #ffcd56;
  border-radius: 6px;
  color: #ffcd56;
}
@media screen and (max-width: 992px) {
    .candidate_tax_form_message {
        margin-left: 0;
        width: 100% !important;
    }
}


/* PAGINATION */
.candidate_tax_pagination_nav {
    color: #ffffff;
    cursor: pointer;
}
.candidate_tax_pagination_nav > span {
    color: #ee6abd;
    font-size: 0;
    line-height: 0;
    display: block;
}
.candidate_tax_pagination_nav > span > img {
    height: 48px;
    transition: 300ms ease;
}
.candidate_tax_pagination_nav.next:hover span img {
    transform: translateX(5px);
}
.candidate_tax_pagination_nav.prev:hover span img {
    transform: translateX(-5px);
}
.candidate_tax_pagination_nav > p {
    color: #9052fa;
    font-size: 24px;
    margin: 0 15px;
}

.jdg_global_modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    min-width: 100%;
    min-height: 100%;
    background-color: #2a2a2a82;
    z-index: 9;
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    
    display: flex;
    align-items: center;
    justify-content: center;
}
.jdg_global_modal_content{
    max-width: 400px;
    padding: 25px;
    border-radius: 15px;
    background-color: #ffffff;
    color: #222222;
    text-align: center;;
}
.jdg_global_modal_btn_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
.jdg_global_modal_btn {
    background-color: #FF5722;
    margin: 0 5px;
    padding: 5px 20px;
    color: #fff;
    border-radius: 4px;
    /*opacity: .7;*/
    cursor: pointer;
}
.jdg_global_modal_btn:hover {
    opacity: 1;
}

/* ********************** */
/*      SUMMARY PAGE      */
/* ********************** */
.jdg_summary_wraper {
    margin-top: 60px;
    margin-bottom: 60px;
}
.jdg_summary_page_title {
    margin-bottom: 60px;
}
.jdg_summary_wrapper table {
    border-collapse: unset;
    margin-top: 15px;
    margin-bottom: 15px;
}
.jdg_summary_wrapper table tr td {
    border-width: 1px;
    border-left: 0;
    border-top: 0;
    border-color: #d1d5db;
}
.jdg_summary_dropdown_content tr.active {
    background-color: #61b461;
    color: #fff;
}
.jdg_summary_wrapper table tr.active td.ico {
    border-right: 0;
    padding: 0 0 0 15px;
}
.jdg_summary_dropdown_content tr.active td.nam,
.jdg_summary_dropdown_content tr.active td.scr {
    font-weight: bold;
    font-size: 18px;
}
.jdg_summary_dropdown_content tr td.ico img {
    min-width: 25px;
}
@media screen and (max-width: 992px) {
    .jdg_summary_dropdown_content tr.active td.nam,
    .jdg_summary_dropdown_content tr.active td.scr {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 16px;
    }
}




/*accordion*/
.jdg_summary_wrapper {
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
.jdg_summary_category_section:not(:last-of-type) {
  margin-bottom: 30px;
}

.jdg_summary_header {
    cursor: pointer;
    background-color: #f5f5f5;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jdg_summary_header_title {
    flex: 1;
}
.jdg_summary_header_title h4 {
    margin-bottom: 0;
}
.jdg_summary_header_score {
  flex: 1;
  max-width: 120px;
  min-width: 120px;
  text-align: center;
}
.jdg_summary_header_icon img {
    width: 16px;
}
.jdg_summary_wrapper.active .jdg_summary_header_icon img {
    transform: rotateX(180deg);
}
.jdg_summary_dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background-color: #fff;
    padding: 0 15px;
}
.jdg_summary_wrapper.active .jdg_summary_dropdown {
    max-height: 500px; /* enough to show all content */
}