.main-content-wrapper.home_screen_container {
    background-color: transparent;
    margin-top: 0px !important;
    padding-top: 10px;
    overflow: visible;
}

.home_sales_chart_container {
    /* height:calc(100% - 40px)!important;
     position: absolute;
     width: 100%;
     display: table;*/

    height: calc(100% - 160px) !important;
    position: absolute;
    width: 100%;
    display: table;
}

[ep-gridster-dynamic-height] {
    display: table;
    width: 100%;
    height: 100%;
}

.widget_chart_container {
    min-height: 145px;
}

ep-include-string, ep-include-string > * {
    display: block;
    width: 100%;
    height: 100%;
}

/* Element Query Grid */
@element .widget_wrapper > section {
    :self,
    :self *,
    :self *:before,
    :self *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        font-kerning: auto;
    }

    :self:after,
    :self [data-row]:after {
        content: '';
        display: block;
        clear: both;
    }

    :self [class*=-col-],
    :self [class*=-split-] {
        float: left;
    }

    :self [class^=col-1] {
        width: 10%;
    }

    :self [class^=col-2] {
        width: 20%;
    }

    :self [class^=col-3] {
        width: 30%;
    }

    :self [class^=col-4] {
        width: 40%;
    }

    :self [class^=col-5] {
        width: 50%;
    }

    :self [class^=col-6] {
        width: 60%;
    }

    :self [class^=col-7] {
        width: 70%;
    }

    :self [class^=col-8] {
        width: 80%;
    }

    :self [class^=col-9] {
        width: 90%;
    }

    :self [class^=col-10] {
        width: 100%;
    }

    :self [class^=split-1] {
        width: calc(100% / 1);
    }

    :self [class^=split-2] {
        width: calc(100% / 2);
    }

    :self [class^=split-3] {
        width: calc(100% / 3);
    }

    :self [class^=split-4] {
        width: calc(100% / 4);
    }

    :self [class^=split-5] {
        width: calc(100% / 5);
    }

    :self [class^=split-6] {
        width: calc(100% / 6);
    }

    :self [class^=split-7] {
        width: calc(100% / 7);
    }

    :self [class^=split-8] {
        width: calc(100% / 8);
    }

    :self [class^=split-9] {
        width: calc(100% / 9);
    }

    :self [class^=split-10] {
        width: calc(100% / 10);
    }
}
@element .widget_wrapper > section and (max-width: 400px) {
    :self [class*=small-col-1] {
        width: 10%;
    }

    :self [class*=small-col-2] {
        width: 20%;
    }

    :self [class*=small-col-3] {
        width: 30%;
    }

    :self [class*=small-col-4] {
        width: 40%;
    }

    :self [class*=small-col-5] {
        width: 50%;
    }

    :self [class*=small-col-6] {
        width: 60%;
    }

    :self [class*=small-col-7] {
        width: 70%;
    }

    :self [class*=small-col-8] {
        width: 80%;
    }

    :self [class*=small-col-9] {
        width: 90%;
    }

    :self [class*=small-col-10] {
        width: 100%;
    }

    :self [class*=small-split-1] {
        width: calc(100% / 1);
    }

    :self [class*=small-split-2] {
        width: calc(100% / 2);
    }

    :self [class*=small-split-3] {
        width: calc(100% / 3);
    }

    :self [class*=small-split-4] {
        width: calc(100% / 4);
    }

    :self [class*=small-split-5] {
        width: calc(100% / 5);
    }

    :self [class*=small-split-6] {
        width: calc(100% / 6);
    }

    :self [class*=small-split-7] {
        width: calc(100% / 7);
    }

    :self [class*=small-split-8] {
        width: calc(100% / 8);
    }

    :self [class*=small-split-9] {
        width: calc(100% / 9);
    }

    :self [class*=small-split-10] {
        width: calc(100% / 10);
    }

    :self [class*=hide-small] {
        display: none;
    }
}
@element .widget_wrapper > section and (min-width: 400px) and (max-width: 800px) {
    :self [class*=medium-col-1] {
        width: 10%;
    }

    :self [class*=medium-col-2] {
        width: 20%;
    }

    :self [class*=medium-col-3] {
        width: 30%;
    }

    :self [class*=medium-col-4] {
        width: 40%;
    }

    :self [class*=medium-col-5] {
        width: 50%;
    }

    :self [class*=medium-col-6] {
        width: 60%;
    }

    :self [class*=medium-col-7] {
        width: 70%;
    }

    :self [class*=medium-col-8] {
        width: 80%;
    }

    :self [class*=medium-col-9] {
        width: 90%;
    }

    :self [class*=medium-col-10] {
        width: 100%;
    }

    :self [class*=medium-split-1] {
        width: calc(100% / 1);
    }

    :self [class*=medium-split-2] {
        width: calc(100% / 2);
    }

    :self [class*=medium-split-3] {
        width: calc(100% / 3);
    }

    :self [class*=medium-split-4] {
        width: calc(100% / 4);
    }

    :self [class*=medium-split-5] {
        width: calc(100% / 5);
    }

    :self [class*=medium-split-6] {
        width: calc(100% / 6);
    }

    :self [class*=medium-split-7] {
        width: calc(100% / 7);
    }

    :self [class*=medium-split-8] {
        width: calc(100% / 8);
    }

    :self [class*=medium-split-9] {
        width: calc(100% / 9);
    }

    :self [class*=medium-split-10] {
        width: calc(100% / 10);
    }

    :self [class*=hide-medium] {
        display: none;
    }
}
@element .widget_wrapper > section and (min-width: 800px) {
    :self [class*=large-col-1] {
        width: 10%;
    }

    :self [class*=large-col-2] {
        width: 20%;
    }

    :self [class*=large-col-3] {
        width: 30%;
    }

    :self [class*=large-col-4] {
        width: 40%;
    }

    :self [class*=large-col-5] {
        width: 50%;
    }

    :self [class*=large-col-6] {
        width: 60%;
    }

    :self [class*=large-col-7] {
        width: 70%;
    }

    :self [class*=large-col-8] {
        width: 80%;
    }

    :self [class*=large-col-9] {
        width: 90%;
    }

    :self [class*=large-col-10] {
        width: 100%;
    }

    :self [class*=large-split-1] {
        width: calc(100% / 1);
    }

    :self [class*=large-split-2] {
        width: calc(100% / 2);
    }

    :self [class*=large-split-3] {
        width: calc(100% / 3);
    }

    :self [class*=large-split-4] {
        width: calc(100% / 4);
    }

    :self [class*=large-split-5] {
        width: calc(100% / 5);
    }

    :self [class*=large-split-6] {
        width: calc(100% / 6);
    }

    :self [class*=large-split-7] {
        width: calc(100% / 7);
    }

    :self [class*=large-split-8] {
        width: calc(100% / 8);
    }

    :self [class*=large-split-9] {
        width: calc(100% / 9);
    }

    :self [class*=large-split-10] {
        width: calc(100% / 10);
    }

    :self [class*=hide-large] {
        display: none;
    }
}
/*Widget Grid*/

