/*General CSS*/

html, body{
	height: 100%;
    font-family: 'Source Sans Pro', sans-serif !important;
}
body{
    display: flex;
    flex-direction: column;
}
#wrapper {
    margin-bottom: 100px;
    flex: 1;
}

::-webkit-full-page-media, _:future, :root #wrapper {
    padding-bottom: 100px;
}

body{
    overflow-x: scroll;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    height: 100%;
}

.login{
    width: 100%;
    min-height: 100%;
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}
.login > .row {
    max-width: 600px;
    min-height: 375px;
    width: 100% !important;
    padding: 30px 100px 89px;
    border-radius: 13px;
    margin: auto !important;
    position: relative;
}


.panel-heading {
    padding: 10px 0;
}

.container label {
    width: 100%;
    display: block;
    position: relative;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

.login .form-group div{
	padding: 0;
}

.footer {
    width: 100%;
    height: 60px;
    background-color: #FFF;
    color: #000;
    margin-top: 50px;
    border-top: 1px solid #000;
}

.footer .container {
    display: table-cell;
    height: inherit;
    vertical-align: middle;
    padding-left: 100px;
}

.dt-buttons > a, .dt-button {
    background-color: #0275d8 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px !important;
    background-image: none !important;
}

.dt-buttons span, .dt-button span {
    background-color: #0275d8;
    border: none;
    border-radius: 0;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

.dataTables_filter {
    float: left !important;
    margin-left: 50px;
    margin-top: 5px;
}

.dt-buttons {
    margin-left: 50px;
    margin-bottom: 20px;
}

div#orders_info {
    margin-left: 50px;
}

.navbar.navbar-inverse {
    padding-left: 50px;
}

.nav-item a {
    color: #FFF !important;
    font-size: 20px;
}

button {
    background-color: #000;
    border: none;
    border-radius: 0;
    color: #FFF;
    padding: 10px;
    margin-top: 20px;
    cursor: pointer;
}

/*tables*/

tfoot input[type="text"] {
    width: 59px !important;
}

th.sorting_asc {
    white-space:nowrap;
}

.content td {
    width: 1% !important;
    white-space: nowrap !important;
}


table#orders {
    width: 20% !important;
    font-size: 14px !important;
}
/*orders*/
#welcome h1, #welcomeorder h1, #welcomeorder > a, #welcome > a, #welcomeclients h1, #welcomeclients > a, #welcomeusers h1, #welcomeusers > a{
    padding: 50px;
}

#welcomeclients thead > tr > th, #welcomeusers thead > tr > th {
    background-color: #FFF;
    border: 1px solid #f4f4f4;
    font-weight: 500;
    font-size: 18px;
}

#orders.clients thead {
    border-top: 2px solid #000;
}

#orders.clients tr:nth-child(even), #orders.userstable tr:nth-child(even), #ordersFrm tr:nth-child(even) {
    background-color: #f4F4F4 !important;
}

#orders.clients tr:first-of-type, #orders.userstable tr:first-of-type, #ordersFrm tr:first-of-type {
    background-color: #FFF !important;
}

#wrapper #container .dataTables_paginate > span > a {
    background: #0275d8 !important;
    border: none;
    color: #ffffff !important;
}

/*editpage*/

.editorder dl {
    width: 100%;
    margin: 0;
    margin-left: 100px;
}


.editorder dt {
    font-size: 20px;
    border: 2px solid #0275d8;
    background-color: #0275d8!important;
    color: #fff;
}

/*edituser*/

#orders tbody.content td {
    font-size: 14px;
    font-weight: 700;
    border-right: none;
    border-left: none;
    padding: 5px;
}

.edituser form {
    width: 100%;
    margin: 0 auto;
    margin-left: 50px !important;
}

.edituser button {
    margin-top: 30px;
}

.edituser label, .edituser input {
    width: 300px;
}

#form_clients input, #form_clients label {
    display: inline-block;
}

#form_clients{
    width: 100%;
}

#form_clients > input {
    width: 1%;
    margin-right: 1%;
}

#form_clients > label {
    width: 23%;
}

/*clients*/
table#orders {
    width: 50% !important;
    margin: 0 !important;
    margin-left: 50px !important;
    margin-top: 25px !important;
}

/*client edit*/

.clientedit label {
    width: 200px;
}
.clientedit button {
    margin-top: 35px;
}

#orders.clients {
    margin-left: 50px !important;
    width: 65% !important;
}

/*order edit*/

.editorder {
    margin: 0 50px;
}

#welcome fieldset legend, .clientedit{
    margin-left: 50px;
}

