﻿/* help block and validation feedback texts*/
.help-block {
    color: #909090;
}

/* on feedback error */
.help-block, .invalid-feedback, .valid-feedback {
    font-size: 0.6875rem;
    margin-top: 0.325rem;
}


/* list spaced */
.list-spaced li {
    margin-top: 7px;
    margin-bottom: 7px;
}

    .list-spaced li:first-child {
        margin-top: 0;
    }

    .list-spaced li:last-child {
        margin-bottom: 0;
    }

.list-spaced > li {
    padding: 0 0 0.2rem;
}

/* profile images */
.profile-image {
    width: 3.125rem;
    height: 3.125rem;
}

.profile-image-md {
    width: 2rem;
    height: 2rem;
}

.profile-image-sm {
    width: 1.5625rem;
    height: 1.5625rem;
}

/* image share */
.img-share {
    width: auto;
    height: 2.8125rem;
}

span.img-share {
    width: 4.12594rem;
    height: 2.8125rem;
}

.notes {
    padding: 5px;
    background: #f9f4b5;
}

/*
.shadow-2 {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.shadow-3 {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.shadow-4 {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.shadow-5 {
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}*/
/* disclaimer class */
.disclaimer {
    padding-right: 10px;
    font-size: 0.5rem;
    color: #a2a2a2;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-style: italic;
}

/* horizontal scrolling */
.scrolling-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

    .scrolling-wrapper .card {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .scrolling-wrapper::-webkit-scrollbar {
        display: none;
    }

/* online status */
.status {
    position: relative;
}

    .status:before {
        content: " ";
        position: absolute;
        width: 15px;
        height: 15px;
        display: block;
        top: -2px;
        left: -2px;
        background: #505050;
        border-radius: 50%;
        border: 2px solid #fff;
    }

    .status.status-sm:before {
        width: 10px;
        height: 10px;
        border-width: 1px;
        top: 0;
        left: 0;
    }

    .status.status-success:before {
        background: #1dc9b7;
    }

    .status.status-danger:before {
        background: #fd3995;
    }

    .status.status-warning:before {
        background: #ffc241;
    }

/* containers */
.container.container-sm {
    max-width: 576px;
}

.container.container-md {
    max-width: 768px;
}

.container.container-lg {
    max-width: 992px;
}

/* responsive visibility */
/* https://getbootstrap.com/docs/3.4/css/#responsive-utilities */
.hidden-xs-up {
    display: none !important;
}

@media (max-width: 575.98px) {
    .hidden-xs-down {
        display: none !important;
    }
}

@media (min-width: 576px) {
    .hidden-sm-up {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .hidden-sm-down {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .hidden-md-up {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .hidden-md-down {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .hidden-lg-up {
        display: none !important;
    }
}

@media (max-width: 1398.98px) {
    .hidden-lg-down {
        display: none !important;
    }
}

@media (min-width: 1399px) {
    .hidden-xl-up {
        display: none !important;
    }
}

.hidden-xl-down {
    display: none !important;
}

.custom-range {
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .custom-range::-moz-range-thumb {
        -moz-appearance: none;
    }

    .custom-range::-webkit-slider-thumb {
        -webkit-appearance: none;
    }

/* add background to focused inpur prepend and append */
.form-control:focus ~ .input-group-prepend {
    background: #886ab5;
}

.has-length .input-group-text {
    border-color: #886ab5;
}

    .has-length .input-group-text + .input-group-text {
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .has-length .input-group-text:not([class^="bg-"]):not([class*=" bg-"]) {
        background: #886ab5;
        color: #fff !important;
    }

.input-group-text {
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

/* input group animation for multiple inputs */
.input-group.input-group-multi-transition input[type="text"] {
    -webkit-transition: width 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
    transition: width 470ms cubic-bezier(0.34, 1.25, 0.3, 1);
}

    .input-group.input-group-multi-transition input[type="text"]:focus {
        width: 50%;
    }

/* BS form hack for checkbox tick mark */
.custom-checkbox .custom-control-label::after {
    background-size: 50% 50%;
}

/* circle checkbox */
.custom-checkbox-circle .custom-control-label:before {
    border-radius: 50%;
}

/* rounded radio */
.custom-radio-rounded .custom-control-label:before {
    border-radius: 4px;
}

/* not sure if we need this? */
/*.custom-control {
	min-height: $custom-control-indicator-size;
}*/
/* make checked label bold */
input[type="radio"]:checked + .custom-control-label,
input[type="checkbox"]:checked + .custom-control-label {
    font-weight: 500;
}

/* help block and validation feedback texts*/
.help-block {
    color: #909090;
}

/* on feedback error */
.help-block, .invalid-feedback, .valid-feedback {
    font-size: 0.6875rem;
    margin-top: 0.325rem;
}

/* when form group is last child show now margin */
.form-group:last-child,
.form-group:only-child {
    margin-bottom: 0;
}

/* fix alignment for generic checkbox and radio */
.form-check-input {
    margin-top: 0;
}

.form-check-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.form-check {
    margin: 5px 0;
}

