/*
Theme Name: Alternate
Theme URI: http://www.vivathemes.com/alternate/
Description:  Responsive portfolio theme.
Author: Viva Themes
Author URI: http://www.vivathemes.com
License: GNU GPL
License URI: http://www.gnu.org/licenses/gpl.html
Version: 2.0.1
Tags: two-columns, responsive-layout, custom-menu, featured-images
Text Domain: alternate
*/


body,html{
  height:100%;
  min-height: 100%;
}

body {
	background: #fff;
	color: #3f3f3f;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-size: 14px;
	font-weight: 300;
	margin:0;
	padding:0;
	line-height: 175%;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
}
	
h1 {
	font-size: 26px;
	color: #3f3f3f;
	margin-top: 20px;
	text-transform: none;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: normal;
}

h2 {
	color: #3f3f3f;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-size: 22px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: normal;
}

h3 {
	color: #3f3f3f;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-size: 20px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: normal;
}

h4 {
	color: #3f3f3f;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-size: 16px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: normal;
}

h5 {
	color: #3f3f3f;
	margin:0;
	padding:0;
	margin-top: 20px;
	text-transform: none;
	font-size: 12px;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: normal;
}

p { margin-top: 6px; }

img { 
	border: none; padding:0; 
}

img a {
	border:none;
}

img.left { 
	float: left; border: none; padding: 6px 0 0 0; 
}

img.right { 
	float: right; border: none; padding: 0 0 0 6px; 
	}

blockquote {
	border-left:1px solid #ccc;
	margin:15px;
	padding:0 12px 0 12px;
	font-style: italic;
}

code{
	font-family:"Courier New", Courier, monospace;
}


/* links */

a {
	color: #333;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

/* container */

#container {
	width: 100%;
	float: left;
	clear: left;
	overflow: hidden;
}

#wrapper {
	max-width: 1000px;
	margin: 0 auto;
	padding-left: 25px;
	padding-right: 25px;
}

#leftside {
	width: 18%;
	float: left;
	margin-top: 100px;
	margin-bottom: 60px;
}

#rightside {
	width: 82%;
	float: left;
	margin-top: 100px;
	margin-bottom: 60px;
}
	
/* Logo */

#logo {	
	width: 100%;
	float:left;
}

#logo a {
	text-decoration: none;
}

#logo h1 a,
#logo h1 {
	font-size: 54px;
	color: #3f3f3f;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 56px;
	margin-top: 0;
	font-weight: 700;
}

/* Main Menu */

#mainmenu {
	width: 100%;
	float: left;
	clear: left;
	margin-top: 40px;
}

.mainnav {
  	position: relative;
  	left: 0;
  	top: 0;
  	height: auto;
  	width: 100%;
  	padding: 0;
	margin: 0;
  	font-size: 12px; 
}

.mainnav  li {
    padding: 0; 
	margin: 0;
	list-style: none;
}
    
.mainnav li a {
    display: block;
    width: 100%;
    padding: 0;
	margin: 0;
    text-decoration: none;
    text-transform: uppercase;
    color: #3f3f3f;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: 700;
	font-size: 14px;
	-webkit-transition: all .3s ease;
  	-moz-transition:    all .3s ease;
  	-ms-transition:     all .3s ease;
  	-o-transition:      all .3s ease;
}

.mainnav li.menu-item-has-children a:after {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 16px/1 'Genericons';
	content: '\f510';
	color: #ccc;
	line-height: 175%;
	position: absolute;
	right: 0;
}

.mainnav li.menu-item-has-children > ul li.menu-item-has-children li a:after,
.mainnav li.menu-item-has-children > ul li a:after {
	display: none;
}

.mainnav li.menu-item-has-children > ul li.menu-item-has-children a:after {
	display: inline-block;
}

.mainnav li.current-menu-item a,
.mainnav li:hover a {
	color: #999;
}

.mainnav li.current-menu-item > ul li.current-menu-item li a,
.mainnav li:hover > ul li:hover li a,
.mainnav li.current-menu-item > ul li a,
.mainnav li:hover > ul li a {
	color: #ccc;
}

