/* NEW LOADER */

.loading .circle-wrap,
.loading .progress-wrap {
    display: block;
}

/* RELOAD CONTAINER */
.reloadContainer {
    position: relative;
}

.map-container {
    width: 100%;
    height: 300px;
    position: relative;
}

.map-venue-container {
    width: 100%;
    height: 600px;
    position: relative;
}

.map-element {
    width: 100%;
    height: 100%;
}

#venues-map {
    height: 100%;
  }

.pac-container {
    z-index: 9999;
}

/*.input-group> .form-control.is-invalid+.input-group-append:not(:last-child)>.btn, 
.input-group.is-invalid-group> .input-group-append:not(:last-child)> .input-group-text {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}*/

.progress-bar.bg-primary {
    background-color: #B82224!important;
}

.circle-wrap,
.progress-wrap {
    display: none;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    background-color: rgba(255,255,255,.6);
    width: 100%;
    height: 100%;
}

.progress-wrap .progress-container {
    width: 50%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.progress-wrap .progress-container .progress {
    height: 30px;
}

.progress-wrap .progress-container .progress-text {
    text-align: center;
    color: #333333;
    font-size: 1rem;
    margin-top: .5rem;
}

.circle-wrap .circle {
    width: 40px;
    height: 40px;
    position: relative;
    left: 50%;
    top: 50%;
    margin-left: -20px;
    margin-top: -20px;
}

.circle-wrap.circle-wrap-mini .circle {
    width: 26px;
    height: 26px;
    margin-left: -13px;
    margin-top: -13px;
}

.circle-wrap .preloader-spinner {
    position: absolute;
    width: 46px;
    height: 46px;
    left: -3px;
    top: -3px;
    border: solid 1px transparent;
    border-top-color: #26456d;
    border-left-color: #26456d;
    border-radius: 50%;
    -webkit-animation: loading-spinner .4s linear infinite;
    animation: loading-spinner .4s linear infinite;
    -webkit-animation: loading-spinner .4s linear infinite;
    animation: loading-spinner .4s linear infinite;
}
.circle-wrap.circle-wrap-mini .preloader-spinner {
    width: 31px;
    height: 31px;
}

.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
  width: 40px;
  height: 40px;
  position: absolute;
  border-radius: 50%;
}

.circle-wrap.circle-wrap-mini .circle .mask,
.circle-wrap.circle-wrap-mini .circle .fill {
    width: 26px;
    height: 26px;
}

.circle-wrap .circle .mask {
  clip: rect(0px, 40px, 40px, 20px);
}

.circle-wrap.circle-wrap-mini .circle .mask {
  clip: rect(0px, 26px, 26px, 13px);
}


.circle-wrap .circle .mask .fill {
  clip: rect(0px, 20px, 40px, 0px);
  background-color: #cca512;
}

.circle-wrap.circle-wrap-mini .circle .mask .fill {
  clip: rect(0px, 13px, 26px, 0px);
  background-color: #cca512;
}

.circle-wrap .circle .mask.full,
.circle-wrap .circle .fill {
 
  /*transform: rotate(126deg);*/
}

.circle-wrap .inside-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%; 
    background: transparent;
    line-height: 35px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    font-weight: 500;
    font-size: 8px;
}

.circle-wrap.circle-wrap-mini .inside-circle {
    width: 20px;
    height: 20px;
}

