body {
  background : #f8f6e9 ;
  color : black!important;
}

h1.title {
  color : brown;
  font-family: 'Merlin','Fondamento',cursive;
  font-weight: bold;
  font-size: 32pt;
}

h2.title {
  color : brown;
  font-family: 'Merlin','Fondamento',cursive;
  font-weight: bold;
  font-size: 24pt;
  max-width: 1024px;
}

h3.title {
  color : brown;
  font : 20pt bold;
  font-family : "tahoma";
  margin-top: 20px;
  max-width: 1024px;
}

h1 {
  color : brown;
  font : bold 24pt "times new roman";
  margin-top: 10px;
  margin-bottom: 5px;
}

h2 {
  color : brown;
  font : bold 18pt "times new roman";
  margin-top: 5px;
  margin-bottom: 5px;
}

h2.news {
  font-size: 16pt;
  font-weight: 700;
}

div.news {
  margin-left:30px;
  line-height:1.2em;
}

.taster {
  color: darkred;
  font-size: 14pt;
  font-style: italic;
}

img.logo {
  margin: 10px;
  height: 100px;
  width: 100px;
  border:none;
}

td.span {
  column-span: 3;
}

p.error {
  color : brown;
  font-weight : bold;
  font-size : 16pt;
  font-style : italic;
}

div.footer {
  margin: 0 0 0 10px;
}

p.footer {
  font: 9pt "times new roman";
  font-style : italic;
}

hr.footer {
  margin: 5px 0 5px 0;
}

td.lapsed {
  background-color: silver;
  color: rgb(45, 51, 56);
}

td.tcenter {
  text-align: center;
}

div.content {
  border : none;
  padding-top: 15px;
  max-width: 1024px;
  margin: 0;
}

div.content-fixed {
  border-right : 1px solid brown;
  padding: 15px 0;
  max-width: 700px;
  min-width: 700px;
  margin: 0;
  overflow:auto;
  height: 350px;
}

/* Sidebar */
div.sidebar {
  font : 12pt "times new roman";
  width: 14em;
}

th.sidebar {
  color : brown;
  font : 12pt "times new roman";
  font-weight : bold;
  text-align: left;
  vertical-align: top;
  text-align: left;
  padding-left:15px;
  border : none;
}

td.sidebar {
  color : black;
  font : 12pt "times new roman";
  vertical-align: top;
  border : none;
}

label.sidebar {
  margin: 1px 5px;
  width:auto;
  border: none;
}

br {
  clear : left
}

hr {
  border-top: 1px solid brown;
  width: 100%;
}

td.sidebar1 {
  color : brown;
  font-size : 12pt;
  font-weight : bold;
  font-family : "tahoma";
  border : none;
  padding-bottom:10px;
}

td.sidebar1:hover {
  color : black;
}

td.sidebar2 {
  color : blue;
  font-size : 10pt;
  font-weight : bold;
  font-family : "tahoma";
  border : none;
  padding-bottom:10px;
}

td.sidebar3 {
  color : #CEABA5;
  font-size : 10pt;
  font-weight : bold;
  font-family : "tahoma";
  border : none;
}

.sidebar:link  { text-decoration: none; color:rgb(192, 59, 59); }
.sidebar:visited { text-decoration: none; color:brown; }

table[class^="linedTable"] {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-collapse: collapse;
}

th.linedTable {
  background-color:rgb(255,255,255);
  font-size: 12pt;
  border-width: 1px 1px 3px 1px;
  border-style: solid;
  border-color: black;
  border-collapse: collapse;
  padding : 2px 10px 2px 10px;
}

td.linedTable {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-collapse: collapse;
  padding : 2px 10px 2px 10px;
  font-size: 10pt;
}

[class*="linedTable"] tr:nth-child(odd) {
  background-color:rgb(240,240,255);
}

[class*="linedTable"] tr:nth-child(even) {
  background-color:rgb(255,255,255)
}

