/*
Title:    Reset default browser styles
Author:   dan@simplebits.com, based on Eric Meyer's reset CSS: http://meyerweb.com/eric/tools/css/reset
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u,
i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	border: 0;
	outline: 0;
	background: transparent;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

:focus {
	outline: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*    END OF RESET
/*
/**/

/*
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
/*
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
*/

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	margin: 40 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the .container selector */
	color: #000099;
}

body, button, input, select, textarea {
	font-family: Verdana, Geneva, sans-serif;
	color: #000099;
}

/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button, table input { *overflow: auto; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"], [role="button"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */
html {
	height: 100%;
}
body {
	font-size: 100%;
	height: 100%;
/*	padding-top: 1.5em; 
	padding-bottom: 1.5em; 
/*	-moz-box-sizing: border-box;
	box-sizing: border-box; */
	background-color: #FAFAFA;
}
.container {
	width: 95%;
	max-width: 1160px;
	min-height: 100%;
	height: auto !important;
	height: 100%; 
	border: 1px solid #FFCCCC;
	text-align: left; /* this overrides the text-align: center on the body element. */
	margin-right: auto;
	margin-left: auto;
	margin-top: 1em; 
	margin-bottom: 1em; 
/*	box-sizing: border-box;*/
}
.maincontent {
/*	padding-right: 2.3em; */
	padding-bottom: 1.33em;
	padding-left: 1em;
	padding-right: 1em;
}
header {
	text-align: center;
	position: relative;
	margin-top: 0.625em;
	margin-bottom: 0.625em;
}
header .logo {
/*	height: 7.8125em;	*/
	margin-right: auto;
	margin-left: 5%;
	padding-right: 5%;
	padding-left: auto;
}
header .logo img {
	max-width: 100%;
}
.divline {
	height: 0.07em;
	width: 100%;
	background-color: #FFCCCC;
	margin-top: 0;
	margin-bottom: 0.33em;
	overflow: hidden;
}
/*
/		Navigation
/*/
nav {
	font-weight: bold;
	width: 100%;
	text-align: center;
	margin-top: 0.5em;
	margin-bottom: 1em;
}
nav > ul {
	width: 90%;
	padding-left: 5%;
	padding-right: 5%;  
}
nav ul > li {
	position: relative;
}
nav a {
	background-color: #FFCCCC;
/*	width: 90%;  */
/*	width: 100%; */
	height: 2.2em;
/*	margin-left: 5%;
	margin-right: 5%;  */
	display: block;
	text-decoration: none;
	margin-bottom: 0.75em;
	line-height: 2.2em;
	vertical-align: middle;
	outline: none;
}
nav a:link, nav a:visited {
	color: #36F;
	outline: none;
}
nav a:hover {
	background-color: #FFFFCC;
}

/*--- DROPDOWN ---*/
nav ul ul {
    background-color: #FAFAFA; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background: rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
 /*   position: absolute;  */
	position: relative;
 /*   left: -9999px; /* Hide off-screen when not needed (this is more accessible than display: none;) */
/*	left: 0; */
/*  z-index: 5; */
	display: none;
}
/*nav ul li:hover ul { /* Display the dropdown on hover */
/*    left: 0; /* Bring back on-screen when needed */
/*	position: relative; 
}*/
nav ul li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
}
nav li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration: none;
}
nav li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
}

.slide-trigger {
	text-align: left;
	color: #36F;
	font-weight: bold;
	background-color: #FFCCCC;
	line-height: 2.2em;
	vertical-align: middle;
  	cursor: pointer;
	margin-left: 5%;
	margin-right: 5%;
	width: 90%; 
	height: 2.2em;
	margin-top: 0;
	margin-bottom: 0.75em;
	display: block;
}
.slide-trigger span.nav_text {
  margin-left: 30px;
}
.slide-trigger span.nav_icon {
  background-image: url("/images/gen/menu.png");
 /* background-position: 0 -14px; */
  display: block;
  float: right;
  margin-top: 5px;
  margin-right: 15px;
  height: 24px;
  width: 24px;
}
.navigation {
	display: none;	
} 
.no-js .slide-trigger {
	display: none;	
}
.no-js .navigation {
	display: block;
} 

a.back-to-top {
	display: none;
	width: 60px;
	height: 60px;
	text-indent: -9999px;
	position: fixed;
	z-index: 999;
	right: 20px;
	bottom: 20px;
	background: #FFCCCC url("/images/gen/up-arrow.png") no-repeat center 43%;
	border-radius: 30px;
	outline: 0;
}

