/* bradleyrichards.co.uk */

html{height: 100%;}

body{
font-family: sans-serif;
  background:  #babab0;
  padding:0px;  margin: 0px;  
  font-size: 1em;
   scroll-behavior: smooth;
     overflow-x: hidden;   overflow-y: scroll;
  }

p{ font-size: .9rem;
  padding: 6px 12px 0px 6px;  
  margin: 0px;               
  line-height: 1.6rem;
  max-width: 65rem;
  font-weight: normal; 
  color: #222;}

h1
{ font-family: Roboto, sans-serif;
  font-size: 2em;
  padding: 4px 0px 0px 6px; 
  margin: 0px;               
  font-weight: 900;
  color: #222;}
  
   @media all and (max-width : 800px) {
	   h1{font-size: 1.4em;}
   }
  

h2{ font-size: 1em;
  padding: 12px 0px 0px 6px; 
  margin: 0px; 
    font-weight: 600;  
  color:#222;}

h3{ font-size: .9em;
line-height: 1.8em;
  padding: 6px 12px 0px 6px; 
  margin: 0px;              
  font-weight: normal; 
  color: #222;}

h4{ font-size: .85em;
  padding: 15px 12px 6% 12px;  
  margin: 0px; color: #222; 
  line-height: 1.6rem;
  font-weight: normal;}
  
  h5{ font-size: .8em;
  padding: 6px 12px 0px 6px;   
  margin: 0px;    
  font-weight: normal; 
  color: #222; 
}


.grey { color: #aaa;}

.title{ 
font-size:1.08em; 
margin: 0 0px 0 1%;
}

.one { padding: 0 0 0 167px;}

.fwd {font-size: 2rem; 
background: #eee;
border-radius: 4px;
margin: 0 0 0 8px;

}

.sml {
	font-size: 1.08em; 
    padding: 12px 0 0 0; 
    color: #555;}


a:link {border-bottom: 1px dotted #888;
	text-decoration: none;
	color: #777; padding:  3px;
}

a:visited {
	text-decoration: none;
	border-bottom: 0px #ccc;
	color: #999;
	padding: 3px;
}

a:hover {
	color: white;
	background: #6c6c6c;
	border-radius: 4px;
	border-bottom: 0;

}
a:active {
	text-decoration: none;
	color: yellow;
	background: black;
	opacity: .7;
	border-radius: 3px;
}


img
{ border: 0px; margin: 0px;  padding: 0px; 
max-width: 100%; height: auto;
}


a{outline: none;}


/* unordered list */
ul
{ margin: 0px;
  padding: 0px;
}

ul li
{ list-style-type: circle;
  margin: 0px; 
  padding: 0px;
}



/* margin lefts / margin rights - to centre content */
#main, #foot, #top, #nav, #site_content, #one, #two
{ margin-left: auto;   margin-right: auto;
}



/* main container */
#main
{width: 80%;
 height: auto;
border:0;
margin: 0 10%;
}


 @media all and (max-width : 800px) {
#main
{width: 96%;
margin: 0 2%;
}	

 }


 @media all and (min-width : 2000px) {
#main
{width: 60%;
margin: 0 20% 0 20%;
}	 	 
 }


/*top for nav */
#top
{ width: 80%;
  height: 44px;
  padding: 0;
  opacity: .9;
position: fixed;
background: #BABAB0;


}

 @media all and (min-width : 2000px) {
#top
{width: 60%;
margin: 0 ;
 
}	 	 
 }
 
 
  @media all and (max-width : 800px) {
#top
{width: 92%;
margin: 0 0%;
}	

 }
 
 
#top h1 {text-align: right;
color: #565652 !important;

}

#top h2
{padding: 12px 0px 0px 6px; 
font-size: 1rem;
line-height:2rem;
}

#top p{ font-size: .74em;
  padding: 	0px 12px 12px 6px;   margin: 0px;               
  font-weight: normal; color: #888;}

#top a {
	border-bottom:4px dotted #ddd; 
    color: #565652;}

#top a:hover {color: white;}

/* navigation menu */
#nav
{ height: 0px;
  width: 100%;} 


/* main content */
#site_content
{ overflow: hidden;
  padding: 0px ;
  width: 100%;
  height: auto;
}


#logo 
{ width: 40%; 
height: 130px;
padding: 60px 0 0 0;
background: transparent;
float: left;}


#logo a {color: #3a1a06;}

#logo a:hover {color: black; background: transparent}


#logo h1 {
	font-size: 3.2rem; 
	letter-spacing: .1rem;
    line-height: 2.7rem;}

#logort 
{ width: 60%; 
background: transparent;
padding: 60px 0 0 0;
height: 130px;
float: right;}



#mobile { display:block;
background:transparent;
height: auto;
width: 95%;
padding: 0 0 70px 5%;
}



/* page content */

#box {
	width: 100%;
	height: auto;
	float: left;
	
	}


#con {
width: 100%;
height: auto;
	float: left;

}


#con img{ 
margin: 0;  
padding: 0; 
max-width: 100%;
max-height: 85vh;
 display:block;
}



