/* Reset Stylesheet */
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, 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,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
font-family: 'Arial', sans-serif;
line-height: 1;
}

input, textarea {
width: 300px;
font-family: 'Arial', sans-serif;
color: 383838;
font-size: 0.8em;
margin: 2px 0;
}

input.wpcf7-submit {
width: 200px;
padding: 5px;
}

.seriffed {
font-weight: normal;
font-family: 'Lustria', serif;
letter-spacing: 0.05em;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* Reset Stylesheet*/

.block {
width: 980px;
height: 800px;
margin: auto;
padding: 20px 0 100px 0;
}

h1#logo {
width: 209px;
height: 213px;
background: url('http://www.leisuremachinesolutions.com/images/title.png') top center;
display: block;
text-indent: -50000px;
margin: 40px auto;
}
h2 {
font-family: 'Lustria', serif;
font-size: 1.6em;
font-weight: normal;
color: white;
letter-spacing: 0.06em;
text-transform: uppercase;
}

p {
font-family: 'Open Sans Condensed', sans-serif;
font-weight: 300;
letter-spacing: 0.05em;
font-size: 0.92em;
line-height: 1.25em;
position: relative; padding-top: 10px; padding-bottom: 0px;
}

.nav {
font-family: 'Lustria', serif;
text-align: center;
}

.nav li {
display: inline-block;
padding: 25px 30px 25px 30px;
font-size: 1.2em;
letter-spacing: 0.05em;
color: white;
}

.section {
padding-top: 5px;
}

/*Header*/

#header {
text-align: center;
background-color: #714d9b;
border-bottom: solid 8px white;
}

.circle {
float: left;
height: 18px;
width: 18px;
display: table-cell;
text-align: center;
vertical-align: middle;
border-radius: 50%;
background: white;
margin-left:481px;
margin-top: -33px;
}

#header p{
color: white;
font-size: 1.2em;
}

#header-block img {
padding: 72px 0;
}

#header-imgs ul {
list-style: none;
}
#header-imgs li {
display: inline;
padding: 0 20px;
}

/*Header*/

/*About*/
#first-section a{
text-decoration: none;
color: white;
}

#first-section a:hover {
color: #ef3528;
text-decoration: none;
}

#section1 a:visited {
text-decoration: none;
}

#section1 a{
text-decoration: none;
color: white;
}

#section1 a:hover {
color: #fcbd24;
text-decoration: none;
}

#first-section a:visited {
text-decoration: none;
}

#aboutus {
background-color: #f82f2e;
border-bottom: solid 8px white;
}

#aboutus img {
margin-top: -115px;
float: right;
}

#about-para{
text-align: left;
color: white;
width: 370px;
margin-top: 50px;
margin-left: 55px;
height: 435px;

}

#about-para p {
padding-bottom: 0;
text-align: left;
line-height: 1.25em;
}

#about-h {
background-image: url("http://www.leisuremachinesolutions.com/images/about-sprite.png");
float: right;
width: 411px;
height: 240px;
margin-top: 100px;
margin-right: 80px;
overflow: hidden;
}

#about-h h3{
width: 340px;
color: white;
font-size: 1.2em;
padding: 25px;
line-height: 1.2em;
}

#aboutus h4{
font-family: 'Open Sans Condensed', sans-serif;
font-weight: 300;
letter-spacing: 0.05em;
font-size: 1.1em;
color: #ee776f;
background-image: url("http://www.leisuremachinesolutions.com/images/meetourteam.png");
width: 129px;
height: 41px;
padding-top: 8px;
margin: 30px auto 20px auto;
text-align: center;
}
#aboutus h4 a {
text-decoration: none;
color: #ef3528;
}
#aboutus h4 a:hover {
color: #fcbd24;
}
/*About*/

/*Our Team*/

#ash-brian {
background: url("http://www.leisuremachinesolutions.com/images/ash-brian.png") top center no-repeat;
border-bottom: solid 8px white;
color: #11ce6d;
width: 980px;
height: 611px;
margin: 0 auto;
}

