@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;

}




/*  General CSS*/
html, body { height:100% }
body{
	background: #f6f6f6;
	font-family:Garamond;
}

.wrapper{
    width: 92.72727272727273%;
    margin: 0 auto;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #4b4848;
    letter-spacing: 1px;
}


h1              { font-size: 2.2em; margin: 0 0 1.0em 0; font-weight:lighter; color:#000; }
h2              { font-size: 1.9em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em 0 }
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6          { font-weight: bolder }

.clearfix:before,  
.clearfix:after {  
    content: " ";  
    display: table;  
}  
.clearfix:after {  
    clear: both;  
}  
 
.clearfix {  
    *zoom: 1;  
}







/*  Header  */
@media (min-width:1099px){
    header{
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 380px;
		min-height: 100%;
		padding-top: 0;
		padding-right: 0;
		padding-left: 40px;
		padding-bottom: 0;
		background: #ffffff;
		float: left;
		overflow: hidden;
		z-index: 9999;
    }

    header .logo{
		margin-top: 30px;
		margin-bottom:30px;
    }

    header nav ul{display: block;
		overflow: hidden;
		margin-top: 10px;
		list-style: none;
		padding-left: 15px;
		margin-bottom: 15px;
    }

    header nav ul li{
		display: block;
		margin-bottom: 5px;}

    header nav ul li a{color: #454545;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
		color: #969595;
		text-decoration:none;
		border-bottom:1px solid #969595;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }

}
header{	font-family:open_sansregular; border-right:1px solid #eee;
}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}

#menu_icon{    
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}




.head-center-block {
	display: block;
	text-align:center
}
.head-center-block h1 { border-top:1px solid #999;border-bottom:1px solid #999;display:inline-block; padding:10px 0; text-align:center; }
.head-center-block span { color:#999; display:block; padding-bottom:0; font-size:130px; margin:0; padding:0; margin:-30px 0; }
.parts-center-block {
	display: block;
	text-align:center
}
.parts-center-block h1 { display:inline-block; padding:10px 0; text-align:center; font-size:2.3em }
.parts-center-block span { color:#999; display:block; padding-bottom:0; font-size:200%; margin:0; padding:0; margin:20px 0; }

/*  Main  */
.main {
	width: 100%;
	height: 100%;
	padding-left: 380px;
	padding-top:30px;
	padding-bottom:60px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	z-index: 55;
	background: #f6f6f6;
	clear: both;
}
.main p {
	padding-bottom:5px;
}
.main .pager {
	display:block;
	margin-top:60px;
	clear:both;
}
.main .footnote {
	clear:both;
	border-top:1px solid #666;
	padding:15px 0;
	margin-top:100px;
	font-size:16px;
}
.main .footnote ol {
	margin:0 30px;
	color:#000;
}

figure {
	display:inline-block;
	float:left;
    margin: 3px;
}
figure img {
    vertical-align: top;
}
figure figcaption {
    text-align: center;
	background-color:#eee;
	padding:10px;
	font-style:italic;
	font-size:20px;
}


/*  Responsive code  */
@media (max-width:1099px){

    header{
        display: block;
        width: 100%;
        min-height: 100px;
        padding: 0;
        position:fixed;
		top:0;
		background: #ffffff;
		float: left;
		z-index: 9999;
    }
    header .logo{
        margin: 40px 0 40px 30px;
        float: left;
    }
    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }
    
    header nav{
        width: 100%;
        position: absolute;
        top: 130px;
        left: 0;
        z-index: 9999;
		border-top:7px solid #eee;
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 10px 30px;
        text-align: left;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        background: #fff;
    }
    header nav ul li a:active{
        background: #666;
		font-weight:bold;
		color:#fff;
		text-decoration:none;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
		color: #969595;
		text-decoration:none;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
		padding-top:150px;
    }
    #map{
        margin: 0!important;
    }
}

@media (max-width:550px){
     .main .work{
        width: 100%;
    }
}