.mainnav li ul {
	width: 100%;
	padding: 0;
	margin: 0;
	display: none;
}
  
.mainnav  li > ul li {
	padding: 0; 
}
    
.mainnav  li > ul li a {
      color: #ccc; 
	  padding: 0;
}

.mainnav  li > ul li:hover a,
.mainnav  li > ul li.current-menu-item a {
	color: #999;
}

    
.mainnav  li > ul li > ul li {
      padding: 0; }

.mainnav  li > ul li > ul li a {
        color: #ccc;
        font-size: 12px;
        text-transform: none;
        padding: 0; 
}

#leftbar {
	width: 100%;
	float: left;
	clear: left;
	margin-top: 40px;
}

#leftbar .widgets {
	width: 100%;
	clear: left;
	margin-bottom: 20px;
	font-size: 13px
}

#leftbar h2 {
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #3f3f3f;
	text-transform: uppercase;
	margin-bottom: 2px;
}

#leftbar ul {
	padding: 0;
	margin: 0;
	width: 100%;
	float: left;
	clear: left;
}

#leftbar ul li {
	padding-top: 5px;
	padding-bottom: 5px;
	list-style: none;
	width: 100%;
	margin-top: 2px;
}

#leftbar ul li ul li {
	border: none;
	list-style: none;
	margin-left: 0;
	margin-top: 2px;
	float: left;
	clear: left;
	width: 100%;
}

#leftbar ul li a {
	text-decoration: underline;
}

#leftbar ul li a:hover {
	text-decoration: none;
}

#leftbar a {
	text-decoration: underline;
}
	
#leftbar a:hover {
	border: none;
	text-decoration: none;
}
 

/* search */

#searchform {
	padding:0;
	margin:0;
	float: left;
	width: 170px;
	margin-top: 10px;
	margin-right: 8px;
}

#searchform input#s {
	margin:0;
	padding:2px;
	width: 157px;
	padding-left: 3px;
	background: #fff;	
	border: solid 1px #ccc;	
	height:20px;
	font-size:11px;
	padding-top:2px;
}

#searchform input#searchsubmit {
	display: none;
}


/* Content Section */

#contentwrapper {
	width: 100%;
	float: left;
	clear: left;
}

.portfolio,
#content {
	width: 92%;
	float: left;
	margin-left: 8%;
}

/* content */


.attachment-singlethumb {
	margin-bottom: 10px;
}

.post {
	margin:0;
	padding:0;
	width: 100%;
	float: left;
	clear: left;
	margin-bottom: 60px;
}

.entry {
}

h1.page-title,
h1.entry-title,
h2.entry-title {
	margin:0;
	padding: 0;
	font-weight: 700;
	color: #3f3f3f;
	text-transform: uppercase;
	font-size: 24px;
	padding-bottom: 7px;
}

h2.entry-title a {
	text-decoration: none;
	color: #3f3f3f;
	font-size: 24px;
	line-height: 120%;
}

h1.page-title {
	margin-bottom: 30px;
}

.post ul {}

.post li {
	margin-left: 15px;
}

.entry p {
	margin: 8px 0;
}

.postdate {
	font-size: 20px;
	text-transform: uppercase;
	text-decoration: none;
	color: #999;
}

.belowpost {
	float: left;
	display: inline-block;
	position: relative;
	top: 10px;
	left: 0px;
}