#ash-brian .description {
background: url("http://www.leisuremachinesolutions.com/images/ash-brian-text.png") top center no-repeat;;
width: 492px;
height: 94px;
text-align: left;
padding: 418px 50px 40px 20px;
margin-left: 190px;
position: absolute;
}

#ash-brian #ash-more {
width: 169px;
height: 55px;
background: url("http://www.leisuremachinesolutions.com/images/ash-more.png") top center no-repeat;;
position: absolute;
margin: 300px 0 0 65px;
display: block;
text-indent: -50000px;
z-index: 100;
}
#ash-brian #ash-more:hover {
cursor: pointer;
}
#ash-brian #brian-more {
width: 169px;
height: 55px;
background: url("http://www.leisuremachinesolutions.com/images/brian-more.png") top center no-repeat;;
position: absolute;
margin: 500px 0 0 750px;
display: block;
text-indent: -50000px;
z-index: 100;
}
#ash-brian #brian-more:hover {
cursor: pointer;
}


#ash-brian p.ashley {
position: absolute;
background-color: white;
width: 400px;
text-align: left;
padding: 20px;
margin: 406px 0 0 22px;
}
#ash-brian p.brian {
position: absolute;
background-color: white;
width: 400px;
text-align: left;
padding: 20px;
margin: 390px 0 0 522px;
}
/*Our Team*/

/*What We Do*/
#section2 a:visited {
text-decoration: none;
}

#section2 a{
text-decoration: none;
color: white;
}

#section2 a:hover {
color: #795491;
text-decoration: none;
}

#whatwedo {
background-color: #ffc436;
}

#whatwedo-p {
background-image: url("http://www.leisuremachinesolutions.com/images/whatwedo-sprite.png");
width: 912px;
height: 169px;
margin-left: 20px;
}

#whatwedo p {
color: white;
padding: 20px 20px 0px 30px;
font-size: 1.3em;
text-align: left;
}

#whatwedo-list {
height: 340px;
}

#whatwedo-list li {
display: table;
display: inline-block;
background-image: url("http://www.leisuremachinesolutions.com/images/whatwedo-list.png");
width: 138px;
height: 138px;
margin: 25px 21px 0px 0px;
}

#whatwedo h3 {
height: 80px;
width: 130px;
padding: 20px 10px 10px 10px;
display: table-cell; 
vertical-align: middle;
font-family: 'Open Sans Condensed', sans-serif;
font-weight: 400;
letter-spacing: 0.05em;
font-size: 1.05em;
color: white;
line-height: 1.4em;
text-align: center;
}
/*What We Do*/

/*Our Clients*/
#circle-correction1 {
margin-top: -7px;
}

#section3 {
padding-top: 11px;
}

#section3 a:visited {
text-decoration: none;
}

#section3 a{
text-decoration: none;
color: #ee776f;
}

#section3 a:hover {
color: #666666;
text-decoration: none;
}

#section3 li {
color: #ee776f;;
}

#ourclients h2 {
color: black;
}

#clients-p {
background-image: url("http://www.leisuremachinesolutions.com/images/clients-p.png");
width: 848px;
height: 116px;
margin-left: 28px;
}

#clients-p h3 {
text-align: center;
color: white;
font-size: 1.2em;
padding-top: 20px;
}

#ourclients img {
margin-top: 30px;
}
/*Our Clients*/

/*Our partners*/
#section4 a:visited {
text-decoration: none;
}

#section4 a{
text-decoration: none;
color: white;
}

#section4 a:hover {
color: #ffe400;
text-decoration: none;
}

#ourpartners {
background-color: #00cfea;
border-bottom: solid 8px white;
}

#partners {
background-image: url("http://www.leisuremachinesolutions.com/images/partners-largep.png");
width: 831px;
height: 369px;
margin: auto;
}

#partners p:first-child {
padding-top: 70px;
}

#partners p {
font-size: 1.2em;
text-align: left;
color: #00a6bb;
padding: 20px 20px 0px 20px;
}

#ourpartners img {
margin-top: 30px;
float: right;
}

