/* Override Blog */

.page-template-template-blog #page-sub-header .breadcrumb {
  display: none !important;
}

.page-template-template-blog header,
.single-post header {
  margin-bottom: 0px;
}

.page-template-template-blog #page-sub-header h1 {
  display: none !important;
}

.page-template-template-blog .full-height,
.single-post .full-height {
  height: 80vh;
}

.page-template-template-blog section#primary,
.single-post section#primary {
  padding: 0px;
}

.page-template-template-blog #page-sub-header,
.single-post #page-sub-header {
  background-color: #f4f4f4 !important;
  padding: 0px;
}

.page-template-template-blog #page-sub-header .breadcrumb,
.single-post #page-sub-header .breadcrumb {
  text-align: left;
  color: #3b3939;
  font-size: 16px;
}

.page-template-template-blog #page-sub-header .breadcrumb a,
.single-post #page-sub-header .breadcrumb a {
  color: #3b3939;
  font-size: 16px;
}

.page-template-template-blog #page-sub-header .breadcrumb i,
.single-post #page-sub-header .breadcrumb i {
  color: #3b3939;
  font-size: 16px;
}

.header__blog h2 {
  font-size: 90px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 0px;
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 0px;
}

.header__blog p {
  font-size: 18px;
  color: #000;
  font-weight: 500;
  margin-bottom: 50px;
}

.hero__post {
  padding: 0px !important;
  margin: 0px !important;
  background: #efefef;
}

.block__newsletter {
  background: #0088ce;
  padding-bottom: 60px;
  background-image: url(/wp-content/themes/comac/inc/assets/img/background__newsletter-blog.png);
}

.hero__post-container-inner-block .block__post-link {
  background: #0088ce;
  color: #ffff;
  padding-left: 30px;
}

.block__cat-list a {
  background: #0088ce;
  padding: 10px 10px;
  min-width: auto;
  display: block;
  border-radius: 30px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  margin: 10px 0;
}

.block__cat-list.row {
  padding: 0 !important;
}

.block__cat-list .row {
  padding: 0 !important;
}

.block__cat {
  margin-top: 60px;
}

.block__search {
  background: #0088ce;
  padding-left: 30px;
  background-image: url(/wp-content/themes/comac/inc/assets/img/background__search-block.png);
  padding-top: 30px;
  padding-bottom: 60px;
}

.block__search h3 {
  color: #fff;
  font-size: 25px;
  margin-top: 35px;
}

.block__search .search-field.form-control {
  min-width: 300px;
}

.block__search input.search-submit.btn.btn-default {
  position: relative;
  margin-left: -75px;
  margin-top: -5px;
}

.block__post-image {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(/wp-content/themes/comac/inc/assets/img/placeholder__article-img.png);
}

.block__post-inner {
  box-shadow: 0 0.125rem 0.375rem rgb(0 0 0 / 5%),
    0 0.5rem 1.2rem rgb(0 0 0 / 10%) !important;
  position: relative;
  overflow: hidden;
}

.block__post-hidden-link {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 99;
  top: 0;
}

.block__post-inner-content {
  padding: 15px;
}

.block__post {
  margin: 30px 0;
}

.block__post-inner-content h3 {
  min-height: 120px;
  font-size: 20px;
  line-height: 30px;
  margin-top: 0px;
}

.block__post-inner-content h3 a {
  color: #000;
}

.block__post-inner-content small {
  margin-bottom: 10px;
  margin-top: 5px;
  display: block;
}

.block__post-link {
  color: #808080;
  margin-bottom: 15px !important;
  display: block;
}

.pagination {
  text-align: right;
  float: right;
  width: 100%;
  display: block;
  padding-right: 15px;
}

.pagination .page-numbers {
  padding: 7px 13px;
  background: #999999;
  margin-right: 3px;
  color: #fff;
  font-weight: bold;
}

span.page-numbers.current {
  background: #0088ce;
}

.block__newsletter h3 {
  display: block;
  position: relative;
  font-size: 40px;
  color: #fff;
  font-weight: bold;
  padding-top: 90px;
}

.block__newsletter p {
  color: rgb(255 255 255 / 60%);
  font-weight: 300;
  max-width: 75%;
  margin-bottom: 0px !important;
}

input[type='text'],
input[type='email'],
select {
  min-height: 50px;
  width: 90%;
  padding-left: 10px;
  border-radius: 5px;
}

textarea {
  padding: 15px;
  width: 90%;
}

.block__newsletter-acceptance {
  margin-top: 0px !important;
  padding-top: 0px !important;
}

span.wpcf7-list-item {
  margin-left: 0px;
}