/*widget Styles*/
.avatar_img {
    min-width: 80px;
    min-height: 80px;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    display: table;
    margin: auto;
    border: 1px solid #ececec;
}

.h100 {
    width: 100%;
    display: flex;
    justify-content: center;

}

.h100-30px {
    height: calc(100% - 30px);
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}

.user_profile_container {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
}

.user_wrapper {
    display: table;
    width: 100%;
    height: auto;
}

.module_link:hover {
    text-decoration: none !important;
}

.module_link {
    padding: 5px 0px;
    text-decoration: none !important;
    text-align: left;
    display: table;
    cursor: pointer;
}

.user_wrapper .module_link {
    margin: auto;
    text-align: center;
    width: 100%;
    display: block;
}

.greetings {
    font-size: 80%;
    font-weight: 400;
    padding: 0px 0px 1% 0px;
}

.widget_container {
    background: #fff;
    /*padding: 10px;*/
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.widget_wrapper {
    display: flex;
    margin: 0px;
    position: relative;
    flex-direction: column;
    /*background: #fff;*/
    height: 100%;
    width: 100%;
    top: 0px;
}

.user_detail {
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
}

@element .widget_container and (min-height: 180px) and (min-width :200px) {
    :self .avatar_img {
        height: 150px;
        width: 150px;
    }

    .user_detail {
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }
}
@element .user_profile_container and (max-width: 200px) {
    :self .avatar_img {
        height: 130px;
        width: 130px;
    }
}
@element .user_details_container and (min-width:350px) {
    :self .info_text, :self .info_link {
        display: inline-block;
        margin-right: 5px;
    }
}
@element .user_profile_container and (min-width:500px) and (max-height:190px) {
    :self .user_details_container {
        font-size: 140%;
    }
}
@element .user_profile_container and (max-width:330px) {
    :self .user_details_container {
        font-size: 100%;
        width: 100%;
    }

    :self .h100 {
        height: auto;
        display: table;
    }

}

@element .user_profile_container and (min-width:500px) and (min-height:400px) {
    :self {
        display: table;
        width: auto;
        height: auto;
        min-height: auto;
        margin: auto;
        position: relative;
    }

    :self .user_details_container {
        font-size: 140%;
    }

    :self .user_avatar {
        width: 100% !important;
        height: auto !important;
    }

    :self .user_wrapper {
        height: auto !important;
    }

    :self .h100 {
        display: table;
        height: auto;
    }

    :self .user_details_container {
        font-size: 100%;
        width: 100%;
    }

    :self .avatar_img {
        height: 230px;
        width: 230px;
    }

}
@element .widget_container and (min-aspect-ratio: 3/4) {
    :self .h100 {
        display: table;
        height: auto;
    }

    :self .user_details_container {
        width: 100%
    }

    :self .user_avatar {
        width: 100%;
    }

    :self .info_block {
        text-align: center;
    }
}
@element .widget_container and (min-aspect-ratio: 16/9) {
    :self .h100 {
        display: table;
        height: 100%;
    }

    :self .user_details_container {
        width: calc(100% - 150px);
        padding: 10px;
    }

    :self .user_avatar {
        width: auto;
    }

    :self .avatar_img {
        width: 100px;
        height: 100px;
    }

    :self .info_block, :self .user_detail {
        text-align: left;
    }

    :self .info_text, :self .info_link {
        display: inline-block;
        margin-right: 5px;
    }
}
@element .widget_container and (max-width:150px) {
    :self .avatar_img {
        width: 80px;
        height: 80px;
    }
}
@element .widget_container and (max-width:200px)and (max-height:220px) {
    :self .info_block, :self .greetings {
        display: none;
    }
}
@element .widget_container and (max-height:150px) {
    :self .widget_chart_container {
        display: none;
    }
}
@element .widget_container and (max-height:220px) {
    :self .info_block {
        text-align: center;
    }

    :self .user_detail {
        text-align: center;
    }

}
@element body and (max-width:500px) {
    .widget_container {
        margin: 10px 5px !important;
    }

    :self ep-user-profile-widget section {
        min-height: 160px !important;
    }
}
@element body and (max-width:800px) {
    :self .info_block, :self .greetings {
        display: block;
    }

    :self .widget_chart_container {
        display: block;
        max-height: calc(100% - 58px);
    }

    :self .widget_container section {
        min-height: calc(100% - 60px);
        max-height: calc(100% - 60px);
        overflow-y: auto;
    }

    :self .widget_container {
        position: absolute;
    }

    :self .widget_wrapper footer {
        position: relative !important;
    }

    :self .widget_wrapper section {
        position: relative !important;
    }

    /*:self ep-sales-widget section {
        min-height: 400px !important;
        position: relative;
    }*/
    /*:self ep-alert-widget section, :self ep-twitter-widget section {
        min-height: 400px !important;
        max-height: 400px !important;
        position: relative;
        overflow: hidden;
        overflow-y: auto;
        top: 0px !important;
    }*/
    /*:self ep-weather-widget section {
        min-height: 480px !important;
    }*/
    :self .user_details_container {
        font-size: 100% !important;
        width: 100%;
    }

    :self .avatar_img {
        width: 100px;
        height: 100px;
    }

    :self .info_block, :self .user_detail {
        text-align: left !important;
    }

    :self .user_name {
        font-size: 20px !important;
    }

}
/*.widget_wrapper section footer {
    position:absolute!important;
    bottom:4px!important;
}*/

.close_widget:after {
    display: table;
    margin: 9px auto;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    font-size: 18px;
}

.widget_wrapper footer {
    margin-top: 5px;
    position: absolute !important;
    bottom: -10px;
    width: 100%;
}

.widget_wrapper footer .module_link {
    text-align: left;
}

/*sales widget styles*/
/* Removing as it is not applied
.home_dashboard_sales_chart {
    max-width: 100%;
    min-height: 220px;
    min-width: 220px;
}*/

.home_widget_title {
    width: calc(100% - 44px);
    top: 0px;
    height: inherit;
}

.home_sales_value {
    display: table;
    float: left;
    font-size: 89%;
    line-height: 1.6;
}

.home_sales_widget_chart_title {
    display: table;
    width: 100%;
}

span.home_sales_title {
    display: inline-block;
    font-size: 75%;
    line-height: 1.8;
    position: relative;
    padding: 0px 2px;
}

/*.widget_chart_container svg {
    min-width: 200px;
    max-width: 90%;
    width: 98% !important;
    height: 98% !important;
    margin-left: 1%;
}*/
.widget_chart_container {
    position: absolute;
    width: 100%;
    height: 100% !important;
}

#home_dashboard_sales_chart {
    height: calc(100% - 10px) !important;
    min-height: 95px;
}

