nav {
  padding: 0.825rem 4.0rem;
}

.box {
  padding: 1.25rem 4.0rem;
}

footer  p {
	font-size: 0.75rem;
}

ul.menu {
	padding-left: 0.5rem;
	text-align: left;
	list-style-type: none;
}

ul.menu li {
	font-size: 12px;
}

a, a:link, a:visited, a:hover, a:active {
    color:#444;
}

div#terms a {
	font-weight: 900;
}

.modalform-control {
	margin-top: 10px;
}
.modalform-textarea {
	height: 100px;
	width: 240px;
}

.left-16 {
	padding-left: 16px;
}

.padding-20 {
	padding: 20px;
}

.padding-l20 {
	padding-left: 20px;
}
.padding-lrb20 {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
}

.padding-l50 {
	padding-left: 50px;
}

.padding-r20 {
	padding-right: 20px;
}

.padding-tb20 {
	padding-top: 20px;
	padding-bottom: 20px;
}

.padding-b25 {
	padding-bottom: 25px;
}

.relative {
	position: relative;
}
.overlay {
	position: absolute;
	display: block;
	left: 0;
	top: 45px;
	bottom: 0;
	right: 0;
	margin-left: auto;
    margin-right: auto;
}

.margin-lr0 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.margin-lr10 {
	margin-left: 10px !important;
	margin-right: 10px !important;
}

.margin-t20 {
	margin-top: 20px;
}

.centre {
	text-align: center;
}

.valign-top {
	vertical-align: top;
}

.clear {
	clear: both;
}

.error {
	background-color: #f5d9d7;
}

.required {
	color: red;
}

.more {
	color: #0000EE;
	text-decoration: underline;
	font-size: 0.85rem;
	line-height: 1.6;
	cursor: pointer;
}

.blue {
	color: #0000EE;
	text-decoration: underline;
}

.social-icons {
    font-size: 1.2rem;
    float: right;
}
.social-icons i {
	padding-right: 20px;
}

section.video, section.zoom {
	position: relative;
}

div.video img {
	float: right;
	width: 400px;
	height: auto;
	padding: 0 20px 20px 20px;
}

div.zoom img {
	height: 240px;
	margin-left: auto;
	margin-right: auto;
}

div.my div.video img.overlay {
	position: absolute;
	top: 32.5%;
	left: 37.5%;
	width: 25%;
}

div.my div.zoom img.overlay {
	position: absolute;
	top: 32.5%;
	left: 25%;
	width: 50%;
	height: auto;
}

img.button {
	height: 240px;
	margin-left: auto;
	margin-right: auto;
}

img.thumb {
	height: 80px;
	margin-left: auto;
	margin-right: auto;
}

/* button[type="button"] { clash with video-style*/
button.button, button.joinbutton, input[type='submit']{
	padding: 10px;
	margin: 40px;
	color: #fff;
	background-color: #9f8f60;
	-webkit-transition: background 0.20s linear 0s;
	border: 1px solid #9f8f60;
	border-radius: 10px;
}

button.joinbutton {
	margin: 0;
}

button.buttontop {
	margin-bottom: 5px;
}
button.buttonbottom {
	margin-top: 5px;
}

/*button[type="button"]:hover { */
button.button:hover, input[type='submit']:hover {
	background-color: #e2b736;
}

form#form-guest input, 
form#form-user input {
	padding: 5px;
	margin: 5px;
	width: 96%;
}
form#form-guest input[name='forname'], 
form#form-user input[name='forname'] {
	padding: 5px;
	margin: 5px;
	width: 65%;
}
form#guest-login input[type='submit'], 
form#guest-login input[type='submit'] {
	padding: 10px;
	margin: 10px;
	width: 100%;
}
#getaddress_label {
	margin: 10px 10px 0 10px;
	font-size: 0.85rem;
	line-height: 1.6;
	float: left;
}
#getaddress_input {
	width: 60% !important;
}

#getaddress_button {
	padding: 10px;
	margin: 0 10px 10px 10px;
	color: #fff;
	background-color: #9f8f60;
	-webkit-transition: background 0.20s linear 0s;
    border: 1px solid #9f8f60;
    border-radius: 10px;
}

#getaddress_button:hover {
	background-color: #e2b736;
}

#getaddress_dropdown {
	padding: 5px;
	margin: 5px;
	width: 96%;
}

table.logged-in tr {
	background-color: #fff;
}
table.logged-in button {
	margin: 0;
}

