/*========================================================================================*/
/*  RESET
/*========================================================================================*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ------------------------------------------------------------------------ */
/* General Styles
/* ------------------------------------------------------------------------ */

body {
    background: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #5b5147;
    -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: 100%;
}

::selection {
    background: #282828; /* #D00355 */
    color: #ffffff;
}

::-moz-selection {
    background: #282828;
    color: #ffffff;
}

img.scale-with-grid {
    max-width: 100%;
    height: auto;
}

p,ul,ol{
	margin:0;
	padding:0;
	list-style: none;
}

[class^="icon-"], [class*=" icon-"] {
   width: auto;
}

header,section{
	line-height: 1.6;
}
/* ------------------------------------------------------------------------ */
/*  Typography
/* ------------------------------------------------------------------------ */


h1,
h2,
h3,
h4,
h5,
h6 {
    color: #474747;
    font-family: 'BebasNeueRegular', sans-serif;
    font-style: bold;
    margin: 0 0 10px 0;
    padding: 0;
    text-rendering: optimizelegibility;
}

    h1 a,
    h2 a,
    h3 a,
    h4 a,
    h5 a,
    h6 a { font-weight: inherit }

h1 {
    font-size: 28px;
    line-height: 42px;
}

h2 {
    font-size: 22px;
    line-height: 33px;
}

h3 {
    font-size: 18px;
    line-height: 27px;
    font-weight:normal;
}

h4 {
    font-size: 16px;
    line-height: 24px;
    font-weight:normal;
}

h5 {
    font-size: 14px;
    line-height: 21px;
    font-weight:normal;
}

h6 {
    font-size: 12px;
    line-height: 18px;
    font-weight:normal;
}

.highlight { 
	color: #282828;
}


    p img { margin: 0 }

em { font-style: italic }

strong { font-weight: bold }

small { font-size: 80% }

hr {
    border: 1px solid #efefef;
    border-width: 1px 0 0;
    clear: both;
    margin: 20px auto 30px;
    height: 0;
    max-width: 200px;
}

pre {
    height: auto;
    border: 1px solid #efefef;
    background: #f6f6f6;
    padding: 10px 20px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 0 0 20px 0;
    overflow-x:auto;
}

.hidden {  display: none !important }

/* Links ---------------------------------------------------- */

a {
    color: #666;
    text-decoration: none;
    outline: 0;
    font-weight:400;
}

/* Transisiton for Links */
a, a:hover{
    text-decoration:none;
	-webkit-transition: all 0.2s ease-in-out;
       -moz-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
         -o-transition: all 0.2s ease-in-out;
            transition: all 0.2s ease-in-out;
}
a:hover{
	color: #282828;
}

.button{
	color: #FFF;
	padding: 10px 20px;
	background: #282828;
	border: none;
	font-family: 'BebasNeueRegular';
	font-size: 14px;
	display:inline-block;
	border-radius: 2px;
}

.button:hover{
	background: #FFF;
	color: #282828;
}
/* ------------------------------------------------------------------------ */
/* 02. FORMS
/* ------------------------------------------------------------------------ */

textarea, 
input[type="text"], 
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"],
input[type="search"], 
input[type="tel"]
{
    box-shadow:none;
    border:1px solid rba(0,0,0,0.6);
    background:rba(0,0,0,0.4);
    padding:6px 8px;
    border-radius:0;
    width:100%;
    height:100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;    
    box-sizing: border-box;
}

.formrow{
	clear: both;
	margin: 10px 0;
	position:relative;
}

form label{
	color: #666;
	font-family: 'BebasNeueRegular', sans-serif;
}

.formfield{
	background: rgba(255,255,255,0.6);
	border: 1px solid #EEE;
	padding: 8px 16px;
}

.formfield.error{
	border-color: #ce432d;
	padding: 8px 16px 8px 28px;
}

.error-icon{
	position: absolute;
	top: 24px;
	left: 5px;
	color: #ce432d;
	font-size: 16px;
}

body.fix{
	z-index: 1;
	top: 0;
	left: 0;
	
}
/*========================================================================================*/
/*  HEADER
/*========================================================================================*/
header{
position: fixed;
top: 0;
left: 0px;
height: 100%;
display: block;
background: rgba(255,255,255,0.3);	
}

header,#menu{
	width: 180px;
	z-index: 999;
}

header
body.fix header,
body.fix #menu{
z-index: 99;
display: block;	
}

#logoarea,nav{
	position: absolute;
}

