/*
   ========================================
   STYLE SHEET FOR DISCOVER HERTFORD ONLINE

   Author:  SRB
   Created: 14th November 2014

   This style sheet is used in conjunction with the ZURB Foundation default style sheet 'foundation.css'

   Changes: Added styling for search submit button in footer
            23rd January 2019 by SRB to add styling for .button:focus
            2nd March 2021 by SRB to add new banner titles

   ========================================
*/


/*
   BASIC SETTINGS, including
   TYPOGRAPHY
*/


body {
   /* color: #666; --- replaced with #555 to increase contrast - SRB 4/1/21 */
   color: #555;
   background-color: #eee;
   font-family: 'open sans', arial, sans-serif; /* SRB 14/4/18 */ 
   font-size: 1rem;
}

p, a, li, h1, h2, h3, h4, h5, h6, td {
   font-family: inherit;
   font-family: 'open sans', arial, sans-serif; /* SRB 14/4/18 */ 
   text-rendering: auto;
}

h1, h2, h3, h4, h5, h6 {
   font-weight: 400;
   /* color: #666; --- replaced with #555 to increase contrast - SRB 4/1/21 */
   color: #555;
   font-family: Belgrano; /* SRB 23/11/19 */
   letter-spacing: -1px; /* SRB 23/11/19 */
}

h2 {
   font-size: 1.6em;
   font-size: 1.7em; /* SRB 23/11/19 */
}

h3 {
   font-size: 1.4em;
   font-size: 1.5em; /* SRB 23/11/19 */
}

h4 {
   font-size: 1.2em;
   font-size: 1.3em; /* SRB 23/11/19 */
}

div.intro p {
   font-size: 1.1em;
}

.top-bar-section ul li > a {
   font-family: "open sans", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

#news .news-item a,
#news-description a {
   /* border-bottom: 1px dotted #008cba; */
   /* border-bottom: 1px solid #555; -- SRB 04/12/20 */
   border-bottom: 1px solid #008CBA; /* SRB 09/05/21 */
   color: #555;
}

/* SRB 04/12/20 */
#news .news-item a:hover,
#news-description a:hover {
   border-bottom: 1px solid #3459A3; /* SRB 04/12/20 */
   color: #3459A3;
   font-weight: 600;
   letter-spacing: -0.3px; /* SRB 22/1/21 */
}

/* SRB 07/12/20 */
#news-description a.button {
   color: white;
}

#news-description a.button:hover {
   font-weight: 400;
}

#news summary {
   font-size: 1.2em;
   font-weight: 400;
   /* color: #666; --- replaced with #555 to increase contrast - SRB 4/1/21 */
   color: #555;
   font-family: Belgrano;
   letter-spacing: -1px;
   transition: 0.5s ease;
}

#news summary:hover {
   cursor: pointer;
}

#news summary:focus {
   outline: none;
}

.retail-info-box-container {
   position: absolute;
   float: left; 
   width: 100%;
   padding: 20px;
   /* SRB 14/6/20 */
   bottom: 0px;
}

.retail-info-box {
   position: relative;
   float: left;
   border: 2px solid #3459A3; 
   display: inline-block; 
   text-align: center;
   padding: 10px;
   border-radius: 10px; 
   margin-right: 20px;
   background: rgba(255,255,255,0.85);
   margin-bottom: 10px;
}

.retail-info-box p:first-child {
   font: 16px 'open sans';
   color: #3459A3;
   font-weight: bold;
}

.retail-info-box p {
   color: #3459A3;
   font:  48px belgrano;
   margin-bottom: auto;
}

.trades-list a {
   border: 1px solid #3459A3;
   border-radius: 5px;
   margin: 3px 0 3px;
   padding: 2px 4px;
   display: inline-block;
   background-color: #f8f8f8;
   color: #3459A3 /* SRB 20/11/20 */
}

.trades-list a:hover {
   color: #f8f8f8;
   background-color: #3459A3;
   transition: 0.3s;
}

/* SRB 20/11/20 */
#retail-database a.shop-name,
#retail-database a.shop-trade {
   color: #3459A3
}

/* SRB 20/11/20 */
#retail-database a.shop-name {
   /* font-weight: bold; --- replaced with 600 below by SRB 4/1/20 */
   font-weight: 600;
}



