/** Admin Preview **/

.linksmith-admin-preview.linksmith-preview-message,
.linksmith-admin-preview.linksmith-expired-message {
    border: 3px dashed #ccc;
    position: relative;
    padding: 20px;
    left: -23px;
}

.linksmith-admin-preview.linksmith-preview-message::before,
.linksmith-admin-preview.linksmith-expired-message::before {
    color: #757575;
    background: #fff;
    position: absolute;
    height: 24px;
    line-height: var(--global--line-height-body);
    font-size: 13px;
    font-weight: bold;
    padding: 2px 8px;
    text-transform: uppercase;
    text-align: center;
    left: 12px;
    bottom: -16px;
    border-radius: 4px;
    white-space: nowrap;
}

.linksmith-admin-preview.linksmith-preview-message::before {
    content: 'Visible only when link is previewed';
}

.linksmith-admin-preview.linksmith-expired-message::before {
    content: 'Visible only when link is expired';
}

/** Datepicker **/

.linksmith-datepicker {
    background: #ffffff;
    border: 1px solid #dcdcde;
    box-shadow: var(--global--elevation);
    padding: 0 4px;
    width: 340px;
}

.linksmith-datepicker .ui-datepicker-header {
    position: relative;
    margin: 0 -4px;
}

.linksmith-datepicker .ui-datepicker-prev,
.linksmith-datepicker .ui-datepicker-next {
    position: absolute;
    font: normal 20px/1 dashicons;
    vertical-align: top;
    text-align: center;
    line-height: 1.8;
    width: 36px;
    height: 36px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #646970;
}

.linksmith-datepicker .ui-datepicker-prev:hover,
.linksmith-datepicker .ui-datepicker-next:hover {
    cursor: pointer;
    color: #135e96;
}

.linksmith-datepicker .ui-datepicker-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
    text-align: center;
    border-bottom: 1px solid #dcdcde;
    vertical-align: middle;
}

.linksmith-datepicker .ui-datepicker-prev {
    left: 0px;
}

.linksmith-datepicker .ui-datepicker-next {
    right: 0px;
}

.linksmith-datepicker .ui-datepicker-prev::before {
    content: "\f141";
}

.linksmith-datepicker .ui-datepicker-next::before {
    content: "\f139";
}

.linksmith-datepicker .ui-datepicker-prev span,
.linksmith-datepicker .ui-datepicker-next span {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    margin-top: -8px;
    background-image: none;
}

.linksmith-datepicker table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    font-size: var(--global--font-size-sm);
    margin: 0 0 4px;
}

.linksmith-datepicker th {
    text-align: center;
    font-weight: bold;
    border: 0;
    padding: 8px 4px;
}

.linksmith-datepicker td {
    border: 0;
    padding: 1px;
}

.linksmith-datepicker td span,
.linksmith-datepicker td a {
    display: block;
    text-align: right;
    text-decoration: none;
    padding: 4px;
}

.linksmith-datepicker .ui-state-default {
    border: 1px solid #dcdcde;
    background: #ffffff;
    background: var(--global--color-background);
    color: #000000;
}

.linksmith-datepicker .ui-state-disabled {
    opacity: .35;
    background-image: none;
}

.linksmith-datepicker .ui-state-highlight {
    border: 1px solid #dad55e;
    background: #fffa90;
    color: #777620;
}

.linksmith-datepicker .ui-state-active {
    border: 1px solid #8c8f94;
    background: #f0f0f1;
    color: #000000;
}

.linksmith-datepicker .ui-datepicker-rtl {
    direction: rtl;
}

.linksmith-datepicker .ui-datepicker-rtl .ui-datepicker-prev {
    right: 0px;
    left: auto;
}

.linksmith-datepicker .ui-datepicker-rtl .ui-datepicker-next {
    left: 0px;
    right: auto;
}
