
.bfQuickMode {
    position: relative;
    font-weight: 500 !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 13px !important;   

}

.bfQuickMode .controls {
    padding: 0.35em 0 !important;
}

.bfQuickMode .controls .control-label {
    display: block;
    margin-bottom: 5px;
}

.bfQuickMode .bfSectionDescription {
    padding: 0.35em 0 !important;
    border: 1px solid #ddd !important;
    padding: 8px 6px !important;
    position: relative !important;
    border-top-left-radius: 7px;
    border-bottom-right-radius: 7px;
    background: transparent;
    color: #888;
    margin-bottom: 10px;
}

.bfQuickMode .btn {
    position: relative !important; 
    z-index: 1 !important; 
    border-radius: 0 !important; 
    border: none !important; 
    padding: 6px 12px !important; 
    background: #00aeef !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.bfQuickMode .btn:hover {
    background: #ddd !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.bfQuickMode .captcha-refresh {
    background: transparent !important;
    color: #555 !important;

}

.bfQuickMode input {    
	box-shadow: none !important; 
	color: #888;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 13px !important;       
    height: inherit !important;
    min-height: inherit !important;
}

.bfQuickMode .required {
    font-size: 10px !important;
    padding: 0 !important;
    top:0 !important;
    left: 0 !important;
    color: rgb(217, 83, 79) !important;
}

.bfQuickMode label { 	
	color: #888;
	font-weight: 500 !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	font-size: 13px !important;
}

.input {
	position: relative !important;
	display: flex !important;
	margin: 0 !important;
	width: 100% !important;
    vertical-align: top !important;
}

.input__field {
	position: relative !important;
	display: block !important;
	float: right !important;
	padding: 0.8em !important;
	border: none !important;
	border-radius: 0 !important;
	background: #f0f0f0 !important;
	color: #aaa !important;
	font-weight: bold !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
	-webkit-appearance: none; /* for box shadows to show on iOS */
	max-width: 100% !important;
}

.input__field:focus {
	outline: none !important;
}

.input__label {
	display: inline-block !important;
	float: right !important;
	padding: 0 1em !important;
	font-weight: bold !important;
	font-size: 100%;
	-webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
	-webkit-touch-callout: none !important;
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
}

.input__label-content {
	position: relative !important;
	display: block !important;
	padding: 1.6em 0 !important;
	width: 100% !important;
}

/* Fumi */
.input--fumi {
	background: #fff !important;
	overflow: hidden !important;
	padding: 0.25em 0 !important;
    border-bottom: 1px solid #ddd;
}

.input--fumi::after {
	content: '' !important;
	width: 1px !important;
	position: absolute !important;
	top: 0.5em !important;
	bottom: 0.5em !important;
	left: 2.5em !important;
	background: #f0f0f0 !important;
	z-index: 100 !important;
}

.input--fumi-captcha::after {
    width: 0 !important;
}

.input__field--fumi {
	background: transparent !important;
	padding: 1.5em 1em 0.25em 3.15em !important;
	width: 100% !important;
    color: #00aeef !important;    
    box-shadow: none !important;
}

.input__field--fumi-captcha {
	padding: 1.5em 1em 0.25em 1.15em !important;
}

.input__label--fumi {
	position: absolute !important;
	width: auto !important;
	text-align: left !important;
	padding-left: 4.5em !important;
	pointer-events: none !important;
}

.iconf--fumi {
	width: 1em !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 13px 9px 9px 9px !important;
    font-size: 15px !important;
    color: #555 !important;
}

.input__label-content--fumi {
	padding: 0.8em 0 !important;
	display: inline-block !important;
	-webkit-transform-origin: 0 0 !important;
	transform-origin: 0 0 !important;
}

.input__label-content--fumi span {
	display: inline-block !important;
}

.input__field--fumi:focus + .input__label--fumi .input__label-content--fumi,
.input--filled .input__label-content--fumi {
	-webkit-animation: anim-fumi-1 0.3s forwards !important;
	animation: anim-fumi-1 0.3s forwards !important;
}

@-webkit-keyframes anim-fumi-1 {
	50% {
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		-webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
	}
	100% {
		color: #a3a3a3;
		-webkit-transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
	}
}

