/*
 * @file
 * global.styles
 *
 * Styles you add here will load for all device sizes, they are "global", as
 * opposed to "responsive" styles, which only load for a given breakpoint (media
 * query) that you set in theme settings. See the README for more details.
 *
 *
 * How to use this file:
 * --------------------
 *
 * There are many empty selectors and some basic styles to act as a guide.
 * Nothing is set in stone and you can change anything - even delete all of it
 * and start with your own clean slate.
 *
 * See global.base also which includes normalize.css and some additional
 * helper classes and base styles.
 */

/* =============================================================================
 *   Base
 * ========================================================================== */

/*
 * To preserve theme settings never apply font properties to the HTML element.
 * This is critically important if you are using the Responsive JavaScript
 * feature as this relies on being able to set a pseudo font family on the HTML
 * element. If you need to set default font properties of any kind use the BODY
 * element as these can be overridden using font theme settings.
 */

html.lt-ie9 h2 {
  color: pink;
}


body {
  font-family: "Lato" !important;
  color: black !important;
  font-size: 87.5%;
  background-image: url(images/ricepaper.png);
  background-repeat: repeat;
  
}


/* =============================================================================
 *   HTML Elements
 * ========================================================================== */

h1 {
  color: black;
}

/* Gets rid of the page title on the home page */
.front h1#page-title {
  display: none;
}

/* Top Level Pages remove title */

/* top level pages in order */
.page-node-3 #page-title,
.page-node-28 #page-title,
.page-node-37 #page-title,
.page-node-38 #page-title,
.page-node-5 #page-title,
.page-node-6 #page-title
{
  /* display: none; */
}

h1#page-title {
  margin-top: -1px;
}

.front header#main-content-header {
    /* display: none; */
}

.front section#main-content {
    /* position: relative; */
    /* bottom: 32px; */
}

.front #content {
  /* width: 55%; */
} 

.front #main-content-header {
    /* width: 64%; */
    /* margin-left: 132px; */
}



.front h2#site-slogan {
    text-align: center;
    margin-bottom: 20px;
    margin-left: 377px;
}

h2#site-slogan {
  text-align: center;
}

.front h2.block-title {
    font-size: 30px;
}

h2 {
  font-size: 25px;
}

h3 {
  font-size: 30px;
  margin: 0;
}

h4 {}

h5 {}

h6 {}

p {
  line-height: 23px;
  font-size: 16px;
}

.node-type-page .field-name-field-page-body p {
  line-height: 33px;
  /* margin-left: -38px; */
}


b,
strong {}

i,
em {}

dfn {}

sup {}

sub {}

del {}

ins {}

blockquote {}

cite {}

q {}

address {}

ul {}

ol {}

li {}

dl {}

dd {}

dt {}

abbr {}

acronym {}

pre,
code,
tt,
samp,
kbd,
var {
  font-family: Consolas, Monaco, 'Courier New', Courier, monospace, sans-serif;
}


/* =============================================================================
 *   Wrappers
 * ========================================================================== */

/*
 * Outer wrappers:
 * - #page-wrapper: body > #page-wrapper
 * - #page: body > #page-wrapper > #page
 * - .container: body > #page-wrapper > #page.container
 *
 * The .container class holds the page width value from theme settings.
 */
#page-wrapper {}
#page {}
#page .container {}

/*
 * Wraps all header elements - branding and .region-header
 */
#header {}

/*
 * Wraps the sidebars the content column
 */
#columns {}

/*
 * Main content column wrapper
 */
#content-column {}

/*
 * Wraps the main-content-header, the content region and feed-icons. Use this
 * wrapper to style the entire main content column
 */
#main-content {}

/*
 * Wraps the content region, avoid applying styles to this wrapper, its used
 * mainly for position and invisible gutters and can be problematic to style
 */
#content {}

/*
 * Footer wrapper
 */
#footer {
    clear: both;
}

/*
 * Panels may need additional margin wrangling when in the $content region
 */
#content .panel-display {}

/*
 * Full Width Wrappers
 * These are used in the optional page--full-width-wrappers.tpl.php template.
 * All have internal .container classes. In the full width wrapper template the
 * .container classes set the width or max-width - you can style this but never
 * add any width/margin/padding/borders etc to .container
 */

/*
 * Wraps the leaderboard
 */
#leaderboard-wrapper {}
#leaderboard-wrapper .container {}

/*
 * Wraps the header
 */
#header-wrapper {
  /* Debug styles, is this working */
  background: rgba(255, 192, 203, 0.5);
}
#header-wrapper .container {}

/*
 * Wraps the nav elements
 */
#nav-wrapper {}
#nav-wrapper .container {}

/*
 * Wraps breadcrumb
 */
#breadcrumb-wrapper {}
#breadcrumb-wrapper .container {}

/*
 * Wraps messages and help
 */
#messages-help-wrapper {}
#messages-help-wrapper .container {}

/*
 * Wraps the secondary content/preface region
 */
#secondary-content-wrapper {}
#secondary-content-wrapper .container {}

/*
 * Wraps the main content column
 */
#content-wrapper {}
#content-wrapper .container {}

/*
 * Wraps the tertiary content/postfix region
 */
#tertiary-content-wrapper {}
#tertiary-content-wrapper .container {}

/*
 * Footer wrapper
 */
#footer-wrapper {
  /* Debug styles, is this working? */
  background: rgba(255, 192, 203, 0.5);
}
#footer-wrapper .container {}


/* =============================================================================
 *   Branding
 * ========================================================================== */

/*
 * Wraps all the branding elements, logo, name and slogan
 */
#branding {}

/*
 * Logo
 */
#logo {
  padding: 10px 0;
}

#logo img {
  vertical-align: bottom;
}

/*
 * Wrapper for the site name and slogan
 */
#name-and-slogan {}

/*
 * Site name (h1)
 */
#site-name {
  margin: 0;
}

#site-name a {}

#site-name a:link,
#site-name a:visited {
  text-decoration: none;
}

#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

/*
 * Site slogan (h2)
 */
#site-slogan {
  margin: 0;
}


/* =============================================================================
 *   Page content header
 * ========================================================================== */

/*
 * Main content header wraps the page title, tabs and actions links
 */
#main-content-header {}

/*
 * The main page title (h1)
 */
#page-title {
  /* margin: 0; */
}


/* =============================================================================
 *   Misc Global Styles
 * ========================================================================== */

/*
 * Feed icons
 */
.feed-icon {}

/*
 * Aggregator feed source
 */
#aggregator .feed-source .feed-icon {
  display: inline;
  float: none;
  margin-right: 10px;
}

.feed-details dt,
.feed-details dd {
  display: inline;
  margin: 0;
}

/*
 * Generic styles for the more link
 */
.more-link {}

/*
 * Generic styles for links. See the ul.links declaration in node and comment
 * stylesheets
 */
ul.links {
  margin: 0;
  padding: 0;
}

ul.links.inline {
  display: block;
}

ul.links li {
  display: inline;
  list-style: none;
  padding: 0 10px 0 0;
}

/*
 * Search results are an ordered list so reset the margin
 */
.search-results {
  margin: 0;
  padding: 0;
}

/*
 * Attribution message and link
 */
.attribution {
  display: block;
  opacity: 0.65;
  padding: 1em 0;
  text-align: center;
}

.attribution a {
  text-decoration: none;
  color: inherit;
}

.attribution a:hover,
.attribution a:focus {
  text-decoration: underline;
}


/* =============================================================================
 *   Regions
 * ========================================================================== */

/*
 * Standard region wrapper, don't add width to any regions, you will bork the
 * layout - no margin, padding or borders etc
 */
.region {}

/*
 * Regions have an inner div - perfect for adding margin, padding or borders
 */
.region-inner {}

/*
 * Regions can be nested, such as when using Panels
 */
.region-inner .region-inner {}

