/*
 Theme Name:   Bock
 Theme URI:    http://www.docpor.pt/
 Description:  Wordpress theme for bock website
 Author:       docpor multimédia
 Author URI:   http://www.docpor.pt
 Template:     twentytwelve
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-twelve-child
*/


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

p {
  margin-bottom: 1em;
  line-height: 1.5em;
}

@font-face {
  font-family: kollektif;
  src: url(fonts/Kollektif-Bold.ttf);
}

.slides>li {
  color: #ffffff;
}

#search {
  float: right;
  width: 26px;
  background-color: #002f5f;
}

.lang_sel_sel {
  display: none;
}

.iclflag {
  margin-top: 55%;
}

a {
  text-decoration: none;
}


/* Buttons */

.menu-toggle {
  margin: 5px;
  padding: 6px 10px;
  padding: 0.428571429rem 0.714285714rem;
  font-size: 11px;
  font-size: 0.785714286rem;
  line-height: 1.428571429;
  font-weight: normal;
  color: #002F5F;
  border-width: 0px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-image: none;
  cursor: pointer;
}

.menu-toggle:hover, .menu-toggle:focus {
  background-color: transparent;
  background-repeat: no-repeat;
  background-image: none!important;
  background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
  background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
  background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
  background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
  background-image: linear-gradient(top, #f9f9f9, #ebebeb);
  border-color: transparent;
  outline-color: transparent;
  outline-width: 0px;
}

.menu-toggle:active, .menu-toggle.toggled-on {
  color: #757575;
  background-color: transparent;
  background-repeat: no-repeat;
  background-image: none!important;
  background-image: -moz-linear-gradient(top, #ebebeb, #e1e1e1);
  background-image: -ms-linear-gradient(top, #ebebeb, #e1e1e1);
  background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
  background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
  background-image: linear-gradient(top, #ebebeb, #e1e1e1);
  box-shadow: none;
  border-color: transparent;
}


/* menu-toggle  */


/* Icon 1 */

.menu-toggle {
  width: 40px;
  height: 45px;
  position: absolute;
  top: 20px;
  right: 15px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 7px;
  width: 100%;
  background: #ffffff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 12px;
}

.menu-toggle span:nth-child(3) {
  top: 24px;
}

.menu-toggle.open span:nth-child(1) {
  top: 18px;
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.open span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
}


/*thickbox*/

.screen-reader-text {
  display: none;
}


/* Header */

.video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

video#bgvid {
  display: none;
}

.video .overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 47, 95, .4);
}

#video-background {
  /*  making the video fullscreen  */
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 2;
}

.site-header {
  padding: 0;
}


#navigation-container {
  position: relative;
  height: 80px;
  background: linear-gradient( rgba(0, 47, 95, 0.45), rgba(0, 47, 95, 0.45)), url(images/banner.jpg);
  background-color: rgba(0, 47, 95, .3);
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #c0c3c5;
  z-index: 100;
}

#navigation-wrapper {
  clear: both;
  margin: 0 auto;
  max-width: 960px;
}

#header_logo {
  position: relative;
  float: left;
  margin-top: 10px;
  width: 120px;
  padding: .5rem 0 0 1.7rem;
}

#header_logo img {
  display: block;
  margin: auto;
}

.site-header h2 {
  max-width: 600px;
  font-family: kollektif;
  position: relative;
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
  color: #ffffff;
}

#banner-foto {
  position: relative;
  top: -155px;
  float: left;
  width: 100%;
  height: 450px;
  background-image: url(images/banner.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.navigation-foto {
  background: linear-gradient( rgba(0, 47, 95, 0.45), rgba(0, 47, 95, 0.45)), url(images/banner.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}

.navigation-foto-inside {
  background: linear-gradient( rgba(0, 47, 95, 0.45), rgba(0, 47, 95, 0.45)), url(images/banner.jpg)!important;
}

#banner-destaque-container {
  width: 100%;
  padding: 0 1.714285714rem;
  box-sizing: border-box;
}

#banner-destaque-wrapper {
  position: relative;
  top: 170px;
  max-width: 960px;
  max-width: 68.571428571rem;
  overflow: hidden;
  z-index: 2;
}

#banner-destaque-wrapper a {
  float: left;
  border-style: solid;
  border-width: 1px;
  border-color: #f9ab03;
  padding: 8px 40px;
  margin: 10px 10px 0px 0px;
  color: #ffffff;
  text-decoration: none;
}

#banner-destaque-wrapper a:hover {
  border-color: #ffffff;
  color: #002f5f;
  background-color: #ffffff;
}


/* Navigation Menu */

.main-navigation {
  background: linear-gradient( rgba(0, 47, 95, 0.45), rgba(0, 47, 95, 0.45)), url(images/banner.jpg);
  float: right;
  width: 100%;
  margin-top: 14px;
  z-index: 999;
}

