.button-container {
    text-align: center;
}

fieldset {
    margin: 0 0 3rem;
    padding: 0;
    border: none;
}

.form-radio,
.form-group {
    position: relative;
}

.form-inline > .form-group,
.form-inline > .btn {
    display: inline-block;
    margin-bottom: 0;
}

.form-help {
    margin-top: 0.125rem;
    margin-left: 0.125rem;
    color: #b3b3b3;
    font-size: 0.8rem;
}
.checkbox .form-help, .form-radio .form-help, .form-group .form-help {
    position: absolute;
    width: 100%;
}
.checkbox .form-help {
    position: relative;
    margin-bottom: 1rem;
}
.form-radio .form-help {
    padding-top: 0.25rem;
    margin-top: -1rem;
}

.form-group input {
    height: 1.9rem;
}
.form-group textarea {
    resize: none;
}

.form-group .control-label {
    position: absolute;
    top: 0.25rem;
    pointer-events: none;
    padding-left: 0.125rem;
    z-index: 1;
    color: #b3b3b3;
    font-size: 1rem;
    font-weight: normal;
    -webkit-transition: all 0.28s ease;
    transition: all 0.28s ease;
    left: 0px;   

    /*fixed top*/
    top: -1rem;
    font-size: 0.8rem;
}

.form-group.fixed-label .control-label { 
    font-size: 0.8rem;
    color: gray;
    top: -1rem;
}

.form-group .bar {
    position: relative;
    border-bottom: 0.0625rem solid #999;
    display: block;
}
.form-group .bar::before {
    content: '';
    height: 0.125rem;
    width: 0;
    left: 50%;
    bottom: -0.0625rem;
    position: absolute;
    background: var(--bs-primary);
    -webkit-transition: left 0.28s ease, width 0.28s ease;
    transition: left 0.28s ease, width 0.28s ease;
    z-index: 2;
}

.checkbox label,
.form-radio label {
    position: relative;
    cursor: pointer;
    padding-left: 1.75rem;
    text-align: left;
    /*color: #333;*/
    display: block;
}
.checkbox input,
.form-radio input {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
}

