#jb_template .form-control {
    height: initial;
}

#jb_template .chzn-container{
    display: block;
}

#jb_template .multiple-select .form-control > select{
    border: none;
    width: 100%;
}

#jb_template .btn-warning, #jb_template .btn-warning:hover{
    color: white;
}

#jb_template .close-button{
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: white;
    padding: 0px;
    line-height: 17px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #e3e3e3;
}

#jb_template ul.list-group{
    margin: 0px;
}

/* Small Devices */
@media only screen and (max-width: 576px){
    #jb_template h3{
        font-size: 1.2rem;
    }

    #jb_template select .mt-sm-2{
        margin-top: 0.5rem !important;
    }

    #jb_template select{
        font-size: 0.75rem;
    }
}

@media only screen and (max-width: 960px){
    #jb_template .edit-button{
        bottom: 10px;
    }
}

/* invalid input */
#jb_template .invalid {
    color: #9d261d;
    font-weight: bold;
}
#jb_template input.invalid,
#jb_template textarea.invalid,
#jb_template textarea.invalid
{
    border: 1px solid #9d261d;
    background: #f2dede;
}

#jb_template select.chzn-done.invalid + .chzn-container.chzn-container-single > a.chzn-single,
#jb_template select.chzn-done.invalid + .chzn-container.chzn-container-multi > ul.chzn-choices {
    border-color: #9d261d;
    color: #9d261d;
}

/* Sticky top */
@supports ((position: -webkit-sticky) or (position: sticky)) {
    #jb_template .sticky-bottom {
        position: -webkit-sticky;
        position: sticky;
        bottom: 0;
        z-index: 1020;
    }
}

/* chozen icon fix */
.chzn-container.chzn-container-single .chzn-single div > b:after{
    font-family: "Font Awesome 5 Free" !important;
}


/* labels hide if has tooltip with some templates like helix */
#jb_template label {
    display: inline-block !important;
}