/*
Theme Name: Twenty Thirteen Child (OJC)
Theme URI: https://ojc.cat/
Description: Child theme de Twenty Thirteen 1.3 con las personalizaciones de OJC. Este style.css sustituye por completo al del tema padre (contiene todo el CSS modificado).
Author: OJC
Template: twentythirteen
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentythirteen-child
*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */


/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */

@font-face {
  font-family: 'economica';
  src: url('fonts/economica.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'antic-didone';
  src: url('fonts/anticdidone.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'league-gothic';
  src: url('fonts/leaguegothic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    hyphens: none !important;
}

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

audio,
canvas,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html,
button,
input,
select,
textarea {
    font-family: "Source Sans Pro", Helvetica, sans-serif;
}

body {
    color: #141412;
    line-height: 1.5;
    margin: 0;
}

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

a:visited {
    color: #ac0404;
}

a:focus {
    outline: thin dotted;
}

a:active,
a:hover {
    color: #ea9629;
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: Bitter, Georgia, serif;
    line-height: 1.3;
}

h1 {
    font-size: 48px;
    margin: 33px 0;
}

h2 {
    font-size: 30px;
    margin: 25px 0;
}

h3 {
    font-size: 22px;
    margin: 22px 0;
}

h4 {
    font-size: 20px;
    margin: 25px 0;
}

h5 {
    font-size: 18px;
    margin: 30px 0;
}

h6 {
    font-size: 16px;
    margin: 36px 0;
}

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

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

p {
    margin: 0 0 24px;
}

code,
kbd,
pre,
samp {
    font-family: monospace, serif;
    font-size: 14px;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}

pre {
    background: #f5f5f5;
    color: #666;
    font-family: monospace;
    font-size: 14px;
    margin: 20px 0;
    overflow: auto;
    padding: 20px;
    white-space: normal;
    white-space: normal;
    word-wrap: normal;
    word-break: keep-all;
}

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 {
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin: 24px 40px;
}

blockquote blockquote {
    margin-right: 0;
}

blockquote cite,
blockquote small {
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
}

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

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

small {
    font-size: smaller;
}

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

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

dl {
    margin: 0 20px;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 0 20px;
}

menu,
ol,
ul {
    margin: 16px 0;
    padding: 0 0 0 40px;
}

ul {
    list-style-type: square;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

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

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

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
}

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

button,
input {
    line-height: normal;
}

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;
    padding-right: 2px;
    /* Don't cut off the webkit search cancel button */
    width: 270px;
}

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 {
    border-bottom: 1px solid #ededed;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    line-height: 2;
    margin: 0 0 20px;
    width: 100%;
}

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

caption {
    font-size: 16px;
    margin: 20px 0;
}

th {
    font-weight: bold;
    text-transform: uppercase;
}

td {
    border-top: 1px solid #ededed;
    padding: 6px 10px 6px 0;
}

del {
    color: #333;
}

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

hr {
    background: url(../twentythirteen/images/dotted-line.png) repeat center top;
    background-size: 4px 4px;
    border: 0;
    height: 1px;
    margin: 0 0 24px;
}


/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */

.genericon:before,
.menu-toggle:after,
.featured-post:before,
.date a:before,
.entry-meta .author a:before,
.format-audio .entry-content:before,
.comments-link a:before,
.tags-links a:first-child:before,
.categories-links a:first-child:before,
.edit-link a:before,
.attachment .entry-title:before,
.attachment-meta:before,
.attachment-meta a:before,
.comment-awaiting-moderation:before,
.comment-reply-link:before,
.comment-reply-login:before,
.comment-reply-title small a:before,
.bypostauthor>.comment-body .fn:before,
.error404 .page-title:before {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font: normal 16px/1 Genericons;
    vertical-align: text-bottom;
}


/* Clearing floats */

.clear:after,
.attachment .entry-header:after,
.site-footer .widget-area:after,
.entry-content:after,
.page-content:after,
.navigation:after,
.nav-links:after,
.gallery:after,
.comment-form-author:after,
.comment-form-email:after,
.comment-form-url:after,
.comment-body:after {
    clear: both;
}

.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
    content: "";
    display: table;
}


/* Assistive text */

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

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    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;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar */
}


/* Form fields, general styles first. */

button,
input,
textarea {
    border: 2px solid #c4c4c4;
    font-family: inherit;
    padding: 5px;
    background-color: #f2f2f2;
}

input,
textarea {
    color: #141412;
}

input:focus,
textarea:focus {
    border: 2px solid #c3c0ab;
    outline: 0;
}


