

/* -------- howardcunnell mobile  -------------*/

html{height: 100%;}

body
{ 
  background: #f5f5f5; 
  padding: 0px;
  margin:0px;
  font-family:Times New "Times New Roman", Times, serif;
  font-size: 0.95em;}
  
  


p{ font-size: 1.2em;
	padding: 0px 23px 0px 23px;	margin: 0px 0px 0px 0px; 
	font-weight: normal;	
	color: #222; 
	line-height: 1.8em;
	letter-spacing: .1rem;
	}

h1{  
    font-size: 2em;
	padding:12px 0px 0px 23px; 
	margin: 0;   
	color: black; 
	font-weight: 400; 
   font-variant: small-caps;
}

h2{	  font-size: 1.4em;	padding: 0px 6px 0px 23px;	margin: 8px 0px 0px 0px; font-weight: normal;	color: #000;  letter-spacing: 0.1em; line-height:1.7em;
}

h3{	font-size: 1.08m; 
	padding: 12px 23px 0px 23px;	margin: 0px 0px; font-weight: normal;	color: #000;	line-height: 1.8em; }

	

h4{ font-size: 0.6em;
  padding: 10px 27px 0px 23px;   margin:0;  font-weight: normal;
  color:#888;
}

h5{ font-size: 0.88em;
  padding: 0px 0px 0px 12px;   margin: 0px;  font-weight: normal;
  color: #aaa;
}

h6{ font-size: 0.6em;
  padding: 0px 30px 0px 0px;   margin: 0px;  font-weight: normal;  color: #ddd;  padding:2px;}

  


a:link { text-decoration: none;	color: #555;	border-bottom: 1px dashed #222;
	padding: 1px;	
}

a:visited {text-decoration: none;	color: #222;	border-bottom: 1px dotted #222;
	padding: 1px;	background:#fff;
}

a:hover { color: #000;	padding: 1px;	border-bottom: 1px solid #222; background: transparent}

a:active {	text-decoration: none;	color: gold;
	padding: 1px;}	
	
img{ border: 0px; margin: 0px; padding: 0px 30px 0px 0; max-width: 100%; height: auto; border: 0;}

a{outline: none;}


/* unordered list */
ul{  line-height: 2em;
	padding: 6px 24px 0px 24px;
	margin: 0px 0 0 12px; list-style-type:disc;
	font-weight: normal;
	color: #333;}


ul li{ list-style-type: disc;  margin: 0px;   padding: 0px;}

li{ 	 line-height: 2em;
	padding: 6px 24px 0px 24px;
	margin: 0px 0 0 12px; list-style-type:disc;
	font-weight: normal;  
	}
	
	#right li { padding: 0 5%; margin: 0 0 0 0;}

/* margin lefts / margin rights - to centre content */
#main, #foot, #top, nav, #site_content
{ margin-left: auto; 
  margin-right: auto;
}

/* main container -------------------------------- */
#main
{width: 84%;
 height: auto; 
background: transparent;
margin:0px 8% 23px 8%; padding: 0 ;
   /*   box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);*/
}




@media all and (min-width : 1600px) {
#main {width: 60%; margin: 0 20% 23px 20%;}
}


@media all and (max-width : 1600px) {
#main {width: 70%; margin: 0 15% 23px 15%;}
}


@media all and (max-width : 1124px) {
#main {width: 100%; margin: 0 0 23px 0;}
}



/* logo */
#top
{ width: 100%; 
  height: auto; 
  background: black;  
  padding: 64px 0 0px 0;
  }
  
  #toplt {height: auto; padding:0; width: 60%;}
   
  #toprt {width: 40%; height: auto; padding:0;}
  
  @media all and (max-width : 800px) {
	  #toprt, #toplt {width: 100%;} 
  }
  
  
 #top a:link, #top a:visited {	
    border-bottom: 0;
	text-decoration: none; 
	padding: 0; 
	color: #fff;}

#top a:hover {	background-color:transparent;
	color: orangered; border-bottom: 0;}
	
		
#top a:active {	
    text-decoration: none;
	background: black;
	color: #f0f padding: 0;}
	
   

/* navigation menu */

#gall
{ width: 100%;   height: auto; 
    background: transparent  url(grad.jpg) repeat; padding: 0 0 32px 0;}
	

  
#gall img {padding: 0; margin: 0px; width: 100%; height: auto;}  

@media only screen and (max-width: 480px)
{
	#gall
{   height: auto; border-bottom:0px; }
}


.third {width: 28%; height: 760px; float:left; padding: 0 0 0 2%; background: transparent;}

.thirda {width: 30%; height: 760px; float:left; padding: 0 0 0 4%; background: transparent;}

.thirdb {width: 28%; height: 760px; float:left; padding: 0 0 0 8%;}


@media only screen and (max-width: 800px)
{
.third, .thirdb, .thirda {width: 100%; height: auto; }	

.third h3 {padding: 0 5%;}

.third p{padding: 0 15% 0 5%;}

}





/* main content ----------------------------------------- */
#site_content
{ overflow: hidden;
  width: 100%;
  height: auto;
  background: #f5f5f5 url(grad.jpg)repeat;
  padding: 0;}


/* sidebar */
#left
{
	float: left;
	width: 45%; /* 480/960*/
	height: auto;
	padding:0 5% 0 0%;
	background: transparent;
	margin: 0;
	text-align: left;
}

#left img {
  padding:0; 
  margin:0;}

/* page content */
@media all and (max-width : 800px) {

#left {
  width: 90%; 
  padding: 0 5% 5% 0; 
  text-align: left !important;}
	
	#left img {
    width: 70%; 
    margin: 0 15%; 
    height: auto;}
	
}



