﻿/* General */
h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.3em;
}

input[type='range'] {
    -webkit-appearance: none;
}

span.error {
    text-align: center;
}

span.error h4 {
    color: lightcoral !important;
    background-color: #7472b4;
    padding: 10px;
}


/* END General */

/* Buttons */

#careersquiz .btn {
    background-color: #583185;
    color: #fff;
}

/* END Buttons */




/* Ranking question styles */
.quiz-step-option-ranking-item {
    margin: 15px;
    background-color: rgb(219,88,68);
    touch-action: none !important;
    position: relative;
    overflow: hidden;
    outline-width: 0;
    outline-style: solid;
    outline-color: rgb(88,49,133);
}

    .quiz-step-option-ranking-item div.label {
        padding: 10px;
    }

.quiz-step-option-ranking-container:hover {
    touch-action: none !important;
}

.quiz-step-option-ranking-item h4 {
    color: #fff;
}

.quiz-step-option-ranking-item div.ordinal {
    color: #fff;
    float: left;
    clear: none;
    display: block;
    position: absolute;
    background-color: rgb(32,25,68);
    min-width: 33px;
    width: 7%;
    padding: 10px;
    text-align: center;
}

    .quiz-step-option-ranking-item div.ordinal h4 {
    }

.quiz-step-option-ranking-item:hover {
    cursor: grab;
}

.quiz-step-option-ranking-item:active {
    cursor: grabbing;
}
/* END Ranking question styles */


/*  Dragula CSS */
.gu-mirror {
    position: fixed !important;
    margin: 0 !important;
    z-index: 9999 !important;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
}

.gu-hide {
    display: none !important;
}

.gu-unselectable {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.gu-transit {
    opacity: 0.2;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
    filter: alpha(opacity=20);
}
/*  END Dragula CSS */

/*  Option scontainer */
div.options {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

/* Panel styles checkboxes */

.quiz-step-option-multi-container {
    display: inline-block;
    position: relative;
    width: 95%;
    height: auto;
    text-align: center;
    margin: 0 auto;
}

input.checkbox-panel {
    display: none;
}

    input.checkbox-panel + label {
        cursor: pointer;
    }

        /*    input.checkbox-panel:checked + label {
        background-color: rgb(219,88,68);
    }
*/
        input.checkbox-panel + label h4 {
            color: #fff !important;
        }


.bucket1 .extendedinfo {
    display: none;
}

label.checkbox-panel {
    display: inline-block;
    background-color: #1f7bc5;
/*    background-image: url('/portals/_default/skins/c4/images/4schools-panel-swipe.png'); */
    background-repeat: no-repeat;
    background-position-x: 100px;
    width: 300px;
    height: 200px;
    text-align: center;
    clear: none;
    margin: 40px 20px;
    padding-top: 30px;
}

input.checkbox-panel:checked + label {
    background-color: #583185;
    border: 2px solid #ffd800;
}

input.checkbox-panel + label img {
    padding: 20px 0;
}


.progress {
    background-color: rgb(32,25,68);
    margin-bottom: 40px;
}

.progress-bar {
    background-color: #79992a;
    height: 100%;
}


svg.progress-icon {
    fill: #fff;
    stroke: #fff;
    position: relative;
    float: right;
    margin: 5px 10px 0 0;
}


/* Icon SVGs --------------------------------------------------------------------------------*/


.quiz-step-option-multi-container svg {
    width: 40px;
    padding-bottom: 10px;
}

.quiz-step-option-multi-container label:hover svg {
    transform: rotate(360deg);
    transition: all 0.8s ease-in-out 0s;
    transform-origin: center;
}

.quiz-step-option-multi-container svg path {
    fill: #fff;
}

.subjectSummary svg {
    width: 160px;
    padding: 35px;
}

.subjectSummary div {
    display: inline-block;
}

/* END ICON SVGs --------------------------------------------------------------------------------*/



/* ---------------   SWIPE CARD CSS --------------------------------*/

.demo {
    
}

.demo__content {
    overflow: hidden;
    position: relative;
    height: 31rem;
    padding-top: 4.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.demo__card-cont {
    position: relative;
    width: 28rem;
    height: 31rem;
    margin: 0 auto 5rem;
    padding: 15rem;
    background-color: rgba(116,114,180,0.7);
}

.demo__card {
    z-index: 2;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 100%;
}

    .demo__card.reset {
        transition: transform 0.3s;
        transform: translateX(0) !important;
    }

        .demo__card.reset .demo__card__choice {
            transition: opacity 0.3s;
            opacity: 0 !important;
        }

    .demo__card.inactive {
        transition: transform 0.3s;
    }

    .demo__card.to-left {
        transform: translateX(-30rem) rotate(-30deg) !important;
    }

    .demo__card.to-right {
        transform: translate(30rem) rotate(30deg) !important;
    }

    .demo__card.below {
        z-index: 1;
    }

.demo__card__top {
    height: 20.5rem;
    padding-top: 4rem;
}

    .demo__card__top.purple {
        background: #7132B9;
    }

    .demo__card__top.blue {
        background: #248CB6;
    }

    .demo__card__top.indigo {
        background: #303F9F;
    }

    .demo__card__top.cyan {
        background: #26C6DA;
    }

    .demo__card__top.lime {
        background: #AFB42B;
    }

    .demo__card__top.brown {
        background: #795548;
    }

.demo__card__img {
    overflow: hidden;
    width: 10rem;
    height: 10rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 0.5rem solid #ffffff;
    background-image: url("//s3-us-west-2.amazonaws.com/s.cdpn.io/142996/profile/profile-512_5.jpg");
    background-size: cover;
}

.demo__card__name {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.demo__card__btm {
    height: 11.5rem;
    background: #FFFFFF;
}

.demo__card__we {
    text-align: center;
    font-size: 2.2rem;
    line-height: 11.5rem;
}

.demo__card__choice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

    .demo__card__choice:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 2rem;
        height: 2rem;
        margin-left: -1rem;
        color: #fff;
        border-radius: 50%;
        box-shadow: -2rem -3rem #fff, 2rem -3rem #fff;
    }

    .demo__card__choice:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 4rem;
        height: 1.5rem;
        margin-left: -2rem;
        border: 0.6rem solid #fff;
        border-bottom: none;
        border-top-left-radius: 1.5rem;
        border-top-right-radius: 1.5rem;
    }

    .demo__card__choice.m--reject {
        background: #FF945A;
    }

    .demo__card__choice.m--like {
        background: #79992a;
    }

        .demo__card__choice.m--like:after {
            transform: scaleY(-1);
        }

.demo__card__drag {
    z-index: 5;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: -webkit-grab;
    cursor: grab;
}

.demo__tip {
    text-align: center;
    font-size: 2.2rem;
}