#logoarea{
	top: 0;
	left: 0;
	padding: 20px;
}
#logo{
	margin: 0 auto;
}
#logo img{
	width: auto;
	height: 120px;
}
#menu{
	position: fixed;
	top: 160px;
	left: 0;
	padding: 12px 0;
	background: rgba(40,40,40,1); /* rgba(208,3,85,1 */
	font-size: 14px;
	font-weight: 400;
	color: #FFF;
	text-align:right;
	font-family: 'BebasNeueRegular';
	font-size: 16px;
}

#menu span{
	padding-right: 20px;
}

#menu.active{
	left: 0 !important;
}
nav{
	top: 154px;
	margin-top: 55px;
	left: 0px;
	text-align:right;
	width: 100%;
}

nav ul li{
	background: rgba(255,255,255,0.5);
}
nav ul li:nth-child(even){
	background: rgba(255,255,255,0.7);
}
nav ul li.active{
	background: rgba(255,255,255,0.95);
}

nav ul li.active a{
	color: #282828;	
}
nav ul li:hover{
	background:rgba(255,255,255,0.9);
}


nav ul li a{
		font-family: 'BebasNeueRegular';
		font-size: 16px;
		padding:6px 20px;
		display:block;
		color: #474747;
}

#footer{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 20px 0;
	color: #FFF;
	text-align:center;
}
#footer ul.socialicons{
	padding: 0 20px;
}
#footer ul.socialicons li{
	float: left;
	margin: 0 3px;
}
#footer ul.socialicons a{
	font-size: 24px;
	color: #FFF;
}
#footer ul.socialicons a:hover{
	color: #282828;
}

#footer .copyright{
	clear: both;
}

#footer p{
	border-bottom: 1px solid #FFF;
	padding-bottom: 10px;
	margin-bottom: 10px;
	padding: 0 20px 10px;
}


/*  RESTTING THE HEADER */

header,nav,#logoarea,#footer{
	/*left: -180px;*/
}


/*========================================================================================*/
/*  General Classes
/*========================================================================================*/
.fix{
	position: fixed;
	z-index:2;
}

/*===Column Shortcode =====*/
.one_half { width: 50%;float: left;/* min-width: 240px; */
}
.one_third { width: 33.3%; float: left; /*min-width: 160px;*/
}
.one_fourth { width: 25%;float: left; /*min-width: 120px;*/
}
.one_fifth { width: 20%;float: left;/*min-width: 96px;*/
}

.two_third { width: 66.6%; float: left;}
.three_fourth { width: 75%;float: left;}
.two_fifth{width: 40%;float: left;}
.three_fifth{width: 60%;float: left;}
.four_fifth{width: 80%;float: left;}

.column_content{
    padding-left:0px;
}
.column_content img{
	max-width: 100%;
}
.column_content.first{
    padding-left:0;
}

.gmap {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.gmap iframe,   
.gmap object,  
.gmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pullright{
	float: right;
}
.alignleft{
	float: left;
	padding: 0 20px 20px 0;
}

.spin {
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  -webkit-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
  display: inline-block;
}




/*========================================================================================*/
/*  SECTION
/*========================================================================================*/

section{
	width: 100%;
	height: 100%;
	overflow: hidden;
	display: block;
	position: relative;
	z-index: 1;
	background-size: cover;
}

section .container{
	margin-left: 180px;
}

.content{
	background: rgba(255,255,255, 0.9);
	color: #EEE;
}

.content .main{
	padding: 20px;
}
.content h1,
.content h2,
.content h3{
color: #474747;
}

.center{
	width: 60%;
	margin: 10% 20%;
}

.righttop{
	width: 60%;
	margin: 10% 10% 10% 30%;
}
.contentfooter{
	clear: both;
	display: block;
	background: #EEE;
        margin-bottom:20px;
}
.contentfooter a{
	text-align:center;
	padding: 10px 20px;
	display:block;
	font-family: 'BebasNeueRegular';	
}

.contentfooter label{
	font-family: 'BebasNeueRegular';
	background: rgba(40,40,40,1);
	min-width:100px;
    padding: 10px 20px;
    float: left;
    text-align:center;
}

.gmap,.gmap iframe{
	width: 100%;
}
/*========================================================================================*/
/*  Right Frame
/*========================================================================================*/

.rightframe{
	width: 40%;
	right: -40%;
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	background: #EEE;
}
.rightframe.full{
	max-width: 75%;
}

.rightframe .date{
	color: #282828;
}

.rightcontent{
	overflow-y: scroll;
}

.rightcontent{
	padding: 30px;
	text-align:left;
}
.rightframe  img{
	max-width: 100%;
}
.rightframe .framecontrols{
	display:none;
	position: fixed;
	right: 40%;
	top: 40%;
	background: rgba(208,3,85,0.9);
	color: #FFF;
	font-size: 18px;
	width: 36px;
	text-align: center;
}

.rightframe.full .framecontrols{
	right: 75%;
}

.rightframe{
	right: -40%;
}

.rightframe.full{
	right: -75%;
	width: 75%;
}
.rightframe .framecontrols a{
	color: #FFF;
	cursor: pointer;
        display:block;
}
.rightframe.active .framecontrols{
	display:block;
}

.rightcontent article{
	margin: 0 0 30px 0;
}


/*========================================================================================*/
/*  SECTION HOME
/*========================================================================================*/
#home{
	text-align:center;
	position: relative;
	display: inline-block;
}