/* Buttons */

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    background: #DC9529;
    /* Old browsers */
    background: -webkit-linear-gradient(top, #DC9529 0%, #d94412 100%);
    /* Chrome 10+, Safari 5.1+ */
    background: #DC9529;
    /* W3C */
    border: none;
    /* border-bottom: 3px solid #b93207; */
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    padding: 11px 24px 10px;
    text-decoration: none;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="reset"]:focus {
    background: #DC9529;
    /* Old browsers */
    background: -webkit-linear-gradient(top, #DC9529 0%, #e55627 100%);
    /* Chrome 10+, Safari 5.1+ */
    background: linear-gradient(to bottom, #DC9529 0%, #e55627 100%);
    /* W3C */
    outline: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
    background: #DC9529;
    /* Old browsers */
    background: -webkit-linear-gradient(top, #DC9529 0%, #e05d22 100%);
    /* Chrome 10+, Safari 5.1+ */
    background: linear-gradient(to bottom, #DC9529 0%, #e05d22 100%);
    /* W3C */
    border: none;
    border-top: 3px solid #b93207;
    padding: 10px 24px 11px;
}

.post-password-required input[type="submit"] {
    padding: 7px 24px 4px;
    vertical-align: bottom;
}

.post-password-required input[type="submit"]:active {
    padding: 5px 24px 6px;
}


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

::-webkit-input-placeholder {
    color: #7d7b6d;
}

:-moz-placeholder {
    color: #7d7b6d;
}

::-moz-placeholder {
    color: #7d7b6d;
}

:-ms-input-placeholder {
    color: #7d7b6d;
}


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

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


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

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

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


/* Make sure videos and embeds fit their containers. */

embed,
iframe,
object,
video {
    max-width: 100%;
}


/* Override the Twitter embed fixed width. */

.entry-content .twitter-tweet-rendered {
    max-width: 100% !important;
}


/* Images */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

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

figure.wp-caption.alignleft,
img.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
    margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,
img.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
    margin: 5px 0 5px 10px;
}

img.aligncenter {
    margin: 5px auto;
}

img.alignnone {
    margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
    color: #220e10;
    font-size: 18px;
    font-style: italic;
    font-weight: 300;
    margin: 0 0 24px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
    float: right;
}

div.wp-caption.alignright .wp-caption-text {
    padding-left: 10px;
}

img.wp-smiley,
.rsswidget img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.wp-caption.alignleft+ul,
.wp-caption.alignleft+ol {
    list-style-position: inside;
}


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

.site {
    background-color: #fff;
    /* border-left: 1px solid #f2f2f2; */
    /* border-right: 1px solid #f2f2f2; */
    margin: 0 auto;
    /* max-width: 1600px; */
    width: 100%;
}

.home .site-main {
    padding-top: 0 !important;
}

.site-main {
    position: relative;
    padding-top: 53px;
}

.site-main .sidebar-container {
    height: auto;
    position: absolute;
    /* top: 40px; */
    width: 100%;
    z-index: 1;
}

.site-main .sidebar-inner {
    margin: 0 auto;
    max-width: 1040px;
}


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


/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */

.site-header {
    position: relative;
}

.site-header .home-link {
    color: #141412;
    display: block;
    margin: 0 auto;
    max-width: 1080px;
    min-height: 230px;
    padding: 0 20px;
    text-decoration: none;
    width: 100%;
}

.site-header .site-title:hover {
    text-decoration: underline;
}

.site-title {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    padding: 58px 0 10px;
}

.site-description {
    font: 300 italic 24px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0;
}


/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */

.main-navigation {
    clear: both;
    margin: 0 auto;
    max-width: 1080px;
    min-height: 45px;
    position: relative;
}

ul.nav-menu,
div.nav-menu>ul {
    margin: 0;
    padding: 0 40px 0 0;
}

.nav-menu li {
    display: inline-block;
    position: relative;
}

.nav-menu li a {
    color: #141412;
    display: block;
    font-size: 18px;
    line-height: 1;
    padding: 15px 20px;
    text-decoration: none;
}

.nav-menu li:hover>a,
.nav-menu li a:hover,
.nav-menu li:focus>a,
.nav-menu li a:focus {
    background-color: #220e10;
    color: #DC9529 !important;
}

.nav-menu .sub-menu,
.nav-menu .children {
    background-color: transparent;
    /* border: 2px solid #f7f5e7; */
    border-top: 0;
    padding: 0;
    position: absolute;
    left: -2px;
    z-index: 99999;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

.nav-menu .sub-menu ul,
.nav-menu .children ul {
    border-left: 0;
    left: 100%;
    top: 0;
}

.nav-menu .sub-menu li:hover>a {
    color: white !important;
}

ul.nav-menu ul a,
.nav-menu ul ul a {
    color: #fff;
    margin: 0;
    width: 200px;
}

ul.nav-menu ul a:hover,
.nav-menu ul ul a:hover,
ul.nav-menu ul a:focus,
.nav-menu ul ul a:focus {
    background-color: #DC9529;
}

ul.nav-menu li:hover>ul,
.nav-menu ul li:hover>ul,
ul.nav-menu .focus>ul,
.nav-menu .focus>ul {
    clip: inherit;
    overflow: inherit;
    height: inherit;
    width: inherit;
}

.nav-menu .current_page_item>a,
.nav-menu .current_page_ancestor>a,
.nav-menu .current-menu-item>a,
.nav-menu .current-menu-ancestor>a {
    color: rgb(220, 149, 41);
    font-style: italic;
}

.menu-toggle {
    display: none;
}


/* Navbar */

.navbar {
    background-color: #f7f5e7;
    margin: 0 auto;
    /* max-width: 1600px; */
    /* width: 100%; */
}

.site-header .search-form {
    position: absolute;
    right: 20px;
    top: 1px;
}

.site-header .search-field {
    background-color: transparent;
    background-image: url(../twentythirteen/images/search-icon.png);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    cursor: pointer;
    height: 37px;
    margin: 3px 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition: width 400ms ease, background 400ms ease;
    width: 1px;
}

.site-header .search-field:focus {
    background-color: #fff;
    border: 2px solid #c3c0ab;
    cursor: text;
    outline: 0;
    width: 230px;
}


/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */

.hentry {
    padding: 40px 0;
}

.entry-header,
.entry-content,
.entry-summary,
.entry-meta {
    margin: 0 auto;
    max-width: 660px;
    width: 100%;
}

.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
    max-width: 1060px;
    /* padding: 0 376px 0 60px; */
    /* padding: 0 60px 0 376px; */
    /* padding: 0px 60px 0 420px; */
    /* padding: 0px 60px 0 360px; */
    /* padding: 0 60px 0 280px; */
    padding: 0 0 0 200px;
}


/**
 * 5.1 Entry Header
 * ----------------------------------------------------------------------------
 */

.sidebar .entry-header .entry-meta {
    padding: 0;
}

.entry-thumbnail img {
    display: block;
    /* margin: 0 auto 10px; */
    margin: 0;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-weight: normal;
    margin: 0 0 5px;
}

.entry-title a {
    color: #141412;
}

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


/**
 * 5.2 Entry Meta
 * ----------------------------------------------------------------------------
 */

.entry-meta {
    clear: both;
    font-size: 14px;
}

.entry-meta a {
    color: #bc360a;
}

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

.entry-meta>span {
    margin-right: 20px;
}

.entry-meta>span:last-child {
    margin-right: 0;
}

.featured-post:before {
    content: "\f308";
    margin-right: 2px;
}

.entry-meta .date a:before {
    content: "\f303";
}

.comments-link a:before {
    content: "\f300";
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.entry-meta .author a:before {
    content: "\f304";
    position: relative;
    top: -1px;
}

.categories-links a:first-child:before {
    content: "\f301";
}

.tags-links a:first-child:before {
    content: "\f302";
    position: relative;
    top: -1px;
}

.edit-link a:before {
    content: "\f411";
    position: relative;
    top: -1px;
}

.single-author .entry-meta .author,
.sticky.format-standard .entry-meta .date,
.sticky.format-audio .entry-meta .date,
.sticky.format-chat .entry-meta .date,
.sticky.format-image .entry-meta .date,
.sticky.format-gallery .entry-meta .date {
    display: none;
}


/**
 * 5.3 Entry Content
 * ----------------------------------------------------------------------------
 */

.entry-content {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    word-wrap: normal;
    word-break: keep-all;
}

.entry-content a,
.comment-content a {
    color: #bc360a;
}

.entry-content a:hover,
.comment-content a:hover {
    color: #ea9629;
}

.entry-content blockquote {
    font-size: 24px;
}

.entry-content blockquote cite,
.entry-content blockquote small {
    font-size: 16px;
}

.entry-content img.alignleft,
.entry-content .wp-caption.alignleft {
    margin-left: -60px;
}

.entry-content img.alignright,
.entry-content .wp-caption.alignright {
    margin-right: -60px;
}

footer.entry-meta {
    margin-top: 24px;
}

.format-standard footer.entry-meta {
    margin-top: 0;
}


/* Page links */

.page-links {
    clear: both;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    line-height: 2.2;
    margin: 20px 0;
    text-transform: uppercase;
}

.page-links a,
.page-links>span {
    background: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    text-decoration: none;
}

.format-status .entry-content .page-links a,
.format-gallery .entry-content .page-links a,
.format-chat .entry-content .page-links a,
.format-quote .entry-content .page-links a,
.page-links a {
    background: #e63f2a;
    border: 1px solid #e63f2a;
    color: #fff;
}

.format-gallery .entry-content .page-links a:hover,
.format-audio .entry-content .page-links a:hover,
.format-status .entry-content .page-links a:hover,
.format-video .entry-content .page-links a:hover,
.format-chat .entry-content .page-links a:hover,
.format-quote .entry-content .page-links a:hover,
.page-links a:hover {
    background: #fff;
    color: #e63f2a;
}

.format-status .entry-content .page-links>span,
.format-quote .entry-content .page-links>span {
    background: none;
}

.page-links .page-links-title {
    background: transparent;
    border: none;
    margin-right: 20px;
    padding: 0;
}


/* Mediaelements */

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

.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: #ea9629;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,
.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
    background: #595959;
}

.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;
}


/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */

.gallery {
    margin-bottom: 20px;
    margin-left: -4px;
}

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

.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: table;
    margin: 0 auto 20px;
    margin-left: 120px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
    text-align: center;
}

.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-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
    clear: left;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    box-sizing: border-box;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 2px 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    -webkit-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
    width: 100%;
}

.gallery-caption:before {
    box-shadow: 0 -10px 15px #000 inset;
    content: "";
    height: 100%;
    min-height: 49px;
    position: absolute;
    left: 0;
    top: 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;
}


/**
 * 5.5 Post Formats
 * ----------------------------------------------------------------------------
 */


/* Aside */

.format-aside {
    background-color: #f7f5e7;
}

.blog .format-aside:first-of-type,
.single .format-aside:first-of-type,
.format-aside+.format-aside,
.format-aside+.format-link,
.format-link+.format-aside {
    box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2);
}

.format-aside .entry-meta {
    margin-top: 0;
}

.format-aside blockquote {
    font-size: 100%;
    font-weight: normal;
}

.format-aside cite {
    font-size: 100%;
    text-transform: none;
}

.format-aside cite:before {
    content: "\2014";
    margin-right: 5px;
}


/* Audio */

.format-audio {
    background-color: #db572f;
}

.format-audio .entry-title {
    font-size: 28px;
    font-weight: bold;
}

.format-audio .entry-content:before {
    content: "\f109";
    float: left;
    font-size: 64px;
    position: relative;
    top: 4px;
}

.format-audio .entry-content a,
.format-audio .entry-meta a,
.format-audio .entry-content a:hover,
.format-audio .entry-meta a:hover {
    color: #fbfaf3;
}

.format-audio .audio-content {
    background: url(../twentythirteen/images/dotted-line.png) repeat-y left top;
    background-size: 4px 4px;
    float: right;
    padding-left: 35px;
    width: 80%;
    width: -webkit-calc(100% - 85px);
    width: calc(100% - 85px);
}

.format-audio .wp-audio-shortcode {
    height: 30px !important;
    /* Override mediaelement.js style */
    margin: 20px 0;
    max-width: 400px !important;
    /* Override mediaelement.js style */
}

.format-audio audio {
    max-width: 100% !important;
    /* Avoid player width overflow. */
}