details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0; margin-left: -10px}
  100%  {opacity: 1; margin-left: 0px}
}

/*
   =====================
   General Purpose Panel
   =====================
*/

a.home-page-story {
   /* color: #666; --- replaced with #555 to increase contrast - SRB 4/1/21 */
   color: #555;
   border-bottom-width: 0px !important; /* SRB 2/4/19 */
}

a.home-page-story img {
   width: 100%;
}

a.home-page-story p {
   padding: 8px;
   border-style: solid !important;
   border-color: #ccc !important;
   border-width: 0 1px 1px 1px;
}

a.home-page-story h3 {
   /* font-family: Marcellus, georgia; */
   font-family: 'open sans', arial, sans-serif; /* SRB 14/4/18 */ 
   font-size: 1.1rem; 
   color: white; 
   background: #3459A3; 
   padding: 5px 8px;
   margin: 0px;
   letter-spacing: normal; /* SRB 23/11/19 */
   font: 20px 'Belgrano'; /* SRB 10/6/20 */
} 


/*
   =======================
   Stat Panel on home page
   =======================
*/

.stat-panel h1,
.stat-panel p {
   color: #777;
}

.stat-panel h1,
.stat-panel h2,
.stat-panel h3,
.stat-panel h4,
.stat-panel p {
   font-family: Georgia, serif;
}


label {
	text-align: left;
   /* color: #666; --- replaced with #555 to increase contrast - SRB 4/1/21 */
	color: #555;
   font-size: inherit;
}

.banner { /*
   padding-top: 8px; 
   position: relative; 
   float: left; */
   margin-right: 13px;
   margin-left: 15px;
   margin-bottom: 10px;
   max-width: 468px; 
   min-height: 68px;
}

p {
/* text-shadow: 1px 1px #bbb;*/
   /* The following change to font size by SRB 3/10/21 to combat sudden jaggedness in Open Sans
      Seemingly changing from 1rem to 1.01rem fixes the problem */
   font-size: 1.01rem;
}

.video-player {
	padding-top: 20px;
}

.row {
   background: white;
}

div.panel {
	border-width: 0px;
   border-color: gray;
   max-width: 280px;
   padding: 0.9rem; /* overrides default 1.25rem */
}


.panel p,
.panel h4 {
   /* color: #666; --- replaced with #555 to increase contrast - SRB 4/1/21 */
	color: #555;
}

/* SRB 15/4/20 */
.panel p {
   font-weight: 600;
}

aside {
   border-left: 1px solid silver;
}

aside p {
   font-size: 0.9rem;
   margin: 5px 0;
   line-height: 1.3rem;
}

/*
.main-content, .gallery, .contact-us {
   margin-bottom: 0px;
	/* margin-bottom: 30px; */
	text-align: center;
}
*/

.gallery {
	padding: 20px 0;
	background-color: #f2f2f2;
}
.clearing-thumbs li {
	margin: 0 20px 20px 0;
}
.clearing-thumbs li:first-child {
	margin-left: 10px;
}

footer {
	color: #fff;
	background: #3459A3 !important;
	background: -moz-linear-gradient(90deg, rgb(43, 43, 43) 30%, rgb(29, 29, 29) 70%);
	background: -webkit-linear-gradient(90deg, rgb(43, 43, 43) 30%, rgb(29, 29, 29) 70%);
	background: linear-gradient(180deg, rgb(43, 43, 43) 30%, rgb(29, 29, 29) 70%);
}

.top-bar,
.contain-to-grid,
.top-bar-section ul li,
.top-bar-section li:not(.has-form) a:not(.button),
.top-bar-expanded,
.top-bar-section .dropdown li a {
   background: #3459A3;
}

/* Submenu */
.top-bar-section .dropdown li:not(.has-form):not(.active) > a:not(.button) {
   background: #3459A3;
}



.top-bar-section li:not(.has-form) a:not(.button):hover {
   background: #4E72BA;
}

.top-bar.expanded .title-area {
   background: #3459A3;
}

p.header-dateline {
   color: #ff7e00; 
   font-size: 30px; 
   line-height: 34px; 
   text-align: right; 
   margin-top: 40px;
}

ul.orbit-container {
   margin-top: 20px;
}

footer {
   background: #3459A3;
   padding-top: 15px;
}

footer p,
footer ul li {
   font-size: 0.9em;
}

