﻿/*focus*/
:focus {
    outline: #222 auto 2px !important;
}

/* When mouse is detected, ALL focused elements have outline removed. */
/* You could apply this selector only to buttons, if you wanted. */
body.using-mouse :focus {
    outline: none !important;
}

body {
    overflow-x: hidden;
    background: #ededed;
    font-family: 'Open Sans', sans-serif;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    min-width: 0 !important;
    color: #545454;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizelegibility !important;
}

#skipnavigation {
    position: absolute;
    top: 8px;
    left: 3px;
    z-index: 12000;
}

    #skipnavigation a {
        color: #333333;
        font-size: 14px;
        opacity: 0;
        pointer-events: none;
        padding: 5px;
        background: white;
    }

.hidden {
    display: none;
}

.base-mobile-menu {
    width: 320px;
    background: #00853f;
    position: fixed;
    left: -321px;
    top: 50px;
    bottom: 0px;
    z-index: 201;
    border-style: solid;
    border-width: 0;
    border-color: #555555;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    color: white;
    display: none;
}

    .base-mobile-menu a {
        color: white;
        display: block;
        padding: 10px 15px 10px 15px;
        border-style: solid;
        border-width: 0 0 1px 0;
        border-color: black;
        font-size: 13px;
    }

    .base-mobile-menu > a:nth-child(1n+2) {
        padding-left: 35px;
    }

    .base-mobile-menu div > a:nth-child(1n+2) {
        padding-left: 55px;
    }

    .base-mobile-menu .fa,
    .base-mobile-menu .fa-solid,
    .base-mobile-menu .fa-regular,
    .base-mobile-menu .fa-brands {
        display: inline-block;
        margin-left: -15px;
        padding: 10px;
        padding-left: 15px;
        margin-top: -10px;
        margin-bottom: -10px;
        width: 10px;
    }

    .base-mobile-menu .active {
        background: #015518;
    }

.sfPublicWrapper {
    margin: 0px !important;
    padding: 0px !important;
    background: none !important;
    width: 100% !important;
    min-width: 0 !important;
    position: relative;
    overflow-x: hidden;
}

.scroll-up {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 140px;
    padding: 7px 11px 10px 11px;
    background: #111111;
    z-index: 4000;
    cursor: pointer;
    border-radius: 6px 0 0 6px;
    line-height: normal !important;
}

    .scroll-up:after {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        content: "\f077";
        color: white;
        font-size: 21px;
    }

.base-top {
    display: block;
    width: 100%;
    background: #00853f;
    padding: 0px;
    position: relative;
    z-index: 100;
    height: 60px;
    background-image: url('/images/goecatlibraries/ui/header-triangles.png');
    background-position: top right;
    background-repeat: no-repeat;
}

.icon-toggle-mobile-menu {
    font-size: 24px;
    color: white;
    position: fixed;
    top: 10px;
    right: 10px;
    display: none;
    cursor: pointer;
    z-index: 350;
}

.base-top .top-logo {
    margin-top: 13px;
}

    .base-top .top-logo img {
        width: 629px !important;
    }

.base-top .icons-social {
    position: absolute;
    right: 20px;
    top: 5px;
}

.base-top .icon-social {
    padding: 8px 10px 8px 10px;
    background: #014A7C;
    color: white;
    font-size: 18px;
    display: inline-block;
    text-align: center;
    margin-right: 2px;
    vertical-align: middle;
}

.base-top .fa-facebook-f {
    padding: 8px 12px 8px 12px;
}

.base-top-in,
.base-nav-in,
.base-content-in,
.base-footer-in,
.base-breadcrumb-in,
.base-page-title-in {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0px 20px 0 20px;
}

.base-nav {
    display: block;
    position: relative;
    height: 40px;
    width: 100%;
    background: #0078d2;
    color: white;
    z-index: 99;
    background: #014a7c;
}

.base-breadcrumb {
    width: 100%;
}

.base-breadcrumb-in {
    padding: 5px 0 7px 0;
    font-size: 13px;
}

    .base-breadcrumb-in a:first-child:before {
        content: "\f015";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        padding-right: 2px;
        font-size: 14px;
    }

.base-content {
    width: 100%;
    position: relative;
    background-image: url('/images/goecatlibraries/ui/greytriangles.png');
    background-color: #ededed;
    background-size: auto;
    background-repeat: repeat-x;
    background-position: top left;
}

.base-content-in {
    padding: 20px;
    position: relative;
}

.background-white {
    background: white;
}

.padding-5 {
    padding: 5px;
}

.padding-15 {
    padding: 15px;
}

.rounded-8 {
    border-radius: 8px;
}

.rounded-12 {
    border-radius: 12px;
}

.base-content.white-background {
    background-image: none !important;
    background: white !important;
    min-height: 200px;
}

/*footer*/

.base-footer {
    display: block;
    width: 100%;
    text-align: left;
    background-color: #001E31;
    background-image: url('/images/goecatlibraries/ui/footer-triangles.png');
    background-position: 0px 235px;
    background-repeat: repeat-x;
    position: relative;
    padding-bottom: 92px;
    padding-top: 60px;
}