/* Chat */

.format-chat {
    background-color: #eadaa6;
}

.format-chat .entry-title {
    font-size: 28px;
    font-weight: bold;
}

.format-chat .entry-meta a,
.format-chat .entry-content a {
    color: #722d19;
}

.format-chat .entry-meta .date a:before {
    content: "\f108";
    margin-right: 2px;
}

.format-chat .entry-meta .author {
    display: none;
}

.format-chat .chat {
    margin: 0;
}

.format-chat .chat .chat-timestamp {
    color: #722d19;
    float: right;
    font-size: 12px;
    font-weight: normal;
    margin: 5px 10px 0;
}

.format-chat .chat .fn {
    font-style: normal;
}


/* Gallery */

.format-gallery {
    background-color: #fbca3c;
}

.format-gallery .entry-header {
    margin-bottom: 15px;
}

.format-gallery .entry-title {
    font-size: 50px;
    font-weight: 400;
    margin: 0;
}

.format-gallery .entry-meta a,
.format-gallery .entry-content a {
    color: #722d19;
}


/* Image */

.format-image .entry-title {
    font-size: 28px;
    font-weight: bold;
}

.format-image .categories-links,
.format-image .tags-links {
    display: none;
}


/* Link */

.format-link {
    background-color: #f7f5e7;
}

.blog .format-link:first-of-type,
.single .format-link:first-of-type {
    box-shadow: inset 0 2px 2px rgba(173, 165, 105, 0.2);
}

.format-link .entry-header,
.format-link .entry-content p:last-child {
    margin-bottom: 0;
}

.format-link .entry-title {
    color: #ca3c08;
    display: inline;
    font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
    margin-right: 20px;
}

.format-link .entry-title a {
    color: #bc360a;
}

.format-link div.entry-meta {
    display: inline;
}


/* Quote */

.format-quote {
    background-color: #210d10;
}

.format-quote .entry-content,
.format-quote .entry-meta {
    color: #f7f5e7;
}

.format-quote .entry-content blockquote {
    font-size: 28px;
    margin: 0;
}

.format-quote .entry-content a,
.format-quote .entry-meta a,
.format-quote .linked {
    color: #e63f2a;
}

.format-quote .entry-content cite a {
    border-bottom: 1px dotted #fff;
    color: #fff;
}

.format-quote .entry-content cite a:hover {
    text-decoration: none;
}

.format-quote blockquote small,
.format-quote blockquote cite {
    display: block;
    font-size: 16px;
}

.format-quote blockquote {
    font-style: italic;
    font-weight: 300;
    padding-left: 75px;
    position: relative;
}

.format-quote blockquote:before {
    content: '\201C';
    font-size: 140px;
    font-weight: 400;
    line-height: .8;
    padding-right: 25px;
    position: absolute;
    left: -15px;
    top: -3px;
}

.format-quote .entry-meta .author {
    display: none;
}


/* Status */

.format-status {
    background-color: #722d19;
    padding: 0;
}

.format-status .entry-content,
.format-status .entry-meta {
    padding-left: 35px;
    position: relative;
}

.format-status .entry-content a {
    color: #eadaa6;
}

.format-status .entry-meta a {
    color: #f7f5e7;
}

.sidebar .format-status .entry-content,
.sidebar .format-status .entry-meta {
    padding-left: 95px;
}

.format-status .entry-content:before,
.format-status .entry-meta:before {
    background: url(../twentythirteen/images/dotted-line.png) repeat-y left bottom;
    background-size: 4px 4px;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    left: 10px;
    top: 0;
    width: 1px;
}

.sidebar .format-status .entry-content:before,
.sidebar .format-status .entry-meta:before {
    left: 70px;
}

.format-status .categories-links,
.format-status .tags-links {
    display: none;
}


/* Ensures the dots in the dot background are in lockstep. */

.format-status .entry-meta:before {
    background-position: left top;
}

.format-status .entry-content {
    color: #f7f5e7;
    font-size: 24px;
    font-style: italic;
    font-weight: 300;
    padding-bottom: 30px;
    padding-top: 40px;
    position: relative;
}

.format-status .entry-content p:first-child:before {
    background-color: rgba(0, 0, 0, 0.65);
    content: "";
    height: 3px;
    margin-top: 13px;
    position: absolute;
    left: 4px;
    width: 13px;
}

.sidebar .format-status .entry-content>p:first-child:before {
    left: 64px;
}

.format-status .entry-content p:last-child {
    margin-bottom: 0;
}

.format-status .entry-meta {
    margin-top: 0;
    padding-bottom: 40px;
}

.format-status .entry-meta .date a:before {
    content: "\f105";
}


/* Video */

.format-video {
    background-color: #db572f;
}

.format-video .entry-content a,
.format-video .entry-meta a,
.format-video .entry-content a:hover,
.format-video .entry-meta a:hover {
    color: #fbfaf3;
}

.format-video .entry-title {
    font-size: 50px;
    font-weight: 400;
}

.format-video .entry-meta {
    color: #220e10;
}


/**
 * 5.6 Attachments
 * ----------------------------------------------------------------------------
 */

.attachment .hentry {
    background-color: #e8e5ce;
    margin: 0;
    padding: 0;
}

.attachment .entry-header {
    margin-bottom: 0;
    max-width: 1040px;
    padding: 30px 0;
}

.attachment .entry-title {
    display: inline-block;
    float: left;
    font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0;
}

.attachment .entry-title:before {
    content: "\f416";
    font-size: 32px;
    margin-right: 10px;
}

.attachment .entry-meta {
    clear: none;
    color: inherit;
    float: right;
    max-width: 604px;
    padding: 9px 0 0;
    text-align: right;
}

.hentry.attachment:not(.image-attachment) .entry-meta {
    max-width: 104px;
}

.attachment footer.entry-meta {
    display: none;
}

.attachment-meta:before {
    content: "\f307";
}

.full-size-link a:before {
    content: "\f402";
}

.full-size-link:before {
    content: none;
}

.attachment .entry-meta a,
.attachment .entry-meta .edit-link:before,
.attachment .full-size-link:before {
    color: #ca3c08;
}

.attachment .entry-content {
    background-color: #fff;
    max-width: 100%;
    padding: 40px 0;
}

.image-navigation {
    margin: 0 auto;
    max-width: 1040px;
    position: relative;
}

.image-navigation a:hover {
    text-decoration: none;
}

.image-navigation .nav-previous,
.image-navigation .nav-next {
    position: absolute;
    top: 50px;
}

.image-navigation .nav-previous {
    left: 0;
}

.image-navigation .nav-next {
    right: 0;
}

.image-navigation .meta-nav {
    font-size: 32px;
    font-weight: 300;
    vertical-align: -4px;
}

.attachment .entry-attachment,
.attachment .type-attachment p {
    margin: 0 auto;
    max-width: 724px;
    text-align: center;
}

.attachment .entry-attachment .attachment {
    display: inline-block;
}

.attachment .entry-caption {
    text-align: left;
}

.attachment .entry-description {
    margin: 20px auto 0;
    max-width: 604px;
}

.attachment .entry-caption p:last-child,
.attachment .entry-description p:last-child {
    margin: 0;
}

.attachment .site-main .sidebar-container {
    display: none;
}

.attachment .entry-content .mejs-audio {
    max-width: 400px;
    margin: 0 auto;
}

.attachment .entry-content .wp-video {
    margin: 0 auto;
}

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


/**
 * 5.7 Post/Paging Navigation
 * ----------------------------------------------------------------------------
 */

.navigation .nav-previous {
    float: left;
}

.navigation .nav-next {
    float: right;
}

.navigation a {
    color: #bc360a;
}

.navigation a:hover {
    color: #ea9629;
    text-decoration: none;
}

.paging-navigation {
    background-color: #e8e5ce;
    padding: 40px 0;
}

.paging-navigation .nav-links {
    margin: 0 auto;
    max-width: 604px;
    width: 100%;
}

.sidebar .paging-navigation .nav-links {
    max-width: 1040px;
    padding: 0 376px 0 60px;
}

.paging-navigation .nav-next {
    padding: 13px 0;
}

.paging-navigation a {
    font-size: 22px;
    font-style: italic;
    font-weight: 300;
}

.paging-navigation .meta-nav {
    background-color: #e63f2a;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 26px;
    padding: 3px 0 8px;
    text-align: center;
    width: 50px;
}

.paging-navigation .nav-previous .meta-nav {
    margin-right: 10px;
    padding: 17px 0 23px;
    width: 80px;
}

