.imageHandlingWrapper {
    position: relative;
    text-align: center;
}
.imageHandlingWrapper > div {
    max-width: 400px;
    display: inline-block;
    width: 100%;
}
.imageHandlingWrapper h3 {
    float: left;
    width: 100%;
}
.imageHandlingWrapper .imageOptions .ImgPosOptionButton {
    float: left;
    width: 31%;
    margin: 1.15%;
    text-align: center;
}
.imageHandlingWrapper .done-button {
    float: left;
    width: 100%;
}
.imageHandlingWrapper .btnContainer {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    width: 100%;
}
.imageHandlingWrapper .direction-button {
    width: 140px;
    height: auto;
    padding: 10%;
}

.ui-image-feditor {
    text-align: center;
}
.ui-image-feditor .canvas-container {
    display: inline-block;
}

.data-grid-image {
    background-size: contain !important;
}

/* field touch script */

.textfield-edit-touch .modal-dialog {
    display: inline;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    margin: 0 !important;
}

@media screen and (min-width: 1000px) {
    .textfield-edit-touch .modal-dialog {
        width: 50%;
        max-height: initial;
        height: initial;
    }
}

.textfield-edit-touch .modal-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: none;
    overflow-y: auto;
}

.textfield-edit-touch .modal-content {
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 100%;
    min-height: 100%;
    max-width: 100%;
    margin: 0;
    background: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.textfield-edit-touch .text-alignment-container {
    width: 80%;
}

@media screen and (max-width: 767px) {
    .textfield-edit-touch .text-alignment-container {
        width: 10rem;
    }
}

.textfield-edit-touch .text-vertical-alignment-container {
    width: 80%;
}

@media screen and (max-width: 767px) {
    .textfield-edit-touch .text-vertical-alignment-container {
        width: 10rem;
    }
}

.textfield-edit-touch .vertical-align-container {
    margin-right: 30%;
}

.textfield-edit-touch .text-options-container {
    margin-right: 50%;
}

.textfield-edit-touch .vertical-align-buttons .vertical-top i {
    transform: rotate(180deg);
    margin-top: -10px;
}

.textfield-edit-touch .vertical-align-buttons .vertical-bottom i {
    margin-top: 10px;
}

.textfield-edit-touch .modal-footer {
    border-radius: 0;
}

.textfield-edit-touch .textfield-edit-textarea {
    width: 100%;
}
