.lm_goldenlayout {
    background: transparent;
}

.lm_item_container {
    overflow: hidden;
    position: relative;
}

.lm_items {
    -webkit-box-shadow: 1px 1px 10px 2px rgba(212, 212, 212, 0.24);
    -moz-box-shadow: 1px 1px 10px 2px rgba(212, 212, 212, 0.24);
    box-shadow: 1px 1px 10px 2px rgba(212, 212, 212, 0.24);
}
.lm_item_container .lm_content {
    background: #ffffff;
    border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
}
.lm_dragProxy  {
    z-index: 800;
}

.lm_dragProxy .lm_content {
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    box-sizing: border-box
}

.lm_dropTargetIndicator {
    z-index: 700;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
    outline: 1px dashed #cccccc;
    margin: 1px;
    transition: all 200ms ease;
}

.lm_dropTargetIndicator .lm_inner {
    background: #000000;
    opacity: .1
}

.lm_splitter {
    background: rgba(153, 153, 153, 0.60);
    opacity: .001;
    transition: opacity 200ms ease;
    z-index: 700
}

.lm_splitter:hover,
.lm_splitter.lm_dragging {
    background: #bbbbbb;
    opacity: 1
}

.lm_header {
    height: 20px;
    z-index: 699;
}

.lm_header.lm_selectable {
    cursor: pointer
}

.lm_header .lm_tabs {
    z-index: 200;
}
.lm_header .lm_controls {
    z-index: 100;
    right: 0px;
    top: 5px;
    padding-left: 4px;
}
.lm_header .lm_controls > li.disabled {
    opacity: 0.2;
    cursor: not-allowed;
}
.lm_header .lm_tab.lm_dummy .lm_resize_header_tab,
.lm_header .lm_tab.lm_dummy .lm_close_tab {
    display: none;
}
.lm_header .lm_tab {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 11px;
    color: #888888;
    /*font-weight: 700;*/
    background: rgba(214, 214, 214, 0.5);
    margin-right: 2px;
    border: none;
    border-bottom: none;
    height: 25px;
    margin-top: 1px;
    padding: 2px 10px 0px;
    padding-right: 33px;
    position: relative;    
    width: auto;
    max-width: none;
    white-space: nowrap;
}

.lm_header .lm_tab:not(.lm_active) {
    background-color: rgba(220, 220, 220, 1) !important;
    color: #888888 !important;
}

.lm_header .lm_tab .lm_title {
    padding-top: 2px
}

.lm_header .lm_tab .lm_close_tab {
    width: 8px;
    height: 8px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAIklEQVR4nGNgYGD4z4Ad/Mdg4ODDBXCZRFgCp5EEHQMXBwAQAgz0SVCcggAAAABJRU5ErkJggg==);
    background-position: top left;
    background-repeat: no-repeat;
    right: 5px;
    top: 10px;
    opacity: .4;
}

.lm_header .lm_tab .lm_close_tab:hover {
    opacity: 1
}

.lm_header .lm_tab .lm_resize_header_tab {
    width: 14px;
    height: 15px;
    right: 15px;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAYAAAA1WQxeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QYBCQQP3TITWAAAACtJREFUCNdjZGBgmMOABzAyMDBw4lPAwsDAIEZIQSYhK9QJKRAkpGAuPgUA/9oCB/IUox4AAAAASUVORK5CYII=');
    background-position: 4px 4px;
    background-repeat: no-repeat;
    top: 6px;
    font-size: 9px;
    opacity: .5;
    position: absolute;
}
.lm_maximised .lm_close_tab {
    display: none;
}
.lm_maximised .lm_header .lm_tab .lm_resize_header_tab {
    right: 5px;
}

.lm_header .lm_tab .lm_resize_header_tab:only-of-type {
    right: 5px;
}

.lm_resize_header_tab i {
    font-size: 12px;
}

.lm_header .lm_tab .lm_resize_header_tab:hover {
    opacity: 1
}

.lm_header ul.lm_tabdropdown_list .lm_resize_header_tab {
    display: none !important;
}

.lm_header ul.lm_tabdropdown_list {
    position: absolute;
    top: 28px;
    margin-left: 2px;
    margin-right: 2px;
    z-index: 5;
    overflow: hidden;
    background-color: rgba(220, 220, 220, 1);
    display: table;
    width: 100%;
}

.lm_header ul.lm_tabdropdown_list li.lm_tab {
  display: table-cell;
  width:100%;
}
.lm_header .lm_tabdropdown_list .lm_tab .lm_title {
    width: auto;
    max-width: 100% !important;
}

.lm_header .lm_tab.lm_active {
    border-bottom: none;
    -webkit-box-shadow: 1px 1px 10px -4px rgba(212,212,212,0.4);
    -moz-box-shadow: 1px 1px 10px -4px rgba(212,212,212,0.4);
    box-shadow: 1px 1px 10px -4px rgba(212,212,212,0.4);
    padding-bottom: 0px;
}

.lm_dragProxy.lm_bottom .lm_header .lm_tab.lm_active,
.lm_stack.lm_bottom .lm_header .lm_tab.lm_active {
    box-shadow: 2px 2px 2px -2px rgba(0, 0, 0, 0.2)
}

.lm_selected .lm_header {
    background-color: #452500
}

