.fillIn-exercise {
    display:flex;
    flex-flow:wrap;
    justify-content: center;
    padding: 0 0 0.3em 0;
}
.fillIn-question {
    margin: 0.25em auto;
    padding: 0 5px;
}
.fillIn-question-no-column {
    margin: 0.5em auto;
    min-width:40%;
    padding: 0 5px;
    max-width:90%;
    /*flex-grow: 0.25;*/
}

.fillIn-question-no-column .fillIn-question-wrapper {
    padding: 7px 26px 14px;
}

.fillIn-exercise .col-sm-4 {
    width: 30%;
}
.fillIn-exercise .col-sm-6 {
    width: 43%;
}
.fillIn-question-wrapper {
    padding: 7px 7px 2px;
    background: rgba(246, 246, 238, 0);
    width: 100%;
    height: 100%;
    border: 7px solid rgba(237, 237, 237, 0.25);
}
.fillIn-question-wrapper p {
    margin: 0.25em 0 0 0;
}
.fillIn-phrase {
    margin: 0.35em 0
}
.fillIn-phrase .fillIn-dropdown {
    margin: -2px 4px 1px 3px;
    height: 1.6em;
    vertical-align: middle;
    padding: 0 0 0 2pt;
    background: url('/resources/web/local/images/arrow_down.svg') no-repeat right center content-box;
    -webkit-appearance: none;
    -moz-appearance : none;
}
.fillIn-phrase .fillIn-write {
    margin: 0 3px 0;
    height: 1.4em;
    line-height: 1.2;
    padding: 0 0 0 2pt;
    border: 1px solid #CECECE;
}

@-moz-document url-prefix() {
    select {padding: 0 !important;}
}


.fillIn-write-pencil-background {
    background: url('/resources/web/local/images/pencil.svg') no-repeat right center content-box;
}
.fillIn-phrase .fillIn-input {
    color: #042c35;
    background-color: rgba(247, 248, 244, 0.3);
    margin-bottom: 2px;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    -webkit-text-size-adjust: none;
    max-width: 103%;
}
.fillIn-selected {
    /* background-color: rgba(244, 245, 241, 0.6);*/
    box-shadow: 0 0 3px #4b96c6;
}
.fillIn-span-text {
    /*vertical-align: bottom;*/
    //margin: 0 1px 0 0;
}
.fillIn-play-btn, .fillIn-pause-btn {
    margin-right: 4px;
    cursor: pointer;
    /*background: rgba(224, 235, 169, 0.87);*/
    /*border-radius: 2em;*/
    /*padding: 4px 2px 3px 4px;*/
    /*width: 22px;*/
    /*height: 24px;*/
    touch-action: manipulation;
    vertical-align: middle;
}
.fillIn-pause-btn { padding: 4px 2px 3px 4px; }
/*TODO DELETE*/
.fillIn-play-btn:hover, .fillIn-pause-btn:hover {
    /*background: rgba(192, 199, 147, 0.92);*/
}
.fillIn-img{
    margin: 0 auto;
    max-height: 18em;
    max-width: 90% !important;
    border-radius: 3em;
}

.fillIn-suggestions-container {
    text-align: center;
}

.fillIn-suggestions{
    font-family: sans-serif;
    font-size: 0.95em;
    position: absolute;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.58);
    padding: 0.25em 1em;
    width: 100%;
    transition: all 0.2s ease-out 0s;
    border-bottom: 2px dashed #BCC2BA;
    border-top: 2px dashed #BCC2BA;
    bottom: -2px;
}
.fillIn-suggestions-button {
    background: rgba(245, 245, 245, 0.2);
    padding: 0.15em;
    width: 40%;
    transition: all 0.2s ease-out 0s;
    border: 2px dashed #e3e3e3;
    cursor: pointer;
    border-radius: 9px;
    display: inline-block;
    margin: 0.5em;
    z-index: 101;
    color: gray;
}

.fillIn-suggestions-button span {
    font-size: 1.3em !important;
}

.fillIn-suggestion {
    cursor: pointer;
    background: #f3f3f3;
    display: inline-block;
    padding: 0.3em 1em;
    margin: 0.35em;
    box-shadow: 0 1px 2px rgba(85, 85, 85, 0.3);
    touch-action: manipulation;
}
.fillIn-suggestion:active {
    background: rgba(208, 218, 228, 0.5) !important;
    box-shadow: 0 1px 4px rgba(85, 85, 85, 0.3) inset !important;
}


.img-col-6 {
    max-height: 15em;
}

/*20p stands for 20% width*/
.fillIn-col-sm-20p {
    position: relative;
    min-height: 1px;
    /*padding-right: 10px;*/
    /*padding-left: 10px;*/
}

@media (min-width: 768px) {
    .fillIn-col-sm-20p {
        width: 20%;
        float: left;
    }

}


/************
MEDIA QUERIES
*************/
/************ TABLET *************/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
    .fillIn-play-btn, .fillIn-pause-btn {
        /*width: 27px !important;*/
        /*height: 27px;*/
    }
}
@media (max-width: 767px) {
    .fillIn-question-no-column {
        margin: 0.25em auto;
        width: 100%;
        max-width: 100%;
    }
    .fillIn-question {
        margin: 0.25em 0.75% 0.25em 1.75%;
        display: inline-block;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .fillIn-suggestions {
        background: rgba(241, 246, 243, 0.9);
    }
    .fillIn-phrase .fillIn-write, .fillIn-phrase .fillIn-dropdown {
        margin: 0 3px 1px 4px;
    }
    .fillIn-play-btn, .fillIn-pause-btn {
        /*padding: 4px 2px 4px 4px;*/
        margin: -1px 5px 5px 0;
        /*width: 25px;*/
        /*height: 25px;*/
    }
    .fillIn-question-wrapper { padding: 0.25em ;  }
    .fillIn-question-no-column .fillIn-question-wrapper {
        padding: 0.25em ;
    }
    .fillIn-mob-col-6  {
        width: 49% !important;
        margin: 2px auto !important;
    }
    .fillIn-mob-col-12  {
        width: 99% !important;
        margin: 2px auto !important;
    }
    .fillIn-img{
        max-height: 13em;
    }

}
@media only screen and (min-device-width : 500px) and (max-device-width : 767px) {
    .fillIn-mob-col-12  {
        width: 49% !important;
        margin: 2px auto !important;
    }
}