/*
 * Header region, embedded in the #header
 */
.region-header {}

/*
 * Generally used to output Drupals help block, if the help module is enabled
 */
.region-help {}

/*
 * Secondary content
 */
.region-secondary-content {}

/*
 * Sits above the main content header, like a content-top region
 */
.region-highlighted {}

/*
 * Sits below the main content, like a content-bottom region
 */
.region-content-aside {}

/*
 * Sidebars - targets both
 */
.sidebar {}

/*
 * First sidebar
 */
.region-sidebar-first {
    /* padding: 15px; */
    /* box-sizing: content-box; */
}

/*
 * Second sidebar
 */
.region-sidebar-second {}

/*
 * Tertiary content
 */
.region-tertiary-content {}

/*
 * Footer region
 */
.region-footer {}


/* =============================================================================
 *   Links
 * ========================================================================== */

a {
  text-decoration: none;
  color: teal;
}

a:link,
a:visited {}

a:active,
a.active {}

a:hover,
a:focus {
  text-decoration: underline;
}


/* =============================================================================
 *   Primary, Secondary and Menu Bar region menus
 * ========================================================================== */

.nav {
  clear: both;
  margin: 10px 0;
}

.nav ul,
.nav ul.menu {
  margin: 0;
  padding: 0;
}

.nav li,
.nav ul.menu li {
  display: inline;
  float: left;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li a,
.nav ul.menu li a {
  display: block;
  white-space: nowrap;
  padding: 0 10px;
}

.nav li a:visited,
.nav ul.menu li a:visited {}

.nav li a:hover,
.nav li a:focus,
.nav ul.menu li a:hover,
.nav ul.menu li a:focus {}

.nav .block {
  margin-bottom: 0;
}

/* =============================================================================
 *   TB MEGA MENU
 * ========================================================================== */





/* this will change the color of the main menu active background color */
.tb-megamenu .nav li.dropdown.active > .dropdown-toggle, .tb-megamenu .nav li.dropdown.open.active > .dropdown-toggle, .tb-megamenu .nav > li.dropdown.open.active > a:hover,
.tb-megamenu .nav > .active > a, .tb-megamenu .nav > .active > a:hover, .tb-megamenu .nav > .active > a:focus {
  background-color: rgba(0, 128, 128, 0.32);
}

/* this will change the drop down menu background color */
.tb-megamenu .dropdown-menu .active > a, .tb-megamenu .dropdown-menu .active > a:hover {
    /* background-color: #0081c2;
    background-image: linear-gradient(to bottom, #08c, #0077b3);
    background-repeat: repeat-x;
    color: #fff;
    outline: 0 none;
    text-decoration: none; */
    background-color: rgba(0, 128, 128, 0.32);
    background-image: none;
    /*background-image: linear-gradient(to bottom, #00cca3, #0077b3); */
    /* background-repeat: repeat-x; */
    /* color: #fff; */
    outline: 0 none;
    text-decoration: none;
}

/* bottom border on drop down menu */
.tb-megamenu .dropdown-menu {
  border-bottom: 3px solid teal;
}

#block-tb-megamenu-main-menu {
  margin-top: 20px;
  /* when menu is below site title it will have the following bottom margins */
  margin-bottom: 49px; 
}

#block-tb-megamenu-main-menu li a:last-child {
  padding: none;
}

#block-tb-megamenu-main-menu li a {
  color: black;
  /* text-transform: uppercase; */
}

ul.tb-megamenu-nav.nav.level-0.items-7 {
    text-transform: uppercase;
}

.tb-megamenu-item .level-2 .mega li a {
  text-transform: none!important;
}

.tb-megamenu-subnav li a {
  text-transform: none;
}

#block-tb-megamenu-main-menu .dropdown-toggle li a {
  text-transform: none;
}

/* This will put top and bottom border on the main nav */
#block-tb-megamenu-main-menu ul > li {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

/* This will get rid of all the top borders on drop down from the above css */
#block-tb-megamenu-main-menu ul > li li {
  border-top: none;
}

/* This will get rid of the last bottom border on drop down from the above css */
#block-tb-megamenu-main-menu ul > li li:last-child {
  border-bottom: none;
}

/* Removes the right border */
.tb-megamenu .nav > li > a {
  border-right: none;
}

/* Gets rid of the default table display */
.tb-megamnu:before, .tb-megamenu:after {
  display: none;
}

/* Removes the drop down arrow beside the main menu item */
.tb-megamenu .nav li.dropdown > .dropdown-toggle .caret {
  display: none;
}

/* CENTER THE NAV */

.tb-megamenu .nav {
  margin: 0 auto;
  padding: 0;
  width: 812px;
}

#block-tb-megamenu-menu-footer {
   margin:0 auto;
   text-align: center; 
   width: 33%;
 } 

#block-tb-megamenu-menu-footer a {
  text-align:center;
  color: black;
  /*display: inline-block;*/
}

#block-tb-megamenu-menu-footer li {
  border-right: 1px solid black;
  line-height: 1px;
  text-transform: uppercase;
}

#block-tb-megamenu-menu-footer li:last-child {
  border-right: none;
}

.region-footer {
    text-align: center;
}

blockquote.image-field-caption {
    width: 54%;
    float: right; 
    background-color: lightblue;
}

a.button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    background-color: #96cc14;
    border-radius: 10px;
    color: #1c3f7e;
    display: block;
    font-family: "Lato";
    height: 35px;
    padding-top: 15px;
    text-align: center;
    width: 175px;
}

/* =============================================================================
 *   NEW FOOTER MENU LINKS
 * ========================================================================== */

#block-menu-menu-footer li {
  list-style: none;
  border-right: 1px solid black;
}

#block-menu-menu-footer li:last-child {
  border-right: none;
}

#block-menu-menu-footer li a {
  padding-right: 21px;
  padding-left: 19px;
}

#block-menu-menu-footer ul li {
  display: inline;
}

#block-menu-menu-footer ul {
  text-align: center;
  margin-bottom: 0px;
}

#block-menu-menu-footer {
  margin-bottom: 0px;
}

/* =============================================================================
 *   FONT AWESOME ICONS
 * ========================================================================== */

.fa-external-link {
  color: teal;
  padding-right: 5px;
}

/* =============================================================================
 *  KEEP THE FOOTER AT THE BOTTOM
 * ========================================================================== */

/* #footer {
    height: 100px;
    width: 100%;
    position: absolute;
}

body {
    margin: 0 0 100px; /* bottom = footer height */
}

/* html {
    position: relative;
    min-height: 100%;
} */

/* =============================================================================
 *  KEEP THE FOOTER AT THE BOTTOM 2
 * ========================================================================== */

HTML, BODY {
  height: 100%;
}

#page {
  /* width: 1200px; */
  /* position: relative; */
}
#section-content {
  padding-bottom: 50px;
}
#section-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
}

/* =============================================================================
 *   Superfish
 * ========================================================================== */

ul.sf-menu {
  margin-bottom: 0;
}

ul.sf-menu a {
  border-left: 0;
  border-top: 0;
  padding: 0 10px;
  text-decoration: none;
  height: 2.5em;
  line-height: 2.5em;
}

ul.sf-menu a:link,
ul.sf-menu a:visited {}

ul.sf-menu li {}

ul.sf-menu li:hover,
ul.sf-menu li.sfHover {
  outline: 0;
}

ul.sf-menu a {}

ul.sf-menu a:focus,
ul.sf-menu a:hover,
ul.sf-menu a:active {
  outline: 0;
}

/*
 * Superfish blocks
 */
.block-superfish {}

.block-superfish .block-inner .content {}

.block-superfish ul {
  margin: 0 !important;
  padding: 0 !important;
}

.block-superfish ul ul {}

.block-superfish ul ul ul {}

.block-superfish ul ul ul ul {}

