/*
Simple Responsive Template v 1.2


primary styles 
   Author: www.prowebdesign.ro
   Add your own styles to customize the project.



BASE (MOBILE) SIZE
	These are the mobile styles. It's what people see on their phones.
	Remember, keep it light: Speed is Important.
*/

/* typography */
@font-face {
    font-family: 'accentnormal';
    src: url('../fonts/accent-webfont.eot');
    src: url('../fonts/accent-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/accent-webfont.woff') format('woff'),
         url('../fonts/accent-webfont.ttf') format('truetype'),
         url('../fonts/accent-webfont.svg#accentnormal') format('svg');
    font-weight: normal;
    font-style: normal;
}
body{
	background:#fff;
	color:#666;
	font-family: 'Open Sans', sans-serif; 
	font-size:14px;
	line-height:1.4em; 
	font-weight:normal;
	margin-top:68px;
}
h1, h2, h3, h4, h5, h6{
	font-weight:400;
	font-family: 'Open Sans', sans-serif; 
	line-height:1.5em;
	margin:1.2em 0 0;
	padding:0;
} 
h1.top-header, h2.top-header, h3.top-header, h4.top-header, h5.top-header, h6.top-header{margin:0;}
.section-header{
	font-size:50px;
	line-height:1em;
	margin:0 0 20px;
}

/* links */
a,
a:visited,
a:active,
a:hover{color:#0099ff;}
a:hover{ text-decoration:none;}


/* Box sizing. */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}
  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
header{ 
	padding:15px 0 0;
	min-height:68px;
	background:#363b3f;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index:100;
}
#banner{ 
	float:left;
	text-align:left;
}
#banner h1{
    margin-bottom:5px;
    margin-top:10px;
}
.flexslider{
	display:none;
}
p{ margin:0 0 1.5em;}



/* RESPONSIVE IMAGES  */
img{ max-width:100%; height:auto;}


/*MAIN MENU*/
.menu-toggle{
	display:block;
	position:absolute;
	z-index:400;
	top:0;
	right:0;
	height:58px;/*this can vary depending on how tall the header is. And how tall the header is depends on how tall your logo is. Play with numbers to adjust*/
    padding: 20px 10px 0;
	background:#f4ad03;
	color:#fff;
	cursor:pointer;
	text-transform:uppercase;
}
.menu-toggle.toggled-on{
	background:#887dc2;
}
.srt-menu{
	display:none;
	clear:both;
}	
.srt-menu.toggled-on{
	display:block;
	position:relative;
	z-index:200;
}
.srt-menu li{ border-bottom:1px solid #1d2124;}
.srt-menu li:last-child{ border-bottom:none;}
.srt-menu li a {
	color:#ccc;
	display:block;
	margin:1px 0; 
	padding:10px;
	text-decoration:none;
	font-size:.9em;
}
.srt-menu li a:hover{
	color:#fff;
}
.srt-menu li li a {
	padding-left:40px;
}
.srt-menu li li li a {
	padding-left:80px;
}

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:90px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}


/*PORTFOLIO BOXES*/
.portfolio-item{
	position:relative;
	max-width:400px;
	/*max-height:538px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:128px;*/
    border:1px solid #666;
    border-radius:5px;
}

.portfolio-item:hover{
    border-color:#ccc;
}

.portfolio-item a{
    display:block;
}

.portfolio-item a{
    text-align:center; 
}

.portfolio-item-description{
	position:absolute;
	bottom:48px;
	left:8px;
	right:8px;
	padding:160px;
	font-size:12px;
	visibility:hidden;
	background:#000;
	background:rgba(0,0,0,0.8);
	color:#fff;
}
.portfolio-item:hover .portfolio-item-description,
.portfolio-item:focus .portfolio-item-description{
	visibility:visible;
}

/*PORTFOLIO SORTING LIST*/
#filters, #filters li{
	margin:0;
	padding:0;
	list-style:none;
}
#filters li a{
	display:inline-block;
	float:left;
	background:#363b3f;
	padding:10px;
	margin:0 1px 1px 0;
	text-transform:uppercase;
	text-decoration:none;
	color:#fff;
	font-family: 'Open Sans Light', sans-serif; 
	font-size:14px;
}
#filters li a:hover, #filters li a:focus{
	background:#2a2f33;
}

/*Some colored elements*/
a.buttonlink{ 
	background:#f4ad03; 
	border-radius:7px; 
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:20px;
	font-size:18px;
	text-decoration:none;
	color:#000;
}
a.buttonlink:hover{
	background:#887dc2;
}
.yellow-background{
	background:#f4ad03;
	color:#fff;
}
.violet-background{
	background:#887dc2;
	color:#fff;
}
.grey-background{
	background:#363b3f;
	color:#fff;
}
.dark-grey-background{
	background:#1d2124;
	color:#fff;
}


