body {
    overflow-x: hidden;
}


.cs-html-widget a:link {
    font-weight: bold;
    text-decoration: underline;
}

a:focus,
a:focus > img,
button:focus {
    outline: 2px dotted #666666 !important;
}

.cs-gallery-widget a:focus > img {
    border: 2px dotted #666666 !important;
}

/* Carousel */
.carousel-caption {
    z-index: 10 !important;
}

  .carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
  }

@media (min-width: 768px) {
  .carousel-caption {
    z-index: 10 !important;
  }
}

/* page placeholder */
.page-content-placeholder
{
    font-size: 40px;
    height: 450px;
    padding-top: 100px;
    color: #aaa;
    background: rgba(200, 200, 200, 0.4);
}

/* page version dialog*/
.version-manager-dialog {
        min-height: 220px;
}

    .version-manager-dialog h5
    {
        font-size: 18px;
        padding-left: 5px;
    }
    .version-manager-dialog .tab-content
    {
        padding-top: 25px;
    }

    .version-manager-dialog .table td,
    .version-manager-dialog .table th
    {
        font-size: 14px;
    }

    .version-manager-dialog .table a,
    .version-manager-dialog .table a:hover
    {
        font-weight: bold;
        text-decoration: none;
    }

/* default modal styles*/
.modal-dialog
{
    background: #fff;
    width: 960px !important;
    min-height: 250px;
}

.modal-body {
    background: #fff !important;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 15px !important;
    max-height: 80vh;
}

@media (min-width: 1px) and (max-width: 599px) {
    .modal-dialog {
        width: 100% !important;
    }
}

@media (min-width: 600px) and (max-width: 959px) {
    .modal-dialog {
        width: 90% !important;
    }
}

/* default navbar styles */
.navbar-placeholder
{
    font-size: large;
}

.navbar-submenu 
{
    width: 480px;
    list-style: none;
    padding-left: 20px;
}

.navbar-submenu > li > a 
{
    padding: 3px 20px;
    clear: both;
    color: inherit;
    white-space: nowrap;
}

