/*
 * basic
 * --------------------------------------------------
 */

a:focus {
    outline: none;
}

.form-control:focus {
    border-color: #eb8c00;
    outline: 0;
    box-shadow: none;
}

.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none;
}

.ml-0 {
    padding-left: 0;
}

.pr-0 {
    padding-right: 0;
}

.text-bold {
    font-weight: 700;
}

.text-sm {
    font-size: .9em;
}

.text-xs {
    font-size: .8em;
}

.text-overflow {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*
 * Button
 * --------------------------------------------------
 */

.btn-primary {
    color: #fff;
    background-color: #eb8c00;
    border-color: #eb8c00;
}

.btn-submit {
    min-width: 10rem;
    padding: 6px 20px;
}


.btn-primary.focus,
.btn-primary:focus {
    color: #fff;
    background-color: #eb8c00;
    border-color: #eb8c00;
}

.btn-primary.active,
.btn-primary:active,
.open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #eb8c00;
    border-color: #eb8c00;
}

.btn-default.focus,
.btn-default:focus,
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open>.dropdown-toggle.btn-default.focus,
.open>.dropdown-toggle.btn-default:focus,
.open>.dropdown-toggle.btn-default:hover {
    outline: none;
}


/*
 * Panel
 * --------------------------------------------------
 */

.panel {
    border-radius: 0;
    border: 1px solid #e7ecf3;
    border-bottom: 1px solid rgba(0, 0, 0, 0.17);
    margin-bottom: 15px;
}

.panel .panel-heading,
.panel>:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.panel-default>.panel-heading {
    background-color: #f5f5f5;
}

.panel-heading {
    position: relative;
    height: 40px;
    padding: 0;
}

.panel-heading {
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    padding: 0 15px;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-body .sub-section-header {
    padding-bottom: 9px;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid #eee;
}

.panel-body .sub-section-header:first-child {
    margin-top: 0;
}


/*
* Checkbox & Radio 's inlinestyle
* ---------------------------------------------------
*/

/* 当radios或checkboxs的总宽度超过父元素的宽度时，会出现先类似“悬挂缩进”的情况。使用下面代码保持对齐。*/
.radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline {
    margin-right:10px;
    margin-left: 0
}
/* 当应用label-left时，label和control之间缺少空白，使用下面代码调整 */
.label-left .radio, .label-left .checkbox{
    margin-left:10px;
    margin-right:0;
}

.control-wrap{
    position:relative;
    width:100%
}

/*
 * Dropdown
 * --------------------------------------------------
 */

.dropdown-menu>.active>a,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
    color: #262626;
    background-color: #f5f5f5;
}


/*
 * Rating
 * --------------------------------------------------
 */


/****** Style Star Rating Widget *****/

.rating {
    float: left;
}

.rating>input {
    display: none;
}

.rating>label:before {
    margin: 0 5px 0 0;
    line-height: 1;
    font-size: 1.5em;
    font-family: 'Material Design Icons';
    display: inline-block;
    content: "\f4ce";
}


/*
.rating > .half:before {
    content: "\f4d0";
    position: absolute;
}
*/

.rating > label {
    color: #e7e7e8;
    float: right;
    margin-bottom: 0;
    cursor: pointer;
}


/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label,

/* show gold star when clicked */

.rating:not(:checked) > label:hover,

/* hover current star */

.rating:not(:checked) > label:hover ~ label {
    color: #dc6900;
}


/* hover previous stars in list */

.rating > input:checked + label:hover,

/* hover current star when changing rating */

.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,

/* lighten current selection */

.rating > input:checked ~ label:hover ~ label {
    color: #eb8c00;
}

.rating .mdi {
    color: #eb8c00;
    font-size: 2em;
    cursor: pointer;
}


/*
 * File (Require dropzone)
 * --------------------------------------------------
 */

#dropzone {
    margin-bottom: 3rem;
}

.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: white;
}

.dropzone .dz-message {
    font-weight: 400;
}

.dropzone .dz-message .note {
    font-size: 0.8em;
    font-weight: 200;
    display: block;
    margin-top: 1.4rem;
}

.dropzone {
    min-height: 150px;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.025);
    padding: 20px 20px;
}

.icon-5x {
    font-size: 5em;
    line-height: 1em;
}

.mar-no {
    margin: 0 !important;
}

.pad-ver {
    padding-bottom: 10px;
}

