/* CSS by Shauna Kimura */


/* main form */

section{
    text-align: center;
}

.question{
    font-size: 26pt;
    padding-bottom: 1em;
    text-align: center;
}

fieldset{
    border: none;
    padding: 0;
    margin: 0;
}

.submit input[type=image]{
    float: right;
    max-width: 12%;
    padding-top: 2em;
}

/* images */
fieldset.hide-radio{
    border: 6px solid #ccc;
    margin-top: 10%;
    padding-bottom: 4em;
    text-align: center;
}

.hide-radio input {
    position: absolute;
    left: -9999px;
}

input[type=radio]:checked + label>img, input[type=radio]:checked + label>.figure-gender>img  {
    border: 1px solid #fff;
    box-shadow: 0 0 2px 2px #090;
}

input[type=radio] + label>img, input[type=radio] + label>.figure-gender>img {
    border: 1px dashed #444;
    transition: 500ms all;
}

.hide-radio img {
    margin-left: 2em;
    margin-right: 2em;
    padding: 1em;
    width: 10%;
}

input[type=radio] {
    display: none;
}

img:hover {
    opacity:0.6;
    cursor: pointer;
}

/* slider */
.slidecontainer {
    padding: 0;
    text-align: center;
    width: 100%;
}

#counter-container {
    text-align: center;
    font-size: 30pt;
}

#counter {
    font-size: 60pt;
    text-shadow: 2px 2px #5481E6;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10em;
    background: #d3d3d3;
    border-radius: 10px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20em;
    height: 20em;
    border: 0;
    background: url('../images/fingerprint.png') center center no-repeat;
    background-size: cover;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20em;
    height: 20em;
    border: 0;
    background: url('../images/fingerprint.png') center center no-repeat;
    background-size: cover;
    cursor: pointer;
}

.messageSideImage {
    float: left;
}

.sliderImageWrap {
    max-width: 100%;
    width:100%;
}

.sliderImage {
    max-width: 100%;
    width: 19%;
    margin: 0;
}

.sliderImageTiny {
    max-width: 100%;
}

.slider-image-label-left {
    width: 20%;
    float: left;
    padding-left:0;
    text-align: left;
}

.slider-image-label-right {
    width: 20%;
    float: right;
    padding-right:0;
    text-align: right;
}

.sliderticks {
    display: flex;
    justify-content: space-between;
    padding: 0 7em;
}

/*.sliderticks {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    padding: 0 7em;*/
/*}*/

.sliderpics {
    display: flex;
    justify-content: space-between;
    padding: 0 3em;
}

.sliderticks p {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 1px;
    background: #D3D3D3;
    height: 40px;
    line-height: 120px;
    margin: 0 0 20px 0;
}

/*.sliderticks p {*/
/*    position: relative;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    text-align: center;*/
/*    width: 1px;*/
/*    background: #D3D3D3;*/
/*    height: 40px;*/
/*    line-height: 120px;*/
/*    margin: 0 0 20px 0;*/
/*}*/

.sliderpics img {
    position: relative;
    display: flex;
    width: 150px;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}

.sliderpicsgrid {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
}

.sliderpicsgrid img {
    width: 150px;
    margin-top: 20px;
}

.never-smoked-regularly {
    margin-top: 3em;
    width: 25%;
}

.lungs {
    float: left;
    width: 25%;
}

.figure-gender {
    width: 25%;
    display:inline-block;
    margin:0;
    padding:0;
}

.figure-gender img {
    width:50%;
    margin:0;
    padding:0;
}

.figure-gender figcaption {
    margin-top: 10px;
    font-size: 1.8em;
}


#allLabelContainer {
    width: 100%;
    border: thin solid black;
    height: 80px;
}

#dropZones {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#dropZone1, #dropZone2, #dropZone3 {
    border: thin solid blue;
    width: 33%;
    height: 80px;
}

#drag1, #drag2, #drag3 {
    background-color: #aaaaaa;
    padding: 10px;
    display: inline-block;
    margin: 0;
}

#lungModal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

#modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
#closeModal {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#closeModal:hover, #closeModal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.dragDropImage {
    max-width: 33%;
}

#lungsImage:hover {
    opacity: 1;
}

#dragDropContainer {
    width: 80%;
    margin: auto;
}

#spending-options {
    display: grid;
    grid-template-areas:
        'item-label-1 item-label-2 item-label-3'
        'item-price-1 item-price-2 item-price-3'
        'item-1 item-2 item-3';
}

.savings-game-image {
    max-width: 100%;
    width: 50%;
}

.item-1 {
     grid-area: item-1;
 }
.item-2 {
    grid-area: item-2;
}
.item-3 {
    grid-area: item-3;
}

.item-label-1 {
    grid-area: item-label-1;
}
.item-label-2 {
    grid-area: item-label-2;
}
.item-label-3 {
    grid-area: item-label-3;
}

.item-price-1 {
    grid-area: item-price-1;
}
.item-price-2 {
    grid-area: item-price-2;
}
.item-price-3 {
    grid-area: item-price-3;
}

.savings-game-list {
    font-size: 24pt;
    margin-left: 3em;
}

.savings-game-list li {
    margin-bottom: 1em;
    padding-left: 0.5em;
}

