
/*Images*/
.background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.aspect-locked {
    width: 100%; height: 0; padding-bottom: 56.25%;
}

/*Buttons*/
.btn-sharp {
    /*Additional class to remove border-radius
    from the Bootstrap buttons*/
    /*font-size: 0.8em;*/
    /*font-weight: bold;*/
    /*border-radius: 0;*/
}
.btn-sharp,
.border-radius-0 {
    border-radius: 0;
}

.su-feature {
    /* Intended to be used to denote Super Admin features in the Admin panel */
    color: #b95050 !important;
}

.disabled-feature {
    display:none!important;
}

.no-underline {
    text-decoration: none;
}

.img-preview {
    background-image: url('/images/resources/transparent_checker.png');
    padding: 16px;
}

.flex-center-contents-col {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.flex-center-contents-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.absolute-top {
    position: relative !important;
    z-index: 1030;
}

@media (min-width: 768px) {
    .absolute-top {
        position: absolute !important;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1030;
    }
}

/*TODO Add to git?*/

.indent-x0 {
    padding-left: 0;
}

.indent-x1 {
    padding-left: .5rem;
}

.indent-x2 {
    padding-left: 1rem;
}

.indent-x3 {
    padding-left: 1.5rem;
}

.indent-x4 {
    padding-left: 2rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(18px);
    -ms-transform: translateX(18px);
    transform: translateX(18px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 12px;
}

.slider.round:before {
    border-radius: 50%;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}