/*
 Theme Name:   Fanwood Child
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  fanwood Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     fanwood
 Version:      1.0.0
 Tags:         tags
 Text Domain:  fanwood
*/

@import url("../fanwood/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */


@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  src: local('Abel'), local('Abel-Regular'), url(/wp-content/themes/fanwood-child/fonts/abel.woff) format('woff');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(/wp-content/themes/fanwood-child/fonts/lato.woff) format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: local('Lato Black'), local('Lato-Black'), url(/wp-content/themes/fanwood-child/fonts/latobold.woff) format('woff');
}

a {
  color: initial;
}

#container {
  background: none;
  background-color: transparent;
  width: 1024px;
  background-size:100%;
  /* position: relative;
  z-index:3; */
  color:#333;
}
#container .container-wrap {
  background-image: none;
}

#main {
  border-top: 3px solid #fff;
  background-color: #fff;
  -moz-box-shadow: -2px -3px 20px #666;
  -webkit-box-shadow: -2px -3px 20px #666;
  box-shadow: -2px -3px 20px #666;
  margin-bottom: 50px;
}
body.home #main {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.entry-title {
  padding: 9px 40px 7px;
}

body:not(.home) .entry-content img, body:not(.home) .entry-content img.size-large {
  max-width: 9999px;
  max-width: 100%;
  height:initial;
}

div.su-spoiler-closed .su-spoiler-title {
  font-weight: normal !important;
}

div.su-spoiler:not(.su-spoiler-closed) .su-spoiler-title {
  font-weight: bold !important;
}

#content table {
  width:100% !important;
}
table, table tr td {
  border:none;
  padding: 7px 10px;
}

table tr:nth-child(2n) {
  background-color:#ebebeb;
}
table tr:first-child {
  background-color:#666;
  color:#fff;
}
table tr:first-child a {
  color:#ddd;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  color:#555;
}

ol, ul, .layout-1c ul {
  list-style: none;
  margin: 12px 0 12px 10px;
}
ul li {
  background: url(../fanwood/images/square.png) 0 8px no-repeat;
  padding: 0 0 0 12px;
  line-height: 18px;
}


.loop-entries li .featured-image-link .thumbnail {
  max-width: 150px;
}

.loop-entries li .featured-image-link,
.layout-1c .loop-entries li .featured-image-link {
  width: 173px;
}


p {
  padding: 5px 0;
}

#main .wrap {
  position: relative;
}

.breadcrumb {
  background: transparent;
  width: 100%;
  border-bottom: none;
  background-color: #eeeeee;
  color: #000;
}

#content {
  width: 810px;
  min-height:500px;
}

#content table {
  height: initial!important;
}

body.home div#content { width:100%; }
body.home div#sidebar-primary {display:none;}
body.home div.entry-content {padding:0; }
body.home .breadcrumb { display:none;}
body.home #main {border-top: 0px solid #fff; }
body.home #footer {visibility:hidden}

body.search h2.entry-title {
  display: inline;
}
.cat-post-search {
  margin-left:10px;
  font-family: 'Abel', sans-serif;
  font-size: 25px;
  text-transform:capitalize;
}
.cat-post-search:after,
.cat-post-search:before {
  content: ' · ';
}

#header {
  background: none;
  min-height: 87px;
}

body.taxonomy-noticiestx #header,
body.taxonomy-firaigualadatxf #header,
body.singular-noticia #header,
body.singular-firaigualada #header,
body.home #header,
body.search #header {
  background: none;
  min-height: 50px;
}

body.singular-firaigualada #sidebar-primary,
body.taxonomy-firaigualadatxf #sidebar-primary,
body.search #sidebar-primary {
  margin-top: -232px;
}

body.home #container {
  width: 100%;
}

#site-title a {
  color: #fff;
}

.entry-meta {
  border-bottom: 0px solid #2c2c2c;
  padding:0px;
}

.entry-title, .byline, .entry-content, .entry-author, .entry-meta {
  border-bottom: 0px solid #2c2c2c;
}

