label {
    color: #fff;
}

section#formrow1,
section#formrow2,
section#formrow3{
    padding: 0;
}

#formrow1 .row,
#formrow2 .row,
#formrow3 .row{
    margin: 0;
}


.ample-form .col-sm-6{
    padding: 0!important;
}

.ample-form {
    background: #bb0707;
    padding: 50px;
    border: 1px solid #dfb72b;
}

@media (max-width: 767px){
.ample-form {
    padding: 50px 15px!important;
}}


.ample-form input, .ample-form select {
    width: 100%!important;
    background:transparent;
    border: 0px;
    border: 1px solid #ffffff61;
    border-radius: 0px;
    color: #fff!important;
    height: 50px;
    box-shadow: none!Important;
    /* font-family: 'industry-bold'; */
}

.ample-form textarea {
    width: 100%!important;
    background:transparent;
    border: 1px solid #ffffff80;
    border-radius: 0px;
    color: #fff!important;
}


.ample-form label {
    margin-bottom:5px!important;
}



@media (min-width: 768px){
section#formrow1 .col-sm-6:first-child,
section#formrow2 .col-sm-6:first-child,
section#formrow3 .col-sm-6:first-child{
    padding-right:15px!important;
}

section#formrow1 .col-sm-6:nth-child(2),
section#formrow2 .col-sm-6:nth-child(2),
section#formrow3 .col-sm-6:nth-child(2){
    padding-left:15px!important;
}}

/*autofill*/
.ample-form .form-control:focus {
    border-color: #BD9861;
    outline: 0;
      -webkit-box-shadow: none!important;
    box-shadow: none!important;
}

div#bfPage2 p {
    margin: 0;
    padding: 0px 0px;
    color: #fff;
}


.ample-form .form-group {
    display: block!important;
}

.ample-form #bfLabel4 {
    width: 100%;
}

.ample-form textarea#ff_elem4 {
    width: 100%;
    border: 1px solid #ffffff78;
    border-radius: 0px;
}

.ample-form label {
    font-weight: 700;
    color: #fff!important;
}

input#ff_elem28,input#ff_elem362 {
    border: 0!important;
    height: auto;
}

/*choose-file-button*/
.ff_elem::-webkit-file-upload-button {
    background: #BD9861!important;
    color: #fff!important;
    line-height: 0!important;
    padding: 20px 25px!important;
	outline:none!important; border:0px!important;
}

.ff_elem::-webkit-file-upload-button:hover {
    background: #fff!important;
    color: #BD9861!important;
    line-height: 0!important;
    opacity:1!important; cursor:pointer;
}

label#bfLabel243, label#bfLabel233, label#bfLabel280,label#bfLabel248{
    display: block;
    width: 100%;
}

.glyphicon-calendar:before, .glyphicon-upload:before {
font-family: 'Font Awesome 5 Free';
font-weight: 900; 
}
.glyphicon-calendar:before {
    content: "\f133";line-height:0;
}
.glyphicon-upload:before{
    content: "\f093";line-height:0;
}


/*calendar*/
button#ff_elem280_calendarButton {
    padding: 15.2px 20px!important;
    border: 1px solid #fff!important;
}
button#ff_elem280_calendarButton {
    padding: 15.2px 20px!important;
    border: 1px solid #fff!important;
    float: right!important;
    background: #BD9861!important;
}

.bfQuickMode .bfbs3-nonform-control, .bfQuickMode .nonform-control {
    width: 100%!important;
    display: inline-block;
}

@media (max-width: 768px){
button#ff_elem280_calendarButton {
    padding: 16.2px 20px!important;
    border: 1px solid #fff!important;
    float: right!important;
    background: #BD9861!important;
}
	
.bfQuickMode .bfbs3-input-group input, .bfQuickMode .input-group {
    width: 100%!important;
    min-width: 100%!important;
    max-width: 185px;
}

div#bfElemWrap249,div#bfElemWrap262{
    padding-left: 20px;
}}



@media (min-width: 768px){
.form-inline .input-group {
    display: flex;
    width: 100%!important;
}}

/*calendar popup*/
.calendar-container table {
	table-layout: auto;
	max-width: 262px;
	width:100%;
	border-radius: 5px;
	margin:0px!important;
	background-color: #ffffff !important;
	z-index: 1100 !important;
}

.buttons-wrapper.btn-group .js-btn {
    padding: 10px 18px 7px 18px;
    font-size: 12px!important;
    margin: 0 4px;
    line-height:20px;
}

a.js-btn.btn-prev-year, a.js-btn.btn-next-year {
    color: #000;
}

tr.calendar-head-row a {
    color: #000; line-height:0!important;
}

tr.calendar-head-row td.nav {
    line-height: 17px!important;
}

select option {
    color: #000;
}

/*sign*/
button.bfSignatureResetButton.button.btn.btn-primary {
    background: #BD9861!important;
    border: 2px solid #BD9861; outline:none;
    padding: 10px 20px 8px 20px!important;
}

button.bfSignatureResetButton.button.btn.btn-primary:hover {
    opacity:0.5!important;
}
/*checkbox*/
input#ff_elem262, input#ff_elem249 {
    width: 20px!important;
    line-height: 0!important;
    margin-right: 25px;
    height: 20px;
}


div#bfElemWrap262 .form-group,
div#bfElemWrap249 .form-group{
    display: flex!important;
    flex-direction: row-reverse;
    align-items: flex-start;
}

label#bfLabel262,label#bfLabel249 {
    float: left!important;
    width: 100%;
}

div#bfElemWrap262 span.nonform-control,
div#bfElemWrap249 span.nonform-control{
    width: fit-content!important;
}



/*calendar form mobile*/
@media (max-width: 767px){
.calendar-container table {
	table-layout: auto;
	max-width: 100%;
	width:100%;
	border-radius: 5px;
	margin:0px!important;
	background-color: #ffffff !important;
	z-index: 1100 !important;
}

.buttons-wrapper.btn-group .js-btn {
    padding: 10px 18px 7px 18px!important;
    font-size: 12px!important;
    margin: 0 4px;
    line-height:20px;
}

.calendar-container .calendar-head-row td {
    font-size: 20px;
}

tr.calendar-head-row a {
    color: #000;
    line-height: 26px!important;
}}


/*book*/
input#ff_elem78,input#ff_elem78_1{
    width: 20px!important;
}

label#bfGroupLabel78 {
    display: inline-flex;
    line-height: 45px;
}

label#bfGroupLabel78_1 {
    display: inline-flex;
    line-height: 45px;
}

button#ff_elem84_calendarButton {
    background: white;
    color: #c01a1a;
    padding: 18px 20px!important;
}

button.js-btn {
    background: #000;
    padding: 15px 15px 15px 15px!important;
}









/**/