/* 
uktowns
rv 26sep07 (updated 6jul2010&28aug12) .org.uk stylesheet  
acf=blue   .com/ ff9=yellow .co.uk/ c9f=mauve  .org.uk /
f96=orange .org/ cfc=green  .info/ 444=grey   .biz 
4feb16 did some serious updating on this aldeburgh.org.uk stylesheet
sort of got responsiveness in iphone!
28july2020! updating after setting up places.org.uk on cloudabove hosting!
*/

html {overflow-y:scroll;}
th{text-align: left;}
p{padding-left: 5px;}
td{width:100%;}
td a{text-decoration:none;}

body {
background: #bbb;
margin: 10px 0;
text-align: left;
font-size: 10px;
font-family: Verdana, Arial, helvetica, sans-serif;
line-height: 1.5em;
}

#container {
width: auto;
max-width: 835px; /* 4feb15 835px seems to be the width of an A4 piece of paper in landscape*/
margin: 0 auto;
}

.to-top-btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    text-decoration:none;
    background: black;
    color: #454440;
    padding: 1px;
    border-radius: 1px;
    display: none;
}

.hidelap{
display:none;
}
.hidemob{
display:block;
}

#c1{
background:pink;
}
#c2{
background:orchid;
}
#c3{
background:yellow;
}
#c4{
background:deepskyblue;
}
#c5{
background:orange;
}
#c6{
background:lightgreen;
}
#c8{
background: lightgrey;
}
#c9{
background: crimson;
}
#header {
background: #000;
background-image: url('pix/tbar.jpg');
background-repeat: no-repeat;
width: auto;
height: 40px;
padding-top: 20px;
padding-left: 5px;
border-bottom: thin solid #222;
font-size: 3.5em;
color: white;
}

#rightbar {
display:none;
background: red;
float: right;
max-width: 122px;
width: 100%;
height: auto;
padding-top: 0px;
color: white;
font-size: 8px;
}
#bar {
display: none;
width: 160px;
height: auto;
background: #dcf;
float:none;
clear:both;
}

#adbar {
width: 160px;
height: auto;
background: #abc; /*dcf-lt purple*/
float:none;
clear:both;
}

#sidebar {
background: #dcf;
float: right;
max-width: 200px;
width: 48%;
height: auto;
padding: 0 5px;
color: white;

}

h2 {
font-size: 11px;
font-weight: bold;
color: #a00;
margin-top:-5px;
margin-left:-0px;
}

h3 {
background: #eee;
margin: 1px 0;
text-align: left;
font-size: 10px;
font-family: Verdana, Arial, helvetica, sans-serif;
border-bottom: thin solid #000;
padding-left: 7px;
height: 15px;
width: -633px;
}

h4 {
font-size: 16px;
font-weight: bold;
color: #a0a;
margin-bottom:1px;
margin-left:-0px;
}

#content {

background: #fff;
height: auto;
font-size: 10px;
text-decoration: none;
}
/*
#opac {
background: red;
font-size: 30px;
width:auto;
height:60px;
padding-top: 10px;
opacity: 0.3;
filter: alpha(opacity=30); /* For IE8 and earlier */


div.img {
  margin: 0px;
/* this colour needs to be same as rightbar background to hide borders */
  border: 0px solid #222;
  border-bottom: 1px solid #fff;
  height: auto;
  width: 100%;
  float: left;
  text-align: left;
  color: #404040;
  padding-top:4px;
  padding-left:0px;
  display: block;
}	

div.img img {
  display: block;
  margin: 0px;
  border: 0px solid #fff;
  width: 100 px;
}

div.img a:hover img {
border: 0px solid #404040;
}

div.desc {
  text-align: left;
  font-weight: normal;
  width: 120px;
  margin: 0px;
  padding-left:0px;
  font: 9px Verdana, Arial, helvetica, sans-serif;
}

/*==============================*/
#nav {
margin: 0;
padding:0;
border-bottom: 0px solid #333;
font: 11px Verdana, Arial, helvetica, sans-serif;
float:none;
clear:both;
}

#nav li {
list-style-type: none;
margin: 0;
padding: 0;
border-bottom: 1px solid #333;
}

#nav ul {
margin: 0;
padding: 0;
z-index: 10;
}

#nav a {
border-bottom: 0;
border-color: #869CB4 #234A76 #234A76 #869CB4;
display: block;
text-decoration: none;
background-color: #404040;
padding: 4px 12px 4px 10px;
color: #000;
line-height:1.0;
}

#nav a:hover, #nav a:active, #nav a:focus {
color: #aaa;
border-color: #234A76 #869CB4 #869CB4 #234A76;
letter-spacing: 0.01px;
}

#nav ul a:hover, #nav ul a:active, #nav ul a:focus{
border-left: 1px solid #cdc;
}

#nav .current, #nav .current:hover {
color: #003!important;
background-color: #ccc; /* 039 blue */
}

/* menu width */
#nav {
width: 94px;
}

/* submenu widths */
#nav ul {
width: 94px;
}

