/* Individual drag and drop items */
.dragPile {
	position: absolute;
	top: 20px;
	text-align: center;
}

.dragPile span {
	font-size: 14px;
	position: absolute;
	text-align: center;
	z-index: 1;
	cursor: move;
	width: 80px;
    height: 45px;
    padding-top: 8px;
    padding-bottom: 0px;
    background-image:url('../images/grey_circle.png');
    background-position: center;
    background-repeat: no-repeat;
    color: #686884;
    font-size: 21px;
    position: absolute;
    
}

.dropPile {
	position: absolute;
	top: 110px;
	left: 20px;
}

.dropPile div {
	line-height: 36px;
    align-content: center;
    vertical-align: middle;
	padding: 0px;
	font-size: 14px;
	color: #000000;
	text-align: center;
	position: absolute;
}

.dropPile div span {
    position: absolute;
/*	font-size: 110%;*/
    text-align: center;
    width: 115px;
}

.dropPile div p {
	top: 20px;
	left: 20px;
	position: absolute;
	z-index: 1;
}


.wrongAnswer {
    background-color: #ffb5b5;
    animation: fadeout 2s forwards;
    animation-delay: 2s;
    -moz-animation: fadeout 2s forwards;
    -moz-animation-delay: 2s;
    -webkit-animation: fadeout 2s forwards;
    -webkit-animation-delay: 2s;
    -o-animation: fadeout 2s forwards;
    -o-animation-delay: 2s;
}

@keyframes fadeout {
    to {
        background-color: #ffb5b5;
    }

}
@-moz-keyframes fadeout {
    to {
        background-color: #ffffff;
    }
}
@-webkit-keyframes fadeout {
    to {
        background-color: #ffffff;
    }
}
@-o-keyframes fadeout {
    to {
        background-color: #ffffff;
    }
}

.wrongText, .wrongMark {
	font-family: sans-serif;
	font-weight: bold;
}

.wrongText {
	font-size: 14px;
	margin-left: 7px;
}

.wrongMark {
	color: red;
	font-size: 22px;
	margin-left: -30px;
}

/* drop target state */
[data-draggable="target"][aria-dropeffect="move"]
{
	border-color:#005770;
}

/* drop target focus and dragover state */
[data-draggable="target"][aria-dropeffect="move"]:focus,
[data-draggable="target"][aria-dropeffect="move"].dragover
{
	outline:none;
	
	box-shadow:0 0 0 1px #fff, 0 0 0 3px #005770;
}

/* draggable items */
[data-draggable="item"]
{
	display:block;
	list-style-type:none;
	
	margin:0 0 2px 0;
	padding:0.2em 0.4em;
	
	border-radius:0.2em;
	
	line-height:1.3;
}

/* items focus state */
[data-draggable="item"]:focus
{
	outline:none;
	
	box-shadow:0 0 0 2px #005770, inset 0 0 0 1px #ddd;
}

/* items grabbed state */
[data-draggable="item"][aria-grabbed="true"]
{
	background:#8ad;
	color:#fff;
}

[aria-grabbed="true"]
{
	box-shadow:0 0 0 2px red, inset 0 0 0 1px red;
}

.disableUserSelect {
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

.helpContainer {
	position: absolute;
	left: 0;
	top: 0;
	width: 898px;
	height: 498px;
	border: 1px solid black;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position:relative; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	top: 50%;
	transform: translateY(-50%);
    position: relative;
    background-color: #FFFFFF;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 550px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation: animatetop 0.4s;
    -moz-animation: animatetop 0.4s;
    -webkit-animation: animatetop 0.4s;
    -o-animation: animatetop 0.4s;
    -ms-animation: animatetop 0.4s;
}

/* Add Animation */
@-moz-keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1}}
@-webkit-keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1}}
@-ms-keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1}}
@-o-keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1}}
@keyframes animatetop { from {top:-300px; opacity:0} to {top:0; opacity:1}}

/* The Close Button */
.close {
    color: #FFFFFF;
	background-color: #007FA3;
    float: right;
	padding-top: 10px;
    font-size: 28px;
    font-weight: bold;
	opacity: 1;
}