.btnmore {
	border: none;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background: none;
	cursor: pointer;
	display: inline-block;
	outline: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.btnmore:after {
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

a.btnmore {
	font-size: 12px;
	font-weight: 700;
	font-style: normal;
	text-transform: uppercase;
	padding: 8px 16px;
	color: #3f3f3f;
	width: auto;
	text-decoration: none;
	display: block;
	border: solid 2px #ffcc33;
}

.btnmore:after {
	width: 0%;
	height: 100%;
	top: 0;
	left: 0;
	background: #ffcc33;
}

.btnmore:hover,
.btnmore:active {
	color: #fff;
}

.btnmore:hover:after,
.btnmore:active:after {
	width: 100%;
}


p.singletags {
	line-height: 32px;
}

p.singletags a {
	text-decoration: none;
	border: solid 2px #eaeaea;
	height: 26px;
	line-height: 26px;
	font-size: 16px;
	display: inline-block;
	padding: 0 6px;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
}

p.singletags a:hover {
	color: #999;
}

p.singletags:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 32px/1 'Genericons';
	vertical-align: top;
	content: '\f302';
}

ol {
	margin: 10px;
}

ul {
	margin: 5px;
}


/* portfolio */

.portfolio li.post {
	width: 250px;
	height: 250px;
	float: left;
	clear: none;
	overflow: hidden;
	position: relative;
}

.attachment-portothumb {
	position: relative;
	display: block;
	z-index: 2;
	float: left;
	margin: 0;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
}

.portfolio li.post:hover .attachment-portothumb {
	margin-top: 250px;
}

.portfolio .mask {
	height: 220px;
	width: 220px;
	background: #333;
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: block;
	padding: 15px;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

/* comments */


#commentform {
	margin:0;
	padding:0;
	clear: both;
	float: left;
}
	
#commentform p {
}
	
#commentform a { 
	text-decoration: none; 
	line-height: 14pt;
}
	
#commentform h3 {
	font-size: 10pt;
	font-weight: 400;
	font-size: 14px;
	text-transform: uppercase;
	margin:0;
	padding:0;
}
	
#comment {
	width:80%;
}

#comments label {
	float: left;
	clear: left;
	margin-top: 15px;
}

#author, #email, #url, #comment {
	font-size: 11px;
	padding:12px 16px;
	border: solid 2px #eaeaea;
	float: left;
	clear: left;
	margin-top: 0;
	color:  #3f3f3f;	
}

#author, #email, #url {
	height:16px;
}
	
#submit {
	cursor:pointer;	
	padding: 12px 16px;
	border: solid 2px #eaeaea;
	float: left;
	clear: left;
	margin-top: 10px;
	-webkit-transition: all 0.4s ease;
  	-moz-transition:    all 0.4s ease;
  	-ms-transition:     all 0.4s ease;
  	-o-transition:      all 0.4s ease;
	background: none;
	color: #3f3f3f;
	text-transform: uppercase;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: 700;
}

#submit:hover {
	color: #999;
}

#comments {
	margin:0; 
	padding:0;
	clear: both;
	float: left;
}

#respond h3,
#comments h2 {
	color: #3f3f3f;
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 700;
}	


.reply a.comment-reply-link {
	border: solid 2px #eaeaea;
	text-transform: uppercase;
	font-family: 'Open Sans', arial, helvetica, tahoma, sans-serif;
	font-weight: 700;
	-webkit-transition: all 0.4s ease;
  	-moz-transition:    all 0.4s ease;
  	-ms-transition:     all 0.4s ease;
  	-o-transition:      all 0.4s ease;
	padding: 2px 10px;
	margin-top: 5px;
	float: left;
	clear: left;
	font-size: 12px;
}

.reply a.comment-reply-link:hover{
	color: #999;
}	

ol.commentlist { 
	list-style-type: none; 
	margin:0; 
	padding:0; 
	float:left;
	margin-top: 15px;
}

.avatar {
	float:left; 
	margin: 10px 20px 0 0;
	width: 30px;
	height: 30px;
}

ol.commentlist li.comment {
	margin: 0;
	padding: 4%;
	list-style-type:none;
	float: left;
    width: 90%;
	margin-bottom: 20px;
	border: solid 2px #eaeaea;
}

ol.commentlist li ul.children {
	width: 80%;
}

ol.commentlist li ul.children li {
	width: 100%;
	border: none;
	margin-bottom: 0;
}

ol.commentlist li.alt {
	
}

ol.commentlist li p {
	margin: 6px 0 6px 0; 
	padding: 0 12px 0 0; 
	line-height: 14pt;
}

ol.commentlist a {
	text-decoration: none;
}

cite {
	font-family: arial, verdana, tahoma;
	font-size: 9pt;
	font-weight: bold;
	font-style: normal;
	}
	
cite a {
	color: #666; 
	text-decoration: none; 
	border-bottom: 1px dotted #666;
}

/* footer */

