/*
 Theme Name: Swiss
 Theme URI: blankcanvas.eu/wordpress/swiss/
 Description: Responsive web design theme for WordPress.
 Author: Tomasz Mazur
 Author URI: http://www.blankcanvas.eu/
 Version: 2.1.0
 Tags: microformats, sticky-post, right-sidebar,  sticky-post, holiday,  threaded-comments, theme-options, translation-ready, custom-menu, editor-style, featured-image-header, post-formats, custom-background, featured-images, left-sidebar,   full-width-template
 License:GNU General Public License, v2 (or newer)
 License URI:http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 Text Domain: swiss
 */
/*
 Swiss WordPress theme, Copyright (C) 2013 tommek
 Swiss WordPress theme is licensed under the GPL.
 
All pictures were created by Tomasz Mazur - http://www.tommek.eu/. 
All pictures are avaiable on GPL licence.
 * images/header.jpg
 * images/header-thumbnail.jpg
 * images/header-2.jpg
 * images/header-2-thumbnail.jpg
 * images/header-3.jpg
 * images/header-3-thumbnail.jpg
 * images/icon.png
 * images/link.png
 * images/portfolio.jpg
 * images/r.png
 * images/l.png
*/
/*
 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: 1;
}
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;
}
/*------------*/
/*  Html tags */
/*------------*/
html {
    overflow-y: scroll;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    font: 14px "HelveticaNeue", Arial, 'Helvetica Neue', Helvetica, FreeSans, 'Liberation Sans', 'Nimbus Sans L', sans-serif;
    line-height: 1.5;
    color: #444;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
p {
    font-size: 1em;
    margin: 0 0 1em 0;
    text-indent: 0;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    margin: 0 0 0.5em;
}
h1 {
    font-size: 28px;
    font-size: 2.8rem;
    line-height: .91667;
}

h2 {
    font-size: 22px;
    font-size: 2.2rem;
    line-height: 1.375;
}

h3,
h4 {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 1.57143;
}

h5,
h6 {
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 2;
}

a {
    outline: none;
    color: #dd3333;
    text-decoration: none;
}
a:hover {
    color: #777
}
a, input[type=submit], input[type=button], input[type=text], textarea {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}
embed, iframe, object, video {
    max-width: 100%;
}
del {
    text-decoration: line-through;
}
ol, ul {
    list-style: none
}
blockquote, q {
    quotes: none;
}
blockquote {
    margin: 0 0 1em;
}
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
}
q, var {
    font-style: italic;
}
blockquote:before, blockquote:after {
    background: transparent url(images/icon.png) no-repeat -78px -48px;
    height: 40px;
    width: 40px;
    padding: 0 5px;
    display: block
}
blockquote:after {
    background: transparent url(images/icon.png) no-repeat -38px -98px;
}
blockquote cite {
    font-variant: small-caps;
}
address {
    margin: 1em 0;
    font-style: italic;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    font-family: Consolas, "Courier New", Courier, monospace;
    width: 100%;
    text-align: left;
}
thead th {
    background: #efefef;
}
td, th {
    padding: 4px 5px;
    border: 1px solid #ddd;
}
pre {
    font-family: Consolas, "Courier New", Courier, monospace;
    color: #222;
    background: #eee;
    padding: 10px;
    overflow: auto;
    margin-bottom: 1em
}
code {
    font-family: Consolas, "Courier New", Courier, monospace;
    font-weight: normal;
    font-style: normal;
}
sup, sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    font-size: 0.81em;
}
sup {
    bottom: 1ex;
}
sub {
    top: 0.5ex;
}
abbr {
    cursor: help;
}
em, i {
    font-style: italic
}
strong, b {
    font-weight: bold;
}
big {
    font-size: larger
}
abbr {
    cursor: help;
    text-decoration: underline;
}
acronym {
    font-variant: small-caps
}
input, textarea {
    background: #fefefe;
    border: 3px solid #ddd;
    padding: 3px 6px 5px;
    margin: 2px;
}
input[type=submit], #searchsubmit {
    color: white;
    text-decoration: none;
    cursor: pointer;
    background: #59c7e5; /* Old browsers */
    background: -moz-linear-gradient(top,  #59c7e5 0%, #16bac9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#59c7e5), color-stop(100%,#16bac9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #59c7e5 0%,#16bac9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59c7e5', endColorstr='#16bac9',GradientType=0 ); /* IE6-9 */
}
input[type=submit]:hover, #searchsubmit:hover {
    opacity: 0.8
}
::selection {
    background-color: #55595c;
    color: #fff;
    text-shadow: 0 1px 0 #000;
}
::-moz-selection {
    background-color: #55595c;
    color: #fff;
    text-shadow: 0 1px 0 #000;
}
/*------------*/
/*  Search */
/*------------*/
#searchform input {
    margin-top: 5px
}
#searchform  #s {
    width: 10em;
}
#searchsubmit {
    cursor: pointer;
}
.assistive-text, .screen-reader-text {
    display: none;
}
@media screen and (max-width: 767px) {
    .assistive-text, .screen-reader-text {
        display: block;
    }
    h3.screen-reader-text {
        padding: 10px;
        margin: 0;
        color: #999;
    }
    h3.screen-reader-text a {
        font-size: small;
        color: #999;
    }
}
/*------------*/
/*  Menu primary */
/*------------*/
#nav {
    background: #353535;
    z-index: 8888
}
.menu-primary {
    position: relative;
    width: 100%;
    padding: 10px 0
}
.menu-primary a {
    text-align: center;
    display: block;
    padding: 5px 8px 8px 8px;
    color: #fff
}
.menu-primary ul {
    padding: 0;
    z-index: 500;
}
.menu-primary ul ul {
    position: absolute;
    z-index: 10000 !important;
    top: auto;
    display: none;
    padding: 1em;
    margin: 0;
    background: #3F3F3F;
    -webkit-box-shadow: 1px 1px 1px #000;
    -moz-box-shadow: 1px 1px 1px #000;
    box-shadow: 1px 1px 1px #000;
}
.menu-primary ul ul ul {
    z-index: 7001;
    top: 0;
    left: 100%;
}
.menu-primary li {
    float: left;
    position: relative;
    min-height: 1px;
    vertical-align: bottom;
}
.menu-primary li li {
    border-top: 1px #555 solid;
    margin: 0;
    width: 200px;
    background: none
}
.menu-primary li li:last-child {
    border-bottom: 1px #555 solid;
}
.menu-primary li li a {
    text-align: left;
}
.menu-primary .current_page_item a, .menu-primary .current-menu-item a, .menu-primary .sub-menu .current_page_item a, .menu-primary .sub-menu .sub-menu .current-menu-item a, .menu-primary .current-menu-ancestor a, .menu-primary .current_page_ancestor a {
    color: #aaa;
}
.menu-primary .children .current-menu-item a, .menu-primary .children .children .current-menu-item a, .menu-primary .children .current_page_item a, .menu-primary .children .children .current_page_item a {
    color: #000
}
.menu-primary li:hover {
    cursor: pointer;
    z-index: 100;
}
.menu-primary li:hover ul ul, .menu-primary li li:hover ul ul, .menu-primary li li li:hover ul ul, .menu-primary li li li li:hover ul ul {
    display: none;
}
.menu-primary li:hover ul, .menu-primary li li:hover ul, .menu-primary li li li:hover ul, .menu-primary li li li li:hover ul {
    display: block;
}
.menu-item-has-children > a::after{
	content: "▼";
	font-size: 10px;
	padding-left: 1em
}
/*------------*/
/*	Header */
/*------------*/
#header {
    background: #000000
}
#header  h1, #header  h2{
    color: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 1px 0px 1px rgba(150, 150, 150, 1);
    font-size: 2em;
    line-height: 1em;
}
.headerframe {
    border: 3px solid #fff;
    float: left;
    background: none;
    padding: 10px;
}
.headerframe img{
    max-width: 100%;
    width: auto;
    height: auto;
}
.background-white{
	background-color: #fff;
}
#header .post-content{
	margin-bottom: 20px;
	color: #333;
}
#header .post-content h3, #header .post-content h4, #header .post-content h5{
	margin-top: 0;
}
.logo a.headerframe {
    background: none !important;
    border: none !important;
    padding: 10px 0 !important;
}
.logo a.headerframe:hover {
    opacity: 0.8;
}
.single-attachment #header{
	background: #111;
	color: #ddd;
}
.entry-attachment {
    padding-top: 20px;
    padding-bottom: 20px;
    color:#ddd;
}
.entry-attachment img {
    display: block;
    margin: 0 auto;
}
.single-attachment aside ul, .single-attachment .post-content{
    padding-top: 20px;
    padding-bottom: 20px
}
.single-attachment .post_category, .single-attachment .post_tags{
	padding-left: 20px;
	margin-top: 10px;
}
.jetpack-slideshow{
	background: #111111!important;
	border: none!important;
}	
.single-attachment #wrapper{
    padding-top: 0
}
.attachment_gallery{
    margin-top: 20px;
}
.attachment_gallery li{
	max-height: 40px;
	max-width: 40px;
	margin: 5px;
	float: left;
	border: 2px solid #555;
}
.attachment_gallery #active{
	border: 2px solid #ddd;
}
/*------------*/
/*	Content */
/*------------*/
#wrapper {
    background: #fff;
    padding-top: 20px;
}
.post {
    margin-bottom: 30px;
    background: #fff;
    position: relative
}
.post .grid-20, .post .grid-80 {
    padding-top: 10px;
    padding-bottom: 10px;
}
.title {
    margin-top: 0!important;
}
.title a{
    color: #777
}
.comments-link {
    width: 30px;
    height: 37px;
    padding: 0 5px;
    margin: 0 0 2px 5px;
    font-size: 18px;
    color: #fff;
    float: right;
    text-align: center;
    background: url(images/icon.png) no-repeat 0 0;
}
.comments-link:hover {
    opacity: 0.8;
    color: #fff;
}
.post-edit-link{
    clear: both;
    display: block
}
.wp-post-image, .attachment img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
}
.meta-post .wp-post-image {
    margin-bottom: 10px
}
.post-content .wp-post-image{
    margin-bottom: 1em;
}
.post-content img {
    height: auto;
    max-width: 100%;
    width: auto;
}
.post_excerpt {
    font-size: x-large;
    margin-bottom: 1em;
}
.archive .post_excerpt {
    font-size: large;
}
.post-content table, .post-content dl, .post-content dd {
    margin-bottom: 1em;
}
.post-content h1, .post-content h2, .post-content h3 {
    margin: 0.6em 0;
}
.post-content dt {
    font-weight: bold;
}
.post-content ul, .post-content ol {
    list-style: circle;
    margin: 0 0 1em 2em;
}
.post-content ul ul {
    list-style: disc;
    margin: 0 0 0 1em;
}
.post-content ol {
    list-style: decimal
}
.post-content ol ol {
    list-style: lower-alpha;
    margin: 0 0 0 1.4em;
}
.page-link {
    clear: both;
    padding: 4px 0;
    letter-spacing: 3px;
    color: #777;
    margin: 1em 0;
    font-family: Consolas, "Courier New", Courier, monospace;
    border-top: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
}
.page-link span {
    letter-spacing: 0.1em;
}
.meta-nav {
    white-space: nowrap;
}
.sticky {
    background: #FFF6CF;
}
/*  author description */
.author-post {
    min-height: 40px;
    margin: 0;
}
.author-bio h3 {
    margin: 10px 0;
    font-size: medium
}
.author-bio {
    padding: 0 0 1em;
    margin: 20px 0;
    border-top: 1px dotted #ddd;
    border-bottom: 1px dotted #ddd;
}
.author-bio .avatar {
    margin: 10px 0 5px 10px;
    float: right
}
.author-bio .author-link {
    display: block;
    clear: both
}
.meta-nav {
    white-space: nowrap;
    text-decoration: none !important;
}
#breadcrumbs{
	border-bottom: 1px solid #efefef;
	padding-bottom: 0.8em;
	margin-bottom: 1.2em;
}
#breadcrumbs li{
	display: inline;
	padding-right: 1em;
}
#breadcrumbs .current-cat a{
	color: #000;
}
/*  post meta */
.meta-post {
    margin-bottom: 10px;
    list-style: none;
}
.meta-post li {
    padding-left: 20px!important;
    margin-bottom: 5px;
    display: block
}
.post_prev, .post_next {
    background: url(images/icon.png) no-repeat 0 -152px;
    margin: 0 0 10px 0;
}
.post_next {
    background: url(images/icon.png) no-repeat 0 -202px !important;
}
.meta-post .post_prev{
	margin-bottom: 2em;
	display: block
}
.post_category {
    background: url(images/icon.png) no-repeat 0 -412px !important;
}
.post_tags {
    background: url(images/icon.png) no-repeat -24px -342px !important;
}
.post_date {
    background: url(images/icon.png) no-repeat 0 -262px !important;
}
.post_author {
    background: url(images/icon.png) no-repeat 0 -302px !important;
}
.cambria-txt .post_category {
    background: url(images/icon.png) no-repeat 0 -410px !important;
}
.cambria-txt .post_tags {
    background: url(images/icon.png) no-repeat -24px -340px !important;
}
.cambria-txt .post_date {
    background: url(images/icon.png) no-repeat 0 -260px !important;
}
.cambria-txt .post_prev {
    background: url(images/icon.png) no-repeat 0 -150px;
    margin: 0 0 10px 0;
}
.cambria-txt .post_next {
    background: url(images/icon.png) no-repeat 0 -200px !important;
}
/*  POST FORMAT */
.archive .format-link a, .archive .format-quote a, .archive .format-audio a, .archive .format-status a, .archive .format-aside a, .archive .format-image a, .archive .format-chat a, .archive .format-video a, .archive .format-gallery a{
    color: #fff;
    font-weight: bold;
}
.archive .format-link, .archive .format-quote, .archive .format-audio, .archive .format-status, .archive .format-aside, .archive .format-image, .archive .format-chat, .archive .format-video, .archive .format-gallery {
    color: #eee;
}
/*  format - video */
.archive .format-video, .single-format-video #header{
    background: #1E7687; 
}
/*  format - audio */
.archive .format-audio, .single-format-audio #header{
    background: #5ABBCF;
}
/*  format - gallery */
.archive .format-gallery, .single-format-gallery #header {
    background: #777777
}
/*  format - image */
.archive .format-image, .single-format-image #header{
    background: #165A60;
}
/*  format - link */
.archive .format-link, .single-format-link #header{
    background: #EF402F;
}
/*  format - aside */
.archive .format-aside, .single-format-aside #header{
    background: #C8896F;
}
/*  format - quote */
.archive .format-quote, .single-format-quote #header{
    background: #CC9966;
}
.format-quote blockquote {
    font-size: 1.6em
}
/*  format - chat */
.archive .format-chat, .single-format-chat #header{
    background: #8B636C;
}
.format-chat dd, .format-chat p:nth-child(2n) {
    background: #494949;
    padding: 5px 10px;
}
.format-chat dt, .format-chat p:nth-child(2n+1) {
    background: #8B636C;
    padding: 5px 10px;
}
.archive .format-chat .grid-80{
	background: #333;
}
.portfolio-page .format-chat p {
	background: none;
	padding: 0 0 10px 0;
}
/*  format - status */
.archive .format-status, .single-format-status #header{
    background: #694C40;
}

