/*
Theme Name: O'Keefe Landscapes
Description: Custom WordPress theme for O'Keefe Landscapes
Version: 1.0
Author: Kyle Duncan
Author URI: http://www.richardpchapman.com/
*/

@font-face {
    font-family: 'MrEavesSanAltBkRegular';
    src: url('fonts/mreavessanaltbk-071211002EmigreWebOnly.eot');
    src: url('fonts/mreavessanaltbk-071211002EmigreWebOnly.eot?#iefix') format('embedded-opentype'),
         url('fonts/mreavessanaltbk-071211002EmigreWebOnly.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MrEavesModAltBRegular';
    src: url('fonts/mreavesmodaltb-071211001EmigreWebOnly.eot');
    src: url('fonts/mreavesmodaltb-071211001EmigreWebOnly.eot?#iefix') format('embedded-opentype'),
         url('fonts/mreavesmodaltb-071211001EmigreWebOnly.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
	color: #393939;
    font-family: MrEavesSanAltBkRegular, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 400;
    height: 100%;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3em;
}

h1 {
	font-family: MrEavesModAltBRegular, Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding: 0 0 1em;
}

h2 {
	color: #536228;
	font-family: MrEavesModAltBRegular, Arial, Helvetica, sans-serif;
    padding: 0 0 1em;
}

p {
	line-height: 1.3em;
	padding: 0 0 0.8em;
}

strong {
	font-family: MrEavesModAltBRegular, Arial, Helvetica, sans-serif;
    font-weight: 400;
}

a {
	color: #788e38;
    text-decoration: none;
    -webkit-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

a:hover {
    color: #a0b660;
}

a img {
	border: 0;
}

ul, ol, li {
	list-style: none;
}

#container {
    margin: auto;
	padding: 0 20px;
    width: 960px;
}

.mainMenu {
    font-family: MrEavesModAltBRegular, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0 50px;
    padding: 20px 0 0;
    text-align: center;
    text-transform: uppercase;
}

.mainMenu li {
    display: inline;
    padding: 0 4px;
}

.mainMenu li a {
    color: #393939;
}

.mainMenu li a:hover {
    color: #788e38;
}

#header .mainMenu li#menu-item-30 a,
#popupPage .mainMenu li.current_page_item a {
    color: #788e38;
}

.logo {
	background: url(images/logo.png) no-repeat;
    cursor: pointer;
    height: 88px;
    margin: 0 auto 15px;
    width: 70px;
}

.logo a {
    display: block;
	height: 100%;
	outline: none;
	width: 100%;
}

h2.siteTitle {
    font-size: 14px;
    height: 32px;
    letter-spacing: 1px;
    line-height: 16px;
    padding: 0 0 35px;
    text-align: center;
    text-transform: uppercase;
}

h2.siteTitle span {
    color: #ababab;
}

.cmsContent ul {
	list-style: disc;
    padding: 0 0 1em 1.4em;
}

.cmsContent ul li {
    line-height: 1.3em;
	list-style: disc;
}

.cmsContent ol {
	list-style: decimal;
    padding: 0 0 1em 1.8em;
}

.cmsContent ol li {
    line-height: 1.3em;
	list-style: decimal;
}

.cmsContent blockquote {
    margin: 0 0 1em;
}

.cmsContent blockquote a {
    border: 1px solid #d8d8d8;
    display: inline-block;
	font-family: MrEavesModAltBRegular, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 28px;
    letter-spacing: 1px;
    line-height: 28px;
    padding: 0 10px;
    text-transform: uppercase;
}

.cmsContent blockquote a:hover {
    box-shadow: inset 0 0 5px #d8d8d8;
}

.footer {
    font-size: 13px;
    margin: 90px 0 0;
    padding: 0 0 20px;
    text-align: center;
}

.footerMenu {
    margin: 4px 0 50px;
}

.footerMenu a {
    color: #393939;
    padding: 0 4px;
    text-decoration: underline;
}

.footerMenu a:hover {
    color: #a0b660;
}

.shareLinks {
    height: 40px;
    margin: auto;
    width: 360px;
}

.credit {
    color: #b6bbaa;
}

.credit a {
    color: #b6bbaa;
}

.credit a:hover {
    color: #536228;
}

#popupPageWrapper {
    background: url(images/page-overlay.png);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
}

#popupPage {
    background: #FFF;
    height: 100%;
    left: 50%;
    margin: 0 0 0 -370px;
    overflow: auto;
    padding: 0 30px;
    position: fixed;
    top: 0;
    width: 680px;
    z-index: 2;
    -webkit-overflow-scrolling: touch;
}

/* Homepage */

#homepageWrapper {
    height: 660px;
    position: relative;
    width: 960px;
}

#centralImage {
    left: 250px;
    position: absolute;
    top: 0;
}

#centralImage img {
    display: block;
    height: 660px;
    width: 460px;
}

.projectThumb {
    height: 191px;
    margin: 22px 0 0;
    position: relative;
    width: 220px;
}

#popupPage div.floatLeft {
    margin-left: 70px;
}

#popupPage div.floatRight {
    margin-right: 70px;
}

.projectThumb img {
    display: block;
}

