/* listing */

.bg-grey {
    background-color: #e8e8e8;
}

.media-listing {
    position: relative;
    min-height: 235px;
}

.media-listing .media-listing-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 235px;
    height: 260px;
    max-width: 100%;
    max-height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.media-listing .media-listing-body {
    padding: 20px 20px 20px 255px;
}

.media-listing .media-listing-body-right {
    padding-bottom: 30px;
}

@media (max-width: 767px) {
    .media-listing .media-listing-img {
        position: relative;
        margin-top: 20px;
        margin-left: 20px;
    }
    .media-listing .media-listing-body {
        padding-left: 20px;
    }
}

.media-listing .media-listing-title {
    margin-top: 0;
    font-weight: 600;
}

.panel-heading {
    color: #797b7c;
}

@media (max-width: 1599px) {
    .media-listing .media-listing-img {
        display: none;
    }        
    .media-listing .media-listing-body {
        padding-left: 20px;
    }    
}    


/* media house */

@media (min-width: 992px) {
    .media-house {
        display: table;
        table-layout: fixed;
        width: 100%;
        min-height: 320px;
    }
    .media-house .media-house-body,
    .media-house .media-house-info {
        display: table-cell;
    }
    .media-house .media-house-info {
        width: 250px;
    }
}

.media-house-body {
    position: relative;
    padding-left: 280px;
}

.media-house-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 270px;
    height: 320px;
    max-width: 100%;
    max-height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

table.media-house-table-info {
    table-layout: fixed;
    width: 100%;
}

table.media-house-table-info td {
    padding: 8px;
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .media-house-img {
        display: none;
    }
    .media-house-body {
        padding-left: 0;
    }
}
@media (max-width: 650px) {
    .media-house-img {
        display: none;
    }
    .media-house-body {
        padding-left: 0;
    }
}

/* link block */

.panel-body-link-block {
    display: block;
    position: relative;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border: none;
    color: #fff;
    transition: all 0.3s;
}

.panel-body-link-block h4 {
    position: relative;
}

.panel-body-link-block:hover,
.panel-body-link-block:focus {
    color: #fff;
}

.panel-body-link-block-img:before {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.5);
    transition: all 0.3s;
}

.panel-body-link-block-img:hover::before {
    background-color: rgba(50, 50, 50, 0.7);
}

.panel-body-link-block-img .panel-body-link-footer{
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.panel-scroller-pn .scroller-content {
    padding: 0;
}



/* popup */

.edh-popup-basic {
    border: 4px solid transparent;
    background-color: #e8e8e8;
    color: #797
}

/* login dropdown arrow */

.edh-login-dropdown-menu:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    right: 3px;
    bottom: 100%;
    border-width: 0 10px 10px;
    border-bottom-color: #dfdfdf;
}


/* housing menu */

.sidebar-menu.housing-menu>li>a {
    height: auto;
    margin: 0 3px 0 10px;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    font-size: 13px;
}

.sidebar-menu.housing-menu li:last-child>a {
    border-bottom: none;
}

.sidebar-menu.housing-menu>li>a>span:nth-child(1) {
    padding-left: 0;
    width: 28px;
    line-height: 24px;
}

.sidebar-menu.housing-menu>li>a>span:nth-child(2) {
    display: block;
    margin-left: 25px;
    line-height: 20px;
}

body.sb-l-m .sidebar-menu.housing-menu {
    display: none;
}


/* sidebar user information */

.sidebar-left-wrapper {
    position: fixed;
    height: 100%;
    width: 250px;
    padding-top: 60px;
    background-color: #fff;
}

.navbar.navbar-fixed-top + .sidebar-left-wrapper + #content_wrapper {
    padding-top: 60px;
}

body.sb-l-m .sidebar-left-wrapper {
    z-index: 1028;
    overflow: visible;
    width: 60px;
    height: 100%;
    left: 0;
}
@media (max-width: 900px){
    body.sb-l-m .sidebar-left-wrapper {
        width: 45px;
    }
}

#sidebar_left {
    min-height: auto;
    height: calc(100% - 230px);
}

.sidebar-user-information {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 20px 15px;
    border-top: 1px solid #ddd;
}
body.sb-l-m .sidebar-user-information{
    display: none;
}

/* table */
.table-bordered{
    /* border-color: #fff; */
}
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td{
    /* border-color: #fff; */
}

/* dashboard top panels */
@media (min-width: 1400px){
    .dashboard-top-panels .dashboard-top-panel-1 .panel-body{
        min-height: 328px;
    }
    .dashboard-top-panels .dashboard-top-panel-2 .panel-body,
    .dashboard-top-panels .dashboard-top-panel-3 .panel-body{
        min-height: 278px;
    }
}
@media (min-width: 1600px){
    .dashboard-top-panels .dashboard-top-panel-1 .panel-body{
        min-height: 288px;
    }
    .dashboard-top-panels .dashboard-top-panel-2 .panel-body,
    .dashboard-top-panels .dashboard-top-panel-3 .panel-body{
        min-height: 238px;
    }
}


/* info circle */
.info-circle-wrapper {
    display: block;
    width: 130px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.info-circle-wrapper .info-circle {
    position: relative;
    width: 100%;
    display: inline-block;
    padding-top: 100%;
    border-radius: 50%;
    background-color: #fb6820;
}

.info-circle-wrapper .info-circle>span {
    position: absolute;
    top: 35%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 38px;
    font-weight: bold;
}