.main-navigation li {
  clear: both;
  float: left;
}

.main-navigation li:last-child {
  padding-bottom: 3rem;
}

.main-navigation li a {
  text-transform: uppercase;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bolder;
  text-align: left;
  margin-left: 1.79rem;
}

.main-navigation .toggled-on li ul li {
  display: none;
}

.main-navigation ul.nav-menu.toggled-on {
  width: 100%;
  border-bottom-color: #ffffff;
  border-bottom-style: solid;
  border-bottom-width: 3px;
}

.main-navigation .current-menu-item ul li a:hover {
  color: rgba(0, 47, 95, 1);
}

.main-navigation ul li a:hover {
  color: #f9ab03;
}

.main-navigation li ul {
  border-top-style: none;
}

.main-navigation li ul li a {
  background: #ffffff;
  border-bottom: 1px solid #ededed;
  display: block;
  font-size: 11px;
  color: #002f5f;
  font-size: 0.785714286rem;
  line-height: 2.181818182;
  text-transform: uppercase;
  padding: 8px 10px;
  padding: 0.571428571rem 0.714285714rem;
  width: 180px;
  width: 12.85714286rem;
  white-space: normal;
  box-sizing: border-box;
}

.main-navigation li ul li a:hover, .main-navigation li ul li a:focus {
  background-color: #f8f8f8;
  font-weight: 600;
  padding: 8px 8px;
  color: #002f5f;
  border-left-style: solid;
  border-left-width: 2px;
  border-left-color: #f9ab03;
  box-sizing: border-box;
}


/* Page structure */

.site {
  clear: both;
}

#page {
  position: relative;
}

.page-title {
  font-family: kollektif;
  font-size: 16px;
  color: #002f5f;
}


/* Home */

#destaque, #contactos {
  clear: both;
  position: relative;
  text-align: center;
  text-transform: uppercase;
}

#contactos {
  padding-top: 20px;
}

.entry-title, #contactos .titulo, #destaque .titulo {
  font-family: 'kollektif', sans-serif;
  font-size: 1.6rem;
  font-weight: 300;
  padding-top: 20px;
  padding-bottom: 20px;
}

#contactos .texto,
#destaque .texto {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 15px;
  color: #9b9b9b;
}

.coluna {
  position: relative;
  height: auto;
  float: left;
  width: 100%;
  margin: 1px;
  overflow: hidden;
}

.coluna a {
  text-decoration: none;
}

.coluna img {
  width: 100%;
}

.img-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
}

.top {
  position: absolute;
  top: 0px;
  width: 100%;
  display: none;
  height: 100%;
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  background-color: rgba(245, 167, 0, 0.8);
}

.top img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.span-container {
  position: absolute;
  text-align: center;
  top: 45%;
  width: 100%;
  height: 100%;
}

.top span {
  padding: 10px;
  border-style: solid;
  border-width: 1px;
  border-color: #ffffff;
}

.coluna a:hover .top {
  display: block;
  overflow: hidden;
}

.bottom {
  position: relative;
  min-height: 210px;
  line-height: 145px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  white-space: nowrap;
}

.bottom img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}


/* Form */

.gfield_required {
  display: none;
}

input[type="text"], textarea {
  border-color: #9097a0;
  border-style: solid;
  border-width: 1px;
  border-radius: 0px;
  background-color: #eaeaea;
}


/* Newsletter */

#newsletter-container {
  display: none;
}


/* Footer */

footer[role="contentinfo"] {
  clear: both;
  position: relative;
  max-width: 100%;
  min-height: 150px;
  background-color: #434a53;
  padding-bottom: 45px;
  border-top: none;
}

footer[role="contentinfo"] a {
  color: #ebebeb;
  text-decoration: none;
}

footer[role="contentinfo"] a:hover {
  color: #f9ab03;
}

#colophon p {
  line-height: 1.5;
}

#colophon-wrapper {
  margin: 0 auto;
  max-width: 960px;
  padding: 3%;
  color: #ededed;
}

#colophon-wrapper .widget {
  display: inline-block;
  vertical-align: top;
  margin: 1%;
  width: 100%;
  min-width: 200px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-bottom-color: rgb(96, 104, 115);
  margin-bottom: 3em;
  padding-bottom: 1em;
}

#colophon-wrapper .logo-pb {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  min-width: 200px;
  min-height: 200px;
  padding: 1%;
  background-image: url(images/logo_bock.png);
  background-repeat: no-repeat;
  background-position: 50% 20px;
}

#colophon-wrapper .titulo {
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  color: #b4bcc7;
}

.site-info {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  padding: 5px;
  background-color: #4a515a;
  color: #ededed;
  text-align: center;
  box-sizing: border-box;
}


/* Widgets */