.base-footer-in {
    color: white;
    text-align: left;
    display: block;
}

.base-footer .fa-fax,
.base-footer .fa-phone {
    padding-right: 5px;
}

.base-footer .fa-fax {
    padding-left: 20px;
}

.base-footer .icons-social {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.base-footer .icon-social {
    padding: 6px 8px 6px 8px;
    background: #014A7C;
    color: white;
    font-size: 15px;
    display: inline-block;
    text-align: center;
    margin-right: 2px;
    vertical-align: middle;
}

.base-footer .fa-facebook-f {
    padding: 6px 10px 6px 10px;
}

.base-footer .logo-county {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

/*template stuff*/

.main-content {
    min-height: 490px;
    border-radius: 12px;
    background: white;
    padding: 20px;
}

h1 {
    font-size: 30px;
    color: #007550;
    margin-bottom: 10px !important;
    line-height: 32px;
}

h2 {
    margin-top: 0px !important;
    font-size: 22px !important;
    color: #014a7c;
    font-weight: normal !important;
    margin-bottom: 10px !important;
}

h3 {
    border-style: none !important;
    font-size: 28px !important;
}

h6 {
    font-size: 14px;
    line-height: 120%;
    margin-bottom: 8px;
    font-weight: bold;
    text-transform: uppercase;
    color: #375199;
}

.base-content-in ul li {
    list-style: square;
}

li {
    margin-top: 10px;
}

.sfnewsContent {
    line-height: 1.3 !important;
}

/*dialog*/
#dialog {
    display: none;
    background: #eeeeee;
    color: #444444;
    border: none;
}

.ui-dialog {
    background: #eeeeee;
    z-index: 16000 !important;
    border: none !important;
    padding: 0px !important;
    box-shadow: 0 0 10px rgba(0,0,0,.4);
    font-size: 16px;
    font-family: inherit;
    position: fixed;
}

    .ui-dialog.subscribe {
        top: 20% !important;
    }

.ui-dialog-titlebar-close {
    position: absolute !important;
    top: 15px !important;
    right: 0px;
    width: 26px !important;
    height: 26px !important;
    margin-top: -5px;
}

.ui-icon-closethick {
    margin-top: -8px !important;
    margin-left: -10px !important;
}

.ui-icon-closethick {
    background-position: -97px -128px;
}

.ui-dialog-titlebar button {
    font-size: 0px !important;
    background: none !important;
    border: none !important;
}

.ui-dialog-titlebar .ui-button-icon {
    font-size: 16px !important;
    color: white;
}

.ui-dialog-close {
}

.ui-dialog-buttonpane {
    text-align: center;
}

.ui-dialog-buttonset {
    float: none !important;
    text-align: center;
    margin-left: 12px;
}

.ui-dialog button {
    font-size: 16px;
    font-family: inherit;
    width: 130px;
    cursor: pointer;
}

#dialog button {
    color: #222222;
    margin-left: 5px;
    width: 124px;
}

.ui-widget-overlay {
    z-index: 15000 !important;
    background: black !important;
    opacity: .7;
}

.ui-dialog-titlebar {
    background: #00853f;
    border: none;
    border-radius: 0px;
}

.dialog-image {
}

    .dialog-image #dialog {
        overflow: hidden !important;
        padding: 0px;
        background: #eeeeee;
        border-radius: 0px !important;
        border-style: solid;
        border-width: 10px;
        border-color: #eeeeee;
        border-collapse: collapse;
    }

.dialog-image-caption {
    position: relative;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding: 9px 128px 9px 10px;
    margin-top: -6px;
    z-index: 99;
    font-size: 12px;
    background: #005696;
    color: #eeeeee;
    border-style: solid;
    border-width: 1px 0 0 0;
    border-color: #2770a7;
}

.dialog-image-nav-controls {
    position: absolute;
    bottom: 1px;
    right: -2px;
    z-index: 100;
    display: block;
    color: #eeeeee;
}

    .dialog-image-nav-controls .button {
        font-size: 24px;
        padding: 4px;
        margin-right: 8px;
        cursor: pointer;
        top: -1px;
        position: relative;
    }

    .dialog-image-nav-controls span {
        font-size: 12px;
        cursor: pointer;
        position: relative;
        top: -5px;
    }

    .dialog-image-nav-controls .total {
        margin-right: 5px;
    }

.dialog-image .ui-dialog-titlebar {
    display: none;
}

.dialog-image img {
}

.dialog-image-close {
    background: #eeeeee;
    position: absolute;
    padding: 10px;
    border-radius: 4px;
    color: #222222;
    font-size: 22px;
    right: -9px;
    top: -11px;
    cursor: pointer;
}

/*download file widget*/
.sfdownloadFileWrp .sfLargeIcns a {
    font-size: 16px;
}

.sfdownloadList .sfdownloadFile {
    padding-bottom: 0px !important;
    margin-bottom: 20px !important;
    max-height: 94px !important;
    overflow: hidden;
    min-height: 36px;
    padding-top: 5px !important;
}

.sfdownloadList .sfMetaInfo {
    display: none;
}