.paging-navigation .nav-next .meta-nav {
    margin-left: 10px;
}

.paging-navigation a:hover .meta-nav {
    background-color: #ea9629;
    text-decoration: none;
}

.post-navigation {
    background-color: #fff;
    color: #ca3c08;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    padding: 20px 0;
}

.post-navigation .nav-links {
    margin: 0 auto;
    max-width: 1040px;
}

.sidebar .post-navigation .nav-links {
    padding: 0 376px 0 60px;
}

.post-navigation a[rel="next"] {
    float: right;
    text-align: right;
}


/**
 * 5.8 Author Bio
 * ----------------------------------------------------------------------------
 */

.author-info {
    margin: 0 auto;
    max-width: 604px;
    padding: 30px 0 10px;
    text-align: left;
    /* gallery & video post formats */
    width: 100%;
}

.author.sidebar .author-info {
    max-width: 1040px;
    padding: 30px 376px 10px 60px;
}

.single .author-info {
    padding: 50px 0 0;
}

.author-avatar .avatar {
    float: left;
    margin: 0 30px 30px 0;
}

.single-format-status .author-description {
    color: #f7f5e7;
}

.author-description .author-title {
    clear: none;
    font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 0 8px;
}

.author-link {
    color: #ca3c08;
    margin-left: 2px;
}

.author.archive .author-link {
    display: none;
}


/**
 * 5.9 Archives
 * ----------------------------------------------------------------------------
 */

.archive-header {
    background-color: #e8e5ce;
}

.archive-title,
.archive-meta {
    font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 auto;
    max-width: 1040px;
    padding: 30px 0;
    width: 100%;
}

.archive-meta {
    font-size: 16px;
    font-style: normal;
    font-weight: normal;
    margin-top: -15px;
    padding: 0 0 11px;
}

.sidebar .archive-meta {
    padding-right: 316px;
}


/**
 * 5.10 Search Results/No posts
 * ----------------------------------------------------------------------------
 */

.page-header {
    background-color: #e8e5ce;
}

.page-title {
    font: 300 italic 30px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 auto;
    max-width: 1040px;
    padding: 30px 0;
    width: 100%;
}

.page-content {
    margin: 0 auto;
    max-width: 604px;
    padding: 40px 0;
    width: 100%;
}

.sidebar .page-content {
    margin: 0 auto;
    max-width: 1040px;
    padding: 40px 376px 40px 60px;
}


/**
 * 5.11 404
 * ----------------------------------------------------------------------------
 */

.error404 .page-header {
    background-color: #fff;
}

.error404 .page-title {
    line-height: 0.6;
    margin: 0;
    padding: 300px;
    position: relative;
    text-align: center;
    width: auto;
}

.error404 .page-title:before {
    color: #e8e5ce;
    content: "\f423";
    font-size: 964px;
    line-height: 0.6;
    overflow: hidden;
    position: absolute;
    left: 7px;
    top: 28px;
}

.error404 .page-wrapper {
    background-color: #e8e5ce;
}

.error404 .page-header,
.error404 .page-content {
    margin: 0 auto;
    max-width: 1040px;
    padding-bottom: 40px;
    width: 100%;
}


/**
 * 5.12 Comments
 * ----------------------------------------------------------------------------
 */

.comments-title,
.comment-list,
.comment-reply-title,
.must-log-in,
.comment-respond .comment-form,
.comment-respond iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 604px;
    width: 100%;
}

.sidebar .comments-title,
.sidebar .comment-list,
.sidebar .must-log-in,
.sidebar .comment-reply-title,
.sidebar .comment-navigation,
.sidebar .comment-respond .comment-form {
    max-width: 1040px;
    padding-left: 60px;
    padding-right: 376px;
}

.comments-title {
    font: 300 italic 28px "Source Sans Pro", Helvetica, sans-serif;
}

.comment-list,
.comment-list .children {
    list-style-type: none;
    padding: 0;
}

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

.comment-list>li:after,
.comment-list .children>li:before {
    background: url(../twentythirteen/images/dotted-line.png) repeat left top;
    background-size: 4px 4px;
    content: "";
    display: block;
    height: 1px;
    width: 100%;
}

.comment-list>li:last-child:after {
    display: none;
}

.comment-body {
    padding: 24px 0;
    position: relative;
}

.comment-author {
    float: left;
    max-width: 74px;
}

.comment-author .avatar {
    display: block;
    margin-bottom: 10px;
}

.comment-author .fn {
    word-wrap: normal;
    word-break: keep-all;
}

.comment-author .fn,
.comment-author .url,
.comment-reply-link,
.comment-reply-login {
    color: #bc360a;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
}

.says {
    display: none;
}

.no-avatars .comment-author {
    margin: 0 0 5px;
    max-width: 100%;
    position: relative;
}

.no-avatars .comment-metadata,
.no-avatars .comment-content,
.no-avatars .comment-list .reply {
    width: 100%;
}

.bypostauthor>.comment-body .fn:before {
    content: "\f408";
    vertical-align: text-top;
}

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

.comment-metadata,
.comment-awaiting-moderation,
.comment-content,
.comment-list .reply {
    float: right;
    width: 79%;
    width: -webkit-calc(100% - 124px);
    width: calc(100% - 124px);
    word-wrap: normal;
    word-break: keep-all;
}

.comment-meta,
.comment-meta a {
    color: #a2a2a2;
    font-size: 13px;
}

.comment-meta a:hover {
    color: #ea9629;
}

.comment-metadata {
    margin-bottom: 20px;
}

.ping-meta {
    color: #a2a2a2;
    font-size: 13px;
    line-height: 2;
}

.comment-awaiting-moderation {
    color: #a2a2a2;
}

.comment-awaiting-moderation:before {
    content: "\f414";
    margin-right: 5px;
    position: relative;
    top: -2px;
}

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


/* Comment form */

.comment-respond {
    background-color: #f7f5e7;
    padding: 30px 0;
}

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

.comment-reply-title {
    font: 300 italic 28px "Source Sans Pro", Helvetica, sans-serif;
}

.comment-reply-title small a {
    color: #131310;
    display: inline-block;
    float: right;
    height: 16px;
    overflow: hidden;
    width: 16px;
}

.comment-reply-title small a:hover {
    color: #ed331c;
    text-decoration: none;
}

.comment-reply-title small a:before {
    content: "\f406";
    vertical-align: top;
}

.sidebar .comment-list .comment-reply-title,
.sidebar .comment-list .comment-respond .comment-form {
    padding: 0;
}

.comment-form .comment-notes {
    margin-bottom: 15px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    margin-bottom: 8px;
}

.comment-form [for="author"],
.comment-form [for="email"],
.comment-form [for="url"],
.comment-form [for="comment"] {
    float: left;
    padding: 5px 0;
    width: 120px;
}

.comment-form .required {
    color: #ed331c;
}

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

.comment-form textarea {
    width: 100%;
}

.form-allowed-tags,
.form-allowed-tags code {
    color: #686758;
    font-size: 12px;
}

.form-allowed-tags code {
    font-size: 10px;
    margin-left: 3px;
}

.comment-list .pingback,
.comment-list .trackback {
    padding-top: 24px;
}

.comment-navigation {
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    margin: 0 auto;
    max-width: 604px;
    padding: 20px 0 30px;
    width: 100%;
}

.no-comments {
    background-color: #f7f5e7;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    margin: 0;
    padding: 40px 0;
    text-align: center;
}

.sidebar .no-comments {
    padding-left: 60px;
    padding-right: 376px;
}


/**
 * 5.13 Multisite
 * ----------------------------------------------------------------------------
 */

.site-main .mu_register {
    margin: 0 auto;
    max-width: 604px;
    width: 100%;
}

.mu_alert {
    margin-top: 25px;
}

.site-main .mu_register input[type="submit"],
.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: 270px;
}

.site-main .mu_register input[type="submit"] {
    width: auto;
}


/**
 * 6.0 Sidebar
 * ----------------------------------------------------------------------------
 */

.site-main .widget-area {
    /* float: left; */
    width: 300px;
}


/**
 * 6.1 Widgets
 * ----------------------------------------------------------------------------
 */

.widget {
    background-color: rgba(247, 245, 231, 0.7);
    font-size: 14px;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin: 0 0 24px;
    padding: 20px;
    word-wrap: normal;
    word-break: keep-all;
}

.widget .widget-title {
    font: 300 italic 20px "Source Sans Pro", Helvetica, sans-serif;
    margin: 0 0 10px;
}

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