.block-superfish li {
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * Vertical style
 */
.sf-vertical {
  width: 100%;
}

.sf-vertical li {
  width: 100%;
}

.sf-vertical li.last {}

.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
  left: 100%;
  top: 0;
  margin: 0;
  padding: 0;
}

.sf-vertical li a {
  padding: 0 10px;
}

/*
 * Navbar style
 */
.sf-navbar {
  padding-bottom: 0 !important;
}

/*
 * Sensible padding for the default style
 */
.sf-menu.sf-style-default a {
  padding: 0 10px;
}




/* =============================================================================
 *   Menu Toggles
 * ========================================================================== */

.at-mt .at-menu-toggle,
.at-mt .at-menu-toggle ul,
.at-mt .at-menu-toggle ul.menu {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.at-mt .at-menu-toggle-button {
  margin: 0;
}

.at-mt .at-menu-toggle ul a {
  padding: 0 10px;
  white-space: nowrap;
}




/* =============================================================================
 *   Menus, usually blocks
 * ========================================================================== */

ul.menu {
  padding-left: 15px;
}

ul.menu ul {
  padding-left: 15px;
}

ul.menu ul ul {}

ul.menu ul ul ul {}

ul.menu li {
  margin: 0;
}

ul.menu li.collapsed,
ul.menu li.expanded,
ul.menu li.leaf {}

ul.menu li a {}

ul.menu li a:link,
ul.menu li a:visited {}

ul.menu li a:active,
ul.menu li a.active {}

ul.menu li a:hover,
ul.menu li a:focus {}

ul.menu li.active a,
ul.menu li.active-trail a {}

ul.menu li.first,
ul.menu li.last {}

/* If li.content exists it's a problem, so reset the padding */
.block .menu li.content {
  padding: 0;
}


/* =============================================================================
 *   Book navigation menu
 * ========================================================================== */

.book-navigation {}

.book-navigation .page-links {}

.book-navigation .page-previous {}

.book-navigation .page-next {}

.book-navigation .page-up {
  /* Prevent text wrapping to a new line, assumes the string is two chars */
  min-width: 2em;
  white-space: nowrap;
}

.book-navigation .menu {
  margin-left: 0;
}


/* =============================================================================
 *   Breadcrumbs
 * ========================================================================== */

#breadcrumb {
  margin: 10px 0;
  display: none;
}

/* If the label is set to show in theme settings the label class is added */
#breadcrumb .breadcrumb-label {
  font-size: 1em;
  display: inline;
  padding-right: 10px;
}

#breadcrumb .breadcrumb-label:after {
  content: ":";
}

#breadcrumb ol {
  margin: 0;
  padding: 0;
}

#breadcrumb .with-breadcrumb-label ol {
  display: inline;
}

#breadcrumb li {
  list-style: none;
  display: inline;
}

#breadcrumb li.crumb-first {}

#breadcrumb li.crumb-last {}

#breadcrumb a {}

#breadcrumb a:link,
#breadcrumb a:visited {}

#breadcrumb a:active,
#breadcrumb a.active {}

#breadcrumb a:hover,
#breadcrumb a:focus {}

#breadcrumb .crumb-separator {}


/* =============================================================================
 *   Pagers
 * ========================================================================== */

ul.pager {
  clear: both;
  margin: 0;
  text-align: center;
}

.item-list ul.pager li {
  margin: 0;
}

ul.pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  padding: .5em;
}

ul.pager li.pager-current {
  font-weight: 700;
}

.block ul.pager li {
  margin: 0;
}

/*
 * Theme the various states of pager links
 */
ul.pager li {}

ul.pager li a {}

ul.pager li a:link,
ul.pager li a:visited {}

ul.pager li a:active,
ul.pager li a.active {}

ul.pager li a:hover,
ul.pager li a:focus {}

ul.pager li.pager-item {}
ul.pager li.first {}
ul.pager li.last {}
ul.pager li.pager-current {}
ul.pager li.pager-first {}
ul.pager li.pager-previous {}
ul.pager li.pager-next {}
ul.pager li.pager-last {}


/* =============================================================================
 *   Skip Navigation
 * ========================================================================== */

#skip-link {
  left: 50%;
  margin-left: -6.5em;
  margin-top: 0;
  padding: 0 0.5em;
  position: absolute;
  width: 12em;
  z-index: 50;
}

#skip-link a {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

#skip-link a:link,
#skip-link a:visited {
  background: #444;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: block;
  line-height: 2;
  padding: 0;
  text-align: center;
  text-decoration: none;
}

#skip-link a:hover,
#skip-link a:focus,
#skip-link a:active {
  outline: 0;
}


/* =============================================================================
 *   Tabs (local tasks)
 * ========================================================================== */

#tasks {
  margin-bottom: 15px;
}

ul.primary {
  border-bottom-color: #ccc;
  margin: 20px 0;
  padding: 0 0 0 5px;
}

ul.primary li {
  display: block;
  float: left;
  margin: 0 1px -1px;
}

ul.primary li a {
  background-color: #f5f5f5;
  border-color: #ccc;
  margin-right: 1px;
  padding: 0 10px;
  display: block;
  float: left;
  height: 1.5em;
  line-height: 1.5em;
}

ul.primary li a:hover,
ul.primary li a:focus {
  background-color: #eee;
  border-color: #ccc;
}

ul.primary li.active a,
ul.primary li.active a:hover,
ul.primary li.active a:focus {
  background-color: #fff;
  border-bottom-color: #fff;
}

ul.secondary {
  border-bottom: 1px solid #ccc;
  margin: 1em 0 0;
  padding: 0 .3em 1em;
}

ul.secondary li {
  border-right: 0;
  list-style: none;
  padding: 0 10px 0 0;
}

ul.secondary li a {}

ul.secondary li a:hover,
ul.secondary li a.active {
  border-bottom: none;
  text-decoration: underline;
}


/* =============================================================================
 *   Action links
 * ========================================================================== */

ul.action-links {
  margin: 20px 0 0;
  list-style: none;
}

ul.action-links li {}


/* =============================================================================
 *  Field Styling
 * ========================================================================== */

/*
 * Wrapper for any field
 */
.field {}

/*
 * Above and inline classes are on the field wrapper
 */
.field-label-above {}

/*
 * When labels are set to inline in field display settings the clearfix class is
 * automatically added
 */
.field-label-inline {}

.field-label-inline .field-label {
  margin: 0;
}

/*
 * Labels are h2 in Adaptivetheme. Use a strong selector to mitigate unwanted
 * ineritance issues
 */
.field-label {
  font-size: 1em;
  font-weight: 700;
  font-family: inherit;
  line-height: inherit;
  margin-bottom: 0;
}




/*
 * Field types (Core)
 */

/*
 * Image fields use the <figure> and <figcaption> elements from HTML5
 */
.field-type-image {}

.field-type-image .caption {}

.field-type-image .full-caption {}

.field-type-image .teaser-caption {}

/*
 * Taxonomy
 */
.field-type-taxonomy-term-reference {
  /* The same bottom margin as p, blockquote, ul, ol and dl */
  margin-bottom: 1.5em;
}

.field-type-taxonomy-term-reference.field-label-inline .field-items {
  margin: 0;
  padding: 0;
}

.field-type-taxonomy-term-reference.field-label-inline .field-item {
  display: inline;
  list-style: none;
  padding: 0 10px 0 0;
}

/*
 * Text
 */
.field-type-text {}

/*
 * Long text
 */
.field-type-text-long {}

/*
 * Text with summary
 */
.field-type-text-with-summary {}

/*
 * File
 */
.field-type-file {}

/*
 * Number/Integer
 */
.field-type-number-integer {}

/*
 * Decimal
 */
.field-type-number-decimal {}

/*
 * Number float
 */
.field-type-number-float {}

/*
 * List
 */
.field-type-list-text {}

/*
 * List boolean
 */
.field-type-list-boolean {}

