.mb-0 {margin-bottom: 0;}
.mb-5 {margin-bottom: 5px;}
.mb-10 {margin-bottom: 10px;}
.mb-20 {margin-bottom: 20px;}
.mt-5 {margin-top: 5px;}
.mt-10 {margin-top: 10px;}
.mt-20 {margin-top: 20px;}
.mr-0 {margin-right: 0;}

.pb-5 {padding-bottom: 5px;}
.pb-10 {padding-bottom: 5px;}
.pb-20 {padding-bottom: 5px;}
.pt-5 {padding-top: 5px;}
.pt-10 {padding-top: 10px;}
.pt-20 {padding-top: 20px;}

.nav-sm .navbar.nav_title {
    overflow: hidden;
}

h2 .small {
    color: inherit;
}
.x_title h2 {
    line-height: 23px;
}
.tile-stats {
    min-height: 100px;
}

.container.body .right_col.logo_bg {
    background-image: url("../../admin/public/images/korpusline_logo_big-04-bw.png");
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: center 80%;
}
.copyright {
    position: absolute;
    width: 180px;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: auto;
}

.reg_wrapper {
    margin-top: 0;
}

/* list*/
.table .edit {
    position: relative;
}
.table .edit .dropdown-menu {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    top: 80%;
}
.table .sort_asc:after {
    font-family: FontAwesome;
    content: "\f160";
    opacity: .8;
    margin-left: 10px;
}
.table .sort_desc:after {
    font-family: FontAwesome;
    content: "\f161";
    opacity: .8;
    margin-left: 10px;
}
table {
    font-size: inherit;
}
table tr.sum {
    border-top: solid 2px #ddd;
    font-size: 15px;
}
table tr.sum td,
table tr.sum th{
    text-align: right;
}
table tr.sum th.text-left {
    text-align: left;
}
.table td+td+td {
    text-align: right;
}
.table td+td {
    text-align: right;
}
.table th+th+th {
    text-align: right;
}

.sysmessages {
    clear: both;
}

.chart.small {
    width: 81px;
    height: 81px;
}
.chart.small .percent {
    line-height: 80px;
    font-size: 13px;
}

.err_cont {
    color: #c00000;
}

blockquote {
    font-size: 14.5px;
    padding: 2px 14px;
    margin: 0 0 15px;
}

.embed-grid-wrapper .form-control {
    padding: 6px 2px;
}
.embed-grid-wrapper .row {
    margin-right: -5px;
    margin-left: -5px;
}
.embed-grid-wrapper .embed-grid-row {
    border-top: solid 1px #eee;
    padding-top: 11px;
}
.embed-grid-wrapper .embed-grid-row:nth-child(even) {
    background-color: #f8f8f8;
}


.embed-grid-wrapper .col-md-55,
.embed-grid-wrapper .col-xs-1,
.embed-grid-wrapper .col-sm-1,
.embed-grid-wrapper .col-md-1,
.embed-grid-wrapper .col-lg-1,
.embed-grid-wrapper .col-xs-2,
.embed-grid-wrapper .col-sm-2,
.embed-grid-wrapper .col-md-2,
.embed-grid-wrapper .col-lg-2,
.embed-grid-wrapper .col-xs-3,
.embed-grid-wrapper .col-sm-3,
.embed-grid-wrapper .col-md-3,
.embed-grid-wrapper .col-lg-3,
.embed-grid-wrapper .col-xs-4,
.embed-grid-wrapper .col-sm-4,
.embed-grid-wrapper .col-md-4,
.embed-grid-wrapper .col-lg-4,
.embed-grid-wrapper .col-xs-5,
.embed-grid-wrapper .col-sm-5,
.embed-grid-wrapper .col-md-5,
.embed-grid-wrapper .col-lg-5,
.embed-grid-wrapper .col-xs-6,
.embed-grid-wrapper .col-sm-6,
.embed-grid-wrapper .col-md-6,
.embed-grid-wrapper .col-lg-6,
.embed-grid-wrapper .col-xs-7,
.embed-grid-wrapper .col-sm-7,
.embed-grid-wrapper .col-md-7,
.embed-grid-wrapper .col-lg-7,
.embed-grid-wrapper .col-xs-8,
.embed-grid-wrapper .col-sm-8,
.embed-grid-wrapper .col-md-8,
.embed-grid-wrapper .col-lg-8,
.embed-grid-wrapper .col-xs-9,
.embed-grid-wrapper .col-sm-9,
.embed-grid-wrapper .col-md-9,
.embed-grid-wrapper .col-lg-9,
.embed-grid-wrapper .col-xs-10,
.embed-grid-wrapper .col-sm-10,
.embed-grid-wrapper .col-md-10,
.embed-grid-wrapper .col-lg-10,
.embed-grid-wrapper .col-xs-11,
.embed-grid-wrapper .col-sm-11,
.embed-grid-wrapper .col-md-11,
.embed-grid-wrapper .col-lg-11,
.embed-grid-wrapper .col-xs-12,
.embed-grid-wrapper .col-sm-12,
.embed-grid-wrapper .col-md-12,
.embed-grid-wrapper .col-lg-12 {
    padding-right: 5px;
    padding-left: 5px;
}
.embed-grid-wrapper .w54 {
    width: 54%;
}
.embed-grid-wrapper .w46 {
    width: 46%;
}
.embed-grid-wrapper .w60 {
    width: 60%;
}
.embed-grid-wrapper .w40 {
    width: 40%;
}

