/*
Theme Name: Mila
Theme URI: http://thomasjwpayne.com
Author: Thomas J W Payne
Author URI: http://thomasjwpayne.com
Description: 
License: 
License URI: 
Tags:
*/

/* Fonts */
@font-face {
	font-family: 'Franklin';
	src: url('fonts/franklin_gothic/FranklinGothic-Book-webfont.eot');
	src: local('â˜º'), 
url('fonts/franklin_gothic/FranklinGothic-Book-webfont.woff') format('woff'), url('fonts/franklin_gothic/FranklinGothic-Book-webfont.ttf') format('truetype'), url('fonts/franklin_gothic/FranklinGothic-Book-webfont.svg#webfontOTINA1xY') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Main styles */
body { 
	background-color: none;
	font-family: 'Franklin', sans-serif;
	color: #373737;
	}
	
a:link {color:#373737; text-decoration: none;}      /* unvisited link */
a:visited {color:#373737; text-decoration: none;}  /* visited link */
a:hover {color:#cad6d6; text-decoration: none;}  /* mouse over link */
a:active {color:#373737;}  /* selected link */

::selection {
	background: #fff;
	color: #cad6d6;
	}
::-moz-selection {
	background: #fff;
	color: #cad6d6;
}

#mast { 
	background-color:none;
	position: fixed;
	left: 15px;
	top: 10px;
	z-index: 999999999;
	font-size: 14pt;
	}

#nav {
	position: fixed;
	top: -8px;
	right: 20px;
	z-index: 999999999;
	font-size: 14pt;
	}	

#nav ul {
    list-style-type: none;
}

#nav li {
	display: inline;
	list-style-type:none;
	padding-left: 10px;
	}

.content a:hover {
	color: #000;
	font-style: italic;
	text-decoration: none;
	}

#about {
	max-width:800px;
	background: #cad6d6;
	position: fixed;
	padding-right: 20px;
	padding-left: 20px;
	top: 50%;
	right: 50%;
	transform: translateX(50%) translateY(-50%);
	-webkit-transform: translateX(50%) translatey(-50%);
	display: none;
	font-size: 15px;
	}	
	
#cv {
	max-width:1000px;
	background: #cad6d6;
	position: fixed;
	padding-right: 20px;
	padding-left: 20px;
	padding-top:1px;
	top: 50%;
	right: 50%;
	height: 100%;
	transform: translateX(50%) translateY(-50%);
	-webkit-transform: translateX(50%) translatey(-50%);
	display: none;
	font-size: 15px;
	overflow-y: scroll;
	}	
	
#cv hr{
	height:1px; 
	border:none; 
	color:#000; 
	background-color:#000;
	margin-top: 30px;
	margin-bottom: 30px;
	}
	
#contact {
	max-width:1000px;
	background: #cad6d6;
	position: fixed;
	padding-right: 20px;
	padding-left: 20px;
	top: 50%;
	right: 50%;
	transform: translateX(50%) translateY(-50%);
	-webkit-transform: translateX(50%) translatey(-50%);
	display: none;
	font-size: 15px;
	}	


/* Index styles */

#index-option {
	position: fixed;
	bottom: 5px;
	right: 10px;
	background-color: none;
	}
	
.list {	
	width: 20px;
	height:20px;
	background-color: red;
	}
	
.thumbnail {	
	width: 20px;
	height:20px;
	background-color: green;
	}
	
#content-thumbnail {
	text-align: center;
	margin-top: 80px;
	margin-left: 30px;
	display: none;
	}
	
.post {
	display: inline-block;
	*display: inline;
	vertical-align: middle;
	width: auto;
	height: auto;
	padding-bottom: 40px;
	padding-right: 40px;
	}

.image {
	max-height: 500px;
	max-width: 500px;
	}

.image img {
	max-width: 100%;
	max-height: 500px;
	height: auto;
	}
	
@-moz-document url-prefix() 
{	
	.image img {
		max-width: 500px;
		max-height: 500px;
		width: 100%;
		}
}	

.title { 
	position: fixed;
	top: 10px;
	left: 50%;
	width:500px;
	margin-left: -250px;
	text-align: center;
	font-size: 14pt;
	display: none;
	}
	
.image:hover > .title {
	display: block;
	} 
	
.image .title:active {
	display: block;
	} 

#content-list {
	position: absolute;
	top: 50px;
	left: 0px;
	}
	
#content-list ul {
    list-style-type: none;
}

#content-list li {
	list-style-type:none;
	padding-left: 10px;
	}

.list-thumbnail {
	position: fixed;
	right: 0;
	margin-left: auto;
	text-align: centered;
	z-index: -1;
	}
	
.list-thumbnail img {
	max-height:100%;
	max-width:800px;
	position: fixed;
	top: 50%;
	right: 50%;
	transform: translateX(50%) translateY(-50%);
	-webkit-transform: translateX(50%) translatey(-50%);
	}	

.showme{ 
display: none;
}

.showhim:hover .showme{
display : block;
}

.showhim:hover .featured{
display : none;
}

.featured {
	position: fixed;
	right: 0;
	margin-left: auto;
	text-align: centered;
	z-index: -2;
	}

.featured img {
	max-height:80%;
	max-width:800px;
	position: fixed;
	top: 50%;
	right: 50%;
	transform: translateX(50%) translateY(-50%);
	-webkit-transform: translateX(50%) translatey(-50%);
	}

.white-fill {
    height:100%;
    width: 100%;
    background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -1;
	}


/* Project styles */

#project-title {
	position: fixed;
	top: 10px;
	left: 50%;
	width:500px;
	margin-left: -250px;
	text-align: center;
	font-size: 14pt;
	z-index: 1;
	}

#project-info {
	position: fixed;
	bottom: 10px;
	left: 10px;
	z-index: 1;
	font-size: 14pt;
	}

#info {
	max-width:800px;
	background: #cad6d6;
	position: fixed;
	padding-right: 20px;
	padding-left: 20px;
	top: 50%;
	right: 50%;
	transform: translateX(50%) translateY(-50%);
	-webkit-transform: translateX(50%) translatey(-50%);
	display: none;
	font-size: 15px;
	z-index: 2;
	}

#content-container {
	overflow: hidden;
	text-align: center;
    margin-top: 50px;
	}

#content-container img{	
	width:100%;
    height:auto;
    }

#gallery-1 {
    text-align: center;
	}

.gallery-item {
	display:inline-block;
	text-align:left;
	padding-left: 30px;
	padding-right: 30px;
	}

.gallery-caption {
	margin-top: -5px;
	margin-left: -20px;
	font-size: 14px;
	z-index: 1;
	-ms-transform: rotate(-90deg); /* IE 9 */
    -ms-transform-origin: 0% 0%; /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    -webkit-transform-origin: 0% 0%; /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
    transform-origin: 0% 0%;
	}

.image-title {
	font-size: 14pt;
	}








/* Mobile and Small Screen */

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

#project-title {
		top: 40px;
		font-style: italic;
		}

.title {
		top: 40px;
		font-style: italic;
		}

.gallery-caption {
		display: none;
		}	

#content-thumbnail {
		display: block;
		}

#content-list {
		display: none;
		}
		
#index-option {
		display: none;
		}
			
}