#one{ 
float: left;  
width: 100%;  
height: auto;  
padding:6px 0 80px 0px;
margin:0px 0 0 0;
text-align: left;

}

#one h2 {
	padding: 2px 0px 0px 6px;
	font-size: 1.2rem;
		color: #3A1A06;
	font-weight: 600;
}



#one h4 {
	    padding: 4px 0 0 10px;
		line-height: 1.2rem;
		letter-spacing: .012rem;
}





/* layout of site */

#zero{ 
float: left;  
width: 100%;  
height: auto;  
padding:6px 0 ;
margin: 0;
}


#two
{  float: left;
  width: 100%;
  height: auto;
  padding:0 0 24px 6px;
	margin: 0px 0 0 0; 
}

#three
{  float: left;
  width: 100%;
  height: auto;
  padding:0 0 0 6px;
	margin: 0 ;
}


#four
{  float: left;
  width: 100%;
  height: auto;
  padding:0 0 0 6px;
	margin: 0;
}

/* for the boxes on the home page */


/* boxes 

.box {
  background: transparent;
  float: left;
  height: auto;
  margin:  0.25%;
  border-radius: 3px;
}


@media only screen and (min-width: 1801px) {
  .box {
    padding: 0 1%;
    width: 30%;
  }
 }



@media only screen and (max-width: 1800px) {
  .box {
   margin: 0 2%;
    width: 46%;}
}

@media only screen and (max-width: 800px) {
  .box {
    width: 99.6%; }
}

.box:hover {
  opacity: .8;  
}
 

#con {background: transparent;}

#con a {
  border: 0px !important; 
  padding: 0 !important;}

*/

/* footer */
#foot
{ font-size: 0.8em;
 height: auto;
 width: 80%;
 margin: 0;
 padding: 12px 5% 0 15%;  
 /*background: #33251c;*/
  background: #473327;
 text-align: right;
}

#foot h2 {font-size: 1.25rem;
font-weight: 500;
line-height: 2rem;
padding: 3%;
letter-spacing: 0.05rem;
}

#foot h4 {letter-spacing: .23rem;
padding: 0 3%;
}

.sml {color: lightblue !important;}

#foot a {border-bottom: 0; color:#eee; padding: 0 0 6px 0;}

#foot a:hover {
	
    color: orange;
	background: transparent;
}

#content a, 
#content a:hover, 
#footer a, 
#footer a:hover{
	text-decoration: none;}





/* overlay menu */
/* https://www.w3schools.com/howto/howto_js_curtain_menu.asp */

.overlay {
  height: 100%;
  opacity:1;
  width: 0;
  position: fixed;
  z-index: 10000 !important;
  top: 0;
  left: 0;
  background: rgba(229,229,227, 1);
  overflow-x: hidden;
  transition: 0.8s;
}

.overlay-content {
  position: relative;
  top: 12.5%;
  width: 100%;
 padding: 0 0% 0 15%;
  margin-top: 20px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  letter-spacing: 0.1rem;
  font-size: 1.4rem;
  color: #818181;
  display: block;
  transition: 0.3s;
  border: 0 !important;
}

.overlay a:hover, 
.overlay a:focus {
  color: #414141 !important;
  background:#babab0;
  border: 0px solid white;
  border-radius-left: 12px; 
}


.overlay a:active 
{color: white !important;
	background: #666660;	}
 

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

  
 
 
 
 
/* commission page*/

.enquire 
{background: black;
color:white;
padding: 12px 23px;
border-radius: 3px;
font-weight: 600;
}


.enquire:hover
{background: white;
color:black;
transition: 1.2s;
}


/* web form on the commissions page*/

input[type=text], 
select, 
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color:black;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: white !important;
  color: black;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}



/* =========== code for transform of project tiles on home page ========== */
.flex-container
{  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;  
  display: flex; /* or inline-flex */ }

.flex-container img
{ width: 100%;
	
	}

.flex-container>div 
{ width: 32.32%;
  margin:0 0.5%; padding:0;
 height: auto; 
 }





@media only screen and (max-width: 1800px)  {

.flex-container>div 
{ width: 31%;
  margin:0% 1%; padding:0;
 height: auto; 
 }
}



@media only screen and (max-width: 1200px)  {

.flex-container>div 
{ width: 48%;
  margin:0% 1%; padding:0;
 height: auto; 
 }
}


@media only screen and (max-width: 600px)  {

.flex-container>div 
{ width: 100%;
  margin:0% ; padding:0 2%;
 height: auto; 

 }
}




