/*	JoVega.css	*/


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #c4d5dd;
	font: normal 0.8em Verdana, Arial, Helvetica, sans-serif;
	color: #000;
}

img {
	max-width: 100%;
}


p {
	color: #000;
	margin: 0;
}


ul, ol, blockquote{
	margin: 6px 0px 6px 0px;
	padding-left: 30px;
}

ul{
	list-style-type: disc;
}

li {
	margin-top: 6px;
}


h1{
	font-size: 1.8em;
	font-weight: normal;
	color: #4d6f80;
	margin: 0 0 12px 0;
}

h2{
	font-size: 1.5em;
	font-weight: normal;
	color: #7a91b3;
	margin: 18px 0 6px 0;
}

h3{
	font-size: 1em;
	margin: 18px 0 6px 0;
	color: #7a91b3;
	padding-top: 12px;
	background: url(../images/menu_seperator.png) top no-repeat;
}

h4{
	font-size: 1em;
	margin: 0px;
}

pre{
	margin: 0px;
}

a{
	color: #ff9900;
	text-decoration: none;
}

a:hover{
	font-weight: bold;
	text-decoration: underline;
}

a img {
	border: none;
	background: none;
}

select {
	line-height: 1.5;
	padding: 8px;
	border-color: #bdbdbd;
}

.payment-select {
	margin: 10px 40px;
}

option {
	line-height: 1.5;
}



#wrapper {
	position: relative;
	margin: 0;
	padding: 0;
	width: 800px;
	max-width: 100%;
	margin: 0 auto;
	background: #fff;
}

#header {
	position: relative;
	height: auto;
	margin: 0 auto;
}

#creditbar {
	display: none;

	margin: 0 auto;
	height: 16px;
	background: #fff;
}


#content {
	display: flex;
	background: #fff;
	margin: 0 auto;
}


#navcontainer {
	background: #fff;
	width: 205px;
	padding: 8px 0 24px 35px;
	font-size: 1em;
}

.nav-menu {
	padding-left: 0;
	margin-left: 0;
	background: url(../images/menu_seperator.png) bottom no-repeat;
	width: 200px;
}

.nav-menu li {
	list-style: none;
	margin: 0;
	padding: 6px;
	background: url(../images/menu_seperator.png) top no-repeat;
}

.nav-menu li a { 
	text-decoration: none;
}


select {
	max-width: 100%;
}

#maincontent {
	max-width: 100%;
	padding: 20px;
}

#maincontent p {
	margin: 12px;
	line-height: 1.5;
}

@-webkit-keyframes testimonial-fade {
    0% {opacity: 1;}
    13% {opacity: 1;}
	17% {opacity: 0;}
    96% {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes testimonial-fade {
    0% {opacity: 1;}
    13% {opacity: 1;}
	17% {opacity: 0;}
    96% {opacity: 0;}
    100% {opacity: 1;}
}

#rolling_testimonials {
	position: relative;
	margin-top: 30px;
	height: 230px;
}

.testimonials img {
    position: absolute;
    -webkit-animation-name: testimonial-fade;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-duration: 30s;

    animation-name: testimonial-fade;
    animation-iteration-count: infinite;
    animation-duration: 30s;
}

#testimonial_01 {
/*	-webkit-animation-delay: -5s;
	animation-delay: -5s;*/
}

#testimonial_02 {
	-webkit-animation-delay: -5s;
	animation-delay: -5s;
}

#testimonial_03 {
	-webkit-animation-delay: -10s;
	animation-delay: -10s;
}

#testimonial_04 {
	-webkit-animation-delay: -15s;
	animation-delay: -15s;
}

#testimonial_05 {
	-webkit-animation-delay: -20s;
	animation-delay: -20s;
}

#testimonial_06 {
	-webkit-animation-delay: -25s;
	animation-delay: -25s;
}



#footer {
	clear: both;
	width: 100%;
	height: 32px;
	padding-top: 6px;
	margin: 0 auto;
	border-top: 2px solid #4d6f80;
	background-color: #7a91b3;
}

#footer p {
	text-align: center;
	color: #fff;
}


#footer_sitemap {
	position: absolute;
	left: 0px;
	width: 100px;
	text-align: center;
	z-index: 1;
}

#footer_sitemap a {
	font-weight: normal;
	color: #FFF;
}

#footer_sitemap a:hover {
	text-decoration: underline;
}

.text_offscreen {
	position: absolute;
	left: -999em;	
}

.note { 
	font-size: 0.85em;
	color: #ff9900;
}

.testimonial_quote {
	padding-top: 12px;
	margin-top: 12px;

	border: 1px dashed #999;
}

.testimonial_author {
	text-align: right;
	font-style: italic;
	color: #999;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-bottom: 12px;
}


.link_group {
	background: url(../images/menu_seperator.png) top no-repeat;	
	padding: 6px 0;
}

.link_item {
	border: 1px solid #ddd;
	background-color: #f2f2ff;
	margin: 12px 6px;
	padding: 6px;
}

.link_item img {
	float: right;
}


.book_item {
	border: 1px solid #ddd;
	background-color: #f2f2ff;
	margin: 12px 6px;
	padding: 8px;
}

.book_item img {
	float: right;
}


.telephone_no {
	color: #7a91b3;
	font-weight: bold;
	line-height: 24px;
}


.centred {
	width: 100%;
	text-align: center;
}



ul.question_list li {
	display: none;
	margin: 6px 0;	
}

ul.question_list li a {
	font-weight: normal;
	color: #069;
}

ul.question_list li a:hover {
	font-weight: normal;
	color:#09F;
}


.testimonial-card {
    background-color: #C4D5DD;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.2);
}

.testimonial-card:nth-of-type(2) {
    background-color: #CCDDC4;	
}

.testimonial-card:nth-of-type(3) {
    background-color: #DDD9C4;	
}

.testimonial-card .author {
	font-weight: bold;
	color: rgba(0,0,0,0.5);
}

#mobilenavbutton {
	display: none;
}


/* mobile variations */
@media (max-width: 640px) {

	#navcontainer {
		display: none;
	}

	#mobilenavbutton {
		display: block;
		background-color: #4d6f80;
		color: white;
		width: 2.5em;
		height: 2.5em;
		border-radius: 5px;
		border: 2px solid white;
		position: absolute;
		right: 16px;
		top: 16px;
	}

	dialog.modalnav {
		width: 80%;
		height: 90dvh;
		margin: 0.5em auto;
		border: 2px solid #4d6f80;
		padding: 2em;
	}

	dialog::backdrop {
		backdrop-filter: blur(3px);
		background-color: #7a91b385;
	}

	.modal-close {
		margin-top: 2em;
		padding: 0.5em 1em;
	}

}
