
body { background-color: #ed1a3b } 

#page-wrapper { margin: 0 auto }
.main-content,
.container { width: 100%; max-width: 100%; padding: 0; }
.layout--pass--content-medium > * .layout--pass--content-narrow > * { grid-column: 1/11 }
.site-footer { padding: 30px 5px 0; border: solid 5px #000; border-color: transparent; border-radius: 76%/77px 77px 0 0; padding-top: 39px; margin: -49px 0 0 0;}

.site-header__fixable { 
  height: 180px;
  background: url(/themes/contrib/olivero/images/bg-header.jpg) center; 
  background-size: cover;
}
  .site-header__initial { display: none } 
  .site-header__initial { background: #ed1a3b; }
  #block-olivero-site-branding { background: none; }
  #site-header__inner { background: none; padding: 0 30px }
    #site-header__inner .mobile-nav-button { 
      padding-right: 1.125rem;
      padding-top: 0.4rem;
      border-radius: 5px 5px 0 0;
      background: #fff;
      outline: 0;
    }

.social-bar { background-color: #fff }

h1.page-title { font-size: 2rem }
.view-repair-state-region-pages h1 a {font-size: 30px;line-height: 40px;text-decoration: none;color: #000;text-align: center;display: block; }

.messages__container .messages__header { position: absolute; top: 10px; }

.block-field-blocknodeproductfield-youtube .media-oembed-content { margin: 0 auto; }
.block-field-blocknodeproductfield-image .primary-image { text-align: center }
  .block-field-blocknodeproductfield-image .primary-image > .field__item { margin: 20px 20px 0 0; display: inline-block }
.block-field-blocknodeproductfield-product-options { text-align: center }
.block-field-blocknodeproductfield-product-options .field__item { width: 30%; display: inline-block; min-width: 270px; margin: 0 0 9px; border: 1px solid #ccc; padding: 9px; border-bottom: 5px double; box-shadow: 0 0 1px}

.block-field-blocknodeservice-repairfield-image img { float: left; padding: 4px; }

/* header menu */
#block-headerinfo { position: absolute; right: 1em; top: 20px; text-align: right; }
#block-headerinfo a { text-decoration: none; color: #fff; outline: none; font-size: 16px; box-shadow: none; background: rgba(230, 0, 18, .6); border-radius: 5px; padding: 0 2px; line-height: 35px;}

.primary-nav__button-toggle { position: absolute; width: 100% }
  .primary-nav__button-toggle .icon--menu-toggle { display: none }

@media only screen and (max-width: 500px) {
  .mobile-nav-button[aria-expanded="true"] { background: 0 !important; color: transparent } 

  .mobile-buttons { margin-top: 2.25rem }
  .mobile-nav-button { width: 99px }
  .mobile-nav-button__label { position: static; overflow: visible; clip: auto; width: auto; height: auto; letter-spacing: 0.05em; font-size: 0.875rem; font-weight: 600; padding-right: 5px }

}


/* Frontpage about */
.view-id-frontpage .view-header { text-align: center; margin: 0}
.view-id-frontpage .view-header > div {
  width: 47%;
  display: inline-block;
  padding: 0 1%;
  vertical-align: top;
}
  .view-id-frontpage .view-header h5 { margin: -27px 0 0; background: rgba(0,0,0,.6); position: relative; color: #fff; font-size: 13px }
  .view-id-frontpage .view-header #about-repair { cursor: pointer; }

/* Reviews Block */
.view-recent-reviews { padding: 0 9px; max-width: 800px; margin: 40px auto; line-height: 30px; }
.block-views h2.block__title { line-height: 2rem; font-size: 1.5rem; font-weight: bold; margin: 20px 0; display: block; }
  .block-views-blocktaxo-states-block-block-1 h2.block__title {font-size: 1rem}
.view-recent-reviews .views-field-field-avatar { float: left; padding: 0 9px 0 0; }
.view-recent-reviews li { list-style: none; margin: 0 0 33px; }


/* Contact Page */
.form-item-duration { opacity:33%; float: right; width: 99px }

/* AIBOT start */
#ai-container {
  color: #fff;
  background: #000;
  width: 280px;
  position: fixed;
  bottom: 0;
  box-sizing: border-box;
  right: 20px;
  box-shadow: 0 0 25px #777;
  z-index: 99;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

#ai-container h3 {
  background-color: #e60012;
  font-size: 17px;
  color: inherit;
  padding: 5px 10px 0;
  margin: 0;
}

#ai-container h3 em {
  cursor: pointer;
  position: absolute;
  left: 0;
  width: 280px;
  text-align: right;
  display: block;
  top: 0;
  height: 37px;
  padding: 3px 9px 0 0; 
}

#ai-container h3 img { padding: 9px 0 0 0; float: right }

#ai-container #convo {
  clear: both;
  padding: 0 5px 0 0;
  height: 0px;
  overflow: auto;
  background-color: #ffffff;
  margin: 0;
  transition: all 2s ease-in-out;
  opacity: 0;
}
#ai-container #convo.showit { opacity: 1; height: 190px; }

#ai-container li.message.auto {
  clear: both;
  background-color: #f1f0f0;
  color: #4c4f56;
  padding: 5px 8px 4px;
  border-radius: 9px 9px 0 9px;
  overflow: hidden;
  margin: 3px 0 15px 4px;
}

#ai-container li.message img {
  float: left;
  margin: 0 5px 5px 0;
}

#ai-container li.message.user {
  text-align: right;
  background-color: #4771ff;
  color: #fff;
  display: inline-block;
  padding: 5px 8px 4px;
  float: right;
  clear: both;
  margin: 0 0 15px 23px;
  border-radius: 9px 9px 0 9px;
}

