.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.clearfix:before, .clearfix:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after {
    display: table;
    content: " ";
}

.clearfix:after, .form-horizontal .form-group:after {
    clear: both;
}

.show {
    display: block !important;
}

.hide {
    display: none !important;
}

.visible {
    visibility: visible !important;
}

.invisible {
    visibility: hidden !important;
}

.modal .error-tips {
    /*font-style: italic;*/
    font-size: 13px;
    line-height: 14px;
    color: #ff0000;
    padding: 3px 0 0;
}
/* Form Style */
::-ms-clear, ::-ms-reveal {
    display: none;
}

::-webkit-inner-spin-button {
    -webkit-appearance: none
}

::-webkit-input-placeholder {
    color: #999;
}

::-moz-placeholder {
    color: #999;
}

::-ms-input-placeholder {
    color: #999;
}

:-ms-input-placeholder {
    color: #999 !important;
}

input:disabled, textarea:disabled {
    color: #333;
    /*-webkit-text-fill-color: #333;*/
    opacity: 1;
    background-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input:-webkit-autofill, textarea:-webkit-autofill {
    background-color: transparent;
}

.modal .form-control {
    box-sizing: border-box;
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 46px;
    padding: 5px 10px;
    font-family: Calibri, Arial, sans-serif; 
    font-weight: 600;
    font-size: 15px;
    line-height: 1.53846153846;
    color: #595959;
    background-color: #fff;
    background-image: none;
    border: 2px solid #cecece;
    border-radius: 4px;
    resize: none;
    /* -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.1); */
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
    margin-bottom: 0;
}

    .modal .form-control:-webkit-autofill {
        -webkit-box-shadow: inset 0 0 0 200px #fff;
        box-shadow: inset 0 0 0 200px #fff;
        color: #474747;
    }

    .modal .form-control:focus, .form-control.is-focused {
        border-color: #959393;
        outline: 0;
        -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
        box-shadow: inset 0 2px 4px rgba(0,0,0,.1);
    }

.modal .has-success .form-control {
    border-color: #3c763d;
}

    .modal .has-success .form-control:focus {
        border-color: #2b542c;
    }

.modal .has-warning .form-control {
    border-color: #008fd6;
}

.modal .modal .has-warning .form-control:focus {
    border-color: #2b542c;
}

.modal .has-error .form-control {
    border-color: #e60012;
}

    .modal .has-error .form-control:focus {
        border-color: #cc0011;
    }

.modal .form-control-static[readonly] {
    border: 0;
    outline: 0; /*padding: 0;*/
}

.modal .form-group {
    margin-top: 10px;
}

.modal .form-group-lg .form-control, .modal .form-control-lg {
    height: 34px;
    padding: 6px 12px;
}

.modal .form-group-sm .form-control, .modal .form-control-sm {
    height: 28px;
    padding: 3px 10px;
}

.modal .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
}

.modal .form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.modal .form-horizontal {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .modal .form-horizontal .form-group {
        margin-top: 8px;
        margin-bottom: 8px;
    }

.modal .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
}

    .modal .input-group .form-control {
        position: relative;
        z-index: 2;
        float: left;
        width: 100%;
        margin-bottom: 0;
        display: table-cell;
    }

.modal .input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #fff;
    border: 1px solid #cecece;
    border-radius: 0;
    display: table-cell;
    vertical-align: middle;
}

    .modal .input-group-addon:last-child {
        border-left: 0;
    }

.modal .form-date {
    position: relative;
}

    .modal .form-date input {
        cursor: pointer;
    }

    .modal .form-date:after {
        content: "";
        position: absolute;
        top: 4px;
        right: 5px;
        width: 20px;
        height: 20px;
        background-image: url(images/icon-sprite.png);
        background-repeat: no-repeat;
        background-position: 0 -80px;
        cursor: pointer;
    }

.modal .checkbox {
    position: relative;
}

    .modal .checkbox input {
        opacity: 0;
        position: relative;
        width: 20px;
        height: 20px;
        z-index: 2;
    }

        .modal .checkbox input + label:before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            background: url(images/icon-form-checkbox.png) no-repeat;
            position: absolute;
            z-index: 1;
            top: 0;
            left: 0;
        }

.modal .check-all input + label:before {
    background-position: 0 -60px;
}

.modal .checkbox input:hover + label:before {
    background-position: 0 -20px;
}