tr.hoverable:hover {
  background-color:rgb(190, 248, 207)!important;
	cursor:pointer;
  color:black;
}

.pullright {
  float:right;
}

div.clearright {
  clear:right;
}

li.spaced {
  padding-bottom: 20px;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

.middle {
  vertical-align: middle;
}

.top {
  vertical-align: top;
}

.bottom {
  vertical-align: bottom;
}

.noborder {
  border:none;
}

.hide {
  display: none;
}

.inline {
  display: inline;
}

.fright {
  float:right;
  margin-right: 50px;
}

.tight {
  line-height: 115%;
}

.no-screen, .no-screen *
{
  display: none !important;
}

.width-var {
  width: var(--widthval)
}

.width-minvar {
  min-width: var(--widthval)
}

.height-maxvar {
  max-height: var(--heightval)
}

/* *************************************************************************** */
/* Intranet membership and exchange society forms */
table.memberform {
  max-width: 900px;
  min-width: 512px;
}

label#forExpiry {
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  padding: 5px 5px 5px 20px;
  color: #a52a2a;
}

th > label[class^="formLabel"] {
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  padding: 5px 5px 5px 0;
  color: #a52a2a;
  display: table-cell;
  vertical-align: text-top;
  float: right;
  height: 2em;
}

th > label.required:before,span.required:before {
  font-size: 16px;
  font-weight: bold;
  padding: 0;
  color: #a52a2a;
  vertical-align: text-top;
  content:"* ";
  height: 2em;
}

td.formField {
  vertical-align: text-top;
}

td > input.formField,select.formField,textarea.formField {
  display:table-cell;
  width:100%;
}

button.btn-large {
  padding: 8px 0 8px 0;
  width: 80px;
  height: 2em;
  font-size: 18px;
  border-radius: 6px;
  border-width:2px;
  border-style:outset;
}

.btn-large.btn-wide {
  min-width: 150px;
  width: var(--widthval);
}

button.btn-large:hover:enabled {
  /* https://stackoverflow.com/questions/11600687/hover-and-active-only-when-not-disabled */
  color: #D01010;
}

[class^="^ icon-"] {
  display: inline-block;
}

input.formField,textarea.formField,select.formField,span.field-text {
  color: black !important;
  font-weight: bolder;
  border-radius: 6px;
  border-width:2px;
  border-style: inset;
  margin-bottom:5px;
  padding: 0 10px 0 5px;
}

textarea {
  background : white;
  font : 12pt;
}

span.side-note {
  font-size:16px;
  font-style:italic;
  line-height:1.5;
}

/* Custom check box for forms */
input[type=checkbox].formField {
  text-align: left;
  height: 25px;
  width: 25px;
}

input[type=email]:valid {
  color: black;
}

input[type=email]:invalid {
  color: red;
}

/* *************************************************************************** */
/* Confirm pop-up */
.popup {
  width: 80%;
  padding: 15px;
  left: 0;
  margin-left: 5%;
  border: 1px solid rgb(1,82,73);
  border-radius: 10px;
  color: rgb(1,82,73);
  background: white;
  position: absolute;
  top: 30%;
  box-shadow: 5px 5px 5px #000;
  z-index: 10001;
  font-weight: 700;
  text-align: center;
}

.overlay {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,.85);
  z-index: 10000;
  display :none;
}

@media (min-width: 400px) {
  .popup {
    width: 66.66666666%;
    max-width: 320px;
    margin-left: 16.666666%;
  }
}
@media (min-width: 692px) {
  .popup {
    width: 320px;
    margin-left: 25%;
  }
}
@media (min-width: 950px) {
  .popup {
    width: 450px;
    margin-left: 33.33333%;
  }
}

.dialog-btn {
  background-color:#44B78B;
  color: white;
  font-weight: 700;
  border: 1px solid #44B78B;
  border-radius: 10px;
  height: 30px;
  width: 120px;
}
.dialog-btn:hover {
  background-color:#015249;
  cursor: pointer;
}

blockquote {
  margin-left:5em;
}