/* SRB 30/1/22 */
img.tight-fit {
   margin-left: -0.9375rem;
   margin-right: -0.9375rem;
}

/*
   ------------------
   BANNERS AND TITLES
   ------------------
*/

div.banner-image-wrapper {
   width: 100%; 
   background: #ddd; 
   position: relative;
}

.banner-image-wrapper img {
   width: 100%;
}

.title-outer {
   text-align: center;
   position: absolute;
   bottom: 0px;
   width: 100%;
   padding: 32px 0;
   padding: 40px 0 10px;
   margin-bottom: 0;
   background: linear-gradient(180deg,transparent 0,rgba(0,0,0,.8) 60%,rgba(0,0,0,.81));
   background: linear-gradient(180deg,transparent 0,rgba(0,0,0,.6) 60%,rgba(0,0,0,.6));
}

.title-inner {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.title-inner p.subject {
   text-align: center;
   color: #ddd;
   font-weight: 600;
   letter-spacing: 1px;
   margin-bottom: 0;
   border-top: 2px solid #ddd;
   padding-top: 5px;
   display: inline;
}

.title-inner h1 {
   font-size: 2.5em;
   color: #ddd;
}






div.top-row {
   padding-top: 20px;
}

ul.bottomnav,
ul.bottomnav li a {
   color: white;
   font-size: 0.9rem;
   list-style-type: none;
}

ul.bottomnav {
   margin: 10px 17px 10px;
}  

button, .button,
div.news-pagination ul.pagination li a {
   background-color: #456AB4;
}

button:hover, .button:hover,
.button:focus, /* Add by SRB 23/1/19 */
div.news-pagination ul.pagination li a {
   background-color: #23489a;
}

a.social-button {
   display: block;
   width: 200px;
   min-height: 32px;
   background: #aaa;
   color: white;
   font: 14px verdana;
   vertical-align: middle;
   margin-bottom: 12px;
   line-height: 30px;
}

a.social-button:hover {
   text-decoration: none;
   background-color: #888;
   transition: 500ms;
}

img.recent-retailer {
   opacity: 1;
   transition: opacity linear 300ms;
}

img.recent-retailer:hover {
   opacity: 0.9;
}



/* SRB 13/9/20 00620 
   Styling for previous-panel
   on retailer.php
*/
div.previous-panel {
   background: #eee;
   border-top: 2px solid #888;
   margin-top: 30px;
   padding: 10px 5px;
}

div.previous-panel p {
   font-size: 0.9rem;
   font-weight: 600;
}



a.org-button {
   display: inline-block;
   font-size: 14px;
   color: #333;
   border: 1px solid silver;
   padding: 5px;
   margin-bottom: 5px;
}

a.org-button:hover {
   background-color: #eee;
   transition: ease 500ms;
}

.circle-icon,
.circle-icon-green,
.circle-icon-blue,
.circle-icon-orange,
.circle-icon-purple,
.circle-icon-red {
   background: silver;
   color: gray;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   text-align: center;
   line-height: 40px;
   vertical-align: middle;
}

.circle-icon-red {
   background: #dc241f;
   color: #6e171a;
}

.circle-icon-green {
   background: #6ab023;
   color: #335811;
}

.circle-icon-blue {
   background: #00539f;
   color: #00294f;
}

.circle-icon-orange {
   background: #fdbb30;
   color: #7e5d18;
}

.circle-icon-purple {
   background: #701477;
   color: #380a3b;
}


/* --------------------------------
   Business database record display 
   -------------------------------- */
	/* SRB 7/10/11 */ 
	.businessDBentryDisplay {
      float: left;
      width: 100%;
      max-width: 550px;
      border-radius: 10px;
      padding: 10px;
      margin-bottom: 10px;
   }

/* --------------------------
   Colours for shopping areas
	 -------------------------- */
	 
	 .shopnav .bircherley-green {background: #B33;}
	 .shopnav .fore-street {background: #393;}
	 .shopnav .maidenhead-street {background: #D82;}
	 .shopnav .railway-street {background: #BB2;}
	 .shopnav .standrew-street {background: #33B;}
	 .shopnav .parliament-square {background: #92B;}
	 .shopnav .market-street {background: #C27;}
	 .shopnav .elsewhere {background: #3BB;}





/*
   ======
   LAYOUT
   ======
*/

.column, .columns {
   /* padding-left: 0.5rem;
   padding-right: 0.5rem; */
}

/* Added by SRB 9/3/18 */
.news img {
   width: 100% !important;
   height: auto !important;
}

.news-date {
   font-size: 13px;
   padding-bottom: 20px;
   margin-top: -10px;
}

.news-item blockquote,
.issues-item blockquote {
   border-left: 4px solid silver;
   font-style: italic;
   /* SRB added below 4/3/20 */
   font-family: serif;
   font-size: 1rem;
   padding: 10px 20px;
}

.news-item blockquote p {
   font-family: Georgia, 'Libre Baskerville', serif;
   font-style: italic;
   color: #555;
}


@media only screen and (min-width: 64.063em) {
}



/*
   -----------
   FOOTER MENU
   -----------
*/

footer ul {
   list-style-type: none;
   margin-left: 0;
}

footer ul li a {
   display: block;
   width: 100%;
   padding: 8px 0 8px 0;
   text-align: center;
   text-decoration: none;
}

footer ul li a:hover {
   text-decoration: none;
    background: #4E72BA !important;   
}

div.wrapper {
   background: #3459A3;
   width: 100%;
}

footer div a {
   color: white;
}

footer div a:hover {
   color: white;
   text-decoration: underline;
}



/*
   -------------
   FOOTER SEARCH
   -------------
*/

form.search-form {
   /* width: 280px; replaced with below by SRB 11/3/15 because subm it button was falling below box in iOS, Firefox and IE */
   width: 290px;
   margin: 0 auto;
}

form.search-form input {
   height: 1.5rem;
}

form.search-form input[type="text"] {
   width: 200px; 
   padding: 0; 
   display: inline; 
   margin: 0 10px 0 0;
}

/* Added by SRB 4/6/16 */
form.search-form input[type="submit"] {
   background-color: #3459A3;
   color: white;
   border: 1px solid silver;
   height: 25px;
   transition: 300ms ease;
   cursor: pointer;
}

form.search-form input[type="submit"]:hover {
   background-color: #456AB4;
}

/*
.footer-social-icon {
   display: block;
   width: 64px;
   margin: 15px auto 0;
}
*/

#home .panel {
   padding: 1rem;
}


#home .panel p {
   font-size: 0.95rem;
   line-height: 1.4;
}

#home .panel img,
#home .panel h4 {
   margin-bottom: 5px;
}


button,
.button,
.pagenumber,
div.news-pagination ul.pagination li a {
   padding: 0.5rem 1rem;
font-family: 'open sans', arial, sans-serif; /* SRB 14/4/18 */ 
}

.pagenumber {
   padding-top: 0.45rem;
   background-color: white;
   border-color: #ccc;
   border-width: 1px;
   border-style: solid;
   margin: 0 0 1.25rem; /* SRB 13/1/21 to behave the same way as button */
   display: inline-block; /* SRB 13/1/21 to behave the same way as button */
}

div.news-pagination ul.pagination li a {
   color: white;
   background-color: #3459A3;
}


/*
   ------------
   CONTACT FORM
   ------------
*/


textarea {
   min-height: 100px;
}

div.url-field {
   display: none;
}

#loadingmsg {
   color: black;
   background: #eee; 
   padding: 0 10px;
   border: 3px solid #aaa;
   border-radius: 10px;
   position: fixed;
   top: 50%;
   left: 50%;
   z-index: 100;
   margin-left: -80px;
   }
   
#loadingover {
   background: black;
   z-index: 99;
   width: 100%;
   height: 100%;
   position: fixed;
   top: 0;
   left: 0;
   -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
   filter: alpha(opacity=50);
   -moz-opacity: 0.5;
   -khtml-opacity: 0.5;
   opacity: 0.5;
}

#working {
   visibility: hidden;
}

/* SRB 23/2/19 */
.url {
   display: none;
}



/* 
   ================================
   MESSAGES 
   ================================
*/

.success, 
.failure {
   font: bold 13px arial;
   display: inline; 
   padding: 3px; 
   border-radius: 4px; 
   border-width: 2px; 
   border-style: solid; 
   margin: 3px;
}

.success {
   color: green; 
   border-color: green;
}

.failure {
   color: red; 
   border-color: red;
}



/*
   =========
   ACCORDION
   =========
   Source: https://www.w3schools.com/howto/howto_js_accordion.asp
   Added by SRB 26/9/20
*/

/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
   background-color: #3459A3;
   color: white;
   cursor: pointer;
   padding: 14px 18px;
   width: 100%;
   text-align: left;
   line-height: 26px;
   border: none;
   outline: none;
   margin-bottom: 5px;
   transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active, button.accordion:hover {
   background-color: #4A72BA;
}

/* Style the accordion panel. Note: hidden by default */
div.accordion-panel {
   padding: 0 18px;
   background-color: white;
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.2s ease-out;
}

button.accordion:before {
   content: '\025B6'; /* Unicode character for "right arrow" sign  */
   color: white;
   float: left;
   width: 20px;
}

button.accordion.active:before {
   content: "\025BC"; /* Unicode character for "down arrow" sign  */
   width: 20px;
}








/* ==========================
   TAG STYLING
   ==========================
*/

.span-tag {
   /* padding: 7px; SRB 11/3/19 */
   font-size: 13px;
   padding: 2px 8px 2px 4px;
   background: #3459A3;
   color: #fff !important;
   margin: 5px 5px 5px 0px;
   display: inline-block;
   border-bottom-width:: 0;
}


.fa {
   margin-left: .2em;
   margin-right: .4em;
}

a.span-tag:hover {
   color: #fff;
   background: #23489a;
   transition: background-color .3s;
}







/*
   ========================================
   TOP MENU
   ========================================

   The colour info was found at 
   http://stackoverflow.com/questions/23280971/foundation-5-top-bar-change-the-background-and-hover-style-for-the-mobile-men
*/



.top-bar .name {
      height: 70px;
}

.top-bar .name h1 a {
   padding-left: 11px;
}


.top-bar-shadow {
	-webkit-box-shadow: 0px 3px 7px 0px rgba(50, 50, 50, 0.75);
	-moz-box-shadow:    0px 3px 7px 0px rgba(50, 50, 50, 0.75);
	box-shadow:         0px 3px 7px 0px rgba(50, 50, 50, 0.75);
}


.contain-to-grid .top-bar {
   background: #3459A3;
   /* min-height: 150px; removed SRB 2/3/21 */
   min-height: 70px;
   /* margin-bottom: 20px; removed SRB 10/3/15 */
   /* height: 110px; appears to interfere with off-canvas menu */
}


.top-bar-section ul {
   clear: both;
}

.top-bar-section li a:not(.button) {
    background: #3459A3 !important;   
}

.top-bar-section li a:not(.button):hover {
    background: #4E72BA !important;   
}

.top-bar-section ul li.active > a {
   /* font-family: 'Roboto', arial, sans-serif; */
font-family: 'open sans', arial, sans-serif; /* SRB 14/4/18 */ 
    background: #3459A3 !important;   
}

.top-bar-section ul li.active > a:hover {
    background: #4E72BA !important;   
}

/* The rest added by SRB */

.top-bar-section ul li > a {
   /* font-family: 'Roboto', arial, sans-serif; */
   font-size: 0.9rem;
}



/*
   ========
   GALLERIA
   ========
*/

div#galleria,
.galleria-stage {
   max-width: 1000px;
}

.galleria-theme-classic {
   background: #eee;
}

.galleria-theme-classic .galleria-thumbnails-container {
   bottom: 20px;
}

.galleria-theme-classic .galleria-thumb-nav-left, .galleria-theme-classic .galleria-thumb-nav-right, .galleria-theme-classic .galleria-info-link, .galleria-theme-classic .galleria-info-close, .galleria-theme-classic .galleria-image-nav-left, .galleria-theme-classic .galleria-image-nav-right {
   background-image: url(../galleria/themes/classic/classic-map-2.png);
}

.galleria-theme-classic.notouch .galleria-thumb-nav-left:hover, .galleria-theme-classic.notouch .galleria-thumb-nav-right:hover {
    opacity: 1;
    filter: alpha(opacity=100);
    background-color:  #ddd;
}


/*
   ============
   STREET NAMES
   ============
*/

td.road-name {
   width: 150px;
   vertical-align: top;
}



footer div.social-icons {
    text-align: center;
}



/*
   ==========
   NEWS PAGES
   ==========

/* News page image caption
   Used with SPAN   */

.caption, figcaption {
   display: block;
   font-size: 12px; 
   background-color: #eee; 
   border: 1px solid silver; 
   border-top-width: 0px;
   line-height: 16px; 
   padding: 3px;  
   /* SRB 19/1/20 */
   font-size: 13px;
   color: #444;
   line-height: 22px;
   /* SRB 27/11/20 */
   font-style: italic;
}

/* SRB 17/11/20 */
figure {
   padding: 0;
   margin: 0 0 1.25rem 0
}

/* Added 23/11/19 by SRB */

.news-headline,
h2.news-entry {
   font-family: Belgrano;
   letter-spacing: -1px;
}

p.news-headline {
   font-size: 22px;
   color: #333; 
   padding: 7px; 
   background-color: #eee; 
   line-height: 1.2em;
   line-height: 25px; /* SRB 15/4/20 */
}

h2.news-entry {
   font-size: 30px;
}

/* SRB 15/4/20 */
#news div.panel {
   padding: 0.9rem 0.5rem;
   background-color: #eaf1fd;
}

/* SRB 15/4/20 */
#news aside {
   border-left: 0px solid silver;
   padding-left: 5px;
}

/* SRB 15/4/20 */
#news div.panel {
   padding: 0.9rem 0.5rem;
   background-color: #eaf1fd;
}