/*
 * List integer
 */
.field-type-list-integer {}

/*
 * List float
 */
.field-type-list-float {}

/*
 * Field types (Contrib)
 */
.field-type-datetime {}

.field-type-node-reference {}

.field-type-user-reference {}

/*
 * Named fields
 */
.field-name-body {}

.field-name-field-image {}

.field-name-field-tags {}

/*
 * Underscores in field name are replaced with dashes
 */
.field-name-field-FIELDNAME {}

/*
 * Image Alignment Theme Settings - included here so you can easily override
 */
/*
 * Float none setting
 */
.ia-n .field-type-image,
.iat-n .field-type-image {}

/*
 * Float left setting
 */
.ia-l .field-type-image figure,
.iat-l .field-type-image figure {
  margin: 5px 20px 15px 0;
}

/*
 * Centered setting
 */
.ia-c .field-type-image figure,
.iat-c .field-type-image figure {
  margin: 5px auto 15px;
}

/*
 * Float right setting
 */
.ia-r .field-type-image figure,
.iat-r .field-type-image figure {
  margin: 5px 0 15px 20px;
}


/* =============================================================================
 *   Block Styling
 * ========================================================================== */
/* Government Canada Weather */
#wxlink > .mainDiv {
    border: 2px solid #9a3ced !important;
}

#wxlink .mainhyperlink a {
    color: #9E2A2A;
}

#block-block-18 {
  margin: 0;
  height: 145px;
  position: relative;
  right: 5px; 
}

/* User Links Block */
.member-actions {
  float: right;
}

.member-button {
  display: inline;
  padding-right: 8px;
}

.login {
    display: inline;
    padding-right: 8px;
}

#block-block-19 {
    /* margin: 0; */
}

div#block-views-events-listing-block-1 .date-display-range {
    display: inline;
}

#block-views-events-listing-block-1 .views-row {
  margin-bottom: 22px;
}


/* Upcoming Events Block */
#block-views-event-calendar-block-2 ul {
  list-style-type: none;
}

.view-calendar .view-footer a {
  text-align: center;
}
.region.region-sidebar-second.sidebar {
  position: relative;
  bottom: 440px;
}

.item-list ul li {
    margin: 0;
    padding: 0;
}

#block-views-event-calendar-block-2 .block-content ul {
    padding: 0px;
}

/*.seealllinks {
  color: red;
}*/
#block-views-event-calendar-block-2 .views-field-field-calendar-date {
  text-align: center;
}

#block-views-event-calendar-block-2 .views-field-field-calendar-date .upcomingdate .date-display-range {
  display: inline;
  white-space: nowrap;
}

/* #block-viewblock-views-event-calendar-block-2 .upcomingdate */
#block-views-event-calendar-block-2 .views-field-title, 
#block-views-event-calendar-block-2 .view-footer { 
  text-transform: uppercase;
  text-align: center;
}

#block-views-event-calendar-block-2 .views-field-title a {
  color: teal;
  font-weight: 600;
}

#block-views-event-calendar-block-2 .view-footer {
  padding-bottom: 2px;
}

#block-views-event-calendar-block-2 .views-field-field-event-summary {
  text-align: center;
}

#block-views-event-calendar-block-2 .view-footer {
    margin-top: 19px;
    text-align: center;
    /* margin-left: 28px; */
}

#block-views-event-calendar-block-2 .view-footer a {
  color: teal;
  font-weight: 500;
  text-align: center;
} 

#block-views-event-calendar-block-2 hr {
  background-color: teal;
  height: 3px;
  border: none;
}

#block-views-event-calendar-block-2 {
  padding-right: 15px;
  padding-left: 15px;
}

/* Gets rid of the border line on last item */
#block-views-event-calendar-block-2 .views-row-last hr {
  display: none;
}

/* Upcoming Events Block ENDS */ 

/* Events Listing Block See All */
#block-views-events-listing-block-1

/* #block-views-calendar-block-2 {
  position: relative;
  right: 20px;
} */

.views-field.views-field-field-slideshow-image img {
    /* border: 15px solid rgba(50,50,100,0.1); */
}

div#views_slideshow_cycle_teaser_section_slideshow-block_1, .views_slideshow_cycle_slide {
    /* max-width: 100%; */
    margin: auto;
}

/* .seemorelink a {
  text-align: center;
  color: red;
} */

/* See More link under news article */
.seemorelink {
  text-align: right;
  margin-top: -20px;
  margin-bottom: 15px;
  font-size: 16px;
}

.seemorelink a {
  color: teal;
}

/* Calendar Add & See All header formatting */
  
  /* Move the calendar heading over*/
.view .date-nav-wrapper .date-heading {
    position: relative;
    width: 100%;
    top: 0px;
    text-align: center;
    z-index: 0;
    left: 6px;
}

.notepad {
  display: inline;
  position: relative;
  top: 13px;
}


.add {
    display: inline;
    text-align: left;
    padding-right: 122px;
}

.seeall {
    display: inline;
    text-align: right;
}

#block-block-3 .block-title {
  text-align: center;
  margin-bottom: -10px;
}

/* front page mini calendar style */
.front #block-views-event-calendar-block-1 h2.block-title {
    font-size: 30px;
    text-align: center;
    padding-top: 29px;
}

.front #block-views-event-calendar-block-1 .date-heading {
    margin-top: 27px;
}

.front #block-views-event-calendar-block-1 {
    z-index: 2;
}

/* end of front page mini calendar style */


/* mini month arrow style */
.block-views .view .date-nav-wrapper .date-prev a,
.block-views .view .date-nav-wrapper .date-next a {
  left: 0;
  right: auto;
  font-size: 50px;
  color: teal;
}

.block-views .view .date-nav-wrapper .date-prev,
.block-views .view .date-nav-wrapper .date-next {
  background: none;
  margin: -31px;
}

.block-views .view .date-nav-wrapper .date-prev a {
  padding-left: 20px;
}

.block-views .view .date-nav-wrapper .date-next a {
  padding-right: 20px;
}

/* end of mini month style */

#block-block-4 {
  margin-top: -4px;
}

#block-block-6 {
  text-align: center;
  padding-top: 36px;
}

#block-block-9 .block-title {
  border-bottom: 1px solid grey;
}

#block-views-in-depth-homepage-block-2 .views-field.views-field-title,
#block-views-news-block-2 .views-field.views-field-title
 {
    font-size: 18px;
    margin-top: 27px;
    font-weight: bold;
    /* color: teal; */
    margin-bottom: 10px;
}

#block-views-classifieds-listing-block-1 .views-field-title {
    font-size: 18px;
    margin-top: 10px; 
    font-weight: bold;
    /* color: teal; */
    margin-bottom: 10px;
}

#block-views-in-depth-homepage-block-1 .views-field.views-field-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 14px;
}

#block-block-7 li {
  list-style: none;
}

#block-menu-block-1 li {
  list-style: none;
}

#block-views-news-block-1 {
  /* display: inline-block; */
}

#block-views-news-block-1 .view-header,
#block-views-in-depth-homepage-block-1 .view-header {
  text-align: right;
}

#block-views-news-block-1 .block-title,
#block-views-in-depth-homepage-block-1 .block-title {
  text-align: center;
  padding-top: 29px;
}

#block-views-in-depth-homepage-block-1 .block-title {
  margin-top: 18px;
}

#block-views-slideshow-block-1 {
  /* display: inline-block; */
  /* vertical-align: top; */
  /* width: 70%; */
}

.calendar-calendar .mini tr {
  background-color: transparent;
}

.calendar-calendar table.mini td.empty {
    background-color: transparent;
}

/* .calendar-calendar .mini .has-events {
  background-image: url(images/clock.png);
  background-repeat: no-repeat;
  background-position: bottom left;
}  */

.calendar-calendar .mini-day-on a {
  color: teal;
  z-index: 1;
}