.widget-title {
  color: #f9ab03;
  font-size: 12px;
  font-size: 0.9rem;
}

.widget-area .widget p, .widget-area .widget li, .widget-area .widget .textwidget {
  font-size: 11px;
  font-size: 0.8rem;
  line-height: 2.846153846;
  border-bottom-style: solid;
  border-bottom-color: #c7c7c7;
  border-bottom-width: 1px;
}

.product-categories li a {
  text-decoration: none;
}

.widget_wysija_cont {
  position: relative;
  clear: none;
  font-size: 0.9em;
  height: auto;
  text-align: left;
  font-weight: normal;
  line-height: 1.2em;
  color: #E1E1E1;
  padding-top: 5px;
  display: inline;
}

.widget_wysija input[name="wysija[user][email]"] {
  float: left;
  color: #000000;
  width: 60%;
  height: 20px;
  padding: 10px;
  margin-top: 10px;
  background-color: #ffffff;
  border-style: none;
  border-radius: none;
}

.wysija-submit-field {
  float: left;
  font-size: 1.1rem!important;
  color: #FFFFFF!important;
  width: 30%;
  height: 40px;
  margin-top: 10px!important;
  background-color: #f9ab03!important;
  background-image: none!important;
  border-style: none!important;
  box-shadow: none!important;
  border-radius: none!important;
}

.widget_wysija .wysija-submit, .widget_wysija .wysija-paragraph {
  display: inline;
}

.widget_wysija_cont .error, .widget_wysija_cont .xdetailed-errors {
  background-color: #e55057;
  color: #fff;
  border-color: #CC0000;
  padding: 15px;
  margin-top: 20px;
}

.widget_wysija_cont .updated, .widget_wysija_cont .login .message {
  padding: 15px;
  background-color: #f9ab03;
  border-color: #E6DB55;
  color: #ffffff;
}


/* Catalogos */

.catalogo {
  float: left;
  max-width: 180px;
  box-sizing: border-box;
  border-bottom-width: 3px!important;
  border-bottom-color: #2865a3!important;
  border-bottom-style: solid;
  border-top-color: #2865a3!important;
  border-style: solid;
  border-width: 1px;
  border-color: #cecece;
  margin-bottom: 2em;
  margin-right: .8em;
}

.catalogo:hover {
  background-color: rgba(25, 61, 98, 0.07);
}

.catalogo img {
  padding: 1em;
}

.catalogo h3 {
  min-height: 30px;
  background-color: rgba(25, 61, 98, 0.07);
  padding: 1em;
  text-align: center;
  font-weight: normal;
  line-height: 1em;
}

.catalogo:hover h3 {
  min-height: 30px;
  background-color: rgba(25, 61, 98, 100);
  color: #ffffff;
  padding: 1em;
  text-align: center;
  font-weight: normal;
  line-height: 1em;
}


/* Gallery */

#gallery-2 img {
  border: 0px solid #cfcfcf!important;
}

.entry-content img, .gallery .gallery-icon img {
  border: 0px;
  padding: 0px;
  border-width: 0px;
  border-radius: 0px;
  box-shadow: 0px;
}


/* Woocommerce */

.woocommerce-info {
  display: none;
}

.woocommerce ul.products li.type-product, .woocommerce-page ul.products li.type-product {
  box-sizing: border-box;
  width: 100%;
  padding: 0 1em;
  margin: .1em;
  background-color: #f2f2f2;
}

.woocommerce-loop-product__title {
  font-weight: normal;
}

.woocommerce-loop-category__title {
  background-color: #f2f2f2;
  font-weight: normal;
  text-align: center;
}

.product.has-default-attributes.has-children>.images {
  opacity: 1;
}

.single_variation_wrap, .variations, .variations_form {
  display: none!important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background-color: #f9ab03;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  border-color: #002f5f;
  border-width: 2px;
  border-style: solid;
  background-color: #f9ab03;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background-color: #002f5f;
}

.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: none;
}

.woocommerce ul.products li.product h3 {
  font-size: 11px;
  text-align: center;
}

.woocommerce ul.products li.product .price {
  text-align: center;
  color: #f9ab03;
}

.count {
  float: right;
}

.up-sells h2, .related h2 {
  padding: 20px 0;
  color: #f9ab03;
}

li.current-cat {
  font-weight: bold;
  color: #000000!important;
}

li.current-cat::before {
  content: "- ";
}

@media screen and (min-width: 436px) {
  #banner-destaque-wrapper {
    top: 200px
  }
}


/* Minimum width of 600 pixels. */