.block__newsletter-acceptance span.wpcf7-list-item .wpcf7-list-item-label {
  padding-left: 5px;
  font-size: 14px;
  color: rgb(255 255 255 / 60%);
}

.block__newsletter-data {
  padding-top: 0px !important;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
  background: #fff;
  border: 0px;
  border-radius: 20px;
  color: #000;
  padding: 10px 30px 10px 30px;
  font-size: 14px;
}

.hero__post-container {
  height: 100%;
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: 100%;
  position: relative;
  overflow: hidden;
}

.hero__post-container-inner {
  background: #fff;
  width: 40%;
  position: absolute;
  top: 20%;
  left: 15%;
  min-height: 200px;
}

.hero__post-container-inner {
  padding: 30px 60px;
}

.hero__post-container-inner-block h3 a {
  color: #000;
  font-size: 40px;
  line-height: 40px;
}

.hero__post-container-inner-block small {
  font-size: 16px;
}

.block__post-link {
  display: inline-block;
  padding: 5px 30px;
  border-radius: 20px;
  color: #666;
  padding-left: 0px;
  font-size: 16px;
}

.single #content.site-content {
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-top: 0px !important;
}

.single .single__related {
  background: #efefef;
}

.single-post .single__form {
  background-image: url(../img/background__newsletter-blog.png);
}

.single__sidebar h3 {
  text-transform: uppercase;
  font-size: 14px;
}

.single__sidebar-list a:before {
  content: '>';
  margin-right: 5px;
  font-weight: bold;
  color: #0088ce;
  font-size: 8px;
  position: relative;
  bottom: 2px;
  content: '\f054';
  font-family: 'Font Awesome 5 Free';
}

.single__sidebar-list a {
  color: #000;
}

.single__sidebar-list a:hover {
  text-decoration: none;
}

.block__allposts .post__date {
  background: transparent !important;
  color: #999999 !important;
  padding-left: 0 !important;
}

.single-post h1 {
  color: #0088ce;
  font-size: 45px;
  font-weight: bold;
}

.single-post .post__date {
  background: #999999;
  color: #fff;
  padding: 10px 15px;
}

.block__inputs {
  padding-bottom: 30px;
}

.single__form h2 {
  color: #fff;
  font-size: 40px;
  padding-bottom: 0px;
}

.single__related h2 {
  color: #000;
  font-size: 40px;
  padding-bottom: 0px;
}

.single__form p {
  color: rgb(191 191 191 / 90%);
  font-weight: 300;
}

.single__form h2:before {
  content: 'Contattaci';
  position: absolute;
  transform: rotate(270deg);
  margin-left: -85px;
  margin-top: 40px;
  font-size: 12px;
  text-transform: uppercase;
  background: #0088ce;
  font-weight: 300 !important;
  padding: 10px 15px;
}

.block__newsletter h3:before {
  content: 'Newsletter';
  position: absolute;
  transform: rotate(270deg);
  margin-left: -85px;
  margin-top: 25px;
  font-size: 12px;
  text-transform: uppercase;
  background: #0088ce;
  font-weight: 300 !important;
  padding: 5px 15px;
}

.single__related-allposts {
  text-align: center;
}

.single__related-allposts a {
  background: #0088ce;
  border-radius: 20px;
  color: #fff;
  padding: 10px 30px 10px 30px;
  font-size: 14px;
  display: inline-block;
}

.header__blog {
  background: #0088ce;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__search-block {
  text-align: center;
}

.hero__search-block form.search-form {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__search-block h2 {
  font-size: 35px;
}

.hero__search-block input.search-field.form-control {
  border: none;
  background: #0088ce;
  color: #ffffff;
  min-width: 460px;
}

.hero__search-block input.search-field.form-control::placeholder {
  color: #ffffff;
}

.hero__search-block input.search-submit.btn.btn-default {
  background: #0088ce;
}

.hero__search-inner {
  display: flex;
  max-width: 460px;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero__search-inner .search-submit {
  position: absolute;
  right: 15px;
  background: transparent;
}

/* Responsive */

@media (max-width: 480px) {
  .hero__search-inner {
    max-width: 100%;
    width: 100%;
  }
  .hero__search-block input.search-field.form-control {
    min-height: 50px;
    font-size: 15px;
    min-width: 100%;
  }
  .single-post section#primary {
    width: 100% !important;
    max-width: 100%;
    flex: 0 0 100%;
  }
  .single-post h1 {
    font-size: 35px;
  }
  .single__sidebar {
    display: none;
  }
  .block__newsletter h3 {
    line-height: 50px;
  }
  .block__newsletter-data .col-md-6 {
    margin-bottom: 15px;
  }
}