.loop-entries li h2.entry-title  a {
  font-family:'Abel', sans-serif;
  font-size:25px;
}

h1.entry-title  a {
  font-family: 'Lato', sans-serif;
}

.byline a, .entry-meta a { color: #555; }
.byline a:hover, .entry-meta a:hover { color: #000; }

.loop-entries li h2.entry-title a.hover {
  text-decoration:none;
}

.byline .comments-link, .entry-meta .comments-link {background: url(images/icon-comment-bubble.png) no-repeat; }
.byline abbr.published, .entry-meta abbr.published {background: url(images/icon-clock.png) no-repeat; }
.byline .author, .entry-meta .author { background: url(images/icon-person.png) no-repeat; }
.byline .post-edit-link, .entry-meta .post-edit-link {background: url(images/icon-edit.png) no-repeat; }

form#commentform input[type="text"], form#commentform textarea {
  display: block;
  width: 100%;
  border: 1px solid #aaa;
}

form#commentform p.log-in-out {
  background: none;
}

#comments-number, #reply-title {border-bottom: 2px solid #999; }

button, input[type="reset"], input[type="submit"], input[type="button"] {
  background: #ccc;
}

div.bannerfira { clear:both; }
div.bannerfira img {
  width:100%;
  margin-left:-20px;
}

div.bodybar{ position:absolute; }

div.bodybar.firstbar {top:0px; width:100%; height:40px; background-color:#011d45; z-index:0;}
div.bodybar.secondbar {top:40px; width:100%; height: 65px; background-color:#fff; z-index:0;}
div.bodybar.thirdbar {top:105px; width:100%; height:140px; background-color:#c01623; z-index:0; }
div.bodybar.fourthbar {top:110px; width:100%; height:10px; background-color:#fff; z-index:1; -webkit-opacity: 0.5; -moz-opacity: 0.5; filter:alpha(opacity=50);}

.thirdbar {display:none;}

body.singular-firaigualada .thirdbar {
  background-color:#c01623;
  display:block;
}

body.taxonomy-noticiestx div.bodybar.thirdbar,
body.taxonomy-firaigualadatxf div.bodybar.thirdbar,
body.singular-noticia div.bodybar.thirdbar,
body.singular-firaigualada div.bodybar.thirdbar,
body.home div.bodybar.thirdbar,
body.search div.bodybar.thirdbar {
  height:100px;
  min-height: 60px;
}


#branding {
  display: none;
}

#text-legal {
  width: 90%;
}

#sidebar-primary {
  width: 210px;
  margin-top:-269px;
  position:relative;
  z-index:4;
  height:auto;

  background: #e5e5e5; /* Old browsers */
  background: -moz-linear-gradient(left, #e5e5e5 0%, #f3f1f2 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,#e5e5e5), color-stop(100%,#f3f1f2)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #e5e5e5 0%,#f3f1f2 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #e5e5e5 0%,#f3f1f2 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #e5e5e5 0%,#f3f1f2 100%); /* IE10+ */
  background: linear-gradient(to right, #e5e5e5 0%,#f3f1f2 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#f3f1f2',GradientType=1 ); /* IE6-9 */
}

#sidebar-primary div.image-fira {
  padding:10px 14px 10px 10px;
  /* background-color: #fff;
  margin-top: -170px; */
  float:right;
  width:100%;
  box-sizing: border-box;
}
#sidebar-primary div.info-fira,
#sidebar-primary div.social-fira{
  padding:10px 14px 10px 15px;
  float:right;
  width:100%;
  color: #444;
  box-sizing: border-box;
}
#sidebar-primary div.social-fira i{
	font-size:25px;
}
#sidebar-primary div.social-fira #facebook{
	color:#3b5998;
}
#sidebar-primary div.social-fira #twitter{
	color:#1da1f2;
}
#sidebar-primary div.social-fira #instagram{
	color:#d93175;
}
#sidebar-primary div.links-fira {
  padding:10px 14px 10px 15px;
  float:right;
  width:100%;
  color: #444;
  box-sizing: border-box;
}