.widget_chart_container {
    max-width: 100%;
    max-height: calc(100% - 165px);
    overflow: hidden;
    min-height: 95px;
}


.sales_data_block {
    display: inline-block;
    padding: 10px;
}

.sales_data_group {
    display: block;
    margin: 0 auto;
    position: relative;
}

.statistic_block {
    margin: 0px auto;
    position: relative;
    display: table;
    border: 1px solid #e0e0e0;
}

.spaced_bar {
    margin: 15px 0px 20px 0px;
}

/*.widget_wrapper .filters h5{
    margin-top:0px;
    margin-bottom: 0px;
}*/
span.widget_title_string {
    float: left;
    margin-right: 5px;
}

/*sales widget styles*/

/*twitter widget styles*/
ep-twitter-widget section {
    max-height: calc(100% - 20px);
    overflow: hidden;
    overflow-y: auto;
}

/*twitter widget styles*/

.gridster {
    position: absolute;
    width: 100%;
}

/*weather widget*/

ep-weather-widget section .weather_blk {
    display: table;
    margin: 0 auto;
    /* Added to have a gap */
    padding-top: 5px;
}

/*ep-weather-widget section .weather_blk{
    min-width: 236px;
}*/

ep-weather-widget section {
    width: inherit;
}

@element .widget_container and (min-width: 750px) {
    :self ep-weather-widget section .weather_blk {
        margin: auto;
        max-width: 80%;
        width: auto;

    }
}
@element .widget_container and (min-width: 750px) and (max-height:220px) {
    :self ep-weather-widget section .weather_blk {
        margin: auto;
        max-width: 80%;
        width: auto;
    }
}
@element .widget_container and (max-height: 200px) {
    :self hr {
        display: none;
    }

    :self .weekly_forecast {
        display: none;
    }
}
/*@element .widget_wrapper > section and (max-width: 350px) and (max-height: 200px) {
    :self .weather_blk, :self .content_blk{
        display: table;
        margin: auto;
        width:100%;
    }
    :self ep-weather-widget section{
        display: table;
        width: auto;
        margin: auto;
        height: 100%;
    }
}*/
/*@element .widget_wrapper > section and (max-height: 200px) {
    :self .weekly_forecast {
        display: none;
    }
    :self .space_bar {
        display: none;
    }
    :self ep-weather-widget section .weather_blk {
        margin: auto;
        max-width: 80%;
        width: auto;
    }
}*/
/*@element .widget_container and (min-height: 201px) {
    :self .weekly_forecast {
        display: block;
    }

    :self .space_bar {
        display: block;
    }
}*/
.forecast_container.hourly,
.forecast_container.daily {
    display: none;
}