.lm_tab:hover,
.lm_tab.lm_active {
    background: #ffffff;
    color: #444444;
}
.lm_tab.lm_active {
    border-style: solid;
    border-width: 2px;
}
.lm_header .lm_tabdropdown + .lm_tab.lm_active {
    border-left: none;
}

ul.lm_tabdropdown_list .lm_tab:hover,
ul.lm_tabdropdown_list .lm_tab.lm_active {
    background: rgba(255, 255, 255, 0.7);
    color: #444444;
}



.lm_header .lm_controls .lm_tabdropdown:before {
    color: #000000
}

.lm_controls>li {
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .4;
    transition: opacity 300ms ease
}

.lm_controls>li:hover {
    opacity: 1
}
.lm_controls>li.disabled:hover {
    opacity: 0.2;
}

.lm_controls .lm_popout {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAANUlEQVR4nI2QMQoAMAwCz5L/f9mOzZIaN0E9UDyZhaaQz6atgBHgambEJ5wBKoS0WaIvfT+6K2MIECN19MAAAAAASUVORK5CYII=)
}

.lm_controls .lm_maximise {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAIklEQVR4nGNkYGD4z0AAMBFSAAOETPpPlEmDUREjAxHhBABPvAQLFv3qngAAAABJRU5ErkJggg==)
}

.lm_controls .lm_close {
    display: none !important;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAKUlEQVR4nGNgYGD4z4Af/Mdg4FKASwCnDf8JKSBoAtEmEXQTQd8RDCcA6+4Q8OvIgasAAAAASUVORK5CYII=)
}

.lm_maximised {
    /*z-index: 1000;*/
    z-index: 1502;
}
.lm_maximised .lm_header {
    background-color: #f5f5f5;
}

.lm_maximised .lm_controls .lm_maximise {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAJklEQVR4nGP8//8/AyHARFDFUFbEwsDAwMDIyIgzHP7//89IlEkApSkHEScJTKoAAAAASUVORK5CYII=)
}
/* Do not display the close icon when maximised a container */
.lm_maximised .lm_close {
    display: none !important;
}

.lm_transition_indicator {
    background-color: #000000;
    border: 1px dashed #555555
}

.lm_popin {
    cursor: pointer
}

.lm_popin .lm_bg {
    background: #000000;
    opacity: .7
}

.lm_popin .lm_icon {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAJCAYAAADpeqZqAAAAWklEQVR4nJWOyw3AIAxDHcQC7L8jbwT3AlJBfNp3SiI7dtRaLSlKKeoA1oEsKSQZCEluexw8Tm3ohk+E7bnOUHUGcNh+HwbBygw4AZ7FN/Lt84p0l+yTflV8AKQyLdcCRJi/AAAAAElFTkSuQmCC);
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .7
}

.lm_popin:hover .lm_icon {
    opacity: 1
}

.lm_header .lm_tabdropdown {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 11px;
    color: #888888;
    /*font-weight: 700;*/
    background: rgba(214, 214, 214, 0.5);
    margin-right: 2px;
    border: none;
    border-bottom: none;
    height: 25px;
    margin-top: 1px;
    padding: 2px 10px 0px;
    float: right;
    padding-right: 20px;
    position: relative;
    cursor: pointer;
}

.lm_header .lm_tabdropdown:not(.lm_active) {
    background-color: rgba(214, 214, 214, 0.9) !important;
    color: #888888 !important;
}

.lm_header .lm_tabdropdown .lm_title {
    padding-top: 2px
}

.lm_header .lm_tabdropdown .lm_resize_header_tab {
    width: 11px;
    height: 11px;
    right: 10px;
    top: 9px;
    font-size: 9px;
    opacity: .4;
    position: absolute;
}

.lm_splitter.lm_horizontal .lm_drag_handle {
    width: 10px;
    left: 0px;
}
.lm_splitter.lm_vertical .lm_drag_handle {
    height: 10px;
    top: 0px;
}


/* Smarthpone style for Golden Layout */
@media (max-width: 768px)
{
    .layout-xs .content {
        height: auto !important;
    }
    
    .layout-xs .lm_item_container {
        overflow: visible;
        width: 100% !important;
        height: auto !important;
    }

    .layout-xs .panel .panel-body {
        overflow-y: visible !important;
    }

    .layout-xs .page-container, 
    .layout-xs .lm_items,
    .layout-xs .lm_item,
    .layout-xs .lm_row > .lm_item.lm_column,
    .layout-xs .lm_row > .lm_item.lm_stack,
    .layout-xs .lm_content,
    .layout-xs .panel,
    .layout-xs .panel .panel-body, 
    .layout-xs .panel .panel-body .panel-body-content {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .layout-xs .lm_item:before, 
    .layout-xs .lm_item:after {
        content: " ";
        display: table;
    }
    .layout-xs .lm_item:after {
        clear: both;
    }

    .layout-xs .lm_row > .lm_splitter.lm_horizontal {
        height: 10px !important;
    }
    .layout-xs .lm_splitter {
        background: none !important;
    }
    .layout-xs .lm_splitter .lm-drag_handle {
        cursor: pointer !important;
    }

    .lm_splitter.lm_vertical .lm_drag_handle {
        cursor: default;
    }
}