#sidebar-primary div.search-firaigualada{
  padding: 19px 0px 24px 10px;
  float:right;
  width:100%;
  color: #444;
  box-sizing: border-box;
}

div.links-fira.responsive {
  display:none;
}

div.links-fira.responsive ul li {
  background-color: #888;
}

#sidebar-primary div.links-fira ul {
  margin:0px;
}


#sidebar-primary div.info-fira p {
padding: 0;
}

#sidebar-primary div.image-fira img {
  width:100%;
  float:none;
  /* border:2px solid #000; */
  -moz-border-radius: 4px; /* Firefox */
  -webkit-border-radius: 4px; /* Safari, Chrome */
  border-radius: 4px; /* CSS3 */
}


ul.premsasidebar, ul.premsasidebar ul {
  margin:0px;
}
ul.premsasidebar {
  margin-top:10px;
}
ul.premsasidebar {
  padding:0px 10px 0 20px;

}

ul.premsasidebar li h3 {
  padding:0px;
}

ul.premsasidebar > li {
  padding:0px;
}

ul.premsasidebar li {
  margin:0px;
  float:left;
  width:100%;
  list-style:none;
  background: none;
}

/* MENUS */

.menutogglebutton {
  margin-right:3px;
  vertical-align: initial;
  display: inline-block;
  margin-top: 1px;
}

.menutogglebuttonfira {
  width:22px;
  margin-right:3px;
  vertical-align: bottom;
  display: inline-block;
}

.menutogglebuttonfira.larger {
  width:27px;
}

div.menu.sub {
  clear:both;
}

#menu-primary .menu li a.sf-with-ul span.sf-sub-indicator {
  background: none;
}

/* menu fires menu primary */


#menu-primary .menu li.fires-noresponsive:after {
  content: '+';
  font-weight:bold;
  position: absolute;
  left: 40px;
  top: 7px;
}
#menu-primary .menu li > ul {
  margin-left:-4px;
  position: absolute;
  z-index: 9999;
}
#menu-primary .menu li li a {
  margin-left: 0px;
  background-color:#313131;
  color:#fff;
  border:none;
  border-bottom:1px solid #ccc;
  padding:4px 10px;
}
#menu-primary .menu li li a:hover {
  margin-left: 0px;
  background-color:#ddd;
}
/* fi menu fires menu primary */


li.current-menu-item > a {
  color:#ff0 !important;
}

.menu .menu-icona {
  height: 41px; width: 41px;
  border-right: 2px outset #ccc;
}
.menu .menu-icona div {
  height: 100%; width: 100%; background-position:center;
}

#menu-header-horizontal .menu > ul > li > a {
  background: none !important;
}

.menu > ul#menu-header-horizontal-items > li:last-child,
.menu > ul#menu-header-horizontal-items > li:last-child > a {
  -moz-border-radius:  0 4px 4px 0; /* Firefox */
  -webkit-border-radius: 0 4px 4px 0; /* Safari, Chrome */
  border-radius: 0 4px 4px 0; /* CSS3 */
}


.menu > ul#menu-header-horizontal-items > li:first-child,
.menu > ul#menu-header-horizontal-items > li:first-child > a {
  -moz-border-radius:  4px 0 0 4px; /* Firefox */
  -webkit-border-radius: 4px 0 0 4px; /* Safari, Chrome */
  border-radius: 4px 0 0 4px; /* CSS3 */
}
.menu ul#menu-header-horizontal-items li {
  background: url(/wp-content/uploads/2014/05/menu-item-bg.png);
  font-family: helvetica, sans-serif;
  text-transform: capitalize;
}
.menu ul#menu-header-horizontal-items li.has_children > a:after{
  content: url(/wp-content/uploads/2014/05/arrow-down-menu.png);
  margin-left:5px;
  margin-top: -2px;
  float: right;
}
​
.menu ul#menu-header-horizontal-items li:hover {
  background: none;
  background-color: #000;
}
.menu ul#menu-header-horizontal-items li a:hover {
  background: none;
  background-color: #000;
  text-decoration:none;
}