/*dialog loading*/

.dialog-loading .ui-dialog-titlebar {
    display: none;
}

.dialog-loading,
.dialog-loading .ui-dialog-content {
    background: none !important;
    box-shadow: none;
}

/*video stuff*/

.RadMediaPlayer {
    width: 100% !important;
    height: 100% !important;
}

.video-wrapper {
    position: relative;
    /*padding-bottom: 56.25%;  16:9 */
    padding-bottom: 75%; /*4:3 */
    padding-top: 0px;
    height: 0;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper-wide {
    padding-bottom: 56.25%;
}

.video-wrapper object,
.video-wrapper embed,
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-style: none !important;
    border-width: 0px !important;
}

.rmpActionButton {
    box-shadow: none !important;
    border: none !important;
    border-width: 0px !important;
    margin-top: -3px;
}

/* images */

.main-left img {
    border-radius: 8px;
}

/*two column*/
.base-content-in .two-column {
    -webkit-column-width: 20em;
    -webkit-column-gap: 2em;
    -webkit-column-rule: 0px solid #eee;
    -webkit-column-count: 2;
    -moz-column-width: 20em;
    -moz-column-gap: 2em;
    -moz-column-rule: 0px solid #eee;
    -moz-column-count: 2;
    -ms-column-width: 20em;
    -ms-column-gap: 2em;
    -ms-column-rule: 0px solid #eee;
    -ms-column-count: 2;
    column-width: 20em;
    column-gap: 2em;
    column-rule: 0px solid #eee;
    column-count: 2;
    line-height: normal !important;
}

/*ecommerce, stuff also found in ecommerce.css*/
.sfshoppingCartUpdateLnk {
    font-size: 14px !important;
    background-position: 0 -1397px !important;
}

/*search*/
.sfsearchResultTitle {
    font-size: 18px !important;
}

.sfsearchBox .sfsearchTxt,
.sfsearchBox .sfsearchSubmit {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
}

/*global notification*/
.base-notification {
    width: 100%;
    background: #a70000;
    height: 0; /*this will be toggled to auto to show the notification*/
    opacity: 0; /*this will be toggled to 1 to show the notification*/
    overflow: hidden;
    position: relative;
    display: none;
}

.base-notification-in {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
    padding: 0px;
    font-size: 16px;
    position: relative;
    text-align: left;
    padding: 10px 0 10px 0;
}

.notification-content {
    padding: 0px 40px 0px 10px;
}

    .notification-content p:last-child {
        margin-bottom: 0px;
    }

.base-notification .fa,
.base-notification .fa-solid,
.base-notification .fa-regular,
.base-notification .fa-brands {
    position: absolute;
    right: 5px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

.base-notification a {
    color: white;
    text-decoration: underline;
}

.base-notification h2 {
    margin-bottom: 20px !important;
}

/*end notification*/

hr {
    display: block !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/*a*/
.main-left a {
    font-weight: bold;
}

@media(max-width:970px) {

    #skipnavigation {
        visibility: hidden;
    }

    .base-mobile-menu {
        display: block;
    }

    .icon-toggle-mobile-menu {
        top: 12px;
        display: block;
    }

    .base-top {
        height: 50px;
        left: 0px;
        background-image: none;
        position: fixed;
        box-shadow: 0px 0px 1px rgba(0,0,0,1);
        z-index: 300;
    }

        .base-top .top-logo {
            width: 550px;
            margin-top: 10px;
        }

        .base-top .icons-social {
            display: none;
        }

    .base-nav {
        margin-top: 50px;
        height: 30px;
    }

    .base-nav-in {
        display: none;
    }

    .base-content {
        background-image: none;
    }

    .base-content-in div[class*="sf_2cols"],
    .base-content-in div[class*="sf_3cols"],
    .base-content-in div[class*="sf_4cols"],
    .base-content-in div[class*="sf_5cols"] {
        display: block !important;
        width: 100% !important;
        margin-bottom: 10px;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media(max-width:620px) {

    .icon-toggle-mobile-menu {
        top: 8px;
    }

    .base-top {
        height: 40px;
        padding-left: 5px;
    }

    .base-mobile-menu {
        top: 40px;
    }

    .base-top .top-logo {
        width: 400px;
    }

    .base-top-in {
        padding-left: 8px;
    }

    .base-nav {
        margin-top: 40px;
    }

    .base-footer .logo-county {
        width: 60px;
        bottom: -10px;
    }

    .sfsearchResultUrl {
        display: none;
    }

    .right-links .right-link {
        text-align: center !important;
        padding-left: 10px !important;
    }
}

@media(max-width:470px) {
    .base-top .top-logo {
        margin-top: 11px;
        width: 350px;
    }
}

@media(max-width:410px) {
    .base-top .top-logo {
        width: 310px;
    }
}

@media(max-width:374px) {
    .base-top .top-logo {
        width: 300px;
    }
}

@media(max-width:359px) {
    .base-top .top-logo {
        width: 280px;
    }
}

@media(max-width:320px) {
    .base-top .top-logo {
        width: 260px;
    }
}
