img {
    max-width: 100%;
}

.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    display: table;
    background: #000000ba;
    z-index: 99999;
}

.loader .sk-wave {
    vertical-align: middle;
    display: table-cell;
}

.sk-wave .sk-rect {
    height: 50px !important;
}

.wizard>.content>.body input.error {
    background: transparent;
    border: 1px solid #f1556c;
    color: #f1556c;
}

.wizard>.steps .error a,
.wizard>.steps .error a:active,
.wizard>.steps .error a:hover {
    background: #f1556c;
    color: #fff;
    border-color: #fff;
}

.insert_variables {
    padding: 0;
}

.insert_variables li a {
    display: block;
    background: #1f72aa;
    color: #fff;
    padding: 2px 5px;
    text-decoration: none;
    font-size: 12px;
}

.insert_variables li {
    display: inline-block;
    margin-bottom: 2px;
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.logo img {
    max-height: 55px;
    /* background: #fff; */
    padding: 0 10px;
}


/*.inline-group {
  max-width: 9rem;
  padding: .5rem;
}

.inline-group .form-control {
  text-align: right;
}

.form-control[type="number"]::-webkit-inner-spin-button,
.form-control[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}*/

.footer {
    position: fixed;
}

.dropdown-toggle[role="iconpicker"]::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .255em;
    vertical-align: .255em;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom: 0;
    border-left: .3em solid transparent;
}

.ck.ck-editor * {
    color: #313a46;
}

.ck-editor__editable_inline {
    min-height: 400px !important;
}

#media-modal-btn {
    width: 100%;
    min-height: 150px;
    padding: 0;
    color: #999;
    /* background: #2a2d38; */
}

.icon-slector-media-modal-btn {
    width: 100px;
    min-height: 100px;
    padding: 10px;
    color: #999;
    /* background: #2a2d38; */
}

#media-modal-btn img {
    width: 100%;
    display: block;
}

.dropzone {
    height: 65vh;
    overflow: scroll;
}

#all-media {
    border: 2px solid rgb(142, 145, 152);
    background: #313a46;
    padding: 20px 20px;
    border-radius: 6px;
    height: 65vh;
    overflow: auto;
}

.uploaded-media {
    padding: 0;
    list-style: none;
}

.uploaded-media li {
    display: inline-block;
    vertical-align: top;
    margin: 16px;
    /* min-height: 100px; */
    border-radius: 20px;
    /* overflow: hidden; */
    width: 120px;
    height: 120px;
    position: relative;
}

.file_preview {
    border-radius: 20px;
    overflow: hidden;
    z-index: 99;
    position: relative;
    height: 100%;
    display: flex;
}

.file_name {
    position: relative;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.uploaded-media img {
    display: block;
    max-width: 100%;
    flex-grow: 1;
}

.uploaded-media li:hover img {
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    -webkit-filter: blur(8px);
    filter: blur(8px);
    cursor: pointer;
}

.uploaded-media .file_name span {
    z-index: 20;
    position: absolute;
    top: calc(50% - 12px);
    left: 5%;
    font-size: 14px;
    width: 90%;
    text-align: center;
    color: rgba(0, 0, 0, 0.9);
    background-color: rgba(255, 255, 255, 0.4);
    padding: 0 0.4em;
    border-radius: 3px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.uploaded-media li:hover .file_name span {
    width: unset;
    overflow: visible;
    text-overflow: unset;
    background-color: rgb(255, 255, 255);
    border: 1px solid #0e0e0ea3;
}

.uploaded-media li:hover {
    z-index: 999;
}

ul.swal-err {
    padding: 0;
    margin: 0;
    color: #f27474;
    list-style: none;
    line-height: 24px;
    text-align: left;
    display: inline-block;
}

ul.swal-err li ::before {
    content: "\F733";
    font-family: "Material Design Icons";
    display: inline-block;
    margin-right: 3px;
}

ul.swal-err li b {
    font-weight: bold;
    text-transform: capitalize;
}

#swal2-title {
    text-transform: capitalize;
}

.card-header-button {
    float: right;
    color: #262832 !important;
    background: #02cea3;
    padding: 8px 10px;
    position: relative;
    top: -15px;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

#files-table * {
    vertical-align: middle;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

td,
th {
    vertical-align: middle !important;
}

#project_form .table thead th:last-child,
#project_form .table tbody td:last-child {
    text-align: right;
    width: 70px;
}