/*------------*/
/*	Sidebar, widget */
/*------------*/
.sidebar {
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.widgettitle, .widget-title {
    margin-top: 0.5em;
    margin-bottom: 0.3em;
}
.widget-container {
    margin-bottom: 1em;
}
.widget .vcard li {
    border: none;
    color: #CFCFCF;
    background: #1F1F1F;
    font-size: 0.88em;
}
.widget li li {
    padding: 0.3em 0;
}
.widget li li li {
    padding-left: 1.5em;
}
.widget ul {
    margin: 0;
    padding: 0;
}
.widget .vcard img {
    margin: 0 0 5px 5px;
    float: right;
    width: 80px;
    max-width: 80px !important;
    padding: 5px;
    background: #787878;
}
#wp-calendar {
    text-align: right
}
#wp-calendar #prev {
    text-align: left
}
/*------------*/
/*	Comments */
/*------------*/
#comments {
    margin-bottom: 20px;
    background: #fff;
    clear: both
}
#comments h3 {
    margin: 30px 0;
}
#comments h3 span {
    color: #999
}
#comments label, #comments small {
    font-size: 0.88em;
}
.comment article {
    margin: 20px 0;
    padding: 10px;
    border-left: 3px solid #ddd;
    border-bottom: 1px dotted #ddd;
}
#respond {
    clear: both;
    margin: 10px 0;
    background: #fff;
}
.byuser article, .bypostauthor article {
    border-left: 3px solid #dd3333;
    border-bottom: 1px dotted #dd3333;
}
.byuser article .avatar, .bypostauthor article .avatar {
    background: #dd3333;
}
.avatar {
    padding: 4px;
    background: #59c7e5; /* Old browsers */
    background: -moz-linear-gradient(top,  #59c7e5 0%, #16bac9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#59c7e5), color-stop(100%,#16bac9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #59c7e5 0%,#16bac9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59c7e5', endColorstr='#16bac9',GradientType=0 ); /* IE6-9 */
    margin: 0 10px 5px 0;
    border-radius: 128px;
}
.comment .avatar{
    float: left;    
}
.comment-meta {
    min-height: 90px;
}
.comment-metadata a {
    color: #999
}
.depth-2, .depth-3, .depth-4, .depth-5, .depth-6, .depth-7, .depth-8, .depth-9, .depth-10 {
    margin-left: 8%;
}
.reply a {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 3px 5px;
    color: #fff;
    border: 3px solid #ddd;
    background: #59c7e5; /* Old browsers */
    background: -moz-linear-gradient(top,  #59c7e5 0%, #16bac9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#59c7e5), color-stop(100%,#16bac9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #59c7e5 0%,#16bac9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #59c7e5 0%,#16bac9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#59c7e5', endColorstr='#16bac9',GradientType=0 ); /* IE6-9 */
}
.reply a:hover {
    opacity: 0.8
}
.required {
    color: red
}
.comment-body table, .comment-body dl, .comment-body dd {
    margin-bottom: 1em;
}
.comment-body h1, .comment-body h2, .comment-body h3 {
    margin: 0.6em 0;
}
.comment-body dt {
    font-weight: bold;
}
.comment-body ul, .comment-body ol {
    list-style: circle;
    margin: 0 0 1em 2em;
}
.comment-body ul ul {
    list-style: disc;
    margin: 0 0 0 1em;
}
.comment-body ol {
    list-style: decimal
}
.comment-body ol ol {
    list-style: lower-alpha;
    margin: 0 0 0 1.4em;
}
#respond code {
    border: none;
    font-size: 11px;
    padding: 0;
    overflow: hidden;
}
.comment-form-author, .comment-form-email, .comment-form-url {
    width: 240px;
}
#comment {
    width: 94%
}
.page .nopassword, .page .nocomments, .format-gallery .nocomments, .single-portfolio .nocomments, .single-jetpack-portfolio .nocomments, .single-attachment .nocomments {
    display: none;
}
.nopassword, .nocomments {
    color: #bbb;
    text-align: center;
    margin: 30px 0;
    clear: both
}
.pingback, .trackback {
    background: #ddd;
    padding: 10px;
    margin: 10px 0;
}
.comments-nav {
    margin: 20px 10px
}
/*------------*/
/*	Footer */
/*------------*/
#footer{
	margin-top: 1em;
	padding: 10px 0;
	font-size: small;
	color: #aaa;
	border-top: 1px dotted #eee;
}
#footer li{
	margin-right: 1em;
	display: inline;
    border: none;
}
#footer a{
	font-weight: bold;
	color: #888
}
/*------------*/
/*  Gallery */
/*------------*/
.gallery{
	float: left;
	width: 100%;
}
.gallery-item {
    float: left;
    margin: 0;
}
.gallery-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.gallery-columns-1 .gallery-item {
    width: 98%;
    margin: 1%;
}
.gallery-columns-2 .gallery-item {
    width: 48%;
    margin: 1%;
}
.gallery-columns-3 .gallery-item {
    width: 31%;
    margin: 1%;
}
.gallery-columns-4 .gallery-item {
    width: 23%;
    margin: 1%;
}
.gallery-columns-5 .gallery-item {
    width: 19%;
    margin: 0.2%;
}
.gallery-columns-6 .gallery-item {
    width: 16%;
    margin: 0.3%;
}
.gallery-columns-7 .gallery-item {
    width: 14%;
    margin: 0.1%;
}
.gallery-columns-8 .gallery-item {
    width: 12%;
    margin: 0.1%;
}
.gallery-columns-9 .gallery-item {
    width: 10%;
    margin: 0.1%;
}
.gallery-columns-10 .gallery-item {
    width: 8%;
    margin: 0.1%;
    padding: 1% 0;
}