@element .widget_container and (min-height: 180px) {
    :self .forecast_container.daily {
        display: block;
    }
}
@element .widget_container and (max-height: 260px) {

    :self ep-weather-widget section {
        margin: auto;
    }

    :self .forecast_container.hourly {
        display: none;
    }
}
@element .widget_container and (min-height: 360px) {
    :self .forecast_container.hourly {
        display: block;
    }
}
@element .widget_wrapper > section and (max-height: 185px) {
    :self .forecast_container.hourly,
    :self .forecast_container.daily {
        display: none;
    }
}
/*
@element .widget_container and (min-height: 350px) {
    :self .forecast_container.hourly {
        display: block;
    }
}*/
@element .widget_container and (min-height: 350px) {
    :self .forecast_container.daily {
        display: block;
    }

    :self .weekly_forecast {
        display: block;
    }
}
@element .widget_container and (max-width: 330px) and (max-height: 310px) {
    :self .forecast_container.daily {
        display: block;
    }

    :self .weather_type, :self .weather_time, :self .weather_tabs {
        display: none
    }

    :self .forecast_container.hourly, :self .forecast_container.daily {
        display: none;
    }

    :self .content_blk {
        width: calc(100% - 60px);
        display: flex;
        height: 100%;
        position: absolute;
        right: 0px;
    }

    :self .weather_content_view {
        display: table;
        margin: 0;
        padding-left: 10px;
    }

    :self ep-weather-widget section {
        margin: auto 0px !important;
    }
}
.forecast_block {
    position: absolute;
    margin: auto;
    display: flex;
    height: calc(100% - 160px);
    width: 100%;
}

