/*
 Theme Name:   Piemont Child
 Theme URI:    http://magniumthemes.com/
 Description:  Piemont - Premium Responsive WordPress Blogging Theme
 Author:       Magnium Themes
 Author URI:   http://magniumthemes.com/
 Template:     piemont
 Version:      1.2.6
 License:      GNU General Public License v2 or later
 License URI:  license.txt
 Tags:         white,fluid-layout,fixed-layout,responsive-layout,custom-colors,custom-menu,featured-images,post-formats,theme-options
 Text Domain:  piemont-child
*/

body {
  color: #222222;
}

header {
  margin-top: 20px !important;
  margin-bottom: 30px;
}

header .logo-link img {
  width: 300px;
}

p {
  font-size: 16px;
  line-height: 28px;
}

h2 {
  font-size: 30px;
  line-height: 44px;
}

.blog-style-5 .blog-post .post-header-title {
  text-transform: initial;
  font-size: 28px;
  line-height: 32px
}

.blog-style-5 .blog-post .post-info {
  font-size: 13px;
}

.blog-post .blog-post-bottom {
  display: none;
}

.blog-style-5 .sidebar .widgettitle {
  background: white;
  border-bottom: 3px olive solid;
  font-size: 13px;
  color: olive;
  text-transform: titlecase;
}

.sidebar > ul > li {
  font-size: 13px;
  line-height: 20px
}

.welcome-image-overlay a {
  color: white;
}

.blog-style-5 .blog-post .more-link {
  display: none !important;
}

footer.footer-style-mini {
  margin-left: -15px;
  margin-right: -15px;
}

@media screen and (min-width: 768px) {
  .header-info-text {
    width: auto !important;
  }
}

.header-info-text .fa {
  margin-right: 20px;
  font-size: 20px;
}

.header-blog-info__pt,
.header-blog-info__eng {
  display: none;
}

html:lang(pt-pt) .header-blog-info__pt {
  display: block;
}

html:lang(en-US) .header-blog-info__eng {
  display: block;
}


#menu-header-menu {
  font-weight: 600;
}

.piemont-post-list .piemont-post-details .piemont-post-title h2 {
  font-size: 38px;
  line-height: 44px;
}


/* ------------------------------------------------------------------------- */
/* Blog post image hover state */
/* ------------------------------------------------------------------------- */

a.blog-post-thumb {
  position: relative;
}

a.blog-post-thumb:before {
  transition: all .2s ease;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
}

a.blog-post-thumb:hover:before {
  background-color: rgba(0,0,0,.2);
}


/* ------------------------------------------------------------------------- */
/* Mailchimp overrides */
/* ------------------------------------------------------------------------- */

.mailchimp-footer__subscribe-newsletter {
  position: relative;
}

.mailchimp-footer__label {
  height: auto !important;
  text-align: center;
}

.mailchimp-footer__subscribe-newsletter input[type="email"] {
  width: 100% !important;
  margin-bottom: 20px;
}

.mailchimp-footer__subscribe-newsletter input[type="submit"] {
  display: block;
  background-color: #262626;
  color: white;
  width: 100% !important;
}

@media screen and (min-width: 768px) {
  .mailchimp-footer__subscribe-newsletter input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    width: auto !important;
  }

  .mailchimp-footer__subscribe-newsletter input[type="email"] {
    margin-bottom: 0;
    padding-right: 175px;
  }
}

/* Hide burguer menu */
header .header-right ul.header-nav > li {
  display: none;
}

.float-sidebar-toggle-btn:before {
  content: 'Blog';
  padding-right: 10px;
}

.float-sidebar-toggle-btn:hover {
  text-decoration: none;
}

.mailchimp-form {
  display: none;
}

html:lang(pt-pt) .mailchimp-form--visible-pt {
  display: block;
}

html:lang(en-US) .mailchimp-form--visible-eng {
  display: block;
}


/* ------------------------------------------------------------------------- */
/* Contact form
/* ------------------------------------------------------------------------- */

.contact-form label,
.contact-form [type="text"],
.contact-form [type="email"],
.contact-form textarea {
  width: 100%;
  line-height: 29px;
}


/* ------------------------------------------------------------------------- */
/* Custom homepage blog post titles
/* ------------------------------------------------------------------------- */

.home .blog-post .post-header-title {
  font-size: 28px;
  line-height: 34px;
}


/* ------------------------------------------------------------------------- */
/* Project list page
/* ------------------------------------------------------------------------- */

.projects-list-wrapper {
  margin: 90px 0 120px;
}

.home .projects-list-wrapper {
  margin-bottom: 60px;
}

.projects-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.projects-list img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.project-thumb-title {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  padding: 20px;
  bottom: 60px;
  left: 30px;
  right: 30px;
  opacity: 1;
  font-family: 'Merriweather';
}

.project-thumb-title:before {
  background-color: black;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.project-link {
  position: absolute;
  width: calc(100% - 30px);
  height: 100%;
  left: 15px;
  z-index: 1;
}


/* ------------------------------------------------------------------------- */
/* Fix english top menu */
/* ------------------------------------------------------------------------- */

.header-menu li a {
  font-weight: 600;
}


/* ------------------------------------------------------------------------- */
/* Homepage slider arrows */
/* ------------------------------------------------------------------------- */

body .owl-theme .owl-controls .owl-buttons div.owl-prev {
  background: url('img/arrow-left-big--light.png');
  opacity: .4;
  transition: all .3s ease;
}

body .owl-theme .owl-controls .owl-buttons div.owl-prev:hover {
  opacity: 1;
}

body .owl-theme .owl-controls .owl-buttons div.owl-next {
  background: url('img/arrow-right-big--light.png');
  opacity: .4;
  transition: all .3s ease;
}

body .owl-theme .owl-controls .owl-buttons div.owl-next:hover {
  opacity: 1;
}


/* ------------------------------------------------------------------------- */
/* Fix list gallery posts */
/* ------------------------------------------------------------------------- */

@media screen and (min-width: 992px) {
  .home .blog-post .blog-post-thumb img {
    height: 250px;
    width: auto;
  }

  .blog-post-list-layout.blog-post .blog-post-thumb {
    height: auto;
  }
}


/* ------------------------------------------------------------------------- */
/* Language selector */
/* ------------------------------------------------------------------------- */

.wpml-language-select {
  display: none;
}

.header-menu .wpml-language-select li ul a {
  min-width: 0;
  text-align: left;
}

.wpml-ls-legacy-dropdown {
  width: auto;
}

@media screen and (min-width: 992px) {
  .header-menu .wpml-language-select li ul a {
    text-align: right;
  }
}

@media screen and (max-width: 991px) {
  .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle {
    padding-left: 0;
  }
}


/* ------------------------------------------------------------------------- */
/* Facebook video */
/* ------------------------------------------------------------------------- */

.fb-video-fix {
  max-width: 70% !important;
  margin: 0 auto;
}
