/*
Theme Name: Hoferichter Jacobs Twenty-Fourteen Child Theme
Theme URI: http://www.hoferichterjacobs.de
Author: codemacher
Author URI: http://codemacher.de
Template: twentyfourteen
Version: 1.2
License: GNU General Public License v2 or later
Text Domain: twentyfourteen-child 

*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 * 5.0 - Navigation
 * 6.0 - Content
 *   6.1 - Post Thumbnail
 *   6.2 - Entry Header
 *   6.3 - Entry Meta
 *   6.4 - Entry Content
 *   6.5 - Galleries
 *   6.6 - Post Formats
 *   6.7 - Post/Image/Paging Navigation
 *   6.8 - Attachments
 *   6.9 - Archives
 *   6.10 - Contributor Page
 *   6.11 - 404 Page
 *   6.12 - Full-width
 *   6.13 - Singular
 *   6.14 - Comments
 *   6.25 - Shop
 * 7.0 - Sidebar
 *   7.1 - Widgets
 *   7.2 - Content Sidebar Widgets
 * 8.0 - Footer
 * 9.0 - Featured Content
 * 10.0 - Multisite
 * 11.0 - Media Queries
 * 12.0 - Print
 * -----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Resetting and rebuilding styles have been helped along thanks to the fine
 * work of Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal
 * http://necolas.github.com/normalize.css/ and Blueprint
 * http://www.blueprintcss.org/
 *
 * -----------------------------------------------------------------------------
 */

/* Add festivals Styles */
@import url("css/festivals.css");

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0 !important;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    max-width: 100%;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
    overflow-x:hidden;
    min-width:500px;
}

body,
button,
input,
select,
textarea {
    color: #2b2b2b;
    font-family: Lato, sans-serif;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body{
    background: #f8f8f8;
    /*cm-change overflow-y: scroll;*/
    min-width:500px;
    margin:0px;
}

a {
    color: #676565;
    text-decoration: none;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

a:active,
a:hover,
#shortpost a:hover {
    color: #b51b26;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 700;
    margin: 36px 0 12px;
    font-family: 'Montserrat', Arial, sans-serif;
    -moz-hyphens: manual;
    -o-hyphens: manual;
    -webkit-hyphens: manual;
    -ms-hyphens: manual;
    hyphens:manual;
}

h1 {
    font-size: 26px;
    line-height: 1.3846153846;
}

h2 {
    font-size: 24px;
    line-height: 1;
}

h3 {
    font-size: 22px;
    line-height: 1.0909090909;
}

h4 {
    font-size: 18px;
    line-height: 1.2;
    font-weight:normal;
}

h5 {
    font-size: 18px;
    line-height: 1.3333333333;
}

h6 {
    font-size: 16px;
    line-height: 1.5;
}

address {
    font-style: italic;
    margin-bottom: 24px;
}

abbr[title] {
    border-bottom: 1px dotted #2b2b2b;
    cursor: help;
}

b,
strong {
    font-weight: 700;
}

cite,
dfn,
em,
i {
    font-style: italic;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

p {
    margin-bottom: 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
    font-family: monospace, serif;
    font-size: 15px;
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    line-height: 1.6;
}

pre {
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    margin-bottom: 24px;
    max-width: 100%;
    overflow: auto;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

blockquote,
q {
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

blockquote {
    color: #767676;
    font-size: 19px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.2631578947;
    margin-bottom: 24px;
}

blockquote cite,
blockquote small {
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

blockquote em,
blockquote i,
blockquote cite {
    font-style: normal;
}

blockquote strong,
blockquote b {
    font-weight: 400;
}

small {
    font-size: smaller;
}

big {
    font-size: 125%;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

dl {
    margin-bottom: 24px;
}

dt {
    font-weight: bold;
}

dd {
    margin-bottom: 24px;
}

ul,
ol {
    list-style: none;
    margin: 0 0 24px 20px;
}

ul {
    list-style: disc;
    padding:0px;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin: 0 0 0 20px;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;
}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 24px;
    padding: 11px 12px 0;
}

legend {
    white-space: normal;
}

button,
input,
select,
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
    width: 100%;
}

button,
input {
    line-height: normal;
}

input,
textarea {
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table,
th,
td {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin-bottom: 24px;
    width: 100%;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

th {
    border-width: 0 1px 1px 0;
    font-weight: bold;
}

td {
    border-width: 0 1px 1px 0;
}

del {
    color: #767676;
}

hr {
    background-color: rgba(0, 0, 0, 0.1);
    border: 0;
    height: 1px;
    margin-bottom: 23px;
}
#page{
    margin:0 auto;
    width:100%;
}
/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
    background: #b51b26;
    color: #fff;
    text-shadow: none;
}

::-moz-selection{
    background: #b51b26;
    color: #fff;
    text-shadow: none;
}
.searchandfilter select {
    background: transparent;
    width: 170px;
    padding: 0px;
    font-size: 16px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 26px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 14px;
}
.searchandfilter {
    width: 150px;
    height: 24px;
    background:url(images/arrow_down.png) no-repeat 130px #dddddd  !important;
    float:left;
    margin: 0px 20px 0 20px;
    overflow: hidden;
    padding:2px 0 0 2px;
}
.searchandfilter option{
    background:#dddddd;
    border:0px !important;
    box-shadow:none !important;
    font-size: 14px;
}
.searchandfilter ul {
    background:none !important;}
.searchandfilter input[type="submit"] {
    position: absolute;
    top: -40px;
    right: 20px;
    width:152px;
    display:none;}
/**
 * 2.0 Repeatable Patterns
 * -----------------------------------------------------------------------------
 */

/* Input fields */

input,
textarea {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    color: #2b2b2b;
    padding: 8px 10px 7px;
}

textarea {
    width: 100%;
}

input:focus,
textarea:focus {
    border: 1px solid rgba(0, 0, 0, 0.3);
    outline: 0;
}

/* Buttons */

button,
.contributor-posts-link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background: rgb(140,138,138); 

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjOGE4YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3MDcwNzAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(140,138,138,1) 0%, rgba(112,112,112,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,138,138,1)), color-stop(100%,rgba(112,112,112,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8a8a', endColorstr='#707070',GradientType=0 ); /* IE6-8 */
    border-radius: 0px;
    border:0px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 15;
    text-transform: uppercase;
    vertical-align: bottom;
    opacity:0.6;
}

button:hover,
button:focus,
.contributor-posts-link:hover,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    opacity:1;
}

button:active,
.contributor-posts-link:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    background-color: #55d737;
}

.search-field {
    width: 100%;
}

.search-submit {
    display: none;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
    color: #939393;
}

:-moz-placeholder {
    color: #939393;
}

::-moz-placeholder {
    color: #939393;
    opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */
}

:-ms-input-placeholder {
    color: #939393;
}

/* Responsive images. Fluid images for posts, comments, and widgets */

.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
    max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */

.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
    height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
    height: auto;
    max-width: 100%;
}

/* Make sure embeds and iframes fit their containers */

embed,
iframe,
object,
video {
    margin-bottom: 20px;
    max-width: 100%;
}
#thumbs a{
    margin-right:18px;}
#thumbs a img{
    margin-bottom:20px;}
#thumbs a:last-child, #thumbs a:nth-child(5), #thumbs a:nth-child(10), #thumbs a:nth-child(15), #thumbs a:nth-child(20){
    margin-right:0px;}
p > embed,
p > iframe,
p > object,
span > embed,
span > iframe,
span > object {
    margin-bottom: 0;
}

/* Alignment */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

blockquote.alignleft,
img.alignleft {
    margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
    margin: 7px 14px 7px 0;
}

blockquote.alignright,
img.alignright {
    margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
    margin: 7px 0 7px 14px;
}

blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
    margin-top: 7px;
    margin-bottom: 7px;
}

.site-content blockquote.alignleft,
.site-content blockquote.alignright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    width: 50%;
}

.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
    margin-bottom: 17px;
}

.wp-caption {
    margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0;
}

.wp-caption {
    color: #767676;
}

.wp-caption-text {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    margin: 9px 0;
    padding-right: 10px;
}

.wp-smiley {
    border: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Assistive text */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    display:none;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    left: 5px;
    top: 5px;
    text-decoration: none;
    text-transform: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}

.hide {
    display: none;
}

/* Clearing floats */

.footer-sidebar:before,
.footer-sidebar:after,
.hentry:before,
.hentry:after,
.slider-direction-nav:before,
.slider-direction-nav:after,
.contributor-info:before,
.contributor-info:after,
.search-box:before,
.search-box:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
    content: "";
    display: table;
}

.footer-sidebar:after,
.hentry:after,
.slider-direction-nav:after,
.contributor-info:after,
.search-box:after,
[class*="content"]:after,
[class*="site"]:after {
    clear: both;
}

/* Genericons */

.bypostauthor > article .fn:before,
.comment-edit-link:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.contributor-posts-link:before,
.menu-toggle:before,
.search-toggle:before,
.slider-direction-nav a:before,
.widget_twentyfourteen_ephemera .widget-title:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    text-decoration: inherit;
    vertical-align: text-bottom;
}

/* Separators */

.site-content span + .entry-date:before,
.full-size-link:before,
.parent-post-link:before,
span + .byline:before,
span + .comments-link:before,
span + .edit-link:before,
.widget_twentyfourteen_ephemera .entry-title:after {
    content: "\0020\007c\0020";
}


/**
 * 3.0 Basic Structure
 * -----------------------------------------------------------------------------
 */

.site {
    background-color: #fff;
    position: relative;
}

.main-content {
    width: 100%;
}


/**
 * 4.0 Header
 * -----------------------------------------------------------------------------
 */

/* Ensure that there is no gap between the header and
   the admin bar for WordPress versions before 3.8. */
#wpadminbar {
    min-height: 32px;
}

#site-header {
    position:relative;
    z-index: 3;
}

.site-header {
    max-width: 100%;
    margin:0 auto;
    width: 100%;
    z-index:1000;
    position:absolute;


}

.header-main {
    min-height: 60px;
    padding: 0 20px;
    background: rgb(0,0,0);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI1JSIgc3RvcC1jb2xvcj0iIzJlMmUyZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc1JSIgc3RvcC1jb2xvcj0iIzJlMmUyZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left,  rgba(0,0,0,1) 0%, rgba(46,46,46,1) 25%, rgba(46,46,46,1) 75%, rgba(0,0,0,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(25%,rgba(46,46,46,1)), color-stop(75%,rgba(46,46,46,1)), color-stop(100%,rgba(0,0,0,1)));
    background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(46,46,46,1) 25%,rgba(46,46,46,1) 75%,rgba(0,0,0,1) 100%); 
    background: -o-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(46,46,46,1) 25%,rgba(46,46,46,1) 75%,rgba(0,0,0,1) 100%);
    background: -ms-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(46,46,46,1) 25%,rgba(46,46,46,1) 75%,rgba(0,0,0,1) 100%);
    background: linear-gradient(to right,  rgba(0,0,0,1) 0%,rgba(46,46,46,1) 25%,rgba(46,46,46,1) 75%,rgba(0,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=1 );
    position:relative;

}
#homelink{
    height:35px;
    width:229px;
    display:block;
    float:left;
    margin-top: 12px;
    overflow:visible;
}
#homelink > img {
  width:auto;
  height:100%;
}
.site-title {
    float: left;
    font-size: 18px;
    font-weight: 700;
    line-height: 48px;
    margin: 0;
}

.site-title a,
.site-title a:hover {
    color: #fff;
}

/* Search in the header */

.search-toggle {
    cursor: pointer;
    float: right;
    border-left: 1px solid white !important;
    height: 30px;
    margin-top: 15px;
    padding-left: 15px;
    margin-right: 0px;
    text-align: center;
    width: 25px;
    margin-left: 5px;
    position: absolute;
    right: 20px;

}
.search-toggle svg{
    margin-top:7px;
    fill:#FFFFFF;}
.search-box fieldset{
    padding:0px;
    margin:0px;
    font-size:16px;}
#searchinput{
    box-sizing: border-box;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 2;
    border:0px;
    -webkit-box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.2); 
    box-shadow: 0px 0px 29px 0px rgba(0, 0, 0, 0.2);
}
/*#searchinput::-webkit-input-placeholder { color:#fff; }
#searchinput::-moz-placeholder { color:#fff; } /* firefox 19+ */
/*#searchinput:-ms-input-placeholder { color:#fff; } /* ie */
/*input:-moz-placeholder { color:#fff; }*/

.search-toggle:hover svg,
.search-toggle.active svg {
    fill:#b51b26;
}
.toggled-on .menu-toggle:before, #primary-navigation:hover .menu-toggle:before{
    color:#b51b26;
}



.search-toggle .screen-reader-text {
    left: 5px; /* Avoid a horizontal scrollbar when the site has a long menu */
}

.search-box-wrapper {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    position: absolute;
    right: 0;
    top: 60px;
    width: 400px;
    z-index: 2;
}
.search-box-wrapper:hover{
    opacity:1;}

.search-box {
    padding: 12px;
    float:right;
    width:75px;
}

.search-box .search-field {
    border: 0;
    float: right;
    font-size: 16px;
    padding: 2px 2px 3px 6px;
    width: 100%;
}
#breadcrumb{
    position:absolute;}
#breadcrumb span span{
    text-transform:capitalize;}
.menu-hauptmenu-container{
    float:left;
}
#social_icons  a {
    padding: 0 6px;
    white-space: nowrap;
    color:#fff;
}
#social_icons li{
    display:inline-block;
}

#social_icons {
    float: right;
    font-size: 7px;
    font-weight: 200;
    position:absolute;
    right:70px;

}
#social_icons ul{
    padding: 24px 0 0 0;
    margin:0px;
}
#social_icons  a:hover {
    color:#b51b26;
}

/**
 * 5.0 Navigation
 * -----------------------------------------------------------------------------
 */

.site-navigation ul {
    list-style: none;
    margin: 0;
}

.site-navigation li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-navigation ul ul {
    margin-left: 20px;
}

.site-navigation a {
    color: #fff;
    display: block;
    text-transform: uppercase;
}

.site-navigation a:hover {
    color:#fff;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
    color: #c1bdbd;
}

/* Primary Navigation */

.primary-navigation {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 14px;
    padding-top: 24px;
    height: 60px;
}

.primary-navigation.toggled-on {
    padding: 72px 0 36px;
}

.primary-navigation .nav-menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.primary-navigation.toggled-on .nav-menu {
    display: block;
}

.primary-navigation a {
    padding: 7px 0;
}
.primary-navigation ul ul a:hover, .dropdrop a:hover{
    color:#b51b26;
}
/* Secondary Navigation */

.secondary-navigation {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    margin: 48px 0;
}

.secondary-navigation a {
    padding: 9px 0;
}

.menu-toggle {
    cursor: pointer;
    font-size: 0;
    height: 48px;
    margin: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    width: 48px;
}

.menu-toggle:before {
    color: #fff;
    content: "\f419";
    margin-top: 22px;
}
.sub-menu{
    height:37px !important;
    padding-right:20px;}
.primary-navigation li .dropdrop{
    width:100%;
    float:none;
    clear:both;
    background: #dddddd;
    cursor:pointer;
    margin:0 0px 0 0;
    padding-right:0px;
    box-sizing: content-box;
    opacity:1;
    overflow:hidden;}
.primary-navigation li .dropdrop:hover{
    opacity:1;}	
.primary-navigation li .dropdrop li{
    clear:both;
    width:100%;
    height:auto;
    padding: 5px 0 5px 20px !important;
    color:#000;
    /*line-height: 20px;*/
}
.primary-navigation li .dropdrop li:first-child{
    background: url("images/arrow_down.png") no-repeat scroll right 20px center !important;
}
.primary-navigation li .dropdrop li.firstdrop a {
  line-height: 20px;
}
.primary-navigation li .dropdrop li a{
    padding: 0px !important;
    line-height:20px;
    height:20px;
    color:#000;
    height: 20px;
    padding: 0;
    margin: 0;
}
.primary-navigation li .dropdrop li.otherdrop a:hover {
  color: #b51b26;
}
/**
 * 6.0 Content
 * -----------------------------------------------------------------------------
 */


.hentry {
    margin: 0 auto 48px;
    max-width: 672px;
}

.site-content .entry-header{
    max-width: 620px;
    margin: 0 auto;
}
.site-content .entry-content,
.site-content .entry-summary,
.page-content,
.site-content .entry-title {
    margin: 0 auto;
    max-width: 560px;
}

.page-content {
    margin-bottom: 48px;
}
.entry-content{
    background:#fff;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Standard */ }


#leftbar{ float: left;
          width: 280px;
          margin-left:20px;
}
#onair, #onair2{
    padding:10px 20px;
    text-align:left;}
#onair2{
    width:240px ;
    padding:10px;
    margin:0px !important;
    display:none;
    float:none;
}
.onairtitle{
    display:none;
}
.onair_entry {
    clear:both;
    margin-bottom: 5px;
}
#onair .onair_entry .datum, #onair2 .onair_entry .datum {
    width:115px;
    float:left;
    margin:0;
}
#onair .onair_entry .zeit_ort, #onair2 .onair_entry .zeit_ort  {
    width:auto;
    margin:0 0 0 120px;
    float:none;
}
#onair .onair_entry .zeit_ort .zeit, #onair .onair_entry .zeit_ort .ort, #onair2 .onair_entry .zeit_ort .zeit, #onair2 .onair_entry .zeit_ort .ort {
    display:inline-block;
    float: none;
    margin: 0;
    width: auto;
}
#onair .onair_entry .zeit_ort .zeit, #onair2 .onair_entry .zeit_ort .zeit {
    margin-right:10px;
}
.onair_entry .zeit_ort .ort {
    font-weight: bold;
}
#onair2 .onair_entry {
    float:none;
    width:auto;
}
#rightbar{
    float: left;
    margin-left: -260px;
    margin-top: 100px;
    width: 560px;
}
#article_info_footer{
    clear:both;
    margin-left:300px;}
#article_info_footer div{
    width:260px;
    margin:20px;
    float:left;
    color:#676565;}
#article_info_footer h3, #page_layout  #downloads h3{
    font-size:14px;
    font-weight:400;
    margin:0px;
    margin-bottom:10px;
    text-transform:uppercase;
    padding:10px 0;}