#ourpartners h4 {
background-image: url("http://www.leisuremachinesolutions.com/images/partners-clms.png");
width: 173px;
height: 36px;
color: #00cfea;
font-size: 1.2em;
margin: 60px 0px 0px 404px;
padding: 10px 10px 0px 0px;
}
/*Our partners*/

/*Contact*/
#section5 a:visited {
text-decoration: none;
}

#section5 a{
text-decoration: none;
color: white;
}

#section5 a:hover {
color: #83c6d4;
text-decoration: none;
}

#contact {
background-color: #bd389c;
color: white;
}

#contact-text {
background-image: url("http://www.leisuremachinesolutions.com/images/contact-text.png");
width: 522px;
height: 117px;
font-size: 1.2em;
text-align: left;
padding: 15px 15px 0px 25px;
margin: 40px 0px 0px 70px;
float: left;
}

#contact p {

}

#contact h3 {
font-family: 'Open Sans Condensed', sans-serif;
font-weight: 400;
letter-spacing: 0.05em;
float: right;
font-size: 1.4em;
position: relative; padding-top: 0; padding-bottom: 0px;
margin: 50px 80px 0px 0px;
}

#temp-email {
float: left;
margin-left: 80px;
}

#gambling-img {
float: right;
margin: 200px 80px 0px 0px;
}

li.onit {
cursor: default;
opacity:0.5;
}

/*Contact*/


/* Rhys Client Grid */ 

div#ourclients {
    height: auto;
}

#client-grid {
	display: inline-grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(3, auto);
	grid-gap: 0.8em;
}

#client-grid .client-box {
	width: 100%;
	height: 100%;
	display: grid;
	justify-content: center;
	align-items: center;
}

#client-grid .client-box img {
	width: 100%;
	height: auto;
}

#client-grid .box01 {
	grid-row: 1;
	grid-column: 1;
}

#client-grid .box02 {
	grid-row: 1;
	grid-column: 2;
}

#client-grid .box03 {
	grid-row: 1;
	grid-column: 3;
}

#client-grid .box04 {
	grid-row: 1;
	grid-column: 4;
}

#client-grid .box05 {
	grid-row: 1;
	grid-column: 5;
}

#client-grid .box06 {
	grid-row: 2;
	grid-column: 1;
}

#client-grid .box07 {
	grid-row: 2;
	grid-column: 2;
}

#client-grid .box08 {
	grid-row: 2;
	grid-column: 3;
}

#client-grid .box09 {
	grid-row: 2;
	grid-column: 4;
}

#client-grid .box10 {
	grid-row: 2;
	grid-column: 5;
}

#client-grid .box11 {
	grid-row: 3;
	grid-column: 1;
}

#client-grid .box12 {
	grid-row: 3;
	grid-column: 2;
}

#client-grid .box13 {
	grid-row: 3;
	grid-column: 3;
}

#client-grid .box14 {
	grid-row: 3;
	grid-column: 4;
}

#client-grid .box15 {
	grid-row: 3;
	grid-column: 5;
}

#client-grid .box16 {
	grid-row: 4;
	grid-column: 1;
}

#client-grid .box17 {
	grid-row: 4;
	grid-column: 2;
}

#client-grid .box18 {
	grid-row: 4;
	grid-column: 3;
}

#client-grid .box19 {
	grid-row: 4;
	grid-column: 4;
}

#client-grid .box20 {
	grid-row: 4;
	grid-column: 5;
}

#client-grid .box21 {
	grid-row: 5;
	grid-column: 1;
}

#client-grid .box22 {
	grid-row: 5;
	grid-column: 2;
}

/* Rhys 404 */

.pg-404 {
	height: 100vh;
	width: 100vw;
	background: #714D9A;
	color: #fff;
    display: flex;
    justify-content: center;
	align-items: center;
	font-family: 'Open Sans Condensed', sans-serif;
	text-align: center;
}


.pg-404 h1 { 
	font-size: 14em;
	line-height: 1.2em;
}

.pg-404 h3 { 
	font-size: 2.2em;
}
