ul.tabs.primary {
    border-bottom: none;
    margin: 20px 0px;
    padding: 0;
}
ul.tabs.primary li:first-child a {
    border-radius: 4px 0px 0px 4px;
    -moz-border-radius: 4px 0px 0px 4px;
    -webkit-border-radius: 4px 0px 0px 4px;
}
ul.tabs.primary li:last-child a {
    border-radius: 0px 4px 4px 0px;
    -moz-border-radius: 0px 4px 4px 0px;
    -webkit-border-radius: 0px 4px 4px 0px;
}
ul.tabs.primary li a {
    margin-right: -5px;
    padding: 5px 8px;
    border: 1px solid #e4e4e4;
    background-color: #fff;
}
ul.tabs.primary li.active a {
    border: 1px solid #e4e4e4;
}
/* Calendar left & right */
.view .date-nav-wrapper .date-nav {
    padding: 0;
}
.view .date-nav-wrapper .date-prev,
.view .date-nav-wrapper .date-next {
    background: none !important;
    border-radius: 0;
    overflow: hidden;
}
#block-views-os-events-block-1 .view .date-nav-wrapper .date-next {
    right: 1px;
}
.lt-ie9 #block-views-os-events-block-1 .view .date-nav-wrapper .date-next {
    top: -15px;
}
.view .date-nav-wrapper .date-prev a,
.view .date-nav-wrapper .date-next a {
    width: 15px;
    height: 13px;
    display: inline-block;
    font-size: 0 !important;
    outline: none;
    box-sizing: border-box;
    border-radius: 0;
    border: 0;
    padding: 5px 0;
}
.view .date-nav-wrapper .date-prev a {
    background: url('../images/hwpi_basesprite.png') no-repeat 0 -480px;
}
.view .date-nav-wrapper .date-next a {
    background: url('../images/hwpi_basesprite.png') -15px -480px no-repeat;
}
.view .date-nav-wrapper .date-prev {
    right: 97%;
}
.view .date-nav-wrapper .date-prev a {
    overflow: hidden;
    text-indent: -99999999px;
    font-size: 0;
    display: inline-block;
}
.block-views .view .date-nav-wrapper .date-prev {
    margin: 0;
}

.view-os-events.view-id-os_events .attachment-before {
    position: absolute;
    top: -38px;
    right: 0px;
    text-align: right;
    width: 102px;
}
.node-event.article .node-content .links,
.view-os-events.view-id-os_events .attachment-before .links {
    display: inline-block;
    margin-left: 8px;
}
.os_events_export_links .last,
.view-os-events.view-id-os_events .attachment-before .links {
    margin-left: 0;
    display: none;
    background-color: #fff;
    border: 1px solid #e4e4e4;
    padding: 5px;
    z-index: 1;
    position: relative;
    text-align: left;
}
.os_events_export_links {
    float: right;
    text-align: right;
    padding: 5px;
}
.os_events_export_links .first {
    float: left;
    position: absolute;
    left: 0;
    margin-top: -20px;
}
.os_events_export_links .last a {
    display: block;
}

.os_events_export_dialog {
    text-align: center;
}
/* cal export */
.cal-export {
    padding: 0 25px 0 0;
    background: url('../images/scholarbase-sprite.png?abf') no-repeat 48px -963px;
}

.i18n-et a.cal-export {
    background: url('../images/scholarbase-sprite.png?abf') no-repeat 60px -963px;
}

.cal-export:hover {
    cursor: pointer;
}
.attachment.attachment-before ul li {
    border-bottom: none;
    display: block;
}
/* Don't display the ical link in the floating box. */

#cboxWrapper .node-event .links {
    display: none;
}

/* Hide the top-right close button, since we handle it with the "Cancel" button */
.os_events_export_dialog .ui-dialog-titlebar-close {
    display: none;
}
.view-display-id-page_1 .ical {
    padding: 3px 0 3px 19px !important;
}
.ical {
    padding: 3px 0 3px 25px !important;
    border-bottom: none !important;
}
.webcal {
    padding: 3px 0 3px 13px !important;
    border-bottom: none !important;
}
a.webcal:before,
a.ical:before {
    background: url('../images/scholarbase-sprite.png?0615b') no-repeat -48px -727px;
    width: 21px;
    height: 21px;
    position: absolute;
    left: 5px;
    content: '';
}
.rss {
    padding: 3px 0 3px 13px !important;
    border-bottom: none !important;
}
a.rss:before {
    background: url('../images/scholarbase-sprite.png?0615b') no-repeat 0px -727px;
    width: 21px;
    height: 22px;
    position: absolute;
    left: 5px;
    content: '';
}
.google {
    padding: 3px 0 3px 13px !important;
    border-bottom: none !important;
}

a.google:before {
    background: url('../images/scholarbase-sprite.png?45678') no-repeat -76px -726px;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 5px;
    content: '';
}
.view-display-id-page_1 .subscribe {
    padding: 3px 0 3px 13px !important;
}
.subscribe {
    padding: 3px 0 3px 24px !important;
    border-bottom: none !important;
}
a.subscribe:before {
    background: url('../images/scholarbase-sprite.png?0615b') no-repeat -24px -727px;
    width: 21px;
    height: 21px;
    position: absolute;
    left: 5px;
    content: '';
}
.page-calendar .ui-widget.ui-corner-all {
    border: 1px solid #ddd;
}

.ctools-dropdown.section_links .page-header {
    padding-bottom: 5px;
    margin: 5px 10px 5px;
    border-bottom: 1px solid #eee;
}
.contextual-controls-wrapper .section_links li.section-header {
    padding-bottom: 5px;
}
.not-logged-in.node-type-quiz #content-column #tasks ul.tabs {
    display: none;
}
img.file-icon {
    width:16px;
}
#box-os_image_gallery_latest-page {
    display: inline-block;
}
#box-os_image_gallery_latest-page .file-image {
    float: left;
    margin: 5px;
}
.file-info a {
    display: block;
}
#cboxTitle {
    display: none !important;
}
.page-calendar .ui-dialog-content .event-title {
    font-weight: bold;
}
.page-calendar .ui-dialog .ui-dialog-titlebar {
    padding: 0px;
}
.uglossary-paging {
    padding-top: 15px;
}
.uglossary-paging  .item-list ul.pager li {
    border: 1px solid #dededc;
    letter-spacing: normal;
    padding: 0.7em;
    margin: 0px;
}
.uglossary-paging  .item-list ul.pager li>a, .uglossary-paging  .item-list ul.pager li>span {
    border: none;
    border-radius: 0px;
    padding: 0px;
}
div#messages {
    left: 128px;
    position: relative;
    width: calc(100% - 183px);
}
body.admin-menu-closed div#messages {
    left: 55px;
    position: relative;
    width: calc(100% - 110px);
}
.i18n-et .date-display-start,
.i18n-et .date-display-end,
.i18n-et .date-display-single {
    text-transform: lowercase;
}
.i18n-et .date-heading {
    text-transform: lowercase;
}
.i18n-et .date-heading::first-letter,
.i18n-et .field-type-datetime .field-item.even::first-letter {
    text-transform: capitalize;
}
.date-all-day-label {
    display: none;
}