.widget li {
    padding: 5px 0;
}

.widget .children li:last-child {
    padding-bottom: 0;
}

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

.widget a {
    color: #bc360a;
}

.widget a:hover {
    color: #ea9629;
}


/* Search widget */

.search-form .search-submit {
    display: none;
}


/* RSS Widget */

.widget_rss .rss-date {
    display: block;
}

.widget_rss .rss-date,
.widget_rss li>cite {
    color: #a2a2a2;
}


/* Calendar Widget */

.widget_calendar table,
.widget_calendar td {
    border: 0;
    border-collapse: separate;
    border-spacing: 1px;
}

.widget_calendar caption {
    font-size: 14px;
    margin: 0;
}

.widget_calendar th,
.widget_calendar td {
    padding: 0;
    text-align: center;
}

.widget_calendar a {
    display: block;
}

.widget_calendar a:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.widget_calendar tbody td {
    background-color: rgba(255, 255, 255, 0.5);
}

.site-footer .widget_calendar tbody td {
    background-color: rgba(255, 255, 255, 0.05);
}

.widget_calendar tbody .pad,
.site-footer .widget_calendar tbody .pad {
    background-color: transparent;
}


/**
 * 7.0 Footer
 * ----------------------------------------------------------------------------
 */

.site-footer {
    background-color: #000000;
    color: #686758;
    font-size: 12px;
    text-align: center;
}

.site-footer .widget-area,
.sidebar .site-footer {
    text-align: left;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #e8a729;
}

.site-footer .sidebar-container {
    background-color: #3F4040;
    padding: 20px 0;
}

.site-footer .widget-area {
    margin: 0 auto;
    max-width: 1040px;
    width: 100%;
}

.sidebar .site-footer .widget-area {
    max-width: 724px;
    position: relative;
    left: -158px;
}

.site-footer .widget {
    background: transparent;
    color: #fff;
    float: left;
    margin-right: 20px;
    width: 245px;
}

.sidebar .site-footer .widget {
    width: 228px;
}

.sidebar .site-footer .widget:nth-of-type(4),
.sidebar .site-footer .widget:nth-of-type(3) {
    margin-right: 0;
}

.site-footer .widget a {
    color: white;
}

.site-footer .widget-title,
.site-footer .widget-title a,
.site-footer .wp-caption-text {
    color: #fff;
}

.site-info {
    margin: 0 auto;
    max-width: 1040px;
    padding: 30px 0;
    width: 100%;
}

#wpstats {
    display: block;
    margin: -10px auto 0;
}

body.home {
    background: black;
}


/* PAGINADOR VIDEOS */

#page_navigation {
    display: inline-block;
    width: 100%;
    margin: 30px;
}

#page_navigation a {
    padding: 10px;
}


/* END PAGINADOR VIDEOS */


/**
 * 8.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 (min-width: 1600px) {
    .site-footer .widget-area {
        height: 100px !important;
    }
}

@media (max-width: 1599px) {
    .site {
        border: 0;
    }
    .site-footer .widget-area {
        height: 105px !important;
    }
}

@media (max-width: 1069px) {
    .sidebar img.alignleft,
    .sidebar .wp-caption.alignleft {
        margin-left: 0;
    }
    .sidebar img.alignright,
    .sidebar .wp-caption.alignright {
        margin-right: 0;
    }
    .error404 .page-header {
        margin-left: auto;
        max-width: 604px;
        width: 100%;
    }
    .archive-header,
    .search .page-header,
    .archive .page-header,
    .blog .page-header,
    .error404 .page-content,
    .search .page-content,
    .archive .page-content,
    .attachment .entry-header,
    .attachment .entry-content,
    .post-navigation .nav-links,
    .sidebar .site-info,
    .site-footer .widget-area {
        padding-left: 20px;
        padding-right: 20px;
    }
    .error404 .page-title {
        font-size: 24px;
        padding: 180px;
    }
    .error404 .page-title:before {
        font-size: 554px;
    }
    .attachment .image-navigation {
        max-width: 724px;
    }
    .image-navigation .nav-previous,
    .image-navigation .nav-next {
        position: static;
    }
    .site-main .widget-area {
        margin-right: 60px;
    }
}

@media (max-width: 999px) {
    .sidebar .entry-header,
    .sidebar .entry-content,
    .sidebar .entry-summary,
    .sidebar .entry-meta,
    .sidebar .comment-list,
    .sidebar .comment-reply-title,
    .sidebar .comment-navigation,
    .sidebar .comment-respond .comment-form,
    .sidebar .featured-gallery,
    .sidebar .post-navigation .nav-links,
    .author.sidebar .author-info {
        max-width: 604px;
        padding-left: 0;
        padding-right: 0;
    }
    .site-footer .widget-area {
        height: 150px !important;
    }
    .sidebar .site-info,
    .search.sidebar .page-content,
    .blog.sidebar .page-content,
    .attachment .entry-header,
    .sidebar .comments-title {
        max-width: 604px;
    }
    .sidebar .archive-meta,
    .attachment .entry-header,
    .search.sidebar .page-content,
    .blog.sidebar .page-content,
    .sidebar .site-info,
    .sidebar .comments-title,
    .sidebar .no-comments {
        padding-left: 0;
        padding-right: 0;
    }
    .attachment .entry-meta {
        float: left;
        text-align: left;
        width: 100%;
    }
    .attachment .entry-content {
        max-width: 100%;
        padding: 40px 0;
    }
    .format-status .entry-content {
        padding-top: 40px;
    }
    .format-status .entry-meta {
        padding-bottom: 40px;
    }
    .sidebar .format-status .entry-content,
    .sidebar .format-status .entry-meta {
        padding-left: 35px;
    }
    .sidebar .format-status .entry-content:before,
    .sidebar .format-status .entry-meta:before {
        left: 10px;
    }
    .sidebar .format-status .entry-content p:first-child:before {
        left: 4px;
    }
    .sidebar .paging-navigation .nav-links {
        padding: 0 60px;
    }
    .site-main .sidebar-container {
        height: auto;
        margin: 0 auto;
        max-width: 604px;
        position: relative;
        top: 20px;
    }
    .site-main .widget-area {
        float: none;
        margin: 0;
        width: 100%;
    }
    .sidebar .site-footer .widget-area {
        max-width: 100%;
        left: 0;
    }
    .site-header {
        background: #3F4040 !important;
    }
}


/* Collapse oversized image and pulled images after iPad breakpoint. */

@media (max-width: 767px) {
    .site-footer .widget-area {
        height: auto !important;
    }
    .site-header .home-link {
        min-height: 0;
    }
    .site-title {
        font-size: 36px;
        padding: 8px 0 10px;
    }
    .entry-content img.alignleft,
    .entry-content .wp-caption.alignleft {
        margin-left: 0;
    }
    .entry-content img.alignright,
    .entry-content .wp-caption.alignright {
        margin-right: 0;
    }
    .attachment .image-navigation,
    .attachment .entry-attachment .attachment {
        max-width: 604px;
        padding: 0;
        width: 100%;
    }
    .gallery-caption {
        display: none;
    }
}