#article_info_footer #dvd h3, #article_info_footer #downloads h3, #page_layout  #downloads h3{
    color:#fff !important;
    padding:0px;}
#article_info_footer #dvd a, #article_info_footer #downloads a, #page_layout  #downloads a{
    text-transform:uppercase;
    font-family: 'Montserrat',Arial,sans-serif;
}
#page_layout{
    position:relative;
    margin-top:0px;}
#page_layout  #downloads{
    position:absolute;
    top:110px;
    width:280px;}
#page_layout  #downloads .grey_button{
    width:260px !important;
}
#page_layout  #downloads h3{
    padding-left:10px;
}
#page_layout  #downloads a{
    padding-left:20px;
    display:inline-table;
}
#article_info_footer #dvd a, #article_info_footer #downloads a, #article_info_footer #dvd p, #article_info_footer #downloads p{
    padding-left:10px;
}
#pentalpha_link {
    /*margin-bottom: -90px;*/
    /*margin-top: 141px;*/
    /*padding-right: 215px;*/
    text-align: center;
}
#pentalpha_link a, .footer_button, .grey_button, .toggle{
    background: rgb(140,138,138); 

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjOGE4YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3MDcwNzAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(140,138,138,1) 0%, rgba(112,112,112,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,138,138,1)), color-stop(100%,rgba(112,112,112,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8a8a', endColorstr='#707070',GradientType=0 ); /* IE6-8 */
    margin:0 0 10px 0 !important;
    padding:10px;
    height:14px;
    width:240px !important;
    color:#fff;
    
}

#pentalpha_link a {
    display:inline-block;
}
#pentalpha_link ul {
    list-style-type: none;
}
#pentalpha_link ul li {
    display:inline-block;
    margin:0 2px;
}
.toggle{
    color: #fff;
    font-size: 16px;
    line-height: 15px;
    padding: 15px;
    text-transform:uppercase;
    cursor:pointer;
    opacity:0.6;
}
.footer_button{
    text-transform:uppercase;
}
.toggle:hover{
    opacity:1;}
#showform{
    display:none;}
#previmage{
    width:280px;
    height:550px;
    background-position: 80% center;}

.format-standard .entry-content{
    float:left;
    padding-bottom:20px !important;
}
#leftbar .black-gradient{
    padding: 10px 20px;
    color:#fff;
    font-size:18px;}
.format-standard .entry-header{
    margin-left: 300px !important;
    padding:0px !important;
}
.format-standard .entry-title{
    margin-bottom:20px;}
#bottom{
    clear:both;
}

#crosslinks{
    margin-left:20px;
    width:900px;
    float:left;}
#crosslinks li{
    list-style:none;
    margin-bottom:20px;
    height:120px;}

#crosslinks .entry-meta, #crosslinks a.crosslink{
    color:#fff;
    text-transform:none;}
#crosslinks  h4{
    font-weight:200;
    font-size:14px;
    margin:20px 0 0 0;
    text-transform:uppercase;}
#crosslinks .entry-meta{
    width:300px;
    float:left;
    height:120px;
    background-color:#444;
}
#crosslinks .entry-meta p{
    margin:0px;
}
#crosslinks .black-gradient{
    width:260px;
    padding:20px;
    height:80px;
    position:relative;

}
#crosslinks .black-gradient div{
    position:absolute;
    bottom:20px;
    width:inherit;
}
#crosslinks p{
    text-transform:none !important;}
#bottom h3{
    color:#bdbdbd;
    font-weight:200;
    font-size:14px;
    text-transform:uppercase;
    float:left;
    margin-top: 0;
    width: 280px;
    text-align:right;}
.prevthumb{
    height:120px;
    float:left;
    max-width:580px;
    width:100%;
    position:relative;
    background-color:#444;
    background-size:cover;}
span.details{
    background:url(images/detail_pointer.png) no-repeat left -1px;
    bottom: 20px;
    height: 19px;
    margin-left: 20px;
    padding-left: 20px;
    position: absolute;
    text-transform: uppercase;
    font-family:Lato, Arial, Helvetica, sans-serif;
}
#crosslinks a:hover span.details{
    background-position:left -20px;
    color:#000;}
#imageData #imageDetails {
    display:none;
}
/**
 * 6.1 Post Thumbnail
 * -----------------------------------------------------------------------------
 */

.post-thumbnail {
    background: #b2b2b2 url(images/pattern-light.svg) repeat fixed;
    display: block;
    position: relative;
    width: 100%;
    z-index: 0;
}

a.post-thumbnail:hover {
    background-color: #999;
}

.full-width .post-thumbnail img {
    display: block;
    margin: 0 auto;
}
.category{
    position:relative;}
.category .archive-header{
    color: #FFFFFF;
    margin-bottom: 0;
    position: absolute;
    top: -70px;
}
.category .archive-title{
    font-size: 40px;
    font-weight: 200;
    line-height: 1.5;
    margin: 0;
    text-transform: uppercase;
    word-break: keep-all;
}
.category #content, .searchresult #content{
    max-width:1500px;
    width:100%;
    margin:0 auto;}
.category #content .entry-content{
    padding: 40px 0;
    background:none;
    max-width:1500px;
    width:100%;
    position:relative;
    box-shadow: none;}
.category #crosslinks{
    margin:0px;
    max-width:1500px;
    width:100%;
    padding-left:0px;}	
.category #crosslinks .entry-meta{
    width:450px;
    height:180px;
    margin-top:50px;
    font-size:14px;
    font-weight:200;}
.category #crosslinks .entry-meta div div{
    line-height: 26px;
}
.category #crosslinks .entry-meta .black-gradient{
    width:410px;
    height:140px;}
.category #crosslinks .prevthumb {
    background-size:cover;
    background-position: center center;
    height: 180px;
    max-width: 900px;
}
.post_meta_o{
    border-top: 1px solid #FFFFFF;
    padding-top: 3px;
    margin-top: 3px;
    width: 410px;
}
.front-site .post_meta_o{
    border-top: 1px solid #FFFFFF !important;
}
.prevthumb .color_box{
    bottom: 0;
    height: 50px;
    position: absolute;
    right: -150px;
    width: 300px;
    background-color:#444;}
.prevthumb .color_box .black-gradient{
    height:30px !important;
    padding:15px 20px 5px !important;

}
.prevthumb .color_box .black-gradient .details{
    bottom:0px;
    margin-left:0px !important;
    position:relative;
    height:19px;}

/** Landing PAge */
#firstwrap{
    max-height: 300px;
    overflow: hidden;
    position: relative;}
#firstwrap img{
    min-height:300px;
    width:100%;}
#slides, #slides ul{
    height:300px;}
#slides ul{
    margin:0;	
    background-size:cover;
}
#slides li{
    list-style:none;
    width:100%;
    height:100%;
    background-size:cover;
    background-position: center center;
    position:absolute;}
#slides .fall{
    display:none;}
#slides li:first-child{
    display:block;}
#firstdiv{
    width:100%;
    margin:0 auto;
    position:absolute;
    bottom:0px;
    height:180px;}
#firstplace{
    height: 100%;
    margin: 0 auto;
    position: relative;
    width: 1500px;}
#firstdiv .bg{
    width:900px;
    margin-left:300px;
    position:relative;
    background:rgba(255,255,255,0.2);
    height:180px;
    float:left;}
#firstdiv .cutoff{
    width: 900px;
    position:absolute;
    left:1200px;
    float:left;
}
#firstdiv h1, #firstdiv  p{
    color:#fff;}
#firstdiv  p{
    font-size:18px;
    padding:0 0 0 20px;
}
#firstdiv h1{
    font-size:40px;
    /*text-align:right;*/
    margin:0px;
    line-height: 50px;
    padding:20px 0 0 20px;

}
#firstdiv span.details{
    bottom: 40px;
    color: #ffffff;
    font-size: 16px;
    height: 19px;
    line-height: 17px;
    padding-right: 40px;
    position: absolute;
    right: 300px;
}

.firsttoggle .black-gradient{
    padding: 20px;

}
.toggleinfo, .post_meta_o{
    text-transform:none !important;
    width: auto;
    line-height: 1.4em;
}
#crosslinks .entry-meta p.post_meta_o{
    margin-top: 10px;
    border-top: 1px solid #FFFFFF !important;
}
#news{
    width:260px;
    padding:20px;
    min-height:600px;
    background:#fff;
    float:left;
    margin-top: -50px;
    position: relative;
    z-index: 1;
    font-size:14px;
}
.teaser_box{
    max-width:1200px;
    float:right;
    width: 100%;
    position:relative;
}
.cutoff{
    background: none repeat scroll 0 0 #fff;
    bottom: 0;
    height: 50px;
    position: absolute;
    width: 600px;
}
.home #main-content{
    margin-top:0px;
}

.front-site{
    margin: 0 auto !important;
    width: 1500px;
}
.front-site span.details {
    height: 50px;
    text-transform: uppercase;
    font-family: Lato, Arial, Helvetica, sans-serif;
    width: 300px;
    display: block;
    float:right;
    position:relative;
    margin-left:0;
    padding-left:0;
    bottom:50px;
}
.front-site .prevthumb {
    height: 280px;
    width: auto;
    max-width: none;
    float:none;
    position: relative;
    background-color: #444;
    background-size: cover;
    margin-left: 300px;
}
.front-site .cutoff {
    position:absolute;
    bottom:0px;
    background: none repeat scroll 0 0 #fff;
    height: 50px;
    width:600px;
}
.front-site .entry-meta {
    width:300px;
    height:180px;
    color:#fff;
    float:left;
    overflow:hidden;
    margin-top:50px;
}
.front-site .black-gradient	{
    /*padding:20px;*/
    position:relative;
}
.front-site .black-gradient	h4{
    margin:0px;
}
.front-site .black-gradient	div{
    position:absolute;
    bottom:0px;
    padding:20px;
}
.front-site .black-gradient	p{
    margin:10px 0 0 0;
}
/*images*/
.front-site .teaser_box .prevthumb{
    background-position: center center;

    color:#fff;
}
.front-site .teaser_box span.details {
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 ); /* IE6-9 */

    position: absolute;
    height: 50px;
    text-transform: uppercase;
    font-family: Lato, Arial, Helvetica, sans-serif;
    width: 300px;
    display: block;
    bottom:0;
}
.front-site .teaser_box.teaser_box0 span.details, .front-site .teaser_box.teaser_box2 span.details, .front-site .teaser_box.teaser_box1 .cutoff, .front-site .teaser_box.teaser_box3 .cutoff {
    right:0;
}
.front-site .teaser_box.teaser_box1 span.details, .front-site .teaser_box.teaser_box3 span.details, .front-site .teaser_box.teaser_box0 .cutoff, .front-site .teaser_box.teaser_box2 .cutoff {
    left:0;
}
.front-site .teaser_box span.details a {
    position: absolute;
    top: 50%;
    left:20px;
    height:19px;
    transform: translate(0,-50%);
    color:#fff;
}
.front-site .teaser_box span.details a span:before {
    font-size: 29px;
    line-height: 20px;
}
.front-site .teaser_box .prevthumb:hover span.details a {
    color:#b51b26;
}
.front-site .teaser_box .prevthumb:hover {
    cursor: pointer;
}
.front-site .teaser_box0 {
    margin-top: 50px;
}
.front-site .teaser_box0 .entry-meta {
    height:230px;
    margin-top:0;
}
.front-site .teaser_box1 .prevthumb {
    height:360px;
}
.front-site .teaser_box1 .entry-meta {
    height:260px;
}
.front-site .teaser_box:nth-of-type(odd) .prevthumb {
    margin-left:0;
    margin-right: 300px;
}
.front-site .teaser_box:nth-of-type(odd) .entry-meta {
    float:right;
}
.front-site .teaser_box:nth-of-type(odd) span.details {
    float:left;
}
.front-site .teaser_box3 .cutoff {
    display:none;
}
.front-site .teaser_box3 .prevthumb {
    height:230px;
}
.front-site .teaser_box3 {
    margin-bottom: 50px;
}
/**
 * 6.2 Entry Header
 * -----------------------------------------------------------------------------
 */

.entry-header {
    position: relative;
    z-index: 1;
}

.entry-title, #shop .page-title {
    font-size: 20px !important;
    font-weight: 300;
    line-height: 1.0909090909;
    margin-bottom: 12px;
    margin-top:45px !important;
    margin: 0 0 12px 0;
    text-transform: uppercase;
}

.entry-title a {
    color: #2b2b2b;
}

.entry-title a:hover {
    color: #4C4A4A;
}

.site-content .entry-header {
    background-color: #fff;
    padding: 0 10px 12px;
}
.black-gradient{
    background:url(images/dark_bg.png) repeat-x bottom left;
    background-size:50% 90%;
    height:100%;
}

.searchresult{
    margin-top:100px;}
.searchresult #searchform{
    display:none;}	
.searchresult .page-title{
    font-size:30px;
}
.searchresult article, .searchresult .page-header, .searchresult .page-content {
    max-width:900px !important;
    padding:0 20px !important;
    margin:0 auto;
}
.search-header, .search-header .entry-title {
    width:100%  !important;
    max-width:none !important;
    font-size:20px !important;
}
.search-header .entry-title {
    margin-top:20px !important;
}
.search-summery{
    padding:0px 0px 20px 0px !important;}
/**
 * 6.3 Entry Meta
 * -----------------------------------------------------------------------------
 */

.entry-meta {
    clear: both;
    color: #767676;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3333333333;
    text-transform: uppercase;
}
.entry-header .entry-meta .black-gradient{
    padding:50px 20px 20px 20px;
}

.entry-header .entry-meta, .entry-header .entry-meta a{
    color:#fff;
    font-size:14px;
    font-weight:200 !important;
}
.entry-meta a {
    color: #767676;
}

.entry-meta a:hover {
    color: #41a62a;
}

.front-site .entry-meta a {
    color: #fff;
}

.front-site .entry-meta a:hover {
    color: #b51b26;
}

.sticky .entry-date {
    display: none;
}

.cat-links {

    text-transform: uppercase;
}

.cat-links a {
    color: #2b2b2b;
}

.cat-links a:hover {
    color: #000;
}

.byline {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.site-content .entry-meta {
    background-color: #444;

}

.site-content footer.entry-meta {
    margin: 24px auto 0;
    padding: 0 10px;
}

/* Tag links style */

.entry-meta .tag-links a {
    background-color: #767676;
    border-radius: 0 2px 2px 0;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2727272727;
    margin: 2px 4px 2px 10px;
    padding: 3px 7px;
    position: relative;
    text-transform: uppercase;
}

.entry-meta .tag-links a:hover {
    background-color: #41a62a;
    color: #fff;
}

.entry-meta .tag-links a:before {
    border-top: 10px solid transparent;
    border-right: 8px solid #767676;
    border-bottom: 10px solid transparent;
    content: "";
    height: 0;
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
}

.entry-meta .tag-links a:hover:before {
    border-right-color: #41a62a;
}

.entry-meta .tag-links a:after {
    background-color: #fff;
    border-radius: 50%;
    content: "";
    height: 4px;
    position: absolute;
    top: 8px;
    left: -2px;
    width: 4px;
}


/**
 * 6.4 Entry Content
 * -----------------------------------------------------------------------------
 */
#teaserimg{
    background-size: cover;
    background-position:center center;
    height: 360px;
    position: relative;
    width: 100%;}
.entry-content,
.entry-summary,
.page-content {
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    hyphens:         auto;
    word-wrap: break-word;
}

.site-content .entry-content,
.site-content .entry-summary,
.page-content {
    background-color: #fff;
    padding: 12px 10px 0;
}

.page .entry-content {
    padding-top: 0;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child,
.entry-summary h1:first-child,
.entry-summary h2:first-child,
.entry-summary h3:first-child,
.entry-summary h4:first-child,
.entry-summary h5:first-child,
.entry-summary h6:first-child,
.page-content h1:first-child,
.page-content h2:first-child,
.page-content h3:first-child,
.page-content h4:first-child,
.page-content h5:first-child,
.page-content h6:first-child {
    margin-top: 0;
}

.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a {
    text-decoration: none;
    color: #676565;
}

.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover,
.comment-content a:hover {
    text-decoration: none;
    color:#b51b26;

}

.entry-content table,
.comment-content table {
    font-size: 14px;
    line-height: 1.2857142857;
    margin-bottom: 24px;
}

.entry-content th,
.comment-content th {
    font-weight: 700;
    padding: 8px;
    text-transform: uppercase;
}

.entry-content td,
.comment-content td {
    padding: 8px;
}

.entry-content .edit-link {
    clear: both;
    display: block;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3333333333;
    text-transform: uppercase;
}

.entry-content .edit-link a {
    color: #767676;
    text-decoration: none;
}

.entry-content .edit-link a:hover {
    color: #41a62a;
}
.format-standard .entry-content .leftcolumn, .entry-content .rightcolumn {width: 48%; }
.format-standard .entry-content .leftcolumn {float: left; margin-right:20px; }
.format-standard .entry-content .rightcolumn {float: right; }
.format-standard .entry-content .topcolumn {
    clear: both; 
    margin-bottom:20px;


}

/* Mediaelements */
.hentry .mejs-container {
    margin: 12px 0 18px;
}

.hentry .mejs-mediaelement,
.hentry .mejs-container .mejs-controls {
    background: #000;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
    background: #24890d;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: rgba(255,255,255,.33);
}

.hentry .mejs-container .mejs-controls .mejs-time {
    padding-top: 9px;
}

.hentry .mejs-controls .mejs-time-rail span,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
    border-radius: 0;
}

.hentry .mejs-overlay-loading {
    background: transparent;
}

/* Page links */

.page-links {
    clear: both;
    font-size: 12px;
    font-weight: 900;
    line-height: 2;
    margin: 24px 0;
    text-transform: uppercase;
}

.page-links a,
.page-links > span {
    background: #fff;
    border: 1px solid #fff;
    display: inline-block;
    height: 22px;
    margin: 0 1px 2px 0;
    text-align: center;
    width: 22px;
}

.page-links a {
    background: #000;
    border: 1px solid #000;
    color: #fff;
    text-decoration: none;
}

.page-links a:hover {
    background: #41a62a;
    border: 1px solid #41a62a;
    color: #fff;
}

.page-links > .page-links-title {
    height: auto;
    margin: 0;
    padding-right: 7px;
    width: auto;
}


/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */

.gallery {
    margin-bottom: 20px;
}