.pad-top {
    padding-top: 15px;
}

.bord-top {
    border-top: 1px solid #e9e9e9;
}

.media-block .media-left {
    display: block;
    float: left;
}

.media-block .media-right {
    float: right;
}

.media-block .media-body {
    display: block;
    overflow: hidden;
    width: auto;
}

.middle .media-left,
.middle .media-right,
.middle .media-body {
    vertical-align: middle;
}

.progress {
    height: 12px;
    margin-bottom: 15px;
    border-radius: 0;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    font-size: 10px;
    background-color: #42a5f5;
    line-height: 1.05em;
    box-shadow: none;
}

.progress-light-base {
    background-color: #fff;
}

.progress-dark-base {
    background-color: rgba(255, 255, 255, 0.2);
}

.progress-xs {
    height: 2px;
    margin-bottom: 10px;
}

.progress-xs .progress-bar {
    font-size: 0;
    line-height: 2px;
}

.progress-bar-success {
    background-color: #8bc34a;
}


/*
 * Date (Require Bootstrap Datepicker)
 * --------------------------------------------------
 */

.input-daterange input {
    text-align: left;
}

.datepicker table tbody tr td {
    border-radius: 50%;
    border: 1px solid transparent;
}

.datepicker table {
    border-collapse: separate;
}

.table-striped .datepicker table tr td,
.table-striped .datepicker table tr th {
    background-color: transparent;
}

.datepicker table tr td,
.datepicker table tr th {
    text-align: center;
    font-weight: 400;
    width: 30px;
    height: 30px;
}

.datepicker table tr td.day:hover,
.datepicker table tr td.day.focused,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active {
    background: #eb8c00;
    color: #fff;
}

.datepicker table tr td.old,
.datepicker table tr td.new {
    color: #e7e7e8;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    background: none;
    color: #999999;
}

.datepicker table tr td.today {
    color: #eb8c00;
    background-color: #fff;
    background-image: none;
    border-color: #eb8c00;
}

.datepicker table tr td.selected {
    color: #eb8c00;
    background-color: #fff;
    background-image: none;
    border-color: #eb8c00;
    text-shadow: none;
}

.datepicker table tr td.selected.range-end {
    color: #333;
    background-color: #fff;
}

.datepicker table tr td.range {
    background: #fdf4e5;
    border-color: #fdf4e5;
}

.datepicker table tr td.range,
.datepicker table tr td.range.disabled,
.datepicker table tr td.range.disabled:hover,
.datepicker table tr td.range:hover {
    background: #fdf4e5;
}

.datepicker table tr td.today:hover:hover {
    color: #000;
    background-color: #fff;
    background-image: none;
    border-color: #eb8c00;
}

.datepicker {
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.3);
    padding: 15px;
}

.datepicker.dropdown-menu th,
.datepicker.datepicker-inline th,
.datepicker.dropdown-menu td,
.datepicker.datepicker-inline td {
    padding: 0;
}

.datepicker table thead th.dow {
    border-bottom: 1px solid #eee;
}

.datepicker table tbody:before {
    content: '';
    display: block;
    height: 10px;
}

.input-group.input-daterange .input-group-addon {
    border-color: transparent;
    font-weight: 700;
    background: transparent;
    color: #333;
}

.input-daterange .input-group-addon.from {
    padding-left: 0;
}

.input-group.input-daterange .form-control {
    border-radius: 4px !important;
}

.prev .mdi,
.next .mdi {
    font-size: 1.5em;
}

.datepicker th.datepicker-switch {
    font-size: 1.5em;
}

.form-control.date {
    max-width: 242px;
}

.datepicker table tr td.active.active,
.datepicker table tr td.active.highlighted.active,
.datepicker table tr td.active.highlighted:active,
.datepicker table tr td.active:active,
.datepicker table tr td.active.active.focus,
.datepicker table tr td.active.active:focus,
.datepicker table tr td.active.active:hover,
.datepicker table tr td.active.highlighted.active.focus,
.datepicker table tr td.active.highlighted.active:focus,
.datepicker table tr td.active.highlighted.active:hover,
.datepicker table tr td.active.highlighted:active.focus,
.datepicker table tr td.active.highlighted:active:focus,
.datepicker table tr td.active.highlighted:active:hover,
.datepicker table tr td.active:active.focus,
.datepicker table tr td.active:active:focus,
.datepicker table tr td.active:active:hover {
    color: #fff;
    background-color: #eb8c00;
    border-color: #eb8c00;
}