#menu-header-horizontal .menu li a.sf-with-ul span.sf-sub-indicator {
 background: url(images/bg-nav-sub-indicator.png) 0 -9px no-repeat;
}

#menu-header-horizontal {
  float: none;
  width: auto;
  position: relative;
}
#menu-header-horizontal .menu li a {
  color: #fff;
  line-height: 18px;
  padding: 12px 20px 11px 12px !important;
}

.es_ES #menu-header-horizontal .menu li a {
  padding: 12px 12px 11px 10px !important;
}

#menu-header-horizontal .menu li.menu-item-183 a {
  padding: 12px 7px 11px 2px !important;
  font-weight: bold;
}

#menu-header-horizontal .wrap {
  padding: 10px 20px 20px;
}

h2.title-fira {
  margin-left:180px;
  color:#fff;
  padding:0px;
  font-size:45px;
  font-family:'Lato', sans-serif;
  text-transform: initial;
  margin-top: -57px; /* Titol fira posicio*/
  margin-bottom: 15px;  /* Titol fira posicio*/
}
h2.title-fira.responsive {
  display:none;
  cursor:pointer;
}

#menu-primary-title {
  border-bottom: none;
}

#menu-primary {
  margin: 0 auto;
  width: 1024px;
}

#menu-primary .wrap {
  background: transparent;
}

#menu-primary .menu {
  float: left;
  padding-right: 10px;
  margin-top:10px;

}

#menu-primary .menu li a {
  background: none;
  border-left:0px solid #999;
  padding: 2px 10px 0px 2px;
  font-size: 16px;
  color:#353535;
  font-family:'Abel', sans-serif;
  font-weight:bold;
  text-decoration:none;
}

#menu-primary .menu li a:hover {
  color:#777;
}
#menu-primary .border-bottom-menu-sup {
  background: url(/wp-content/uploads/2014/05/border-bottom-menu-top.png) ;
  height:14px;
  float: right;
  width: 80%;
  margin-top: 3px;
  position:relative;
  z-index:3;
}

code {
  background: #fff;
  font: 1em Monaco, monospace, Courier, "Courier New";
}

div.logo {
  float:left;
  float:left;
  position:relative;
  z-index:3;
  width:20%;
}

div.title-firaigualada {
  float:left;
  font-size:24px;
  font-weight:bold;
  width:59%;
  margin-top:10px;
  color:#fff;
}

/* div.search-firaigualada {
  float:right;
} */
div.search-firaigualada input[type="text"] {
  border:2px solid #ababab;
  padding: 2px 2px;
  width: 145px;
  height: 29px;
  margin: 12px 0 0 0;
  -moz-border-radius:  4px; /* Firefox */
  -webkit-border-radius: 4px; /* Safari, Chrome */
  border-radius: 4px; /* CSS3 */
}
div.search-firaigualada input[type="submit"] {
  background: url(/wp-content/uploads/2014/06/boto-cerca.png) 0 0px no-repeat;
  background-size: 100%;
  height: 32px;
  margin: 10px 0 0 0;
}


div.lang-firaigualada {
  float:left;
  width:19%;
  position: relative;
  z-index: 999999;
}

div.lang-firaigualada #lang_sel ul ul {
 border-top: 0px solid #cdcdcd;
}
div.lang-firaigualada #lang_sel {
  margin-top: 10px;
  float: right;
}

div.lang-firaigualada #lang_sel > ul > li {
  height: 30px;
}

div.lang-firaigualada #lang_sel li {
  width: 100px;
  height: 20px;
}

div.lang-firaigualada #lang_sel li ul li {
  background: #fff;
  padding-top: 7px !important;
}

div.lang-firaigualada #lang_sel ul, #lang_sel li {
  background:none;
}

div.lang-firaigualada #lang_sel a.lang_sel_sel {
  background-color: transparent;
  color: #fff;
  font-size:12px;
}
div.lang-firaigualada #lang_sel a.lang_sel_sel:hover {
  color: #bbb;
}
div.lang-firaigualada #lang_sel a, #lang_sel a:visited {
  border: 0px solid #cdcdcd;
}
#lang_sel ul ul {
  top: 30px;
}