h1 {
	font-size: 168%;
	color: #993300;
	font-weight: bolder;
	text-align: center;
	margin-bottom: 0.33em;
}
h2 {
	font-weight: bolder;
	color: #993300;
	font-size: 115%;
	margin-bottom: 0.2em;
	margin-top: 0.6em;
	font-style: normal;
}
p {
/*	font-size: 87.5%;  */
/*	font-size: 90%;    */
	font-size: 98%;
	color: #333;
	margin-bottom: 0.8em;
	line-height: 1.65em;
	word-spacing: 0.1em;
}
.aline {
	background-color: #FFCCCC;
	height: 1px;
	width: 90%;
	margin: 0.625em;
}
.hrule {
	background-color: #FFCCCC;
	width: 75%;
	height: 2px;
	margin: 1em auto;
}
.floatright {
	float: none;
}
.box25 {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-bottom: 0.5em;
}
.boxframe {
	border: 1px solid #999;
	padding: 0.5em;
}
.box25 img {
	width: 100%;
	height: auto;
}
.box60centre {
	width: 90%;
	margin-left: auto;
	margin-right: auto;	
}
.box60centre img {
	max-width: 100%;
	height: auto;
}
.box75centre {
	width: 90%;
	margin-left: auto;
	margin-right: auto;	
}
.box90centre {
	width: 90%;
	margin-left: auto;
	margin-right: auto;	
}
.sidebar {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
/*	background-color: #9FC; */
}
.ccsidebox1 {
	border: 0.2em solid #FCC;
	border-radius: 0.4em;
	color: #900;
	padding: 0.4em 0.5em 0;
	margin-top: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
}

.storybox {
	border: 0.2em solid #FCC;
	border-radius: 0.4em;
	padding: 0.4em 0.5em 0;
	margin-top: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
}
.storybox p {
	color: indigo;
}
.trans_link_side {
	width: 100%;
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
}
.trans_link div div {
	margin-left: auto;
	margin-left: right;
	text-align: center;
}
/*
#google_translate_element {
	left: 20px;
	position: absolute;
	top: 20px;
}
*/
/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}
/*
/
/   INDEX (CAUTION) Page
/*/
.welcomebox {
	margin-top: 0em;
	margin-right: auto;
	margin-bottom: 1.25em;
	margin-left: auto;
	border: 0.18em solid #FF99FF;
	text-align: center;
	width: 40em;
	max-width: 90%;
	padding-top: 1em;
	padding-right: 0.625em;
	padding-bottom: 1.25em;
	padding-left: 0.625em;
}
.buttons {
	font-size: 225%;
	text-align: center;
	font-weight: bold;
	margin-right: auto;
	margin-left: auto;
}
.buttons a {
	width: 50%; 
	float: left;
	text-align: center;
}
.buttons a.enter {
	color: green;
	text-decoration: none;
}
.buttons a.leave {
	color: red;
	text-decoration: none;
}
.buttons a:hover {
	text-decoration: underline;
}
.firstline {
	font-size: 230%;
	font-weight: bold;
	line-height: 1.2em;
	margin-bottom: 0;
}
.warning {
	font-size: 100%;
	margin-bottom: 1.25em;
}
.sitename {
	font-size: 250%;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	color: #F9F;
	line-height: 1.1em;
}
.cc_preamble {
	font-style: italic;
	margin-left: 4em;
	margin-right: 4em;
	text-align: center;
}
.cc_preamble p {
	font-size: 100%;
	color: #993300;
}
/*
/
/   HOME Page
/*/
.christmas {
	margin-top: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
	text-align: center;
}
.cc_new_year {
	border: 0.2em solid #FCC;
	border-radius: 0.4em;
	color: #993300;
	padding: 0.4em 0.5em 0;
	margin-top: 1em;
	margin-right: 1em;
	margin-bottom: 1em;
}
.cc_new_year h2 {
	text-align: center;
}
.cc_new_year p {
	color: #993300;
}
#cuckdef {
	font-size: 85%;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	padding-left: 0.5em;
	margin-top: 0.75em;
	margin-right: auto;
	margin-bottom: 0.625em;
	margin-left: auto;
	text-align: center;
	background-color: #FFC;
	width: 90%;
}
#cuckdef span.tgreen {
	color: #0C0;
}
#cuckdef span.tblack {
	color: black;
}
#cuckdef span.tcyan {
	color: cyan;
}
#cuckdef span.ital {
	font-style: italic;
}
#cuckdef p {
	text-align: left;
	margin-bottom: 0.33px;
}
#cuckdef p.line1 {
	font-weight: bolder;
	font-size: 105%;
}
#cuckdef p.line2 {
	color: black;
	margin-left: 1em;
}
#cuckdef p.line3 {
	color: black;
	margin-left: 0.5em;
}
#cuckdef p.line4 {
	color: #52A976;
	margin-left: 0.35em;
}
#cuckdef p.line9 {
	font-weight: bolder;
	text-align: right;
	margin-right: 4em;
}
#cuckdef img {
	border: 1px solid #FFCCCC;
}
/*
/
/   BLOG Page
/*/
.blog {
	margin-bottom: 1em;
}
.blog h2 {
	font-size: 100%;
	font-weight: bolder;
	color: #993300;
	background-color: #ECE9D8;
	padding-left: 0.15em;
}
.blog p.blogdate {
	font-size: 80%;
	color: #666;
}
.blogimage {
	border: 1px dotted black;
	padding: 8px;
}
.blogimage a {
	outline: 0;
}
.blog_gerald1 {
	padding: 1em;
	text-align: center;
}

