@import "fonts.css";
button, input[type='submit'], input[type='reset'], input[type='button'] {
    background: transparent;
    border: none;
    display: inline-block;
    height: auto;
    width: auto;
    padding: 0;
}

.material-control, .material-choice {
    position: relative;
    margin: 15px 0 5px;
}

.material-control ::-webkit-input-placeholder {
    color: transparent;
    -webkit-transition: color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}

.material-control :-moz-placeholder {
    color: transparent;
    opacity: 1;
    -moz-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}

.material-control ::-moz-placeholder {
    color: transparent;
    opacity: 1;
    -moz-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}

.material-control :-ms-input-placeholder {
    color: transparent;
    opacity: 1;
    -ms-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;

}

.material-control .material-field:focus::-webkit-input-placeholder {
    color: rgba(66, 139, 202, 0.70);
    -webkit-transition: color 0.25s ease-in-out;
    -o-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}

.material-control .material-field:focus:-moz-placeholder {
    color: rgba(66, 139, 202, 0.70);
    opacity: 1;
    -moz-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}

.material-control .material-field:focus::-moz-placeholder {
    color: rgba(66, 139, 202, 0.70);
    opacity: 1;
    -moz-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;
}

.material-control .material-field:focus:-ms-input-placeholder {
    color: rgba(66, 139, 202, 0.70);
    opacity: 1;
    -ms-transition: color 0.25s ease-in-out;
    transition: color 0.25s ease-in-out;

}

.material-control .material-field {
    width: 100%;
    padding: 0 5px;
    border: none;
    background-color: transparent;
    color: #000;
    font-family: "Al-Nafis", Arial !important;
    font-size: 16px;
}
.material-control .material-field:focus {
    box-shadow: none !important;
}

.material-control.radio-input {
    margin-top: 25px;
}

.material-control.radio-input .radio {
    padding-top: 0;
}

.material-control .material-field:disabled, .material-control .material-field:disabled ~ label {
    background-color: transparent !important;
    color: #c0c0c0;
    cursor: not-allowed;
}

.material-control > label, .material-choice > label {
    color: #428bca;
    position: absolute;
    left: 15px;
    top: 0;
    font-weight: bold;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    pointer-events: none;
}

.material-control .material-field:focus ~ label, .material-control .material-field[value]:not([value=""]) ~ label,
.material-control.radio-input > label, .material-control .material-field.label-up ~ label,
.material-control select.label-up ~ label, .material-control .select2-dropdown-open ~ label,
.material-choice > label {
    font-size: 90%;
    top: -15px;
}

.material-control > span.underline, .material-choice span.underline {
    background-color: #428bca;
    display: block;
    height: 3px;
    margin: 0;
    padding: 0;
}

.material-control.has-error > label, .material-choice.has-error > label {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    color: #d15b47;
}

.material-control.has-error > span.underline, .material-choice.has-error > span.underline {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: #d15b47;
}

.material-control .validation-block span, .material-choice .validation-block span {
    text-align: left;
    background-color: transparent;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.4s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 2;

    -moz-animation-name: blinker;
    -moz-animation-duration: 0.4s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: 2;

    animation-name: blinker;
    animation-duration: 0.4s;
    animation-timing-function: linear;
    animation-iteration-count: 2;
    color: #d15b47;
}

.material-control .material-field:disabled ~ span.underline {
    background-color: #ccc;
}

.material-control .required-field ~ span.underline::after, .material-control.required-field > span.underline::after {
    content: "\f0de";
    font-family: FontAwesome;
    position: absolute;
    font-size: 200%;
    top: -15px;
    right: 13px;
    z-index: 2;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    color: #d15b47;
}

.material-select {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    height: 21px;
}

.action-bar.bottom {
    background-color: #fff;
    box-shadow: 0 -5px 10px -3px #ccc;
    border-top: 1px solid #DCE8F1;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.action-bar.top {
    height: 60px;
    position: absolute;
    right: 0;
    bottom: -30px;
}

.action-bar .nav-btn {
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    margin: 20px 5px;
}

.action-bar .nav-btn:first-child {
    margin-left: 20px;
}

