img {
    object-fit: cover;
}

.flexrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

input[type=radio] {
    vertical-align: middle;
}

.m-0,
.mx-0,
.ml-0 {
    margin-left: 0 !important;
}

.m-0,
.mx-0,
.mr-0 {
    margin-right: 0 !important;
}

.m-0,
.my-0,
.mt-0 {
    margin-top: 0 !important;
}

.m-0,
.my-0,
.mb-0 {
    margin-bottom: 0 !important;
}

.p-0 {
    padding: 0 !important;
}

div.rt-tr {
    align-items: center;
}

span.icon-delete {
    position: absolute;
    right: 10px;
    cursor: pointer;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline {
    display: inline-block !important;
}

.categoryList .category-group {
    vertical-align: middle;
}

.categoryList .form-control {
    width: auto;
}

.categoryList .input-group,
.input-group-btn {
    display: inline-block;
}

.categoryList .tools {
    float: right;
    color: #dd4b39;
    display: none;
}

.categoryList .category-group:hover .tools {
    display: inline-block;
}

.categoryList .category-group:hover {
    background-color: #f5f5f5;
}

.categoryList .tools .fa {
    margin-right: 5px;
    cursor: pointer;
}

.customDatePickerWidth,
.customDatePickerWidth>div.react-date-picker,
.customDatePickerWidth>div>div.react-date-picker__wrapper {
    width: 100%;
}

.toggle {
    cursor: pointer;
    display: inline-block;
}

.toggle-switch {
    display: inline-block;
    background: #ccc;
    border-radius: 16px;
    width: 58px;
    height: 32px;
    position: relative;
    vertical-align: middle;
    transition: background 0.25s;
}

.toggle-switch:before,
.toggle-switch:after {
    content: "";
}

.toggle-switch:before {
    display: block;
    background: linear-gradient(to bottom, #fff 0%, #eee 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
    width: 24px;
    height: 24px;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: left 0.25s;
}

.toggle:hover .toggle-switch:before {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.toggle-checkbox:checked+.toggle-switch {
    background: #56c080;
}

.toggle-checkbox:checked+.toggle-switch:before {
    left: 30px;
}

.toggle-checkbox {
    position: absolute;
    visibility: hidden;
}

.change-pp {
    display: none;
    line-height: 138px;
    position: absolute;
    top: 10px;
    background: #00000085;
    color: #fff;
    cursor: pointer;
}

.change-pp:hover {
    display: block;
}

.can-change-pp:hover ~ .change-pp {
    display: block;
}

.box-body.box-profile.flex-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.square-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color : #494949;
    cursor: pointer;
    border: 1px solid;
    border-radius: 10px;
    transform: scale(0.9);
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    transition: transform 0.5s ease;
}

.square-box:hover {
    box-shadow: 0 0 5px 1px #888888;
    transform: scale(1);
}

.square-box span {
    font-size: 1.5em;
}

.square-box.add-box {
    background: #00000012;
    color: #adadad;
    font-size: 4em;
}