﻿/*Layout Items and Classes --------------------------------------------------*/
body
{
    font-family: Tahoma, Helvetica, sans-serif;
    font-size: 10pt;
    color: #585858;
    text-align: left;
}

table {font-size: 10pt; }

td.center
{
    text-align: center;
}

header
{
    position: relative;
    width: 100%;
    text-align: left;
    float: left;
    clear: right;
}

nav
{
    width: 100%;
    z-index: 100;
}

section
{
    background-color: #FFFFFF;
    /*    background-color: #000000;*/
    padding: 5px;
    width: 640px;
    float: left;
    overflow: hidden;
}

.FullWidth  /*Class for full width section in Gallery Pages.*/
{
    width: 100%;
    padding: 0px;
    background-color: #000000;
    }

.WidthFull  /*Classes for full width section in Gallery Order page.*/
{
    width: 100%;
    padding: 0px;
}

.blackdiv 
{
    background-color: #000000;
    text-align: center; 
    text-align:-moz-center; 
    text-align:-webkit-center
}

aside
{
    background: rgba(255,255,255,0);
    width: 300px;
    float: right;
    padding: 5px;
    overflow: hidden;
}

footer
{
    background: rgba(255,255,255,0);
    color: #000000;
    text-align: left;
    float: left;
    width: 100%;
}

/*Text decoration -------------------------------------------------------------*/
h1,h2 
{
	font-family: "Arial Black", Helvetica, sans-serif;
}

h1
{
    font-size: 350%;
    font-weight: bold;
    color: #463685;
    letter-spacing: 0.2em;
    text-align: left;
    margin-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-style: normal;
}

h2
{
    padding: 0px;
    font-size: 150%;
    font-weight: bold;
    color: #463685;
    letter-spacing: 0.4em;
    text-align: left; /*line-height: 0px;*/
}

h3,h4 
{
	font-family: Arial, Helvetica, sans-serif;
}

h3
{
    padding: 0px;
    font-size: 150%;
    font-weight: bold;
    color: #003399;
    letter-spacing: 0.4em;
    text-align: center;
}

h4
{
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    display: inline;
    color: #463685;
}

h5
{
    text-align: center;
    font-size: 120%;
    font-weight: bold;
    color: #003399;
}

em
{
    color: Red;
    font-size: 150%;
}

.onblack
{
    color: #9A8CD0;
}

.onblack1
{
    margin: 5px;
    color: #BBBBBB;
    /*font-weight: normal;*/
}

/* Footer styles --------------------------------------------------------- */
.credits
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70%;
    font-style: italic;
    text-transform: lowercase;
    letter-spacing: 0.3em;
    text-align: right;
    width: 300px;
    float: right;
    display: block;
}

.creditsF
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70%;
    font-style: italic;
    text-transform: lowercase;
    letter-spacing: 0.3em;
    text-align: left;
    width: 200px;
    float: left;
    display: inline-block;
    margin-top: 5px;
    color: #000000;
}

.creditsF img
{
    vertical-align: middle;
    width: 40px;
    height: 40px;
}


/*Links ---------------------------------------------------------------------*/
/*General Links, Members sites and email*/
a
{
    color: #0000FF;
    text-decoration: underline;
}

a:visited
{
    text-decoration: none;
    color: #0000FF;
}

a:hover 
{
	text-decoration: underline overline;
	color: #6F9DBE;
}

a:active 
{
	text-decoration: none;
}

linkblack
{
    color: #FFFFFF;
}

/*Header links - Two kinds of header so use in line styles -------------------------------------*/


/*Footer Links -------------------------------------------------------*/
footer a
{
    text-decoration: underline;
    color: #000000;
}

footer a:visited
{
    text-decoration: none;
    color: #000000;
}

footer a:hover 
{
	text-decoration: underline overline;
    color: #000000;
}

footer a:active 
{
	text-decoration: none;
    color: #000000;
}

/*Navigation links - These are in an unordered list -------------------------------------*/
ul
{
    padding: 0px;
    /*overflow: hidden;*/
}

nav ul li
{
    width: 20%;
    list-style: none;
    position: relative;
    float: left;
    display: inline;
}

nav ul li a
{
    margin: 2px;
    text-decoration: none; /*font-weight: bold;*/
    display: block;
    width: 100%;
    text-align: center;
    background-color: #463685;
    color: #FFFFFF;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: x-large;
}

nav ul li ul {
  position: absolute;
  left: 0px;
  top: 30px;
  display: none;
}

nav ul li:hover ul 
{
    display: block; 
    height:auto; 
    width:100%;}

nav ul li ul li
{
    display: list-item;
    width: 100%;
    clear:both;
    z-index: 100;
}

/*nav ul li ul li a {display:block;} 

nav ul li ul li:hover {background: #666;}*/


nav ul li a:visited
{
    text-decoration: none;
    color: #FFFFFF;
}

nav ul li a:hover
{
    background-color: #756C99;
}

nav ul li a:active 
{
	text-decoration: none;
    background-color: #756C99;
}

/*Slider on Index Page ----------------------------------------------*/ 
.slider
{
    width: 100%;
    height: 350px;
    position: relative;
}

.effect
{
    transition: all ease-in-out 2.0s;
}

figure a
{
    width: 100%;
    max-height: 400px;
    position: absolute;
    overflow: hidden;
    top: 0px;
    left: 0;
    opacity: 0;
}

figure a img
{
    max-width: 100%;
    max-height: 400px;
    height: auto;
    width: auto;
    border-style: none;
    padding: 0px;
    position: relative;
    left: 50%;
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translateX(-50%);
}