.gallery-item {
    float: left;
    margin: 0 4px 4px 0;
    overflow: hidden;
    position: relative;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 48%;
    max-width: -webkit-calc(50% - 4px);
    max-width:         calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
    max-width: 32%;
    max-width: -webkit-calc(33.3% - 4px);
    max-width:         calc(33.3% - 4px);
}

.gallery-columns-4 .gallery-item {
    max-width: 23%;
    max-width: -webkit-calc(25% - 4px);
    max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
    max-width: 19%;
    max-width: -webkit-calc(20% - 4px);
    max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
    max-width: 15%;
    max-width: -webkit-calc(16.7% - 4px);
    max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
    max-width: 13%;
    max-width: -webkit-calc(14.28% - 4px);
    max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
    max-width: 11%;
    max-width: -webkit-calc(12.5% - 4px);
    max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
    max-width: 9%;
    max-width: -webkit-calc(11.1% - 4px);
    max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin-right: 0;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 6px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
}

.gallery-caption:before {
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

/**
 * 6.6 Post Formats
 * -----------------------------------------------------------------------------
 */

.format-aside .entry-content,
.format-aside .entry-summary,
.format-quote .entry-content,
.format-quote .entry-summary,
.format-link .entry-content,
.format-link .entry-summary {
    padding-top: 0;
}

.site-content .format-link .entry-title,
.site-content .format-aside .entry-title,
.site-content .format-quote .entry-title {
    display: none;
}


/**
 * 6.7 Post/Image/Paging Navigation
 * -----------------------------------------------------------------------------
 */

.nav-links {
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    hyphens:         auto;
    word-wrap: break-word;
}

.post-navigation,
.image-navigation {
    margin: 24px auto 48px;
    max-width: 474px;
    padding: 0 10px;
}

.post-navigation a,
.image-navigation .previous-image,
.image-navigation .next-image {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 11px 0 12px;
    width: 100%;
}

.post-navigation .meta-nav {
    color: #767676;
    display: block;
    font-size: 12px;
    font-weight: 900;
    line-height: 2;
    text-transform: uppercase;
}

.post-navigation a,
.image-navigation a {
    color: #2b2b2b;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7142857142;
    text-transform: none;
}

.post-navigation a:hover,
.image-navigation a:hover {
    color: #41a62a;
}

/* Paging Navigation */
#pager{
    width:100%;
    text-align:right;}
.paging-navigation, .woocommerce-pagination {
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Standard */ 
    margin: 0 auto;
    margin-bottom:30px;
    max-width: 600px;
    min-width: 300px;
    width: auto;;
    margin-right:0px;
    background:#fff;
}
.woocommerce-pagination ul{
    margin:0px;
}
.woocommerce-pagination{
    height:40px !important;
    margin-top:-10px;}
div.pagination {
    background-color: #fff;
    font-size: 14px;
    padding: 0px;
}

.paging-navigation .loop-pagination {
    margin-top: -5px;
    text-align: center;
    line-height: 40px;
    margin-left: 150px;
    max-width: 450px;
    width:auto;
}
.paging-navigation .loop-pagination a, .paging-navigation .loop-pagination span.current{
    margin:0px;}
.paging-navigation .screen-reader-text {
    color: #bdbdbd;
    font-size: 14px;
    font-weight: 200;
    margin:0px;
    text-align: right;
    text-transform: uppercase;
    width: 150px;
    clip:rect(auto, auto, auto, auto);
    line-height: 40px;
}

.paging-navigation .page-numbers {
    display: inline-block;
    font-size: 14px;
    margin-right: 1px;
    text-transform: uppercase;
    background:none;

}
.woocommerce #content nav.woocommerce-pagination ul li a, .woocommerce #content nav.woocommerce-pagination ul li span, .woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span, .woocommerce-page #content nav.woocommerce-pagination ul li a, .woocommerce-page #content nav.woocommerce-pagination ul li span, .woocommerce-page nav.woocommerce-pagination ul li a, .woocommerce-page nav.woocommerce-pagination ul li span{
    opacity:0.6;
    padding:13px !important;}
.woocommerce #content nav.woocommerce-pagination ul li span, .woocommerce nav.woocommerce-pagination ul li span, .woocommerce-page #content nav.woocommerce-pagination ul li span,  .woocommerce-page nav.woocommerce-pagination ul li span, .paging-navigation .page-numbers:hover {
    background: rgb(139,139,139); /* Old browsers */

    /* IE9 SVG, needs conditional override of 'filter' to 'none' */

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhiOGI4YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3NTc1NzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(139,139,139,1) 0%, rgba(117,117,117,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(139,139,139,1)), color-stop(100%,rgba(117,117,117,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8b8b8b', endColorstr='#757575',GradientType=0 ); /* IE6-8 */

    color:#fff !important;

}

.paging-navigation a, .paging-navigation .dots {
    color: #bdbdbd !important;
}

.paging-navigation a{
    padding: 0 15px !important;
}
.woocommerce #content nav.woocommerce-pagination ul li a:focus, .woocommerce #content nav.woocommerce-pagination ul li a:hover, .woocommerce #content nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce-page #content nav.woocommerce-pagination ul li a:focus, .woocommerce-page #content nav.woocommerce-pagination ul li a:hover, .woocommerce-page #content nav.woocommerce-pagination ul li span.current, .woocommerce-page nav.woocommerce-pagination ul li a:focus, .woocommerce-page nav.woocommerce-pagination ul li a:hover, .woocommerce-page nav.woocommerce-pagination ul li span.current, .paging-navigation .page-numbers.current{
    opacity: 1;
}
.woocommerce #content nav.woocommerce-pagination ul li a:focus, .woocommerce #content nav.woocommerce-pagination ul li a:hover, .woocommerce #content nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce-page #content nav.woocommerce-pagination ul li a:focus, .woocommerce-page #content nav.woocommerce-pagination ul li a:hover, .woocommerce-page #content nav.woocommerce-pagination ul li span.current, .woocommerce-page nav.woocommerce-pagination ul li a:focus, .woocommerce-page nav.woocommerce-pagination ul li a:hover, .woocommerce-page nav.woocommerce-pagination ul li span.current, .paging-navigation .page-numbers.current {
    background: rgb(139,139,139); /* Old browsers */

    /* IE9 SVG, needs conditional override of 'filter' to 'none' */

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhiOGI4YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3NTc1NzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(139,139,139,1) 0%, rgba(117,117,117,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(139,139,139,1)), color-stop(100%,rgba(117,117,117,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8b8b8b', endColorstr='#757575',GradientType=0 ); /* IE6-8 */
    color:#fff;
    padding:0 15px;

}

.paging-navigation a:hover {
    color: #2b2b2b;
}


/**
 * 6.8 Attachments
 * -----------------------------------------------------------------------------
 */

.attachment .content-sidebar,
.attachment .post-thumbnail {
    display: none;
}

.attachment .entry-content {
    padding-top: 0;
}

.attachment footer.entry-meta {
    text-transform: none;
}

.entry-attachment .attachment {
    margin-bottom: 24px;
}


/**
 * 6.9 Archives
 * -----------------------------------------------------------------------------
 */

.archive-header,
.page-header {
    margin: 24px auto;
    max-width: 600px;
}

.archive-title,
.page-title {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
}

.taxonomy-description,
.author-description {
    color: #767676;
    font-size: 14px;
    line-height: 1.2857142857;
    padding-top: 18px;
}

.taxonomy-description p,
.author-description p {
    margin-bottom: 18px;
}

.taxonomy-description p:last-child,
.author-description p:last-child {
    margin-bottom: 0;
}

.taxonomy-description a,
.author-description a {
    text-decoration: underline;
}

.taxonomy-description a:hover,
.author-description a:hover {
    text-decoration: none;
}


/**
 * 6.10 Contributor Page
 * -----------------------------------------------------------------------------
 */

.contributor {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing:      border-box;
    padding: 48px 10px;
}

.contributor:first-of-type {
    padding-top: 24px;
}

.contributor-info {
    margin: 0 auto;
    max-width: 474px;
}

.contributor-avatar {
    border: 1px solid rgba(0, 0, 0, 0.1);
    float: left;
    margin: 0 30px 20px 0;
    padding: 2px;
}

.contributor-name {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
}

.contributor-bio a {
    text-decoration: underline;
}

.contributor-bio a:hover {
    text-decoration: none;
}

.contributor-posts-link {
    display: inline-block;
    line-height: normal;
    padding: 10px 30px;
}

.contributor-posts-link:before {
    content: "\f443";
}
#teammembers{
    margin: 0 auto;
}
#exlinks > a {
    display: inline-table;
    padding: 20px 20px 0;
}
#team .entry-header, #team .entry-content,  #page_layout .entry-header, #page_layout .entry-content{
    padding-right:320px;}

#team .mb{
    width:280px;
    margin-right:20px;
    min-height:510px;
    float:left;}
#team .mb .mb_img_holder{
    height:310px;
    overflow:hidden;}

#team .mb p, #team .mb a{
    margin-bottom:5px;
    line-height: 24px;
    padding:0 20px;}
#team .mb .mb_info{
    margin-bottom:15px;}
#team .mb .mb_mail{
    font-weight:bold}
#team .mb .mb_name {
    margin-bottom:15px;
    background: rgb(139,139,139); /* Old browsers */

    /* IE9 SVG, needs conditional override of 'filter' to 'none' */

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhiOGI4YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3NTc1NzUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(139,139,139,1) 0%, rgba(117,117,117,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(139,139,139,1)), color-stop(100%,rgba(117,117,117,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(139,139,139,1) 0%,rgba(117,117,117,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8b8b8b', endColorstr='#757575',GradientType=0 ); /* IE6-8 */
    color:#fff;
    padding:10px 20px;
    width:240px;
    font-size:16px;
    text-transform:uppercase;
    line-height:30px;
}

/**
 * 6.11 404 Page
 * -----------------------------------------------------------------------------
 */

.error404 .page-content {
    padding-top: 0;
}

.error404 .page-content .search-form {
    margin-bottom: 24px;
}
.error404 #main {
    padding-top: 100px !important;
}

/**
 * 6.12 Full-width
 * -----------------------------------------------------------------------------
 */




/**
 * 6.13 Singular
 * -----------------------------------------------------------------------------
 */

.singular .site-content .hentry.has-post-thumbnail {
    margin-top: -48px;
}


/**
 * 6.14 Comments
 * -----------------------------------------------------------------------------
 */

.comments-area {
    margin: 48px auto;
    max-width: 474px;
    padding: 0 10px;
}

.comment-reply-title,
.comments-title {
    font: 900 16px/1.5 Lato, sans-serif;
    margin: 0;
    text-transform: uppercase;
}

.comment-list {
    list-style: none;
    margin: 0 0 48px 0;
}

.comment-author {
    font-size: 14px;
    line-height: 1.7142857142;
}

.comment-list .reply,
.comment-metadata {
    font-size: 12px;
    line-height: 2;
    text-transform: uppercase;
}

.comment-list .reply {
    margin-top: 24px;
}

.comment-author .fn {
    font-weight: 900;
}

.comment-author a {
    color: #2b2b2b;
}

.comment-list .trackback a,
.comment-list .pingback a,
.comment-metadata a {
    color: #767676;
}

.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
    color: #41a62a;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    padding-top: 24px;
}

.comment-list > li:first-child > article,
.comment-list > .pingback:first-child,
.comment-list > .trackback:first-child {
    border-top: 0;
}

.comment-author {
    position: relative;
}

.comment-author .avatar {
    border: 1px solid rgba(0, 0, 0, 0.1);
    height: 18px;
    padding: 2px;
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
}

.bypostauthor > article .fn:before {
    content: "\f408";
    margin: 0 2px 0 -2px;
    position: relative;
    top: -1px;
}

.says {
    display: none;
}

.comment-author,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply,
.comment-metadata {
    padding-left: 30px;
}

.comment-edit-link {
    margin-left: 10px;
}

.comment-edit-link:before {
    content: "\f411";
}

.comment-reply-link:before,
.comment-reply-login:before {
    content: "\f412";
    margin-right: 2px;
}

.comment-content {
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    hyphens:         auto;
    word-wrap: break-word;
}

.comment-content ul,
.comment-content ol {
    margin: 0 0 24px 22px;
}

.comment-content li > ul,
.comment-content li > ol {
    margin-bottom: 0;
}

.comment-content > :last-child {
    margin-bottom: 0;
}

.comment-list .children {
    list-style: none;
    margin-left: 15px;
}

.comment-respond {
    margin-bottom: 24px;
    padding: 0;
}

.comment .comment-respond {
    margin-top: 24px;
}

.comment-respond h3 {
    margin-top: 0;
    margin-bottom: 24px;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.no-comments,
.form-allowed-tags,
.form-allowed-tags code {
    color: #767676;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as {
    font-size: 14px;
    line-height: 1.7142857142;
}

.no-comments {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.5;
    margin-top: 24px;
    text-transform: uppercase;
}

.comment-form label {
    display: block;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%;
}

.form-allowed-tags,
.form-allowed-tags code {
    font-size: 12px;
    line-height: 1.5;
}

.required {
    color: #c0392b;
}

.comment-reply-title small a {
    color: #2b2b2b;
    float: right;
    height: 24px;
    overflow: hidden;
    width: 24px;
}

.comment-reply-title small a:hover {
    color: #41a62a;
}

.comment-reply-title small a:before {
    content: "\f405";
    font-size: 32px;
}

.comment-navigation {
    font-size: 12px;
    line-height: 2;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.comment-navigation .nav-next,
.comment-navigation .nav-previous {
    display: inline-block;
}

.comment-navigation .nav-previous a {
    margin-right: 10px;
}

#comment-nav-above {
    margin-top: 36px;
    margin-bottom: 0;
}
/** 6.15 SHOP  **/
.shopholder{
    margin:0 auto;
    text-align:center;
    max-width:880px;
    padding-right:20px;}
.shopholder .page-title{
    max-width: 860px;
    margin:0 auto !important;
    text-align:left;
    padding:20px;}
#shop .page-title{
    float:left;
    margin-top:-30px !important;
}
.shopholder .products{
    max-width: 880px;
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    hyphens:         auto;
    word-wrap: break-word;
    background:#fff;
    padding: 0 20px !important;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Standard */ 
    margin:0 auto !important;
    margin-bottom:40px !important;
    text-align:left;}
.shopholder li p {
    margin-bottom: 0px;
}
.products-per-page{
    border: 1px solid #ccc;
    height: 37px;
    overflow: hidden;
    padding-top: 3px;
    width: 200px;
    background:url(images/arrow_down.png) no-repeat scroll 175px center #ddd;
    margin-top: -10px;
}
.products-per-page .wppp-select{
    background: transparent;
    width: 240px;
    padding: 5px;
    font-size: 16px;
    line-height: 1;
    border: 0;
    border-radius: 0;
    height: 34px;
    -webkit-appearance: none;
    max-width:none;
}
.backtoshop, #backtoshopcart{
    float: right;
    line-height: 14px;
    margin-right: 10px;
    margin-top: -67px;
    position: relative;
    z-index: 100;
}
 .woocommerce-ordering{
    display:none;}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    margin: 20px 30px 20px 0;
    padding: 0;
    position: relative;
    width: 255px;
    display:inline-table;
    float:none;
}
.woocommerce ul.products li.product:nth-child(3n+3), .woocommerce-page ul.products li.product:nth-child(3n+3) {
    margin-right:0px;
}
.woocommerce ul.products li.product a img, .woocommerce-page ul.products li.product a img {
    box-shadow: none;
    display: block;
    height: auto;
    margin: 0 0 8px;
    transition: all 0.2s ease-in-out 0s;
    width: 100%;
}
.woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
    padding: 0.5em 0;
}
.woocommerce ul.products li.product .price del, .woocommerce-page ul.products li.product .price del {
    color: rgba(145, 145, 145, 0.5);
    font-size: 14px;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce #content input.button, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button, .woocommerce-page #respond input#submit, .woocommerce-page #content input.button, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce #content input.button.alt, .woocommerce-page a.button.alt, .woocommerce-page button.button.alt, .woocommerce-page input.button.alt, .woocommerce-page #respond input#submit.alt, .woocommerce-page #content input.button.alt, .woocommerce .quantity .plus, .woocommerce .quantity .minus, .woocommerce #content .quantity .plus, .woocommerce #content .quantity .minus, .woocommerce-page .quantity .plus, .woocommerce-page .quantity .minus, .woocommerce-page #content .quantity .plus, .woocommerce-page #content .quantity .minus, .wc-forward:after, .wc-forward a:after {

    background: rgb(140,138,138); 

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjOGE4YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3MDcwNzAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(140,138,138,1) 0%, rgba(112,112,112,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,138,138,1)), color-stop(100%,rgba(112,112,112,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8a8a', endColorstr='#707070',GradientType=0 ); /* IE6-8 */
    border-radius: 0px;
    border:0px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 15;
    text-transform: uppercase;
    vertical-align: bottom;
    opacity:0.6 !important;
    text-shadow:none !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce #content input.button:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page #content input.button:hover,.woocommerce span.onsale, .woocommerce-page span.onsale, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce #content input.button.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce-page input.button.alt:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page #content input.button.alt:hover, .plus:hover, .minus:hover,
.woocommerce .quantity .plus:hover, .woocommerce .quantity .minus:hover, .woocommerce #content .quantity .plus:hover, .woocommerce #content .quantity .minus:hover, .woocommerce-page .quantity .plus:hover, .woocommerce-page .quantity .minus:hover, .woocommerce-page #content .quantity .plus:hover, .woocommerce-page #content .quantity .minus:hover{
    opacity:1!important;
    background: rgb(140,138,138); 

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjOGE4YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3MDcwNzAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

    background: -moz-linear-gradient(top,  rgba(140,138,138,1) 0%, rgba(112,112,112,1) 100%); /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,138,138,1)), color-stop(100%,rgba(112,112,112,1))); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* IE10+ */

    background: linear-gradient(to bottom,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%); /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8a8a', endColorstr='#707070',GradientType=0 ); /* IE6-8 */

}
.woocommerce span.onsale, .woocommerce-page span.onsale {
    font-weight:normal;
    text-shadow:none;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 45%;
    text-align:center;
}
#shop .woocommerce-main-image img{
    width:auto !important;
    margin:0 auto;
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
    margin-top: 40px;}
