/*
Theme Name: Montrose Capital
Description: Custom WordPress theme for Montrose Capital
Version: 1.0
Author: Kyle Duncan
Author URI: http://www.thisisforge.com/
*/

* {
    margin: 0;
    padding: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section { 
    display: block;
}

html, body {
    background: #333;
    color: #a6a6a6;
    font-family: ff-dagny-web-pro-n4, ff-dagny-web-pro, Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: 400;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5em;
}

p {
	line-height: 1.5em;
	padding: 0 0 1em;
}

a {
	color: #a6a6a6;
	outline: none;
    text-decoration: none;
    -webkit-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

a:hover {
    color: #FFF;
}

a img {
	border: 0;
}

img {
    display: block;
}

ul, ol, li {
	list-style: none;
}

#container {
    min-height: 100%;
    min-width: 320px;
}

header {
    background: #000;
    left: 0;
    padding: 30px 35px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 10;
}

#logo {
	background: url(images/logo.png) no-repeat;
    height: 20px;
    text-indent: -9999em;
    width: 199px;
}

#logo a {
    display: block;
	height: 100%;
	width: 100%;
}

a#menuIcon {
    background: url(images/menu-icon.png) no-repeat;
    height: 19px;
    margin: -10px 0 0;
    position: absolute;
    right: 35px;
    top: 50%;
    width: 26px;
}

a#menuIcon.open {
    background-position: 0 -19px;
}

nav {
    background: #000;
    bottom: 0;
    font-size: 16px;
    letter-spacing: 1px;
    padding: 70px 80px;
    position: fixed;
    right: -480px;
    text-transform: uppercase;
    top: 80px;
    width: 320px;
}

nav li {
    margin: 0 0 10px;
}

nav li a {
    color: #666;
    display: inline-block;
    padding: 0 0 6px;
}

nav li.current_page_item a,
nav li.current-page-ancestor a {
    border-bottom: 1px solid #FFF;
    color: #FFF;
    padding-bottom: 5px;
}

#main {
    padding: 80px 0 0;
}

h1#pageTitle {
	color: #FFF;
    font-family: bookmania-n4, bookmania, serif;
    font-size: 30px;
    line-height: 1.3em;
    padding: 0 0 0.8em;
}

.cmsContent h2 {
    color: #FFF;
    font-size: 18px;
    padding: 0 0 1em;
}

.cmsContent ul {
	list-style: disc;
    padding: 0 0 1em 1.4em;
}

.cmsContent ul li {
    line-height: 1.5em;
	list-style: disc;
}

.cmsContent ol {
	list-style: decimal;
    padding: 0 0 1em 1.8em;
}

.cmsContent ol li {
    line-height: 1.5em;
	list-style: decimal;
}

footer {
    background: #000;
    font-size: 14px;
    line-height: 20px;
    padding: 30px 35px;
    position: relative;
    text-align: center;
    z-index: 5;
}

#footerMenu {
    font-size: 14px;
    letter-spacing: 1px;
    position: absolute;
    right: 35px;
    text-transform: uppercase;
    top: 30px;
    white-space: nowrap;
}

#footerMenu li {
    display: inline-block;
    margin: 0 0 0 30px;
}

#copyright {
    left: 35px;
    position: absolute;
    top: 30px;
    white-space: nowrap;
}

#credit {
    color: #666;
}

#credit a {
    border-bottom: 1px solid #666;
    color: #666;
}

#credit a:hover {
    border-color: #FFF;
    color: #FFF;
}

/* Homepage */

#homeWelcomeInner {
    left: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
    z-index: 5;
}

#homeWelcomeInner h2 {
    color: #FFF;
    font-family: bookmania-n4, bookmania, serif;
    font-size: 36px;
    line-height: 1.5em;
    margin: 0 auto;
    max-width: 640px;
    padding: 0 15px;
}

/* Gallery */

.slide,
.textSlide {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.slideshowArrow {
    background: url(images/slideshow-arrows.png) no-repeat;
    height: 60px;
    margin: -70px 0 0;
    position: absolute;
    top: 50%;
    width: 60px;
    z-index: 5;
}

#previousArrow.slideshowArrow {
    left: 0;
}

#nextArrow.slideshowArrow {
    background-position: 0 -60px;
    right: 0;
}

#slideshowBottom {
    background: #000;
    bottom: 0;
    left: 0;
    padding: 30px 35px;
    position: absolute;
    right: 0;
    text-align: center;
    z-index: 5;
}

#projectTitle {
    left: 35px;
    position: absolute;
    top: 30px;
    white-space: nowrap;
}

