body
{
    background: url('../images/bg.jpg') no-repeat fixed top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: 'Arial', sans-serif;
}

body.cke_editable
{
    background-image: none !important;
}

.page-banner {
	width: 100%;
}

img
{
    display: inline-block;
    height: auto;
    max-width: 100%;
}

#main h1, #main .h1,
#main h2, #main .h2,
#main h3, #main .h3,
#main h4, #main .h4,
#main h5, #main .h5,
#main h6, #main .h6,
.footer blockquote,
#main a,
#main a:link,
#main a:hover,
#main a:focus,
#main a:visited,
.footer a,
.footer a:link,
.footer a:hover,
.footer a:focus,
.footer a:visited
{
    color: #007589;
}

.footer a {
    text-shadow: 0 0 5px rgba(241,213,192,1),
                 0 0 10px rgba(241,213,192,1),
                 0 0 30px rgba(241,213,192,1),
                 0 0 30px rgba(241,213,192,1),
                 0 0 30px rgba(241,213,192,1);
}

#main a.btn-primary,
#main a.btn-danger {
    color: #fff;
}

.btn-primary {
    background: #007589;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6
{
    font-size: 22px;
}
    
h1, .h1
{
    font-size: 22px;
}

h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6
{
    font-size: 15px;
}

#main
{
    padding: 15px 30px;
    /*background-color: rgba(255, 255, 255, 0.76);*/
    background-color: #fff;
}

.underline,
#main hr
{
    border-bottom: solid 2px #007589;
}

/* navbar */

.navbar-theme
{
    color: #fff;
    margin-bottom: 0;
    background-color: #007589;
    border-radius: 0;
    padding: 0 15px;
}

.navbar {
    min-height: auto;
}

.navbar-header,
.splash,
.splash .social
{
    text-align: center;
}

.splash .social
{
    margin-top: 1em;
}

.navbar-toggle
{
    float: none;
}

.navbar-theme a
{
    color: #fff;
    font-variant: small-caps;
}

.navbar-theme li a:hover,
.navbar-theme li a:focus,
.navbar-theme .open > a,
.navbar-theme .open a:hover,
.navbar-theme .open a:focus
{
    background-color: #92B7BC;
}

.navbar-theme,
.dropdown-menu
{
    font-size: 16px;
}

.dropdown-menu > li > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus
{
	color: #fff;
}

.navbar-collapse
{
    padding-left: 0;
    padding-right: 0;
}

.navbar-right
{
    margin-right: 15px;
}

.splash-overlay
{
    padding: 15px;
}

.page-row a.rdit
{
    color: #777;
    font-size: 12px;
    text-align: center;
    display: block;
}

.page-row a.rdit span
{
    font-size: 10px;
    display: block;
}

.rm-icon
{
    display: inline-block;
    width: 30px;
}

.content-place
{
    padding-bottom: 10px;
}

.content-place h2
{
    font-weight: bolder;
    font-size: 19px; 
}

.content-place .description
{
    margin-bottom: 20px;
}

.place-location-link {
    display: inline-block;
    margin-top: 10px;
}

.place-location-link img {
    vertical-align: bottom;
}

.social
{
    padding-right: 5px;
}

.sidebar .category-row .btn
{
    font-size: 12px;
}

.sidebar .category-row a
{
	display: block;
	white-space: nowrap;
}

.sidebar .category-row .rm-icon
{
    width: 20px;
}

.footer
{
    margin-left: 0;
    margin-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 45px;
    background: url(../images/footer_image.jpg) center left repeat-x;
    font-weight: bolder;
    font-size: 1.2em;
}

.footer div
{
    padding: 0;
}

#layout_controls_container
{
    min-height: 66px;
}

#layout_controls.fixed
{
    position: fixed;
    top: 0;
    z-index: 1039;
}

/* rslides */

.rslides
{
    display: none;
    position: relative;
}

.rslides .strapline
{
    position: absolute;
    bottom: 10px;
    padding: 0;
    margin: 0;
    width: 100%;
    color: #fff;
    font-size: 15px;
    text-align: center;
    z-index: 1038;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    border: none;
}

.slideshow .owl-controls
{
    display: none;
}

.rslide img
{
    width: 100%;
    max-height: 285px;
}

.pagination-az > li > a,
.pagination-az > li > span
{
    padding: 5px;
    border: none;
}

.navbar-nav span.scroll-up-arrow
{
    border-color: transparent transparent #007589 !important;
}

.navbar-nav span.scroll-down-arrow
{
    border-color: #007589 transparent transparent !important;
}

.dropdown-menu
{
    z-index: 1300;
	background-color: #007589;
}

#nav-main
{
    padding: 15px;
}

.table.calendar th,
.table.calendar td
{
    padding: 3px;
}

.table.calendar td a,
.table.calendar td span
{
    display: block;
    padding: 3px;
    margin-left: -3px;
    margin-top: -3px;
    margin-bottom: -3px;
}

.calendar-key.has-event
{
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #a94442;
}

.events .event
{
    border-top: solid 1px #007589;
}

.events .event h2
{
    margin-top: 5px;
    font-size: 20px;
}

.directory-groups ul
{
    padding-left: 15px;
}

.directory-entry
{
    margin-bottom: 1.3em;
}

.directory-category hr
{
    margin-left: 12.5%;
    margin-right: 12.5%;
    margin-top: 0;
}

.directory-entry .more-information
{
    margin-left: 25px;
}

.directory-entry .email-icon
{
    height: 15px;
}

.directory-entry .telephone-icon
{
    height: 20px;
    margin-right: 8px;
}

.directory-category .btn-top
{
    font-size: 11px;
}

/* google custom search */

.gsc-control-cse *
{
    box-sizing: content-box !important;
}

.cse .gsc-control-cse, .gsc-control-cse
{
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.gsc-control-cse .gsc-input
{
    background: none !important;
    /*background: url('../images/search.png') no-repeat center left !important;*/
}

.gsc-control-cse .gsc-input.no-bg
{
    background: none !important;
}

.navbar-text
{
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.town-list {
	margin: 1em 0;
	font-weight: bolder;
}

.tower-photo {
    display: inline-block;
    margin-top: 50px;
}

.town-selector {
	display: inline-block;
	padding: 3px;
	padding-left: 15px;
	background: url(/assets/fileman/Uploads/Images/Misc%20images/index_icon.jpg) no-repeat 6px 10px;
}

.town-selector.active {
	background-color: lightblue;
	border-radius: 3px;
}

.cse .gsc-search-button-v2, .gsc-search-button-v2 {
    padding: 5px !important;
}

#gsc-i-id1 {
    text-indent: 0 !important;
}

.logo {
    font-weight: 700;
    font-size: 72px;
    color: #007589;
    text-decoration: none;
    line-height: 1.2em;
    display: block;
    text-shadow: 0 0 5px rgba(241,213,192,0.5),
                 0 0 10px rgba(241,213,192,0.5),
                 0 0 30px rgba(241,213,192,0.5);
}
.logo:hover,
.logo:active,
.logo.focus {
    text-decoration: none;
}
    
/* media queries */

@media (min-width: 768px)
{
    .rslides
    {
        display: block;
    }
    
    .splash .social
    {
        margin-top: 0;
        text-align: right;
    }
    
    .optional-label
    {
      margin: 7px 0 -10px -15px;
    }
    
    .nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    
    #nav-main
    {
        padding: 0;
    }
    
    .splash
    {
        position: relative;
    }
}


@media (min-width: 768px) and  (max-width: 991px)
{
    .pagination-az > li > a,
    .pagination-az > li > span
    {
        padding: 4px;
    }
    
}


@media (min-width: 992px)
{
    
    .splash
    {
        background: #007589;
    }

    .logo
    {
        white-space: nowrap;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 5000;
    }
    
    .col-sm-8.main
    {
        width: 700px;
    }

    .col-sm-4.sidebar
    {
        width: 210px;
    }
}

@media (min-width: 1200px)
{    
    .col-sm-8.main
    {
        width: 900px;
    }

    .col-sm-4.sidebar
    {
        width: 210px;
    }
    
    .nav > li > a {
        padding-left: 11px;
        padding-right: 11px;
    }
}