.blog_gerald1 img {
	width: 100%;
	height: auto;	
}
/*
/
/   STORIES Page
/*/
.storyindex div {
	border: 1px solid #FCC;
	margin-bottom: 1em;
}
.storyindex div a {
	text-decoration: none;
	display: block;
	padding: 0.5em;
}
.storyindex a:link, .storyindex a:visited {
	color: inherit;
}

.storyindex a:hover {
	background-color: #CCC;
}


.storybox {
	border-radius: 1.5em;
	border-top-right-radius: 0;
	color: #900;
	margin-top: 1em;
	padding: 0.4em 0.5em 0;
	margin-bottom: 1em;
	background-color: #FCC;
	opacity: 0.8;
	text-align: center;
}

.sidebar .cc_story2_ad1 {
	margin-top: 5em;
	text-align: center;
}
.sidebar .cc_story2_ad1 a img:hover {
	opacity: 0.6;
}

div.cclink {
	width: 90%;
	margin-left: 10%;
	border: 1px solid #FCC;
	margin-bottom: 1em;
}
div.cclink a {
	text-decoration: none;
	display: block;
	padding: 0.25em;
	transition: background 1s linear;
	-webkit-transition: background 1s linear;
}
div.cclink a:hover {
	background-color: #CCCCCC;
	color: #CCC;
}
div.cclink a .linkname {
	color: #933;
	font-weight: bold;
}
div.cclink a .linkinfo {
	margin-left: 2em;
	margin-top: 0.2em;
}
div.cclink a p {
/*	color: #000099; */
}
div.cclink a p.ccquote {
	color: #F03;
	font-size: 80%;
}
#beth2 img {
	margin-top: 4em;
	max-width: 100%;
}
/*
/		Contact Form
/ */
.quform-outer {
	border: 2px solid #FCC;
	border-radius: 0.4em;
	padding: 12px;
}
.quform-outer h3 {
	display: none;
}
.quform-submit button {
	font-weight: bold;
	background-color: #FCC;
}
/*
/
/   BOOKS Page
/*/
p.booktitle {
	color: #900;
	font-size: 120%;
	text-align: center;
	margin-bottom: 0;
}
p.booksub {
	color: #900;
	font-size: 80%;
	text-align: center;
	margin: 0;
}

p.bookauthor {
	color: #900;
	margin-top: 0.75em;
}
p.bookgenre {
	color: #900;
	margin-top: 1em;
}
p.bookprice {
	color: #900;
	margin-top: 0.1em;
}
p.bookavail {
	color: #900;
	margin-top: 0.1em;
}

p.bookreviewer {
	color: #900;
	margin-top: 1em;
}
.bookcover {
	width: 20%;
	float: left;
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-right: 0.75em;	
}
.bookcover img {
	width: 100%;
	height: auto;	
}
span.bookname {
	color: #900;
}
.bookholder a:link, .bookholder a:visited {
	color: #900;
	outline: none;
}
.bookholder a:hover {
	color: #063;
}
/*
/	Gallery Page
/*/
div.cuckholder p {
	margin-top: 0;
	margin-bottom: 0;
}
p.cuckname {
	color: #900;
	font-size: 120%;
	margin-top: 0;
	margin-bottom: 0;
}
p.cuckage {
	color: #900;
	margin-top: 0.2em;
}

p.cuckstatus {
	color: #900;
	margin-top: 0.2em;
}
p.cuckallow {
	color: #900;
	margin-top: 0.2em;
}

p.cuckendow {
	color: #900;
	margin-top: 0.2em;
}
p.cuckdesc {
	margin-bottom: 0.3em;
}
.cuckphoto {
	width: 25%;
	float: left;
	margin-top: 0.25em;
	margin-bottom: 0.5em;
	margin-right: 0.75em;
	border: 1px dotted black;
	padding: 8px;
}
.cuckphoto a {
	outline: none;
}
.cuckphoto img {
	width: 100%;
	height: auto;	
}
.cuckphoto img:hover {
	opacity: 0.6;
}