.gallery-columns-5 .gallery-caption, .gallery-columns-6 .gallery-caption, .gallery-columns-7 .gallery-caption, .gallery-columns-8 .gallery-caption, .gallery-columns-9 .gallery-caption, .gallery-columns-10 .gallery-caption{
    display: none;
}
.gallery-caption {
    margin: 3px auto;
    font-size: 0.88em;
    display: block;
    text-align: center;
    font-style: italic;
}
.wp-caption, .wp-caption-text {
    margin: 0 0 6px;
    width: auto;
    max-width: 100%;
    height: auto;
    font-size: 0.88em;
}
.wp-caption img {
    margin: 0;
    max-width: 100%;
    height: auto;
    width: auto;
}
.alignnone img {
    display: inline !important;
    float: none !important;
}

.wp-caption.alignright {
    margin: 7px 1px 7px 10px;
}
.wp-caption.alignleft {
    margin: 7px 10px 7px 1px;
}
.wp-caption.aligncenter {
    margin: 1em auto;
}
.wp-caption.alignnone {
    margin: 1em 1px;
}
.gallery br {
    clear: both
}
.entry-caption {
    margin: 0 10px;
}
/*------------*/
/*  Wordpress class */
/*------------*/
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignnone {
    clear: both;
    margin: 1em 0
}
.alignright {
    float: right;
}
.alignleft {
    float: left;
}
img.alignright {
    float: right;
    margin: 0.5em 0 0.1em 0.9em
}