#footer {
  width: 100%;
  position: fixed;
  bottom: 0px;
  z-index: 100;
  background: #011d45;
}

.footer-wrap {
  background: transparent;
  position: relative;
  left: 50%;
  width: 1024px;
  margin-left: -512px;
  color: #ccc;
  font-family: 'Lato', sans-serif;
  padding: 3px 0px;
  font-size: 12px;
  text-transform: initial;
  border:none !important;

  /* -moz-box-shadow: -2px 0px 20px #666;
  -webkit-box-shadow: -2px 0px 20px #666;
  box-shadow: -2px 0px 20px #666; */
}
.footer-wrap a {
  color: #fff;
}

.footer-wrap a.site-link {
  margin-right:10px;
  text-transform:uppercase;
}


.legals-footer {
  margin-left:24px;
}

.cnss-social-icon {
  float: right;
  margin-top:5px !important;
}
.cnss-social-icon a[title="nolink"] {
  visibility:hidden;
}


/* Expositors */

.abecedari {
  margin-bottom:7px;
}
.abecedari a {
  float:left;
  width:15px;
}
.abecedari a.tots {
  width:90px;
}
.abecedari a.selected {
  font-weight:bold;
}

.info-expositor {
  padding:0px;
  border:1px solid #ccc;
  border-top:none;
  border-left:2px solid #c01623;
  margin-bottom:7px;
  clear:both;
}

.info-expositor .barra-superior {
  padding:5px 10px;
  background-color:#c01623;
}
.info-expositor .direccio-expositor {
  margin-top:10px;
}
.info-expositor .nom-expositor {
  float:left;
  color:#fff;
  font-size: 17px;
  font-family: 'Lato', sans-serif;
}
.info-expositor .num_stand-expositor {
  float:right;
  color:#fff;
  font-size: 17px;
  font-family: 'Lato', sans-serif;
}
.info-expositor .content {
  padding: 0px 18px;
}
.info-expositor .open-info {
  float:right;
  margin-left: 10px;
  width: 20px;
  height: 20px;
  position:relative;
}
.info-expositor .open-info .bmesinfoexpositor {
  float: left;
  width: 20px;
  height: 20px;
  top: 8px;
  position: absolute;
}
.info-expositor .open-info .bmesinfoexpositor.opened {
  background:url(/wp-content/uploads/2014/06/menos.png) no-repeat;
}
.info-expositor .open-info .bmesinfoexpositor.noopened {
  background:url(/wp-content/uploads/2014/06/mas.png) no-repeat;
}




.info-expositor .open-info a {
  color:#c01623 !important;
  font-size:20px;
  font-weight:bold;
  text-decoration: none;
  margin-top:-5px;
}

.info-expositor .num_stand-expositor a,
.info-expositor .open-info a {
  color:#fff;
}

.info-expositor img {
  padding: 0px;
  width: 100%;
}

.info-expositor .mesinfo {
  display:none;
}

.info-expositor .descripcio-expositor {
  margin-top:10px;
}

.info-expositor .web-expositor a {
  color:#c0151e;
}

.info-expositor b {
  font-weight:bold;
}

.info-expositor .esquerra {
  float:left;
  width:54%;
  margin-bottom: 10px;
}

.info-expositor .dreta {
  float:right;
  width:44%;
}

/* WordPress Slideout Menu Tabs Styles */


/* Menu Tabs Main Container*/
#wpSlideOutTabs {
  position : absolute;
  top : 100px;
  left : -40px;;
  z-index : 99999999;
}

ul#wpSlideOutTabs ,
#wpSlideOutTabs li {
  padding:0px;
  margin:0px;
}

/* Menu Tabs */
#wpSlideOutTabs li {
  list-style : none;
  height : 38px;
  width : 38px;
}