.calendar-calendar .mini td {
  height: 36px;
}

.views-content-counter {
    display: inline-block;
}

/* .views_slideshow_pager_field_item  {

    border: 2px solid white;
    border-radius: 50%;
    padding: 0px 6px;
    background-color: rgba(255,255,255,0.6);
    margin: 5px;
    color: transparent;
} */

.views_slideshow_pager_field_item  {
    border: 2px solid white;
    border-radius: 99%;
    padding: 0px 3px;
    background-color: rgba(255,255,255,0.6);
    margin: 5px;
    color: transparent;
    height: 15px;
}

div.views_slideshow_pager_field_item.active {
        background-color: rgba(255,255,255,1);
}

div#widget_pager_bottom_slideshow-block_1 {
    display: flex;
}

.views-content-counter {
    display: inline-block;
}

.views-slideshow-controls-bottom.clearfix {
    position: relative;
    bottom: 35px;
    left: 70px;
    z-index: 9;
}

/* SLIDESHOW PHOTO CREDIT */

span.views-label.views-label-field-slideshow-photo-credit::after {
    content: "\00a0";
}

.views-field.views-field-field-slideshow-photo-credit {
    position: absolute;
    bottom: 10px;
    right: -16px;
    /* background-color: rgba(153, 153, 153, 0.59); */
    width: 26%;
    text-align: right;
    color: whitesmoke;
    display: inline-flex;
    font-size: 12px;
}

/* SLIDESHOW GALLERY PHOTO CREDIT */

body.not-front .views-field.views-field-field-slideshow-photo-credit {
    position: relative;
    color: black;
    text-align: right;
    display: inline-flex;
    font-size: 12px;
    width: auto;
}

/* BASIC PAGES PHOTO CREDIT */
.page-image {
  position: relative;
}

section.field.field-name-field-page-photo-credit.field-type-text.field-label-inline.clearfix.view-mode-full {
  /* position: relative;
  right: -635px;
  color: whitesmoke;
  background-color: rgba(153, 153, 153, 0.59);
  width: 17%;
  padding-left: 6px;
  text-align: center;
  height: 23px; */
  position: absolute;
  right: 15px;
  top: 370px;
  color: whitesmoke;
  /* background-color: rgba(153, 153, 153, 0.59); */
  width: 17%;
  padding-left: 6px;
  text-align: right;
  height: 23px;
}

/* IN DEPTH PAGES PHOTO CREDIT */
section.field.field-name-field-indepth-photo-credit.field-type-text.field-label-inline.clearfix.view-mode-full {
    /* position: relative; 
    right: -413px; 
    top: 298.49px; */
    /* position: absolute;
    /* right: 119px;
    top: 369.49px; */
    /* right: 22px;
    bottom: -209.51px; */
    position: absolute;
    left: 608px;
    bottom: -292.51px;
    color: #FFFFFF;
    /* background-color: rgba(153, 153, 153, 0.59); */
    /* absolute width: 17%; */
    width: 45.6%; 
    padding-left: 6px;
    text-align: center;
    height: 23px;
}

/* NEWS & CLASSIFIEDS PAGES PHOTO CREDIT */
section.field.field-name-field-news-photo-credit.field-type-text.field-label-inline.clearfix.view-mode-full,
section.field.field-name-field-classifieds-photo-credit.field-type-text.field-label-inline.clearfix.view-mode-full {
    position: absolute;
    right: -141px;
    top: 338px;
    color: whitesmoke;
    /* background-color: rgba(153, 153, 153, 0.59); */
    /* width: 17%; */
    width: 45.6%;
    padding-left: 6px;
    text-align: center;
    height: 23px;
}

.region-secondary-content {
    float: left;
    width: 300px;
    margin-left: 8px;
    /* height: 1030px; */
    /*outline: 1px solid grey;*/
    padding: 15px;
    /* margin-top: 53px; */
    background-color: rgba(50,50,100,0.1);
}

/* add to any social media */
 .front #block-addtoany-addtoany-button {
    text-align: center;
    padding-top: 20px;
    padding-left: 40px;
}
/* THIS WILL GET RID OF THE SOCIAL MEDIA SHARE LINKS ON FRONT PAGE --- END */


.front #header {
    float: left;
    width: 710px;
    max-width: 100%;
}

.views-slideshow-cycle-main-frame-row-item.views-row {
    /* width: 700px; */
}

.front #content {
    /* width: 61%; */
    /* margin-left: 132px; */
}

.views-field-counter .field-content {
  display: none;
}

.front #columns {
    width: 372px;
    float: left;
}

.front main#content-column .content-inner {
    /* width: 91%; */
    margin-left: 0;
}

.front .region.region-sidebar-first.sidebar {
    /* width: 37%; */
    /* width: 29%; */
    /* position: relative; */
    /* left: 28%; */
    /* top: 400px; */
    /* top: 361px; */
    /* z-index: 1; */
    float: right;
}

.front .region-sidebar-first .region-inner {
    /* position: relative; */
    /* left: 28%; */
    background-color: rgba(50,50,100,0.1);
}

#block-block-8 hr {
  width: 25%;
  border: none;
  height: 1px;
  background-color: black;
}

#block-block-8 p {
  font-size: 12px;
}

/* Basic page style */
.field-type-image {
    float: right;
    padding-left: 18px;
    padding-right: 5px;
}

.field.field-name-field-page-body.field-type-text-long.field-label-hidden.view-mode-full {
    position: relative;
    bottom: 23px;
}

/* End of basic page style */
.node-type-page p {
  
}

.views-field-field-classifieds-image img {
  /* float: left; */
  padding-right: 13px;
  padding-bottom: 10px;
}

/* notepad on classifieds page only */
.page-node-92 .notepad {
    display: inline-block;
    position: relative;
    top: 21px;
    margin-bottom: 17px;
    margin-top: 14px;
}

/* end of notepad on classifieds page only */

.view-classifieds-listing .views-row {
  padding-bottom: 30px;
}

/* TAGLINE BLOCK/SITE HEADING/NAME */
#block-block-11 {
    text-align: center; 
}

#block-block-11 a {
    text-decoration: none;
    color: black;
    font-size: 35px;
}

/* END OF TAGLINE BLOCK/SITE HEADING/NAME */

/* ADMIN MENU */

#admin-menu {
  font-size: 13px;
}


/* ADMIN OVERLAY */
.overlay h2#site-slogan {
    display: none;
}

.overlay #page-title  {
  display: none;
}

.overlay #main-content-header {
  display: none;
}

.overlay #overlay-title {
  font-size: 24px;
}

.overlay #block-addtoany-addtoany-button {
  display: none;
}

.page-user #block-addtoany-addtoany-button {
  display: none;
}

/* .overlay .label {
  font-size: 16px;
} */

#block-menu-menu-see-also-our ul li.leaf {
  list-style-image: none;
  list-style-type: none;
  line-height: 27px;
}

/* Sublink Menu */
#block-menu-block-1 li {
    list-style: none;
    line-height: 32px;
}

#block-menu-block-1 li a {
  color: #085450;
}

#block-menu-block-1,
#block-menu-menu-see-also-our {
    background-color: rgba(50,50,100,0.1);
    padding: 12px;
    width: 66%;
}

#block-menu-menu-see-also-our li a {
  color: #085450;
}

#block-menu-block-1 h2.block-title:after,
#block-menu-menu-see-also-our h2.block-title:after {
    content: "";
    display: block;
    height: 2px;
    width: 40%;
    margin: 10px;
    background: teal;
}

#block-views-news-block-1 p {
  font-size: 14px;
  line-height: 21px;
}

#block-views-news-block-1 a {
  font-size: 16px;
}

#block-views-news-block-1 .news-feature {
    padding-bottom: 17px;
}

