.widget {
    height: 450px;
    border-radius: 8px;
    background-color: #FFFFFF;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.12);
    width: calc(50% - 24px);
    margin: 12px;
    display: inline-block;
    vertical-align: top;
}

.widget .title {
    padding: 8px 16px;
    font-family: "Quicksand";
    font-weight: 500;
}

.widget .title span {
    color: rgba(0, 0, 0, 0.54);
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
}

.widget .divisor {
    margin: 0 8px;
}

.widget .widget-content {
    padding: 8px 16px;
    height: calc(100% - 42px);
    position: relative;
    overflow: auto;
}

.twitter-widget,
.twitter-widget > iframe,
.calendar-widget,
.calendar-widget > iframe {
    width: 100%;
    height: 100%;
}

.twitter-widget {
    overflow: hidden;
}

.calendar-widget {
    position: relative;
}

.widget-content #facebook-widget {
    width: min-content;
    width: -moz-min-content;
    margin: auto;
}

.calendar-widget .calendar-form {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 200px;
}

.calendar-widget .calendar-form > span {
    font-size: 14px;
    color: var(--ba-primary-opacity);
}

.calendar-widget .calendar-form > a {
    font-size: 14px;
    color: var(--ba-primary-color);
}

.calendar-widget .calendar-form paper-input {
    margin-bottom: 24px;
}

.calendar-widget .calendar-form paper-button {
    margin: 0 auto;
    width: 150px;
    position: absolute;
    left: 0;
    right: 0;
}

.widget.selected {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 0 3px var(--ba-primary-color);
}

.widgets-popup {
    min-width: 500px;
    max-height: 490px;
}

.widgets-container {
    padding: 24px;
}

.sale-report-widget .form-container {
    padding-top: 0;
}

.sale-report-widget .form {
    width: 20%;
    min-width: 250px;
    margin: auto;
}

.sale-report-widget .report-container {
    position: relative;
    width: 75%;
    margin: 24px auto 0 auto;
}

.sale-report-widget .date-container {
    width: max-content;
    margin: 0 auto 12px auto;
}

.service-desk-widget {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: max-content;
}

.service-desk-widget .title {
    display: block;
    text-align: center;
    font-size: 48px;
    color: #4581CC;
    margin-bottom: 24px;
}

.service-desk-widget .message {
    display: block;
    text-align: center;
    margin: 0 auto 48px auto;
    width: 60%;
    color: var(--ba-primary-opacity);
}

.service-desk-widget a {
    display: block;
    text-align: center;
}

.service-desk-widget a > paper-button {
    width: 150px;
    background-color: #4581CC;
}

.service-desk-widget paper-button:hover {
    background-color: rgba(69, 129, 204, 0.6);
}