.embed-grid-heading-wrapper {
    padding-bottom: 10px;
}
.embed-grid-heading-wrapper .col {
    border-right: 1px solid #eee;;
    min-height: 65px;
}
.embed-grid-heading-wrapper .heading {
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

.embed-grid-header-wrapper {
    padding-bottom: 10px;
}
.embed-grid-header-wrapper .col {
    border-right: 1px solid #eee;;
}
.embed-grid-header-wrapper .col:last-child {
    border: none;
}
.embed-grid-header-wrapper .desc {
    text-align: center;
    display: block;
    font-size: 11px;
}

.embed-grid-view {
    border-top: solid 1px #aaa;
}
.embed-grid-view .embed-grid-row {
    border-top: solid 1px #eee;
}
.embed-grid-view .embed-grid-row .col {
    text-align: center;
    padding: 3px 0;
}
.embed-grid-view .embed-grid-row .col {
    border-right: 1px solid #eee;;
}
.embed-grid-view .embed-grid-row .col:last-child {
    border: none;
}
.embed-grid-row .btn {
    cursor: pointer;
    width: 42%;
    height: 33px;
    font-size: 12px;
    display: block;
    float: left;
    padding: 0;
    margin: 0 0 0 3px;
}
.embed-grid-row input[type="number"]::-webkit-inner-spin-button,
.embed-grid-row input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    -moz-appearance:textfield !important;
}
.embed-grid-row input[type="number"] {
    -moz-appearance: textfield;
}

/* Embed Grid placeholder colors */
.embed-grid-row ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #dddddd;
}
.embed-grid-row ::-moz-placeholder { /* Firefox 19+ */
    color: #dddddd;
}
.embed-grid-row :-ms-input-placeholder { /* IE 10+ */
    color: #dddddd;
}
.embed-grid-row :-moz-placeholder { /* Firefox 18- */
    color: #dddddd;
}
.embed-grid-row .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #dddddd;
}

.embed-grid-row .form-control:focus,
.embed-grid-row .select2-container--focus,
.embed-grid-row .select2-container--open{
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(22, 159, 133, 0.6) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(22, 159, 133, 0.6) !important;
}

.embed-grid-row .form-control {
    font-size: 13px;
}

@media only screen and (max-width: 1300px) {
    .embed-grid-scroll-wrapper {
        overflow-x: scroll;
    }

    .embed-grid-wrapper {
        min-width: 1300px;
    }
}

.select2_single {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    border-radius: 0;
    border-color: #ccc;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    min-height: 34px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-top: 3px;
    font-size: 13px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 31px;
}
.select2-dropdown {
    width: 400px !important;
}
.select2-dropdown .select2-modal {
    position: absolute;
    left: -220px;
    top: 0;
}
.select2-dropdown .select2-results__option .offered {
    font-weight: bold;
    color: #c7254e;
    font-size: 14px;
}
.select2-dropdown .select2-results__option.select2-results__option--highlighted .offered {
    color: #f9f2f4;
}

.status_field {
    color: #fff;
    padding: 5px;
    text-align: center;
}

.status_field.status-1 {
    background-color: #ccc;
}
.status_field.status-2 {
    background-color: #f4d742;
}
.status_field.status-3 {
    background-color: #66b3e5;
}
.status_field.status-4 {
    background-color: rgba(255, 0, 23, 0.67);
}
.status_field.status-5 {
    background-color: rgba(55, 202, 0, 0.67);
}
.status_field.status-6 {
    background-color: rgba(0, 0, 0, 0.45);
}
.status_field.status-7 {
    background-color: rgba(0, 130, 33, 0.67);
}

.bordered-box {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    padding: 10px;
}
.bordered-box .brief {
    margin: 0;
    font-weight: 300;
}

.form-group .btn {
    margin: 0;
}

.diff {
    background-color: rgba(255, 0, 27, 0.28);
}

.icheckbox_flat-green, .iradio_flat-green {
    vertical-align: bottom !important;
}

.input-row {
    padding-top: 8px;
}

/* Exchange */
.group_exchange {
    padding: 15px;
    margin: 20px 0;
    background-color: #fdfdfd;
    border: 1px solid #E6E9ED;
}
.group_exchange .title {
    padding: 15px 0;
    font-size: 18px;
    border-bottom: solid 2px #eee;
    margin-bottom: 20px;
}
.group_exchange_wrapper .collapser i {
    transition: all .5s ease;
    margin-left: 10px;
}
.group_exchange_wrapper .collapser.collapsed i {
    transform: rotate(180deg);
    margin-left: 5px;
}

.login_content form a.btn {
    margin: 0;
    font-size: 14px;
    font-weight: normal;
}
.login_content form .btn {
    margin-right: 0;
}
.login_content form a.btn:hover {
    text-decoration: none;
}

article.content img {
    max-width: 100%;
}