#block-views-news-block-1 .news-title {
    font-size: 15px;
    /* color: teal; */
    font-weight: 600;
}
/* #block-menu-block-1 li:after {
    content: "";
    display: block;
    height: 1px;
    width: 50%;
    margin: 0px;
    background: #f00;
} */

/* FOOTER */
.front .region-footer {
  /* margin-top: 113px; */
  margin-top: 187px; 
}

/* BACK TO TOP BUTTON */
a.back-to-top {
    background-color: rgba(0, 128, 128, 0.35);
}

#block-views-classifieds-listing-block-1 {
    margin-top: 40px;
}

#block-block-10 {
    display: block;
    margin-top: -50px;
}

/* FOOTER MENU */
#block-block-13 {
  margin-bottom: -13px;
}

#block-block-13 ul {
  list-style-type: none;
}

#block-block-13 li {
  display: inline;
  border-right: 1px solid black;
  padding-right: 21px;
  padding-left: 19px;
  font-size: 16px;
}

#block-block-13 li:last-child {
  border-right: none;
}

#block-block-13 li a {
  text-transform: uppercase;
  text-decoration: none;
  color: black;
  font-size: 12px;
}

#block-block-13 li:hover {
  background-color: white;
}

/* Tides Link */
#block-block-15 {
  text-align: center;
}

/* Weather Network */

/* #block-block-1 .ext {
    display: none;
  } */

.logo-100 {
  height: 22px !important;
}

/* LOG IN USERS BLOCK */
.node-classifieds-form .fieldset-legend,
.node-community_hall_bookings-form .fieldset-legend,
.node-event-form .fieldset-legend {
  font-size: 20px;
}

.node-classifieds-form #edit-register,
.node-community_hall_bookings-form #edit-register,
.node-event-form #edit-register {
    border: 2px solid #168601;
}
/*
 * Main wrapper for most blocks, block_system_main does not have it
 */
.block {
  /* margin-bottom: 20px; */
}

/*
 * Inner wrapper for most blocks, good for margin, padding and borders,
 * block_system_main does not have it
 */
.block-inner {}

/*
 * The first block in the region
 */
.block.first {}

/*
 * The last block in the region
 */
.block.last {}

/*
 * Zebra striping for each block in the region
 */
.block.odd {}

/*
 * Zebra striping for each block in the region
 */
.block.even {}

/*
 * Block title
 */
.block-title {
  margin: 0;
}

/*
 * Block content wrapper
 */
.block-content {}

/*
 * Match item list and block menu margin and padding
 */
.block-content {}

.block-content ul,
.block-content ol {
  padding: 0 0 0 15px;
}

.block-content li {
  margin: 0;
  padding: 0;
}

/*
 * Block for the latest news items in the first category
 */
#block-aggregator-category-1 {}

/*
 * Block for the latest news items in the first feed
 */
#block-aggregator-feed-1 {}

/*
 * First block created with "Add block" link
 */
#block-block-1 {}

/*
 * "Recent blog posts" block
 */
#block-blog-recent {}

/*
 * "Book navigation" block for the current book's table of contents
 */
#block-book-navigation {}

/*
 * "Recent comments" block
 */
#block-comment-recent {}

/*
 * "Active forum topics" block
 */
#block-forum-active {}

/*
 * "New forum topics" block
 */
#block-forum-new {}

/*
 * Language switcher block
 */
#block-locale-language {}

/*
 * Custom menu block
 */
#block-menu-menu-NAME {}

/*
 * "Recent content" block
 */
#block-node-recent {}

/*
 * "Syndicate" block for primary RSS feed; see also page.css's .feed-icon
 */
#block-node-syndicate {}

/*
 * "Most recent poll" block
 */
#block-poll-recent {}

/*
 * "Author information" block for the profile of the page's author
 */
#block-profile-author-information {}

/*
 * "Search form" block
 */
#block-search-form {}

/*
 * "Shortcuts" block
 */
#block-shortcut-shortcuts {}

/*
 * "Popular content" block
 */
#block-statistics-popular {}

/*
 * "Main menu" block
 */
#block-system-main-menu {}

/*
 * "Management" block for Drupal management menu
 */
#block-system-management {}

/*
 * "Navigation" block for Drupal navigation menu
 */
#block-system-navigation {}

/*
 * "User menu" block for Drupal user menu
 */
#block-system-user-menu {}

/*
 * "System help" block
 */
#block-system-help {}

/*
 * "Main page content" block
 */
#block-system-main {}

/*
 * "Powered by Drupal" block
 */
#block-system-powered-by {}

/*
 * "User login form" block
 */
#block-user-login {}

/*
 * "Who's new" block for a list of the newest users
 */
#block-user-new {}

/*
 * "Who's online" block for a list of the online users
 */
#block-user-online {}


/* =============================================================================
 *   Node Styling
 * ========================================================================== */

.node {
  margin-bottom: 20px;
}

.node.node-promoted {}

.node.node-sticky {}

.node.node-by-viewer {}

.node.node-teaser {}

.node.node-full {}

.node.odd {}

.node.even {}

.node .node-title {
  margin: 0;
}

.node .user-picture {}

.node .submitted {}

.node .submitted .username {}

.node .submitted time {}

.node .node-content {}

.node ul.links {}

.node ul.links li {}

.node ul.links li a {}

.node ul.links li.node-read-more a {}

.node ul.links li.comment-add a {}

.node ul.links li.comment-comments a {}

.node ul.links li.comment-new-comments a {}

.node ul.links li.blog-sernames-blog a {}

.node ul.links li.print-html a {}

.node ul.links li.print-email a {}

.node ul.links li.print-pdf a {}

.preview .node {}

/*
 * All nodes are given a node-FOO class that describes the type of content that
 * it is. If you create a new content type called "my-custom-type", it will
 * receive a "node-my-custom-type" class.
 */
.node-page {}

.node-article {}

.node-book {}

.node-forum {}

.node-poll {}


/* =============================================================================
 *   Comment Styling - Comments, comment wrapper, comment form
 * ========================================================================== */

/*
 * Wrapper for the list of comments and its titles
 */
#comments {
  margin: 1.5em 0;
}

#comments h2 {}

#comments h2.comment-title {
  margin: 0;
}

#comments h2.comment-form {
  margin: 0;
}

/*
 * Wrapper for a single comment
 */
.comment {
  margin-bottom: 20px;
}

.comment.first {}

.comment.last {}

.comment.odd {}

.comment.even {}

.comment .user-picture {}

.comment .submitted {}

.comment .submitted p {}

.comment .submitted .username {}

.comment .submitted time {}

.comment .user-signature {}

.comment ul.links {}

/*
 * Comment title
 */
.comment-title {
  margin: 0;
}

/*
 * Comment states
 */
.comment-new {}

.comment-by-anonymous {}

.comment-by-node-author {}

.comment-by-viewer {}

.comment-title-hidden {}

.comment-with-picture {}

.comment-with-signature {}

/*
 * Preview of the comment before submitting new or updated comment
 */
.comment-preview {}

/*
 * "New" marker for comments that are new for the current user
 */
.new {
  color: #c00;
}

/*
 * Nested comments are indented
 */
.indented {
  margin-left: 40px;
}


/* =============================================================================
 *   Forms
 * ========================================================================== */

/*
 * Wrapper for a form element (or group of form elements) and its label
 */
.form-item {}

.form-item input.error,
.form-item textarea.error,
.form-item select.error {
  border: 1px solid #c00;
}

.form-item label {
  font-weight: 700;
}

.form-item label.option {}

/*
 * Highlight marks and form required mark
 */
.marker,
.form-required {
  color: #c00;
}

.form-item .description {
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item {}

/*
 * The submit button
 */
.form-submit {}

.container-inline div,
.container-inline label {
  display: inline;
}

/*
 * Define consistent borders
 */
fieldset {
  border: 1px solid #ccc;
}

/*
 * Tips for Drupal's input formats
 */
.tips {}

/*
 * Buttons used by contrib modules like Media
 */
a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}

