﻿/* Dropdown */
.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    margin-top: -8px;
    content: '\f107';
    font-family: FontAwesome, Arial, sans-serif;
    font-size: 16px;
    border: 0;
}

.dropdown.show .dropdown-toggle::after, .dropdown-toggle[aria-expanded=true] {
    content: '\f106';
}

.dropdown-menu {
    border: 0;
    box-shadow: 0px 0px 128px 0px rgba(0,0,0,0.15);
}

.dropdown.show .dropdown-menu {
    animation-name: fadeIn;
    animation-duration: .2s;
}

.dropdown-item {
    padding: 10px 16px;
    font-size: 13px;
}

    .dropdown-item:active {
        background: rgba(0,0,0,.1);
    }

/* Form elements */
.form-control {
    border: 1px solid #fff;
    box-shadow: 0px 2px 0px 0px rgba(0,0,0,0.1);
}

    .form-control:focus {
        border-color: #7fafcd;
        box-shadow: 0 0 0 0.2rem rgba(127,175,205,.25);
    }

label {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

/* Primary */
.btn-primary, .btn-secondary {
    height: 40px;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: 0px 2px 0px 0px rgba(0,0,0,0.1);
}

    .btn-primary, .btn-primary.disabled, .btn-primary:disabled, .page-item.active .page-link {
        background-color: #7fafcd;
        border-color: #7fafcd;
    }

        .btn-primary:hover {
            background-color: #6999b6;
            border-color: #6999b6;
            box-shadow: 0px 2px 0px 0px rgba(0,0,0,0.1);
        }

        .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
            background-color: #57839e;
            border-color: #57839e;
            box-shadow: 0 0 0 0.2rem rgba(127,175,205,.5), inset 0px 2px 0px 0px rgba(0,0,0,0.1);
        }

            .btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
                box-shadow: inset 0px 2px 0px 0px rgba(0,0,0,0.1);
            }

    /* Secondary */
    .btn-secondary:hover {
        box-shadow: 0px 2px 0px 0px rgba(0,0,0,0.1);
    }

    .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
        box-shadow: 0 0 0 0.2rem rgba(127,175,205,.5), inset 0px 2px 0px 0px rgba(0,0,0,0.1);
    }

        .btn-secondary.focus, .btn-secondary:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show > .btn-secondary.dropdown-toggle:focus {
            box-shadow: inset 0px 2px 0px 0px rgba(0,0,0,0.1);
        }

/* Tables */
.table > thead > tr > th {
    border-bottom: 0;
    border-right: 1px solid #eee;
}

    .table > thead > tr > th:last-child {
        text-align: right;
        border-right: 1px solid transparent;
    }

    .table > thead > tr > th.sorting:last-child, .table > thead > tr > th.sorting_asc:last-child, .table > thead > tr > th.sorting_desc:last-child {
        padding-right: 30px;
    }

.table > tbody > tr > td {
    border-top: 1px solid #eee;
    padding-top: 10px;
    padding-bottom: 10px;
    vertical-align: middle;
    height: 28px;
}

    .table > tbody > tr > td:last-child:not(.dataTables_empty) {
        text-align: right;
    }

table.dataTable.no-footer {
    border-bottom: 1px solid #eee;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background-position: right 6px center !important;
}

.table > tbody > tr:nth-child(odd) td {
    background: rgba(0,0,0,.025);
}

table.dataTable.hover tbody tr:hover td, table.dataTable.display tbody tr:hover td {
    background: rgba(0,0,0,0.05) !important;
}

.row-gutter .datatable-paginate {
    margin: 0;
    display: inline-block;
}

.row-gutter .datatable-info {
    margin: 0 0 0 10px;
    display: inline-block;
    line-height: 40px;
}

.dataTables_info {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 32px;
}

.datatable-filter {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
    padding: 16px 0 10px 0;
}

.datatable-search {
    margin-right: 140px;
}

    .datatable-search.withadvancedlists {
        margin-right: 209px;
    }

.datatable-advancedlist {
    width: 69px;
    float: right;
    text-align: right;
    padding-left: 16px;
    display: none;
}

.datatable-length {
    width: 140px;
    float: right;
    text-align: right;
    padding-left: 16px;
}

    .datatable-length select {
        width: 100%;
        height: 32px;
        padding: 0 8px;
        border-radius: 0px;
        font-size: 13px;
        font-weight: 400;
        line-height: 1;
        background: rgba(255, 255, 255, 0.97);
        color: #212121;
        outline: 0;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -webkit-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        box-shadow: inset 0 2px 0 rgba(0, 0, 0, .1);
        border: 1px solid #ccc;
    }

.datatable-selectwrapper {
    position: relative;
}

    .datatable-selectwrapper:after {
        content: "\f0dc";
        font-family: FontAwesome, Arial, sans-serif;
        font-style: normal;
        font-weight: normal;
        position: absolute;
        font-size: 16px;
        color: #888;
        top: 50%;
        right: 10px;
        margin: 5px 0 0 0;
        z-index: 99;
        pointer-events: none;
    }

.datatable-breadcrumbs {
    display: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.paginate_button {
    cursor: pointer;
    outline: none !important;
}

.buttons button {
    background: #d5012f;
    border: 1px solid #bb0029;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 0;
    width: 32px;
    margin: 0 0 0 3px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    outline: none !important;
}

.adjustbuttons button {
    width: 40px;
    height: 40px;
    padding: 6px 10px;
}

.adjustbuttons input {
    width: 64px !important;
    display: inline !important;
}

.datatable-filter label {
    width: 100%;
}

.datatable-filter input {
    width: 100%;
    height: 32px;
    padding: 10px 8px;
    border-radius: 0px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    background: rgba(255, 255, 255, 0.97);
    color: #212121;
    outline: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    box-shadow: inset 0 2px 0 rgba(0, 0, 0, .1);
    border: 1px solid #ccc;
}