.woocommerce div.product div.summary, .woocommerce #content div.product div.summary, .woocommerce-page div.product div.summary, .woocommerce-page #content div.product div.summary {
    text-align:left;
}
.woocommerce div.product form.cart .button, .woocommerce #content div.product form.cart .button, .woocommerce-page div.product form.cart .button, .woocommerce-page #content div.product form.cart .button {
    float: left;
    vertical-align: middle;
    width: auto;
    text-shadow:none;
}
.woocommerce .quantity, .woocommerce #content .quantity, .woocommerce-page .quantity, .woocommerce-page #content .quantity {
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    width: 70px;
}
.woocommerce .quantity .plus, .woocommerce .quantity .minus, .woocommerce #content .quantity .plus, .woocommerce #content .quantity .minus, .woocommerce-page .quantity .plus, .woocommerce-page .quantity .minus, .woocommerce-page #content .quantity .plus, .woocommerce-page #content .quantity .minus{
    opacity:1 !important;
}
.woocommerce .quantity input.qty, .woocommerce #content .quantity input.qty, .woocommerce-page .quantity input.qty, .woocommerce-page #content .quantity input.qty{border: 1px solid rgba(0, 0, 0, 0.1);
                                                                                                                                                                   border-radius: 2px;
                                                                                                                                                                   color: #2b2b2b;
                                                                                                                                                                   padding: 8px 10px 7px;
                                                                                                                                                                   width:55px;
                                                                                                                                                                   height:37px;
                                                                                                                                                                   padding-right: 0;}
.woocommerce .quantity .plus, .woocommerce .quantity .minus, .woocommerce #content .quantity .plus, .woocommerce #content .quantity .minus, .woocommerce-page .quantity .plus, .woocommerce-page .quantity .minus, .woocommerce-page #content .quantity .plus, .woocommerce-page #content .quantity .minus {
    border: 0 none !important;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 15px;
    font-weight: normal;
    height: 19px;
    line-height: 19px;
    margin: 0;
    overflow: visible;
    padding: 0;
    position: absolute;
    text-align: center;
    text-decoration: none;
    vertical-align: text-top;
    width: 31px;
}

.woocommerce div.product form.cart .button, .woocommerce #content div.product form.cart .button, .woocommerce-page div.product form.cart .button, .woocommerce-page #content div.product form.cart .button {
    height: 37px;
    margin-left: 20px;
}
.woocommerce #content div.product .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, .woocommerce-page #content div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs {
    clear: both;
    background:#fff;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Standard */
    padding:25px;
    text-align:left;
}
.woocommerce div.product .woocommerce-tabs .panel, .woocommerce #content div.product .woocommerce-tabs .panel, .woocommerce-page div.product .woocommerce-tabs .panel, .woocommerce-page #content div.product .woocommerce-tabs .panel {
    margin: 0 0 2em;
    padding: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

}
.woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li{
    background: rgb(140,138,138)!important;

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzhjOGE4YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3MDcwNzAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+)!important;

    background: -moz-linear-gradient(top,  rgba(140,138,138,1) 0%, rgba(112,112,112,1) 100%)!important;/* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(140,138,138,1)), color-stop(100%,rgba(112,112,112,1)))!important;Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%)!important; /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%)!important; Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%)!important;/* IE10+ */

    background: linear-gradient(to bottom,  rgba(140,138,138,1) 0%,rgba(112,112,112,1) 100%)!important;/* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8c8a8a', endColorstr='#707070',GradientType=0 )!important; /* IE6-8 */
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
    border:0px !important;
    border-width:0px !important;
    border-radius:0px !important;
    text-shadow:none;
    color:#fff;
    font-weight:normal;
    margin-left:0px;
    margin-right:20px;
    opacity:0.6;}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:before, .woocommerce #content div.product .woocommerce-tabs ul.tabs li.active:before, .woocommerce-page div.product .woocommerce-tabs ul.tabs li.active:before, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li.active:before {
    -webkit-box-shadow: none!important;
    -moz-box-shadow: none!important;
    box-shadow: none!important;
    color:red;


}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active, .woocommerce #content div.product .woocommerce-tabs ul.tabs li.active, .woocommerce-page div.product .woocommerce-tabs ul.tabs li.active, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li.active {
    opacity: 1;



}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before, .woocommerce div.product .woocommerce-tabs ul.tabs li:after, .woocommerce #content div.product .woocommerce-tabs ul.tabs li:before, .woocommerce #content div.product .woocommerce-tabs ul.tabs li:after, .woocommerce-page div.product .woocommerce-tabs ul.tabs li:before, .woocommerce-page div.product .woocommerce-tabs ul.tabs li:after, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:before, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:after, .woocommerce div.product .woocommerce-tabs ul.tabs li:before, .woocommerce div.product .woocommerce-tabs ul.tabs li:after, .woocommerce #content div.product .woocommerce-tabs ul.tabs li:before, .woocommerce #content div.product .woocommerce-tabs ul.tabs li:after, .woocommerce-page div.product .woocommerce-tabs ul.tabs li:before, .woocommerce-page div.product .woocommerce-tabs ul.tabs li:after, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:before, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:after  {
    border:0px !important;
    bottom: -1px;
    content: " ";
    height: 5px;
    position: absolute;
    width: 5px;
    content:none !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a, .woocommerce #content div.product .woocommerce-tabs ul.tabs li a, .woocommerce-page div.product .woocommerce-tabs ul.tabs li a, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li a {
    color: #fff;
    display: inline-block;
    font-weight: normal;
    padding: 0.5em 0;
    text-decoration: none;
    text-shadow: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover, .woocommerce #content div.product .woocommerce-tabs ul.tabs li a:hover, .woocommerce-page div.product .woocommerce-tabs ul.tabs li a:hover, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li a:hover, .woocommerce div.product .woocommerce-tabs ul.tabs li:hover, .woocommerce #content div.product .woocommerce-tabs ul.tabs li:hover, .woocommerce-page div.product .woocommerce-tabs ul.tabs li:hover, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:hover{
    color: #fff;
    opacity:1 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs:before, .woocommerce #content div.product .woocommerce-tabs ul.tabs:before, .woocommerce-page div.product .woocommerce-tabs ul.tabs:before, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs:before {
    border-bottom:0px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs, .woocommerce #content div.product .woocommerce-tabs ul.tabs, .woocommerce-page div.product .woocommerce-tabs ul.tabs, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs {
    padding:0px !important;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar, .woocommerce-page #reviews #comments ol.commentlist li img.avatar {
    display:none;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: right;
    width: 45%;
}
.woocommerce .woocommerce-message:before, .woocommerce .woocommerce-error:before, .woocommerce .woocommerce-info:before, .woocommerce-page .woocommerce-message:before, .woocommerce-page .woocommerce-error:before, .woocommerce-page .woocommerce-info:before {
    color: #fff;
    font-family: sans-serif;
    font-size: 1em;
    height: 1.5em;
    left: 1em;
    line-height: 1.5;
    padding-top: 1em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1.5em;
    border-radius:0px;
}
.woocommerce .woocommerce-message, .woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce-page .woocommerce-message, .woocommerce-page .woocommerce-error, .woocommerce-page .woocommerce-info {
    color: #5e5e5e;
    list-style: none outside none !important;
    margin: 0 0 2em !important;
    padding: 1em 1em 1em 3.5em !important;
    position: relative;
    text-shadow: 0 1px 0 #ffffff;
    width: auto;
    background:#fff;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Standard */
    border-radius:0px;
}
#shop .wc-forward:after, #shop .wc-forward a:after {
    content: none;
    font-family:inherit;
    font-size: 0.75em;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    margin-left: 7px;
    text-transform: none;
    height:37px;
}
.woocommerce table.cart input, .woocommerce #content table.cart input, .woocommerce-page table.cart input, .woocommerce-page #content table.cart input {
    line-height: 1em;
    margin: 0;
    vertical-align: middle;
    width: auto;
}
.woocommerce table .checkout-button{
    margin-top: 20px !important;
}
.woocommerce table .checkout-button, #place_order{
    background: rgb(181,27,38) !important; /* Old browsers */

    /* IE9 SVG, needs conditional override of 'filter' to 'none' */

    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I1MWIyNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZDAwMTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+) !important;

    background: -moz-linear-gradient(top,  rgba(181,27,38,1) 0%, rgba(109,0,25,1) 100%) !important; /* FF3.6+ */

    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(181,27,38,1)), color-stop(100%,rgba(109,0,25,1))) !important; /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top,  rgba(181,27,38,1) 0%,rgba(109,0,25,1) 100%) !important; /* Chrome10+,Safari5.1+ */

    background: -o-linear-gradient(top,  rgba(181,27,38,1) 0%,rgba(109,0,25,1) 100%) !important; /* Opera 11.10+ */

    background: -ms-linear-gradient(top,  rgba(181,27,38,1) 0%,rgba(109,0,25,1) 100%) !important; /* IE10+ */

    background: linear-gradient(to bottom,  rgba(181,27,38,1) 0%,rgba(109,0,25,1) 100%) !important; /* W3C */

    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b51b26', endColorstr='#6d0019',GradientType=0 ) !important; /* IE6-8 */

}
.woocommerce .cart-collaterals .cart_totals table th, .woocommerce-page .cart-collaterals .cart_totals table th {
    padding: 6px 12px 0 0;
    width: 60%;
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    float: left;
    text-align: left;
    width: 100%;
}
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2, .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1  {
    float: none;
    width: 100%;
    margin-bottom:30px;
}
.woocommerce button, .woocommerce input, .woocommerce select {
    width: auto;
}
.woocommerce #payment, .woocommerce-page #payment {
    background: none repeat scroll 0 0 #f7f6f7;
    border-radius: 0;
}
.woocommerce #payment div.payment_box, .woocommerce-page #payment div.payment_box {
    background: none repeat scroll 0 0 #fff;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Standard */
    border-radius: 0;
    box-shadow: none;
    color: #5e5e5e;
    font-size: 0.92em;
    line-height: 1.5em;
    margin: 1em 0;
    padding: 1em 2%;
    position: relative;
    text-shadow: none;
    width: 96%;
    border-bottom-color:#fff !important;
}
.woocommerce #payment div.payment_box:after, .woocommerce-page #payment div.payment_box:after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent transparent #fff;
}
#upload_CNIC_image{
    padding-top:30px;}
.shopholder #upsellsbox, #upsellsbox ul, #relatedbox, #relatedbox ul{
    background:none !important;
    box-shadow:none !important;
}
#upsellsbox li, #relatedbox li{
    width:255px;}
#upsellsbox h2, #relatedbox h2{
    font-size:14px;
    font-weight:normal;
}
.terms{
    max-width: 305px;
    text-align: left  !important;
}	
.terms a{
    color:#b51b26 !important;}
.woocommerce-tabs div h2{
    display:none;}
.posted_in{
    display:none;}
.woocommerce .shop_table td.actions{
    padding-top:30px !important;}
/*CART*/
.cart-collaterals .cart_totals  h2{
    text-transform:uppercase;}
.woocommerce #content table.cart a.remove, .woocommerce table.cart a.remove, .woocommerce-page #content table.cart a.remove, .woocommerce-page table.cart a.remove {
    color: grey;
}
.woocommerce #content table.cart a.remove:hover, .woocommerce table.cart a.remove:hover, .woocommerce-page #content table.cart a.remove:hover, .woocommerce-page table.cart a.remove:hover {
    background:#b51b26;
}
.woocommerce .woocommerce-info:before, .woocommerce-page .woocommerce-info:before {
    background-color: #1D2944;
}
.required {
    color: #b51b26 !important;
}

#minshop{
    max-width:840px;
    padding:20px 30px;
    margin:0 auto;
    margin-bottom:40px;
    background:#fff;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.05); /* Standard */ }
#minshop h4{
    float:left;
    text-transform: uppercase;}
#minshop .pentminilink{
    float:right;
    line-height:30px;
    margin-top:30px;}
/*
 * 7.0 Sidebars
 * -----------------------------------------------------------------------------
 */

/* Secondary */

#secondary {
    background-color: #000;
    border-top: 1px solid #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    clear: both;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -1px;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

.site-description {
    display: none;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* Primary Sidebar */

.primary-sidebar {
    padding-top: 48px;
}

.secondary-navigation + .primary-sidebar {
    padding-top: 0;
}

/* Content Sidebar */

.content-sidebar {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    color: #767676;
    padding: 48px 10px 0;
}
/*maps & locations*/

.acf-map {
    width: 880px;
    height: 320px;
    border: 0px;
}
.marker{
    float:left;
}
.mapbox{
    margin-bottom:40px;
    height:350px;}

.map_info{
    width:580px;
    float:left;
}
#locations .mapbox:nth-child(2) .marker{float:right !important;
                                        margin-right:40px;}
#locations .mapbox:nth-child(2) .grey_button{
    clear: both;
    float: right;
    margin-left: 200px;
    width: 255px !important;
}
#locations .mapbox:nth-child(2) .shadow{
    clear:both;}

.map_info .shadow{
    background:#fff;
    height:200px;
    padding-top:20px;
    color:#676565;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Standard */ }
.map_info .grey_button{
    padding:25px 20px 10px;
    margin-bottom:0px !important;}
.map_info h3{
    color: #fff;
    font-size: 16px;
    font-weight:normal;
    margin:0;
    text-transform:uppercase;
}
.lbox{
    float:left;
    width:240px;
    padding:0 20px;}
.map_info span{
    font-weight:bold;
}
.map_info p{
    padding-top:10px;
}
.contactperson a, .contactperson p{
    margin-bottom:5px;}
#blog{
    position:relative;}
.date-box, #news span{
    font-family: "Montserrat",Arial,sans-serif;
}
#news li{
    list-style:none;
    color:#939393;}
#news h3{
    font-weight: 200;
    font-size:16px;
    margin-top: 0;
    opacity: 0.4;
    text-transform: uppercase;
}
#news ul{
    margin:0px;}
#news span{
    font-weight:700;}
#blog h4 {
    font-size: 20px;
    font-weight: 200;
    margin: 10px 0 20px 0;
    text-transform: uppercase;
}
#blog li {
    border-bottom:1px solid #bdbdbd !important;
    height:auto;}
#blog li:last-child {
    border-bottom:0px !important;
}
.blog-content{
    max-width:1500px;
    margin:0 auto;}
.blog-content .entry-content{
    max-width:840px;
    padding:20px;
    margin-bottom:50px;
    margin-left:300px;
}
#shortpost #crosslinks .prevthumb {
    background-size: 110% auto;
    height: 180px;
    max-width: 600px;
}
#shortpost #crosslinks .entry-meta {
    clear:none;
    height: 180px;
    margin-top: 50px;
    width: 900px;
    color:#000;
    background:#fff !important;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Standard */ 
}
#shortpost #crosslinks .black-gradient{
    background:none !important;
    float:left;}
#shortorder ul{
    list-style:none;
    margin:0px;
}
#shortorder a, #shortorder .grey_button {
    color: #bdbdbd;
    display: inline-block;
    max-width: 280px;
    text-decoration: none;
    width: 100% !important;
}
#shortorder .grey_button, #shortorder .grey_button h3 {
    color:#fff;
    font-weight:normal;
    font-size:16px !important;
}
#shortpost .button{
    opacity:0.6;
    float:right;
    width: 280px !important;
    text-decoration:none;}
#shortpost .grey_button {
    height:20px;
}
#shortpost a.button:hover{
    opacity:1;
    color:#fff;
}
#shortorder li{
    height:auto;
    margin-left: 20px;}
#shortorder{
    width:300px;
    float:right;}
#shortpost .toggleinfo{
    display:block !important;}
#shortpost .black-gradient div {
    bottom: 0px;
    position:relative;
}
#shortpost #crosslinks .entry-meta .black-gradient{
    width:860px;
    min-height:140px;}
#shortpost #crosslinks .entry-meta .black-gradient, #shortpost #crosslinks .entry-meta  {
    height:auto;
}
#shortpost .post_meta_o {
    clear: both;
    border-top:1px solid #BDBDBD !important;
    width:860px;

}
#shortpost .have-downloads{
    float: left;
    width: 540px;}


/*CART*/
.woocommerce table.shop_table td, .woocommerce-page table.shop_table td, .woocommerce table.shop_table table, .woocommerce table.shop_table th, .woocommerce table.shop_table td  {
    border-top: 0px;
    border:0px;
}
.woocommerce table.shop_table {
    margin-top:30px;}

/**
 * 7.1 Widgets
 * -----------------------------------------------------------------------------
 */

/* Primary Sidebar, Footer Sidebar */

.widget {
    font-size: 14px;
    -webkit-hyphens: auto;
    -moz-hyphens:    auto;
    -ms-hyphens:     auto;
    hyphens:         auto;
    line-height: 1.2857142857;
    margin-bottom: 48px;
    width: 100%;
    word-wrap: break-word;
}

.widget a {
    color: #fff;
}

.widget a:hover {
    color: #41a62a;
}

.widget h1,
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget h6 {
    margin: 24px 0 12px;
}

.widget h1 {
    font-size: 22px;
    line-height: 1.0909090909;
}

.widget h2 {
    font-size: 20px;
    line-height: 1.2;
}

.widget h3 {
    font-size: 18px;
    line-height: 1.3333333333;
}

.widget h4 {
    font-size: 16px;
    line-height: 1.5;
}

.widget h5 {
    font-size: 14px;
    line-height: 1.7142857142;
}

.widget h6 {
    font-size: 12px;
    line-height: 2;
}

.widget address {
    margin-bottom: 18px;
}

.widget abbr[title] {
    border-color: rgba(255, 255, 255, 0.7);
}

.widget mark,
.widget ins {
    color: #000;
}

.widget pre,
.widget fieldset {
    border-color: rgba(255, 255, 255, 0.2);
}

.widget code,
.widget kbd,
.widget tt,
.widget var,
.widget samp,
.widget pre {
    font-size: 12px;
    line-height: 1.5;
}

