/*
 * Colours in use:
 * #444477 - dark greyish blue (555588 - slightly paler)
 * #ffff40 - pale yellow
 * #ffc040 - pale orange
 * #80ffc0 - pale green  (80ff80 - slightly darker
 * #ff80c0 - mid pink
 */

/*
.clearfix {
    overflow: auto;
}
*/

* {
    box-sizing: border-box;
}

body {
    background-color: #444477;
    color:#ffff40;
    font-size:14pt;
    font-family: "Chilanka", cursive;
    padding: none;
    margin: 20px;
}

body.mainpage {
/*    width:100%; */
    background-color: #444477;

/*    background-image: url("../graphics/harlequinmask.png"); */

/*    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-size: 50px;
    background-origin: content-box; */

/*    padding: none; */
    margin: 0;
    color: #ffff40;
/*    clear: left; */
/*    text-align: left; */
    font-family: "Chilanka", sans-serif;
    font-size: small;
}

body.testtop {
    width: 100%;
    background-color: #444477;
/*    background-image: url("../graphics/harlequinmask.png"); */
    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-size: 50px;
    background-origin: content-box;

    padding: 20px;
    margin: 20px;
    color: #ffff40;
    clear: left;
    text-align: left;
    font-family: "Chilanka", sans-serif;
    font-size: small;
}

.gallery {
    position: relative;
    width: 50%;
}

.pointer {cursor: pointer;}

