/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

:root {
  --primary-color: #d2232a;
  --secondary-color: #808080;
  --title-size: 3rem;
  --title-size-sm: 2rem;
}

/**--------------------------------------
Header 
--------------------------------------**/
header:is(:not(.sticky)) nav.main_menu > ul > li > a {
  padding: 0 54px;
}

.search_button i {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

header:is(:not(.sticky)) .search_button i {
  transform: translate(-46px, -5px);
}

header:is(.sticky) .search_button {
  margin-left: 1rem;
  transform: translateY(-5px);
}

.search_button i:hover {
  color: var(--primary-color);
}

header:is(:not(.sticky)) .main_menu_header_inner_right_holder {
  text-align: left;
  padding: 20px 5%;
}

header:is(.sticky) .main_menu_header_inner_right_holder {
  margin-right: 1.5rem;
}

/**--------------------------------------
Header mobile
--------------------------------------**/
@media screen and (max-width: 640px) {
  .container_inner {
    padding: 1rem;
  }

  .q_logo a{
    height: 60px !important;
  }

  .mobile_menu_button, header.centered_logo .logo_wrapper {
    height: 65px !important;
  }

  
  .mobile_menu_button i{
    font-size: 1.75rem !important;
    color: var(--secondary-color);
  }
}


@media screen and (min-width: 640px) {
  .content .container .container_inner.default_template_holder, 
  .content .container .container_inner.page_container_inner {
    padding-top: 250px;
  }
}


/**--------------------------------------
Footer 
--------------------------------------**/
.footer_top {
  padding-bottom: 40px;
}

.footer_top_holder .footer_top .container_inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer_top_holder .footer_top .container_inner img {
  width: 80px;
}

.footer_top_holder .footer_top .container_inner .widget_nav_menu {
  width: 100%;
  padding-left: 15%;
  padding-right: 15%;
}

.footer_top_holder .footer_top .container_inner .widget_nav_menu .menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
}
.footer_top_holder .footer_top .container_inner .widget_nav_menu .menu li {
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer_top_holder .footer_top .container_inner .widget_nav_menu .menu li a {
  font-size: 1.25rem;
}

.footer_top_holder
  .footer_top
  .container_inner
  .widget_nav_menu
  .menu
  li
  a:hover {
  color: var(--primary-color) !important;
  text-decoration: underline;
}

.footer_bottom  p{
  font-size: .8rem !important;
}

.widget_text {
  width: 100%;
  text-align: center;
}

.widget_text p {
  width: 100%;
  text-align: center !important;
}

body.single p.has-text-align-center {
  text-align: center !important;
}

@media screen and (max-width: 640px) {
  .footer_top {
    padding-top: 40px;
  }

  .footer_top_holder .footer_top .container_inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer_top_holder .footer_top .container_inner img {
    width: 80px;
  }

  .footer_top_holder .footer_top .container_inner .widget_nav_menu .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer_top_holder .footer_top .container_inner .widget_nav_menu .menu li a {
    font-size: 2rem;
  }

  .footer_bottom_holder {
    padding-bottom: 1.5rem;
    padding-top: 1rem;
  }
}

.footer-quote {
  font-size: 42px !important;
  line-height: 46px !important;
}

@media screen and (max-width: 640px) {
  .footer-quote {
    font-size: 36px !important;
    line-height: 40px !important;
  }
}

/****
Type
****/
.headline-border h2 {
  position: relative;
  font-family: "Tiffany Laurence Italic", sans-serif;
}

.headline-border h2::before {
  content: "";
  width: calc(50% - 90px);
  border-top: 1px solid #000;
  position: absolute;
  display: block;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.headline-border h2::after {
  content: "";
  width: calc(50% - 90px);
  border-top: 1px solid #000;
  position: absolute;
  display: block;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
}

/** page title **/
.title_holder {
  padding-top: 320px !important;
  background: none;
}

.title_holder h1 {
  color: var(--primary-color);
  font-size: var(--title-size) !important;
  text-transform: uppercase !important;
}

.title {
  background: none !important;
}

/** post header **/

.entry_header {
  padding: 2.5rem 0;
  text-align: center;
}

.entry_category {
  text-transform: uppercase;
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.entry_category a{
  color: var(--secondary-color);
}

.entry_category a:hover{
  color: var(--primary-color);
  text-decoration: underline;
}

.entry_title {
  font-family: "Tiffany Laurence", serif !important;
  text-transform: uppercase;
  color: var(--primary-color) !important;
  font-size: var(--title-size) !important;
}

.entry_excerpt {
  font-family: "Tiffany Laurence Italic", serif;
  font-size: 1.25rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.entry_author {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.blog_single .entry_author {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

body.single p,
body.single li {
  text-align: justify !important;
}

.archive .blog_holder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}

/** thumbnail **/
.blog_holder {
  text-align: center !important;
}

.blog_holder article {
  margin-bottom: 0 !important;
}

.blog_holder .entry_title {
  color: var(--primary-color);
  font-size: var(--title-size-sm) !important;
  font-family: "Tiffany Laurence", serif !important;
  text-transform: uppercase !important;
  text-align: center !important;
  line-height: 2rem !important;
  margin-bottom: 1rem;
}

.blog_holder .entry_title a {
  font-family: "Tiffany Laurence", serif !important;
  color: var(--primary-color);
  font-size: var(--title-size-sm) !important;
  text-transform: uppercase !important;
}

.blog_holder .entry_title a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 640px) {
  .archive .blog_holder {
    grid-template-columns: 1fr;
  }

  .blog_holder .entry_title {
    font-size: var(--title-size-sm) !important;
    line-height: 2.5rem !important;
  }
}

.columns-1 article .post_content_holder {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
}

.columns-1 article .post_content_holder .post_image {
  min-width: 50%;
}

.columns-1 article .post_content_holder .post_text_inner {
  padding: 2rem !important;
}

.grid-article-reverse .columns-1 article .post_content_holder {
  flex-direction: row-reverse;
}

@media screen and (max-width: 640px) {
  .columns-1 article .post_content_holder {
    display: flex;
    flex-direction: column;
  }
}


/** form **/

.wpcf7-text, .wpcf7-email, .wpcf7-textarea {
  border: 1px solid #000 !important;
}

.wpcf7-form-control-wrap {
  margin-bottom: 2rem !important;
}

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

input.wpcf7-form-control.wpcf7-submit {
  margin-top: 1rem !important;
  border-radius: none !important;
  margin: auto !important;
  text-align: center;
  background: #000;
  border: none !important;
  color: #fff !important;
  border-radius: none !important;
  font-family: "Tiffany Laurence", serif !important;
} 


/** archivio **/
.archivio-correlati {
  max-width: 1100px;
  margin: 3rem auto;
}

h2 {
  text-align: center !important;
  color: #000;
  font-family: "Tiffany Laurence Italic", serif !important;
  text-transform: initial;
}

.headline-border {
  margin-bottom: 1rem;
}

.pagination {
  width: 100%;
  grid-column: 1/-1;
}

/*** carousel ***/
.owl-content {
  text-align: left;
  font-family: "Tiffany Laurence", serif !important;
}

@media screen and (min-width: 640px) {
    .owl-content {
      padding-right: 60%;
    }
}