@media (max-width: 643px) {
    .site-title {
        font-size: 30px;
    }
    #content .entry-header,
    #content .entry-content,
    #content .entry-summary,
    #content footer.entry-meta,
    #content .featured-gallery,
    .search.sidebar .page-content,
    .blog.sidebar .page-content,
    .sidebar .post-navigation .nav-links,
    .paging-navigation .nav-links,
    #content .author-info,
    .comments-area .comments-title,
    .comments-area .comment-list,
    .comments-area .comment-navigation,
    .comment-respond,
    .sidebar .site-info,
    .sidebar .paging-navigation .nav-links {
        padding-left: 20px;
        padding-right: 20px;
    }
    #content .format-status .entry-content,
    #content .format-status .entry-met {
        padding-left: 35px;
    }
    /* Small menu */
    .menu-toggle {
        cursor: pointer;
        display: inline-block;
        font: bold 16px/1.3 "Source Sans Pro", Helvetica, sans-serif;
        margin: 0;
    }
    .menu-toggle,
    .menu-toggle:hover,
    .menu-toggle:focus,
    .menu-toggle:active {
        background: none;
        border: none;
        /* color: #141412; */
        padding: 12px 0 12px 20px;
        color: white;
        width: 100%;
        text-align: left;
        background-color: grey;
    }
    .menu-toggle:focus {
        outline: thin dotted;
    }
    .menu-toggle:after {
        content: "\f502";
        font-size: 12px;
        padding-left: 8px;
        vertical-align: -4px;
    }
    .toggled-on .menu-toggle:after {
        content: "\f500";
        vertical-align: 2px;
    }
    .toggled-on .nav-menu,
    .toggled-on .nav-menu>ul {
        display: block;
        margin-left: 0;
        padding: 0;
        width: 100%;
    }
    .toggled-on li,
    .toggled-on .children {
        display: block;
    }
    .toggled-on .nav-menu li>ul {
        background-color: transparent;
        display: block;
        float: none;
        margin-left: 20px;
        position: relative;
        left: auto;
        top: auto;
    }
    .toggled-on .nav-menu li>ul a {
        color: #141412;
        width: auto;
    }
    .toggled-on .nav-menu li:hover>a,
    .toggled-on .nav-menu .children a {
        background-color: transparent;
        color: #141412;
    }
    .toggled-on .nav-menu>li a:hover,
    .toggled-on .nav-menu>ul a:hover {
        background-color: #db572f;
        color: #fff;
    }
    .toggled-on .nav-menu>li a:focus,
    .toggled-on .nav-menu>ul a:focus {
        background-color: #220e10;
        color: #fff;
    }
    ul.nav-menu,
    div.nav-menu>ul {
        display: none;
    }
    #content .featured-gallery {
        padding-left: 24px;
    }
    .gallery-columns-1 .gallery-item {
        margin-right: 0;
        width: 100%;
    }
    .entry-title,
    .format-chat .entry-title,
    .format-image .entry-title,
    .format-gallery .entry-title,
    .format-video .entry-title {
        font-size: 22px;
        font-weight: bold;
    }
    .format-quote blockquote,
    .format-status .entry-content {
        font-size: 18px;
    }
    .format-quote blockquote small,
    .format-quote blockquote cite {
        font-size: 13px;
    }
    .error404 .page-title {
        padding: 40px 0 0;
    }
    .error404 .page-title:before {
        content: normal;
    }
    .comment-author {
        margin-right: 30px;
    }
    .comment-author .avatar {
        height: auto;
        max-width: 100%;
    }
    .comment-metadata,
    .comment-content,
    .comment-list .reply {
        width: 70%;
        width: -webkit-calc(100% - 104px);
        width: calc(100% - 104px);
    }
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"] {
        width: -webkit-calc(100% - 120px);
        width: calc(100% - 120px);
    }
    .comment-form textarea {
        height: 80px;
        /* Smaller field for mobile. */
    }
    /* Audio */
    .format-audio .entry-content:before {
        display: none;
    }
    .format-audio .audio-content {
        background-image: none;
        float: none;
        padding-left: 0;
        width: auto;
    }
    .itemGaleria {
        height: auto;
    }
}


/* Mobile devices */

@media (max-width: 359px) {
    .site-title {
        font-weight: normal;
    }
    .site-description {
        clip: rect(1px, 1px, 1px, 1px);
        position: absolute;
    }
    .gallery {
        margin-left: 0;
    }
    .gallery .gallery-item,
    .gallery-columns-2.gallery-size-thumbnail .gallery-item {
        max-width: none;
        width: 49%;
        width: -webkit-calc(50% - 4px);
        width: calc(50% - 4px);
    }
    .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;
    }
    .gallery-columns-1 .gallery-item,
    .gallery-columns-1.gallery-size-medium .gallery-item,
    .gallery-columns-1.gallery-size-thumbnail .gallery-item {
        text-align: center;
        width: 98%;
        width: -webkit-calc(100% - 4px);
        width: calc(100% - 4px);
    }
    .gallery-columns-3 .gallery-item:nth-of-type(3n),
    .gallery-columns-5 .gallery-item:nth-of-type(5n),
    .gallery-columns-7 .gallery-item:nth-of-type(7n),
    .gallery-columns-9 .gallery-item:nth-of-type(9n) {
        margin-right: 4px;
    }
    .gallery br {
        display: none;
    }
    .gallery .gallery-item:nth-of-type(even) {
        margin-right: 0;
    }
    /* Comments */
    .comment-author {
        margin: 0 0 5px;
        max-width: 100%;
    }
    .comment-author .avatar {
        display: inline;
        margin: 0 5px 0 0;
        max-width: 20px;
    }
    .comment-metadata,
    .comment-content,
    .comment-list .reply {
        width: 100%;
    }
}


/**
 * 9.0 Print
 * ----------------------------------------------------------------------------
 */


/* Retina-specific styles. */

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    .site-header .search-field {
        background-image: url(../twentythirteen/images/search-icon-2x.png);
    }
    .format-audio .audio-content,
    .format-status .entry-content:before,
    .format-status .entry-meta:before,
    .comment-list>li:after,
    .comment-list .children>li:before {
        background-image: url(../twentythirteen/images/dotted-line-2x.png);
    }
}

@media print {
    body {
        background: none !important;
        color: #000;
        font-size: 10pt;
    }
    footer a[rel="bookmark"]:link:after,
    footer a[rel="bookmark"]:visited:after {
        content: " [" attr(href) "] ";
        /* Show URLs */
    }
    .site {
        max-width: 98%;
    }
    .site-header {
        background-image: none !important;
    }
    .site-header .home-link {
        max-width: none;
        min-height: 0;
    }
    .site-title {
        color: #000;
        font-size: 21pt;
    }
    .site-description {
        font-size: 10pt;
    }
    .author-avatar,
    .site-footer,
    .comment-respond,
    .comments-area .comment-edit-link,
    .comments-area .reply,
    .comments-link,
    .entry-meta .edit-link,
    .page-links,
    .site-content nav,
    .widget-area,
    .main-navigation,
    .navbar,
    .more-link {
        display: none;
    }
    .entry-header,
    .entry-content,
    .entry-summary,
    .entry-meta {
        margin: 0;
        width: 100%;
    }
    .page-title,
    .entry-title {
        font-size: 21pt;
    }
    .entry-meta,
    .entry-meta a {
        color: #444;
        font-size: 10pt;
    }
    .entry-content img.alignleft,
    .entry-content .wp-caption.alignleft {
        margin-left: 0;
    }
    .entry-content img.alignright,
    .entry-content .wp-caption.alignright {
        margin-right: 0;
    }
    .format-image .entry-content .size-full {
        margin: 0;
    }
    /* Remove colors from post formats */
    .hentry {
        background-color: #fff;
    }
    /* Comments */
    .comments-area>li.comment {
        background: none;
        position: relative;
        width: auto;
    }
    .comment-metadata {
        float: none;
    }
    .comment-author .fn,
    .comment-reply-link,
    .comment-reply-login {
        color: #333;
    }
}


/*/// CANVIAR AL CSS DEL TEMA  /////////////////////////////////////////////////////////////*/

.site-header-mobil {
    display: none;
}

.site-header-mobil .navbar {
    /* background-color: #808080; */
}

.site-header-mobil .container-logo-mobil {
    display: inline-block;
    width: 100%;
    height: auto;
    background: url(/wp-content/uploads/2016/10/fonsmovil.jpg) no-repeat center;
    background-size: cover;
}

.site-header-mobil .logo-mobil {
    margin-top:-5%!important;
	background: url(https://ojc.cat/wp-content/uploads/2023/06/logoojc.jpg) no-repeat top black;
    width: 209px;
    background-size: cover;
    height: 187px;
    display: block;
    margin: 0 auto;
}

.site-header-pc {
    background: #3F4040 !important;
}

.site-header .fondo-menu {
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
    height: 40px;
    background: #3f4040;
}

.site-header-pc .caixaXarxesSocials {
    position: absolute;
    right: 200px;
}

.site-header-pc .caixaXarxesSocials img {
    max-width: 30px;
}

.site-header-pc .esquerra {
    display: inline-block;
    width: 20%;
    height: 200px;
    vertical-align: top;
    position: relative;
}

.site-header-pc .esquerra .nou-logo {
	background: url(https://ojc.cat/wp-content/uploads/2023/06/logoojc.jpg) no-repeat top black;
    /**/
    width: 200px;
    height: 240px;
    position: absolute;
	background-size: cover;
    right: 0;
    z-index: 9999;
}

.site-header-pc .dreta {
    display: inline-block;
    width: 80%;
    height: 200px;
    vertical-align: top;
    float: right;
    background-image: url(https://ojc.cat/wp-content/uploads/2021/03/fondo.jpg);
    background-position: bottom left;
    background-size: cover;
    background-repeat: no-repeat;
}

.site-header-pc .dreta .menu-prova {
    position: relative;
    top: 65px;
}

.site-header-pc .dreta .menu-prova .navbar {
    background-color: #3F4040;
    width: auto;
    top: 0;
}

.site-header-pc #navbar .main-navigation {
    margin-left: 30px !important;
}

.more-link {
    display: inline-block;
    width: 100%;
    color: #b0b0b0 !important;
}

.site-header {
    background-color: #3F4040;
    background: url(/wp-content/uploads/2016/10/OJC15anys.jpg) no-repeat bottom;
    background-size: cover;
    /* height: 200px; */
}

.site-header .home-link {
    display: inline-block;
    max-width: 200px;
    margin-left: 50px;
    padding: 0;
}

.site-main {
    width: 1090px;
    margin: 0 auto;
}

#fondo-menu {
    background-color: #3F4040;
    width: 100%;
    height: 53px;
    position: absolute;
    top: 199px;
    z-index: 5;
}

.navbar {
    background-color: #3F4040;
    width: 1060px;
    position: relative;
    top: 53px;
    z-index: 99999999;
}

#navbar .main-navigation {
    clear: none;
    /* max-width: 75%; */
    /* float: left; */
    min-height: 45px;
    position: relative;
    margin-top: 122px;
    margin-left: 220px;
}