/* SRB 24/6/20 */
p.top-news {
   font-size: 26px;
   line-height: 26px;
   line-height: 30px; /* SRB 13/3/21 */
   background-color: #3459A3;
   color: white;
   border-width: 0px !important;
   margin-bottom: 0;
}

/* SRB 4/1/21 */
p.update {
   border-left: 2px solid #3459A3;
   padding-left: 10px;
   font-style: italic;
}

.top-news-panel,
.second-news-panel {
   padding-left: 0.9375rem; 
   padding-right: 0.9375rem; 
   position: relative;
   width: 100%;
   float: left; /* SRB 19/7/20 */
}

.top-news-panel a.home-page-story p {
   border-width: 0;
   color: white;
}

a.home-page-story p.teaser {
   padding-top: 3px;
   padding-bottom: 3px;
   margin-bottom: 3px;
   font-size: 16px;
   border-width: 0;
   color: white;
}

.top-news-panel a.home-page-story p.dateline,
.second-news-panel a.home-page-story p.dateline 
{
   font-size: 12px; 
   font-weight: 600; 
   font-family: 'open sans'; 
   letter-spacing: normal;
   padding-top:2px;
   color: #bfcbe4;
   border: 0;
}

.top-news-panel a.home-page-story p.dateline {
   color: #bfcbe4;
}