.figDouble
{
    max-width: 100%;
    max-height: 400px;
    height: auto;
    width: auto;
    border-style: none;
    padding: 10px;
    display: inline-block;
}

.figSmall
{
    margin: 5px;
    width: 33%;
    height: auto;
    padding: 5px;
    float: right;
}

.figcap
{
    font-size: x-small;
    font-style: italic;
    text-align: center;
}

.active { opacity: 1; }

/*Inline Block classes ----------------------------------------------------------*/
.floating-box2
{
    display: inline-block;
    width: 440px;
    height: auto;
    margin: 5px 5px 10px 5px;
    vertical-align: top;
}

.floating-box3
{
    display: inline-block;
    width: 150px;
    height: auto;
    margin: 5px 5px 10px 5px;
    vertical-align: top;
} 

.floating-box-img
{
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    float: right;
    z-index: 100;
}

/* Gallery page image styles ------------------------------------------------------*/
.example-image-link2
{
    margin: 10px;
    width: 250px;
    height: 250px;
    display: inline-block;
    text-align: center;
}

.example-image
{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
.example-image-link2:focus {
outline: none;
}
.example-caption
{
    /*background-color: #544D6F;*/
    color: #FFFFFF;
}

/* gallery detail page --------------------*/
.gallery-image-fig
{
    padding: 5px;
    max-width: 600px;
    height: auto;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70%;
    font-style: italic;
    letter-spacing: 0.3em;
    text-decoration: none;
    text-align: center;
    margin: 5px;
    vertical-align: middle; /*overflow: hidden;*/
    -webkit-transition: all 0.7s ease;
    -moz-transition: all 1s ease;
    position: relative;
    background-color: #FFFFFF;
}

/*Contact Page and other form Styles -------------------------------------------------------------*/
label
{
    display: block;
    margin-top: 20px;
    letter-spacing: 2px;
    font-weight: bold;
}

/* Centre the form within the page */
form {
    margin:0 auto;
    max-width:459px;
    width: 100%;
}

form.fullform
{
    max-width:100%;
}

/* Style the text boxes */
input, select, option {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;  
}

input, textarea, select
{
    max-width:439px;
    width: 100%;
    height: 30px;
    background:#efefef;
    border:1px solid #dedede;
    padding:5px;
    margin-top:10px;
    font-size:1em;
    font-family: inherit;
    font-size: inherit;
    color:#3a3a3a;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

.multi
{
    height: 100px;
}

.radio
{
    width: auto;
    height: auto;
}

.checkbox
{
    width: auto;
    height: auto;
}

textarea
{
    height: 150px;
    background: #efefef;
}

.widetext
{
    height: 400px;
    background: #efefef;
    max-width: 100%;
    width: 100%;
}

input:focus, textarea:focus select:focus
{
    border: 1px solid #97d6eb;
}

.submit
{
    border-style: solid;
    border-width: thin;
    border-color: inherit;
    width: 250px;
    height: 38px;
    background: none;
    margin-top: 20px;
    cursor: pointer;
    background-color: #DFDFDF;
}

#submit:hover
{
	opacity: 0.8;
}

/* additional submit styles */
.submit2
{
    padding: 0px 5px 0px 5px;
    margin: 20px;
    border-style: none;
    width: 160px;
    height: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #FFFFFF;
    font-size: medium;
    background-color: #463685;
}

.submit2:hover 
{
	opacity: 0.8;
}

/* Radio button styles ----------------------------------------------------------------------------*/

.tlabel {
  display: inline-block;
  position: relative;
  padding-left: 28px;
  margin-right: 12px;
  font-size: 16px;
  line-height: 22px;
  font-weight: bold;
}

.tlabel2 {
  display: inline-block;
  position: relative;
  padding-left: 28px;
  margin-right: 12px;
  /*font-size: 16px;*/
  line-height: 22px;
  font-weight: bold;
}

input[type=radio],
input[type=checkbox] {
  display: none;
}

.radio .tlabel:before 
{
  cursor: pointer;
  font-weight: normal;
  content: url(../images/unselbutt.png);
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  position: absolute;
  left: 0;
  bottom: 1px;
  /*background-color: #1ABFE5;
  box-shadow: inset 0px 2px 3px 0px #10758C;
  border-radius: 10px;*/
}

input[type=radio]:checked + .tlabel:before {
  /*content: '\2022';*/
  content: url(../images/selbutt.png);
  /*color: #f3f3f3;
  font-size: 32px;
  text-align: center;
  line-height: 20px;*/
}

/*.checkbox .tlabel:before */
input[type=checkbox] + .tlabel2:before
{
  cursor: pointer;
  font-weight: normal;
  content: url(../images/unselbutt.png);
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  position: absolute;
  left: 0;
  bottom: 1px;
}

input[type=checkbox]:checked + .tlabel2:before {
  content: url(../images/selbutt.png);
}

/* Error page styles ----------------------------------------------------------------------------*/
.error
{
    color: #FF0000;
    font-style: italic;
}




/*Response to screen size  ------------------------------------------------------------------------*/
@media screen and (max-width: 600px) 
{
    header {width: 100%;}
    nav
    {
        width: 100%;
        text-align: left;
    }
    nav ul li
    {
        display: list-item;
        width: 100%;
        /*float: none;*/
    }
    nav ul li ul
    {
        /*top: 0px;*/
        left: 150px;
        z-index: 1000;
    }
    nav ul li a
    {
        text-align: left;
    }

    section {width: 100%;}
    .slider {height: 600px;}
    .floating-box2 {width: 100%;}
    .floating-box3 {width: 100%;}
    aside {width: 100%;}
    .credits {width: 100%;}
    .creditsF {width: 100%;}
}
