/* Preview Toolbar Styles
 * --------------------------------------------------------------------- */
body {
    margin: 0 !important;
}

.ocms .dt-date-cell input,
.ocms .dt-time-cell select {
    margin-right: 10px;
}

/* Special styles to target the datepicker year select box as it isn't attached to the preview controls div */
.ocms .ui-widget select.ui-datepicker-year,
.ocms.ui-widget select.ui-datepicker-year {
    appearance: none;
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    background: url('icons/select.png') calc(100% - 7px) no-repeat;     /* Custom select arrow */
    padding-right: 21px !important;     /* Important to override jqueryui styles on a select */
    min-width: 0;
    display: inline-block !important;
}

.ocms .ui-widget select.ui-datepicker-year::-ms-expand,
.ocms.ui-widget select.ui-datepicker-year::-ms-expand {
    display: none;
}

/* Action Menu (Rendered Mode) Styles
 * --------------------------------------------------------------------- */
#ocmsActionMenu {
    width: 222px;
    max-width: 222px;
    position: absolute;
    left: 50%;
    top: 30%;
    z-index: 1;
    background-color: #FFFFFF;
    border: 1px solid #DDEBAA;
}

#ocmsActionMenu ul {
    list-style: none;
    padding: 3px;
    margin: 0px;
}

#ocmsActionMenu li {
    max-width: 222px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: Lato, sans-serif;
    padding: 3px;
}

#ocmsActionMenu .actionLinks li:hover {
    cursor: pointer;
    background-color: #F4F8E6;
    border: 1px solid #D6DDBB;
}

#ocmsActionMenu li a {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
}

#ocmsActionMenu .actionLinks {
    border-bottom: 2px solid #DDEBAA;
}