#welcome > fieldset{
    width: 70% !important;
}

.editorder #welcome h1 {
    padding: 50px 0;
}

/*ordertable*/

#ordersFrm thead > tr > th {
    border-bottom: none;
    font-weight: 500;
    font-size: 18px;
}

#ordersFrm thead > tr {
    border-top: 2px solid #000;
}

table#orders {
    margin-top: 25px !important;
    table-layout: auto !important;
    border-collapse: collapse;
    position: relative;
    margin-bottom: 20px !important;
}

table.dataTable thead th, table.dataTable thead td {
    padding: 10px 18px;
    border-bottom: 1px solid #111;
    padding: 5px !important;
    white-space: nowrap !important;
}

table.dataTable thead th a, table.dataTable thead td a{
    color: #000;
}

#orders td {
    padding: 10px 0 10px 2px;
}

/*users*/

#orders.userstable {
    margin-left: 50px !important;
}

#orders.userstable thead {
    border-top: 2px solid #000;
}

@media screen and (max-width: 650px){
    select {
        width: 75%;
    }

    #form_clients > label {
        width: 91%;
    }

    #form_clients > input {
        width: 7%;
        margin-right: 1%;
    }
}

/*opm esteban*/

.bg-primary {
    background-color: #FFF !important;
}

.navbar.navbar-inverse {
    padding-left: 50px;
    border-bottom: 1px solid #000;
}

.navbar-inverse > .navbar-brand {
    color: #fff !important;
}

#okBtn {
    padding: 9px 21px;
    margin: 10px;
}

.navbar.bg-primary {
    background-color: #000 !important;
}

#welcome tbody > tr:first-of-type {
    font-size: 18px;
    background-color: #fff !important;
    border-bottom: 1px solid;
}



#welcomeorder tbody > tr > th, #welcomeorder tbody > tr > td, #welcomeclients tbody > tr > th, #welcomeclients tbody > tr > td, #welcomeusers tbody > tr > th, #welcomeuser tbody > tr > td    {
    border: 1px solid #f4f4f4;
    padding: 5px;
    border-right: none;
    border-left: none;
}



#welcome tbody > tr:first-of-type > th {
    font-weight: 100;
    font-size: 18px;
}

#welcome table {
    display: inline-block;
    vertical-align: top;
}

.editorder table {
    width: 75%;
}


.editorder table{
    margin: 20px 0;
}

.editorder tbody {
    width: 100% !important;
    display: table;
}

#welcome tbody > tr > th, strong {
    font-weight: 900;
    font-size: 16px;
    color: #000;
}

#welcome tbody > tr > td {
    font-weight: 400;
    font-size: 14px;
    color: #333333;
}

@media screen and (max-width: 1100px){
    .editorder table{
        width: 100% !important;
        display: block;
    }
}

/*feedback 15-11-2017*/
.filter, #statusfilter, #limit, .count {
    margin-left: 50px;
}

#welcomeorder > .filter > form > select {
    font-family: 'Source Sans Pro';
}

.filter, #statusfilter, #limit {
    margin-bottom: 10px;
}

.filter button, #limit button {
    padding: 3px 15px;
}

.statusfilter {
    margin-right: 10px;
    padding: 3px 15px;
}

.navbar-nav > .nav-item:last-of-type {
    float: right;
}

.navbar-nav {
    width: 100%;
}

.nav-item {
    display: inline-block !important;
    position: relative !important;
    float: left;
}

.gray{
    background-color: #999;
}

.black{
    background-color: #000;
}

.blue{
    background-color: #428bca;
}

.orange{
    background-color: #f0ad4e;
}

.yellow {
    background-color: #F0E68C;
}

.green {
    background-color: #5cb85c;
}

.red {
    background-color: #d9534f;
}

span.red, span.green, span.yellow, span.orange, span.blue, span.black, span.gray{
    color: #fff;
    padding: 2px;
}

.pagination > span > a {
    padding: 10px 15px;
    background-color: #000;
    color: #fff;
}

.pagination > .current{
    padding: 0px 15px;
}

.pagination {
    width: 90%;
    margin-left: 50px;
}

#welcomeorder tbody > tr > td:last-of-type{
    border-right: 1px solid #f4f4f4; 
}

.editorder tbody > tr > th{
    width: 200px;
}

#welcome th {
    vertical-align: top;
}

.pull-right{
    width: 75px;
}

@media screen and (max-width: 991px){
    .pull-right{
        float:left !important;
    }
}

.back a{
    color:#FFF;
}

.back a:hover{
    text-decoration: none;
    color: #FFF;
}

.filter > form, #reset {
    display: inline-block;
}