.widget blockquote {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.widget blockquote cite {
    color: #fff;
    font-size: 14px;
    line-height: 1.2857142857;
}

.widget dl,
.widget dd {
    margin-bottom: 18px;
}

.widget ul,
.widget ol {
    list-style: none;
    margin: 0;
}

.widget li > ol,
.widget li > ul {
    margin-left: 10px;
}

.widget table,
.widget th,
.widget td {
    border-color: rgba(255, 255, 255, 0.2);
}

.widget table {
    margin-bottom: 18px;
}

.widget del {
    color: rgba(255, 255, 255, 0.4);
}

.widget hr {
    background-color: rgba(255, 255, 255, 0.2);
}

.widget p {
    margin-bottom: 18px;
}

.widget input,
.widget textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    padding: 1px 2px 2px 4px;
}

.widget input:focus,
.widget textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.widget button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {
    background-color: #24890d;
    border: 0;
    font-size: 12px;
    padding: 5px 15px 4px;
}

.widget input[type="button"]:hover,
.widget input[type="button"]:focus,
.widget input[type="reset"]:hover,
.widget input[type="reset"]:focus,
.widget input[type="submit"]:hover,
.widget input[type="submit"]:focus {
    background-color: #41a62a;
}

.widget input[type="button"]:active,
.widget input[type="reset"]:active,
.widget input[type="submit"]:active {
    background-color: #55d737;
}

.widget .wp-caption {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.widget .widget-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7142857142;
    margin: 0 0 24px 0;
    text-transform: uppercase;
}

.widget-title,
.widget-title a {
    color: #fff;
}

.widget-title a:hover {
    color: #41a62a;
}

/* Calendar Widget*/

.widget_calendar table {
    line-height: 2;
    margin: 0;
}

.widget_calendar caption {
    color: #fff;
    font-weight: 700;
    line-height: 1.7142857142;
    margin-bottom: 18px;
    text-align: left;
    text-transform: uppercase;
}

.widget_calendar thead th {
    background-color: rgba(255, 255, 255, 0.1);
}

.widget_calendar tbody td,
.widget_calendar thead th {
    text-align: center;
}

.widget_calendar tbody a {
    background-color: #24890d;
    color: #fff;
    display: block;
}

.widget_calendar tbody a:hover {
    background-color: #41a62a;
}

.widget_calendar tbody a:hover {
    color: #fff;
}

.widget_calendar #prev {
    padding-left: 5px;
}

.widget_calendar #next {
    padding-right: 5px;
    text-align: right;
}

/* Ephemera Widget*/

.widget_twentyfourteen_ephemera > ol > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 18px;
    padding: 0;
}

.widget_twentyfourteen_ephemera .hentry {
    margin: 0;
    max-width: 100%;
}

.widget_twentyfourteen_ephemera .entry-title,
.widget_twentyfourteen_ephemera .entry-meta,
.widget_twentyfourteen_ephemera .wp-caption-text,
.widget_twentyfourteen_ephemera .post-format-archive-link,
.widget_twentyfourteen_ephemera .entry-content table {
    font-size: 12px;
    line-height: 1.5;
}

.widget_twentyfourteen_ephemera .entry-title {
    display: inline;
    font-weight: 400;
}

.widget_twentyfourteen_ephemera .entry-meta {
    margin-bottom: 18px;
}

.widget_twentyfourteen_ephemera .entry-meta a {
    color: rgba(255, 255, 255, 0.7);
}

.widget_twentyfourteen_ephemera .entry-meta a:hover {
    color: #41a62a;
}

.widget_twentyfourteen_ephemera .entry-content ul,
.widget_twentyfourteen_ephemera .entry-content ol {
    margin: 0 0 18px 20px;
}

.widget_twentyfourteen_ephemera .entry-content ul {
    list-style: disc;
}

.widget_twentyfourteen_ephemera .entry-content ol {
    list-style: decimal;
}

.widget_twentyfourteen_ephemera .entry-content li > ul,
.widget_twentyfourteen_ephemera .entry-content li > ol {
    margin: 0 0 0 20px;
}

.widget_twentyfourteen_ephemera .entry-content th,
.widget_twentyfourteen_ephemera .entry-content td {
    padding: 6px;
}

.widget_twentyfourteen_ephemera .post-format-archive-link {
    font-weight: 700;
    text-transform: uppercase;
}

/* List Style Widgets*/

.widget_archive li,
.widget_categories li,
.widget_links li,
.widget_meta li,
.widget_nav_menu li,
.widget_pages li,
.widget_recent_comments li,
.widget_recent_entries li {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 0 9px;
}

.widget_archive li:first-child,
.widget_categories li:first-child,
.widget_links li:first-child,
.widget_meta li:first-child,
.widget_nav_menu li:first-child,
.widget_pages li:first-child,
.widget_recent_comments li:first-child,
.widget_recent_entries li:first-child {
    border-top: 0;
}

.widget_categories li ul,
.widget_nav_menu li ul,
.widget_pages li ul {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 9px;
}

.widget_categories li li:last-child,
.widget_nav_menu li li:last-child,
.widget_pages li li:last-child {
    padding-bottom: 0;
}

/* Recent Posts Widget */

.widget_recent_entries .post-date {
    display: block;
}

/* RSS Widget */

.rsswidget img {
    margin-top: -4px;
}

.rssSummary {
    margin: 9px 0;
}

.rss-date {
    display: block;
}

.widget_rss li {
    margin-bottom: 18px;
}

.widget_rss li:last-child {
    margin-bottom: 0;
}

/* Text Widget */

.widget_text > div > :last-child {
    margin-bottom: 0;
}


/**
 * 7.2 Content Sidebar Widgets
 * -----------------------------------------------------------------------------
 */

.content-sidebar .widget a {
    color: #24890d;
}

.content-sidebar .widget a:hover {
    color: #41a62a;
}

.content-sidebar .widget pre {
    border-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget mark,
.content-sidebar .widget ins {
    color: #2b2b2b;
}

.content-sidebar .widget abbr[title] {
    border-color: #2b2b2b;
}

.content-sidebar .widget fieldset {
    border-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget blockquote {
    color: #767676;
}

.content-sidebar .widget blockquote cite {
    color: #2b2b2b;
}

.content-sidebar .widget li > ol,
.content-sidebar .widget li > ul {
    margin-left: 18px;
}

.content-sidebar .widget table,
.content-sidebar .widget th,
.content-sidebar .widget td {
    border-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget del {
    color: #767676;
}

.content-sidebar .widget hr {
    background-color: rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget input,
.content-sidebar .widget textarea {
    background-color: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #2b2b2b;
}

.content-sidebar .widget input:focus,
.content-sidebar .widget textarea:focus {
    border-color: rgba(0, 0, 0, 0.3);
}

.content-sidebar .widget input[type="button"],
.content-sidebar .widget input[type="reset"],
.content-sidebar .widget input[type="submit"] {
    background-color: #24890d;
    border: 0;
    color: #fff;
}

.content-sidebar .widget input[type="button"]:hover,
.content-sidebar .widget input[type="button"]:focus,
.content-sidebar .widget input[type="reset"]:hover,
.content-sidebar .widget input[type="reset"]:focus,
.content-sidebar .widget input[type="submit"]:hover,
.content-sidebar .widget input[type="submit"]:focus {
    background-color: #41a62a;
}

.content-sidebar .widget input[type="button"]:active,
.content-sidebar .widget input[type="reset"]:active,
.content-sidebar .widget input[type="submit"]:active {
    background-color: #55d737;
}

.content-sidebar .widget .wp-caption {
    color: #767676;
}

.content-sidebar .widget .widget-title {
    border-top: 5px solid #000;
    color: #2b2b2b;
    font-size: 14px;
    font-weight: 900;
    margin: 0 0 18px;
    padding-top: 7px;
    text-transform: uppercase;
}

.content-sidebar .widget .widget-title a {
    color: #2b2b2b;
}

.content-sidebar .widget .widget-title a:hover {
    color: #41a62a;
}

/* List Style Widgets*/

.content-sidebar .widget_archive li,
.content-sidebar .widget_categories li,
.content-sidebar .widget_links li,
.content-sidebar .widget_meta li,
.content-sidebar .widget_nav_menu li,
.content-sidebar .widget_pages li,
.content-sidebar .widget_recent_comments li,
.content-sidebar .widget_recent_entries li,
.content-sidebar .widget_categories li ul,
.content-sidebar .widget_nav_menu li ul,
.content-sidebar .widget_pages li ul {
    border-color: rgba(0, 0, 0, 0.1);
}

/* Calendar Widget */

.content-sidebar .widget_calendar caption {
    color: #2b2b2b;
    font-weight: 900;
}

.content-sidebar .widget_calendar thead th {
    background-color: rgba(0, 0, 0, 0.02);
}

.content-sidebar .widget_calendar tbody a,
.content-sidebar .widget_calendar tbody a:hover {
    color: #fff;
}

/* Ephemera widget*/

.content-sidebar .widget_twentyfourteen_ephemera .widget-title {
    line-height: 1.2857142857;
    padding-top: 1px;
}

.content-sidebar .widget_twentyfourteen_ephemera .widget-title:before {
    background-color: #000;
    color: #fff;
    margin: -1px 9px 0 0;
    padding: 6px 0 9px;
    text-align: center;
    vertical-align: middle;
    width: 36px;
}

.content-sidebar .widget_twentyfourteen_ephemera .video.widget-title:before {
    content: "\f104";
}

.content-sidebar .widget_twentyfourteen_ephemera .audio.widget-title:before {
    content: "\f109";
}

.content-sidebar .widget_twentyfourteen_ephemera .image.widget-title:before {
    content: "\f473";
}

.content-sidebar .widget_twentyfourteen_ephemera .gallery.widget-title:before {
    content: "\f103";
}

.content-sidebar .widget_twentyfourteen_ephemera .aside.widget-title:before {
    content: "\f101";
}

.content-sidebar .widget_twentyfourteen_ephemera .quote.widget-title:before {
    content: "\f106";
}

.content-sidebar .widget_twentyfourteen_ephemera .link.widget-title:before {
    content: "\f107";
}

.content-sidebar .widget_twentyfourteen_ephemera > ol > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content-sidebar .widget_twentyfourteen_ephemera .entry-meta {
    color: #ccc;
}

.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a {
    color: #767676;
}

.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover {
    color: #41a62a;
}

.content-sidebar.widget_twentyfourteen_ephemera blockquote cite {
    font-size: 13px;
    line-height: 1.3846153846;
}

.content-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link {
    font-weight: 900;
}


/**
 * 8.0 Footer
 * -----------------------------------------------------------------------------
 */

#supplementary {
    padding: 0 10px;
}
#footer-sidebar{
    max-width:none !important;}
.site-footer,
.site-info,
.site-info a {
    color: rgba(255, 255, 255, 0.7);
}

.site-footer {
    background-color: #fff;
    font-size: 12px;
    position: relative;
    z-index: 3;
    max-width:1460px;
    padding:20px;
    color:#000;
    margin:0 auto;
    -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* WebKit */
    -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Firefox */
    box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Standard */ 
}
#footer-sidebar{
    padding:0px;
    color:#676565 !important;
    height: auto !important;}
#footer-sidebar .widget-title, #footer-sidebar a{
    color:#676565 !important;}
#footer-sidebar .footer_button, #pentalpha_link a{
    color:#fff !important;}
.footer-sidebar {
    padding-top: 48px;
}
#footer-sidebar .widget {
    width:260px;
    padding:0 20px;
    position:relative !important;
    left:0px !important;
    top:0px !important;
    margin-bottom:0px !important;
    float:left;
}

#footer-sidebar .widget:nth-child(1) {
    padding-left:0px;
}
#footer-sidebar .widget:nth-child(3) {
    padding-right:0px;
    width:550px;
}
#footer-sidebar .widget:nth-child(3) p,
#footer-sidebar .widget:nth-child(3) .wysija-submit {
    padding-right:0px;
    width:260px;
    float:left;
    margin-top:0px;
}
#footer-sidebar .widget:nth-child(3) #nltext{
    margin-right:20px;}
#footer-sidebar .widget:nth-child(3) .wysija-input{
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    color: #2b2b2b;
    padding: 8px 10px 7px;
}
#footer-sidebar .widget:nth-child(3) .wysija-submit {
    margin-top:0px;
    padding:10px !important;
    width:auto;
}
.widget_wysija_cont .updated, .widget_wysija_cont .login .message {
    background-color: #fff;
    border: 0 none;
    color: #939393;
    padding: 0;
}
#footer-sidebar .widget:first-child{
    text-align:right;
}
#footer-sidebar .widget:nth-child(2){
    /*width:840px;*/
    width:560px;
    border-left:1px solid #BDBDBD;
    border-right:1px solid #BDBDBD;

}

#footer-sidebar .widget .widget-title{
    font-size:16px;
    font-weight:200 !important;
    margin-bottom:10px !important;

}
.site-info {
    padding: 15px 10px;
}

#supplementary + .site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-info a:hover {
    color: #41a62a;
}


/**
 * 9.0 Featured Content
 * -----------------------------------------------------------------------------
 */

.featured-content {
    background: #000 url(images/pattern-dark.svg) repeat fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    position: relative;
    width: 100%;
}

.featured-content-inner {
    overflow: hidden;
}

.featured-content .hentry {
    color: #fff;
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.featured-content .post-thumbnail,
.featured-content .post-thumbnail:hover {
    background: transparent;
}

.featured-content .post-thumbnail {
    display: block;
    position: relative;
    padding-top: 55.357142857%;
    overflow: hidden;
}

.featured-content .post-thumbnail img {
    left: 0;
    position: absolute;
    top: 0;
}

.featured-content .entry-header {
    background-color: #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    min-height: 96px;
    overflow: hidden;
    padding: 24px 10px;
}

.featured-content a {
    color: #fff;
}

.featured-content a:hover {
    color: #41a62a;
}

.featured-content .entry-meta {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.0909090909;
    margin-bottom: 12px;
}

.featured-content .cat-links {
    font-weight: 700;
}

.featured-content .entry-title {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.3333333333;
    margin: 0;
    text-transform: uppercase;
}


/* Slider */

.slider .featured-content .hentry {
    -webkit-backface-visibility: hidden;
    display: none;
    position: relative;
}

.slider .featured-content .post-thumbnail {
    padding-top: 55.49132947%;
}

.slider-control-paging {
    background-color: #000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    float: left;
    list-style: none;
    margin: -24px 0 0 0;
    position: relative;
    width: 100%;
    z-index: 3;
}

.slider-control-paging li {
    float: left;
    margin: 2px 4px 2px 0;
}

.slider-control-paging li:last-child {
    margin-right: 0;
}

.slider-control-paging a {
    cursor: pointer;
    display: block;
    height: 44px;
    position: relative;
    text-indent: -999em;
    width: 44px;
}

.slider-control-paging a:before {
    background-color: #4d4d4d;
    content: "";
    height: 12px;
    left: 10px;
    position: absolute;
    top: 16px;
    width: 12px;
}

.slider-control-paging a:hover:before {
    background-color: #41a62a;
}

.slider-control-paging .slider-active:before,
.slider-control-paging .slider-active:hover:before {
    background-color: #24890d;
}

.slider-direction-nav {
    clear: both;
    list-style: none;
    margin: 0;
    position: relative;
    width: 100%;
    z-index: 3;
}

.slider-direction-nav li {
    border-color: #fff;
    border-style: solid;
    border-width: 2px 1px 0 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    float: left;
    text-align: center;
    width: 50%;
}

.slider-direction-nav li:last-child {
    border-width: 2px 0 0 1px;
}

.slider-direction-nav a {
    background-color: #000;
    display: block;
    font-size: 0;
    height: 46px;
}

.slider-direction-nav a:hover {
    background-color: #24890d;
}

.slider-direction-nav a:before {
    color: #fff;
    content: "\f430";
    font-size: 32px;
    line-height: 46px;
}

.slider-direction-nav .slider-next:before {
    content: "\f429";
}

.slider-direction-nav .slider-disabled {
    display: none;
}
/*lightbox*/
#imageDataContainer {
    background-color: #fff !important;
    font-size: 12px;
    line-height: 1.4em;
    margin: 0 auto;
    padding: 10px 0;
    position:relative;
    z-index:1000;
    /*height:60px;*/
    overflow:hidden;
}
#outerImageContainer{
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35); /* WebKit */
    -moz-box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35); /* Firefox */
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.35); /* Standard */ 
}
#imageData #bottomNavClose {
    float: right;
    padding-bottom: 0.7em;
    width: 20px !important;
}
#playpause{
    display:none !important;}
#jqlb_closelabel {
    background-image:url(images/lightboxclose.png) !important;
    background-position: center center;
    background-repeat: no-repeat;
    background-size:100% 100%;
    height: 20px !important;
    width:20px !important;
}
#imageData #numberDisplay, #imageData #caption {
    font-size: 14px;
    padding-bottom: 1em;
    font-weight:normal !important;
}
#imageData #controls {
    display:none;
}
#nextLink:hover{
    background-image:url(images/lightboxnext.png) !important;
    background-size:25px 22px !important;
}
#prevLink:hover{
    background-image:url(images/lightboxprev.png) !important;
    background-size:25px 22px !important;}
/**
 * 10.0 Multisite
 * -----------------------------------------------------------------------------
 */

.site-main .widecolumn {
    padding-top: 72px;
    width: auto;
}
.site-main .mu_register,
.widecolumn > h2,
.widecolumn > form {
    margin: 0 auto 48px;
    max-width: 474px;
    padding: 0 30px;
}

.site-main .mu_register #blog_title,
.site-main .mu_register #user_email,
.site-main .mu_register #blogname,
.site-main .mu_register #user_name {
    font-size: inherit;
    width: 90%;
}

.site-main .mu_register input[type="submit"],
.widecolumn #submit {
    font-size: inherit;
    width: auto;
}


/**
 * 11.0 Media Queries
 * -----------------------------------------------------------------------------
 */

/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */
@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

