
/* add functionality to bootstrap 2 with bootstrap 3 */

* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
::after,::before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; }
.container {
    padding-left: 15px;
    padding-right: 15px;
}
a {
    text-decoration: none;
}
a:focus, a:hover {
    text-decoration: none;
}
code {
    white-space: pre;
}

/* */
.row-fluid {
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
}
.row-fluid > [class*="span"] {
    margin-left: 0;
    padding-left: 15px;
    padding-right: 15px;
}
.row-fluid::after, .row-fluid::before {
    display: table;
    content: " ";
}
.row-fluid::after {
    clear: both;
}
.row-css {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.col-50 {
    flex: 0 1 calc(50% - 5px);
    margin-bottom: 2px;
    padding: 0px;
    clear: both;
    margin-top: 0.5pc;
}

/* */
input, textarea, select, .uneditable-input {
    height: 28px;
}


/* */
.dropdown-menu a, .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 20px;
    color: #333;
    white-space: nowrap;
}
.dropdown-menu > li.open > a:focus, .dropdown-menu > li.open > a:hover,.dropdown-menu .open > a, .dropdown-menu .open > a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #08c;
    background-color: #0081c2;
    background-image: linear-gradient(to bottom, #08c, #0077b3);
    background-image: -moz-linear-gradient(top, #08c, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #08c, #0077b3);
    background-image: -o-linear-gradient(top, #08c, #0077b3);
    background-repeat: repeat-x;
    outline: 0;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}
.dropdown-menu li > a:hover, .dropdown-menu li > a:focus, .dropdown-submenu:hover > a {
    color: #fff;
    text-decoration: none;
    background-color: #08c;
    background-color: #0081c2;
    background-image: -moz-linear-gradient(top, #08c, #0077b3);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0077b3));
    background-image: -webkit-linear-gradient(top, #08c, #0077b3);
    background-image: -o-linear-gradient(top, #08c, #0077b3);
    background-image: linear-gradient(to bottom, #08c, #0077b3);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0);
}
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > a::after {
    display: block;
    float: right;
    width: 0;
    height: 0;
    margin-top: 5px;
    margin-right: -10px;
    border-color: transparent;
    border-left-color: #ccc;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    content: " ";
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}


/* */
.btn-navbar {
    display: none;
    float: right;
    padding: 7px 10px;
    margin-left: 5px;
    margin-right: 5px;
    background-color: #2c2c2c;
    background-image: -moz-linear-gradient(top, #333, #222);
    background-image: -ms-linear-gradient(top, #333, #222);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#222));
    background-image: -webkit-linear-gradient(top, #333, #222);
    background-image: -o-linear-gradient(top, #333, #222);
    background-image: linear-gradient(top, #333, #222);
    background-repeat: repeat-x;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
    border-color: #222 #222 #000;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.075);
}
.btn-navbar .icon-bar {
    display: block;
    width: 18px;
    height: 2px;
    background-color: #f5f5f5;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

/* */
.navbar .brand {
    float: left;
    display: block;
    padding: 8px 20px 12px;
    margin-left: -20px;
    font-size: 20px;
    font-weight: 200;
    line-height: 1;
    color: #fff;
}
.navbar {
    margin-bottom: 0;
    border: 0;
}
.navbar .nav {
    position: relative;
    left: 0;
    display: block;
    float: left;
}
.navbar .nav > li {
    display: block;
    float: left;
}
.navbar .nav > li > a {
    float: none;
    padding: 10px 10px 11px;
    line-height: 19px;
    color: #999;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: transparent;
}
.nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: transparent;
}


/* */
.form-horizontal .control-group {
    margin-bottom: 18px;
}
.form-horizontal .control-label {
    float: left;
    width: 140px;
    padding-top: 5px;
    text-align: right;
}
.form-horizontal .controls {
    margin-left: 160px;
}
.form-actions {
    padding: 17px 20px 18px;
    margin-top: 18px;
    margin-bottom: 18px;
    background-color: #eee;
    border-top: 1px solid #ddd;
}

/* */
input, textarea, select, .uneditable-input {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
textarea {
    height: 100px;
}
input[type="button"], input[type="reset"], input[type="submit"] {
    width: auto;
    height: auto;
}
input[type="file"] {
    width: auto;
    padding: initial;
    line-height: initial;
    border: initial;
    background-color: #fff;
    background-color: initial;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.input-group > .form-control, .input-group > .custom-select, .input-group > .custom-file {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}
.input-group > .form-control:not(:last-child), .input-group > .custom-select:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
html:not([dir=rtl]) .input-group > .form-control:first-child:not([class*='px-']):not([class*='pl-']), html:not([dir=rtl]) .input-group > .custom-select:first-child:not([class*='px-']):not([class*='pl-']), html:not([dir=rtl]) .input-group > .form-control + .form-control:not([class*='px-']):not([class*='pl-']), html:not([dir=rtl]) .input-group > .form-control + .custom-select:not([class*='px-']):not([class*='pl-']), html:not([dir=rtl]) .input-group > .custom-select + .form-control:not([class*='px-']):not([class*='pl-']), html:not([dir=rtl]) .input-group > .custom-select + .custom-select:not([class*='px-']):not([class*='pl-']) {
    padding-left: 0;
}

/* */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
/* body .modal {
    width: auto;
    margin-left: inherit;
} */
.modal-backdrop {
    opacity: 0.8;
}

/* */
.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

/* */
.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}
.btn-group-header-modal {
    position: absolute;
    right: 50px;
    top: 16px;
}


/* */
.fileupload-preview img {
    width: 100%;
    height: auto;
}


/* 404 */
.gray-bg, .bg-muted {
    background-color: #f3f3f4;
}
.middle-box {
    max-width: 400px;
    z-index: 100;
    margin: 0 auto;
    padding-top: 40px;
}
.middle-box h1 {
    font-size: 170px;
    line-height: 1.1;
}
.text-center {
    text-align: center;
}
.font-bold {
    font-weight: 600;
}
@media (min-width: 992px) {
    .row-fluid > .span1,.row > .span1 {
        width: 8.33333333%;
    }
    .row-fluid > .span2,.row > .span2 {
        width: 16.66666667%;
    }
    .row-fluid > .span3,.row > .span3 {
        width: 25%;
    }
    .row-fluid > .span4,.row > .span4 {
        width: 33.33333333%;
    }
    .row-fluid > .span5,.row > .span5 {
        width: 41.66666667%;
    }
    .row-fluid > .span6,.row > .span6 {
        width: 50%;
    }
    .row-fluid > .span7,.row > .span7 {
        width: 58.33333333%;
    }
    .row-fluid > .span8,.row > .span8 {
        width: 66.66666667%;
    }
    .row-fluid > .span9,.row > .span9 {
        width: 75%;
    }
    .row-fluid > .span10,.row > .span10 {
        width: 83.33333333%;
    }
    .row-fluid > .span11,.row > .span11 {
        width: 91.66666667%;
    }
    .row-fluid > .span12,.row > .span12 {
        width: 100%;
    }
    .row-fluid > [class*="span"] {
        float: left;
    }
}