/*
 * Media queries for responsive design github.com/h5bp/mobile-boilerplate/wiki/The-Style
 */
@media only screen and (max-width: 480px) {
  /* 480 =================================================== */
#buttons div {
	width: 100%; 
	float: none;
	margin-bottom: 0.75em;
}
/*
nav#topnav {
	display: none;
}

div#mobmenu {
	color: #000000;
	font-weight: bold;
	width: 100%;
	text-align: center;
	margin-top: 0.5em;
	margin-bottom: 1em;
}
div#mobmenu a {
	background-color: #FFCCCC;
	width: 90%;
	height: 2.2em;
	margin-left: 5%;
	margin-right: 5%;
	display: block;
	text-decoration: none;
	margin-bottom: 0.75em;
	line-height: 2.2em;
	vertical-align: middle;
}
div#mobmenu a:link, div#mobmenu a:visited {
	color: #36F;
}
nav#mobnav a:hover {
	background-color: #FFFFCC;
}
*/
.maincontent {
	margin-left: 0;
	margin-right: 0;
}

#welcomebox {
	width: 90%;
}
#buttons {
	font-size: 275%;
}
#buttons li {
	float: none;
	margin-top: 0.25em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
}
#buttons li.enter {
	margin-left: 0;
	margin-right: 0;
}

}

@media only screen and (min-width: 480px) {
  /* 480 =================================================== */
}

/* Styles for desktop and large screen ----------- */

/*styles for 992px and up!*/
@media only screen and (min-width: 992px) {
.welcomebox {
	margin-top: 5.3em;
}
.container {
	width: 95%;
}
.pagebody {
	display: flex;
}
.maincontent {
	padding-left: 2em;
	padding-right: 2em;
	width: 75%;
}
div.sidebar {
	width: 25%;
}
.floatright {
	float: right;
}
.box25 {
	width: 25%;
	margin: 0.5em;
}
.box25img img {
}

.box60centre {
	width: 60%;
	margin-left: auto;
	margin-right: auto;	
}
.box75centre {
	width: 75%;
	margin-left: auto;
	margin-right: auto;	
}

.slide-trigger {
	display: none;	
}
.navigation {
	display: block;	
}

nav {
	color: #000000;
	background-color: #FFCCCC;
	font-weight: bold;
	width: auto;
	height: auto;
	text-align: center;
	margin-left: 0.5em;
	margin-right: 0.5em;
	margin-bottom: 0.75em;
	padding: 0.25em 0 0.5em;
	padding: 0;
}
nav > ul {
	width: auto;
	padding: 0;
}
nav li {
 	float: left;
   	position: relative;
}
nav a {
	font-size: 110%;
	display: block;
	height: 1.8em;
	width: auto;
	margin-left: 0;
	margin-top: 0;
	margin-right: 0.75em;
	margin-bottom: 0em;
	padding-left: 0.4em;
	padding-right: 0.3em;
	text-decoration: none;
	line-height: 1.8em;
	vertical-align: middle;
}
nav a:link, nav a:visited {
	color: #36F;
}
nav a:hover {
	color: #FFFFCC;
	background-color: #FFCCCC;
}

/*--- DROPDOWN ---*/
nav ul ul {
	width: auto;
    background-color: #FAFAFA; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background: rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    position: absolute;
    left: -9999px; /* Hide off-screen when not needed (this is more accessible than display: none;) */
    z-index: 5;
}
nav ul ul li {
	width: auto;
    padding-top: 1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float: none;
}
nav ul ul a {
	float: none;
	text-align: left;
    white-space: nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
nav ul li:hover ul { /* Display the dropdown on hover */
	position: absolute;
    left: 0; /* Bring back on-screen when needed */
}
nav ul li:hover a { /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
}
nav li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration: none;
}
nav li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
}
	
div.cclink {
	width: 70%;
}

}

@media only screen and (min-width: 1160px) {
  /* Styles */
.container {
/*	width: 1100px; */
}
} /*/mediaquery*/

/* iPhone 4, Opera Mobile 11 and other high pixel ratio devices ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
  /* Styles */
}


/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* prevent callout */
.nocallout {-webkit-touch-callout: none;}

/* A hack for HTML5 contenteditable attribute on mobile */
textarea[contenteditable] {-webkit-appearance: none;}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if they have been set as display: none */
.gifhidden {position: absolute; left: -100%;}

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