.nav-menu li a {
    color: white;
    padding: 15px 0px 20px 20px;
}


/*
.nav-menu li a::after {
	content: "|";
	color:#999999 !important;
	margin-left: 20px;
}
*/

#navbar .logo {
    background: url(/wp-content/uploads/2014/10/logo_ojc.jpg) no-repeat top black;
    width: 209px;
    background-size: cover;
    height: 254px;
    top: -201px;
    position: absolute !important;
    float: left;
    /* position: relative; */
    left: -8px;
    z-index: 19;
}

.caixaXarxesSocialsFooter {
    display: none;
}

#navbar .caixaXarxesSocials {
    position: relative !important;
    right: 20px;
    top: -199px;
    float: right;
}

#navbar .caixaXarxesSocials img {
    max-width: 30px;
}

.nav-menu .current_page_item>a,
.nav-menu .current_page_ancestor>a,
.nav-menu .current-menu-item>a,
.nav-menu .current-menu-ancestor>a {
    color: rgb(220, 149, 41);
    font-style: normal;
}

.nav-menu li:hover>a,
.nav-menu li a:hover,
.nav-menu li:focus>a,
.nav-menu li a:focus {
    background-color: transparent;
    color: white;
}

.sub-menu li {
    border-top: 1px solid transparent;
}

.sub-menu li a {
    background-color: #3F4040;
    padding: 4px 0 5px 0;
    line-height: 24px;
    font-size: 20px;
    text-align: left;
    padding-left: 20px;
}


/* MAIN PAGINES */

.hentry {
    padding: 0;
}


/* END MAIN PAGINES */

footer #text-2 {
    position: relative !important;
    left: 0px !important;
    top: 0px !important;
    width: 25% !important;
    float: left !important;
    margin: 0 !important;
    padding-left: 0px;
    padding-right: 0px;
}

footer #text-3 {
    position: relative !important;
    left: 0 !important;
    ;
    top: 0px !important;
    width: 50% !important;
    margin: 0 !important;
    text-align: right !important;
    padding-left: 0px;
    padding-right: 0px;
}

footer #text-3 .textwidget img {
    margin: 3px;
}

footer #text-17 {
    position: relative !important;
    left: 0 !important;
    ;
    top: 0px !important;
    width: 25% !important;
    margin: 0 !important;
    text-align: right !important;
    padding-left: 0px;
    padding-right: 0px;
}

.search-form {
    display: none;
}

.txtAmbLiniaEsq {
    border-left: 1px solid #B3B3B3;
    padding-left: 25px;
    display: inline-block;
}

article ul {
    list-style: none;
}

article ul li:before {
    content: "\2022";
    padding-right: 0.5em;
}

article ul li:before {
    color: #DC9529;
}


/* SIDEBAR */

.site-main .widget-area {
    /* margin-top:100px; */
    width: 200px;
}

.sidebar-inner .widget {
    background: transparent;
    /* border-left: 1px solid grey; */
    /* border-right: 1px solid grey; */
}

.sidebar-inner .widget .textwidget {
    font-family: economica, sans-serif;
    font-size: 20px;
}

.sidebar-inner .widget .textwidget a {
    color: #3F4040;
    width: 100%;
    display: inline-block;
    text-decoration: none;
    padding: 3px 0px;
}

.sidebar-inner .widget .textwidget a:hover {
    color: #DC9529;
}

.sidebar .entry-content {
    max-width: 950px;
    margin-left: 20px;
}

body * {
    color: #000000;
}

.site-main .sidebar-container {
    width: 200px;
    margin-top: 45px;
    /* margin-left: 5%; */
}


/* MULTIMEDIA YOUTUBE GALERY */


/*.youtube_gallery { text-align:left; }*/

.youtube_gallery_item img {
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    -pie-box-shadow: 0px 0px 8px 2px #C9C9CA;
    -moz-box-shadow: 0px 0px 8px 2px rgba(147, 148, 149, 0.5);
    -webkit-box-shadow: 0px 0px 8px 2px rgba(147, 148, 149, 0.5);
    box-shadow: 0px 0px 8px 2px rgba(147, 148, 149, 0.5);
}

.youtube_gallery_item img:hover {
    opacity: 0.7;
}

.youtube_gallery_item .ytsg_play {
    width: 34px !important;
    height: auto !important;
    left: 83px !important;
    top: 39px !important;
}


/* FOTOS  */

.ngg-gallery-thumbnail img {
    border: 0px !important;
}

.ngg-album-gallery-image-counter {
    display: none;
}

.ngg-album-compactbox {
    padding: 0 !important;
    border: 0px;
}

.columnaEsq {
    width: 50%;
    float: left;
}

.columnaDreta {
    width: 50%;
    float: right;
}

#fancybox-title {
    display: none !important;
}


/*  END FOTOS */


/* POSTS */

.miniPost {
    display: inline-block;
    padding-bottom: 20px;
}


/* .miniPost .separadorPremsa { display:none; } */


/* PAGINA PREMSA */


/* .post-193 .miniPost .titolEntrada { color: #bd597d; font-weight: bold;  } */

.post-193 .miniPost .contingut * {
    margin: 0;
}

.post-193 .miniPost .titolEntrada {
    line-height: 25px;
    margin-bottom: 15px;
}


/* .post-193 .miniPost .contingut .separador { display:none; } */

.miniPost .separadorPremsa {
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #d7d5c9;
}

.post-193 .miniPost img {
    max-width: 220px;
}


/* END PAGINA PREMSA */

.miniPost .titolEntrada {
    font-family: league-gothic, sans-serif !important;
    font-size: 30px;
    font-weight: 400;
    text-align: justify;
    display: inline-block;
}

.miniPost img {
    display: inline-block;
    float: left;
    margin-right: 10px;
    max-width: 220px;
}

.miniPost .contingut {
    display: inline-block;
    float: left;
    width: 430px;
}


/*
.miniPost .contingut .separador { 
	display: inline-block;
	width: 210px;
	height: 1px;
	border-bottom: 1px solid rgb(166, 163, 163);
}
*/

.miniPost p {
    margin: 0;
}

.post .entry-meta {
    display: none;
}

.post .entry-title {
    font-family: league-gothic, sans-serif !important;
    font-size: 30px;
    font-weight: 400;
    text-align: justify;
    display: inline-block;
    color: #bc360a;
}

.really_simple_share {
    border-top: 1px solid rgb(220, 211, 211);
    padding-top: 10px !important;
}


/* END POSTS */


/* FONTS */

.menu-item a {
    font-family: economica, sans-serif;
}

#main #content * {
    /* font-family: antic-didone, sans-serif; */
    font-family: Optima, sans-serif;
}

.sidebar-inner * {
    font-family: economica, sans-serif;
}

.widget .widget-title {
    display: none;
}

.page-id-1157 .entry-content,
.page-id-14 .entry-content,
.page-id-198 .entry-content {
    max-width: 100% !important;
    margin-left: 0;
}

.page-id-8 #tertiary {
    display: none;
}

.page-id-12 #tertiary {
    display: none;
}

.page-id-297 .entry-content,
.page-id-314 .entry-content,
.page-id-316 .entry-content {
    max-width: 100% !important;
}

input[type="submit"] {
    background: #3f4040;
}