@media screen and (min-width: 600px) {
  #header_logo {
    padding: 0;
    width: 100%;
  }
  #navigation-container {
    background: none;
    background-color: rgba(0, 47, 95, .3);
    height: 140px;
  }
  .site-content {
    float: right;
    width: 72.104166667%;
  }
  .widget-area {
    float: left;
    width: 23.041666667%;
  }
  #page {

    position: relative;
  }
  body.template-front-page .site-content, body.attachment .site-content, body.full-width .site-content, body.home .site-content {
    width: 100%;
  }
  /* Navigation Menu */
  .main-navigation {
    background: none;
    float: right;
    margin-top: 0px;
    z-index: 999;
    padding-bottom: 0;
  }
  .main-navigation ul.nav-menu {
    text-align: center;
  }
  .main-navigation li {
    clear: none;
    text-align: center;
    float: none;
  }
  .main-navigation li:last-child {
    padding-bottom: 0rem;
  }
  ul.nav-menu>li {
    padding-bottom: 20px;
  }
  .main-navigation li ul {
    left: -55px;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #f9ab03;
  }
  .main-navigation li ul li {
    margin: 0;
  }
  .main-navigation li a {
    color: #ffffff;
    line-height: 2.5;
    text-transform: none;
    font-size: 1rem;
    font-weight: normal;
    margin-left: 0;
    text-align: center;
  }
  .main-navigation li a:hover, .main-navigation li a:focus {
    color: #ffffff;
  }
  .main-navigation .current-menu-item>a, .main-navigation .current-menu-ancestor>a, .main-navigation .current_page_item>a, .main-navigation .current_page_ancestor>a {
    background-color: #f9ab03;
    color: #ffffff;
    font-weight: normal;
    padding: 0px 15px;
  }
  .main-navigation .current-menu-item a:hover {
    color: #000000;
  }
  .main-navigation ul.nav-menu, .main-navigation div.nav-menu>ul {
    border-bottom: none;
    border-top: none;
    margin-top: 25px;
  }
  /* Home */
  .coluna {
    float: left;
    width: 49%;
    margin: 1px;
  }
  #banner-destaque-wrapper {
    margin: 0 auto;
  }
  /* Newsletter */
  #newsletter-container {
    display: block;
    float: left;
    width: 100%;
    min-height: 50px;
    margin-top: 30px;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #c7c7c7;
    background-color: #ebebeb;
  }
  #newsletter-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 960px;
    padding: 25px 0px 0px 0px;
  }
  #newsletter-wrapper .widget {
    margin-left: 300px;
    max-width: 550px;
  }
  #rolo {
    float: left;
    margin-top: -35px;
    margin-left: 40px;
    width: 200px;
    height: 160px;
  }
  #colophon-wrapper .widget, #colophon-wrapper .logo-pb {
    width: 45%;
    border-bottom-style: none;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce ul.products li.product:nth-child(2n), .woocommerce-page ul.products li.product:nth-child(2n), .woocommerce-page[class*=columns-] ul.products li.product:nth-child(2n), .woocommerce[class*=columns-] ul.products li.product:nth-child(2n) {
    float: left;
  }
}


/* Minimum width of 800 pixels. */

@media screen and (min-width: 800px) {
  #navigation-container {
    height: 80px;
  }
  #header_logo {
    padding: 8px 25px 8px 1.714285714rem;
    width: 120px;
  }
  .main-navigation {
    width: auto;
  }
  video#bgvid {
    display: block;
    position: relative;
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
  }
  #banner-foto {
    height: 350px;
    top: -85px;
  }
  #banner-destaque-wrapper {
    top: 150px;
  }
  /* Contacts Page */
  .gmaps {
    float: left;
    width: 65%;
    margin-right: 10px;
  }
  .cinfo {
    float: left;
    width: 30%;
  }
  /* Home */
  .coluna {
    float: left;
    width: 24.7%;
    margin: 1px;
  }
}


/* Minimum width of 960 pixels. */

@media screen and (min-width: 960px) {
  #header_logo {
    padding: 8px 25px 8px 0;
  }
  #banner-destaque-wrapper {
    padding: 0;
  }
  body {
    background-color: #ffffff;
    line-height: 1.5;
  }
  body .site {
    box-shadow: none;
  }
  #colophon-wrapper .widget, #colophon-wrapper .logo-pb {
    width: 22%;
  }
}

@media screen and (min-width: 1050px) {
  #banner-foto {
    height: 435px;
  }
  #banner-destaque-wrapper {
    top: 200px;
  }
}

@media screen and (min-width: 1100px) {
  #banner-foto {
    height: 485px;
  }
  #banner-destaque-wrapper {
    top: 200px;
  }
}

@media screen and (min-width: 1270px) {
  #banner-foto {
    height: 550px;
  }
  #banner-destaque-wrapper {
    top: 250px;
  }
}

@media screen and (min-width: 1390px) {
  #banner-foto {
    height: 600px;
  }
  #banner-destaque-wrapper {
    top: 250px;
  }
}