#mainlogo{
	max-width: 160px;
	margin: 20px auto 10px;
	opacity: 0.95;
}
h1.punchline{
	font-size: 36px;
}

section#home{
	background: url(../images/home.jpg) 50% 0;
}

#home .content{
	background: rgba(0,0,0,0.6);
}

#home .content h1,
#home .content h2,
#home .content h3{
color: #F1f1f1;
}
#home.fix{
	position: fixed;
	top: 0;
	overflow: hidden;
	z-index:4;
}

/*========================================================================================*/
/*  SECTION About Us
/*========================================================================================*/

#about{
	position: relative;
    
	background: url(../images/about.jpg) 50% 0;
	display: inline-block;
}

#about .content h1,
#about .content h2,
#about .content h3{
color: #474747;
}

#about p{
	color: #666;
}

#about.fix{
	position: fixed;
	top: 0;z-index:9;
}


/*========================================================================================*/
/*  SECTION Services
/*========================================================================================*/

#services{
	position: relative;
	background: url(../images/services.jpg) 50% 0;
	display: inline-block;
}

#services .content h1,
#services .content h2,
#services .content h3{
color: #474747;
}

#services .column_content{
	text-align: center;
}
#services .column_content h3{
	line-height: 1 em;
}
#services .column_content i{
	text-align: center;
	font-size: 48px;
	color: #444;
}

#services p{
	color: #666;
}

#services .one_fourth{
	margin-bottom: 20px;
}
#services.fix{
	position: fixed;
	top: 0;z-index:9;
}


/*========================================================================================*/
/*  SECTION Portfolio
/*========================================================================================*/

#portfolio{
	position: relative;
    
	background: url(../images/portfolio.jpg) 50% 0;
	display: inline-block;
}

#portfolio .content h1,
#portfolio .content h2,
#portfolio .content h3{
color: #474747;
}


#portfolio p{
	color: #666;
}

#portfolio.fix{
	position: fixed;
	top: 0;z-index:9;
}

.carousel.flexslider{
	background: transparent;
	border: none;
	margin: 0;
	box-shadow: none;
}
.carousel.flexslider .flex-direction-nav a{
	background: none;
	text-indent: 0;
	color: #FFF;
	font-size: 21px;
	background: #282828;
	border-radius:24px
}

.carousel.flexslider .flex-control-nav{
	bottom: -30px;
}

.carousel.flexslider .flex-control-nav li{
	margin: 0 2px;
}
.carousel.flexslider .flex-control-paging li a{
	width: 8px;
	height: 8px;
} 
.carousel.flexslider .flex-control-paging li a:hover,
.carousel.flexslider .flex-control-paging li a.flex-active{
	background: #282828;
}

#portfolio .rightcontent{
	text-align:center;
}

#portfolio img:hover{
	
}
#filters{
	margin: 10px auto;
	display: inline-block;
	border-bottom: 1px dotted #bbb;
}
#filters li{
	float: left;
	padding: 2px;
}
#filters li a{
	padding: 2px 5px;
}

#filters li a:hover,
#filters li a.active{
	color: #282828;
}
#filtercontainer{
	clear: both;
	display:block;
}
#filtercontainer li{
	float: left;
}

#filtercontainer li img{
	max-width: 216px;
	display:block;
}
/**** Isotope filtering ****/

.isotope-item {
  z-index: 99;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 98;
}

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
      -ms-transition-duration: 0.8s;
       -o-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
}