.radio {
    margin-bottom: 1rem;
}
.radio .helper {
    position: absolute;
    top: -0.25rem;
    left: -0.25rem;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999;
    margin-top: 3px;
}
.radio .helper::before, .radio .helper::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 0.25rem;
    width: 1rem;
    height: 1rem;
    -webkit-transition: -webkit-transform 0.28s ease;
    transition: -webkit-transform 0.28s ease;
    transition: transform 0.28s ease;
    transition: transform 0.28s ease, -webkit-transform 0.28s ease;
    border-radius: 50%;
    border: 0.125rem solid currentColor;
}
.radio .helper::after {
    -webkit-transform: scale(0);
    transform: scale(0);
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.radio label:hover .helper {
    color: var(--bs-primary);
}
.radio input:checked ~ .helper::after {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}
.radio input:checked ~ .helper::before {
    color: var(--bs-primary);
}

.checkbox {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.checkbox .helper {
    color: #999;
    position: absolute;
    top: 3px;
    left: 0;
    width: 1rem;
    height: 1rem;
    z-index: 0;
    border: 0.125rem solid currentColor;
    border-radius: 0.0625rem;
    -webkit-transition: border-color 0.28s ease;
    transition: border-color 0.28s ease;
}
.checkbox .helper::before, .checkbox .helper::after {
    position: absolute;
    height: 0;
    width: 0.2rem;
    background-color: var(--bs-primary);
    display: block;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 0.25rem;
    content: '';
    -webkit-transition: opacity 0.28s ease, height 0s linear 0.28s;
    transition: opacity 0.28s ease, height 0s linear 0.28s;
    opacity: 0;
}
.checkbox .helper::before {
    top: 0.65rem;
    left: 0.38rem;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    box-shadow: 0 0 0 0.0625rem #fff;
}
.checkbox .helper::after {
    top: 0.3rem;
    left: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.checkbox:not(.disabled) label:hover .helper {
    color: var(--bs-primary);
}
.checkbox input:checked ~ .helper {
    color: var(--bs-primary);
}
.checkbox input:checked ~ .helper::after, .checkbox input:checked ~ .helper::before {
    opacity: 1;
    -webkit-transition: height 0.28s ease;
    transition: height 0.28s ease;
}
.checkbox input:checked ~ .helper::after {
    height: 0.5rem;
}
.checkbox input:checked ~ .helper::before {
    height: 1.2rem;
    -webkit-transition-delay: 0.28s;
    transition-delay: 0.28s;
}

.radio + .radio,
.checkbox + .checkbox {
    margin-top: 1rem;
}

.has-error .legend.legend, .has-error.form-group .control-label.control-label {
    color: #d9534f;
}
.has-error.form-group .form-help,
.has-error.form-group .helper, .has-error.checkbox .form-help,
.has-error.checkbox .helper, .has-error.radio .form-help,
.has-error.radio .helper, .has-error.form-radio .form-help,
.has-error.form-radio .helper {
    color: #d9534f;
}
.has-error .bar::before {
    background: #d9534f;
    left: 0;
    width: 100%;
}

.bootstrap-select{
    max-width: 100%;
    /*width: 100% !important;*/
}

.bootstrap-select .dropdown-menu{
    max-height: 350px !important;
    padding: 0px;
    border-radius: 0px;
    /*min-width: inherit !important;*/
}

.bootstrap-select .dropdown-menu .inner.show{
    max-height: 350px !important;
    min-height: inherit !important;
}

.bootstrap-select .dropdown-menu{
    max-height: 600px !important;
    min-height: inherit !important;
}



.bootstrap-select li a{
    color: #333;
    min-height: 32px;
}



.bs-select-label{
    font-size: 0.8rem !important;
    color: gray !important;
    top: -1rem !important;
    left: 0 !important;
}

.bootstrap-select > button {
    color: #333 !important;
    border: none !important;
    background-color: transparent !important;
    padding: 0px !important; 
    padding-top: 7px !important;
    min-height: 32px;
}

.bootstrap-select > button .filter-option-inner-inner{
    padding-left: 5px;
}

.dropdown-toggle::after {
    border-top: 0.4em solid;
    border-right: .2em solid transparent;
    border-left: .2em solid transparent;
}

.dropup .dropdown-toggle::after {
    /*border-bottom: 0.4em solid;*/
    border-bottom: none;
    border-top: 0.4em solid;

    border-right: .2em solid transparent;
    border-left: .2em solid transparent;    

}

.bootstrap-select .bs-searchbox .form-control{
    border-bottom: 1px solid #ddd;
    border-radius: 0px;
    height: 40px;

}

.bootstrap-select .notify{
    background-color: #dc3545 !important;
    background: #dc3545 !important;
    color: #fff !important;
}

.bootstrap-select .bs-actionsbox .btn-group button{
    width: 100%;
}

.bootstrap-select .bs-searchbox:after{
    content: "\f002";
    font: normal normal normal 14px/1 FontAwesome;
    display: inline-block;
    float: right;
    margin-top: -32px;
    font-size: 20px;
    margin-right: 5px;
    color: #ddd;

}

.bootstrap-select .btn:focus, .bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle{
    box-shadow: none !important;
    outline: none !important;
}

.bootstrap-select .check-mark{
    color: #36aa49;
}

.bootstrap-select .no-results {
    padding: 5px;
    margin: 8px 8px;
}

/*textarea:focus, 
textarea.form-control:focus, 
input.form-control:focus, 
input[type=text]:focus, 
input[type=password]:focus, 
input[type=email]:focus, 
input[type=number]:focus, 
[type=text].form-control:focus, 
[type=password].form-control:focus, 
[type=email].form-control:focus, 
[type=tel].form-control:focus, 
[contenteditable].form-control:focus {
    box-shadow: inset 0 -1px 0 #1f7ec7;
}*/


input:disabled, select:disabled, textarea:disabled{
    color: #aaa;
    cursor: not-allowed;
}

.bs-searchbox input[type=text]{
    box-shadow: inset 0 -1px 0 #1f7ec7;
}

span.required{
    color: #dc3545;
}

::-webkit-input-placeholder { /* Edge */
  color: #ccc;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ccc;
}

::placeholder {
  color: #ccc;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 245px;
}