/*
 * Label
 * --------------------------------------------------
 */

.label-left {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.label-left label {
    margin-top: 7px;
    margin-right: 15px;
    min-width: 5rem;
}

.required {
    display: inline-block;
}

.form-horizontal .control-label {
    text-align: left;
}

.has-error .control-label,
.has-success .control-label {
    color: #333;
}

.form-group .required.control-label:after {
    content: "*";
    padding-left: 5px;
    color: #e0301e;
}

.PREVIEW .label-left > label{
    margin-top:0;
}

/*
 * Number
 * --------------------------------------------------
 */

.number {
    position: relative;
}

.number input[type=number]::-webkit-inner-spin-button,
.number input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number input[type=number] {
    -moz-appearance: textfield;
}

.number input:focus {
    outline: 0;
}

.number .minus,
.number .plus {
    cursor: pointer;
}

.number .form-control {
    text-align: center;
}

/*like*/

.buttonRounded::before {
    display: inline-block;
    border-radius: 4px 0 0 4px;
    box-sizing: content-box;
    width: 48px;
    height: 100%;
    position: absolute;
    content: "";
    cursor: pointer;
    top: 0;
    left: 0;
    border: none;
    color: rgba(0, 0, 0, 0.9);
    text-overflow: clip;
    background: rgba(0, 0, 0, 0.3);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 48px auto;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.buttonSquare i,
.buttonRounded i {
    color: white;
    font-size: 24px;
    margin: 0 0 0 12px;
    z-index: 9999;
    position: relative;
}

.buttonSquare span,
.buttonRounded span {
    position: absolute;
    left: 60px;
    font-size: 14px;
}

.buttonRounded {
    width: 100%;
    border-radius: 4px;
    display: inline-block;
    box-sizing: content-box;
    position: relative;
    cursor: pointer;
    margin: 0px 0 4px 0;
    border: none;
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: capitalize;
    text-overflow: clip;
    background: #939598;
    text-shadow: 0 0 0 #eff5f7;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    height: 34px;
    line-height: 34px;
    vertical-align: middle;
    max-width: 136px;
}

.bg-red {
    background: #e0301e;
}

.bg-orange {
    background: #dc6900;
}

.bg-rose {
    background: #db536a;
}


/*
 * Text
 * --------------------------------------------------
 */

.address .form-control {
    margin-bottom: 5px;
}

.phone .input-group {
    height: 34px;
}

.phone .input-group-addon {
    background-color: #fff;
}


/*
 * Adding a Timepicker to jQuery UI Datepicker
 * --------------------------------------------------
 */

.form-control.max-width {
    max-width: 242px;
}

.ui-timepicker-div .ui-widget-header {
    display: none;
}

.ui-timepicker-div dl dt {
    float: none;
    clear: none;
    padding: 0 0 0 12px;
    color: #eb8c00;
}

.ui-timepicker-div dl dd {
    margin: 15px 12px;
}

.ui-timepicker-div .ui_tpicker_hour_slider .ui-slider-handle,
.ui-timepicker-div .ui_tpicker_minute_slider .ui-slider-handle {
    border: 1px solid #eb8c00;
    background: #eb8c00;
    border-radius: 50%;
}

.ui-slider-horizontal.ui-widget.ui-widget-content {
    height: 1px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #c5c5c5;
}

.ui-slider-horizontal .ui-slider-handle {
    top: -.6em;
    margin-left: 0;
}

.input-daterange input:last-child {
    border-radius: 4px;
}


/*bootstrap-select*/

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
}

.btn-group.open .dropdown-toggle,
.btn-default:active:hover,
.open>.dropdown-toggle.btn-default:hover {
    box-shadow: none;
    background: #fff;
}

.bootstrap-select .open>.dropdown-toggle.btn-default,
.bootstrap-select .open>.dropdown-toggle.btn-default:focus,
.bootstrap-select .btn-default:hover,
.bootstrap-select .btn-default:focus {
    background: #fff;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder,
.bootstrap-select>.dropdown-toggle.bs-placeholder:active,
.bootstrap-select>.dropdown-toggle.bs-placeholder:focus,
.bootstrap-select>.dropdown-toggle.bs-placeholder:hover {
    color: #333;
    background: #fff;
}

.form-group.has-feedback .mdi-check:before,
.form-group.has-feedback .mdi-close:before {
    background: #fff;
}


/*
 * Menu
 * --------------------------------------------------
 */

.menu {
    position: relative;
}

.menu .js-open {
    position: absolute;
    bottom: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
}

.menu .js-add-component.btn-lg .caret {
    content: "";
    border-top: 0;
    border-bottom: 5px dashed;
}

.menu .btn-danger,
.menu .btn-danger:hover,
.menu .btn-danger.active,
.menu .btn-danger:active,
.menu .open>.dropdown-toggle.btn-danger,
.menu .btn-danger.focus,
.menu .btn-danger:focus,
.menu .btn-danger.active.focus,
.menu .btn-danger.active:focus,
.menu .btn-danger.active:hover,
.menu .btn-danger:active.focus,
.menu .btn-danger:active:focus,
.menu .btn-danger:active:hover,
.menu .open>.dropdown-toggle.btn-danger.focus,
.menu .open>.dropdown-toggle.btn-danger:focus,
.menu .open>.dropdown-toggle.btn-danger:hover {
    color: #fff;
    background-color: #e0301e;
    border-color: #e0301e;
    box-shadow: none;
}

.menu .js-add-component .caret {
    margin-left: 4rem;
}

.menu .btn {
    text-align: left;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    padding: 10px 16px;
}

.menu .btn-default,
.menu .btn-default:hover {
    background-color: #e7e7e8;
    border-color: #e7e7e8;
}

.menu .btn-default.active.focus,
.menu .btn-default.active:focus,
.menu .btn-default.active:hover,
.menu .btn-default:active.focus,
.menu .btn-default:active:focus,
.menu .btn-default:active:hover,
.menu .open>.dropdown-toggle.btn-default.focus,
.menu .open>.dropdown-toggle.btn-default:focus,
.menu .open>.dropdown-toggle.btn-default:hover {
    background-color: #eb8c00;
    border-color: #eb8c00;
    color: #fff;
}

.menu .mt-0 {
    margin-top: 0;
}

.menu .caret {
    float: right;
    margin-top: 8px;
}

.menu .popover {
    width: 100%;
}

.menu .bg-grey {
    background-color: #e7e7e8;
}

.menu .dropdown-menu {
    width: 100%;
}

.menu .dropdown-menu>li>a {
    padding: 10px 16px;
}

.menu .border-bottom {
    border-bottom: 1px solid #ccc;
}

.menu .ui.grid.components {
    margin: 1rem 0;
    width: 100%;
    max-width: 720px;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

/*bootstrap-collapse*/
.panel-heading.collapsed, .panel-heading[data-toggle='collapse'] {
    position: relative;
}

.panel-heading[data-toggle='collapse'] i{
    position: absolute;
    right: 12px;
    top: 5px;
}


.panel-body.collapse, .panel-body.collapsing {
    padding: 0;
}

.panel-body.collapse > .row, .panel-body.collapsing > .row {
    padding: 15px;
} 

/* validate-box style */
/*.validatebox-invalid {
  border-color: #a94442 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
  background-color: #fff !important;
}

.validatebox-invalid.form-control:focus{
  border-color: #843534 !important;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #ce8483;
}

.validatebox-success{
    border-color: #3c763d !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

.validatebox-success.form-control:focus{
    border-color: #2b542c !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px #67b168;
}

.tooltip-arrow-outer, .tooltip-arrow {
    display: none;
}

.tooltip{
    color:#a94442 !important;
    border:0 !important;
    background-color:rgba(255,255,255,0) !important
}*/

/* 
*    bootstrap-validator
* --------------------------------------------------
*    cover bootstrap dropdown-toggle style
*/
.has-success .dropdown-toggle {
    border-color: #3c763d;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-error .bootstrap-select .dropdown-toggle:focus {
    border-color: #843534;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483;
}
.has-error .dropdown-toggle{
    border-color: #a94442;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}
.has-success .bootstrap-select .dropdown-toggle:focus {
    border-color: #2b542c;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168;
}
.has-success .bootstrap-select .dropdown-toggle:focus, .has-error .bootstrap-select .dropdown-toggle:focus{
    outline:none !important
}
/* 
*    icon Count style
* --------------------------------------------------
*    Brose Like Favourite Share
*/
.icon-count {
    top: -3px;
    font-size: 1rem;
} 