.buttonSmall {
    width: auto;
    height: 18px;
    border: 1px solid #0000a0;
    color: #0000a0;
    background-color: #FFFFFF;
    font-size: 11px !important;
    font-weight: bolder;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
    /*padding-top: 1px;*/
    padding-bottom: 2px;
    cursor: pointer;
}

.buttonSmall:hover {
    color: #FFFFFF;
    background-color: #0000a0;
}

button[type="submit"].buttonMedium {
    height: 22px;
}
.buttonMedium {
    width: auto;
    /* height: 22px; */
    border: 1px solid #0000a0;
    color: #FFFFFF;
    background-color: #0000a0;
    font-size: 13px !important;
    font-weight: bolder;
    text-align: center;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    cursor: pointer;
}

.buttonMedium:hover {
    color: #0000a0;
    background-color: #FFFFFF;
}

.error-message {
    display: none;
    color: #FF0000;
    border: 1px solid #FF0000;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 60%;
    margin-top: 50px !important;
    text-align: center;
}

.buttonMedium > img {
    max-height: 23px;
    margin-bottom: -7px;
    margin-left: -8px;
}


button.delete {
    border: solid 1px rgb(167, 0, 0);
    background-color: rgb(167, 0, 0);
    color: #FFF;
    transition: 1s;
}
button.delete:hover {
    background-color: rgb(255, 0, 0);
    transform: scale(1.1);

}
button.yellow {
    border: solid 1px #0303e052;
    background-color: #0000a0;
    color: #FFF;
}
button.yellow:hover {
    background-color: #0000a04f;
}


label {
    vertical-align: inherit !important;
}
span {
    color: #0000a0;
}

.sortable {
    white-space: nowrap;
    cursor: pointer;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    display: none;
}

#overlay_upload {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    display: none;
}

#uploadComponent {
    display: inherit;
    max-width: 95%;
    position: relative;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 20px;
    border-bottom: 1px solid white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.7);
    display: none;
}

.loader {
    max-width: 48px; max-height: 48px; top: 0; left:0; right: 0; bottom: 0; margin: auto; position: absolute;
}

.plupload_content {
    display: none;
}

.img-rmv{
    cursor: pointer;
}

.img_select_header {
    font-family: 'MarsMedium', Verdana, arial, sans-serif !important;
    font: normal 18px sans-serif;
    padding: 5px 5px 5px;
    display: inherit;
    box-sizing: content-box;
    color: #FFF;
    cursor: pointer;
}

.img_header {
    background-color: #0000a0;
    height: 31px;
    max-width: 95%;
     position: relative;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.plupload_header {
    cursor: pointer;
}
.plupload_header_title {
    font-family: 'MarsMedium', Verdana, arial, sans-serif !important;
    font: normal 18px sans-serif;
}

#img-search-control{
    display: none;
    max-width: calc(95% - 2px);
    position: relative;
    margin-top: -1px;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid #0000a0;
    min-height: 250px;
    background-color: rgb(245, 245, 245);
    max-height: calc(80% - 2px);
    overflow-y: auto;
    overflow-x: hidden;
}

.img-res-set {
    display: block;
    border: 1px solid #0000a0;
    padding: 5px;
    width: 200px;
    max-width: 200px;
    height: 120px;
    max-height: 120px;
    overflow: hidden;
    box-shadow: 3px 3px 5px 0px #aaa;
    margin-bottom: 6px;
}

.img-res-set.selected {
    background-color: #E6FFCC;
}

.img-res-set span {
    /*margin-left: 5px;*/
    font-size: smaller;
    word-break: break-word;
}

.img-res-set img {
    max-width: 80px;
    max-height: 80px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
    box-shadow: 1px 1px 5px 0px #aaa;
}

.img-res-set img:hover {
    position: absolute;
    max-height: 200px;
    max-width: 200px;
    z-index: 500;
}

#img-search-result {
    width: 100%;
    /*overflow-y: auto;
    max-height: 400px;    */
}
#img-search-result table {
    margin-left: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

#img-search-search {
    padding: 5px;
    padding-top: 10px;
    color: #0000a0;
    font-size: small;
}

#img-search-selected, #img-search-result {
    padding: 5px;
    color: #0000a0;
    font-size: small;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#img-result-table .img-res-set {
    cursor: pointer;
}

#selected-images, #available-images {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 10px;
    -webkit-margin-start: 10px;
    -moz-margin-start: 10px;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    padding-left: 0px;
}

#available-images li, #selected-images li {
    margin-right: 5px;
}

#selected-preview td {
    padding-left: 3px;
    padding-right: 3px;
}

#selected-preview img {
    max-height: 40px;
    max-width: 40px;
}

#imgLeft, #imgRight {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}