.floating-btn {
    box-shadow: 2px 2px 10px 0 #999;
    border-radius: 48px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    text-decoration: none !important;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-right: 10px;
    float: right;
    font-size: 200% !important;
    line-height: 190%;
    -webkit-transition: all 0.05s ease-in-out;
    -moz-transition: all 0.05s ease-in-out;
    -ms-transition: all 0.05s ease-in-out;
    -o-transition: all 0.05s ease-in-out;
    transition: all 0.05s ease-in-out;
    background-color: #75b0f6 !important;
    color: #fff !important;
}

.action-bar.top .floating-btn {
    margin-top: auto;
    margin-bottom: -24px;
}

.floating-btn:hover {
    box-shadow: 3px 3px 12px 0 #999;
    background-color: #286090 !important;
    cursor: pointer;
    text-decoration: none;
}

.floating-btn.pull-left {
    margin-right: 0;
    margin-left: 10px;
}

.back-btn {
    background-color: #eee;
}

.back-btn:hover {
    background-color: #e0e0e0;
}

.add-btn {
    background-color: #75b0f6;
}

.add-btn:hover {
    background-color: #286090;
}

.save-btn {
    background-color: #75b0f6;
}

.save-btn:hover {
    background-color: #286090;
}

.lock-btn {
    background-color: #fee188;
}

.lock-btn:hover {
    background-color: #f7d05b;
}

.unlock-btn {
    background-color: #555;
}

.unlock-btn:hover {
    background-color: #303030;
}

.delete-btn {
    background-color: #d15b47;
}

.delete-btn:hover {
    background-color: #b74635;
}

.material-control .autocomplete .select2-choice {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 25px;
}

.material-control .autocomplete.select2-dropdown-open .select2-chosen {
    color: transparent;
}

.material-control .select2-container-multi .select2-choices {
    background: transparent;
    border: none;
}

.material-control .autocomplete .select2-arrow, .material-control .autocomplete .select2-arrow [role='presentation']::before {
    background: transparent;
    border: none;
    border-radius: 0;
}

.material-autocomplete {
    margin-top: -30px;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.material-autocomplete .select2-search {
    background: transparent;
    border: none;
    padding: 0;
}

.material-autocomplete .select2-search::after {
    background-color: #fff;
}

.material-autocomplete .select2-search .select2-input {
    background: transparent;
    border: none;
    margin-top: 5px;
    padding: 0 20px 0 0;
    min-height: 24px;
}

.material-autocomplete .select2-results {
    padding: 0;
    margin: 3px 0 4px 0;
    background: #fff;
    box-shadow: 1px 1px 7px -3px #000;
    border: 1px solid #eee;
}

.material-autocomplete .select2-results .select2-no-results {
    background: transparent;
    padding: 3px 0;
}

input.material-field.autocomplete, select.material-field.autocomplete {
    display: inline !important;
    width: 0;
    height: 0;
    visibility: hidden;
    float: right;
}

.material-choice > .row {
    margin: 0 auto;
}

.material-choice .material-control {
    margin-top: 0;
    padding: 0;
}

.material-choice input {
    position: absolute;
    opacity: 0;
}

.material-choice .material-control > span {
    display: block;
    border: 1px #8aafce solid;
    color: #6688a6 !important;
    border-radius: 4px;
    padding: 2px 2px 2px 30px;
    position: relative;
    margin: 5px 5px 0 0;
    cursor: pointer;
    text-align: left;
}

.material-choice .material-control > input:checked + span {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: 2;

    -moz-animation-name: blinker;
    -moz-animation-duration: 0.3s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: 2;

    animation-name: blinker;
    animation-duration: 0.3s;
    animation-timing-function: linear;
    animation-iteration-count: 2;
}

.material-choice .material-control > span:after {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 25px;
    background: #337ab7;
    font-family: FontAwesome;
    color: transparent;
    text-align: center;
    line-height: 25px;
    font-size: 18px;
    -webkit-transition: color 0.5s ease-in-out;
    -moz-transition: color 0.5s ease-in-out;
    -ms-transition: color 0.5s ease-in-out;
    -o-transition: color 0.5s ease-in-out;
    transition: color 0.5s ease-in-out;
}

.material-choice .material-control > input:checked + span:after {
    color: #FFFFFF;
}

.material-choice .material-control > input[type='radio'] + span:after {
    content: "\f00d";
}