.projectThumb a {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.projectThumb h2 {
    background: #ebeee1;
    color: #393939;
    font-size: 14px;
    height: 35px;
    letter-spacing: 1px;
    line-height: 35px;
    padding: 0 10px;
    text-align: center;
    text-transform: uppercase;
}

/* Projects */

#projectHeader {
    height: 142px;
    margin: 0 0 28px;
    position: relative;
}

#projectHeader h2.siteTitle {
    padding: 0;
}

#projectMenu {
    background: #FFF;
    border: 1px solid #d8d8d8;
    box-shadow: inset 0 0 5px #d8d8d8;
    left: 50%;
    margin: 0 0 0 -95px;
    padding: 10px 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 190px;
}

#projectMenu a {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    text-align: center;
    text-transform: uppercase;
}

#projectMenu a.active {
    color: #536228 !important;
}

.projectLink {
    bottom: 0;
    position: absolute;
}

#previousProjectLink {
    left: 0;
}

#nextProjectLink {
    right: 0;
}

.projectLink a {
    border: 1px solid #d8d8d8;
    color: #ababab;
    display: inline-block;
    font-size: 14px;
    height: 22px;
    letter-spacing: 1px;
    line-height: 22px;
    padding: 0 10px;
    text-transform: uppercase;
}

.projectLink a:hover {
    box-shadow: inset 0 0 5px #d8d8d8;
    color: #919191;
}

/* Text pages */

#pageImages img {
    display: block;
    margin: 0 0 20px;
}

/* Contact */

.wpcf7 form {
    margin: 0 0 2em;
}

.wpcf7 p {
    padding: 0 0 8px;
}

.wpcf7 textarea, input.wpcf7-text {
    border: 1px solid #d8d8d8;
    color: #797979;
    display: block;
	font-family: MrEavesSanAltBkRegular, Arial, Helvetica, sans-serif;
    font-size: 16px; 
    font-weight: 400;
    height: 18px;
    line-height: 18px;
    padding: 4px 10px;
    width: 364px;
}

.wpcf7 textarea {
    height: 72px;
}

form span.wpcf7-form-control-wrap {
    display: block;
}

form span.wpcf7-not-valid-tip {
    border-style: dashed !important;
    border-width: 1px !important;
    color: #F00;
    font-size: 16px;
    height: 18px;
    left: 390px !important;
    line-height: 18px;
    padding: 4px 10px !important;
    top: 0 !important;
    width: 170px !important;
}

form div.wpcf7-response-output {
    background: #FFF;
    border-style: dashed !important;
    border-width: 1px !important;
    font-size: 16px;
    margin: 0;
    padding: 4px 10px !important;
    width: 364px;
}

form div.wpcf7-validation-errors, form div.wpcf7-mail-sent-ng {
    border-color: #F00 !important;
    border-style: dashed !important;
    color: #F00;
}

form div.wpcf7-mail-sent-ok {
    color: #398f14;
}

a.submit {
    background: #788e38;
    color: #FFF;
    display: block;
    font-family: MrEavesModAltBRegular, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: 30px;
    letter-spacing: 1px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    width: 150px;
}

a.submit:hover {
    background: #8da153;
}

/* Misc. */

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.hidden {
	display: none;
}

.clearFix {
	clear: both;
	font-size: 0;
	height: 0;
	line-height: 0;
}

/* High resolution displays */
@media (min-resolution: 144dpi),
(-webkit-min-device-pixel-ratio: 1.5),
(min--moz-device-pixel-ratio: 1.5),
(-o-min-device-pixel-ratio: 1.5/1),
(min-device-pixel-ratio: 1.5),
(min-resolution: 1.5dppx) {
    .logo {
        background-image: url(images/logo-x2.png);
        background-size: contain;
    }
}

/* Mobile version */
@media screen and (max-width: 600px) {
    #container {
        min-width: 300px;
        padding: 0 10px;
        width: auto;
    }
    
    #homepageWrapper, #popupPageWrapper, #centralImage, .addthis_button_google_plusone, #header, #popupPage .footer, .projectLink {
        display: none;
    }
    
    .home #header {
        display: block;
    }
    
    .home #homepageWrapper {
        display: block;
        height: auto;
        width: 100%;
    }
    
    #popupPage {
        height: auto;
        left: auto;
        margin: 0;
        overflow: visible;
        padding: 0;
        position: static;
        top: auto;
        width: 100%;
    }
    
    .mainMenu {
        margin: 0 0 25px;
    }
    
    .mainMenu li {
        padding: 0 3px 0 4px;
    }
    
    .footer {
        margin: 30px 0 0;
    }
    
    .shareLinks {
        width: 280px;
    }
    
    .footerMenu {
        margin: 4px 0 20px;
    }
    
    .projectThumb {
        float: none !important;
        height: auto;
        margin: 0 0 2px !important;
        position: relative;
        width: 100%;
    }
    
    .projectThumb img {
        display: none;
    }
    
    #pageImages img {
        height: auto;
        width: 100%;
    }
    
    .wpcf7 textarea, input.wpcf7-text {
        width: 278px;
    }
    
    form span.wpcf7-not-valid-tip {
        display: block;
        left: auto !important;
        margin-top: 4px;
        position: static !important;
        top: auto !important;
        width: 278px !important;
    }

    form div.wpcf7-response-output {
        width: 278px;
    }
    
    a.submit {
        margin: auto;
    }
}