/*
 * Password confirmation
 */
.password-parent,
.confirm-parent {
  margin: 0;
}


/* =============================================================================
 *   Tables
 * ========================================================================== */

table {
  margin: 10px 0;
  padding: 0;
  width: 100%;
}

table.sticky-header {
  z-index: 10;
}

table,
thead,
tbody,
tr,
th,
td {
  border-color: #ccc;
}

table,
td,
th {
  vertical-align: middle;
}

caption,
th,
td {
  text-align: left;
}

thead tr {
  font-weight: 700;
  background-color: #e5e5e5;

}

td,
th {
  border-bottom: 0;
  margin: 0;
  padding: 5px 7px;
}

tbody {}

tbody tr {
  border-top: 1px solid #ccc;
}

tr.odd {
  background: #fff;
}

tr.info,
tr.even,
tr:nth-child(2n+2) {
  border-bottom: 0;
  background-color: #f5f5f5;
}

tr.drag {}

tr.drag-previous {}

tr.odd td.active {
  background-color: #eee;
}

tr.even td.active {
  background-color: #ebebeb;
}

.lt-ie8 tr {}

.lt-ie8 tr.even,
.lt-ie8 tr.odd {}

.lt-ie8 tr.even th,
.lt-ie8 tr.even td,
.lt-ie8 tr.odd th,
.lt-ie8 tr.odd td {
}

/*
 * Forum tables
 * Core sets white-space to nowrap, which makes no sense
 */
#forum td {}

#forum td.created,
#forum td.posts,
#forum td.topics,
#forum td.last-reply,
#forum td.replies,
#forum td.pager {
  white-space: normal;
}



/* =============================================================================
 *   Messages
 * ========================================================================== */

/* Left and right margin are set by the global gutter width */
div.messages {
    margin-bottom: 9px;
    margin-top: -52px;
}

div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}


div.status {}

div.warning {}

tr.warning {}

div.error,
tr.error {}

.error {}

.warning {}

/*
 * Unpublished nodes
 */
.node-unpublished,
.comment-unpublished {}

.node-unpublished,
.comment-unpublished {}

.node-unpublished p.unpublished,
.comment-unpublished p.unpublished {
  color: pink;
  color: rgba(239, 170, 170, 0.4);
  font-family: Impact,"Arial Narrow",Helvetica,sans-serif;
  font-size: 75px;
  font-weight: bold;
  height: 0;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  overflow: visible;
  text-align: center;
  text-transform: uppercase;
  word-wrap: break-word;
}

/*
 * Otherwise these elements will appear below the "Unpublished" text
 */
.lt-ie8 {}

.lt-ie8 .node-unpublished > *,
.lt-ie8 .comment-unpublished > * {
  position: relative;
}


/* =============================================================================
 *    Maintenance pages
 * ========================================================================== */

.maintenance-page {}
.maintenance-page .container {
  padding: 40px 0;
}

.maintenance-page #site-name,
.maintenance-page #page-title {
  margin: 0;
}

.db-offline {}

.db-offline .container {
  margin: 0 auto;
  padding: 40px 0;
  width: 100%;
  max-width: 960px;
}

.db-offline div.messages {
  margin: 20px 0 0;
}

.db-offline #content {
  padding: 20px 0;
}


/* =============================================================================
 *   Misc overrides for contrib modules
 * ========================================================================== */

/*
 * Admin menu overrides
 */
#admin-menu {
  margin: 0;
  padding: 0;
}

/*
 * Devel Module
 */
.dev-query {
  background: #eee;
  padding: 30px;
}

/*
 * Styleguide module tweaks
 */
#styleguide-header {
  padding: 0 10px;
}

#styleguide-header .item-list {
  font-family: inherit;
  margin: 0 20px 20px 0;
  min-height: 260px;
  width: auto;
}

#block-views-news-block-1 .news-image img {
  float: left;
  padding-right: 10px;
  margin-top: 5px;
}

/* =============================================================================
 *   MEDIA QUERIES
 * ========================================================================== */

@media (max-width: 1139px){
     .front #header {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
  
    

.front #columns {
    width: 90%;
    margin: auto;
    clear:both;
    float:none;
}
}




/*overrides */
@media only screen and (min-width: 1025px) {

  .front div.sidebar {
      clear: none;
  }

  .front .region-sidebar-first {
      min-width: 298px;
      width: 29%;
      margin-left: 0;
  }

  .front main#content-column .content-inner {
    margin-left: 0;
    padding: 0 20px;
  }
}





/*other */

@media (min-width:980px) and (max-width:1139px){
    #block-tb-megamenu-main-menu li a {

    font-size: 10pt;
}
}


@media (max-width: 979px) {
    
    .tb-megamenu .nav-collapse .dropdown-menu, .tb-megamenu .nav-collapse {
    background: #fff;
    }
  #block-tb-megamenu-main-menu li a:hover {
    background-color: grey;
  }
  
  .tb-megamenu .nav li.dropdown.open>.dropdown-toggle {
    background-color: grey;
  }
  
}

@media (max-width: 551px) {
  
  
  
 ul.tb-megamenu-nav.nav.level-0 {
    width: 225px;
}
  
  .tb-megamenu .nav-collapse {
    width: 225px;
  }
  
  /* Sitename Header */
  #block-block-11 {
    /* position: absolute; */
    /* top: 16px; */
    /* left: 38px; */
    /* height: 85px; */
    /* min-width: 551px; */
    width: 100%;
    background-color: #D1C9C9;
    /* border-bottom: 5px solid grey; */
    /* text-align: left; */
    /* padding-top: 33px; */
    z-index: 1;
  }
  
  #block-block-11 a {
    font-size: 17px;
  }
  
   /* HAMBURGER MENU */
  
          /* background and placement */
          #block-tb-megamenu-main-menu {
            margin-top: 0px;
            background-color: #D1C9C9;
            border-bottom: 5px solid grey;
            /* height: 58px; */
            /* padding-top: 32px; */
            /* padding-left: 5px; */
        }
  
  #block-tb-megamenu-main-menu li a {/* may need to adjust width as well */
   /* color: #FFF; */
  }
  
          .tb-megamenu .btn {
            font-size: 20px;
          }
  
          .tb-megamenu .btn-navbar {
            color: black;
          }
  
  /* slideshow */
  .views-slideshow-cycle-main-frame-row-item.views-row {
    /* width: 100%; */
}
    
    /* .views-field.views-field-field-slideshow-image img {
          width: 63%;
    } */
  
  /* CALENDAR CSS */
  
    .front .region.region-sidebar-first.sidebar {
    width: 79vh;
    position: relative;
    /* left: -61px; */
    top: 1%;
    margin-bottom: 48px;
    /* margin-right: -92px; */
    margin-left: -232px;
    }
  
    .front .region-sidebar-first .region-inner {
    position: relative; 
    /* left: 28%; */
    }
  
    section#block-views-event-calendar-block-1 {
    width: 72%;
    }
  
    #block-views-event-calendar-block-2 {
    width: 66%;
    }

    /* SLIDESHOW */
  .views-field.views-field-field-slideshow-image img {
    width: 90vw;
    height: 29vh;
    }
  
    
    .views-field.views-field-field-slideshow-photo-credit {
      position: absolute;
      bottom: 20px;
      left: 498px;
    }
  
    /* END OF SLIDESHOW */
  
  
  /* NEWS ARTICLES */
  .region-secondary-content {
    position: relative;
    height: 904px;
    margin-bottom: 30px;
    /* right: 90px; */
  }
  
  /* Log In Block */
  #block-block-19 {
    margin: 0;
    position: absolute;
    top: 109px;
    z-index: 1;
}
  
  /* In Depth Articles */
  section#block-views-in-depth-homepage-block-1 {
    /* width: 251px; */
    margin-left: -106px;
    /* margin-right: 76px; */
    width: 45vh;
  }
  
  .front #block-addtoany-addtoany-button {
    display: none;
  }
  
}