@keyframes anim-fumi-1 {
	50% {
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		-webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
	}
	100% {
		color: #a3a3a3;
		-webkit-transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
		transform: translate3d(0, -1.1em, 0) scale3d(0.85, 0.85, 1);
	}
}


.input__field--fumi:focus + .input__label--fumi .iconf--fumi,
.input--filled .iconf--fumi {
	-webkit-animation: anim-fumi-2 0.3s forwards;
	animation: anim-fumi-2 0.3s forwards;
}

@-webkit-keyframes anim-fumi-2 {
	50% {
		opacity: 1;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.25% {
		opacity: 0;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.75% {
		opacity: 0;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		opacity: 1;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		color: #00aeef;
	}
}

@keyframes anim-fumi-2 {
	50% {
		opacity: 1;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.25% {
		opacity: 0;
		-webkit-transform: translate3d(0, -3em, 0);
		transform: translate3d(0, -3em, 0);
	}
	50.75% {
		opacity: 0;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	51% {
		opacity: 1;
		-webkit-transform: translate3d(0, 3em, 0);
		transform: translate3d(0, 3em, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		color: #00aeef;
	}
}



/***************
  Checkbox customize
***************/

.bfQuickMode [type="checkbox"].filled-in:not(:checked) + label:after {
    height: 15px;
    width: 15px;
    background-color:#ddd;
    border: 1px solid #ddd;
    top: 0px;
    z-index: 0;
}

.bfQuickMode [type="checkbox"].filled-in:checked + label:after {
    top: 0px;
    width: 15px;
    height: 15px;
    border: 2px solid #00aeef;
    background-color: #00aeef;
    z-index: 0;
}

.bfQuickMode [type="checkbox"].filled-in:checked + label:before {
    top: 1px;
    left: 0px;
    width: 5px;
    height: 7px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

.bfQuickMode [type="checkbox"] + label {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    display: inline-block;
    height: 10px;
    line-height: 10px;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none;
    padding-right: 12px;
}

/***************
  Select Field
***************/

.bfQuickMode .controls .select-label {
    top: -23px;
}
.select-wrapper input.select-dropdown {
    position: relative;
    cursor: pointer;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    outline: none;
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    font-size: 1rem;
    margin: 0 0 15px 0;
    padding: 0;
    display: block;
}
.select-wrapper input.select-dropdown:enabled {
    border-bottom: 1px solid #ddd;
}
.bfQuickMode input[type="text"],
.bfQuickMode textarea,
.bfQuickMode select,
.bfQuickMode .uneditable-input {
    width: 100%;
    max-width: 100%;
}

.bfQuickMode textarea {
    overflow-x: hidden;

}
.bfQuickMode .caret {
    border-left: none;
    border-right: none;
    border-top: none;
	width: auto;
	color:#777 !important
}

.dropdown-content {
    background-color: #fff;
    margin: 0 !important;
    padding: 0 !important;
    display: none;
    min-width: 100px;
    max-height: 650px;
    overflow-y: auto;
    opacity: 0;
    position: absolute;
    z-index: 999;
    will-change: width, height;
    box-shadow: 1px 2px 6px rgba(0,0,0,0.4);
    list-style-type: none !important;
}

.dropdown-content li > a, .dropdown-content li > span {
    font-size: 16px;
    color: #888;
    display: block;
    line-height: 22px;
    padding: 14px 16px;
}

/***************
  Radio Buttons
***************/


/* Remove default Radio Buttons */

.bfQuickMode [type="radio"]:not(:checked),
.bfQuickMode [type="radio"]:checked {
    position: absolute;
    /*left: -9999px;*/
    visibility: hidden;
}
.bfQuickMode [type="radio"]:not(:checked) + label,
.bfQuickMode [type="radio"]:checked + label {
    position: relative;
    padding-left: 30px;
    padding-top: 1px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    transition: .28s ease;
    /* webkit (konqueror) browsers */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.bfQuickMode [type="radio"] + label:before,
.bfQuickMode [type="radio"] + label:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 4px;
    width: 13px;
    height: 13px;
    z-index: 0;
    transition: .28s ease;
}

/* Unchecked styles */

.bfQuickMode [type="radio"]:not(:checked) + label:before {
    border-radius: 50%;
	border: 2px solid #ddd;
	background: #ddd;
}
.bfQuickMode [type="radio"]:not(:checked) + label:after {
    border-radius: 50%;
    border: 2px solid #5a5a5a;
    z-index: -1;
    -webkit-transform: scale(0);
    transform: scale(0);
}

/* Checked styles */

.bfQuickMode [type="radio"]:checked + label:before {
    border-radius: 50%;
    border: 2px solid transparent;
}
.bfQuickMode [type="radio"]:checked + label:after {
    border-radius: 50%;
    border: 2px solid #00aeef;
    background-color: #00aeef;
    z-index: 0;
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

/* Radio With gap */

.bfQuickMode [type="radio"].with-gap:checked + label:before {
    border-radius: 50%;
    border: 2px solid #26a69a;
}
.bfQuickMode [type="radio"].with-gap:checked + label:after {
    border-radius: 50%;
    border: 2px solid #00aeef;
    background-color: #00aeef;
    z-index: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}

/* Disabled Radio With gap */

.bfQuickMode [type="radio"].with-gap:disabled:checked + label:before {
    border: 2px solid rgba(0, 0, 0, 0.26);
}
.bfQuickMode [type="radio"].with-gap:disabled:checked + label:after {
    border: none;
    background-color: rgba(0, 0, 0, 0.26);
}

/* Disabled style */

.bfQuickMode [type="radio"]:disabled:not(:checked) + label:before,
.bfQuickMode [type="radio"]:disabled:checked + label:before {
    background-color: transparent;
    border-color: rgba(0, 0, 0, 0.26);
}
.bfQuickMode [type="radio"]:disabled + label {
    color: rgba(0, 0, 0, 0.26);
}
.bfQuickMode [type="radio"]:disabled:not(:checked) + label:before {
    border-color: rgba(0, 0, 0, 0.26);
}
.bfQuickMode [type="radio"]:disabled:checked + label:after {
    background-color: rgba(0, 0, 0, 0.26);
    border-color: #BDBDBD;
}

/***************
  Input file
***************/


.inputfile {
    width: 0.1px !important;
    height: 0.1px !important;
    opacity: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -1 !important;
}

.inputfile + label {
    max-width: 80%;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
    /* 10px 20px */
}

.no-js .inputfile + label {
    display: none;
}

.inputfile:focus + label,
.inputfile.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile + label * {
    /* pointer-events: none; */
    /* in case of FastClick lib use */
}

.inputfile + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    margin-top: -0.25em;
    /* 4px */
    margin-right: 0.25em;
    /* 4px */
}

/* style 2 */

.inputfile-2 + label {
    color: #999;
    border: 2px solid currentColor;
}

.inputfile-2:focus + label,
.inputfile-2.has-focus + label,
.inputfile-2 + label:hover {
    color: #00aeef;
}


/*
Headline
*/

.headline {
    border: 1px solid #ddd !important;
    margin: 15px 0 !important;
    padding: 5px 0 0 10px !important;
    position: relative !important;
    border-top-left-radius: 7px;
    border-bottom-right-radius: 7px;
    background: #ddd;
    color: #888;
  }
  
  .headline:before,
  .headline:after {
    content: '' !important;
    border-right: 20px solid transparent !important;
    border-top: 15px solid #ddd !important;
    bottom: -15px !important;
    position: absolute !important;
    left: 25px !important;
  }
  
  .headline:after {
    border-top-color: #ddd !important;
    border-right-color: transparent !important;
    bottom: -13px !important;
    left: 26px !important;
  }


/*

Joomla Calendar

*/

.field-calendar {
    display: flex !important;
    width: 100% !important;
}

.js-calendar {
    box-shadow: 0 0 15px 4px rgba(0,0,0,.15) !important;
    position: fixed !important;
    z-index: 9999999 !important;
    margin: 2.4rem;
}

.js-calendar button {
    color: #fff !important;
}

.bfQuickMode .bfCalendar {
   visibility:hidden !important;
}

.calendar {
    margin-top: 15px !important;
}

.calendar, .calendar table {
    border: none !important;
    font-size: 11px;
    color: #000;
    cursor: default;
    background: #ffffff !important;
    font-family: arial,verdana,sans-serif;
    box-shadow: 1px 2px 6px rgba(0,0,0,0.4);    
	width: 100%;
}

.calendar table .title {
    font-weight: bold;
    text-align: center;
    background: #00aeef;
    color: #ffffff;
    padding: 2px;

}

.calendar thead .headrow {
    background: #ffffff;
    color: #000;
}

.calendar thead .daynames {
    background: #ffffff;
}

.calendar tbody .rowhilite td {
	background: #ddd;
	color: #888;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	background: #00aeef !important;
	color: #ffffff;
}

.calendar tbody td.selected { 
	font-weight: bold;
	background: #00aeef;
	color: #ffffff;
}

.calendar table .wn {
    padding: 2px 3px 2px 2px;
    border-right: 1px solid #cccccc;
    background: #ffffff;
}

.calendar tfoot .footrow {
    text-align: center;
    background: #ffffff !important;
    color: #000;
}

/*

Responsive Calendar

*/

.picker__nav--prev:before, .picker__nav--next:before {
    content: " " !important;
    border-top: .5em solid transparent !important;
    border-bottom: .5em solid transparent !important;
    border-right: 0.75em solid #00aeef !important;
    width: 0 !important;
    height: 0 !important;
    display: block !important;
    margin: 0 auto !important;
}

.picker__nav--next:before {
    border-right: 0 !important;
    border-left: 0.75em solid #00aeef !important;
}

.picker__day--selected, .picker__day--selected:hover {
    border-color: #00aeef !important;
    color: #ffffff !important;
}

.picker__day--highlighted {
    background: #00aeef !important;
    color: #ffffff !important;
}

/* Multi upload */

.bfFlashFileQueueClass {
    margin-top: 5px;
}

.bfFileQueueItem {
    border: none;
    background-color: transparent;
    margin: 5px;
    padding: 10px;
}


/* Signature */

.bfQuickMode .bfSignatureCanvasBorder {
    width: 100%;
    height: 200px;
    border: 2px solid #F0F0FF;
    border: 2px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 5px;
}



@-webkit-keyframes autofill, 
@keyframes autofill, 
@-moz-keyframes autofill,
@-o-keyframes autofill
{
    to {
        color: #fff;
        background: transparent !important;
    }
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  border: 1px solid #00aeef;
  -webkit-text-fill-color: #00aeef;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}

input:-moz-autofill,
input:-moz-autofill:hover, 
input:-moz-autofill:focus
input:-moz-autofill, 
textarea:-moz-autofill,
textarea:-moz-autofill:hover
textarea:-moz-autofill:focus,
select:-moz-autofill,
select:-moz-autofill:hover,
select:-moz-autofill:focus {
  border: 1px solid #00aeef;
  -webkit-text-fill-color: #00aeef;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset;
  transition: background-color 5000s ease-in-out 0s;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #00aeef !important;
    opacity: 0.37 !important;
    font-size: 11px !important;
    text-align: right !important;
  }
  ::-moz-placeholder { /* Firefox 19+ */
    color: #00aeef !important;
    opacity: 0.37 !important;
    font-size: 11px !important;
    text-align: right !important;
  }
  :-ms-input-placeholder { /* IE 10+ */
    color: #00aeef !important;
    opacity: 0.37 !important;
    font-size: 11px !important;
    text-align: right !important;
  }
  :-moz-placeholder { /* Firefox 18- */
    color: #00aeef !important;
    opacity: 0.37 !important;
    font-size: 11px !important;
    text-align: right !important;
  }


/* ballon error */


.formError .formErrorContent {
    width: 100%;
    background: #ffffff;
    color: #F44336;
    width: 100%;
    font-family: tahoma;
    font-size: 11px;
    border: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    padding: 4px 10px 4px 10px;
    border-radius: 6px !important;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.formError .formErrorArrow div {
    border-left: none;
    border-right: none;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    font-size: 0px;
    height: 1px;
    background: #ffffff;
    margin: 0 auto;
    line-height: 0px;
    font-size: 0px;
    display: block;
}