.second-news-panel a.home-page-story p.dateline {
   color: #ccc;
   margin-bottom: 0;
}

.second-news-panel {
   margin-bottom : 20px;
}

.second-news-panel .image-container {
   float: right;
   max-width: 450px;
   margin-left: 5px; /* SRB 4/1/21 */
}

.second-news-panel p.news-headline {
   color: white;
   background-color: inherit;
   border-width: 0px !important;
   margin: 0;
   line-height: 28px; /* SRB 4/1/21 */
}

div.news-headline-box-container {
   background-color: #3459A3;
}


/*
   ==========
   QUIZ PAGE
   ==========
*/

#quiz label {
   font-weight: 800;
   margin-bottom: 10px;
}

input[type="radio"] {
   margin: 0 0.6rem 0.6rem 0;
}

#quiz p {
   margin-bottom: auto;
}


/*
#picture-quiz body,
#picture-quiz .feature-row,
#picture-quiz .spacer {
   background-color: #eee;
}

#picture-quiz .box-wrapper,
#picture-quiz .box {
   background-color: #ddd;
}

#picture-quiz h2,
#picture-quiz h3,
#picture-quiz p {
   color: #555;
}

*/
body#picture-quiz {
   color: #fff;
}

#picture-quiz label {
   cursor: auto;
   color: white;
   margin-bottom: 20px;
}





