/*
 * Author: JOHNNIE CREATIVE
 * URL: http://johnniecreative.com
 */


/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */
@font-face {
    font-family: 'AvenirNextBold';
    src: url('avenirnext.eot');
    src: url('avenirnext.eot') format('embedded-opentype'),
         url('avenirnext.woff') format('woff'),
         url('avenirnext.ttf') format('truetype'),
         url('avenirnext.svg#AvenirNextBold') format('svg');
}
@font-face {
    font-family: 'MyriadProRegular';
    src: url('myriadpro-regular.eot');
    src: url('myriadpro-regular.eot') format('embedded-opentype'),
         url('myriadpro-regular.woff') format('woff'),
         url('myriadpro-regular.ttf') format('truetype'),
         url('myriadpro-regular.svg#MyriadProRegular') format('svg');
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

 img {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
    overflow-x:hidden;
}

body {
    font-family: "MyriadProRegular";
    font-weight: 300;
    font-size: 16px;
    color: #555;

    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.col-md-4 {
	padding-bottom: 20px;
}

.row {
margin-right: 0px;
margin-left: -15px;
}

.navbar-default {
border-color: transparent;
background-color: #ffffff;
}


.navbar-toggle {
border-color: transparent;
border: 0px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	background-color: #16a085;
	color: white;
}



hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: #BED2D9;
}

a img {
    background: white;
}

.odd a img {
    background: #f5f5f5;
}

/* Titles */
h1, h2, h3, h4, h5 {
    font-family: "AvenirNextBold";
    font-weight:300;
    color: #333;
}

h6 {
    font-family: "AvenirNextBold";
    font-weight:300;
    color: #333;
}

/* Paragraph & Typographic */
p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;
}

.paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: "MyriadProRegular";
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- "
}

/* Images */
.overflow-image {
    margin-top: -65px;
}

/* Links */

a {
    color: #3498db;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #c0392b;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

.contactlink  {
    color: #ffffff;
}

.contactlink:hover,
.contactlink:focus {
    color:#3498db;
    text-decoration: none;
    outline: 0;
}
/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
	background: url(../img/header_bg.jpg) no-repeat center top;
	margin-top: -50px;
	padding-top: 375px;
	text-align:center;
	background-attachment: relative;
	background-position: center center;
	min-height: 850px;
	width: 100%;
	
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#headerwrap .img-responsive center-block {
    padding-bottom: -px;
}
#services {
	background: white;
    margin-bottom: 175px;
	text-align: center;
}

#services .callout {
	margin-bottom: 20px;
}

#services h2 {
    padding-bottom: 25px;
}
    
#services p {
	margin-left: 30px;
	margin-right: 30px;
	letter-spacing: 1px;
	padding-top: 15px;
	padding-bottom: 100px;
}

#footerwrap {
	background: #000000;
	margin-top: 0px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: left;
}

#footerwrap h5 {
	color: white;
    font-size: 0.6em;
}


/* ==========================================================================
   Box Sections
   ========================================================================== */

.white h2 {
	padding-top: 185px;
    padding-bottom: 25px;
}

.white p {
	padding-top: 25px;
    padding-bottom: 185px;
}

/* Section Dividers */
.section-divider {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 450px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 70px;
    
    background-position: center center;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    background-attachment: relative;
    
    text-align: center;
}

.textdivider2 h2 {
	padding-top: 70px;
    padding-bottom: 25px;
	color: white;
	font-size: 40px;
    letter-spacing: 0.03em;
}

.textdivider2 .col-lg-12 {
	color: white;
	font-size: 25px;
    letter-spacing: 0.03em;
    padding-top: 25px;
}

.textdivider3 h2 {
	padding-top: 70px;
    padding-bottom: 25x;
	color: white;
	font-size: 40px;
    letter-spacing: 0.03em;
}

.textdivider3 p {
	color: white;
	font-size: 20px;
    margin: 0.3em;
    letter-spacing: 0.03em;
}
/* Section Dividers Backgrounds */

.divider1 {
	background-image: url('../img/bg/divider1.jpg')
}


/* ==========================================================================
   Services Section
   ========================================================================== */

.service-trigger {
    display: block;
	position: relative;
    margin-bottom: 15px;
    color: white;
    font-size: 20px;
    text-align: center;
    height: 168px;
    cursor: pointer;
	padding: 90px 20px 50px 20px;
    border: none;
    background: #333;
}

.service-trigger:before {
    width: 100%;
    top: 50px;
    color: #3498db;
    font-size: 36px;
    text-align: center;
	position: absolute;
	left: 0;
}

.service-active .service-trigger {
    background: #222;
}

.service-active p {
	font-family: 'AvenirNextBold', sans-serif;
	padding-top: 10px;
}

.service-content {
    padding: 15px 20px;
    background: #e6eaed;
    display: block;
    height: auto
}

.service-content p:last-child {
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
	background-image: url('../img/bg/contact.jpg')
}
.section-contact {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 450px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 70px;
    

    background-position: center center;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    background-attachment: relative;
    
    text-align: center;
}


#contact p {
	margin-left: 30px;
	margin-right: 30px;
	letter-spacing: 1px;
	padding-top: 15px;
	padding-bottom: 15px;
}

.textdivider h2 {
	padding-top: 70px;
    padding-bottom: 20px;
	color: white;
	font-size: 40px;
    letter-spacing: 0.03em;
}

.textdivider p {
	color: white;
    font-size: 18px;
    line-height: 3px;
    letter-spacing: 0.03em;
}


/* ==========================================================================
   Image Mask
   ========================================================================== */
#portfolio h1 {
    padding-top: 100px;
    padding-bottom: 25px;
}

#portfolio {
	background: white;
    margin-bottom: 175px;
	text-align: center;
}

.grid figure {
	margin: 0;
	position: relative;
    
}

.grid figure img {
	width: 100%;
	display:block;
	position: relative;
}



/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */


@media screen and (max-width:1050px), screen and (max-device-width:1050px){
	body .header{background-attachment: scroll;}
}


/*ipad portrait*/
@media only screen and (min-device-width:768px) and (max-device-width : 1024px) and (orientation : portrait){
	.header{background-attachment: scroll;}
}

@media screen and (max-width:769px) {
	#headerwrap h1 {
		font-size: 80px;
	}
	#headerwrap p {
		font-size: 30px;
		line-height: 38px;
	}
    .textdivider2 h2 {
        font-size: 2.1em;
}