img.alignleft {
    float: left;
    margin: 0.5em 0.9em 0.1em 0
}

img.aligncenter {
    clear: both;
    display: block;
    margin: 1em auto;
}
img.alignnone {
    clear: both;
    margin: 0;
}
.wpstats {
    display: none;
}
.txt-right {
    text-align: right;
}
.txt-center {
    text-align: center;
}
.size-auto, .size-full, .size-large, .size-medium, .size-thumbnail {
	max-width: 100%;
	width: auto;
	height: auto;
}
/*------------*/
/*	Navigation */
/*------------*/
.wp-pagenavi {
    margin: 10px 0;
    padding: 10px 0;
}
.wp-pagenavi .page-numbers{
	padding: 5px 10px;
    border: 1px solid #DFDFDF;
    float: left;
    margin: 1em 2em 1em 0;
}
.wp-pagenavi a.page-numbers:hover{
    background: #efefef;
}
.wp-pagenavi .dots, .wp-pagenavi .next, .wp-pagenavi  .prev{
    border: none;
    background: none;
}
.wp-pagenavi .current{
	background: #777;
	color: #fff;
}


.attachment-large{
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;   
}
/*------------*/
/*  Home page template */
/*------------*/
#portfolio_home{
	background: #333;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #aaa
}
#blog_home{
	padding-top: 20px;
	background: #EEEEEE
}
.portfolio-blog .post-content{
	background: #fff
}
.portfolio-blog .sticky {
	border-bottom: 5px #CFB84D!important;
}
.portfolio-blog .post-content {
    padding: 10px;
}
.portfolio-blog .meta-post {
    border: none!important;
    list-style: none;
    padding: 0;   
    margin: 0; 
}
.portfolio-blog .meta-post li {
    margin: 0 0 5px 0;
    padding: 0;
}
.featured-media a,
.featured-media img,
.featured-media iframe { display: block; }