@media screen and (max-width: 600px) {
    .list-view .site-content .post-thumbnail {
        width: auto;
        z-index: 2;
    }

    .list-view .site-content .post-thumbnail img {
        float: left;
        margin: 0 10px 3px 0;
        width: 84px;
    }

    .list-view .site-content .entry-header {
        background-color: transparent;
        padding: 0;
    }

    .list-view .content-area {
        padding: 0 10px;
    }

    .list-view .site-content .hentry {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin: 0;
        min-height: 60px;
        padding: 12px 0 9px;
    }

    .list-view .site-content .cat-links,
    .list-view .site-content .entry-content,
    .list-view .site-content .entry-summary,
    .list-view .site-content footer.entry-meta {
        display: none;
    }

    .list-view .site-content .entry-title {
        clear: none;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 6px;
        text-transform: none;
    }

    .list-view .site-content .format-aside .entry-title,
    .list-view .site-content .format-link .entry-title,
    .list-view .site-content .format-quote .entry-title {
        display: block;
    }

    .list-view .site-content .entry-meta {
        clear: none;
        margin: 0;
        text-transform: none;
        float:none !important;
    }

    .archive-header,
    .page-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin: 24px auto 0;
        padding-bottom: 24px;
    }

    .error404 .page-header {
        border-bottom: 0;
        margin: 0 auto 24px;
        padding: 0 10px;
    }
    .header-main, .front-site, .site-footer  {
        width: 100% !important;
        max-width:400px !important;
        margin: 0 auto;
        position:relative;
    }
    .teaser_box {
        float: right;
        max-width: 400px;
        width: 100%;
    }
    .front-site .entry-meta {
        color: #fff;
        float: none;
        width:100% !important;
    }
    .front-site .prevthumb {
        width:100%;
    }

    #footer-sidebar .widget {
        padding: 0 40px 0 20px;
        width: 280px;
    }
    #content{
        width:100% !important;
        min-width:300px !important;
        /*max-width:400px;*/
        margin:0 auto;}
    #news {
        background: none repeat scroll 0 0 #fff;
        float: none;
        height: 200px;
        margin-top: 0;
        padding: 20px;
        position: relative;
        width: 100% !important;
        width: 360px !important;
        z-index: 1;
        min-height:200px;
    }
    #footer-sidebar .widget {
        float: none  !important;
        height: 100%;
        padding: 0 20px;
        position: relative;
        width: 90% !important;
        text-align:left !important;
    }
    #footer-sidebar .widget:last-child{
        border-top: 1px solid #bdbdbd;
        margin-top:20px;
        padding-top:20px;
    }
    .toggleinfo{
        display:none;}

}


@media screen and (min-width: 401px) {
    a.post-thumbnail:hover img {
        opacity: 0.85;
    }

    .full-size-link:before,
    .parent-post-link:before,
    .site-content span + .byline:before,
    .site-content span + .comments-link:before,
    .site-content span + .edit-link:before,
    .site-content span + .entry-date:before {
        content: "";
    }

    .attachment span.entry-date:before,
    .entry-content .edit-link a:before,
    .entry-meta .edit-link a:before,
    .site-content .byline a:before,
    .site-content .comments-link a:before,
    .site-content .entry-date a:before,
    .site-content .featured-post:before,
    .site-content .full-size-link a:before,
    .site-content .parent-post-link a:before,
    .site-content .post-format a:before {
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font: normal 16px/1 Genericons;
        text-decoration: inherit;
        vertical-align: text-bottom;
    }

    .site-content .entry-meta > span {
        margin-right: 10px;
    }

    .site-content .format-video .post-format a:before {
        content: "\f104";
    }

    .site-content .format-audio .post-format a:before {
        content: "\f109";
    }

    .site-content .format-image .post-format a:before {
        content: "\f473";
    }

    .site-content .format-quote .post-format a:before {
        content: "\f106";
        margin-right: 2px;
    }

    .site-content .format-gallery .post-format a:before {
        content: "\f103";
        margin-right: 4px;
    }

    .site-content .format-aside .post-format a:before {
        content: "\f101";
        margin-right: 2px;
    }

    .site-content .format-link .post-format a:before {
        content: "\f107";
        position: relative;
        top: 1px;
    }

    .site-content .featured-post:before {
        content: "\f308";
        margin-right: 3px;
        position: relative;
        top: 1px;
    }

    .site-content .entry-date a:before,
    .attachment .site-content span.entry-date:before {
        content: "\f303";
        margin-right: 1px;
        position: relative;
        top: 1px;
    }

    .site-content .byline a:before {
        content: "\f304";
    }

    .site-content .comments-link a:before {
        content: "\f300";
        margin-right: 2px;
    }

    .entry-content .edit-link a:before,
    .entry-meta .edit-link a:before {
        content: "\f411";
    }

    .site-content .full-size-link a:before {
        content: "\f402";
        margin-right: 1px;
    }

    .site-content .parent-post-link a:before {
        content: "\f301";
    }

    .list-view .site-content .hentry {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 48px;
    }

    .list-view .site-content .hentry:first-of-type,
    .list-view .site-content .hentry.has-post-thumbnail {
        border-top: 0;
        padding-top: 0;
    }

    .archive-header,
    .page-header {
        margin: 0 auto 60px;
        padding: 0 10px;
    }

    .error404 .page-header {
        margin-bottom: 24px;
    }
}

@media screen and (min-width: 594px) {
    .site-content .entry-header {
        padding-right: 30px;
        padding-left: 30px;
    }


}

@media screen and (min-width: 673px) {
    .header-main {
        padding: 0 20px;
        max-width: 1460px;
        margin:0 auto;
    }

    .site-header {
        position: fixed;

    }


    .search-box .search-field {
        width: 50%;
    }

    .content-area {
        float: left;
        width: 100%;
    }

    .site-content {
        margin-right: 33.33333333%;
    }

    .site-content .has-post-thumbnail .entry-header {
        margin-top: 0;
    }

    .archive-header,
    .comments-area,
    .image-navigation,
    .page-header,
    .page-content,
    .post-navigation,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content footer.entry-meta {
        padding-right: 30px;
        padding-left: 30px;
    }

    .singular .site-content .hentry.has-post-thumbnail {
        margin-top: 0;
    }

    .full-width .site-content {
        margin-right: 0;
    }


    #secondary,
    #supplementary {
        padding: 0 30px;
    }

    .content-sidebar {
        border: 0;
        float: right;
        margin-left: -33.33333333%;
        padding: 48px 30px 24px;
        width: 33.33333333%;
    }

    .grid .featured-content .hentry {
        float: left;
        width: 50%;
    }

    .grid .featured-content .hentry:nth-child( 2n+1 ) {
        clear: both;
    }

    .grid .featured-content .entry-header {
        border-color: #000;
        border-style: solid;
        border-width: 12px 10px;
        height: 96px;
        padding: 0;
    }

    .slider .featured-content .entry-title {
        font-size: 22px;
        line-height: 1.0909090909;
    }

    .slider .featured-content .entry-header {
        min-height: inherit;
        padding: 24px 30px 48px;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50%;
        z-index: 3;
    }

    .slider-control-paging {
        background: transparent;
        margin-top: -48px;
        padding-left: 20px;
        width: 50%;
    }

    .slider-direction-nav {
        clear: none;
        float: right;
        margin-top: -48px;
        width: 98px;
    }

    .slider-direction-nav li {
        border: 0;
        padding: 0 1px 0 0;
    }

    .slider-direction-nav li:last-child {
        padding: 0 0 0 1px;
    }

    .slider-direction-nav a {
        height: 48px;
    }

    .slider-direction-nav a:before {
        line-height: 48px;
    }

    .site-info {
        padding: 15px 30px;
    }
    /*lightbox*/

}

@media screen and (min-width: 1240px) {

    /* Fixed Header */
    .masthead-fixed .site-header {
        position: fixed;
        top: 0;
    }
    #footer-sidebar .widget:nth-child(2) .textwidget{
        -webkit-column-count:2; /* Chrome, Safari, Opera */
        -moz-column-count:2; /* Firefox */
        column-count:2;
        -webkit-column-gap:40px; /* Chrome, Safari, Opera */
        -moz-column-gap:40px; /* Firefox */
        column-gap:40px;
    }

    .admin-bar.masthead-fixed .site-header {
        top: 32px;
    }


    /* Navigation */

    .site-navigation li .current_page_item > a,
    .site-navigation li .current_page_ancestor > a,
    .site-navigation li .current-menu-item > a,
    .site-navigation li .current-menu-ancestor > a {
        color: #c1bdbd;
    }

    /* Primary Navigation */

    .primary-navigation {
        float: left;
        font-size: 11px;
        margin: 0 0 0 50px;
        padding: 0;
        text-transform: uppercase;
    }

    .primary-navigation .menu-toggle {
        display: none;
        padding: 0;
    }

    .primary-navigation .nav-menu {
        border-bottom: 0;
        display: block;
        font-size: 16px;
        font-weight: 200;
    }

    .primary-navigation.toggled-on {
        border-bottom: 0;
        margin: 0;
        padding: 0;
    }

    .primary-navigation li {
        border: 0;
        display: inline-block;
        height: 60px;
        line-height: 60px;
        position: relative;
        float:left;
        margin-right:1px;
    }

    .primary-navigation a {
        z-index:10;
        position:relative;
        padding: 0 20px;
        white-space: nowrap;
    }

    .primary-navigation ul ul {
        float: left;
        margin: 0;
        position:relative;
        z-index: 5;
        font-size:14px;
        display:none;
        top: -37px;

    }

    /*
    .current-menu-item ul, .current-menu-ancestor ul, .current-post-ancestor ul{
            display:block !important;}*/

    .skip-link{
        display:none !important;}
    .current-post-ancestor, .current-menu-ancestor, .primary-navigation ul ul, .primary-navigation ul li.focus, .current_page_item, .menu-item-type-taxonomy:hover, .menu-item-type-post_type:hover, .current-menu-item {
        background: rgb(76,74,74); 
    }
    .current-menu-item li{
        background:none;}
    .primary-navigation li li {
        border: 0;
        display:inline-block;
        height: auto;
        line-height: 100%;
    }
    #menu-hauptmenu li li {
        background:none;}
    #menu-hauptmenu li:hover ul, #menu-hauptmenu li ul:hover {
        display:block;
    }
    .primary-navigation ul ul ul {
        top: 0;
    }

    .primary-navigation ul ul a {
        padding: 13px 0 24px 20px;
        white-space: normal;

    }
    .primary-navigation ul ul li:last-child a{
        padding: 13px 20px 24px 20px;

    }





    .primary-navigation ul ul li:hover > ul,
    .primary-navigation ul ul li.focus > ul {
        left: 100%;
    }
    #team{
        max-width:1500px;
        margin:0 auto;
        float:none;}

}

@media screen and (min-width: 810px) {
    .attachment .entry-attachment .attachment {
        margin-right: -168px;
        margin-left: -168px;
        max-width: 810px;
    }

    .attachment .site-content .attachment img {
        display: block;
        margin: 0 auto;
    }

    .contributor-avatar {
        margin-left: -168px;
    }

    .contributor-summary {
        float: left;
    }

    .full-width .site-content blockquote.alignleft,
    .full-width .site-content blockquote.alignright {
        width: -webkit-calc(50% + 130px);
        width:         calc(50% + 130px);
    }

    .full-width .site-content blockquote.alignleft,
    .full-width .site-content img.size-full.alignleft,
    .full-width .site-content img.size-large.alignleft,
    .full-width .site-content img.size-medium.alignleft,
    .full-width .site-content .wp-caption.alignleft {
        margin-left: -168px;
    }

    .full-width .site-content .alignleft {
        clear: left;
    }

    .full-width .site-content blockquote.alignright,
    .full-width .site-content img.size-full.alignright,
    .full-width .site-content img.size-large.alignright,
    .full-width .site-content img.size-medium.alignright,
    .full-width .site-content .wp-caption.alignright {
        margin-right: -168px;
    }

    .full-width .site-content .alignright {
        clear: right;
    }
}

@media screen and (min-width: 846px) {



    .comment-list .trackback,
    .comment-list .pingback,
    .comment-list article {
        margin-bottom: 36px;
        padding-top: 36px;
    }

    .comment-author .avatar {
        height: 34px;
        top: 2px;
        width: 34px;
    }

    .comment-author,
    .comment-awaiting-moderation,
    .comment-content,
    .comment-list .reply,
    .comment-metadata {
        padding-left: 50px;
    }

    .comment-list .children {
        margin-left: 20px;
    }



    .featured-content {
        margin-bottom: 0;
    }


}

@media screen and (min-width: 900px) {


    .main-content {
        float: left;
    }



    .site-content .entry-header {
        margin-top: 0;
    }

    .site-content .has-post-thumbnail .entry-header {
        margin-top: 0;
    }

    .content-sidebar {
        margin-left: -29.04761904%;
        width: 29.04761904%;
    }



    #secondary {
        background-color: transparent;
        border: 0;
        clear: none;
        float: left;
        margin: 0 0 0 -100%;
        min-height: 100vh;
        width: 122px;
    }

    .primary-sidebar {
        padding-top: 0;
    }

    .site-description {
        display: block;
        margin: -3px 0 21px;
    }

    .site-description:empty {
        margin: 0;
    }

    .secondary-navigation {
        font-size: 11px;
        margin: 0 -30px 48px;
        width: 182px;
    }

    .secondary-navigation li {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }

    .secondary-navigation a {
        padding: 10px 30px;
    }

    .secondary-navigation ul ul {
        background-color: #24890d;
        position: absolute;
        top: 0;
        left: -999em;
        width: 182px;
        z-index: 99999;
    }

    .secondary-navigation li li {
        border-top: 0;
    }

    .secondary-navigation li:hover > a,
    .secondary-navigation li.focus > a {
        background-color: #24890d;
        color: #fff;
    }

    .secondary-navigation ul ul a:hover,
    .secondary-navigation ul ul li.focus > a {
        background-color: #41a62a;
    }

    .secondary-navigation ul li:hover > ul,
    .secondary-navigation ul li.focus > ul {
        left: 162px;
    }

    .secondary-navigation .menu-item-has-children > a {
        padding-right: 38px;
    }

    .secondary-navigation .menu-item-has-children > a:after {
        -webkit-font-smoothing: antialiased;
        content: "\f501";
        display: inline-block;
        font: normal 8px/1 Genericons;
        position: absolute;
        right: 26px;
        top: 14px;
        vertical-align: text-bottom;
    }

    .footer-sidebar .widget,
    .primary-sidebar .widget {
        font-size: 12px;
        line-height: 1.5;
    }


    .footer-sidebar .widget h1,
    .primary-sidebar .widget h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .footer-sidebar .widget h2,
    .primary-sidebar .widget h2 {
        font-size: 18px;
        line-height: 1.3333333333;
    }

    .footer-sidebar .widget h3,
    .primary-sidebar .widget h3 {
        font-size: 16px;
        line-height: 1.5;
    }

    .footer-sidebar .widget h4,
    .primary-sidebar .widget h4 {
        font-size: 14px;
        line-height: 1.7142857142;
    }

    .footer-sidebar .widget h5,
    .primary-sidebar .widget h5 {
        font-size: 12px;
        line-height: 2;
    }

    .footer-sidebar .widget h6,
    .primary-sidebar .widget h6 {
        font-size: 11px;
        line-height: 2.1818181818;
    }

    .footer-sidebar .widget code,
    .footer-sidebar .widget kbd,
    .footer-sidebar .widget tt,
    .footer-sidebar .widget var,
    .footer-sidebar .widget samp,
    .footer-sidebar .widget pre,
    .primary-sidebar .widget code,
    .primary-sidebar .widget kbd,
    .primary-sidebar .widget tt,
    .primary-sidebar .widget var,
    .primary-sidebar .widget samp,
    .primary-sidebar .widget pre {
        font-size: 11px;
        line-height: 1.6363636363;
    }

    .footer-sidebar .widget blockquote,
    .primary-sidebar .widget blockquote {
        font-size: 14px;
        line-height: 1.2857142857;
    }

    .footer-sidebar .widget blockquote cite,
    .primary-sidebar .widget blockquote cite {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-sidebar .widget input,
    .footer-sidebar .widget textarea,
    .primary-sidebar .widget input,
    .primary-sidebar .widget textarea {
        font-size: 12px;
        padding: 3px 2px 4px 4px;
    }

    .footer-sidebar .widget input[type="button"],
    .footer-sidebar .widget input[type="reset"],
    .footer-sidebar .widget input[type="submit"],
    .primary-sidebar .widget input[type="button"],
    .primary-sidebar .widget input[type="reset"],
    .primary-sidebar .widget input[type="submit"] {
        padding: 5px 15px 4px;
    }

    .footer-sidebar .widget .widget-title,
    .primary-sidebar .widget .widget-title {
        font-size: 11px;
        font-weight: 900;
        line-height: 1.6363636363;
        margin-bottom: 18px;
    }

    .footer-sidebar .widget_twentyfourteen_ephemera .entry-title,
    .footer-sidebar .widget_twentyfourteen_ephemera .entry-meta,
    .footer-sidebar .widget_twentyfourteen_ephemera .wp-caption-text,
    .footer-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link,
    .footer-sidebar .widget_twentyfourteen_ephemera .entry-content table,
    .primary-sidebar .widget_twentyfourteen_ephemera .entry-title,
    .primary-sidebar .widget_twentyfourteen_ephemera .entry-meta,
    .primary-sidebar .widget_twentyfourteen_ephemera .wp-caption-text,
    .primary-sidebar .widget_twentyfourteen_ephemera .post-format-archive-link,
    .primary-sidebar .widget_twentyfourteen_ephemera .entry-content table {
        font-size: 11px;
        line-height: 1.6363636363;
    }

    .footer-sidebar .widget_archive li,
    .footer-sidebar .widget_categories li,
    .footer-sidebar .widget_links li,
    .footer-sidebar .widget_meta li,
    .footer-sidebar .widget_nav_menu li,
    .footer-sidebar .widget_pages li,
    .footer-sidebar .widget_recent_comments li,
    .footer-sidebar .widget_recent_entries li,
    .primary-sidebar .widget_archive li,
    .primary-sidebar .widget_categories li,
    .primary-sidebar .widget_links li,
    .primary-sidebar .widget_meta li,
    .primary-sidebar .widget_nav_menu li,
    .primary-sidebar .widget_pages li,
    .primary-sidebar .widget_recent_comments li,
    .primary-sidebar .widget_recent_entries li {
        border-top: 0;
        padding: 0 0 6px;
    }

    .footer-sidebar .widget_archive li:last-child,
    .footer-sidebar .widget_categories li:last-child,
    .footer-sidebar .widget_links li:last-child,
    .footer-sidebar .widget_meta li:last-child,
    .footer-sidebar .widget_nav_menu li:last-child,
    .footer-sidebar .widget_pages li:last-child,
    .footer-sidebar .widget_recent_comments li:last-child,
    .footer-sidebar .widget_recent_entries li:last-child,
    .primary-sidebar .widget_archive li:last-child,
    .primary-sidebar .widget_categories li:last-child,
    .primary-sidebar .widget_links li:last-child,
    .primary-sidebar .widget_meta li:last-child,
    .primary-sidebar .widget_nav_menu li:last-child,
    .primary-sidebar .widget_pages li:last-child,
    .primary-sidebar .widget_recent_comments li:last-child,
    .primary-sidebar .widget_recent_entries li:last-child {
        padding: 0;
    }

    .footer-sidebar .widget_categories li ul,
    .footer-sidebar .widget_nav_menu li ul,
    .footer-sidebar .widget_pages li ul,
    .primary-sidebar .widget_categories li ul,
    .primary-sidebar .widget_nav_menu li ul,
    .primary-sidebar .widget_pages li ul {
        border-top: 0;
        margin-top: 6px;
    }

    #supplementary {
        padding: 0;
    }

    .footer-sidebar {
        font-size: 12px;
        line-height: 1.5;
    }

    .featured-content {
        padding-left: 182px;
    }

    .grid .featured-content .hentry {
        width: 33.3333333%;
    }

    .grid .featured-content .hentry:nth-child( 2n+1 ) {
        clear: none;
    }

    .grid .featured-content .hentry:nth-child( 3n+1 ) {
        clear: both;
    }

    .grid .featured-content .entry-header {
        height: 120px;
    }

}