/* Menu Tabs Container Style */
#wpSlideOutTabs span {
  width : 0;
  left : 38px;
  padding : 0;
  position : absolute;
  overflow : hidden;
  font-family : 'Myriad Pro', Arial, Helvetica, sans-serif;
  font-size : 18px;
  font-weight : bold;
  letter-spacing : 0.6px;
  white-space : nowrap;
  line-height : 38px;
  background: url(/wp-content/uploads/2014/05/fecha-blanc.png) 8px 0px no-repeat;
  padding-left: 37px !important;
  color:#fff;
  -webkit-transition: all .25s ease-out;
  -moz-transition: all .25s ease-out;
  -ms-transition: all .25s ease-out;
  -o-transition: all .25s ease-out;
  transition: all .25s ease-out;
}

/* Menu Tabs Anchor Tag Style */
#wpSlideOutTabs a {
  background : #b3b3b3;
  height: 38px;
  width: 38px;
  display : block;
  position : relative;
  background-repeat:no-repeat;
  background-position:center;
}

/* Menu Tabs Anchor Tag Span hover Style */

#wpSlideOutTabs a span {
  -webkit-opacity: 0;
  -moz-opacity: 0;
  filter:alpha(opacity=0);
}

#wpSlideOutTabs a:hover span {

  -webkit-opacity: 1;
  -moz-opacity: 1;
  filter:alpha(opacity=100);

  width : auto;
  padding : 0 20px;
  overflow : visible;
  background-color:#ddd;
}

/* Menu Tabs Anchor Tag hover Style */
#wpSlideOutTabs a:hover {
  text-decoration : none;
  box-shadow : 0 0 5px #9ddff5;
}

.loop-title {
  color: #444;
  font-size: 30px;
  line-height: 30px;
  padding: 11px 0 9px;
  font-family:'Lato', sans-serif;
}

.loop-entries li {
  border-bottom: 1px solid #ccc;
}

.loop-meta {
  border-bottom: 1px dashed #888;
  padding: 12px 40px 7px 40px;

}

/* Socials */
div.section_socials {
  margin:10px 0;
  padding:20px 0 0 0;
  border-top:1px solid #bbb;
}

div.section_socials iframe {
  margin:0px;
}

/* Fi socials */



/* Contact */

.wpcf7-form img {
  width:initial !important;
}

.wpcf7-form input,
.wpcf7-form textarea {
  border:1px solid #ccc;
}

.wpcf7-captchac {
  width: 20% !important;
}

/* Fi Contact */

/* Form solicitud d'invitacions */
.solicitudinvitacionsform input {
  padding:2px 4px;
  height:24px;
}
.solicitudinvitacionsform p {
  padding:0px;
}

.solicitudinvitacionsform .left {
  margin-right:3%;
}
.solicitudinvitacionsform .left,
.solicitudinvitacionsform .right {
  float:left;
  width:40%;
}

.solicitudinvitacionsform .validatecodes {
  clear:both;
}

@media screen and (max-width: 800px) {
  .solicitudinvitacionsform .left,
  .solicitudinvitacionsform .right {
    float:left;
    width:100%;
  }
}



/* Paginador */

.loop-nav, .pagination, .comment-pagination, .bbp-pagination {
  background: #fff;
}

.pagination .current, .comment-pagination .current, .bbp-pagination .current {
  color: #666;
}

div.parallaxhome {
  background-color: #000;
  margin-top: -53px;
}

div.parallaxhome div.parallaximg {
  width:100%;
  height:312px;
  max-width: initial;
  padding: 0;
  margin: 0;
  background-size: 100% auto;
  background-repeat:no-repeat;
  background-position:center 0px;

  -webkit-transition: opacity .7s ease-out;
  -moz-transition: opacity .7s ease-out;
  -ms-transition: opacity .7s ease-out;
  -o-transition: opacity .7s ease-out;
  transition: opacity .7s ease-out;

  filter: alpha(opacity=60);
  opacity: 0.6;
  margin-top: -62px;
}

div.parallaxhome div.parallaximg:hover {
  filter: alpha(opacity=100);
  opacity: 1;
}