/* ==========================================================================
   #Custom JQuery FancyBox
   ========================================================================== */
   
#login, #contact, #password, #guest, #user { 
	display: none; 
	width: 260px; 
	margin: 10px 0 10px 0;
	text-align: center;
}

#terms, #privacy, #about { 
	display: none; 
	width: 400px; 
	margin: 10px 0 10px 0;
	text-align: center;
}

a.terms, a.terms:link, a.terms:visited, a.terms:hover, a.terms:active,
a.privacy, a.privacy:link, a.privacy:visited, a.privacy:hover, a.privacy:active,
a.tutor, a.tutor:link, a.tutor:visited, a.tutor:hover, a.tutor:active {
    color:#59460d;
}

#send-login, 
#send-password, 
#send-contact, 
#forgotten-password-show, 
#forgotten-password-hide,
#forgotten-password-mail,
#mail-password,
#guest-login,
#user-login { 
	color: #dee5f0;
	cursor: pointer;
	padding: 5px 11px;
	margin-top:10px;
	border: solid 1px #9c7b16;
	border-radius: 5px;
	background: #9c7b16; 
	background: -webkit-gradient(linear, left top, left bottom, from(#c99e1d), to(#9c7b16)); 
	background: -moz-linear-gradient(top, #c99e1d, #9c7b16); 
	background: -webkit-linear-gradient(top, #c99e1d, #9c7b16);
	background: -o-linear-gradient(top, #c99e1d, #9c7b16);
	background: -ms-linear-gradient(top, #c99e1d, #9c7b16);
	background: linear-gradient(top, #c99e1d, #9c7b16);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#c99e1d', endColorstr='#9c7b16'); 
}
#forgotten-password-mail {
	width:200px;
}
#send-password { 
	display:inline;	
}
#send-contact:hover #send-login:hover #send-password:hover {
	background: #183d80; 
	background: -webkit-gradient(linear, left top, left bottom, from(#284f9d), to(#0c2b6b)); 
	background: -moz-linear-gradient(top,  #284f9d, #0c2b6b); 
	background: -webkit-linear-gradient(top, #284f9d, #0c2b6b);
	background: -o-linear-gradient(top, #284f9d, #0c2b6b);
	background: -ms-linear-gradient(top, #284f9d, #0c2b6b);
	background: linear-gradient(top, #284f9d, #0c2b6b);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#284f9d', endColorstr='#0c2b6b');
}
#send-contact:active, #send-login:active #send-password:active  {
	color: #8c9dc0; 
	background: -webkit-gradient(linear, left top, left bottom, from(#0e387d), to(#2f55b7)); 
	background: -moz-linear-gradient(top,  #0e387d,  #2f55b7);
	background: -webkit-linear-gradient(top, #0e387d, #2f55b7);
	background: -o-linear-gradient(top, #0e387d, #2f55b7);
	background: -ms-linear-gradient(top, #0e387d, #2f55b7);
	background: linear-gradient(top, #0e387d, #2f55b7);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0e387d', endColorstr='#2f55b7');
}

.login-error {
	display: block;
	color: red;
	font-size: 0.9em;
	margin-top: 15px;
}

#send-login { 
	display: inline;
}

/* ==========================================================================
 #Override Responsee.css
 ========================================================================== */
 
table tr:nth-of-type(2n) {
  	background: none repeat scroll 0 0 #ffffff;
}

table tr.module {
    background: none repeat scroll 0 0 #f9efd2;
}

@media screen and (max-width: 900px) {
	
/* button[type="button"] { */
button.button {}
	margin-top: 10px;
	margin-bottom: 10px;
}
	
@media screen and (max-width: 768px) {
  .right {
    float:none;
  }
  nav {
    padding: 10px 0;
    height: 60px;
  }
  .box {
  padding: 1.25rem;
}
  .logo img {
    max-width: 172px;
    max-height: 40px;
    margin: 0 auto;
    width: auto;
  }
  
  footer  p {
	font-size: 0.60rem;
  }

  element {
    width: 220px;
  }
  
  div.video img.overlay {
	position: absolute;
	top: 30%;
	left: 35%;
	width: 30%;
  }
  
  #login, #contact {
    width: 220px;
  }
  .modalform-control {
    width: 100%;
  }
  
  /* ==========================================================================
   #Override Responsee.css
   ========================================================================== */
  p, li, dl, blockquote, table, kbd {
	font-size: 0.85rem;
	line-height: 1.4;
  }
}