/* Prevent the text contents of draggable elements from being selectable. */

[draggable],
.draggable {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Required to make elements draggable in old WebKit */
    -khtml-user-drag: element;
    -webkit-user-drag: element;
    -ms-touch-action: none;
    touch-action: none;
}

.drag-drop-items {
    width: 100%;
    max-width: 800px;
    margin: 1em auto;
    /*display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;*/
}

.draggable-items {
    position: relative;
    z-index: 2;
}

.drag-drop-item {
    width: 30.83%;
    height: 0;
    padding-bottom: 30.83%;
    border-radius: 4px;
    position: relative;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    float: left;
    margin: 0 1.25%;
}

.drag-item {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 2px solid #fff;
    z-index: 2;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}

.drag-item div {
    position: relative;
    height: 100%;
    width: 100%;
}

.drop-item div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 1em;
    line-height: 1.2em;
}

.drop-item div p {
    line-height: 1.2em;
    margin: 0;
    padding: 0;
}

.drag-item div span {
    line-height: 1.2em;
}

@media screen and (max-width: 640px) {

    .drop-item div,
    .drag-item div span {
        font-size: 0.825em;
    }
}

@media screen and (max-width: 480px) {

    .drop-item div,
    .drag-item div span {
        font-size: 0.75em;
    }

    .drop-item div span {
        display: block;
    }
}

@media screen and (max-width: 360px) {

    .drop-item div,
    .drag-item div span {
        font-size: 0.65em;
    }
}

.drop-zone .drop-highlight {
    -webkit-transform: scale(1.25);
    -ms-transform: scale(1.25);
    transform: scale(1.25);
}

.drop-zone {
    position: relative;
    z-index: 2;
}

.drop-item {
    z-index: 1;
    border: 1px dashed #bdc3c7;
    overflow: hidden;
}

/*
.drag-item div {
  padding: 1em;
}
.drag-item div span {
    padding: 0.25em;
    background: rgba(90,51,88,0.95);
}
.drag-item div span:before {
    content: attr(data-content);
    display: flex;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    color:#fff;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 3;
}*/

.groupComplete .drop-zone {
    z-index: 2;
}
.drop-item.correct div, 
.drop-item.incorrect div {
    display: none;
}


.drag-drop-zone .incorrect:before,
.drag-drop-zone .correct:before {
    font-family: 'icons';
    position: absolute;
    z-index: 99;
    font-size: 4em;
    line-height: 1em;
    top: 50%;
    left: 50%;
    margin: -0.5625em 0 0 -0.5625em;
    color: #fff;
    border-radius: 100%;
    padding: 0.125em;
}

.drag-drop-zone .incorrect:before {
    content: "\e5cd";
    background: #e74c3c;
}

.drag-drop-zone .correct:before {
    content: "\e90b";
    background: #2ecc71;
}

.drag-drop-zone {
    padding: 1em 0;
    border-bottom: 1px solid #f2f2f2;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
    position: relative;
}

@media screen and (max-width: 640px) {
    .drag-drop-zone .incorrect:before,
    .drag-drop-zone .correct:before {
        font-size: 3em;
    }
}

@media screen and (max-width: 480px) {
    .drag-drop-zone .incorrect:before,
    .drag-drop-zone .correct:before {
        font-size: 2em;
    }
}

section.active_area {
    background: rgba(90, 51, 88, 0.1);
}

.drag-drop-zone:last-child {
    margin-bottom: 1em;
}

.dropped_item {
    border: 2px solid #5a3358;
}

.group1 .drag-item div,
.group2 .drag-item div,
.group3 .drag-item div,
.group4 .drag-item div,
.group5 .drag-item div {
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
}

.group1 #drag-item-1 .drag-item div {
    background-image: url(../content/12/dragdrop/Fuller-Center.jpg);
}
.group1 #drag-item-2 .drag-item div {
    background-image: url(../content/12/dragdrop/Kairos.jpg);
}
.group1 #drag-item-3 .drag-item div {
    background-image: url(../content/12/dragdrop/Retreat.jpg);
}


.group2 #drag-item-1 .drag-item div {
    background-image: url(../content/12/dragdrop/LiftOWeen.jpg);
}
.group2 #drag-item-2 .drag-item div {
    background-image: url(../content/12/dragdrop/Get-Moving.jpg);
}
.group2 #drag-item-3 .drag-item div {
    background-image: url(../content/12/dragdrop/Service-Trips.jpg);
}

.group3 #drag-item-1 .drag-item div {
    background-image: url(../content/12/dragdrop/Journey-of-Hope.jpg);
}
.group3 #drag-item-2 .drag-item div {
    background-image: url(../content/12/dragdrop/Baskets.jpg);
}
.group3 #drag-item-3 .drag-item div {
    background-image: url(../content/12/dragdrop/Relay.jpg);
}



button.reset-items,
.showMatchResult button.reset-items {
    display: none;
    background: #6F2C3E;
    border: 1px solid #6F2C3E;
    color: #fff;
    font-family: "adriannabold", sans-serif;
    font-size: .6875rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.55px;
    cursor: pointer;
    padding: 0.5em 1em;
    line-height: 1em;
    border-radius: 2px;
    margin: 0 auto;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    -webkit-box-shadow: none;
            box-shadow: none;
            line-height: 1;
}
button.reset-items:hover,
.showMatchResult button.reset-items:hover {
    color: #6F2C3E;
    background: transparent;
}
.groupComplete button.reset-items {
    display: table;
}
.showMatchResult.groupComplete button.reset-items {
    display: none;
}
.drag-drop-zone:after,
.drag-drop-items:after {
    content: '';
    display: table;
    clear: both;
}

.match_result {
    position: absolute;
    top: 5%;
    left: 5%;
    height: 90%;
    width: 90%;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transition: all .75s cubic-bezier(0.175, 0.885, 0.32, 1.075);
    -o-transition: all .75s cubic-bezier(0.175, 0.885, 0.32, 1.075);
    transition: all .75s cubic-bezier(0.175, 0.885, 0.32, 1.075);
}
.showMatchResult .match_result {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}
.match_result_content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 4px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.match_result_header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
            -webkit-box-pack: end;
                -ms-flex-pack: end;
                    justify-content: flex-end;
}
.match_result_result{
    text-align: left;
    padding: 0 1rem 1rem;
}
.match_result_result h4 {
    margin: 0;
    padding-bottom: 0.5rem;
    font-family: 'colusregular';
    letter-spacing: -0.3px;
    color: #6F2C3E;
    font-size: 1.25rem;
    position: relative;
}
.match_result_result h4:after {
    content: '';
    height: 2px;
    width: 3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #F0AB00;
}
.match_result_result p {
    margin: 0.5rem 0 0 0;
}
.drag-drop-zone .match_result h2 {
    margin: 0;
    line-height: 1;
}
button.close_match_result {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
            border: none;
            background: transparent;
            margin: 0;
            padding: 0.5rem;
            font-size: 1.5rem;
            line-height: 1;
            color: #63666a;
            cursor: pointer;
}
button.close_match_result:after {
    font-family: 'icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e5cd"
}
@media screen and (max-width:639px){
    .match_result_result h4 {
        font-size: 1.125rem;
    }
    .match_result_result p {
        font-size: 0.925rem;
    }
}