@media screen and (min-width: 1040px) {


    .archive-header,
    .comments-area,
    .image-navigation,
    .page-header,
    .page-content,
    .post-navigation,
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content footer.entry-meta {
        padding-right: 0px;
        padding-left: 0px;
    }

    .full-width .archive-header,
    .full-width .comments-area,
    .full-width .image-navigation,
    .full-width .page-header,
    .full-width .page-content,
    .full-width .post-navigation,
    .full-width .site-content .entry-header,
    .full-width .site-content .entry-content,
    .full-width .site-content .entry-summary,
    .full-width .site-content footer.entry-meta {
        padding:0px 20px;
    }
    .format-standard .entry-content{
        padding-right:300px !important; }


}

@media screen and (min-width: 1080px) {
    .search-box .search-field {
        width: 324px;
    }





    #secondary {
        width: 162px;
    }

    .secondary-navigation,
    .secondary-navigation ul ul {
        width: 222px;
    }

    .secondary-navigation ul li:hover > ul,
    .secondary-navigation ul li.focus > ul {
        left: 202px;
    }

    .slider .featured-content .entry-title {
        font-size: 33px;
    }

    .slider .featured-content .entry-header,
    .slider-control-paging {
        width: 534px;
    }

    .slider-control-paging {
        padding-left: 24px;
    }

    .slider-control-paging li {
        margin: 12px 12px 12px 0;
    }

    .slider-control-paging a {
        height: 24px;
        width: 24px;
    }

    .slider-control-paging a:before {
        top: 6px;
        left: 6px;
    }
}

@media screen and (min-width: 1110px) {
    .archive-header,
    .comments-area,
    .image-navigation,
    .page-header,
    .page-content,
    .post-navigation,
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content footer.entry-meta {
        padding-right: 30px;
        padding-left: 30px;
    }
}

@media screen and (min-width: 1218px) {
    .archive-header,
    .comments-area,
    .image-navigation,
    .page-header,
    .page-content,
    .post-navigation,
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content footer.entry-meta {
        margin-right: 54px;
    }

    .full-width .archive-header,
    .full-width .comments-area,
    .full-width .image-navigation,
    .full-width .page-header,
    .full-width .page-content,
    .full-width .post-navigation,
    .full-width .site-content .entry-header,
    .full-width .site-content .entry-content,
    .full-width .site-content .entry-summary,
    .full-width .site-content footer.entry-meta {
        margin-right: auto;
    }
}

@media screen and (min-width: 1240px) {
    .site-content blockquote.alignleft,
    .site-content blockquote.alignright {
        width: -webkit-calc(50% + 18px);
        width:         calc(50% + 18px);
    }

    .site-content blockquote.alignleft {
        margin-left: -18%;
    }

    .site-content blockquote.alignright {
        margin-right: -18%;
    }

}
@media screen and (max-width: 1240px) {
    .header-main, .front-site, .site-footer  {
        width: 900px;
        position:relative;
    }

    .menu-hauptmenu-container {
        float: none;
    }
    .menu-hauptmenu-container form.searchandfilter{
        display:none;}

    #firstdiv h1 {
        width: 460px;
    }
    #firstdiv p {
        width: 340px;
    }
    .teaser_box {
        float: right;
        max-width: 600px;
        width: 100%;
    }

    #supplementary{
        padding:0px;}
    #footer-sidebar .widget:nth-child(2) {
        width: 280px !important;
        padding: 0 20px 0 20px !important;
    }
    #footer-sidebar .widget:nth-child(2) .textwidget {
        -moz-column-count:1 !important;

    }
    #footer-sidebar .widget {
        padding: 0 20px 0 20px !important;
        float:left;

    }
    #footer-sidebar .widget:nth-child(1) {
        padding: 0 20px 0 0px !important;
    }
    #footer-sidebar .widget:nth-child(3) {
        padding: 0 0 0 20px !important;
    }
    #news {
        background: none repeat scroll 0 0 #fff;
        float: none;
        height:auto;
        min-height: 0;
        margin-top: 0;
        padding: 20px;
        position: relative;
        width: 860px;
        z-index: 1;
        overflow:hidden;
        -webkit-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* WebKit */
        -moz-box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Firefox */
        box-shadow: 0px 0px 101px 0px rgba(0, 0, 0, 0.1); /* Standard */ 
    }
    #news ul li:nth-of-type(n+3) {
        display:none;
    }
    

}
@media screen and (max-width: 1500px) {
    .primary-navigation {
        margin-left: 11px;
    }
    /*.header-main, */.front-site, .site-footer  {
        max-width: 1200px;
    }
    .teaser_box {
        float: right;
        max-width: 900px;
        width: 100%;
    }
    #footer-sidebar .widget:nth-child(2) {
        width: 560px;
    }
    #footer-sidebar .widget:nth-child(2) .textwidget {
        -moz-column-count: 2;
    }
    #footer-sidebar .widget {
        width: 280px;
    }
    #footer-sidebar .widget:nth-child(3) {
        padding-right: 0;
        width: 250px;
    }
    #footer-sidebar .widget:nth-child(3) .wysija-paragraph {
        width: 145px;
    }
    #footer-sidebar .widget:nth-child(3) .wysija-submit {
        margin-top: 0;
        padding: 8px 10px !important;
        width: auto;
        float:right;
    }

    #firstplace {
        height: 100%;
        margin: 0 auto;
        position: relative;
        width: 1200px;
    }
    #rightbar {
        width: 300px;
        margin-left: -260px;
    }
    .full-width .hentry {
        max-width: 1240px;
        width: 100%;
    }
    section.category ,#blog{
        width:1200px;
        float:none;
        margin:0 auto;
    }
    #blog{
        width:900px;
    }

    .category #crosslinks, #crosslinks {
        margin: 0 auto;
        max-width: 1200px;
        width: 100%;
        float:none;
    }
    .category #crosslinks .prevthumb, #crosslinks .prevthumb {
        background-size:cover;
        height: 180px;
        max-width: 600px;
    }
    #team .entry-header, #team .entry-content,  #page_layout .entry-header, #page_layout .entry-content{
        padding-right:20px;}

    #teammembers, #locations{
        max-width:1240px;
        margin:0 auto;
    }
    .acf-map {
        width: 620px;
    }
    .map_info {
        width: 580px;
    }
    .firsttoggle{
        width:600px;}
    .blog-content .entry-content {
        margin: 0 auto 30px;
        width: 560px;
    }
    #shortpost #crosslinks .prevthumb {
        background-size: 210% auto;
        max-width: 300px;
    }

    .searchresult #content{
        max-width:600px;
    }
    .searchresult article, .searchresult .page-header, .searchresult .page-content {
        margin: 0 auto;
        max-width: 560px !important;
        padding: 0 20px !important;
    }
    #thumbs a:last-child, #thumbs a:nth-child(5), #thumbs a:nth-child(9), #thumbs a:nth-child(13), #thumbs a {
        margin-right: 4px;
    }
    #homelink {
      height:30px;
      margin-top:15px;
    }


}
@media screen and (max-width: 1240px) {
    .sub-menu {
        height: auto !important;
    }
    .site-navigation li {
        display: table;
        width:250px;
        float:left;
    }
    .site-navigation ul li:nth-child(2){
        border-right:1px solid rgba(255,255,255,0.5) !important;
        border-left:1px solid rgba(255,255,255,0.5) !important;
        padding:0 20px;
        margin:0 20px;
        width:210px;}
    .site-navigation li li{
        float:none;
    }
    .site-navigation li li:nth-child(2){
        border-right:0px !important;
        border-left:0px !important;
        padding:0px;
        margin:0px;}
    .primary-navigation {
        height:auto;
    }
    #firstwrap img {
        height: 300px;
        max-width: none;
        position: absolute;
        width: auto;
    }
    .dropdrop {
        margin-left:0px;
    }
    .full-width .hentry {
        max-width: 940px;
        width: 100%;
    }
    .format-standard .entry-content {
        padding-right: 40px !important;
    }
    #rightbar {
        margin-left: 300px;
        margin-top: 0px;
        width: 620px;
    }
    #article_info_footer {
        clear: both;
        margin-left: 0px;
    }
    #article_info_footer{
        width: 900px !important;
    }
    #article_info_footer div {
        float: right;
    }
    .prevthumb {
        max-width: 600px;
    }
    #bottom h3 {
        text-align:left;
        padding-left: 40px;
    }
    #social_icons {
        float: right;
        font-size: 7px;
        font-weight: 200;
        position: absolute;
        right: 100px;
        top: -2px;
        z-index: 100;
    }
    .search-toggle{
        position:absolute;
        top:0px;
        right:50px;}

    .search-toggle svg {
        margin-top: 5px;
    }
    #social_icons li {
        display: inline-block;
        padding: 0 3px 20px;
    }
    #footer-sidebar .widget:nth-child(2) .textwidget {
        -moz-column-count:1 !important;

    }
    section.category ,#blog{
        width:900px;
        float:none;
        margin:0 auto;
    }
    .category #crosslinks {
        margin: 0 auto;
        max-width: 900px;
        width: 100%;
        float:none;
    }
    .category #crosslinks .prevthumb {
        height: 180px;
        max-width: 300px;
    }
    .category .prevthumb .color_box {
        right:0px;
    }
    .category #crosslinks .entry-meta {
        width:600px;
    }
    .category #crosslinks .entry-meta .black-gradient {
        width: 560px;
    }
    .category #crosslinks .entry-meta .black-gradient div, .category #crosslinks .entry-meta .black-gradient .post_meta_o{
        width: 540px;
    }
    #page_layout{
        background:#fff;}
    #page_layout #downloads {
        margin: 0 auto;
        padding: 30px 60px 30px 0;
        width: 560px;
        position:relative;
        margin-top:0px;
        top:0;
    }
    .page_teaser{
        height: 250px !important;
        overflow: hidden;
        text-align: center;
        width: 100%;
        margin-bottom: -90px;}	
    #breadcrumb {
        position:relative;
        left:auto;
        top:auto;
        width:900px;
        padding:20px;
        margin:0 auto;
    }
    #teammembers, #locations{
        max-width:940px;
        margin:0 auto;
    }
    .acf-map {
        width: 620px;
    }
    .map_info {
        width: 280px;
    }
    .map_info .lbox{
        float:none;
    }
    .map_info .shadow {
        height:auto;
    }
    .firsttoggle {
        width: 900px;
    }
    #firstdiv span.details {
        right:0px;
    }
    #firstwrap {
        height: 300px;
        overflow: hidden;
        position: relative;
    }
    #firstplace{
        width:900px;}
    #firstwrap img {
        max-width: none;
        position: absolute;
        width: 100%;
        height:auto;
    }
    #firstdiv .bg {
        margin-left: 0px;
    }
    #shortpost #crosslinks .prevthumb {
        background-size: 210% auto;
        max-width: 300px;
    }
    #shortpost #crosslinks .entry-meta .black-gradient{
        width: 560px;
    }
    #shortpost #crosslinks .entry-meta  {
        width: 600px;
    }
    #shortpost .have-downloads {
        width: 240px;
    }
    #shortorder {
        width: 240px !important;
    }
    #shortpost .button {
        margin-right: 0;
        width: auto !important;
    }
    .searchresult {
        margin-top: 100px;
    }
    .searchresult #content{
        max-width:900px;
    }
    .searchresult article, .searchresult .page-header, .searchresult .page-content {
        margin: 0 auto;
        max-width: 860px !important;
        padding: 0 20px !important;
    }
    .mapbox {
        display: table;
    }
    #locations .map_info .shadow {
        padding-bottom:20px;
    }
    #thumbs a:last-child, #thumbs a:nth-child(5), #thumbs a:nth-child(9), #thumbs a:nth-child(13), #thumbs a {
        margin-right: 7px;
    }
    #footer-sidebar .widget {
        width: 260px;
    }
    #minshop{
        width:560px;
        padding:20px;
    }
    #minshop .pentminilink {
        float: none;
        line-height: 30px;
        margin-top: 30px;
    }
    #homelink {
      height:40px;
      margin-top:11px;
    }
}



