@charset "UTF-8";



/* ----------------- Reset all styles ----------------- */
*{
	margin:0;
	padding:0;
	border:0;
}

/* ----------------- Website background and general text colour ----------------- */
body{
	background-image:url(../images/backgroundtexture.png);
	background-color:#f9f9f9;
	color:#2d2d2d;
	margin-top: 104px;
}


/* ----------------- Wrapper - keeps all content in the center of page -----------------  */
.wrapper{
	margin:auto;
	width:80%;
	height:auto;
	
}

/* ---------------- */

/* The rest is pretty self explanatory - it appears in the order that it occurs on the HTML document */
#top{
	margin-top: 30px;
}

hr{
	height:1px;
	width:100%;
	background-color:#2d2d2d;
	margin:3% 0;
}

#slideshow{
	width:100%;
	margin:3% auto 3% auto;
}


/* - - - - - - - - - - - - - - -  Slider START  - - - - - - - - - - - - - - - */

.html_carousel {
	
	
}
.html_carousel div.slide {
	position: relative;
}	
.html_carousel div.slide img {
	width: 100%;
	height: auto;
	-webkit-box-shadow: 0 1px 1px #c1c1c1;
    	-moz-box-shadow: 0 1px 1px #c1c1c1;
    	box-shadow: 0 1px 1px #c1c1c1;
	border-radius:15px;
}

.clearfix {
	float: none;
	clear: both;
}

/* - - - - - - - - - - - - - - -  Slider END  - - - - - - - - - - - - - - - */

/* ----------------------- WORK LINKS START ------------------------- */
#work{
	width:1000px;
	margin:3% auto 3% auto;
	padding-top:3px;
	padding-bottom:10px;
    	height: auto;
    	background-color: #D3D3D3;
	-webkit-box-shadow: 0 1px 1px #c1c1c1;
    	-moz-box-shadow: 0 1px 1px #c1c1c1;
    	box-shadow: 0 1px 1px #c1c1c1;
	border-radius:15px;
}

.mex{
    border-radius:15px;
	margin-top:10px;
    margin-left:auto;
	margin-right:auto;
	padding-right:3px;	
	padding-top:7px;
	padding-left:3px;
	padding-bottom:5px;
	width:94%;
	background-color:#FFF;

    -webkit-box-shadow: 0 1px 3px #c3c3c3;
    -moz-box-shadow: 0 1px 3px #c3c3c3;
    box-shadow: 0 1px 3px #c3c3c3;
    
}

.cont{
    margin:1px;
 	text-align:justify;
	padding-bottom:7px;
	padding-left:5px;
	padding-right:5px;
	line-heigth:auto; 
    -webkit-box-shadow: 0 2px 0 #c3c3c3;
    -moz-box-shadow: 0 2px 0 #c3c3c3;
    box-shadow: 0 2px 0 #c3c3c3;
    border-radius:15px 15px 0 0;
    opacity:0.8;
}

.item{
	border-radius:15px;
	width:180px;
	height:185px;
	background-color:#FFF;
	margin:10px;
	float:left;
	-webkit-box-shadow: 0 1px 3px #c3c3c3;
    	-moz-box-shadow: 0 1px 3px #c3c3c3;
   	box-shadow: 0 1px 3px #c3c3c3;  
	overflow:hidden;
	-webkit-transition: box-shadow 0.2s ease-in-out;
	-moz-transition: box-shadow 0.2s ease-in-out;
	-o-transition: box-shadow 0.2s ease-in-out;
	-ms-transition: box-shadow 0.2s ease-in-out;
	transition: box-shadow 0.2s ease-in-out;
}

.item img:hover{
    -webkit-box-shadow: 0 0 8px #C80815, 0 0 8px #C80815;
    -moz-box-shadow: 0 0 8px #C80815,  0 0 8px #C80815;
    box-shadow: 0 0 8px #C80815,  0 0 8px #C80815; 
}
	

.item img{
	display:block;
	width:100%;
	-webkit-box-shadow: 0 2px 1px #c3c3c3;
    -moz-box-shadow: 0 2px 1px #c3c3c3;
    box-shadow: 0 2px 1px #c3c3c3;
	border-radius:15px 15px 0 0;
	opacity:0.8;
	-webkit-transition: opacity 0.2s ease-in-out;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
	
}

.item img, .mex cont:hover{
	opacity:1;
}


.item h3 {
	font-family:Lato, Arial, Helvetica, sans-serif;
	font-size:105%;
	font-weight:normal;
	padding:5px 0 0 8px;
	color:#2d2d2d;
	text-decoration:none;
}

.mex h3{
    font-family:Lato, Arial, Helvetica, sans-serif;
    font-size:105%;
    font-weight:normal;
    padding:5px 0 0 6px;
    color:#2d2d2d;
    text-decoration:none;
}

.item h3 a, .mex h3 a{
	text-decoration:none;
	color:#2d2d2d;
}

.mex p1 {
    font-family:Lato, Arial, Helvetica, sans-serif;
    font-size:70%;
    font-weight:normal;
    text-decoration:none;
 }

.item p, .mex p{
	font-family:Lato, Arial, Helvetica, sans-serif;
	font-size:70%;
	font-weight:normal;
	padding:0 0 0 8px;
	/*color:#fdae42;*/
	color:#C80815;
	text-decoration:none;
}
/* ----------------------- WORK LINKS END ------------------------- */

.icon{
	float:right;
	width:32px;
	margin:95px 0 2px 4%;
	opacity:0.85;
}

.icon:hover{
	opacity:1;
}

/* ---------------------- RESPONSIVE STUFF - ONLY TOUCH IF YOUR'E CONFIDENT WITH CSS ---------------------- */


@media only screen and (max-width: 1279px) {
	.wrapper{
		width:95%;
	}
	
}

@media only screen and (max-width: 1105px) {
	
	#work{
		width:900px;
}

	.item {
		width:164px;
		height:170px;
		margin:8px;
	}
}

@media only screen and (max-width: 999px) {
	
	#work{
		width:750px;	
}

	.item {
		width:136px;
		height:144px;
		margin:7px;
	}
	
	.item h3, .mex h3{
		font-size:90%;
	}
	
	.item p, .mex p, .mex p1{
		font-size:60%;
	}
}

@media only screen and (max-width: 835px) {
	
	#work{
		width:650px;	
}

	.item {
		width:116px;
		height:121px;
		margin:7px;
	}
	
	.item h3, .mex h3{
		font-size:75%;
	}
	
	.item p, .mex p, .mex p1 {
		font-size:40%;
	}
}

@media only screen and (max-width: 860px) {
	header h1{
		font-size:110%;
	}
	
	header h2{
		font-size:80%;
	}
}

@media only screen and (max-width: 720px) {
	
	#work{
		width:99%;	
}

	.item {
		width:172px;
		height:178px;
		margin:8px;
	}
	
	.item h3{
		font-size:130%;
	}
	.mex p1{
		font-size:100%;
	}
	.mex h3{
		font-size:100%;	
	}

	.item p, .mex p{
		font-size:90%;
	}
}

@media only screen and (max-width: 510px) {
	
	#work{
		width:300px;	
	}

	.item {
		width:136px;
		height:140px;
		margin:7px;
	}
	
	.item h3{
		font-size:75%;
	}

	.mex p1{
		font-size:50%;
	}
	
	.item p, .mex p, .mex h3{
		font-size:40%;
	}
}


	
	