/* page content */
#right
{ text-align: left;
  float: right;
  width: 45%; 
  height: auto; 
 	padding:0 0 0 5%;
  margin: 0; }

#right img {
  max-width: 100% !important;}


#right h1, #left h1, #gall h1 {

  padding: 32px 0 23px 23px; 
  font-variant:small-caps; 
  letter-spacing: 0.23em;}



@media all and (max-width : 800px) {
 #right {
   width: 100%; 
   padding: 12px 0px 0 0 !important; 
   margin: 0 !important;}	

#right p {
  padding: 2% 23px 0 23px!important;
}

#right h2, #right h3 {
  padding: 2px 23px;}
		}
	

@media all and (max-width : 480px) {
	#left, #right {
    width: 100%; 
    padding: 0;}	

	#left img {
    width: 100%; 
    margin: 0; 
    height: auto;}
	}

#over {
  width: 100%; 
  height: auto; 
  background: transparent;}


#explain {
  width: 100%; 
  height:auto; 
  background: #aaa;}




/* footer */
#foot
{ height: 100px; 
  width: 100%; 
  margin:0;
  background:#111;
  padding: 20px 0 0 0;
  text-align: right;
 
 }


#foot a:link, #foot a:visited {
  text-decoration: none;
	color: white; 
  border: 0; 
  background: transparent !important;
	padding: 0px;} 

#foot a:hover {
  background: transparent;
	color: gold;
	padding: 0px; 
  border-bottom: 0;}
	
	
	#foot h2{ 
    font-size: 1.08em; 
    letter-spacing: .2em;
    padding: 8px 23px 0px 23px; 
    margin: 0px; 
    background: transparent;        
    font-weight: normal;  
    color:#fff; 
    border: 0;}
  
#foot h3 {
  padding: 12px 23px 0 25px; 
  font-size:.7em; 
  color: #bbb;}

@media all and (max-width: 800px) {
#foot {
  height: 100px; 
  padding: 50px 0 0 0;}	

#foot h2 {
  color: #BC4F3E;}
}


#content a, #content a:hover, #footer a, #footer a:hover{text-decoration: none;}

	
/* navigation */
nav {
  margin: 0; 
  background-color:#111; 
  width: 68%; 
  position: fixed; 
  z-index: 23; 
  height: 64px; 
  padding: 0 0 0 2%; 
  }


@media all and (min-width :  1600px) {
nav {width: 58%;}	
}


nav h1 {
	font-size: 2.1rem; 
	padding: 10px 0 0 0;
	font-variant:normal;
	letter-spacing: .1rem;

}

@media all and (max-width :  800px) 
{
nav {width: 100%; height: }	

nav h1 {letter-spacing: .3rem;}
}	


nav a {
display: inline;
color: #fff !important;
text-decoration: none;
}
  
  nav a:hover { color: gold !important; }


/* overlay menu */
/*https://www.w3schools.com/howto/howto_js_curtain_menu.asp */


.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
 background: rgba(223, 224, 224, 0.95) ;
  overflow-x: hidden;
  transition: 1.2s;
 
}


.overlay-content {
  position: relative;
  top: 8%;
  width: 100%;
 padding: 0 10% 0 10%;
  margin-top: 20px;
}

.overlay a {
  padding:12px 0px 12px 16px !important;
  margin: 3% 23% 3% 10%;
  border-radius: 6px;
  border: 0 !important;
  background: #a5a5a5a;
  text-decoration: none;
  font-size: 1.23rem;
  letter-spacing: .32rem;
  color: black !important;
  display: block;
   transition: 0.3s;
  text-align: left;

}

.overlay a:hover, 
.overlay a:focus {
 color: navy !important;
  background:#f8f8f8;
  border: 1px solid black;
}


.overlay a:active
{
  background:bavy;
  color: white;
  opacity: .9;
  border: 1px solid white;
}

.overlay .closebtn {
  position: absolute;
  top: 10px;
  left: 45px;
  font-size: 32px;
  color:orangered;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  
  .overlay .closebtn {
  font-size: 32px;
  top: 15px;
  right: 35px;
  }
}

  