#footer {
	width: 100%;
	float: left;
	clear: both;
	padding-bottom: 120px;
}

#bottomwidgets {
	width: 100%;
	float: left;
	background: #eaeaea;
	padding-top: 40px;
}

#bottominner {
	max-width: 1160px;
	margin: 0 auto;
	padding-left: 25px;
	padding-right: 25px;
}

#bottomwidgets .widgets {
	max-width: 400px;
	float: left;
	margin-bottom: 40px;
	margin-left: 90px;
	margin-right: 90px;
}

#bottomwidgets h2 {
	font-size: 20px;
	font-weight: 800;
	color: #3f3f3f;
	margin-bottom: 10px;
	text-transform: uppercase;
}

#bottomwidgets ul {
	padding: 0;
	margin: 0;
	width: 100%;
	float: left;
	clear: left;
}

#bottomwidgets ul li {
	padding-top: 5px;
	padding-bottom: 5px;
	list-style: none;
	width: 100%;
	margin-top: 2px;
}

#bottomwidgets ul li ul li {
	border: none;
	list-style: none;
	margin-left: 0;
	margin-top: 2px;
	float: left;
	clear: left;
	width: 100%;
}

#bottomwidgets ul li a {
	text-decoration: underline;
}

#bottomwidgets ul li a:hover {
	text-decoration: none;
}

#bottomwidgets a {
	text-decoration: underline;
}
	
#bottomwidgets a:hover {
	border: none;
	text-decoration: none;
}

#copyinfo {
	width: 100%;
	float: left;
	text-decoration: none;
	font-size: 14px;
	margin-top: 8px;
	line-height: 100%;
	clear: both;
	text-align: center;
}

#copyinfo a {
	text-decoration: none;
}

#socialize {
	width: 100%;
	float: left;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 50px;
}

a.socialicon {
	width: 40px;
	height: 40px;
	text-align: center;
	margin: 0;
	margin-right: 5px;
	margin-left: 5px;
	border: solid 2px #eaeaea;
	color: #3f3f3f;
	display: inline-block;
	-webkit-transition: all 0.3s ease;
  	-moz-transition:    all 0.3s ease;
  	-ms-transition:     all 0.3s ease;
  	-o-transition:      all 0.3s ease;
	text-decoration: none;
}

a.socialicon:hover {
	color: #999;
	border: solid 2px #eaeaea;
}

a.socialicon:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 16px/1 'Genericons';
	line-height: 40px;
}

a.twittericon:before {
	content: '\f202';
}

a.facebookicon:before {
	content: '\f204';
}

a.linkedinicon:before {
	content: '\f207';
}

a.dribbleicon:before {
	content: '\f201';
}

a.pinteresticon:before {
	content: '\f209';
}

a.flickricon:before {
	content: '\f211';
}

a.vimeoicon:before {
	content: '\f212';
}

a.youtubeicon:before {
	content: '\f213';
}

a.tumblricon:before {
	content: '\f214';
}

a.instagramicon:before {
	content: '\f215';
}

a.googleplusicon:before {
	content: '\f218';
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
	
	html {
	    -webkit-text-size-adjust: none; 
	}
	
	body {
		background: #fff;
	}
	
	#leftside {
		width: 100%;
	}
	
	#rightside {
		width: 100%;
		float: left;
		margin-top: 0;
	}
	
	#leftbar {
		display: none;
	}
	
	#logo {
		width: 50%;
	}
	
	.portfolio,
	#content {
		width: 100%;
		float: left;
		margin-left: 0;
	}
	
}

@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {
	
	html {
	    -webkit-text-size-adjust: none; 
	}
	
	body {
		background: #fff;
	}
	
	#leftside {
		width: 100%;
	}
	
	#rightside {
		width: 100%;
		float: left;
		margin-top: 0;
	}
	
	#leftbar {
		display: none;
	}
	
	#logo {
		width: 50%;
	}
	
	.portfolio,
	#content {
		width: 100%;
		float: left;
		margin-left: 0;
	}
	
	#bottomwidgets .widgets {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.pagination span, .pagination a,
	.pagination a:hover, .pagination .current,
	ul.filter li a {
		padding: 0 5px;
	}
}