@-webkit-keyframes loading-spinner {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes loading-spinner {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
        transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

/* INPUT LOADING */
.input-loading-spinner {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0.75rem;
    z-index: 3;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    pointer-events: none;

}

.input-group .input-loading-spinner {
    right: 90px;
}

.input-loading-spinner:before {
    position: absolute;
    display: block;
    content: "";
    z-index: 12;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #FFF;
}

.input-loading-spinner:after {
    position: absolute;
    display: block;
    content: "";
    z-index: 11;
    width: 12px;
    height: 12px;
    border-radius: 200px 0 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 0, #459ad7 50%, #459ad7 100%);
    animation: loading 0.5s linear infinite;
}

.autocomplete-container {
    position: relative;
}

@keyframes loading {
  0% {
    transform-origin: 100% 100%;
    transform: rotate(0deg);
  }
  100% {
    transform-origin: 100% 100%;
    transform: rotate(360deg);
  }
}

/* BTN */
.btn.loading {
    position: relative;
}

.btn .spinner-border {
    width: 1.5rem;
    height: 1.5rem;
    border-width: .20em;
}

.btn-sm .spinner-border {
    width: 1.2rem;
    height: 1.2rem;
    border-width: .15em;
}

.btn-lg .spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: .25em;
}


.btn.loading .spinner-border {
    display: block!important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0!important;
    margin: auto;
}

/* FLOATING LABEL */
.form-group .has-float-label {
    display:block;
    position:relative;
    width:100%;
}
.form-group .has-float-label label,.form-group .has-float-label>span{
    position:absolute;
    cursor:text;
    font-size:75%;
    opacity:1;
    -webkit-transition:all .2s;
    transition:all .2s;
    top:-.5em;
    left:.75rem;
    z-index:3;
    line-height:1;
    padding:0 3px;
    background:#fff;
    font-weight:normal;
}
.form-group .has-float-label>span{/*For select2-bootstrap dropdown set top,left margin 0*/
    top:0;
    left:0;
}
.form-group .has-float-label label::after,.form-group .has-float-label>span::after{
    content:" ";
    display:block;
    position:absolute;
    background:#fff;
    height:2px;
    top:50%;
    left:-.2em;
    right:-.2em;
    z-index:-1;
}
.form-group .has-float-label .form-control::-webkit-input-placeholder{
    opacity:1;
    -webkit-transition:all .2s;
    transition:all .2s;
}
.form-group .has-float-label .form-control::-moz-placeholder{
    opacity:1;
    transition:all .2s;
}
.form-group .has-float-label .form-control:-ms-input-placeholder{
    opacity:1;
    transition:all .2s;
}
.form-group .has-float-label .form-control::placeholder{
    opacity:1;
    -webkit-transition:all .2s;
    transition:all .2s;
}
.form-group .has-float-label .form-control:placeholder-shown:not(:focus)::-webkit-input-placeholder{
    opacity:0;
}
.form-group .has-float-label .form-control:placeholder-shown:not(:focus)::-moz-placeholder{
    opacity:0;
}
.form-group .has-float-label .form-control:placeholder-shown:not(:focus):-ms-input-placeholder{
    opacity:0;
}
.form-group .has-float-label .form-control:placeholder-shown:not(:focus)::placeholder{
    opacity:0;
}
.form-group .has-float-label .form-control:placeholder-shown:not(:focus)+*{
    font-size:100%;
    color: #6c757d;
    opacity: 1;
    top:.3em;
}
.input-group .form-group .has-float-label{
    -webkit-box-flex:1;
    -webkit-flex-grow:1;
    -ms-flex-positive:1;
    flex-grow:1;
    margin-bottom:0;
    display:-webkit-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -webkit-flex-direction:column;
    -ms-flex-direction:column;
    flex-direction:column;
    -webkit-box-pack:center;
    -webkit-justify-content:center;
    -ms-flex-pack:center;
    justify-content:center;
}
.form-group .has-float-label .form-control:placeholder-shown:not(:focus) + * {
    margin-top: 6px;
}

.form-group-icon  i.form-group-icon {
    color: #6c757d;
    position: absolute;
    top: 0;
    padding: .65rem;
}

.form-group-icon .has-float-label .form-control {
    padding: .375rem .75rem .375rem 2rem;
}

.form-group.form-group-icon .has-float-label .form-control:placeholder-shown:not(:focus)+*{
    left: 2rem;
}

/* PLYR AUDIO / VIDEO PLAYER */
.plyr {
    height: initial;
    border-radius: .25rem;
}

/* SELECT 2 BACKGROUNDS */

.select2-container--bootstrap4 .select2-dropdown .select2-results__option.default-background[aria-selected=false]:not(.select2-results__option--highlighted) {
    background-color: #ffffff;
}

.select2-container--bootstrap4 .select2-dropdown .select2-results__option.valid-background[aria-selected=false]:not(.select2-results__option--highlighted) {
    background-color: #a5ffb4;
}

.select2-container--bootstrap4 .select2-dropdown .select2-results__option.invalid-background[aria-selected=false]:not(.select2-results__option--highlighted) {
    background-color: #ffbcbf;
}

.btn-group.btn-group-block,
.input-group.input-group-block {
    display: flex;
}

.btn-group-block .btn,
.input-group-block .input-group-prepend,
.input-group-block .input-group-append,
.input-group-last-block {
    flex: 1;
}

.btn-group-block .btn.flex-auto {
    flex: auto;
}

.badge-block {
    width: 100%;
    margin-bottom: .2rem;
}

/* INPUT GROUP BLOCK */
.input-group-last-block .input-group-append:last-child {
    flex: 1!important;
}

/* INPUT GROUP BLOCK */
.input-group-last-block .input-group-append:last-child .input-group-text,
.input-group-last-block .input-group-append:last-child .input-group-text div:first-child {
    width: 100%!important;
}


.status.danger {
    background: #eba3a3;
    color: #761919;
}

.status.success {
    background: #c6e1c6;
    color: #5b841b;
}

.status.pending {
    background: #f8dda7;
    color: #94660c;
}

.badge.status {
    font-weight: 400;
    padding: .35em .4em;
    border-radius: .15rem;
    font-size: .75rem;
}