/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}

/*HELPER CLASSES*/
.no-margin{	margin:0;}
.no-padding{padding:0;}
.padding-top-30{ padding-top:30px;}
.padding-bottom-30{ padding-bottom:30px;}
.padding-top-60{ padding-top:60px;}
.padding-bottom-60{ padding-bottom:60px;}
.padding-top-90{ padding-top:90px;}
.padding-bottom-90{ padding-bottom:90px;}
.text-right{ text-align:right;}
.text-large{ font-size:18px;}


/****************************************
*****************************************
MEDIAQUERIES
*****************************************
****************************************/



/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/

@media only screen and (max-width: 480px) {
    
    .portfolio-item{
        width:98%;
        padding: 10px;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 20px;
    }
    #banner h1{
        margin-bottom:5px;
        margin-top:20px;
        font-size:1.2em;
    }
}
@media only screen and (min-width: 481px) {
    .portfolio-item{
        float:left;
        width:48%;
        padding: 1.5%;
        margin-left: 1%;
        margin-right: 1%;
        margin-bottom: 1%;
    }
} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) {
.wrapper{
	max-width: 1200px; 
}
#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
	margin-top:5px;
}

.section-header{text-align:right;}

.flexslider{
	display:block;
/*demo 1 slider theme*/	
margin: 0; 
}
.flex-control-nav {bottom: 5px;}

/*** MAIN MENU - ESSENTIAL STYLES ***/
.menu-toggle{display:none;}
#menu-main-navigation{display:block;}

.srt-menu, .srt-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.srt-menu ul {
	position:		absolute;
	display:none;
	width:			12em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width:			100%;
}
.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float:			left;
	position:		relative;
	margin-left:1px;
	height:25px;
}
.srt-menu li li {
	margin-left:0px;
	height:auto;
}
.srt-menu a {
	display:		block;
	position:		relative;
}
.srt-menu li:hover ul,
.srt-menu li.sfHover ul {
	display:block;
	left:			0;
	top:			42px; /* match top ul list item height */
	z-index:		99;
	-webkit-box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
    box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
}
ul.srt-menu li:hover li ul,
ul.srt-menu li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li:hover ul,
ul.srt-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.srt-menu li li:hover li ul,
ul.srt-menu li li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li li:hover ul,
ul.srt-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** SKIN ***/
#topnav, .srt-menu {
	float:right;
	margin: 0;
}
.srt-menu a {
	text-decoration:none;
}
.srt-menu li{border-bottom:none;}
.srt-menu li a{
	margin:0; 
	padding:10px 20px;
}
.srt-menu li li a {
		border-top:		1px solid rgba(255,255,255,.2);
		background:		#333; /*fallback for old IE*/
		background:rgba(0,0,0,.6);
		color:	#fff;
		padding-left:20px;
}
.srt-menu li li a:visited{color:#fff;}
.srt-menu li li li a,
.srt-menu li.current * li a{
	padding-left:20px;
	background:rgba(0,0,0,.6);
}

.srt-menu li:hover > a,
.srt-menu li a.current{ 
	color:#fff;
	background:#f4ad03;
}
.srt-menu li li:hover > a{
	color:#fff;
	background:#f4ad03;
}



/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	float: left;
	display: block;
	margin-bottom:0px;
}

.rightfloat{float:right;}


#filters li a{
	float:right;
	clear:both;
}

#filters li a{
	padding:15px;
	font-size:18px;
}

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1024px) {
	/*lets make section headers pretty*/
.section-header{
	font-family:'Open Sans', sans-serif; 
	font-size:50px;
	line-height:1em;
	margin:0;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.section-header .fancy-ampersand{
	font-family:'Open Sans', sans-serif;
	position:absolute;
	top:50px;
	right:430px;
	font-size:50px;
}

} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
.photo-camera-bg{ background:url(../images/photo-camera-bg.jpg) top right no-repeat;}
.laptop-bg{ background:url(../images/laptop-bg.jpg) top right no-repeat;}
.section-header.lg{ font-size:50px;}
    

.portfolio-item{
	width:31%;
    padding: 1%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 20px;
}
    
} 

@media only screen and (min-width: 1340px) {

.photo-camera-bg{ background:url(../images/photo-camera-bg.jpg) 86% top no-repeat;}
}

@media only screen and (min-width: 1921px) {
.portfolio-item{
	width:23%;
    padding: 1%;
    margin-left: 1%;
    margin-right: 1%;
    margin-bottom: 20px;
}
}

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}