#nav-menu li a.selected{
color:#fff;
background: #404040; 
text-decoration:none;
height: 30px;
}

#nav-menu ul {
list-style: none;
padding: 0;
margin: 0;
}

#nav-menu li {
float: left;
margin: 0em;
}

#nav-menu li a {
height: 30px;/*black line to right of non-selected menu item rv16feb14*/
line-height: 2.9em;
float: left;
padding-right:5px;
padding-left:5px;
display: block;
border-right: 1px solid #000;
color: #fff;
text-decoration: none;
text-align: center;
}

#nav-menu li a.selected{
color:#000;
background: #ccc; 
text-decoration:none;
height: 30px;
}

/*===========================*/
/* =form - form menu begins */

.boldtxt {
font-weight: bold;
}

#links li {
  float: left;
/*  width: 17em; makes 4 cols*/
/*  width: 18em; makes 3 cols*/
  width: 19em;
  margin-right: 2px;
  padding: 0;
  line-height: 2;
  text-decoration: none;
}

#links a{
color: #c03;
text-decoration: none;
}

p.bold {
font-weight: bold;
font-size: 11px;
}

.grntxt {
color: #080; /* 00f blue */
}

.grntxt a{
color: #080; /* f00 red */
/*font-weight: bold;*/
text-decoration: none;
}

.blutxt {
color: #00f; /* 00f blue */
}

.blutxt a{
color: #00f; /* f00 red */
/*font-weight: bold;*/
text-decoration: none;
}
.redtxt {
color: #f00; /* f00 red */
/*font-weight: bold;*/
}

.redtxt a{
color: #f00; /* f00 red */
/*font-weight: bold;*/
text-decoration: none; 
}
.gtxt {
color: #0f0; /* 0f0 green */
font-weight: bold;
}

.yeltxt a{
color: #ff0; /* f00 red */
/*font-weight: bold;*/
text-decoration: none;
}
.ytxt {
color: #ff0; /* ff0 yellow */
font-weight: bold;
}

.purtxt a{
color: #c9f; /* ff9 mauve */
/*font-weight: bold;*/
text-decoration: none;
}
.purtxt {
color: #ff9; /* ff9 mauve */
/*font-weight: bold;*/
}

.rtxt {
color: #c30; /* c30 dark red */
font-weight: bold;
}

.btxt {
color: #69f; /* 69f lt blue */
font-weight: bold;
}

/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/

* html .threepxfix {
margin-left: 3px;
}
div label {
  display: block;
/*  font-size: 0.8em; */
  font-size: 0.9em;
}

strong.error {
  color: red;
}

input.invalid {
  background-color: pink;
}

textarea.invalid {
  background-color: pink  ;
}

h5 {
font-size: 15px;
font-family: Verdana, Arial, helvetica, sans-serif;
}

#print {
position:relative;
left:650px;
top: -605px;
width:100px;
text-decoration: none;
}

#form {
position:relative;
left:560px;
top:-260px;
width:180px;
}


.con1 {
height: 16px;
width: auto;
max-width: 835px;
background: #222;
border-bottom: thin solid #000;
border-top: thin solid #fff;
padding: 0 5px;
font-size: 11px;
color: #ffc;
text-indent: 0.1cm
float:none;
clear:both;
}

.con2 {
height: 30px;
width:auto;
max-width: 835px;
background: #666;
border-bottom: thin solid #000;
font-size: 9px;
float:none;
clear:both;
}

.con3 {
position: relative;
height: 40px;
max-width: 600;
width: auto;
background: #eee;
border-bottom: thin solid #000;
font-weight: bold;
font-size: 14px;
padding: 2px 5px;
float: none;
clear:both;
}

.con3.welcome{
padding-top:10px;
height: 30px;
}

.main {
background: #fff;
text-indent: 0.1cm
padding: 0 5px;
min-height: 430px;

}
.con5 {
background: #fff;
text-indent: 0.1cm
padding: 0 5px;
}

.leftbar {
background: #dcf;
width: 200px;
height: auto;
padding-top: 0px;
color: blue;
font-size: 8px;
}

#news {
padding: 0px;
width:auto;
height:auto;
background: #eee; /* ddd light grey */
clear: both;
float:right;
color: black;
font-size: 9px;
}

.search {
width:auto;
float:right;
margin-top:3px;
}

.date {
float:right;
}
.town {
float:left;
}

#footer {
color: #ddd;
font-size: 9px;
padding: 1px;
}

/*styles for back to top button below*/
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  border-radius:50px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  /* image replacement properties */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  /*204, 153, 255, 0.8button colour rgb opacity 232, 98, 86, 0.8*/
  background: rgba(0, 0, 0, 0.8) url(arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: #e86256; /*button colour hex e86256*/
  opacity: 1;
}

/*styles for back to top button above*/

@media (max-width:600px){



#c1,#c2,#c3,#c4,#c5,#c6,#c8,a:link{
font-size:20px;
line-height:30px;
}
#nav-menu a {
font-size:12px;
}

.hidelap{
display:block;
}
.hidemob{
display:none;
}
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}