.featured-media iframe,
.featured-media object { border: none; margin: 0; }

.featured-media a { overflow: hidden; }

.featured-media a img { margin: 0 auto; }

.featured-media a:hover img { 
	-webkit-transform: scale(1.1); 
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.05);
	-webkit-transition: all .4s ease; -moz-transition: all .4s ease; transition: all .4s ease;
}


/*****Portfolio box***/

.portfolio-blog .active a{
	color: #333;
}
.portfolio-grid{
	margin-top: 10px;
}
.portfolio-header {
   display: inline-block;
   padding: 10px 0;
   background: #000;
   width: 100%;
   position: absolute;
   top: 0;
   left: 0;
}
.portfolio-header h3{
   padding: 0 0 10px 0;
   margin: 0;
}
.portfolio-header h3 a{
   font-size: 16px;
   color: #fff;
   text-transform: uppercase;
}
.portfolio-box {
   margin: 10px;
   padding: 0;
   overflow: hidden;
   position: relative;
   text-align: center;
   cursor: default;
   background: #000;
}
.portfolio-box .mask{
   width: 100%;
   height: 100%;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.portfolio-box img {
   display: block;
   position: relative;
}
.portfolio-box img {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.portfolio-box .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   background-color: rgba(0,0,0, 0.7);
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
}
.portfolio-box h2 {
   -webkit-transform: translateY(-100px);
   -moz-transform: translateY(-100px);
   -o-transform: translateY(-100px);
   -ms-transform: translateY(-100px);
   transform: translateY(-100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.portfolio-box:hover img {
   -webkit-transform: scale(1.1,1.1);
   -moz-transform: scale(1.1,1.1);
   -o-transform: scale(1.1,1.1);
   -ms-transform: scale(1.1,1.1);
   transform: scale(1.1,1.1);
}

.portfolio-box:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.portfolio-box:hover h2,
.portfolio-box:hover .portfolio-header {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
}
.portfolio-box:hover .portfolio-header {
   -webkit-transition-delay: 0.2s;
   -moz-transition-delay: 0.2s;
   -o-transition-delay: 0.2s;
   -ms-transition-delay: 0.2s;
   transition-delay: 0.2s;
}
/****Sticky menu****/
.slicknav_menu {
	display:none!important;
}

@media screen and (max-width: 767px) {
	 #nav {
		display:none;
	}
	
	.slicknav_menu {
		display:block!important;
	}
	.menu-item-has-children > a::after{
	content: "";
	font-size: 10px;
	padding-left: 0
}
}

/*
    Mobile Menu Core Style
*/
.slicknav_btn { position: relative; display: block; vertical-align: middle; float: right; padding: 0.438em 0.625em 0.438em 0.625em; line-height: 1.125em; cursor: pointer; }
.slicknav_menu  .slicknav_menutxt { display: block; line-height: 1.188em; float: left; }
.slicknav_menu .slicknav_icon { float: left; margin: 0.188em 0 0 0.438em; }
.slicknav_menu .slicknav_no-text { margin: 0 }
.slicknav_menu .slicknav_icon-bar { display: block; width: 1.125em; height: 0.125em; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); }
.slicknav_btn .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 0.188em }
.slicknav_nav { clear: both }
.slicknav_nav ul,
.slicknav_nav li { display: block }
.slicknav_nav .slicknav_arrow { font-size: 0.8em; margin: 0 0 0 2em; }
.slicknav_nav .slicknav_item { cursor: pointer; }
.slicknav_nav .slicknav_row { display: block; }
.slicknav_nav a { display: block }
.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a { display: inline }
.slicknav_menu:before,
.slicknav_menu:after { content: " "; display: table; }
.slicknav_menu:after { clear: both }
/* IE6/7 support */
.slicknav_menu { *zoom: 1 }

