@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-weight: 300;
}

a {
    color: #35514A;
}

select {
    background: url(arrow.png);
    background-position: right 10px center;
    background-size: 35px;
    background-repeat: no-repeat;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #FFF;
    font-weight: 300;
}

body ::-webkit-input-placeholder {
    /* WebKit browsers */
    font-family: 'Source Sans Pro', sans-serif;
    color: #FFF;
    font-weight: 300;
}

body :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-family: 'Source Sans Pro', sans-serif;
    color: #FFF;
    opacity: 1;
    font-weight: 300;
}

body ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-family: 'Source Sans Pro', sans-serif;
    color: #FFF;
    opacity: 1;
    font-weight: 300;
}

body :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-family: 'Source Sans Pro', sans-serif;
    color: #FFF;
    font-weight: 300;
}

.wrapper {
    background: #2D524A;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    background-image: url(bg-1.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

.wrapper.form-success .container h1 {
    -webkit-transform: translateY(85px);
    transform: translateY(85px);
}

.btn-secondary.btn-lg {
    background: #D4482D;
    box-shadow: none !important;
    border-radius: 3px;
    -webkit-box-shadow: none !important;
    line-height: 23px;
    color: #FFF;
}

.btn-secondary.btn-lg:hover,
.btn-secondary.btn-lg:focus {
    opacity: 0.8;
}

.container {
    max-width: 600px;
    margin: 0 auto 2em;
    padding: 0;
    text-align: center;
}

.container h1 {
    font-size: 40px;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-timing-function: ease-in-put;
    transition-timing-function: ease-in-put;
    font-weight: 200;
    margin-top: 0;
}

form {
    padding: 1em 0;
    position: relative;
    z-index: 2;
}

form input,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.2);
    width: 300px;
    border-radius: 3px;
    padding: 10px 15px;
    margin: 0 auto 10px auto;
    display: block;
    font-size: 18px;
    color: #35514A;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
    font-weight: 300;
}

form input:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

form input:focus {
    background-color: #35514A;
    width: 320px;
    color: #53e3a6;
}

form button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background-color: #D4482D;
    border: 0;
    padding: 10px 15px;
    color: #FFF;
    border-radius: 3px;
    width: 300px;
    cursor: pointer;
    font-size: 18px;
    -webkit-transition-duration: 0.25s;
    transition-duration: 0.25s;
}

form button:hover {
    background-color: #223B35;
}

#logo {
    margin-bottom: 1em;
    width: 180px;
}

.welcome a {
    color: #FFF;
    text-decoration: underline;
}

h3.sub-title {
    margin-top: 0;
}

.btn-list,
.btn-block+.btn-block,
#total_sales {
    margin-top: 1em;
}

.btn-list .btn-secondary.btn-lg {
    width: 300px;
    margin: 1em auto;
}

p.btn-list.modal-btn, p.btn-list.modal-btn button.btn.btn-secondary.btn-lg.active.btn-block {
    margin-top: 0 !important;
}

.half-rule {
    width: 30%;
    margin: 1em auto;
    opacity: 0.1;
}

.warehouse-update input,
.date,
.person_in_charge,
.item,
.invoice,
.staff,
.unit,
#closing-balance-form input,
#part-time-salary-form input,
#expenses-claim-form input,
#inventory-purchase input,
#warehouse-insert input,
.user-update input,
#warehouse-insert,
.warehouse-list a,
.warehouse-list a:hover,
.user-list a,
.user-list a:hover,
#start_date,
#end_date {
    color: #FFF;
}

.warehouse-list .col-xs-12,
.user-list .col-xs-12 {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    font-size: 16px;
    margin: 0.2em auto;
    max-width: 300px;
}

.warehouse-list .col-xs-6.name,
.user-list .col-xs-6.name {
    text-align: left;
}

.btn-group.qty-form {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    margin: 0 auto 1em;
}

.qty-form input {
    width: inherit !important;
    color: #FFF;
    font-size: 18px;
    padding: 10px 15px;
}

p.btn-list.warehouse {
    margin: 0;
}

p.btn-list.warehouse a.btn.btn-secondary.btn-lg.active.btn-block {
    margin: 0 auto 1em;
}

button#delete-button {
    opacity: 0.6;
}

button#delete-button:hover {
    opacity: 1;
}

.table tbody>tr>td {
    border-top: none;
    padding: 0.1em 2em;
}

tr.total {
    text-decoration: underline;
    text-decoration-style: double;
}

td:nth-child(odd),
table.table.pic tr td:first-child {
    text-align: left;
}

td:nth-child(even),
table.table.pic tr td:nth-child(2),
table.table.pic tr td:nth-child(3) {
    text-align: right;
}

.alert-danger {
    color: #FFF;
    background-color: #D4482D;
    border-color: #D4482D;
}

table.report-table {
    width: 350px;
    margin: 0 auto;
}

#report_search input[type=date] {
    text-align: right;
}

#report_search input[type="date"]:before {
    color: #FFF;
    content: attr(placeholder) !important;
    float: left;
}

#report_search input[type="date"]:focus:before {
    content: '' !important;
}

.modal-dialog {
    margin: 80px auto;
    width: 320px !important;
}

.modal-content {
    background: #C55238 !important;
}

.btn.btn-link.btn-lg.btn-block.close-btn {
    background: #FFF;
    color: #000;
    opacity: 0.5;
}

.doublecheck_list {
    width: 90%;
    margin: 1em auto 1em;
}

.doublecheck_list p {
    display: inline-block;
    margin: 0;
    width: 100%;
}

.doublecheck_list p span:nth-child(odd) {
    float: left;
    text-align: left;
}

.doublecheck_list p span:nth-child(even) {
    float: right;
    text-align: right;
}