.close:hover,
.close:focus {
    color: #FFF;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: #007FA3;
}

.modal-header h3 {
    color: #FFFFFF;
    background-color: #007FA3;
	margin-top: 10px;
}

.modal-body {
	padding: 2px 16px;
	line-height: 160%;
	background-color: #FFF;
}

.modal-body p {
	color: #000;
}

.helpButton{
	width: 34px !important;
}

/* Checkmark animations */

@-webkit-keyframes checkmark {
    0% {
        stroke-dashoffset: 50px
    }

    100% {
        stroke-dashoffset: 0
    }
}

@-ms-keyframes checkmark {
    0% {
        stroke-dashoffset: 50px
    }

    100% {
        stroke-dashoffset: 0
    }
}

@keyframes checkmark {
    0% {
        stroke-dashoffset: 50px
    }

    100% {
        stroke-dashoffset: 0
    }
}

@-webkit-keyframes checkmark-circle {
    0% {
        stroke-dashoffset: 240px
    }

    100% {
        stroke-dashoffset: 480px
    }
}

@-ms-keyframes checkmark-circle {
    0% {
        stroke-dashoffset: 240px
    }

    100% {
        stroke-dashoffset: 480px
    }
}

@keyframes checkmark-circle {
    0% {
        stroke-dashoffset: 240px
    }

    100% {
        stroke-dashoffset: 480px
    }
}

.icon--order-success svg path {
    -webkit-animation: checkmark 0.25s ease-in-out 0.7s backwards;
    animation: checkmark 0.25s ease-in-out 0.7s backwards
}

.icon--order-success svg circle {
    -webkit-animation: checkmark-circle 0.6s ease-in-out backwards;
    animation: checkmark-circle 0.6s ease-in-out backwards
}

.fadeoutdraggable {
    animation: fadeoutanimation 2s forwards;
    -moz-animation: fadeoutanimation 2s forwards;
    -webkit-animation: fadeoutanimation 2s forwards;
    -o-animation: fadeoutanimation 2s forwards;
    -ms-animation: fadeoutanimation 2s forwards;
}

.fadeoutsvg {
    animation: fadeoutanimation 2s forwards;
    animation-delay: 1.5s;
    -moz-animation: fadeoutanimation 2s forwards;
    -moz-animation-delay: 1.5s;
    -webkit-animation: fadeoutanimation 2s forwards;
    -webkit-animation-delay: 1.5s;
    -o-animation: fadeoutanimation 2s forwards;
    -o-animation-delay: 1.5s;
    -ms-animation: fadeoutanimation 2s forwards;
    -ms-animation-delay: 1.5s;
}

.fadein-answer {
    animation: fadeinanimation 2s backwards;
    animation-delay: 1.5s;
    -moz-animation: fadeinanimation 2s backwards;
    -moz-animation-delay: 1.5s;
    -webkit-animation: fadeinanimation 2s backwards;
    -webkit-animation-delay: 1.5s;
    -o-animation: fadeinanimation 2s backwards;
    -o-animation-delay: 1.5s;
    -ms-animation: fadeinanimation 2s backwards;
    -ms-animation-delay: 1.5s;
}
@-moz-keyframes fadeoutanimation { 0% { opacity: 1; }  100% { opacity: 0; display:none; }} 
@-webkit-keyframes fadeoutanimation { 0% { opacity: 1; }  100% { opacity: 0; display:none; }} 
@-ms-keyframes fadeoutanimation { 0% { opacity: 1; } 100% { opacity: 0; display:none; }} 
@-o-keyframes fadeoutanimation { 0% { opacity: 1; } 100% { opacity: 0; display:none; }} 
@keyframes fadeoutanimation { 0% { opacity: 1; } 100% { opacity: 0; display:none;  }}

@-moz-keyframes fadeinanimation { 0% { opacity: 0; visibility: hidden; }  100% { opacity: 1; visibility: visible; }} 
@-webkit-keyframes fadeinanimation { 0% { opacity: 0; visibility: hidden; }  100% { opacity: 1; visibility: visible; }} 
@-ms-keyframes fadeinanimation { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }} 
@-o-keyframes fadeinanimation { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }} 
@keyframes fadeinanimation { 0% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; }} 
