input.custom-inline-checkbox {
    width: 25px;
    height: 25px;
    display: inline-block;
    vertical-align: -8px;
}

.alert {
    list-style: none;
}

@media all and (min-width: 1050px) {
    .organizations-search-form input.form-control {
        width: 100%;
    }
}

.custom-search-input {
    display: inline;
    width: 72%;
}

.type-preview {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 150px;
}

.type-thumbnail {
    width: 50px;
}

#add_dates {
    position: relative;
}

#add_dates > option {
    font-weight: bold;
    margin: 5px
}

#add_dates > option:after {
    position: absolute;
    content: "X";
    right: 20px;
    cursor: pointer;
}

#add_dates > option:hover {
    background-color: #eeeeee;
}

#add_dates > option:hover:after {
    text-decoration: underline;
}

.full_width {
    width: 100% !important;
}

.half_width {
    width: 50% !important;
}

.flex-container {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.flex-container > a {
    margin-left: 5px;
    margin-top: 5px;
}

.flex-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media only screen and (max-width: 966px) {
    .flex-form > div {
        width: 100%
    }
}

/* Preloader */
.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(0,0,0,0.1);*/
}
.loader {
    position: fixed;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
#notifies {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
}

.alert {
    z-index: 9999;
}

.ajax-alert {
    display: none;
    list-style: none;
    padding: 15px;
    margin-bottom: 22px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    background-color: #f2dede;
    color: #a94442;
}

.html-preview-box {
    border: 1px solid grey;
    padding: 15px;
}


.multiselect-native-select {
    display: block;
}

.multiselect-container>li>a>label.checkbox, .multiselect-container>li>a>label.radio {
    margin: 0px;
    margin-left: 20px !important;
}

.multiselect-native-select .btn-group {
    display: block;
}

.multiselect-native-select .btn-group > .btn,
.multiselect-native-select .btn-group-vertical > .btn {
    float: none;
    width: 100%;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.multiselect-native-select .btn .caret {
    position: absolute;
    right: 4px;
    top: 16px;
}