@media (min-width: 551px) and (max-width: 767px) {
  /* mobile menu */
  #block-tb-megamenu-main-menu li a {
    /* color: white; */
    width: 22.4%;
  }
  
  .tb-megamenu .dropdown-menu {
    width: 22%;
  }
  
  .tb-megamenu-item level-1 mega dropdown {
    width: 22%;
  }
  
  #block-tb-megamenu-main-menu li a .dropdown-toggle {
    width: 22%;
  }
  
  .tb-megamenu .nav-collapse {
    width: 212px;
  }
  
  /* Sitename Header */
  #block-block-11, #block-block-19 {
    /* position: absolute; */
    /* top: 0px; */
    /* left: 68px; */
    /* height: 85px; */
    /* min-width: 551px; */
    width: 100%;
    background-color: #D1C9C9;
    /* border-bottom: 5px solid grey; */
    /* text-align: left; */
    /* padding-left: 33px; */
    z-index: 1;
  }
  
  #block-block-11 a {
    font-size: 32px;
  }
  
  /* HAMBURGER MENU */
  
          /* background and placement */
          #block-tb-megamenu-main-menu {
            margin-top: 0px;
            background-color: #D1C9C9;
            border-bottom: 5px solid grey;
            /* height: 58px; */
            /* padding-top: 32px; */
            /* padding-left: 5px; */
        }
  
          .tb-megamenu .btn {
            font-size: 20px;
          }
  
          .tb-megamenu .btn-navbar {
            color: black;
          }
  
  /* CONTENT PAGES */
  
          /* top level pages in order */
        .page-node-3 #page-title,
        .page-node-28 #page-title,
        .page-node-37 #page-title,
        .page-node-38 #page-title,
        .page-node-5 #page-title,
        .page-node-6 #page-title
        {
          display: block;
          text-align: center;
        }
  
          h1#page-title {
            text-align: center;
          }
  
        .field-type-image {
          float: none;
          text-align: center;
        }
  
        .node-type-page .field-name-field-page-body p {
          text-align: center;
          margin-top: 10px;
        }
  
        section.field.field-name-field-page-photo-credit.field-type-text.field-label-inline.clearfix.view-mode-full {
        /* position: absolute; */
        position: relative;
        right: -332px;
        bottom: 37px;
        color: whitesmoke;
        background-color: rgba(153, 153, 153, 0.59);
        width: 30%;
        padding-left: 6px;
        text-align: center;
        height: 23px;
        }
  
        /* Social Media Links Block */
        ul.links.inline {
          text-align: center;
        }
  
        /* Sub Menu Links */
        nav#block-menu-block-1 {
          display: none;
        }
  
        #block-menu-menu-see-also-our {
        background-color: rgba(50,50,100,0.1);
        padding: 12px;
        width: 30%;
        margin-right: auto;
        margin-left: auto;
      }
  
   /* END OF CONTENT PAGE CSS */
  
  
  /* START OF HOME PAGE CSS */
  
    /* SLIDESHOW */
    .views-field.views-field-field-slideshow-image img {
      /* border: 15px solid rgba(50,50,100,0.1); */
      /* width: 86%; */
      /* height: 159%; */
    }
  
    
    .views-field.views-field-field-slideshow-photo-credit {
      position: absolute;
      /* bottom: 25px; */
      left: 374px;
    }
  
    /* END OF SLIDESHOW */
  
    /* START OF NEWS BLOCK */
  
    .region-secondary-content {
      /* float: none; */
      /* width: 75%; */
      /* display: inline-block; */
      /* margin-left: 127px; */
      /* height: 845px; */
    }
  
   /* .region-secondary-content {
    float: left;
    width: 294px;
    height: 1030px;
    /* outline: 1px solid grey; */
    /* padding: 15px;
    /* margin-top: 53px; */
     /*background-color: rgba(50,50,100,0.1);
    /* text-align: center; */
   /* display: inline-block;
    margin-left: 127px;
} */
  
  #block-views-in-depth-homepage-block-1 {
    position: relative;
    top: 60px;
  }
  
  /* CLASSIFIEDS ICON */
  #block-block-6 {
    text-align: center;
    margin-top: 86px;
    margin-bottom: 10px;
  }
  
  
  /* CALENDAR CSS */
  
    .front .region.region-sidebar-first.sidebar, .front .region-secondary-content {
    width: 75%;
    /* position: relative; */
    /* left: 5px; */
    /* top: 1%; */
    /* margin-bottom: 48px; */
    margin-right: auto;
    margin-left: auto;
    float: none;
    /* box-sizing: border-box; */
    }
  
    .front .region-sidebar-first .region-inner {
    position: relative; 
    /* left: 28%; */
    }
  
    section#block-views-event-calendar-block-1 {
    /* width: 72%; */
    }
  
    #block-views-event-calendar-block-2 {
    /* width: 66%; */
    }

    /* SLIDESHOW */
  
  
}

@media (min-width: 768px) and (max-width: 990px) {
  
    .front #header {max-width: 100%;}
    
  .tb-megamenu-submenu.dropdown-menu.mega-dropdown-menu.nav-child {
  max-width: 50vw;
}
  
  h2 {
    /* color: blue; */
  }
  
  .region-secondary-content {
    /* float: none; */
    /* display: inline-block; */
    /* margin-right: 20%; */
    /* margin-left: 25%; */
    /* height: 691px; */
    width: 44%;
  }
  
 
  .front main#content-column {
    /* width: 101%; */
    /* float: left; */
    /* display: block; */
    /* margin-left: -179px; */
}
  
  .front #columns {
    /* width: 78%; */
    /* margin-top: 75px; */
}
  
  .front .region.region-sidebar-first.sidebar {
    width: 45%;
    /* display: inline-block; */
    /* float: right; */
    clear: both;
}
  
  .front .region-sidebar-first .region-inner {
    /* position: relative; */
    /* left: 28%; */
    background-color: rgba(50,50,100,0.1);
}
  
  .front #content {
    width: 64%;
    margin-left: 132px;
}
  
  #block-tb-megamenu-main-menu .tb-megamenu .nav {
  margin: 0 auto;
  padding: 0;
  width: 840px;
}
  
}


@media (min-width: 991px) and (max-width: 1024px) {
  
  /* h2 {
    color: orange;
  } */
  
  .region-secondary-content {
    /* float: none; */
    /* display: inline-block; */
    /* margin-right: 20%; */
    /* margin-left: 31%; */
    /* height: 691px; */
    width: 44%;
  }
  
  .front #header {
    /* float: left; */
    /* margin-left: 15%; */
    /* margin: auto; */
  }
  
  #block-tb-megamenu-main-menu .tb-megamenu .nav {
  margin: 0 auto;
  padding: 0;
  width: 840px;
}
  
  .front main#content-column {
    /* width: 101%; */
    /* float: left; */
    /* display: block; */
    /* margin-left: -179px; */
}
  
  .front #columns {
    width: 78%;
    margin-top: 75px;
}
  
  .front .region.region-sidebar-first.sidebar {
    width: 45%;
    clear: both;
    /* display: inline-block; */
    /* float: right; */
}
  
  .front .region-sidebar-first .region-inner {
    /* position: relative; */
    /* left: 28%; */
    background-color: rgba(50,50,100,0.1);
}
  
  .front #content {
    width: 64%;
    margin-left: 132px;
}
  
}

@media (max-width:767px){

    .views-slideshow-controls-bottom.clearfix {

    position: relative;bottom: 30px;left: 3px;
    z-index: 9;}

.views-field.views-field-field-slideshow-photo-credit {
    position: absolute;
    bottom: 6px;
    left: 433px;
}
}
    