

/* BODY AND BACKGROUND */


html {
    background: white;   
    text-rendering: optimizeLegibility; /* optional: for older browsers */
    -moz-font-feature-settings: "kern=1"; /* pre-Firefox 14+ */
    -webkit-font-feature-settings: "kern";
    -moz-font-feature-settings: "kern"; /* Firefox 14+ */
    font-feature-settings: "kern"; /* standard */
    font-kerning: normal; /* Safari 7+, Firefox 24+, Chrome 33(?)+, Opera 21+*/    
}


@font-face {
    font-family: 'AvenirLTStd-Black';
    src: url('AvenirLTStd-Black.eot');
    src: url('AvenirLTStd-Black.eot?#iefix') format('embedded-opentype'),
         url('AvenirLTStd-Black.woff2') format('woff2'),
         url('AvenirLTStd-Black.woff') format('woff'),
         url('AvenirLTStd-Black.ttf') format('truetype'),
         url('AvenirLTStd-Black.svg#AvenirLTStd-Black') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'AvenirLTStd-Medium';
    src: url('AvenirLTStd-Medium.eot');
    src: url('AvenirLTStd-Medium.eot?#iefix') format('embedded-opentype'),
         url('AvenirLTStd-Medium.woff2') format('woff2'),
         url('AvenirLTStd-Medium.woff') format('woff'),
         url('AvenirLTStd-Medium.ttf') format('truetype'),
         url('AvenirLTStd-Medium.svg#AvenirLTStd-Medium') format('svg');
    font-weight: normal;
    font-style: normal;
}



body{
    margin:0;
    padding:0;
    min-height: 100%;
    }

ul {
    margin: 0 0 0 0;
    padding:0;
    }

ul li {
    list-style:none;
    overflow:hidden;
    position:relative;
    display: inline-block;
    }

#big {
    height: 450px;
    margin-bottom: 16px;
    }

#small {            
    height: 219px;
    margin-bottom: 16px;
    }


.wrapper {
    margin: 0 0 0 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
    width: 800px;
    }


.logo {
    position:relative;
    width: 800px;
    padding: 0;
    margin: 36px 0 20px 0;
    }

#h_nav {
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    letter-spacing: .5px;
    margin-bottom: 30px;
    color: black;    
    font-size: 16px;
    line-height: 1.5;
    }

.right { 
float: right;
 text-align: right; 
    } 

.left { 
display: inline-block;
margin-left: 0; 
margin-right: auto;
text-align: left;
}  





.footer {
    position:relative;
    width: 800px;
    padding: 0;
    margin: 40px 0 0 0;
    text-align: center;
    }

#f_nav {
    display: relative;
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    font-size: 16px;
    letter-spacing: .5px;
    margin-bottom: 30px;
    margin-bottom: 60px;
    color: black;    
    }


/* HOVER STATE LARGE */



.front {
    position:absolute;
    z-index:1;
    height:450px;
    width: 800px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex; /* Enable flexbox */
    align-items: center; /* Align vertically */
    justify-content: flex-start; /* Align horizontally to the left */
    }

.menuitem {    
    position: absolute;
    margin: 25px 0 25px 25px;
    background-color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0; /* No rounded corners */
    text-align: left; /* Left align text */
    width: auto; /* Adjust width to content */
    max-width: 80%; /* Optional max width */
    margin-left: 25px; /* Left margin for content */
    }

li:hover .front {
    opacity: 1;
}

li:hover .menuitem {
    opacity: 1;
}

#menubig {
    height: 400px;
    width: 325px;
    }

#menusmall {
    height: 169px;
    width: 340px;
    }   


h1 {
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    font-size: 16px;
    letter-spacing: .5px;
    width: 280px;
    color: black;
    text-align:left;
    }

.callout p {
    font-family: 'AvenirLTStd-Black', helvetica, sans-serif; 
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: .5px;
    width: 280px;
    color: black;
    text-align:left;    
    }

.callout {
    display: relative;
    width: 280px;
    height: 215px;
    margin: -6px 0 0 23px;
    text-align: left;
    color: white;
    }

#fourlines {
    margin-top: 63px;  
    }

#fourlinesalt {
    margin-top: 53px;  
    }

#threelines {
    margin-top: 78px;       
    } 

#twolines {
    margin-top: 100px;       
    }   



.project {
    display: relative;
    width: 271px;
    height: 40px;
    border: 2px solid Black;
    margin: 121px 0 0 25px;
    text-align: center;
    color: black;
    }

.project:hover {
    background: black;
    color:white;
    }


h2 {
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    font-size: 16px;
    letter-spacing: .2px;
    margin-top: -6px;
    text-align:center;
    }


/* HOVER STATE SMALL */


h3 {
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    font-size: 15px;
    letter-spacing: .5px;
    width: 280px;
    margin-top: -2px;
    color: black;
    text-align:left;
    }

.callout2 p {
    font-family: 'AvenirLTStd-Black', helvetica, sans-serif; 
    font-size: 24px;
    line-height: 1.1;
    letter-spacing: 1px;
    width: 300px;
    margin-top: -1px;
    color: black;
    text-align:left; 
    }

.callout2 {
    display: relative;
    width: 300px;
    height: 215px;
    margin-left: 17px;
    text-align: left;
    color: white;
    }


.project2 {
    display: relative;
    width: 302px;
    height: 30px;
    border: 2px solid black;
    margin: -96px 0 0 17px;
    text-align: center;
    color: black;
    }


.project2:hover {
    background: black;
    color:white;
    }

h4 {
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    font-size: 14px;
    letter-spacing: .5px;
    margin-top: -11px;
    text-align:center;
    }

h5 {
    font-family: 'AvenirLTStd-Medium', helvetica, sans-serif; 
    font-weight: normal;
	font-style: normal;
    font-size:14px;
    line-height: 1.5;
    margin-top: -13.5px;
    text-align:center;
    color: #e5e5e5;
    }


li a {
    text-decoration:none;
    }

a {
    color: black;
    text-decoration:none;
    }

a:visited {
    text-decoration: none;
    color: black;
    }  

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