@media only screen and (max-width: 641px) {
   
   #news div.panel {
      max-width: 100%;
      margin-left: 20px;
      margin-right: 15px;
      padding: 0.9rem;
   }

   #news div.panel img {
      width:100%
   }
}


@media only screen and (max-width: 1024px) {

   .second-news-panel .image-container {  
      max-width: 100%;
   }

   .second-news-panel p.news-headline {
      display: inline-block;
   }

}



@media only screen and (min-width: 641px) and (max-width: 1024px) {

   .top-bar-section li:not(.has-form) a:not(.button) {
      padding: 0 10px;
   }

 

}






/*
   =======================================
   M E D I U M   S I Z E D   S C R E E N S
   =======================================
*/



@media only screen and (min-width: 642px) {

   div.wrapper {
      background: #3459A3;
      width: 100%;
   }

   /* 
      ================
      TOP BAR (MEDIUM)
      ================
   */
   .top-bar {
      height: 110px;
   }

   .contain-to-grid .top-bar {
      min-height: 110px;
   }


   .top-bar .name {
      height: 65px;
   }

   /* Modify the height of the top bar menu */
   .top-bar-section li:not(.has-form) a:not(.button) {
      line-height: 32px;
   }
   .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] {
      height: 32px;
      border-color: #777;
   }



   .banner {
      position: relative;
      float: right; 
      padding-top: 8px;
      margin-right: 18px; 
      max-width: 50%;
   }

   form.search-form {
      float: right;
   }


   /*
      ====================
      FOOTER MENU (MEDIUM)
      ====================
   */

   footer ul {
      margin-bottom: 0;
   }

   footer ul li a {
      display: inline;
      padding: 0;
      text-align: left;
   }

   footer ul li a:hover,
   footer ul li a:active{
      background-color: #3459A3 !important;
      text-decoration: underline;
   }



      footer div a {
      color: white;
   }

   footer div a:hover {
      color: white;
      text-decoration: underline;
   }