div.parallaxhome a {
  text-decoration:none;
}
div.parallaxhome div.titlefira {
  width:100%;
  margin: 0;
  background-color:#000;
  height:62px;
  text-align:center;
  color:#fff;
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox 28 and earlier*/
  font-family: 'Abel', sans-serif;
  font-size: 27px;
  background: #000; /* Old browsers */
  background-color:#000;
  opacity:0.7;
  filter:alpha(opacity=70); /* For IE8 and earlier */
  position: relative;
  z-index: 333;
}

div.parallaxhome div.titlefiratext {
  background-color:transparent;
  color:#fff;
  text-align:center;
  height:62px;
  padding-top:14px;
  box-sizing:border-box;
  font-family: 'Abel', sans-serif;
  font-size: 27px;
  position: relative;
  z-index: 999;
  margin-bottom:-62px;
}
div.parallaxhome div.titlefiratext img {
  background-color:transparent;
  vertical-align: middle;
  padding:0px 5px;
  margin: 0px;
 /* margin-top: -9px; */
}
div.parallaxhome div.titlefiratext span {
  display:inline-block;
  vertical-align: middle;
}

VELLdiv.parallaxhome div.titlefira {
  width:100%;
  margin: 0;
  background-color:#000;
  padding:20px 50px;
  text-align:center;
  color:#fff;
  font-size:20px;
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox 28 and earlier*/
  font-family: 'Abel', sans-serif;
  font-size: 27px;
  background: #011d45; /* Old browsers */
  background-color:#011d45;
  background: -moz-linear-gradient(top, #011d45 0%, #040525 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#011d45), color-stop(100%,#040525)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #011d45 0%,#040525 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #011d45 0%,#040525 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #011d45 0%,#040525 100%); /* IE10+ */
  background: linear-gradient(to bottom, #011d45 0%,#040525 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#011d45', endColorstr='#040525',GradientType=0 ); /* IE6-9 */
}


/* Gallery */

.gallery-caption {
  padding: 10px 0 1px;
  color: #000;
}

.gallery-item {
  max-width: 30%;
}
.download-icon-gallery {
  width:21px !important;
  height:21px !important;
  display:inline-block;
  background:url(/wp-content/uploads/2014/06/239308-download_save_arrow_import-128.png) no-repeat;
  background-size: 100%;
  float:right;
}

.gallery-item img {
  padding: 0px;
  -moz-box-shadow: 3px 3px 4px #444;
  -webkit-box-shadow: 3px 3px 4px #444;
  box-shadow: 3px 3px 4px #444;
}

.gallery-clear {
  clear: both;
}

@media screen and (max-width: 1024px) {
  .footer-wrap {
    left: initial;
    width: 100%;
    margin-left: initial;
    text-align:left;
    padding-left:10px;
  }
  #wpSlideOutTabs {
    display:none;
  }

  /* #wpSlideOutTabs {
    position: absolute;
    top: 36px;
    left: -5px;
    z-index: 9999999;
  }
  .entry-content {
    padding: 18px 13px 17px 50px;
  }
  .entry-title {
    font-size: 20px;
    line-height: 30px;
    padding: 18px 13px 17px 50px;
  } */
}


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

  div.logo img {
    width: 125px;
    margin-top: 41px;
  }

  div.responsive.fires li {
    background-color: #1c1c1c !important;
  }
  div.responsive.fires a {
    float: left !important;
  }

  .loop-entries li .featured-image-link {
    float: left;
    margin-right: 18px;
  }

  #menu-primary .menu.visible {
    margin-top: 20px;
    z-index: 9999;
  }


  /* div.parallaxhome div.parallaximg {
    width: 100%;
    max-width: initial;
    background-size: auto 100%;
    background-position-y: 0px !important;
  } */

  div.parallaxhome div.parallaximg {
    height: 150px;
    max-width: initial;
    background-position: center -20px; !important;
    background-size: cover !important;
  }

  #sidebar-primary {
    display:none;
  }

  div.search-firaigualada {
    position: absolute;
    right: 18px;
    top: 50px;
    z-index: 2;
  }

  #menu-primary-title {
    border-bottom: none;
    float: left;
    width: 100%;
    height: 21px;
    color:#fff;
    text-transform:uppercase;
    font-weight:bold;
    font-size:18px;
    padding: 8px 11px 9px;
  }

  #content {
   width: 100%;
  }

  h2.title-fira {
    margin-left: 95px;
    margin-top: -42px;
    font-size:31px;
  }
  #header {
    min-height: initial;
  }
  div.bodybar.thirdbar {
   height: 88px;
  }

  h2.title-fira.no-responsive,
  div.links-fira.no-responsive {
    display:none;
  }
  h2.title-fira.responsive,
  div.links-fira.responsive {
    display:block;
  }

  #menu-header-horizontal-title,
  #menu-header-primary-title,
  #menu-header-secondary-title {
    border-bottom: none;
    margin-top: -22px;
    margin-left: 44px;
  }
  body.home #menu-header-horizontal-title,
  body.singular-firaigualada #menu-header-horizontal-title {
    display:none;
  }

  #container {
    width: 100%;
  }
  #menu-primary {
   width: 100%;
  }

  #menu-secondary .menu,
  #menu-subsidiary .menu,
  #menu-header-horizontal .menu,
  #menu-header-primary .menu,
  #menu-header-secondary .menu {
    width: 94%;
  }

  #menu-header-horizontal .wrap {
    padding: 10px 0px 20px;
  }
  #menu-header-horizontal .menu {
    width: 99.8%;
  }

  .menu ul#menu-header-horizontal-items li:first-child {
    -moz-border-radius:  4px; /* Firefox */
    -webkit-border-radius: 4px; /* Safari, Chrome */
    border-radius: 4px; /* CSS3 */
  }

  #menu-primary .menu {
     width:100%;
     /* margin-top: -185px;
     position:relative; */
     position: fixed;
     top: 21px;
     z-index: 10;
  }

  div.title-firaigualada {
    display:none;
  }

  #menu-primary .border-bottom-menu-sup  {
    display:none;
  }

  div.lang-firaigualada {
    position: fixed;
    right: 20px;
    top: 0px;
    z-index: 99999;
  }

  div.lang-firaigualada #lang_sel a,
  div.lang-firaigualada #lang_sel a.lang_sel_sel {
    font-size: 14px;
  }


  #menu-primary-title {
    position: fixed;
    background-color: #011D45;
    z-index: 9999;
  }
  div.search-firaigualada input[type="text"],
  div.search-firaigualada input[type="submit"] {
    margin-top:6px;
  }

  div.parallaxhome div.parallaximg {
    margin-top: 0px;
  }

  li.fires-noresponsive {
    display:none;
  }

  .loop-entries li .featured-image-link .thumbnail {
    max-width: 150px !important;
  }

  .loop-entries li .featured-image-link,
  .layout-1c .loop-entries li .featured-image-link {
    width: 173px !important;
  }

  .m-top.open, .m-fira.open {
    display: block !important;
  }

}

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

   #menu-header-horizontal .menu li a {
    font-size: 14px !important;
   }

   #menu-primary-items li a {
    font-size: 14px !important;
   }

}

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

   .loop-entries li .featured-image-link {
    float: none;
   }
   .gallery-item {
     max-width: 90%;
   }




 /* RESPONSIVE TABLES */

 div.parallaxhome div.parallaximg {
    height: 75px;
    max-width: initial;
    background-position: center -20px; !important;
    background-size: cover !important;
  }

  div.parallaxhome div.titlefiratext {
    height: 42px;
    padding-top: 0px;
    margin-bottom: -47px;
  }

  div.parallaxhome div.titlefira {
    height: 42px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    opacity: 1;
    filter: alpha(opacity=100);
}

  /* Force table to not be like tables anymore */

  table {
    margin-left:-10px;
  }
  .cnss-social-icon {
    display:none;
  }
  table, thead, tbody, th, td, tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr { border: 1px solid #ccc; }

  td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }


 /* FI RESPONSIVE TABLES */


}

@media screen and (max-width: 480px) {
  div.logo img {
    width: 100px;
    margin-top: 41px;
  }
}