/* 
    User Default Style
    Change the following styles to modify the appearance of the menu.
*/

/* Button */
.slicknav_btn {
    text-decoration:none;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); 
    background-color: #222222;
    padding: 8px 10px;
    display: block
}
/* Button Text */
.slicknav_menu  .slicknav_menutxt {
    color: #FFF;
    font-weight: bold;
    text-shadow: 0 1px 3px #000;
}
/* Button Lines */
.slicknav_menu .slicknav_icon-bar {
  background-color: #f5f5f5;
}
.slicknav_menu {
    background:#4c4c4c;
}
.slicknav_nav {
    color:#fff;
    margin:0;
    padding:0;
    font-size:0.875em;
}
.slicknav_nav, .slicknav_nav ul {
    list-style: none;
    overflow:hidden;
}
.slicknav_nav ul {
    padding:0;
    margin:0 0 0 20px;
}
.slicknav_nav .slicknav_row {
    padding:5px 10px;
    margin:2px 5px;
}
.slicknav_nav a{
    padding:5px 10px;
    margin:2px 5px;
    text-decoration:none;
    color:#fff;
}
.slicknav_nav .slicknav_item a,
.slicknav_nav .slicknav_parent-link a {
    padding:0;
    margin:0;
}
.slicknav_nav a:hover{
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background:#222;
    color:#fff;
}
.slicknav_nav .slicknav_txtnode {
     margin-left:15px;   
}


/*----------------------------------------------------------------------------*\
    Headhesive Specific Styles
/*----------------------------------------------------------------------------*/

.banner-clone {

    /* Required styles */
    position: fixed;
    top: 0;
    left: 0;

    /* Additional styles */
    background: #c95a5d;

    /* Translate -100% to move off screen */
    -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
            transform: translateY(-100%);

    /* Animations */
    -webkit-transition: all 300ms ease-in-out;
       -moz-transition: all 300ms ease-in-out;
            transition: all 300ms ease-in-out;

}

.banner-stick {

    /* Translate back to 0%; */
    -webkit-transform: translateY(0%);
        -ms-transform: translateY(0%);
            transform: translateY(0%);
}

.banner-unstick {
    /* Not required to use, but could be useful to have */
}