/*   padding-top: 8px; 
   position: relative; 
   float: left;
   margin-left: 15px;
   max-width: 100%; */

   .footer-social-icon {
      float: right; 
      margin-left: 10px;
      border-bottom: 0px !important;
   }

}























/* Added for use on election page */
td.image-cell {
   padding: 1px;
}









/* ----------------------------
   Boxes used on listings pages
   ---------------------------- */

   div.thePremises {
      width: 220px; 
      height: 295px;
      border: 1px solid #ccc;
      border-top: 3px solid #4E72BA; 
      float: left; 
      padding: 0px; 
      margin-right: 15px; 
      margin-bottom: 15px;
   }
   
   div.thePremisesName {
      font-size: 16px;
      color: #048; 
      background: #eee;
      padding: 4px;
   }

   div.thePremisesDetail {
      padding: 4px;
      /* font-size: 0.9em;   SRB 29/11/15 replaced with line below */
      font-size: 14px;
      line-height: 1.3em;
   }
	 
   div.thePremises img {
      width: 100%;
   }

   .star-location {font-size: 11px;}
   
   @media only screen and (max-width: 517px) { /* Added by SRB 16/4/17 */

      div.thePremises {
         width: 100%;
         height: auto;
      }
   }

   @media only screen and (min-width: 644px) and (max-width: 764px) { /* Added by SRB 16/4/17 */

      div.thePremises {
         width: 100%;
         height: auto;
      }

      /* SRB 27/12/20 */ 
      .top-bar-section li:not(.has-form) a:not(.button) {
         padding: 0 5px;
      }
   }

   @media only screen and (max-width: 764px) { /* Added by SRB 2/3/21 */

      .title-wrapper h1 {
         font-size: 2em;
      }
   }

   @media only screen and (max-width: 517px) { /* Added by SRB 2/3/21 */

      .title-wrapper h1 {
         font-size: 1.7em;
      }
   }

/*
   ============
   BUTTONS
   ============
*/


/* SRB 16/7/18 */
.button.small {
   padding-top: 0.3rem;
   padding-right: 0.5rem;
   padding-bottom: 0.3rem;
   padding-left: 0.5rem;
}

.small-button {
   font-size: 13px;
   padding: 3px 5px;
}


.read-more {
   margin-bottom: 5px;
   margin-top: 5px;
}





/* SRB 20/11/20 */
.test-row {
   max-width: initial;
   display: block;
   background-color: darkblue;
   background-image: url(../galleries/landmarks/images/005.jpg);
   /* filter: blur(8px); */
   background-size: cover;
   opacity: .2; 
}