/*
|=============================================================
| SPOTS
|=============================================================
*/

.spot_select_holder {
    display: flex;
    height: 300px;
    max-width: 400px;
    margin: 0 auto -60px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.spot_select_item {
    display: flex;
    border-radius: 8px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(78, 100, 160, .4);
}

/*
|=============================================================
| CASHBOXES
|=============================================================
*/

.transfer_create_form {
    width: 800px;
}

/*
|=============================================================
| CASHFLOW
|=============================================================
*/

.account_widgets {
    max-height: 600px;
}

.account_widget {
    cursor: pointer;
}

.account_item_outer {
    margin-bottom: 10px;
}

.account_item {
    height: 100%;
    display: flex;
    padding: 10px;
    align-items: center;
    border-radius: 8px;
    background-color: #fff;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(75, 0, 189, .08);
}

.account_item_info {}

.account_item_name {
    font-family: RobotoMedium;
    margin-bottom: 5px;
}

.account_item_date {
    font-size: 12px;
}

.account_item_value {
    font-family: RobotoBold;
    font-size: 34px;
    color: #89C3C8;
}

.currencies_holder {
    display: flex;
    flex-wrap: wrap;
    max-height: 360px;
}

.currency_tag {
    width: 40px;
    height: 30px;
    padding: 10px;
    display: flex;
    cursor: pointer;
    min-width: 40px;
    font-size: 12px;
    overflow: hidden;
    margin-right: 5px;
    border-radius: 8px;
    margin-bottom: 5px;
    position: relative;
    align-items: center;
    align-self: flex-end;
    box-sizing: border-box;
    justify-content: center;
    border: 1px solid rgb(216, 225, 245);
}

.currency_tag input + span {
    justify-content: center;
    align-items: center;
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    top: 0;
}

.currency_tag input:checked + span {
    background-color: rgba(78, 100, 160, .2);
}


/*
|=============================================================
| REPORTS
|=============================================================
*/

.analytics_report_holder {
    max-height: calc(100vh - 160px);
    min-width: 600px;
    width: 100%;
}

.currency_item {
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.rate_item {}

.rate_item_line {
    display: flex;
    justify-content: space-between;
}

.rate_item_content {
    margin-left: 40px;
    margin-bottom: 10px;
}

span.dotted {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 3px 1px 3px;
    display: block;
}

/*
|=============================================================
| REFERENCES
|=============================================================
*/

.region_cell_name    {width: 180px;}
.district_cell_name  {width: 180px;}
.locality_cell_name  {width: 180px;}
.event_cell_name     {width: 180px;}
.ownership_cell_name {width: 240px;}
.cfi_cell_name       {width: 360px;}
.cfi_cell_comment    {width: 280px;}
.cfig_cell_name      {width: 260px;}
.cfig_cell_comment   {width: 380px;}
.cfig_cell_comment   {width: 380px;}
.cptype_cell_name    {width: 360px;}
.cltype_cell_name    {width: 360px;}
.cpstatus_cell_name  {width: 360px;}
.clstatus_cell_name  {width: 360px;}
.stype_cell_exid     {width: 180px;}
.stype_cell_name     {width: 180px;}
.stype_cell_code     {width: 180px;}
.car_brand_cell_name {width: 280px;}
.currency_cell_id     {width:  80px;}
.currency_cell_name   {width: 180px;}
.currency_cell_code   {width: 180px;}
.commission_cell_code {width: 180px;}
/*
|=============================================================
| DATETIMEPICKER
|=============================================================
*/

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 10px;
    margin: 2px 0 0;
    list-style: none;
    background-color: #fff;
    border: 1px solid rgb(216, 225, 245);
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 16px rgba(75, 0, 189, .2);
    -moz-box-shadow: 0 4px 16px rgba(75, 0, 189, .2);
    box-shadow: 0 4px 16px rgba(75, 0, 189, .2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

i.glyphicon.icon-arrow-left {
    border-right: 4px solid transparent;
    border-bottom: 4px solid transparent;
    display: inline-block;
    border-top: 4px solid #d8e1f5;
    border-left: 4px solid #d8e1f5;
    transform: rotate(-45deg);
}

i.glyphicon.icon-arrow-right {
    border-right: 4px solid #d8e1f5;
    border-bottom: 4px solid #d8e1f5;
    display: inline-block;
    border-top: 4px solid transparent;
    border-left: 4px solid transparent;
    transform: rotate(-45deg);
}

/*
|=============================================================
| BOARDS
|=============================================================
*/

.board_holder_outer {
    min-height: 260px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgb(234, 238, 248);
    border-bottom: 1px solid rgba(78, 100, 160, .1);
    border-radius: 8px;
}
.board_holder_inner {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    position: relative;
}
.board_name {
    font-family: 'RobotoMedium', sans-serif;
    border-bottom: 1px solid rgba(78, 100, 160, .1);
    padding-bottom: 5px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: .7;
}
.board_list {
    background-color: rgba(255, 255, 255, .4);
    background-color: rgb(217, 226, 245);
    padding: 20px 5px 20px 20px;
    margin-right: 10px;
    margin-bottom: 30px;
    border-radius: 8px;
    max-width: 300px;
    min-width: 300px;
}
.board_list_header {
    font-family: 'RobotoMedium', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
}
.board_list_content {
    max-height: 320px;
    overflow: hidden;
    margin-bottom: 10px;
}
.board_list_action {
    cursor: pointer;
    background-color: rgba(78, 100, 160, .1);
    border-radius: 8px;
    padding: 10px;
    margin: 0 16px 5px 0;
    text-align: center;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}
.board_list_action:hover {
    background-color: rgba(78, 100, 160, .2);
}
.board_card {
    cursor: pointer;
    background-color: rgba(255, 255, 255, .8);
    border-radius: 8px;
    padding: 10px;
    margin: 0 16px 5px 0;
    border-top: 1px solid rgba(78, 100, 160, .1);
    border-bottom: 1px solid rgba(78, 100, 160, .4);
    box-shadow: 0 1px 3px rgba(75, 0, 189, .15);
}
.board_card_header {
    display: flex;
    font-family: RobotoLight;
    font-size: 12px;
    margin-bottom: 5px;
}
.board_card_type {
    margin-right: 5px;
}
.board_card_time {

}
.board_card_desc {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*
|=============================================================
| EVENTS
|=============================================================
*/

.event_view_form {width: 100%; width: 600px;}
.event_view_item {
    padding: 5px 10px;
    background-color: rgba(194, 200, 222, 0.23);
    min-height: 40px;
    display: flex;
    align-items: center;
}
.event_view_item:empty {display: none;}
.event_view_item:nth-child(even) {
    background-color: #fff;
}
.event_view_item span {
    border-right: 1px solid #ccc;
    display: block;
    font-size: 12px;
    font-family: 'RobotoMedium', sans-serif;
    width: 100px;
    margin-right: 15px;
}
.event_view_description {
    word-break: break-all;
    padding: 15px;
    box-shadow: 0 2px 16px rgba(75, 0, 189, .1);
    margin: 10px 0;
    border-radius: 6px;
}
.event_view_id {
    display: inline-block;
    cursor: pointer;
    border-bottom: 1px dotted;
    padding-bottom: 2px;
    margin-top: 10px;
    font-size: 12px;
}

.indicator {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 14px;
    justify-content: center;
    margin: 0 2px;
    width: 14px;
}

.indicator.red {
    background-color: #f25157;
    border: 1px solid #e1424c;
}

.indicator.green {
    background-color: #3aea4a;
    border: 1px solid #2ed23a;
}

.indicator.orange {
    background-color: #fac637;
    border: 1px solid #e6b12b;
}


/*
|=============================================================
| TABLES
|=============================================================
*/

.table_holder {
    padding: 10px;
}

th.th,
td.td
{
    border: 1px solid rgba(78, 100, 160, .4);
    min-width: 26px;
    min-height: 26px;
    padding: 5px;
}

th.th,
td.td.bold
{
    font-weight: normal;
    font-family: "RobotoBold", sans-serif;
}

.simple_table {border-collapse: collapse;}
.simple_table .th {min-width: 100px;}
.simple_table .td {min-width: 100px;}


.jexcel tbody tr:nth-child(even) {
    background-color: rgb(238 246 253);
}

tr.selected td {
    background-color: rgba(216, 225, 245, .4);
}

tr.header {
    background-color: rgba(216, 225, 245, .4);
}


/*
|=============================================================
| SELECT2
|=============================================================
*/

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
    background-color: rgba(255, 255, 255, 0.7);
    height: 50px;
    color: #4e64a0;
    outline: none;
    border-radius: 8px;
    border: 1px solid rgb(216, 225, 245);
    display: flex;
    align-items: center;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid rgb(216, 225, 245);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #d8e1f5;
    border: none;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin: 2px 5px 2px 0;
    padding: 0 5px;
    height: 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #4e64a0;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 2px;
}


/*
|=============================================================
| EXPERIMENTAL
|=============================================================
*/

form.cell_editable_form {
    max-width: 100%;
}

input.cell_editable_input {
    height: 30px;
    margin-bottom: 0;
    min-width: auto;
}

.id_link_holder {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.id_link_holder a {
    background-color: rgba(255, 192, 7, .2);
    padding: 5px;
    border-radius: 8px;
    font-size: 12px;
    width: calc(50% - 2px);
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.id_link_holder a img {
    max-height: 100%;
}

.id_link_holder a:hover {
    background-color: rgba(255, 192, 7, .4);
}

.widget_item_holder {

}

.widget_item {
    height: 100%;
    display: flex;
    padding: 10px;
    align-items: center;
    border-radius: 8px;
    flex-direction: column;
    background-color: #fff;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(75, 0, 189, .08);
}

.widget_item_info {

}

.widget_item_name {
    width: 100%;
    opacity: .7;
    font-size: 16px;
    margin-bottom: 5px;
    padding: 0 5px 5px;
    letter-spacing: 0.05em;
    font-family: 'RobotoBold';
    border-bottom: 1px solid #f0f1f6;
}

.widget_item_content {

}

.cashbox_widget_content {
    max-height: 260px;
    width: 100%;
}

.cashbox_widget_content_item {
    display: flex;
    padding: 5px;
    justify-content: space-between;
}

.cashbox_widget_content_item:nth-child(even) {
    background-color: #f0f1f6;
}

.cashbox_widget_content_item_name {

}

.cashbox_widget_content_item_value {

}

.module_bottom_actions {
    position: fixed;
    bottom: 20px;
}

.module_bottom_action {
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 2px 15px rgba(75, 0, 189, .1);
    z-index: 150;
    display: flex;
    width: 200px;
    height: 60px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
    border-top: 1px solid #d8e1f5;
    border-bottom: 4px solid #a1afd4;
}

.module_bottom_action:hover {
    box-shadow: 0 2px 25px rgba(75, 0, 189, .3);
}