div.crm-accordion-header {
    font-size: 14px;
}

table {
    border: 0;
    border-spacing: 0;
    margin: 10px 0;
    width: 100%;
    font-size: 13px;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

#crm-container {
    margin: 0 auto;
}

#crm-container button, input {
    outline: none !important;
}

.crm-select2, .crm-form-multiselect input {
    font-size: 12px !important;
}

/* CONFIGURATION MENU */
#crm-container .event-info-wrapper {
    border: none;
    border-radius: 0 0 15px 15px;
    width: auto !important;
    max-width: none;
    border-bottom: 2px solid #aaa;
    box-shadow: 0 1px 3px 1px #aaa;
}

#crm-container .event-info-wrapper,
#crm-container .popover-content {
    margin: 0;
    padding: 0;
}

#crm-container .event-info-wrapper .event-info-details {
    border: none;
    border-radius: 10px;
    padding: 0;
}

#crm-container .event-info-wrapper .event-info-details a {
    font-size: 12px;
    border-bottom: 1px solid #ddd;
    display: block;
    padding: 5px;
    width: auto;

}

#crm-container .event-info-wrapper .event-info-details a:hover {
    text-decoration: underline;
}

/* ICAL BUTTON */

#crm-container .events-calendar-button-container {
    text-align: center;
    margin-top: 10px;
}

#crm-container a.events-calendar-button {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;;
    display: inline-block;
    background: #777777;
    padding: 15px 50px;
    font-size: 16px;
    color: #fff;
    outline: none;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

#crm-container .events-calendar-button:hover {
    background: #444444;
}

/* TOOLTIP */
#crm-container .popup-wrapper {
    width: 180px !important;
    min-width: 180px !important;
    background: #f5f5f5;
    border: 1px solid #cccccc;
    box-shadow: 0 0 5px 2px rgba(145, 145, 145, .35);
    border-radius: 6px;
    pointer-events: none;
    padding: 10px;
    text-align: left;
}

#crm-container .popup-wrapper .event-tooltip-item {
    border-bottom: 1px dotted #666;
}

#crm-container .popup-wrapper .event-tooltip-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#crm-container .popup-wrapper .event-time {
    display: inline-block;
    font-size: 13px;
    color: #fff;
    background: #757575;
    padding: 0 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 0;
    line-height: 22px;
}

#crm-container .popup-wrapper .event-time i {
    margin-right: 5px;
}

#crm-container .popup-wrapper .event-name {
    font-size: 15px;
    line-height: 22px;
    margin: 5px 0 5px 0;
    padding: 0;
    color: #5AA4A3;
}

#crm-container .popup-wrapper .event-image img {
    width: 100%;
    margin-bottom: 3px;
}

#crm-container .popup-wrapper .event-desc,
#crm-container .popup-wrapper .event-summary {
    font-size: 14px;
    margin-bottom: 5px;
}

/* EVENTS */
.fc-day-top.fc-other-month {
    opacity: .5 !important;
}

#crm-container .fc-row.fc-widget-header table {
    margin: 0;
}

#crm-container .fc-row.fc-widget-header table th {
    vertical-align: bottom;
    height: 33px;
}

#crm-container .fc-day-number {
    text-align: center;
    vertical-align: middle;
    margin: 3px;
    padding: 1px;
    font-size: 12px;
}

#crm-container .fc-other-month {
    background-color: #f6f6f6;
}

#crm-container .fc-day.fc-today {
    background-color: rgba(164, 164, 164, 0.5);
}

#crm-container .fc-day.fc-today.fc-other-month {
    background-color: rgba(164, 164, 164, 0.2);
}

#crm-container .fc-day-top.fc-other-month.fc-today {
    background-color: transparent;
}

#crm-container .fc-widget-content:not(.fc-other-month):not(.fc-state-highlight) {
    background-color: #efefef;
}

#crm-container .fc-event {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin-bottom: 8px !important;
    border: none;
    position: relative;
    text-align: center;
}

#crm-container .fc-event .fc-content {
    height: 100% !important;
    width: 100%;
    white-space: normal !important;
}

#crm-container .fc-event .fc-content .fc-title {
    display: block;
    padding: 10px;
}

#crm-container .fc-event.fc-start.fc-end {
    text-align: center;
    border-radius: 15px;
    margin-left: 3px;
    margin-right: 3px;
}

#crm-container .fc-event.fc-start {
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    margin-right: 1px;
    margin-left: 3px;
    text-align: center;
}

#crm-container .fc-event.fc-end {
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
    margin-left: 1px;
    margin-right: 3px;
}

/* MOBILE TOOLTIP */

/* TOOLTIP */
#crm-container .popover.popup-wrapper.mobile-tooltip {
    pointer-events: auto;
    width: 200px !important;
    min-width: 180px !important;
    background: #f5f5f5;
    border: 1px solid #cccccc;
    box-shadow: 0 0 5px 2px rgba(145, 145, 145, .35);
    border-radius: 6px;
    padding: 5px;
    text-align: left;
    font-size: 12px;
    z-index: 99;
}

#crm-container .popover.popup-wrapper.mobile-tooltip button.close {
    height: auto;
}

#crm-container .popover.popup-wrapper.mobile-tooltip .mobile-tooltip-event:not(:last-child) {
    border-bottom: 1px solid #aaa;
    padding-bottom: 3px;
    margin-bottom: 3px;
}

#crm-container .popover.popup-wrapper.mobile-tooltip .popover-title {
    font-size: 13px;
}

#crm-container .popover.popup-wrapper.mobile-tooltip button.close {
    font-size: 15px;
}