.forecast_wrapper {
    margin: auto;
    max-width: 100%;
}

.gridster-item-moving {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22) !important;
}

/*weather widget*/

/*widget Styles*/
@media screen and (max-width: 768px) {
    .widget_container {
        padding: 5px;
    }
}

.widget_wrapper > header:not(:empty) + section {
    position: absolute;
    width: 100%;
    top: 47px;
    height: calc(100% - 50px);
    overflow-y: auto;
}

.widget_wrapper > header + section {
    position: absolute;
    width: 100%;
    top: 0px;
    height: calc(100% - 20px);
    overflow: hidden;
}

.forecast_container.hourly .header {
    font-weight: 700;
    margin-bottom: 5px;
}

.hourly_forecast {
    border: 1px solid #eeeeee;
    padding: 5px;
    /* Adding the CSS for Hourly Forecast to have only horizontal Scroll alone */
    width: 98%;
    height: 100%;
    margin: auto;
}

.forecast_container.hourly {
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .widget_wrapper > header:not(:empty) + section {
        top: 5px !important;
    }
}

/* This is added in order to have scroll for only the content of section and not to footer for sales widget alone */

.widget_wrapper > header:not(:empty) + section.sales-widget-content {
    position: absolute;
    width: 100%;
    top: 47px;
    height: calc(100% - 80px);
    overflow-y: auto;
}

/* This is added in order to have scroll for only the content of section and not to footer for weather widget and alert widget */

.widget_wrapper > header:not(:empty) + section.weather-widget-content,
.widget_wrapper > header:not(:empty) + section.alert-widget-content {
    position: absolute;
    width: 100%;
    top: 90px !important;
    height: calc(100% - 70px);
    overflow-y: auto;
}

/*ep-widget-maintenance {
    position: absolute;
    width: 100%;
    height: calc(100vh - 120px);
    left: 0px;
    top: 0px;
    border-radius: 5px;
    padding-top: 5px;
    margin-top: 5px;
}*/

/*password expire dialog - start*/
.password-expire-icon {
    background-color: var(--ep-color-red) !important;
}

.password-expire-dialog .title_group {
    color: var(--ep-color-red) !important;
}

/*--End*/