.pair-exercise-text {
    display: flex;
    justify-content: center;
}

.pair-exercise-img {
    padding: 0.5em 0.25em 1em;
    display: inline-block;
    border: 7px solid rgba(237, 237, 237, 0.25);
    padding: 5px 7px;
}

.img-word-list {
    font-size: 16px;
    padding: 10px;
    display: flex;
    justify-content: center;
    float: left;
    width:100%;
}

.pair-word-btn {
    border-radius: 2px;
    padding: 6px;
    background-color: #fff;
    border: 2px solid #afafaf;
    box-shadow: 0 1px 2px rgb(221, 221, 221);
    cursor: pointer;
    transition: all 0.1s ease 0s;
    font-size: 1.15em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    touch-action: manipulation;
    line-height: 1.15em;
    margin: auto 0;
}

.drag-list img {
    cursor: pointer;
    margin: 0.5em auto;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgb(177, 177, 177);
    transition: all 0.1s ease 0s;
    touch-action: manipulation;
    width: 100%;
}
.drag-list img:active { box-shadow: 0 3px 6px rgb(146, 144, 138); }

.img-word-list > div {
    /*height: 106px;*/
    margin: 0 auto;
    padding: 0 2px;
    float:left;
    text-align: center;
    border-radius: 2px;
}

.text-word-list > div {
    /*height: 106px;*/
    margin: 5px auto;

}

.text-div-flex {
    display: flex;
    justify-content: center;
    flex-flow: column;
    min-width: 140px;
}

.leftGroup {
    text-align: right;
}

.text-word-list {
    font-size: 16px;
    padding: 15px 15px;
    text-align: center;
    margin: 5px 8px auto 4px;
    display: inline-block;
    vertical-align: top;
    line-height: 1.45em;
    border-bottom: 7px solid rgba(237, 237, 237, 0.25);
    border-top: 7px solid rgba(237, 237, 237, 0.25);
    height:100%;
    max-width: 65%;
}

.pair-img-col-5, .pair-img-col-6 {
    max-width: 100%;
    max-height: 10em;
}

.left-list {
    padding: 4px 8px;
    margin-left: 8px;
    border-left: 7px solid rgba(237, 237, 237, 0.25);
}

.right-list {
    padding: 4px 8px;
    border-right: 7px solid rgba(237, 237, 237, 0.25);
}

.img-bucket {
    background:white;
    float: left;
}

.right-list-img {
   /* margin-top: -10px;*/
    padding-top:2.5em;

}

.pair-obj{
    max-height:275px;
    max-width: 90%;
}
.pair-obj-div{
    width:100%;
    text-align: center;
    margin: 0.25em 0;
}

.pair-answer-text {
    position: absolute;
    color: firebrick;
    opacity: 0;
    transition: opacity 0.9s ease-in-out 0.1s;
}

/************ only hover if not phone *************/
@media only screen and (min-device-width : 768px)  {
    .left-list-img > div:hover {
        background: #cacaca !important;
    }

   .pair-word-btn:hover {
        /*   margin-top: calc(0px - 1px);
           box-shadow: 0 3px 6px rgb(177, 177, 177);*/
        /*border: 2px solid #cacaca !important;*/
       opacity: 0.82;
    }

    .left-list .pair-word-btn:hover  {

        border: 2px dotted #70b39a;
    }
}

/************
MEDIA QUERIES
*************/

/************ TABLET *************/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .text-word-list .pair-word-btn {
        font-size: 1.3em !important;
    }
}

/************ mobile *************/
@media (max-width: 767px) {

    .img-word-list {
        width: 48%;
        margin: 5px -2px 0 1.5%;
        padding: 10px 1.5%;
        display: inline-block;
    }

    .img-word-list > div {
        float: none;
        padding:  0 ;
        width: 98%;
        margin: 0 auto;
    }

    .right-list-img  > div{
        width: 98%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .left-list-img > div {
        width: 70%;
        display: inline-block;
        text-align: center;
    }

    .pair-exercise-img { width: 100%; }

    .pair-word-btn { padding: 4px; }

    .text-word-list {
        width: 49%;
        height: 100%;
        margin: 5px 2px auto 4px;
    }

    .drag-list img {
        margin: 0.15em auto;
        height:94%;
        width:auto;
    }

    .left-list { margin-left: 2px; }

    .pair-answer-text { margin: 3.15em 0 0 0.2em; }

}