#filtercontainer li a,
#filtercontainer li a img {
	display: block;
	position: relative;
}
#filtercontainer li a {
	overflow: hidden;
}

#filtercontainer li a div {
	position: absolute;
	background: #333;
	background: rgba(75,75,75,0.7);
	width: 100%;
	height: 100%;
}
#filtercontainer li a div span {
	display: block;
	padding: 10px 0;
	margin: 40px 20px 0px 20px;
	text-transform: uppercase;
	font-weight: normal;
	color: rgba(255,255,255,0.9);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	border-bottom: 1px solid rgba(255,255,255,0.5);
	box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 -10px 0 rgba(255,255,255,0.3);
}

#filtercontainer li a div i{
	font-size: 24px;
	color: rgba(255,255,255,0.9);
}



/*========================================================================================*/
/*  SECTION Pricing
/*========================================================================================*/

#pricing{
	position: relative;
    
	background: url(../images/pricing.jpg) 50% 0;
	display: inline-block;
}

#contact .content h1,
#contact .content h2,
#contact .content h3{
color: #474747;
}

#contact .content .pricingtable .popular h2,
#contact .content .pricingtable .popular h3{
	color: #FFF;
}
#pricing .pricingtable{
text-align:center;
font-weight:400;
display:inline-block;
width: 100%;
}

.pricingtable ul {
line-height: auto;
list-style: none;
padding-left: 0;
}

.pricingtable .column_content{
border:1px solid #EFEFEF;
background:rgba(255,255,255,0.7);
border-right:none;
padding:40px 0 ;
}

.pricingtable .one_third:last-child  .column_content{
border-right:1px solid #282828;
}
.pricingtable .column_content h2{
font-size:13px;
}
.pricingtable .column_content h2 strong{
font-size:48px;
}
.pricingtable .column_content h3{
padding-bottom: 20px;
border-bottom: 1px solid #EFEFEF;
}
.pricingtable .column_content.popular h2,
.pricingtable .column_content.popular h3{
color: #FFF;
}
.pricingtable .column_content li{
padding: 6px;font-weight:400;
border-bottom: 1px solid #EFEFEF;
}

.pricingtable .column_content li:nth-child(even) {
	background: rgba(255,255,255,0.8);
}

.pricingtable .popular{
color: #FFF;
background: rgba(208,3,85,0.7);
border: 1px solid rgba(208,3,85,0.9);
}
.pricingtable .popular .button{
	background: #222;
}
.pricingtable .popular h3,
.pricingtable .popular li{
border-bottom-color: rgba(208,3,85,0.8);
}
.pricingtable .popular li:nth-child(even) {
	background: rgba(208,3,85,0.8);
}

.pricingtable .button{
	margin: 20px 0 0;
}
#pricing.fix{
	position: fixed;
	top: 0;z-index:9;
}


/*========================================================================================*/
/*  SECTION Services
/*========================================================================================*/

#contact{
	position: relative;
    
	background: url(../images/contact.jpg) 50% 0;
	display: inline-block;
}

#contact .content h1,
#contact .content h2,
#contact .content h3{
color: #474747;
}

#contact .column_content{
	text-align: center;
}
#contact .column_content h3{
	line-height: 1 em;
}
#contact .column_content i{
	text-align: center;
	font-size: 48px;
	color: #444;
}

#contact p{
	color: #666;
}
#contact .contentfooter a{
	background: #222;
	color: #FFF;
}
#contact .one_fourth{
	margin-bottom: 20px;
}
#contact.fix{
	position: fixed;
	top: 0;z-index:9;
}

/*========================================================================================*/
/*  RESPONSIVE FIXES
/*========================================================================================*/

@media (max-width: 767px){

header{
	background: rgba(255,255,255,0.9);
}
#footer,
#footer ul.socialicons a{
		color: #444;
}
section .container{
	margin: 49px 20px 0;
}

.center{
	width: 100%;
	margin: 0;
}

#menu{
	top: 0;
}

#logo{
	position: absolute;
	top: 5px;
        left:10px;
	z-index: 9999;
}

#logo img{
	height: 40px;
        width:auto;
	}
	
nav{
	top: 0;
}

h1,h2,h3,h4,h5,h6{
line-height:1.2;
-ms-word-break: break-all; 
  word-break: break-all; 
  word-break: break-word; /* old webkit */ 
}	
}

/*========================================================================================*/
/*  CSS3 Animation
/*========================================================================================*/

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-o-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@-ms-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
    -o-transform: rotate(359deg);
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}