@media (min-width: 768px) {
    ul.nav li.cs-navbar:hover > ul.dropdown-menu {
        display: block;
    }

    .dropdown:hover :not(.cs-calButton) .dropdown-menu {
        display: block;
    }
    .dropdown-menu {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .scrollable-nav-menu {
        height: auto;
        max-height: 500px;
        overflow-x: hidden;
    }
}


/* skip-main */
a.skip-main {
    left:-999px;
    position:absolute;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
    z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
    color: #fff;
    background-color:#000;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow:auto;
    margin: 10px 35%;
    padding:5px;
    border-radius: 15px;
    border:4px solid yellow;
    text-align:center;
    font-size:1.2em;
    z-index:999;
}

/* Search Results */
.cs-search-header
{
}

.cs-search-info {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
}

.cs-search-info-no-results{
    min-height: 250px;
}

.cs-search-result{
    margin-bottom: 20px;
}

.cs-search-result h5 a
{
    font-size: 20px !important;
}


/* Loading Animation */
.loading-animate {
    -animation: spin .7s infinite linear;
    -webkit-animation: spin2 .7s infinite linear;
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}

/* override nested bootstrap container classes*/
.container .container{
    width: 100% !important;
    height: auto !important;
    margin: auto !important;
    padding: initial !important;
}


/* carousel widget classes */
.cs-carousel-widget-container {
}
.cs-carousel-widget-slide-container {
    max-height: none;
    min-height: 0 !important;
}
.cs-carousel-widget-title {
    font-size: 26px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 5px #222;
}
.cs-carousel-widget-description {
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 5px #222;
}
.cs-carousel-widget-link {
}
.cs-carousel-widget-controls {
}
.cs-carousel-widget-left-btn {
}
.cs-carousel-widget-right-btn {
}


/* search widget */
.search-field {
    white-space:nowrap;
}

.search-field i {
    display: inline-block;
    cursor: pointer;
    width: 25px;
    min-height: 25px;
    overflow: hidden;
    vertical-align: middle;
}

.hidden-sc {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #575757;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #575757;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #575757;
}

.cs-size-18 {
    font-size: 18px;
}


.cs-form input[type=checkbox] {
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    margin: 10px;
}



/* Blog/News/Announcements post*/
.cs-post-image {
    width: 100%;
    height: auto;
    margin-bottom: -15px;
    margin-top: 5px;
}

.cs-post-list-image {
    width: 100%;
    height: auto;
}


.cs-post-list-details {
    padding-left: 15px;
}

.cs-post-list-exerpt {
    height: 50px;
    overflow: hidden;
}


/* calendar event page*/

.cs-event-repeat {
    background-color: transparent;
    border-radius: 5px;
    border-width: 1px;
    font-size: 11px;
    position: absolute;
}

.csc-force-left {
    position: relative;
    display: inline-block;
    right: 0%;
    transform: translate(0%);
    z-index: 1;
}

.csc-force-center {
    position: relative;
    display: inline-block;
    right: -50%;
    transform: translate(-50%);
    z-index: 1;
}

.csc-force-right {
    position: relative;
    display: inline-block;
    right: -100%;
    transform: translate(-100%);
    z-index: 1;
}


/* flex-box */
.row.display-flex {
    display: flex;
    flex-wrap: wrap;
}

.row.display-flex > [class*='col-'] {
    flex-grow: 1;
}

@media (min-width: 1px) and (max-width: 599px) {
    .row.display-flex {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}



/* Base card list */
.cs-card-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    overflow: hidden;
}

.cs-card-thumbnail {
    padding: 0px;
    border: 0;
    margin-bottom: 20px;
}

.cs-card {
    max-width: 292px;
    padding: 15px;
}

/* Horizontal card list */
.cs-card-horizontal .cs-text {
    height: auto;
    overflow: hidden
}

@media (min-width: 1px) and (max-width: 599px) {
    .cs-card-horizontal > div {
        max-width: unset;
    }
}


/* horizontal card list 2 */
.cs-blog-widget-horizontal2 .cs-card .cs-text,
.cs-announcement-widget-horizontal2 .cs-card .cs-text,
.cs-news-widget-horizontal2 .cs-card .cs-text {
    color: black;
    background-color: white;
    padding: 20px;
    text-align: center;
}

.cs-blog-widget-horizontal2 .cs-card-thumbnail,
.cs-announcement-widget-horizontal2 .cs-card-thumbnail,
.cs-news-widget-horizontal2 .cs-card-thumbnail {
    padding: 0px;
    border: 0;
    margin-bottom: 0;
}



/* horizontal card carousel */
.cs-blog-widget-carousel .cs-card,
.cs-announcement-widget-carousel .cs-card,
.cs-news-widget-carousel .cs-card {
    max-width: unset;
    padding: 0px;
}

.cs-blog-widget-carousel .cs-card .cs-text,
.cs-announcement-widget-carousel .cs-card .cs-text,
.cs-news-widget-carousel .cs-card .cs-text {
    color: black;
    background-color: white;
    padding: 20px;
    text-align: center;
}

.cs-blog-widget-carousel .cs-card-thumbnail,
.cs-announcement-widget-carousel .cs-card-thumbnail,
.cs-news-widget-carousel .cs-card-thumbnail {
    padding: 0px;
    border: 0;
    margin-bottom: 0px;
}

@media (min-width: 1px) and (max-width: 599px) {
    .cs-card-horizontal2 > div {
        max-width: unset;
    }
}



/* Quicklinks -------------------------------------- */

@media (min-width: 1px) and (max-width: 599px) {
    .cs-quicklinks-cards,
    .cs-quicklinks-icons,
    .cs-quicklinks-images,
    .cs-quicklinks-imageslist,
    .cs-quicklinks-bubbles,
    .cs-quicklinks-bubbleslist {
        text-align: center;
    }
    .cs-quicklinks-bubbleslist .cs-card {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Quicklinks - cards */
.cs-quicklinks-cards .cs-link {
    position: relative;
    display: inline-block;
    background-color: #ccc;
    background-position: center center;
    background-size: cover;
    min-width: 200px;
    min-height: 200px;
}

.cs-quicklinks-cards .cs-item-title {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    line-height: 20px;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    padding: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, .7);
}

/* Quicklinks - cards list */
.cs-quicklinks-cardslist .cs-card {
    max-width: unset;
    padding: 0px;
    margin-bottom: 20px;
}

.cs-quicklinks-cardslist .cs-link {
    display: block;
    background-color: #999;
    height: 80px;
    padding: 0;
}

.cs-quicklinks-cardslist .cs-card-thumbnail {
    display: inline-block;
    height: 80px;
    width: 80px;
    background-position: center center;
    background-size: cover;
    vertical-align: middle;
    font-size: 0px;
}

.cs-quicklinks-cardslist .cs-item-title {
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    vertical-align: middle;
    margin-left: 20px;
    font-size: 20px;
}

/* Quicklinks - icnos */
.cs-quicklinks-icons .cs-link {
    display: block;
}

.cs-quicklinks-icons .cs-quicklinks-icon {
    display: block;
    text-align: center;
    font-size: 64px;
    line-height: 64px;
    margin-bottom: 10px;
}

.cs-quicklinks-icons .cs-item-title {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 20px;
    padding: 10px;
}

/* Quicklinks - icnos list */
.cs-quicklinks-iconslist .cs-card {
    max-width: unset;
    padding: 0px;
    margin-bottom: 20px;
}

.cs-quicklinks-iconslist .cs-link {
    display: block;
    background: #888;
    color: #fff;
    height: 50px;
    padding: 10px 15px;
}

.cs-quicklinks-iconslist .cs-quicklinks-icon {
    display: inline-block;
    font-size: 30px;
    line-height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.cs-quicklinks-iconslist .cs-item-title {
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    vertical-align: middle;
}


/* Quicklinks - images */
.cs-quicklinks-images .cs-link {
    display: inline-block;
    width: 200px;
}

.cs-quicklinks-images .cs-card-thumbnail {
    display: block;
    background-color: #ccc;
    background-position: center center;
    background-size: cover;
    height: 200px;
    width: 200px;
}

.cs-quicklinks-images .cs-item-title {
    display: block;
    padding: 10px;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

/* Quicklinks - images list */
.cs-quicklinks-imageslist .cs-card {
    max-width: unset;
    padding: 0px;
    margin-bottom: 20px;
}

.cs-quicklinks-imageslist .cs-link {
    display: block;
    background-color: #999;
    background-position: center center;
    background-size: cover;
    height: 60px;
}

.cs-quicklinks-imageslist .cs-item-title {
    height: 100%;
    display: block;
    color: #fff;
    font-size: 24px;
    line-height: 24px;
    padding-top: 18px;
    text-align: center;
    text-transform: uppercase;
    background-color: rgba(0, 0, 0, .5);
    text-shadow: 0 0 10px #000;
}


/* Quicklinks - bubbles */
.cs-quicklinks-bubbles .cs-quicklinks-icon {
    display: block;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.cs-quicklinks-bubbles .cs-card {
    width: 165px;
    height: 165px;
    background-position: center center;
    background-clip: border-box;
    background-size: cover;
    vertical-align: middle;
    padding: 10px !important;
}

.cs-quicklinks-bubbles .cs-item-title {
    display: block;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    vertical-align: middle;
}

.cs-quicklinks-bubbles .cs-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, .5);
    background-position: center center;
    background-size: cover;
    text-shadow: 0 0 5px #000;
    border-radius: 50%;
    padding-top: 40px;
}


/* Quicklinks - bubbles list */
.cs-quicklinks-bubbleslist .cs-quicklinks-icon {
    display: block;
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.cs-quicklinks-bubbleslist .cs-card {
    text-align: center;
    width: 165px;
    height: 165px;
    background-position: center center;
    background-clip: border-box;
    background-size: cover;
    vertical-align: middle;
    padding: 10px !important;
}

.cs-quicklinks-bubbleslist .cs-item-title {
    display: block;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    vertical-align: middle;
}

.cs-quicklinks-bubbleslist .cs-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, .5);
    background-position: center center;
    background-size: cover;
    text-shadow: 0 0 5px #000;
    border-radius: 50%;
    padding-top: 40px;
}



/* Video Player ------------------------------------------------*/

a.video-controls-link {
    opacity: 0;
    z-index: -1;
    position: absolute;
}

a.video-controls-link:focus, a.video-controls-link:active {
    opacity: unset;
    z-index: 999;
    position: unset;
}



/* XCSS -------------------------------------------------------- */

.cs-widget-title,
.cs-widget-header {
    padding-bottom: 15px;
    margin: 0;
}

.cs-widget-header .cs-widget-title {
    padding-bottom: 0;
}


.cs-subtext {
    font-size: 12px; 
    font-style: italic;
    color: rgb(57,57,57);
}



/* color options */
.red1 {
    background-color: #d78f7b;
    color: #000;
}
.red2 {
    background-color: #e8afa6;
    color: #000;
}
.red3 {
    background-color: #e9c4c1;
    color: #000;
}
.red4 {
    background-color: #f0d6d4;
    color: #000;
}
.orange1 {
    background-color: #d68e57;
    color: #000;
}
.orange2 {
    background-color: #e2a481;
    color: #000;
}
.orange3 {
    background-color: #ecba9d;
    color: #000;
}
.orange4 {
    background-color: #f7dbcd;
    color: #000;
}
.yellow1 {
    background-color: #ffdd4c;
    color: #000;
}
.yellow2 {
    background-color: #fee781;
    color: #000;
}
.yellow3 {
    background-color: #fff0b3;
    color: #000;
}
.yellow4 {
    background-color: #fef7dd;
    color: #000;
}
.lime1 {
    background-color: #95bc6c;
    color: #000;
}
.lime2 {
    background-color: #a9c982;
    color: #000;
}
.lime3 {
    background-color: #bcd39a;
    color: #000;
}
.lime4 {
    background-color: #d8e4be;
    color: #000;
}
.green1 {
    background-color: #78aa7e;
    color: #000;
}
.green2 {
    background-color: #8cbf91;
    color: #000;
}
.green3 {
    background-color: #b2d6b3;
    color: #000;
}
.green4 {
    background-color: #d5ead7;
    color: #000;
}
.blue1 {
    background-color: #6a9bb9;
    color: #000;
}
.blue2 {
    background-color: #84b4cc;
    color: #000;
}
.blue3 {
    background-color: #a2cddd;
    color: #000;
}
.blue4 {
    background-color: #c3e1ea;
    color: #000;
}
.purple1 {
    background-color: #a28ebe;
    color: #000;
}
.purple2 {
    background-color: #b4a4cf;
    color: #000;
}
.purple3 {
    background-color: #c5bdda;
    color: #000;
}
.purple4 {
    background-color: #e2dded;
    color: #000;
}
.magenta1 {
    background-color: #b985bb;
    color: #000;
}
.magenta2 {
    background-color: #c99ec9;
    color: #000;
}
.magenta3 {
    background-color: #d7b8d8;
    color: #000;
}
.magenta4 {
    background-color: #edd8e9;
    color: #000;
}