a {color:#ffff40;font-size:14pt;text-decoration:none}
a:link {color:#ffff40;font-size:14pt;text-decoration:none}
a:hover {color:#a0ff80;font-size:14pt;text-decoration:none}
a.downloadlink {color:#ffff40;font-size:12pt;text-decoration:none}

/* for the gallery */
/* Next & previous buttons */
a.prev, a.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
a.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

a.prev {
  left: 0;
  border-radius: 3px 0 0 3px;    
}

/* On hover, add a black background color with a little bit see-through */
a.prev:hover, a.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

a.downloadbuttonstyle {
  background-color: #ffc040;
  color: #444477;
  font-family: "Khula";
  font-size: 12pt;
  padding: 5pt;
  border-radius: 5pt 5pt 15pt 15pt;
  margin: 2px 5px;
}

a.downloadbuttonstyle:hover {
  background-color: #ffff40;
  color: #444477;  
}

.picture {
    display: block;
}

/* --------------------------------------------------------------------- CSS web layout test -------------------------------- */

/* style the footer */
.footer {
    background-color: #444477;
    padding: 10px;
    color: #ff80c0;
    text-align: center;
    font-family: "Chilanka", sans-serif;
}

/* Create three unequal columns that floats next to each other */
.column {
    float: left;
    padding: 20px;
}

/* Left and right column */
.column.side {
    width: 25%;
}

/* Middle column */
.column.middle {
    width: 75%;
    background-image: url("../graphics/ribbon.png");
    background-repeat: repeat-y;
    background-position: right top;
/*    background-size: 100px; */
    background-clip: border-box;
    background-origin: content-box;
}

/* Right column */
.column.right {
    width: 25%;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.onecolumn {
    width: 75%;
    background-image: url("../graphics/ribbon.png");
    background-repeat: repeat-y;
    background-position: right top;
/*    background-size: 100px; */
    background-clip: border-box;
    background-origin: content-box;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column.side, .column.middle {
        width: 100%;
    }
}


/* --------------------------------------------------------------------- CSS web layour test -------------------------------- */

iframe {
    color: #ffff40;
    font-family: "Chilanka", cursive;
    font-size: small;
/*    float: left;
    margin-left: 0px; */
    margin:auto;
    display: block;
    height: 400px;
    width: 50%;
    padding: 5px;
    overflow: scroll;
}

iframe.youtube {
    margin:auto;
}

p {
    color:#ff80c0;
    font-size:14pt;
    font-family: "Chilanka", "Comic Sans MS", cursive;
}

p.justifiedleft {
  text-align: left;
  max-width: 75%;
}

/* -------------------------------------------------------------------- h# ------ */

h1 {color:#ffff40;font-size:14pt;font-weight:normal;font-family: "Chilanka", cursive}
h1.script {
    text-align: center;
    color:#ffff40;
    font-size:14pt;
    font-weight:bold;
    font-family: "Chilanka", cursive
}

h2 {color:#ffc040;font-size:12pt;font-weight:bold;font-family: "Chilanka", cursive}
h2.script {
    text-align: center;
    color:#ffc040;
    font-size:12pt;
    font-weight:bold;
    font-family: "Chilanka", cursive
}
h3 {color:#ffff40;font-size:12pt;font-weight:bold;font-family: "Chilanka", cursive}
h3.script {color:#ffff40;font-size:14pt;font-weight:bold;font-family: "Chilanka", cursive; cursor: pointer; margin:0}
h3.error {margin:0;}
h3.usererror {color: #ff80c0} /* pink */

hr {
    border-color:#80ff80;
    border-width: 1px;
    border-style: solid;
    text-align:center;
}

hr.plays {
    border-color:#555588;
    border-width: 1px;
    border-style: solid;
    text-align:center;
}

/* -------------------------------------------------------------------- button ------ */

button {
    background-color: #ffc040;
    color: #444477;
    font-family: "Khula";
    font-size: small;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
    margin: 2px 5px;
}

button.small {
    background-color: #ffc040;
    color: #444477;
    font-size: 10pt;
    padding: 2pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

button.small:hover {
    background-color: #ffff40;
    color: #444477;
    font-size: 10pt;
    padding: 2pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

button.scriptbutton {
    background-color: #ffc040;
    color: #440077;
    font-family: "Khula";
    font-size: small;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
    margin: 2px 5px;
}


button.thispage {
    background-color: #444477;
    color: #80ff80;
    font-family: "Khula";
    font-size: small;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
    margin: 2px 5px;
}

button:hover {
    background-color: #ffff40;
    color: #444477;
    font-size: small;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

/* ***************************************** admin buttons *****************/
button.admin {
    background-color: #80ff80;
    color: #444477;
    font-family: "Khula";
    font-size: small;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
    margin: 2px 5px;
}

button.admin:hover {
    background-color: #ffff40;
    color: #444477;
    font-size: small;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

/* -------------------------------------------------------------------- table caption th tr td ------ */

table {
    border-style: solid;
    border-width: 1px;
    border-color:#80ffc0;
    border-collapse: collapse;
    background-color: #303040;
    opacity:1.0;
    filter:alpha(opacity=40);
}

table.useradmin {
    border: none;
    border-collapse: collapse;
    background:transparent;
}

table.login, table.contactus {
    border: none;
    background: transparent;
}

table.script {
    border: none;
    background: transparent;
    width: 100%;
}

caption {
    color: #444477;
    font-size: 14pt;
    font-weight: normal;
    font-family: "Chilanka", cursive;
    background-color: #ffc040;
}

th {color:#ffc040;font:10pt Arial;font-weight:bold;border-style: solid;border-width: 1px;border-color:#80ffc0}

th.login, th.contactus {
    border: none;
    background: transparent;
}

th.useradmin {
    border: none;
    background: transparent;
    padding: 5px;
}

tr {
  display: table-row;
}

tr.useradmin:nth-child(even), tr.login:nth-child(even) {
  background-color: #222255;
}

tr.verificationkeyrow#verificationkeyrow {
  display: none;
}

td {color:#ffc040;font:12pt "Chilanka", Arial, sans-serif;border-style: solid;border-width: 1px;border-color:#80ffc0}

td.login, td.contactus {
    border: none;
    background: transparent;
    padding: 5px;
}

td.scriptinfolabel {
    border: none;
    background: transparent;
    padding: 5px;
    width: 200px;
    color: #80ff80;
    font-size:14pt;
    font-family: "Chilanka", "Comic Sans MS", cursive;
    font-weight: bold;
}

td.scriptinfo {
    border: none;
    background: transparent;
    padding: 5px;
    font-size:14pt;
    font-family: "Chilanka", "Comic Sans MS", cursive;
}

td.useradmin {
    border: none;
    background: transparent;
    padding: 5px;
}

td.useradminpointer {
    border: none;
    background: transparent;
    padding: 5px;
    cursor: pointer;
}

td.message {
    color: #80ff80;
    border: none;
    max-width: 400px;
    background: transparent;
    padding: 5px;
/*    display: inline; */
    white-space:pre-wrap;
}

td.script {
    border: none;
    background: transparent;
/*    padding: 5px; */
    color:#ff80c0;
    font-size:14pt;
    font-family: "Chilanka", cursive;
    text-align: left;
    display: inline;
    white-space:pre-wrap;
}

select {
    background-color:#ffc040;
    color: #444477;
    font-size: small;
    padding: 5pt;
    border-color: #ffffff;
}

/* -------------------------------------------------------------------- span ------ */

span.back {
    position: absolute;
    left: 10px;
    top: 200px;
    z-index: 0;
    height: 260px;
    width: 450px;
}

span.mask {
    position: absolute;
    border-color: green;
    left: 10px;
    top: 200px;
    z-index: 1;
    height: 260px;
    width: 450px;
}

span.spotlight {position: inherit;
    left: 10px;
    top: 20px;
    z-index: 2;
    height: 260px;
    width: 450px;}

span.phototitle {
    position: relative;
/*    left: 235px; */
    text-align: center;
    
    top: 280px;
/*    width: 100px; */
}

span.playdetail {
    position: inherit;
    left: 100px;
    max-width: 800px;
}

/* -------------------------------------------------------------------- div ------ */

div {
    display: block;
    position: static;
}

div.mainpage {
    position: static;
    width:100%;
    background-color: #444477;
    border: none;
    padding: none;
    margin: none;
}

div.stage {
    margin: auto;
    position: relative;
    width: 75%;
    background: transparent;
    display: block;
}

div.animation {
    margin:auto;
    display: block;
    height: 260px;
    width: 450px;
}

div.welcomeinfo {
    display: block;
    position: static;
}

div.description {
    color:#ff80c0;
    font-size:14pt;
    font-family: "Chilanka", cursive;
    text-align: left;
    display: inline;
    white-space:pre-wrap;
}

div.textleft {
    position: relative;
    width: 75%;
}

div.contactform {
    width: 50%;
    margin: auto;
    border: white;
}

div.uploadform {
  display: none;
}

div.trolley {
  display: inline-block;
/*  padding: 5pt; */
  position: relative;
/*  margin: 2px 5px; */
  top: 10px;
  left: 5px;
  border-radius: 18px;
  height: 36px;
  min-width: 36px;
  background-color: #222266;
  border-color: #ffff40;
}

div.checkoutfield {
  position: relative;
  display: block;
  border: none;
/*  border-style: solid;
  border-color: black; */
/*  background-color: #555588;  /* temporarily another colour so we can see */
  width: 100%;
  height: 45px;
}

div.checkoutregistration {
  position: relative;
  left: 0;
  display: block;
  border: none;
/*  border-style: solid;
  border-color: #555588;  */
/*  background-color: #555588;  /* temporarily another colour so we can see */
  width: 100%;
  height: 200px;
}

div.verificationkeyrow {
  display: block;
}

/* , div.checkoutfield#checkoutfirstname, div.checkoutfield#checkoutlastname, div.checkoutfield#checkoutpasswordagain */
div.checkoutfield#checkoutpassword, div.checkoutregistration#checkoutregistration, div.checkoutfield#checkoutactivationcode {
  /* visibility: hidden; */
  display: none;
}

div.checkoutlabel {
  position: static;
  left: 10%;
  display: inline-block;
  border: none;
/*  border-color: #ffff40; */
/*  border-style: solid; */
/*  display: inline; */
  width: 200px;
  height: auto;
  background: transparent;
/*  background-color: #222266; */
  color: #80ff80;
  font:12pt "Chilanka", Arial, sans-serif;
  padding: 5pt;
}

div.checkoutmessage {
  position: static;
  display: inline-block;
  border: none;
  width: 400px;
  height: auto;
  background: transparent;
}

/* -------------------------------------------------------------------- img ------ */

img.trolleyimg {
  display: inline-block;
  position: relative;
  top: 18px;
/*  margin-left: auto;
  margin-right: auto; */
  margin: 2px 5px;
  cursor: pointer;
/*  height: 50%; */
}

img.photopeek {
    position: absolute;
/*    left: 25%; */
    margin-left: auto;
    margin-right: auto;
    top: 2px;
    z-index: 1;
    height: 260px;
    width: 450px;
}

img.photomask {
    position: absolute;
/*    left: 25%; */
    margin-left: auto;
    margin-right: auto;
    top: 2px;
    z-index: 2;
    height: 260px;
    width: 450px;
}

img.gallerythumbnail {
    height: 200px;
    padding: 5px;
    cursor: pointer;
}

img.listthumbnail {
  width: 200px;
  cursor: pointer;
}

/* -------------------------------------------------------------------- input ------ */

input[type=checkbox] {
    /* visibility: hidden; */
    display: none;
}

input[type=submit], input[type=reset], input[type=button] {
    background-color: #ffc040;
    color: #444477;
    font-size: 8pt;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

input[type=text], input[type=email], input[type=number], input[type=password] {
  color:#ffff40;
  background-color: #555588;
  /* color:#444477; */
  font:12pt "Chilanka", Arial, sans-serif;
}

input.checkoutnumber[type=number] {
  color:#ffff40;
  background-color: #555588;
  /* color:#444477; */
  font:12pt "Chilanka", Arial, sans-serif;
  width: 50%;
}


/* style like H2 */
input.scripttitle[type=text] {
    color:#ffc040;
    background-color: #555588;
    border:none;
    text-align: center;
    font-size:12pt;
    font-weight:bold;
    font-family: "Chilanka", cursive
}

input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover {
    background-color: #ffff40;
    color: #444477;
    font-size: 8pt;
    padding: 5pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

input.checkoutinput[type=email], input.checkoutinput[type=password], input.checkoutinput[type=text], input.checkoutinput[type=number] {
  position: static;
  left: 35%;
  width: 30%;
  height: auto;
  color:#ffc040;
  background-color: #555588;
  padding: 5pt;
}

input.checkoutbutton[type=button], input.checkoutbutton[type=submit] {
    position: absolute;
    left: 80%;
    background-color: #ffc040;
    color: #444477;
    font-size: 10pt;
    padding: 2pt;
    border-radius: 5pt 5pt 15pt 15pt;
}

/* input.checkoutinput[type=password] {
  width: 50%;
  color:#ffc040;
  background-color: #555588;
  padding: 5pt;
} */

/* -------------------------------------------------------------------- textarea ------ */

textarea {
  rows: 10;
  cols: 50;
  color:#ffff40;
  background-color: #555588;    font:12pt "Chilanka", Arial, sans-serif;
  max-width: 800px;
}

textarea.scriptinfo {
  rows: 3;
  cols: 20;
  color:#ffc040;
  background-color: #555588;
}

.checkboxThree {
	width: 200px;
	height: 40px;
	background: #444477;
	margin: 10px 10px;

	border-radius: 50px;
	position: relative;
}

/* text on the left of the slider */
.checkboxThree:before {
	content: 'Accept';
	position: absolute;
	top: 12px;
	left: 13px;
	height: 2px;
	color: #80ff80;
	font-size: 14px;
}

/* text on the right of the slider */
.checkboxThree:after {
	content: 'Don\'t Accept';
	position: absolute;
	top: 12px;
	left: 108px;
	height: 2px;
	color: #ff80c0;
	font-size: 14px;
}

.checkboxThree label {
	display: block;
	width: 94px;
	height: 22px;
	border-radius: 50px;

	transition: all .5s ease;
	cursor: pointer;
	position: absolute;
	top: 9px;
	z-index: 1;
	left: 12px;
	background: #ff80c0;
}

/**
 * Create the checkbox event for the label
 */
.checkboxThree input[type=checkbox]:checked + label {
	left: 94px;
	background: #80ff80;
}