input[type="submit"]:hover {
    background: #DC9529;
}

.site-footer .widget-area {
    left: 0 !important;
    max-width: 1024px !important;
}

.caixaBlancaMobil {
    display: none;
}

.wpcf7-form-control {
    height: 30px;
    width: 500px;
}

input[type="submit"] {
    height: auto;
    width: auto;
}

.upCase {
    text-transform: uppercase;
}

.wpcf7-form p {
    margin-bottom: 0;
    margin-top: 15px;
}


/* VIDEOS */

.entry-header {
    max-width: 1060px;
    padding: 0 0 0 200px;
}

.itemGaleria {
    display: inline-block;
    width: 180px;
    height: 176px;
    float: left;
    margin: 0 10px 0 10px;
}

#fancybox-content {
    border-width: 0px !important;
}

#galeriaDeVideos {
    display: inline-block;
}

.itemGaleria .ytsg_play {
    width: 30px;
    position: relative;
    top: 71px;
    left: 73px;
}

.itemGaleria .titol_item {
    text-align: center;
    background-color: black;
    color: white;
    font-size: 15px;
    height: 43px;
    display: table;
    width: 100%;
}

.itemGaleria .titol_item .txtTitol {
    color: white;
    display: table-cell;
    vertical-align: middle;
    padding: 0px 10px 0 10px;
}

.itemGaleria .imgFons {
    width: 100%;
    height: auto;
    max-height: 101px;
}

#fancybox-right,
#fancybox-left {
    bottom: 147px !important;
    height: 20% !important;
    width: 58px !important;
}


/* END VIDEOS */

@media (max-width: 1024px) {
    .navbar,
    .site-main {
        width: 100%;
    }
    .sidebar .entry-content {
        margin-left: 0px;
    }
    #tertiary {
        display: none;
    }
}

@media (max-width: 999px) {
    .caixaXarxesSocials img {
        padding-bottom: 5px;
    }
    .site-header-mobil {
        display: initial;
    }
    .site-header-pc {
        display: none;
    }
    .site-main {
        padding-top: 0;
    }
    #fondo-menu {
        display: none !important;
    }
    #navbar .caixaXarxesSocials {
        position: absolute !important;
        width: 42px;
        right: 5%;
        top: 10%;
        text-align: center;
    }
    .caixaXarxesSocialsFooter {
        display: block;
        background: #3f4040;
        text-align: center;
    }
    .caixaXarxesSocialsFooter a {
        margin: 0 3px 0 3px;
    }
    .caixaXarxesSocialsFooter img {
        max-width: 40px;
    }
    #navbar {
        height: 270px;
        top: -24px;
        background-size: initial;
    }
    #navbar .logo {
        width: 100%;
        background-size: contain;
        margin-left: 0;
        position: relative !important;
        top: 0;
        left: 0;
    }
    #navbar .main-navigation {
        max-width: 100%;
        /* float: left; none; */
        margin: 0;
        position: relative;
        top: -6px;
        background: #3F4040;
    }
    #navbar .main-navigation .nav-menu {
        padding: 0;
    }
    .site-main .sidebar-container {
        margin-left: auto;
    }
}

@media (max-width: 700px) {
    footer #text-3 {
        width: 100% !important;
        text-align: center !important;
    }
    footer #text-2 {
        width: 100% !important;
        text-align: center !important;
    }
    footer #text-17 {
        width: 100% !important;
        text-align: center !important;
    }
    #tertiary {
        display: none;
    }
    #navbar .caixaXarxesSocials {
        display: none;
    }
}

@media (max-width: 643px) and (min-width: 500px) {
    div.ls-slide,
    .ls-wp-fullwidth-container {
        /* height: 250px !important; */
    }
    .caixaBlanca {
        display: none;
    }
    .caixaBlancaMobil {
        display: block;
        top: 60% !important;
    }
    .ls-slide>.subTitol {
        top: 80% !important;
        font-size: 20px !important;
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
    }
    .ls-slide>.titol {
        top: 65% !important;
        font-size: 35px !important;
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
        line-height: 20px !important;
    }
    #tertiary {
        display: none;
    }
}

@media (max-width: 500px) and (min-width: 359px) {
    div.ls-slide,
    .ls-wp-fullwidth-container {
        height: 250px !important;
    }
    .caixaBlanca {
        display: none;
    }
    .caixaBlancaMobil {
        display: block;
        top: 60% !important;
    }
    .ls-slide>.titol {
        top: 65% !important;
        font-size: 30px !important;
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
    }
    .ls-slide>.subTitol {
        top: 77% !important;
        font-size: 25px !important;
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
        line-height: 20px !important;
    }
    #tertiary {
        display: none;
    }
}

@media (max-width: 643px) {
    div.ls-slide,
    .ls-wp-fullwidth-container {
        /* height: 250px !important;*/
    }
    .caixaBlancaMobil {
        display: block;
        top: 60% !important;
    }
    .caixaBlanca {
        display: none;
    }
    .textPagines {
        font-size: 16px !important;
    }
    .textPagines * {
        font-size: 16px !important;
    }
    .youtube_gallery {
        margin: 1px 20%;
    }
    .ngg-albumoverview {
        margin: 4px 6%;
    }
    .ngg-gallery-thumbnail-box {
        margin: 1px 2%;
    }
    #youtube_gallery_1 .youtube_gallery_caption {
        width: 180px !important;
    }
    #youtube_gallery_1 .youtube_gallery_item {
        width: 300px !important;
    }
    .site-header {
        /* height:auto; */
    }
    .site-header .home-link {
        display: block;
    }
    #tertiary {
        display: none;
    }
    #navbar {
        top: 0;
    }
    #navbar .caixaXarxesSocials {
        position: absolute !important;
        width: 42px;
        right: 5%;
        top: 10%;
        text-align: center;
    }
    #navbar .logo {
        top: 0;
        /* margin: 10px 0px 0px 0px; */
        margin: 0;
    }
    .nav-menu li a {
        padding: 10px 0px 10px 20px;
    }
    .sub-menu li a {
        text-align: left !important;
        padding: 8px 0px 8px 15px !important;
        color: white !important;
    }
    .sub-menu li a::before {
        content: "> ";
    }
    .toggled-on .nav-menu>li a:hover {
        color: white !important;
        background: #DC9529;
    }
    #content .entry-header {
        padding: 0;
    }
    .miniPost {
        width: 100%;
    }
    .miniPost .contingut {
        width: 100%;
    }
    .miniPost img {
        margin: 0 auto;
        display: block;
        float: none;
    }
    .miniPost .titolEntrada {
        text-align: center;
        width: 100%;
    }
    .miniPost .contingut .separador {
        margin: 25px auto 20px auto;
        display: block;
    }
    .itemGaleria {
        width: 90% !important;
        height: auto;
    }
    .itemGaleria .imgFons {
        max-height: none;
    }
    .itemGaleria .ytsg_play {
        width: 40px;
        top: 101px;
        left: 47%;
    }
}

@media (max-width: 359px) {
    .caixaBlancaMobil {
        display: block;
        top: 60% !important;
    }
    .caixaBlanca {
        display: none;
    }
    div.ls-slide,
    .ls-wp-fullwidth-container {
        height: 250px !important;
    }
    .ls-slide>.titol {
        top: 65% !important;
        font-size: 25px !important;
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
    }
    .ls-slide>.subTitol {
        top: 74% !important;
        font-size: 20px !important;
        width: 100% !important;
        left: 0 !important;
        text-align: center !important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
    html {
        width: auto !important;
        min-width: none !important;
        overflow-y: auto !important;
    }
    body {
        /*border:2px solid red;*/
        width: 100% !important;
    }
}

.miniPost.catid-17 {
    padding: 40px 20px 0px 20px;
    margin-top: -10px;
    margin-bottom: 30px;
    background-color: #DDDDDD;
    border-radius: 15px;
}


/*/// END - CANVIAR AL CSS DEL TEMA  /////////////////////////////////////////////////////////////*/

#fancybox-wrap {
    z-index: 999999999999 !important;
}

.ocult {
    display: none !important;
}

.submenu2 {
    display: none !important;
}

@media (max-width: 643px) {
    .submenu2 {
        display: block !Important;
    }
}

body {
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    -webkit-word-wrap: normal !important;
    -moz-word-wrap: normal !important;
    -ms-word-wrap: normal !important;
    word-wrap: normal !important;
}

.single-post h1.entry-title {
    font-size: 60px;
}

.btn_carregar_mes {
    margin-bottom: 20px;
}