#projectTitle,
#imageCaption {
    color: #FFF;
    font-family: bookmania-n4, bookmania, serif;
    font-size: 21px;
    line-height: 20px;
}

#slideshowBottom a.button {
    position: absolute;
    right: 35px;
    top: 25px;
    white-space: nowrap;
}

.page-template-template-gallery-php footer {
    border-top: 1px solid #a6a6a6;
}

/* Text Pages */

#textSlideshow {
    bottom: 0;
    left: 0;
    position: fixed !important;
    top: 80px;
}

#imageCounter {
    background: #000;
    bottom: 0;
    color: #FFF;
    left: 0;
    padding: 20px;
    position: absolute;
    z-index: 5;
}

#counter {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    width: 60px;
}

.navArrow {
    background: url(images/nav-arrows.png) no-repeat;
    display: inline-block;
    height: 11px;
    vertical-align: middle;
    width: 7px;
}

#nextArrow.navArrow {
    background-position: 0 -11px;
}

#textWrapper {
    float: right;
    max-width: 360px;
    padding: 120px 60px 60px;
    width: 35%;
}

/* Contact */

#enquiryForm {
    margin: 2em 0 0;
}

input.text, textarea {
    background: #999;
    border: 1px solid #999;
    border-radius: 0;
	color: #000;
    font-size: 14px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    line-height: 20px;
    padding: 4px 10px;
    text-transform: uppercase;
	width: 100%;
    -webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
}

input.text {
	height: 30px;
}

input.narrowText {
    width: 70px;
}

textarea {
    height: 90px;
	resize: none;
}

input:focus, textarea:focus {
    outline: none;
}

#submitRow {
    font-size: 0;
    min-height: 30px;
    text-align: right;
}

#submitRow span {
    font-size: 16px;
}

.sending {
    color: #CCC;
}

.enquiryError {
    color: #F33;
}

label.error {
    left: -9999em;
    position: absolute;
    visibility: hidden;
}

::-webkit-input-placeholder {
   color: #666;
}

:-moz-placeholder {
   color: #666;
}

::-moz-placeholder {
   color: #666;
}

:-ms-input-placeholder {  
   color: #666;
}

/* Misc. */

a.button {
    border: 1px solid #666;
    color: #666;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 28px;
    padding: 0 30px;
    text-transform: uppercase;
}

a.button:hover {
    border-color: #FFF;
    color: #FFF;
}

img.widthControl {
    height: auto;
    width: 100%;
}

.bgCover {
    overflow: hidden;
    position: relative;
}

.bgCover img {
    left: 0;
    position: absolute;
    top: 0;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.hidden {
	display: none;
}

.clearFix:after {
	clear: both;
	content: "";
    display: block;
	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;
	}

    a#menuIcon {
        background-image: url(images/menu-icon-x2.png);
        background-size: 26px auto;
    }

    .slideshowArrow {
        background-image: url(images/slideshow-arrows-x2.png);
        background-size: 60px auto;
    }

    .navArrow {
        background-image: url(images/nav-arrows-x2.png);
        background-size: 7px auto;
    }
}

/* Responsiveness */

@media screen and (max-width: 999px) {
    header,
    footer,
    #slideshowBottom {
        padding-left: 15px;
        padding-right: 15px;
    }

    a#menuIcon,
    #slideshowBottom a.button {
        right: 15px;
    }

    #projectTitle {
        left: 15px;
    }

    nav {
        padding: 20px 25px;
        width: 270px;
    }

    #footerMenu {
        margin: 0 0 20px;
        position: static;
        right: auto;
        top: auto;
    }

    #footerMenu li {
        margin: 0 15px;
    }

    #copyright {
        left: auto;
        margin: 0 0 20px;
        position: static;
        top: auto;
    }

    /* Text Pages */

    #textWrapper {
        padding: 60px 30px 30px;
    }
}

@media screen and (max-width: 767px) {
    /* Gallery */

    .slideshowArrow {
        background-size: 30px auto;
        height: 30px;
        margin-top: -40px;
        width: 30px;
    }

    #nextArrow {
        background-position: 0 -30px;
    }

    #slideshowBottom {
        padding-bottom: 15px;
        padding-top: 15px;
    }

    #slideshowBottom a.button,
    #projectTitle {
        display: none;
    }

    #imageCaption {
        font-size: 16px;
    }
    
    /* Text Pages */

    #textSlideshow {
        bottom: auto;
        left: auto;
        position: relative !important;
        top: auto;
    }

    #textWrapper {
        float: none;
        max-width: none;
        padding: 20px 15px;
        width: auto;
    }
}

@media screen and (max-width: 599px) {
    #homeWelcomeInner h2 {
        font-size: 22px;
    }
}