.modal .checkbox input:checked + label:before {
    background-position: 0 -40px;
}
/* Button Style */
button, input[type="button"], input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

    button[disabled], input[disabled] {
        cursor: default;
    }

    button::-moz-focus-inner, input::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

.modal .btn {
    float: none;
    height: auto;
    display: inline-block;
    padding: 12px 40px;
    margin-bottom: 0;
    font-family: Calibri, Arial, sans-serif; 
    font-size: 16px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 0;
    border-radius: 4px;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.modal .btn-sm {
    font-size: 12px;
    height: 26px;
    margin: 10px 0;
}

.modal .btn-fixed-size {
    width: 84px;
    height: 32px;
    line-height: 32px;
    padding: 0;
}

.modal .btn-full-width,.modal .btn-stretch  {
    width: 100%;
}

.modal .btn-icon {
    background: none !important;
    padding: 0 !important;
}

.modal .btn-link {
    background: none !important;
    padding: 3px 12px;
}

    .modal .btn-link .icon:first-child {
        margin-right: 10px;
    }

.btn-link .icon:last-child {
    margin-left: 10px;
}

.modal .btn-default {
    color: #474747;
    background-color: #f4f4f4;
}

    .modal .btn-default:hover {
        background-color: #e8e8e8;
    }

    .modal .btn-default:active {
        background-color: #dbdbdb;
    }

.modal .btn-link.btn-default {
    color: #666;
}

    .modal .btn-link.btn-default:hover {
        color: #333;
    }

.modal .btn-primary {
    color: #fff;
    background-color: #EC6A00;
}

    .modal .btn-primary:hover {
        background-color: #dc6809;
    }

    .modal .btn-primary:active {
        background-color: #ca5e05;
    }

.modal .btn-link.btn-primary {
    color: #0072ce;
}

    .modal .btn-link.btn-primary:hover {
        color: #0064b5;
    }

.modal .btn-danger {
    color: #fff;
    background-color: #cd2340;
}

    .modal .btn-danger:hover {
        background-color: #bf213b;
    }

    .modal .btn-danger:active {
        background-color: #b31e37;
    }

.modal .btn:focus, .modal .btn:active {
    border: 0;
    outline: 0;
}
/*.btn:disabled {
	color: #999;
	background-color: #f4f4f4;
}*/
/* Typography Style */
.text-hide {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-nowrap {
    white-space: nowrap;
}

.text-capitalize {
    text-transform: capitalize;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}
/* Modal Style */
.modal {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10050;
    display: none;
    overflow: hidden;
    font-family: Calibri, Arial, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: #595959;
}

    .modal.open {
        display: table;
    }

.modal-dialog {
    position: relative;
    width: auto;
    height: 100%;
    padding: 10px;
    display: table-cell;
    vertical-align: top;
}

.modal-content {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    min-height: 370px;
    background-color: #fff;
    border-radius: 4px;
    /* color: #474747; */
    padding: 0 40px;
    overflow: hidden;
}
.loading .modal-content:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255,255,255,.55);
}

.loading .modal-content:after {
    content: url(images/loading2.gif);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    width: 20px;
    text-align: center;
    overflow-x: hidden;
}
.modal-header {
    padding-top: 50px;
    padding-bottom: 15px;
    line-height: 1;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    border-bottom: none;
}
.modal-body {  
    padding: 0;
    max-height: none;
    overflow: initial;
}

.modal-title {
    font-size: 28px;
}

.modal-header .close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 22px;
    color: #999;
}

    .modal-header .close:hover {
        color: #454545;
    }

    .modal-header .close:active {
        color: #000;
    }

.modal-body p {
    margin: 30px 0 !important;
    height: auto !important;
}

.modal-info {
    font-size: 15px;
    line-height: 1.2;
    /* color: #999; */
    margin-bottom: 25px;
    opacity: .65;
}

.modal-text {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-footer {
    padding: 0;
    margin-top: 18px;
    padding-bottom: 46px;
    text-align: center;
    background-color: transparent;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
}

/* Alert Style */
.alert {
    padding: 8px;
    border-radius: 4px;
    font-size: 14px;
    /* font-family: arial; */
    text-align: center;
    margin: 25px 0 -25px;
    position: relative;
}

.alert-info {
    color: #ce4d40;
    border: 1px solid #ffccc7;
    background-color: #FFF2F0;
    line-height: 20px;
}