#ai-container #sendMessage {
  display: none;
  background-color: #e60012;
  padding: 0 0 25px;
}

#ai-container #typing {
  display: none;
  color: #4c4f56;
  padding-left: 8px;
  font-size: 11px;
}

#ai-container #typing.on {
  display: block;
}

#ai-container input#input-text {
  border: 2px solid #c9d0da;
  border-top-width: 1px;
  border: 0;
  width: 100%;
  height: 100%;
  padding: 0 10px 10px;
  box-sizing: border-box;
  height: 24px;
  color: black;
  background:#eee;
  border-radius: 0;
}

#ai-container input#input-text:focus {
  outline: none;
}



@import  url(https://fonts.googleapis.com/css?family=Montserrat);

$button-bg-color: #348AA7;
$button-border-color: #166E84;




.button{
  display: inline-block;
  padding: 15px;
  margin-right: 5px;
  height: 50px;
  min-width: 100px;
  background: $button-bg-color;
  border: none;
  outline: none;
  color: white;
  font-family: inherit;
  font-weight: 400;
  font-size: 20px;
  border-radius: 3px;
  box-shadow: 0 5px 0px darken($button-bg-color,0%);
  border-bottom: 2px solid darken($button-bg-color,3%);

  &:hover{
    background: darken($button-bg-color,5%);
    box-shadow: 0 4px 1px darken($button-bg-color,5%);
    border-bottom: 2px solid darken($button-bg-color,8%);
    transition: all 0.1s ease-in;
  }

  &:active{
    transform:translateY(4px);
    border-bottom-width: 2px;
    box-shadow: none;
  }
}

.button1, .button2, .button3 {
  font-size 20px;
  padding: 25px;
  border: 2px solid white;
  color:black;
}

.button1:hover, .button2:hover, .button3:hover{
  background-color:#FAF9F6;
  color:black;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.button1:active, .button2:active, .button3:active {
  background-color: white;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}
.button3{
  display:block;
  margin: 11px auto 0 auto;

}


/* AIBOT end */


/* TIMELINE FRONTPAGE */
.timeline {
  list-style: none;
  padding: 0;
  position: relative;
}
.timeline:before {
  top: 0;
  bottom: 0;
  position: absolute;
  content: "";
  width: 2px;
  background-color: #f1f1f1;
  left: 40px;
  margin-left: -1.5px;
}
.timeline > li {
  margin-bottom: 50px;
  position: relative;
  min-height: 50px;
}
.timeline > li:before,
.timeline > li:after {
  content: " ";
  display: table;
}
.timeline > li:after {
  clear: both;
}
.timeline > li .timeline-panel {
  width: 100%;
  float: right;
  padding: 0 20px 0 100px;
  position: relative;
  text-align: left;
}
.timeline > li .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline > li .timeline-image {
  left: 0;
  margin-left: 0;
  width: 80px;
  height: 80px;
  position: absolute;
  z-index: 100;
  background-color: #fed136;
  color: white;
  border-radius: 100%;
  border: 7px solid #f1f1f1;
  text-align: center;
}
.timeline > li .timeline-image h4 {
  font-size: 10px;
  margin-top: 12px;
  line-height: 14px;
}
.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  text-align: left;
  padding: 0 20px 0 100px;
}
.timeline > li.timeline-inverted > .timeline-panel:before {
  border-left-width: 0;
  border-right-width: 15px;
  left: -15px;
  right: auto;
}
.timeline > li.timeline-inverted > .timeline-panel:after {
  border-left-width: 0;
  border-right-width: 14px;
  left: -14px;
  right: auto;
}
.timeline > li:last-child {
  margin-bottom: 0;
}
.timeline .timeline-heading h4 {
  margin-top: 0;
  color: inherit;
}
.timeline .timeline-heading h4.subheading {
  text-transform: none;
}
.timeline .timeline-body > p,
.timeline .timeline-body > ul {
  margin-bottom: 0;
}

#block-aboutus { display: none; margin: -39px 0 0 0; flex-basis: 100%; border: solid 5px #000; border-color: transparent; border-radius: 76%/77px 77px 0 0; padding-top: 39px; background: #ed1a3b;}
.path-frontpage #content h2.block__title { font-size: 40px; color: #666; background: #fff; padding: 66px 0; line-height: 40px; margin: 0; text-align: center }
.path-frontpage h2.block__title { font-size: 40px; color: #fff; background: #ed1a3b; padding: 66px 0; line-height: 40px; margin: 0; text-align: center }

ul.timeline { margin: 0; border-top: 30px solid #ed1a3b; border-bottom: 30px solid #ed1a3b; background: #ed1a3b; color: #fff }
.timeline>li .timeline-image { border-radius: 9px; width: 100px; height: 100px; margin-left: 5px }
.timeline>li.timeline-inverted>.timeline-panel,
.timeline>li .timeline-panel { padding-left: 115px; }

@media (min-width: 768px) {
  .timeline:before { left: 50%; }
  .timeline > li { margin-bottom: 100px; min-height: 100px; }
  .timeline > li .timeline-panel { width: 41%; float: left; padding: 0 20px 20px 30px; text-align: right; }
  .timeline > li .timeline-image { width: 100px; height: 100px; left: 50%; margin-left: -50px; }
  .timeline > li .timeline-image h4 { font-size: 13px; margin-top: 16px; line-height: 18px; }
  .timeline > li.timeline-inverted > .timeline-panel { float: right; text-align: left; padding: 0 30px 20px 20px; }
}
@media (min-width: 992px) {
  .timeline > li { min-height: 150px; }
  .timeline > li .timeline-panel { padding: 0 20px 20px; }
  .timeline > li .timeline-image { width: 150px; height: 150px; margin-left: -75px; }
  .timeline > li .timeline-image h4 { font-size: 18px; margin-top: 30px; line-height: 26px; }
  .timeline > li.timeline-inverted > .timeline-panel { padding: 0 20px 20px; }
}
@media (min-width: 1200px) {
  .timeline > li { min-height: 170px; }
  .timeline > li .timeline-panel { padding: 0 20px 20px 100px; }
  .timeline > li .timeline-image { width: 170px; height: 170px; margin-left: -85px; }
  .timeline > li .timeline-image h4 { margin-top: 40px; }
  .timeline > li.timeline-inverted > .timeline-panel { padding: 0 100px 20px 20px; }
}

/* Recent Projects FRONTPAGE */
#block-views-block-recent-projects-block-1 { padding: 0 5px; margin: 0; flex-basis: 100%; background: #ed1a3b; color: #fff; }
  #block-views-block-recent-projects-block-1 h3 { margin: 0 0 9px}
  #block-views-block-recent-projects-block-1 .views-view-grid__item-inner a { color: #fed136; text-decoration: none; font-weight: bold }
    #block-views-block-recent-projects-block-1 img {width: 100% }

/* Media FRONTPAGE */
#block-mediafront { display: none; margin: 0; padding: 20px 0 0; background: #ed1a3b; }
#block-mediafront .col-sm-4 { width: 33.33%; float: left }
#block-mediafront .row { overflow: hidden; max-width: 800px; margin: 0 auto;}
  .team-member { text-align: center; margin-bottom: 50px; }
  .team-member img { margin: 0 auto; border: 7px solid white; }
  .team-member h4 { margin-top: 25px; margin-bottom: 0; text-transform: none; }
  .team-member p { margin-top: 0; }

/* Repairs page */

.view-repairs > .view-content { display: flex; flex-wrap: wrap; gap: 9px; clear: both; justify-content: space-around }
	.view-repairs > .view-content .views-row { width: 23%; text-align: center }
	.view-repairs > .view-content .views-row a { text-decoration: none }
	.view-repairs > .view-content img { margin: 22px auto  }

	form#views-exposed-form-repairs-page-1 { display: none } 
	form#views-exposed-form-repairs-page-1 .form-item > div { display: flex; flex-wrap: wrap; justify-content: space-around; } 
          form#views-exposed-form-repairs-page-1 .form-item > div label { cursor: pointer; display: flex; justify-content: center; flex-direction: column; width: 130px; margin: 9px; padding: 0; text-align: center; background: #eee;} 
          form#views-exposed-form-repairs-page-1 .form-item > div label:hover,
          form#views-exposed-form-repairs-page-1 .form-item > div label.check { background: #999 } 

/* services + product pages */
.block-views-blocktaxo-states-block-block-1 .block__content { background: #eee; padding: 15px; height: 119px; overflow-y: scroll; }

/* media -- prices */
@media only screen and (max-width: 699px) {
  .paragraph--type--price .layout__region--second { position: absolute; left: 110px; overflow: hidden; height: 89px; background: #eee; padding: 5px; width: 64%; margin: 0; z-index: 1; transition: 1s all; border-radius: 9px; font-size: 12px; line-height: 19px; min-width: 199px; max-width: 330px; }

  h1.page-title { font-size: 1rem; text-align: center; display: block; margin: 0; line-height: 1.1rem }
  .media-oembed-content { height: 180px; margin: 0 0 20px; }
  .block-field-blocknodeservice-repairfield-image img { width: auto; height: 60px; margin: 0 0 9px }

} 


/* repair states page */
.view-repair-state-region-pages .views-field-field-image .media--type-image { display: inline-block; margin: 0 0 20px; }