@media screen and (max-width: 940px) {
    #masthead{
        height:60px;
        z-index:10;}
    .header-main, .front-site, .site-footer  {
        width: 600px !important;
        position:relative;
        margin: 0 auto;
    }
    .site-navigation li {
        display: table;
        width:auto;
        float:none;
    }
    .site-navigation ul li:nth-child(2){
        border-right:0px !important;
        border-left:0px !important;
        padding:0px;
        margin:0px;
        width:auto;}
    .site-navigation li li{
        float:none;
    }

    #thumbs a:last-child, #thumbs a:nth-child(5), #thumbs a:nth-child(9), #thumbs a:nth-child(13), #thumbs a {
        margin-right: 11px;
    }
    #firstwrap img {
        height: auto;
        max-width: none;
        position: absolute;
        width: 100%;
        z-index: 0;
    }
    #firstplace, #firstdiv .bg {
        width: 600px;
    }
    #firstdiv h1 {
        position: relative;
        width: 560px;
        text-align:left;
        float:none;
    }
    #firstdiv p {
        position: relative;
        width: 560px;
    }


    .teaser_box {
        float: right;
        max-width: 600px;
        width: 100%;
    }
    #teaserimg{
        height:250px;
        width:100%;
        text-align:center;
        overflow:hidden;
    }
    #teaserimg img{
        height:250px;
        width:auto;
        max-width:none;
        margin:0 auto;
        position:relative;
    }
    #footer-sidebar .widget:nth-child(2) {
        border-right: 0 none;
    }
    #footer-sidebar .widget:nth-child(3) .wysija-paragraph {
        width: auto;
    }
    #footer-sidebar .widget:nth-child(3) .wysija-submit {
        margin-top: 0;
        padding: 10px !important;
        width: auto;
        float:left;
    }
    #footer-sidebar .widget:nth-child(3) #nltext {
        width:250px;
    }
    #footer-sidebar .widget:nth-child(2) .textwidget {
        -moz-column-count: 1;
    }
    #footer-sidebar .widget {
        padding: 0 40px 0 20px;
        width: 280px;
    }
    #news {
        background: none repeat scroll 0 0 #fff;
        float: none;
        margin-top: 0;
        padding: 20px;
        position: relative;
        width: 560px;
        z-index: 1;
        min-height:200px;
        overflow:hidden;
    }
    #new ul li:nth-of-type(n+3) {
        display:none;
    }
    #footer-sidebar .widget {
        float: left;
        height: 100%;
        padding: 0 20px;
        position: relative;
        width: 42%;
    }
    #footer-sidebar .widget:nth-child(2) .textwidget {
        -moz-column-count:1 !important;

    }
    #footer-sidebar .widget:last-child {
        border-top: 1px solid #bdbdbd;
        margin-top: 20px;
        padding: 20px !important;
        width: 550px;
    }
    .cutoff {
        display:none;
    }
    .full-width .hentry,.entry-header  {
        max-width: 640px !important;
        width: 100%;
    }
    #teaserimg{
        margin-bottom: -89px;}
    .catteaser{
        margin-bottom: 0px !important;}
    .format-standard .entry-header {
        margin-left: 0px !important;

    }	
    .format-standard .entry-content {
        padding-right: 20px !important;
        max-width: none;
        width: 590px !important;
    }
    #rightbar {
        margin-left: 0;
        margin-top: 20px;
        width: 640px;
    }
    #leftbar {
        display:none;
    }
    #onair2, .onairtitle {
        display: block;
    }
    #article_info_footer {
        clear: both;
        margin-left: 0px;
    }
    #article_info_footer {
        width: 600px !important;
    }
    #crosslinks {
        width: 600px;
    }
    .prevthumb {
        max-width: 300px;
    }
    #bottom h3 {
        padding: 0 40px;
        text-align: left;
        width: 240px;
    }
    section.category ,#blog{
        width:600px;
        float:none;
        margin:0 auto;
    }
    .category #crosslinks {
        margin: 0 auto;
        max-width: 600px;
        width: 100%;
        float:none;
    }
    .category #crosslinks .prevthumb {
        height: 180px;
        max-width: 300px;
    }
    .category .prevthumb .color_box {
        right:0px;
    }
    .category #crosslinks .entry-meta {
        width:300px;
    }
    .category #crosslinks .entry-meta .black-gradient {
        width: 260px;
    }
    .category #crosslinks .entry-meta .black-gradient div, .category #crosslinks .entry-meta .black-gradient .post_meta_o{
        width: 240px;
    }
    #breadcrumb {
        width:600px;

    }

    #teammembers, #locations{
        max-width:640px;
        margin:0 auto;
    }
    #team .box_1 {
        margin-bottom:20px;
    }
    #team .box_3 {
        clear: left;
    }
    .acf-map {
        width: 600px;
    }
    .acf-map, .map_info {
        margin-left:20px;
    }
    .map_info {
        width: 600px;
        margin-top:0px;
        margin-bottom:40px;
    }
    .map_info .lbox{
        float:none;
    }
    .map_info .shadow {
        height:auto;
    }
    .map_2 .marker{
        float:left !important;}
    .map_2 .map_info{
        margin-left:20px;}
    .firsttoggle {
        width: 640px;
    }
    #firstdiv span.details {
        display:none;
    }
    #breadcrumb{
        display:none;}
    #shortpost .have-downloads {
        float: left;
        width: 540px;
    }
    #shortpost #crosslinks .prevthumb {
        background-size: 210% auto;
        max-width: 630px;
    }
    #shortpost #crosslinks .entry-meta {
        margin-top:0px;
        margin-bottom:50px;
    }
    #shortpost #crosslinks .entry-meta .black-gradient div, #shortpost #crosslinks .entry-meta .black-gradient .post_meta_o {
        width: 540px;
    }

    .searchresult #content{
        max-width:600px;
    }
    .searchresult article, .searchresult .page-header, .searchresult .hentry , .searchresult .page-content {
        margin: 0 auto;
        max-width: 560px !important;
        padding: 0 20px !important;
    }
    .search-box-wrapper {
        width: 100%;

    }
    .front-site .teaser_box .prevthumb {
        background-position: center center;
    }
    .front-site .teaser_box .cutoff {
        display:none;
    }
    .toggleinfo {
        display: none;
    }
    #locations .mapbox:nth-child(2) .grey_button {
        clear: both;
        float: left;

    }
    .woocommerce ul.products li.product:nth-child(2n), .woocommerce-page ul.products li.product:nth-child(2n) {
        clear: none !important;
        float: none;
    }

    .shopholder {
        margin: 0 auto;
        max-width: 580px;
        padding-right: 20px;
        text-align: center;
    }
    .woocommerce ul.products li.product, .woocommerce ul.products li.product:nth-child(3n+3), .woocommerce-page ul.products li.product:nth-child(3n+3){
        margin: 20px 30px 20px 0;
        float:left;}
    .woocommerce ul.products li.product:nth-child(2n+2), .woocommerce-page ul.products li.product:nth-child(2n+2) {
        margin-right: 0;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        float: right;
        width: 95%;
    }
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        float: none;
        margin: 0 auto;
        text-align: center;
        width: 65%;
    }

}
@media screen and (max-width: 600px) {

    body, button, input, select, textarea, #crosslinks h4, 
    .entry-header .entry-meta, .entry-header .entry-meta a, 
    .primary-navigation, .widget, #footer-sidebar .widget .widget-title, 
    #article_info_footer h3, 
    #bottom h3 {
        font-size: 16px;
    }
    #thumbs a:last-child, #thumbs a:nth-child(5), #thumbs a:nth-child(9), #thumbs a:nth-child(13), #thumbs a {
        margin-right: 16px;
    }
    .entry-meta {
        font-size: 14px;
    }
    .front-site .teaser_box .prevthumb {
        height: 190px !important;
        width:100% !important;
        margin:0;
    }
    .front-site .teaser_box {
        margin-bottom:30px;
    }
    .front-site .teaser_box .prevthumb span {
        left: 0 !important;
        right:auto;
        width: 300px !important;
    }
    #news ul li:nth-of-type(n+2){
        display:none;
    }

    .list-view .content-area {
        padding: 0 0px;
    }
    #firstwrap img {
        height: auto;
        left: -10%;
        max-width: none;
        position: absolute;
        top: 0px;
        width: 120%;
        z-index:0;
    }
    #firstdiv div {
        width:100% !important;
        min-width:300px !important;
        max-width:400px !important;
    }
    #firstdiv h1 {
        position: relative;
        width:100% !important;
        min-width:300px !important;
        max-width:400px !important;
        text-align:left;
        float:none;
    }
    #firstdiv p {
        position: relative;
        width:100% !important;
        min-width:300px !important;
        max-width:400px !important;
    }


    #footer-sidebar .widget:nth-child(1), #footer-sidebar .widget:nth-child(3) {
        padding: 20px 20px 0 20px !important;
    }
    body, html{
        overflow-x:hidden;}
    .teaser_box:last-child{
        margin-bottom:20px;
    }
    .full-width .hentry, .entry-header {
        max-width: 440px !important;
        width: 100%;
    }
    .format-standard .entry-content {
        max-width: none;
        padding-right: 10px !important;
        width: 420px !important;
    }
    .format-standard .entry-content .leftcolumn , .format-standard .entry-content .rightcolumn {
        float: none;
        width:100%;
        margin-right: 0px;
    }
    #rightbar {
        margin-left: 0;
        margin-top: 20px;
        width: 440px;
    }
    #article_info_footer div {
        float: none;
        margin: 0px;
        width: 440px;
    }
    #crosslinks .entry-meta  {
        width:440px !important;
    }

    .grey_button {
        width:420px !important;
        height:18px;
    }
    #bottom h3 {
        padding: 30px 0 10px 0;
        text-align: left;
        width: 400px;
    }
    #crosslinks {
        float: left;
        margin-left: 0px;
        width: 440px;
        margin-bottom: 0;
    }
    #crosslinks .black-gradient {
        width:400px;
    }
    .prevthumb {
        max-width: 440px;
    }
    #crosslinks li {
        height: 240px;
    }
    section.category ,#blog{
        width:440px;
        float:none;
        margin:0 auto;
    }
    section.category .entry-content{
        display:block !important;}
    .category #crosslinks {
        margin: 0 auto;
        max-width: 440px;
        width: 100%;
        float:none;
    }
    .category #crosslinks .prevthumb {
        background-size: 110% auto;
        height: 180px;
        max-width: 440px;
    }
    .category .prevthumb .color_box {
        right:0px;
        overflow: hidden;
        width: 440px;
    }
    .category #crosslinks .entry-meta {
        width:400px;
    }
    .category #crosslinks .entry-meta .black-gradient, .category #crosslinks .black-gradient {
        width: 400px !important;
    }
    .category #crosslinks .entry-meta .black-gradient div, .category #crosslinks .entry-meta .black-gradient .post_meta_o, #crosslinks .black-gradient div {
        width: 400px;
    }
    #article_info_footer  #crew, #article_info_footer #produktion{
        width:400px;
        padding:0 20px;}
    #breadcrumb , #teammembers{
        width:400px;

    }
    #locations{
        width:440px;
        margin:0 auto;}
    #team .mb {
        float: none;
        height: auto;
        margin-right: 0px;
        width: 280px;
        margin:0 auto;
        margin-bottom:30px;
    }
    #team .mb .mb_img_holder {
        display: none;
    }
    .acf-map {
        width: 440px;
    }
    .acf-map, .map_info {
        margin-left:0px;
    }
    .map_info {
        width: 440px;
        margin-top:0px;
        margin-bottom:40px;
    }
    .map_info .grey_button {
        width:400px !important;
    }
    .map_info .lbox{
        float:none;
    }
    .map_info .shadow {
        height:auto;
    }
    .map_2 .marker{
        float:left !important;}
    .map_2 .map_info{
        margin-left:0px;}
    .firsttoggle {
        width: 440px;
    }
    #firstdiv span.details {
        display:none;
    }
    .blog-content .entry-content {
        margin: 0 auto 30px;
        width: 400px;
    }
    #blog li {
        height:auto !important;
    }
    #shortpost .have-downloads {
        float: left;
        width: 400px;
    }
    #shortpost #crosslinks .prevthumb {
        background-size: 210% auto;
        max-width: 440px;
    }
    #shortpost #crosslinks .entry-meta {
        margin-top:0px;
        margin-bottom:50px;
    }
    #shortpost #crosslinks .entry-meta .black-gradient div, #shortpost #crosslinks .entry-meta .black-gradient .post_meta_o {
        width: 400px !important;
    }
    #shortpost li {
        height: auto;
    }
    #shortorder{
        margin-top:30px;}
    .searchresult #content{
        max-width:400px;
    }
    .searchresult article, .searchresult .page-header, .searchresult .hentry, .searchresult .page-content {
        max-width: 360px !important;
        padding: 0 20px !important;
    }
    .front-site .teaser_box .prevthumb {
        background-position: center center;
        color: #fff;
    }
    .entry-meta{
        height:120px !important;}
    #locations .mapbox:nth-child(2) .marker {
        margin-right: 0px;
    }
    #locations .mapbox:nth-child(2) .grey_button {
        width: 400px !important;
    }#footer-sidebar .widget:nth-child(2) {
        padding: 0 20px !important;
        width: auto !important;
    }
    #footer-sidebar .widget:nth-child(2) {
        border-left: 0 none;
        border-top: 1px solid #bdbdbd;
        margin-top: 20px;
        padding-top: 20px !important;
        width:auto;
    }
    #footer-sidebar .widget:nth-child(3) .wysija-submit {
        float: right;
        padding: 10px !important;
    }
    #footer-sidebar .widget:nth-child(3) #nltext {
        width: auto;
    }
    #minshop{
        width:400px;
        padding:20px;
    }
    .woocommerce ul{
        width:255px;
        margin:0 auto;}
    .woocommerce ul.products li{
        margin-right:0px;}
    .woocommerce ul.products li.product:nth-child(2n), .woocommerce-page ul.products li.product:nth-child(2n) {
        clear: none !important;
        float: none;
    }

    #shop{
        max-width:440px;
        margin:0 auto;
    }
    #shop .page-title {
        padding-left: 45px;
        float: left;
        margin-top: 0px !important;
        padding-bottom: 20px;
    }
    .products-per-page {
        margin-bottom: 20px;
        margin-top: 20px;
    }
    /*
    #pentalpha_link {
        padding-right: 0px;
        margin-bottom: -30px;

    }
    .products-per-page, #pentalpha_link {
        margin-left: 40px;
        float:left !important;
        text-align:left;

    }
    */
    #homelink {
      height:36px;
      margin-top:13px;
    }
    .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
        float: right;
        width: 85%;
    }
    .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
        float: left;
        text-align: center;
        width: 65%;
    }
    .backtoshop, #backtoshopcart {
        float: left;
        line-height: 14px;
        margin-right: 10px;
        margin-top: -140px;
        position: relative;
        z-index: 100;
    }
    .woocommerce table .actions input{
        width:100% !important;}
    #coupon_code{
        margin-bottom:10px !important;}
    .coupon{
        margin-bottom:30px !important;}

}
@media screen and (max-width: 440px) {
    html,body{
        min-width:320px;}
    .header-main {
        padding:0px;
    }
    .header-main, .front-site, .site-footer {
        max-width: 320px !important;
    }
    #social_icons{
        display:none !important;}
    #homelink img {
        margin-left: 8px;
        margin-top: 4px;
        width:205px;
        height:26px;
    }
    #news {
        height: auto;
        width: 280px !important;
    }
    #colophon{
        width:280px !important;
    }
    #footer-sidebar .widget:nth-child(3) .wysija-paragraph {
        width: 100% !important;
    }
    /*detail */
    .full-width .hentry, .entry-header {
        max-width: 320px !important;
        width: 100%;
    }
    .entry-header .black-gradient {
        height: 80px !important;
    }
    .format-standard .entry-content {
        max-width: 280px;
        padding: 20px !important;
        width: 100%;
    }
    .woocommerce .shop_table{
        margin-left:-22px !important;}
    #rightbar {
        margin-left: 0;
        margin-top: 20px;
        width: 320px;
    }
    #thumbs a{
        margin-right: 16px !important;
    }
    #thumbs a img {
        margin-bottom: 20px;
        width: 90px;

    }
    #article_info_footer #crew, #article_info_footer #produktion {
        width: 300px;
    }
    .grey_button {
        height: 18px;
        width: 300px !important;
    }
    #crosslinks .entry-meta, #crosslinks , .category #crosslinks, .category .prevthumb .color_box, section.category, #blog, .acf-map, #locations, .map_info  {
        width: 320px !important;
    }

    #crosslinks .black-gradient, .category #crosslinks .entry-meta .black-gradient div, .category #crosslinks .entry-meta .black-gradient .post_meta_o, #crosslinks .black-gradient div, .category #crosslinks .entry-meta .black-gradient, .category #crosslinks .black-gradient, .map_info .grey_button, #locations .mapbox:nth-child(2) .grey_button, #minshop, .blog-content .entry-content {
        width: 280px !important;
    }
    #blog #crosslinks{
        width:240px !important;}
    /*cat*/.category .archive-title {
        font-size: 33px;
    }

    .paging-navigation .loop-pagination {
        margin-left:0px;
    }


}
@media screen and (min-width: 1500px) {

    .full-width .hentry {
        max-width: 1500px;
        width: 100%;

    }	
    #previmage img{
        max-height:550px;
        max-width:280px;}

    .front-site .teaser_box .cutoff {
        width:900px;
    }
}

/**
 * 12.0 Print
 * -----------------------------------------------------------------------------
 */

@media print {
    body {
        background: none !important; /* Brute force since user agents all print differently. */
        color: #2b2b2b;
        font-size: 12pt;
    }

    .site,
    .site-header,
    .hentry,
    .site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta,
    .page-content,
    .archive-header,
    .page-header,
    .contributor-info,
    .comments-area,
    .attachment .entry-attachment .attachment {
        max-width: 100%;
    }

    #site-header img,
    .search-toggle,
    .site-navigation,
    .site-content nav,
    .edit-link,
    .page-links,
    .widget-area,
    .more-link,
    .post-format-archive-link,
    .comment-respond,
    .comment-list .reply,
    .comment-reply-login,
    #secondary,
    .site-footer,
    .slider-control-paging,
    .slider-direction-nav {
        display: none;
    }

    .site-title a,
    .entry-meta,
    .entry-meta a,
    .featured-content .hentry,
    .featured-content a {
        color: #2b2b2b;
    }

    .entry-content a,
    .entry-summary a,
    .page-content a,
    .comment-content a {
        text-decoration: none;
    }

    .site-header,
    .post-thumbnail,
    a.post-thumbnail:hover,
    .site-content .entry-header,
    .site-footer,
    .featured-content,
    .featured-content .entry-header {
        background: transparent;
    }

    .header-main {
        padding: 48px 10px;
    }

    .site-title {
        float: none;
        font-size: 19pt;
    }

    .content-area {
        padding-top: 0;
    }

    .list-view .site-content .hentry {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 48px;
        padding-bottom: 24px;
    }

    .post-thumbnail img {
        margin: 0 10px 24px;
    }

    .site-content .has-post-thumbnail .entry-header {
        padding-top: 0;
    }

    .site-content footer.entry-meta {
        margin: 24px auto;
    }

    .entry-meta .tag-links a {
        color: #fff;
    }

    .singular .site-content .hentry.has-post-thumbnail {
        margin-top: 0;
    }

    .gallery-columns-1.gallery-size-medium,
    .gallery-columns-1.gallery-size-thumbnail,
    .gallery-columns-2.gallery-size-thumbnail,
    .gallery-columns-3.gallery-size-thumbnail {
        display: block;
    }

    .archive-title,
    .page-title {
        margin: 0 10px 48px;
    }

    .featured-content .hentry {
        margin-bottom: 48px;
    }

    .featured-content .post-thumbnail,
    .slider .featured-content .post-thumbnail {
        padding-top: 0;
    }

    .featured-content .post-thumbnail img {
        position: relative;
    }

    .featured-content .entry-header {
        padding: 0 10px 24px;
    }

    .featured-content .entry-meta {
        font-size: 9pt;
        margin-bottom: 11px;
    }

    .featured-content .cat-links {
        font-weight: 900;
    }

    .featured-content .entry-title {
        font-size: 25pt;
        line-height: 36px;
    }
}


/* von Martin */
#secondary {
    display: none;
}

/* codemacher */
@media screen and (min-width: 1240px) {
    .primary-navigation ul ul.sub-menu {
        float: none;
        margin: 0;
        position:absolute;
        z-index: 5;
        font-size:14px;
        display:none;
        top: 60px !important;

    }
    .primary-navigation li li {
      display: inline-block;
      float: none;
      /*height: 40px;*/
      line-height: 100%;
      position:relative;
    }
    .primary-navigation ul li ul.sub-menu {
        width:auto;
        white-space: nowrap;
        height:auto !important;
        overflow: hidden;
        box-sizing: border-box;
    }
    .primary-navigation ul li ul.sub-menu li {
      padding:10px 20px 10px 0px;
      box-sizing: border-box;
    }
    .primary-navigation ul li ul.sub-menu li:first-child {
      padding-left: 20px;
    }
    .primary-navigation ul li ul.sub-menu li a {
      padding:0;
      margin:0;
      white-space: pre;
    }
    .primary-navigation ul li ul.sub-menu li.dropbox-menu {
      padding:0;
      margin:0;
      box-sizing: border-box;
      display:block;
    }
    .primary-navigation ul li ul.sub-menu li.dropbox-menu .firstdrop {
      height:auto;
    }
    /*
    .primary-navigation ul li.menu-unternehmen ul {
        width:400px;
    }
    .primary-navigation ul li.menu-shop ul {
        width:200px;
    }
*/
    .sub-menu {
        /*height: 60px !important;*/
        padding-right: 0px;
        line-height: 100%;
    }
    /*
    .primary-navigation ul ul a {
        padding: 15px 0 15px 20px;
    }
    */
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10090;
    width: 100%;
    height: 500px;
    background-color: #fff !important;
    filter: alpha(opacity=70) !important;
    -moz-opacity: .7 !important;
    opacity: .7 !important;
    display: none;
}


@media screen and (min-width: 600px) {
    .shopholder li p {
        height: 80px;
        overflow: hidden;
    }
    .woocommerce ul.products li.product h3, .woocommerce-page ul.products li.product h3 {
        height: 50px;
		overflow:hidden;
    }
}

@media screen and (min-width:940px) {
  .page .site-content .entry-content, .page .site-content .entry-summary, .page .page-content, .page .site-content .entry-title {
    margin: 0 auto;
    max-width: 800px;
  }
}
@media screen and (min-width:1218px) {
  .page .site-content .entry-content, .page .site-content .entry-summary, .page .page-content, .page .site-content .entry-title {
    margin: 0 auto 0 300px;
  }
}
@media screen and (min-width:1218px) {
  .page-template-start article.page {
    margin-left:0;
    margin-bottom:0;
    float:left;
    width:auto;
  }
  .page-template-start article.page .entry-content, .page-template-start article.page .site-content .entry-title {
    margin-left:0;
  }
}

@media screen and (min-width: 940px) {

.page #statistic .site-content .entry-content {
    margin: 0 auto;
    max-width: 1400px;
}
}