/*
Theme Name: Construction Child
Theme URI: http://www.wpcharming.com
Description: Construction Child Theme
Author: WPCharming
Author URI: http://www.wpcharming.com
Template: construction
Version: 6.6.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpcharming
Tags:two-columns, left-sidebar, right-sidebar, light, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, flexible-header, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

@media(max-width: 768px) {
    #masthead > .header-wrap > .container {
        height: 80px;
    }

    .header-topbar #nav-toggle {
        top: 50%;
        transform: translateY(-50%);
    }

    .header-topbar .site-header .site-branding img {
        margin-top: 0 !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .wpc-menu.wpc-menu-mobile {
        top: 70px !important;
    }

    .topbar-inner.clearfix {
      display: none;
    }

    .force-center .text-right {
        text-align: center;
    }

    .force-center .wpb_wrapper, .force-center .custom-heading {
        margin-bottom: 0 !important;
    }

    .center-this-row .wpb_single_image {
        display: flex !important;
    }

    .center-this-row * {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
}

.venue-badges-list {display:flex;width:fit-content;}
.venue-badges-list img {width:72px!important;height:72px!important;}
.venue-badges-item {margin-left: -55px;}
.vb1 {order:7;z-index:1;}
.vb2 {order:6;z-index:2;}
.vb3 {order:5;z-index:3;}
.vb4 {order:4;z-index:4;}
.vb5 {order:3;z-index:5;}
.vb6 {order:2;z-index:6;}
.vb7 {order:1;z-index:7;}

/* Page Archive */
.term_loop, label, select {
  display:block;
}

.center {
  margin: auto;
}
.center .entry-content{
  display: flex;
  flex-wrap: wrap;
}

.articlePost{
    width:32%;
    margin-bottom:20px;
    padding-bottom:20px;
    display: flex;
    flex-direction: column;
    margin-right:1.3%;
}


.articlePost .postText{
    width:100%;
}
.articlePost .postText p{
  margin-bottom:0;
  font-size:15px;
  border-bottom:1px solid silver;
  padding:4px 0;
}
.articlePost .postText p span{
  font-weight:bold;
}
.articlePost .postText .entry-title{
   font-size:20px;
   border-bottom:1px solid silver;
   padding:10px 0;
}

.articlePost .postImg{
  width:100%;
}
.articlePost .postImg img{
  width:100%;
  height:206px;
}
@media only screen and (max-width: 1000px) {
  .articlePost{
    width:49%;
    margin-right:1%;
  }
  .articlePost .postImg img{
    height:300px;
  }
}
@media only screen and (max-width: 700px) {
  .articlePost{
    width:100%;
    margin-right:0;
  }
}
.clear{
  clear:both;
}
.term_loop input{
    height:40px;
    width:70px;
    padding:2px;
    margin-left:10px;
}

.term_loop{
    width:100%;
    padding:20px;
    border:1px solid #e0e0e0;
    margin-bottom:20px;
}

.term_loop select {
  width: 500px;
}

/* Reference section */
.reference-section {
  margin-bottom: 115px;
}
.reference-section h2 {
  margin-bottom: 50px;
  font-size: 40px;
  text-align: center;
}
@media screen and (max-width: 991px) {
  .reference-section h2 {
    font-size: 30px;
  }
}
@media screen and (max-width: 991px) {
  .reference-section {
    margin-bottom: 50px;
  }
}
.reference-wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 80px;
}
@media screen and (max-width: 640px) {
  .reference-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 20px;
  }
}
.single-reference {
  width: 31.5%;
}
.single-reference h3 {
  margin-bottom: 13px;
}
.single-reference ul {
  width: 80%;
  margin-bottom: 20px;
  list-style:none;
  padding: 0;
  margin: 0;
}
.single-reference ul li {
  padding: 10px 0;
  border-bottom: 1px solid #d3d3d3;
}
.single-reference ul li:first-child {
  border-top: 1px solid #d3d3d3;
}
.single-reference span {
  margin-right: 7px;
  font-weight: bold;
}
@media screen and (max-width: 640px) {
  .single-reference {
    width: 100%;
    margin-bottom: 40px;
  }
}
.site-button {
  display: block;
  width: 31.5%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  text-transform: uppercase;
  background: #222744;
  color: #fff;
}
@media screen and (max-width: 991px) {
  .site-button {
    font-size: 13px;
  }
}
@media screen and (max-width: 640px) {
  .site-button {
    width: initial;
  }
}
/* Reference section end */

/* Footer */
.container-wrap {
  width: 100%;
}

.site-footer {
  padding: 100px 0 30px;
}

.footer-row {
  display: flex;
  margin-bottom: 60px;
}

.footer-text {
  max-width: 480px;
  width: 100%;
}

.footer-text-content {
  max-width: 300px;
  width: 100%;
}

.footer-title {
  display: block;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.footer-item-group {
  padding: 0 23px;
  width: 33%;
}

.footer-links {
  display: flex;
  width: 100%;
}

.footer-links-item > span {
  display: block;
}

.footer-links-item-text {
  display: inline-block;
  margin-right: 5px;
  font-weight: bold;
}

.footer-links-email {
  display: block;
  margin: 10px 0;
}

.footer-social-icon {
  display: inline-block;
  margin-right: 10px;
}

.footer-social-icon:hover {
  text-decoration: none !important;
}

.footer-social-icon::before {
  font-size: 20px;
}

.box{
    width: 33%;
    float: left;
}
.box h3{
    color:white;
    font-size: 15px;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.1px;
    font-weight: 500;
}
.box ul{
    list-style: none;
    padding:0px;
}
.box ul li {
    font-size: 13px;
    line-height: 1.8;
}
.clear{
    clear:both;
}
.line {
  border-top: solid 1px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.box a {
  text-decoration: underline;
}

.site-info-wrapper {
  background-color: #dfdfdf; 
  color: #222744;
}
#menu-footer a {
  color: #222744;
}

@media screen and (max-width: 1199px) {
  .footer-row {
    flex-direction: column;
  }
  
  .footer-row:last-child {
    flex-direction: column-reverse;
  }

  .footer-item-group {
    padding: 0 30px 0 0;
  }
  .footer-text-content {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 700px) {
  .site-footer {
    font-size: 12px;
  }
  .footer-links {
    flex-direction: column;
  }

  .footer-item-group {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 15px 0 0;
  }

  .footer-item-group:last-child {
    margin-bottom: 0;
  }

  .footer-row:first-child .footer-item-group:last-child .entry-content {
    column-count: 2;
  }
  .footer-row:nth-child(2) .footer-links {
    flex-direction: row;
  }
  .footer-row:nth-child(2) .footer-item-group:last-child {
    padding-right: 0;
  }
  .footer-row:nth-child(2) .footer-links .footer-title {
    font-size: 15px;
  }
  .footer-row:nth-child(2) .footer-text {
    text-align: center;
  }
}
/* Footer end */

/* Basic template */
.basic-template-wrapper {
  margin-top: 60px;
  margin-bottom: 60px;
}

.basic-template-wrapper h1 {
  margin-bottom: 30px;
  font-size: 45px;
  font-weight: bold;
}

@media screen and (max-width: 1400px) {
  .basic-template-wrapper h1 {
    font-size: 35px;
  }
}

@media screen and (max-width: 991px) {
  .basic-template-wrapper h1 {
    margin-bottom: 20px;
    font-size: 30px;
  }
}

@media screen and (max-width: 640px) {
  .basic-template-wrapper h1 {
    font-size: 26px;
  }
}

@media screen and (max-width: 991px) {
  .basic-template-wrapper {
    margin-top: 35px;
    margin-bottom: 35px;
  }
}

.basic-template {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-bottom: 40px;
}

.basic-template h4 {
  color: #444;
}

@media screen and (max-width: 1250px) {
  .basic-template {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .basic-template .basic-template-content {
    width: 100%;
    margin-bottom: 30px;
  }
  .basic-template .basic-template-sidebar {
    width: 100%;
  }
}

.basic-template-content {
  width: 70%;
}

.basic-template-sidebar {
  width: 27%;
  padding: 40px;
  background-color: #eaeaea;
}

@media screen and (max-width: 640px) {
  .basic-template-sidebar {
    padding: 30px;
  }
}

.basic-template-contact {
  margin-bottom: 70px;
  padding: 45px 0;
  background-color: #eaeaea;
}

.basic-template-contact .site-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 640px) {
  .basic-template-contact .site-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .basic-template-contact .site-container h3 {
    margin-bottom: 20px;
  }
}

.basic-template-contact .site-button {
  margin: initial;
}

@media screen and (max-width: 640px) {
  .basic-template-contact .site-button {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  .basic-template-contact {
    margin-bottom: 35px;
  }
}

.basic-template-sidebar p {
    margin-bottom: -2px;
}

#custom-bar {
    padding-left: 16%;
    padding-right: 16%;
}

/* Basic template end */

/* Dropdown arrow */

.wpc-menu > li {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.nav-toggle-subarrow {
  display: block !important;
}

.nav-toggle-subarrow .fa {
  display: none;
}

.nav-toggle-subarrow {
  width: 20px;
  height: 10px;
  position: relative;
}

.nav-toggle-subarrow::before, .nav-toggle-subarrow::after {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background-color: black;
  transition: transform .2s ease-out, top .2s ease-out, left .2s ease-out;
  position: absolute;
  top: 100%;
}

.nav-toggle-subarrow::before {
  transform: rotate(135deg);
  left: calc(50% + 2px);
  transform-origin: top left;
}

.nav-toggle-subarrow::after {
  transform: rotate(-135deg);
  left: calc(50% - 2px);
  transform-origin: top right;
}

li:hover > .nav-toggle-subarrow::before {
  left: calc(50% + 1px);
  transform: rotate(45deg);
  top: 0;

}

li:hover > .nav-toggle-subarrow::after {
  left: calc(50% - 1px);
  transform: rotate(-45deg);
  top: 0;
}

.header-topbar .wpc-menu > li > a {
  padding-right: 4px;
}

.site-header .header-right-wrap .header-widget {
  margin-bottom: unset;
}

@media only screen and (max-width: 1100px) {
  .nav-toggle-subarrow:before, .nav-toggle-subarrow:after {
    display: none;
  }
}

@media (max-width:1200px) and (min-width:1100px) {
  .header-topbar .wpc-menu > li > a {
    padding-left: 10px;
  }
}​

/* Dropdown arrow end */

/* contact form */

.cf-top-textarea {
  height: 150px !important;
  margin-bottom: 10px !important;
}

.blocker {
  z-index: 100;
}

textarea.wpcf7-form-control.wpcf7-textarea.cf-top-textarea {
  height: 160px;
}

/* contact form end */

/* Mobile menu */

@media only screen and (max-width: 1100px) {
  #masthead {
    background-color: white;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  #masthead .site-branding img {
    height: 30px;
    width: 77px;
  }

  .header-topbar .wpc-menu > li > a {
    background-color: #EFEFEF;
    font-weight: 400;
    color: #5C5C5C;
    padding: 12px 23px;
  }

  .wpc-menu.wpc-menu-mobile a {
    color: #5C5C5C;
    font-weight: 400;
  }

  .wpc-menu.wpc-menu-mobile ul li a {
    padding: 15px 40px;
  }

  .nav-toggle-subarrow .fa {
    display: block;
  }

  .wpc-menu.wpc-menu-mobile .nav-toggle-subarrow {
    color: #222944;
    top: 18px;
    padding: 0;
    right: 35px;
  }

  .wpc-menu.wpc-menu-mobile li {
    border-top: 1px solid #DEDEDE;
  }


  .nav-toggle-subarrow {
    width: 0;
    height: 0;
  }
}

@media screen and (min-width:768px) and (max-width:1100px) {
  .wpc-menu.wpc-menu-mobile {
    top: 45px !important;
  }

  .site-header .header-right-wrap {
    padding: unset;
  }

  .header-topbar .site-header .site-branding img {
    margin-top: unset !important;
  }
}

#post-538 .wpb_wrapper .child-page-wrapper:last-child .clear {
  display: none;
}

@media screen and (max-width:768px) {
  #post-944 .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-direction: column-reverse;
  }

  #post-940 > .entry-content,
  #post-942 > .entry-content {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media screen and (min-width:768px) and (max-width:991px) {
  .grid-wrapper.grid-3-columns.grid-row {
    display: flex;
    flex-wrap: wrap;
  }
}

/* Contact form */

.modal a.close-modal {
  display: none;
}

.modal {
  -webkit-border-radius: unset;
  -moz-border-radius: unset;
  -o-border-radius: unset;
  -ms-border-radius: unset;
  border-radius: unset;
  -webkit-box-shadow: 0 10px 20px #000;
  -moz-box-shadow: 0 10px 20px #000;
  -o-box-shadow: 0 10px 20px #000;
  -ms-box-shadow: 0 10px 20px #000;
  box-shadow: 0 10px 20px #000;
}

.blocker {
  background-color: rgba(34, 39, 68, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.jquery-modal input, .jquery-modal textarea {
  background-color: #EDEFF8;
  border-color: #9B9FBA !important;
  color: #5E6176;
}

.jquery-modal input::placeholder, .jquery-modal textarea::placeholder {
  color: #5E6176;
}

.contact-heading h2 {
  color: #222744;
  font-size: 25px;
  font-weight: 700;
}

.centered-button {
  text-align: center;
  margin-bottom: 40px;
}

.centered-button .cf-submit {
  color: white;
  background-color: #222744;
  font-weight: 400;
  width: 168px;
  text-align: center;
  font-size: 12px;
  padding: 12px 12px;
  box-shadow: 0px 10px 20px #00000029;
}

.uploader-wrapper {
  margin-bottom: 10px !important;
}

.format {
  color: #9B9FBA;
}

.contact-textarea textarea {
  margin-bottom: 15px;
}

.uploader-wrapper span::before {
  content: "Ladda upp fil \00a0 >" !important;
  font-size: 12px !important;
  text-transform: none !important;
  font-weight: 400 !important;
  width: 100%;
  text-align: center;
}

.uploader-wrapper span {
  width: 40% !important;
  height: 30px !important;
  background-color: #717171 !important;
}

.uploader-wrapper label {
  width: 60% !important;
  height: 30px;
  text-align: center;
  font-size: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #EDEFF8;
  color: #9B9FBA;
  box-shadow: 0px 3px 6px #00000029;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

#contact_form_modal {
  margin-top: 70px;
}

@media screen and (max-width:768px) {
  .modal a.close-modal {
    display: block;
    top: 15.5px;
    right: 29.5px;
    background-image: unset;
  }

  .jquery-modal input, .jquery-modal textarea {
    background-color: white;
    border: none !important;
    color: #5E6176;
  }

  .modal {
    background: #EDEFF8;
    vertical-align: unset;
    width: 100%;
  }

  .contact-form-top span {
    width: 100% !important;
  }

  .contact-form-top {
    display: flex;
    flex-direction: column;
  }

  .blocker {
    padding: unset;
  }

  span.wpcf7-form-control-wrap.text-989 + br {
    display: none !important;
  }

  .jquery-modal p {
    margin-bottom: 20px;
  } 

  .contact-form-top span {
    margin-bottom: 20px !important;
  }

  .uploader-wrapper label {
    display: none;
  } 

  .uploader-wrapper span {
    width: 100% !important;
  }

  .mobile-uploader-wrapper {
    display: flex;
  }

  label.format {
    font-size: 12px;
  }

  .mobile-uploader-wrapper p {
    height: 30px;
    width: 48%;
  }

  .uploader-wrapper {
    width: 48%;
  }

  .mobile-uploader-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
  }

  .centered-button {
    margin-bottom: 20px;
  }

  div#contact_form_modal::before {
    content: "x";
    position: absolute;
    right: 30px;
    top: 0;
    font-size: 30px;
    color: #9B9FBA;
  }
}

/* Template page: Service format */

.mobile {
  display: block;
}

.desktop {
  display: none;
}

.service-format-heading {
  font-size: 15px;
  font-weight: 700;
  color: #5E6176;
  text-align: center;
  margin-bottom: 30px;
}

.portfolio-wrapper {
  position: relative;
  margin-bottom: 40px;
}

.image-wrapper {
  position: relative;
}

.image-wrapper img {
  width: 100%;
  height: auto;
}

.portfolio-text {
  display: flex;
  flex-direction: column;
}

.portfolio-text h2 {
  margin-top: 40px;
}

.mobile-container {
  padding: 0px 30px;
}

.porfolio-white h2 {
  margin: 40px 0;
}

.service-format-title {
  color: #222744;
  font-size: 20px;
  font-weight: 700;
  order: 1;
}

.button {
  background-color: #222744;
  border: none;
  color: #fff;
  width: 92px;
  height: 35px;
  font-family: Helvetica;
  box-shadow: 0px 10px 20px #00000029;
  font-size: 12px;
  margin-bottom: 40px;
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 300;
}

.service-format-text {
  color: #5E6176;
  font-size: 14px;
  font-family: 'PT Sans', sans-serif;
  position: relative;
  order: 3;
}

.portfolio-blue {
  background-color: #EDEFF8;
}

.portfolio-white {
  margin-bottom: 40px;
}

.portfolio-blue .small-triangle .triangle1:before {
  background-color: #EDEFF8;
}

.contact-info.mobile {
  position: absolute;
  right: 0;
  bottom: 0;
}

.contact-info strong {
  color: #222744;
}

.contact-info.mobile .contact-box {
  background-color: #fff;
  width: 188px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-info.mobile .contact-box .button {
  margin-bottom: unset;
}

.rating {
  margin-left: 30px;
}

.contact-info .contact-box p {
  color: #9B9FBA;
  font-size: 12px;
  margin: unset;
}

.contact-info.mobile .a {
  fill: #9B9FBA;
}

.phone,
.envelope {
  display: flex;
  align-items: center;
}

.phone {
  margin-bottom: 10px;
}

.phone svg,
.envelope svg {
  margin-right: 13px;
}

/* Triangles */

.small-triangle {
  position: absolute;
  bottom: -58px;
  left: 0;
}

.small-triangle .arrow-up {
  position: absolute;
  top: 0;
  right: 17px;
  width: 20px;
  height: 10px;
  background-color: #222744;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.small-triangle .triangle1:before {
  z-index: 1;
  width: 40px;
  height: 40px;
  background-color: white;
  clip-path: polygon(0% 100%, 100% 0, 0 0%);
  content: '';
  display: block;
}

.small-triangle .tri {
  width: 67px;
  height: 67px;
  position: relative;
}

.small-triangle .triangle1 {
  filter: drop-shadow(5px 5px 8px #0000001A);
  z-index: 1;
  position: relative;
}

.service-format-subtitle {
  font-size: 17px;
  color: #5E6176;
  font-weight: 700;
}

.big-button.button {
  align-items: unset;
  width: 100%;
  height: auto;
  margin: unset;
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 40px 200px;
  background-color: #5E6176;
}

.big-button.button p,
.big-button.button h3 {
  color: #fff;
  margin: unset;
}

.big-button.button h3 {
  font-weight: 600;
}

.portfolio-aside-wrapper {
  position: relative;
}

.portfolio-aside-last {
  padding-bottom: 140px;
}

.portfolio-aside-last .service-format-text {
  margin-bottom: 30px;
}

/* Triangles end */

/* Slider */

.glide-wrapper {
  width: 70%;
}

.glidee-wrapper {
  width: 70%;
}

.glidee-wrapper p,
.glidee-wrapper h3 {
  color: #CED0D8;
}

.service-format .glide__slide {
  flex-shrink: unset;
}

.glide__arrows.rating-arrows {
  position: absolute;
  top: 66px;
  right: 20px;
}

.homepage .glide__arrows.rating-arrows {
  position: absolute;
  top: 40px;
}

li.glide__slide {
  height: auto;
}

.portfolio-slider.mobile {
  padding-top: 35px;
}

.portfolio-slider.desktop {
  padding: 100px 0 80px;
  margin-bottom: 0;
}

.portfolio-slider .slider-information p {
  margin-bottom: 5px;
  white-space: normal;
}

.portfolio-slider-arrows {
  position: absolute;
  top: 25px;
  right: 170px;
}

.portfolio-slider-arrows  .glide__arrow.glide__arrow--left,
.portfolio-slider-arrows  .glide__arrow.glide__arrow--right {
  border: 1px solid #5e6176;
  width: 32px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.portfolio-slider-arrows  .glide__arrow.glide__arrow--right {
  margin-left: 7px;
}

.slider-information {
  margin-top: 25px;
  flex-grow: 1;
}

.glide__arrows {
  display: flex;
  justify-content: space-between;
}

.glide__arrow {
  display: flex;
  align-items: center;
}

.glide__arrow--left strong {
  margin-left: 10px;
}

.glide__arrow--right strong {
  margin-right: 10px;
}

.service-format .portfolio-slider {
  background-color: #fff;
}

.portfolio-slider {
  padding-bottom: 40px;
  background-color: #EDEFF8;
  color: #5E6176;
}

.portfolio-slider .glide__arrow {
  color: #222744;
}

.portfolio-slider .glide__arrow svg path {
  fill: #222744;
}

.customer-rating-mobile-glide {
  display: flex;
  align-items: center;
}

/* Slider end */

.customer-rating .contact-info.mobile .contact-box {
  width: 188px;
  height: 188px;
}

.customer-rating .small-triangle .triangle1:before {
  background-color: #5E6176;
}

.rating p:first-child {
  color: #9B9FBA;
  font-size: 18px;
}

.rating p:nth-child(2) {
  color: #9B9FBA;
  font-size: 43px;
  line-height: 40px;
  margin-bottom: 25px;
}

.customer-rating .image-wrapper img {
  height: auto;
}

.customer-rating .contact-info.mobile .contact-box {
  align-items: unset;
}

.rating-info {
  display: flex;
  order: 3;
  height: 100%;
  align-items: flex-end;
}

.rating-date {
  margin-left: 30px;
  font-size: 12px;
  color: #CED0D8;
  margin-bottom: 3px;
}

.customers-rating {
  display: flex;
  flex-direction: column;
}

.customer-review {
  background: #5E6176;
}

.customer-review .slider-information {
  width: 80%;
  height: 90%;
  display: flex;
  flex-direction: column;
}

.customer-review p,
.customer-review h3 {
  color: #CED0D8;
}

.customer-review h2 {
  color: #fff;
  margin: 30px 0 0 0;
}

.portfolio-text-stars-wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.portfolio-text-stars-wrapper .service-format-title {
  margin-bottom: unset;
}

.fasad-systems {
  background-color: #EDEFF8;
}

.fasad-systems-wrapper {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

.fasad-systems-wrapper .small-triangle.mobile {
  position: absolute;
  bottom: unset;
  top: -10px;
  left: 0;
}

.fasad-systems-wrapper .small-triangle .triangle1:before {
  background-color: #EDEFF8;
}

.fasad-systems-wrapper h2 {
  margin-bottom: 30px;
}

.fasad-system {
  position: relative;
  margin-bottom: 25px;
}

.fasad-systems.mobile .fasad-system p {
  width: 65%;
}

.fasad-systems.mobile .fasad-system p,
.fasad-systems.mobile .fasad-system h3 {
  margin: unset;
}

.arrow-closed {
  position: absolute;
  right: 30px;
  top: 0;
}

.fasad-system-info {
  background-color: #fff;
  padding: 40px 0;
  margin: 40px 0;
}

.fasad-system-info h3 {
  color: #707070;
}

.fasad-systems.mobile input[type="radio"] {
  display: none;
}

.fasad-systems.mobile input[type="radio"]:checked + label {
  transform: rotate(180deg);
}

.circled-number {
  list-style: none;
  counter-reset: item;
  padding-left: unset;
}

.circled-number li {
  counter-increment: item;
  margin-bottom: 5px;
  text-indent: -3em;
  padding-left: 3em;
}

.circled-number li:before {
  margin-right: 20px;
  content: counter(item);
  background: #3E3E46;
  border-radius: 100%;
  color: #CED0D8;
  width: 1.6em;
  text-align: center;
  display: inline-block;
  text-indent: 0;
}

@media screen and (min-width: 768px) {
  .small-indent {
    margin-left: 50px;
  }
  
  .big-indent {
    margin-left: 100px;
  }

  .mobile {
    display: none;
  }

  .desktop {
    display: block;
  }

  .mobile-container {
    padding: unset;
  }

  .service-format .service-format-heading {
    font-size: 30px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 110px;
    padding-left: 150px;
  }

  .service-format-title {
    font-size: 30px;
    order: 1;
  }
  
  .button {
    order: 3;
    width: 200px;
    height: 55px;
    font-size: 20px;
  }
  
  .service-format-text {
    order: 2;
    font-size: 15px;
  }

  .portfolio-wrapper {
    display: flex;
    flex-direction: row-reverse;
  }

  .image-wrapper {
    width: 581px;
    height: 410px;
  }

  .image-wrapper img {
    width: 100%;
    height: 100%;
  }

  .image-wrapper.barn-image {
    width: 410px;
    /* height: 510px; */
    height: auto;
    min-height: 510px;
  }
  
  .image-wrapper.barn-image img {
    object-fit: cover;
  }

  .portfolio-text {
    margin: 0 50px;
    width: 750px;
    position: relative;
    z-index: 2;
  }

  .portfolio-white .button {
    margin-top: 20px;
  }

  .portfolio-blue .image-wrapper,
  .portfolio-blue .portfolio-text,
  .portfolio-blue .portfolio-aside-wrapper {
    width: 33%
  }

  .portfolio-blue,
  .portfolio-white {
    margin-bottom: 100px;
  }

  .portfolio-blue .portfolio-wrapper {
    flex-direction: row;
  }

  .portfolio-blue .image-wrapper {
    height: auto;
  }

  .portfolio-blue img {
    /* width: 410px; */
    height: 100%;
  }

  .portfolio-aside-wrapper {
    margin-top: 40px;
  }

  .contact-info .contact-box p {
    color: #5E6176;
    font-size: 15px;
  }

  .contact-info.desktop {
    order: 3;
    margin-bottom: 40px;
    margin-top: auto;
  }

  .big-button.button {
    text-align: left;
    background-color: #222744;
    padding: 18px 36px;
  }

  /* Triangles */

  .big-triangle {
    top: -33px;
    left: 51px;
    z-index: 1;
    position: absolute;
  }

  .big-triangle .tri {
    width: 115px;
    height: 115px;
    position: relative;
  }
  
  .big-triangle .triangle1 {
    filter: drop-shadow(5px 5px 8px #0000001A);
    z-index: 1;
    position: relative;
  }
  
  .big-triangle .triangle1:before {
    z-index: 1;
    width: 115px;
    height: 115px;
    background-color: white;
    clip-path: polygon(0% 100%, 100% 0, 0 0%);
    content: '';
    display: block;
  }
  
  .big-triangle .triangle2 {
    position: relative;
  }
  
  .big-triangle .triangle2:before {
    content: '';
    display: block;
    width: 70px;
    height: 35px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    background-color: #EDEFF8;
    position: absolute;
    bottom: -4px;
    left: 2px;
    transform: rotate(135deg);
    z-index: 0;
  }
  
  .big-triangle .arrow-up {
    position: absolute;
    top: 0;
    right: -33px;
    width: 70px;
    height: 35px;
    background-color: #EDEFF8;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
  }

  .small-triangle {
    position: absolute;
    top: -24px;
    right: -68px;
    bottom: unset;
    left: unset;
  }
  
  .small-triangle .tri {
    width: 67px;
    height: 67px;
    position: relative;
  }
  
  .small-triangle .triangle1 {
    filter: drop-shadow(5px 5px 8px #0000001A);
    z-index: 1;
    position: relative;
  }
  
  .small-triangle .triangle1:before {
    z-index: 1;
    width: 67px;
    height: 67px;
    background-color: white;
    clip-path: polygon(0% 100%, 100% 0, 0 0%);
    content: '';
    display: block;
  }
  
  .small-triangle .arrow-up {
    position: absolute;
    top: 0;
    right: -24px;
    width: 50px;
    height: 25px;
    background-color: #D5D6D9;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
  }

  /* Triangles end */

  /* Slider */

  section.portfolio-slider.container.desktop h2 {
    margin-left: 100px;
    margin-bottom: 50px
  }

  .portfolio-examples {
    display: flex;
    justify-content: space-between;
  }

  .portfolio-example {
    width: 30%;
    display: flex;
    flex-direction: column;
  }

  .portfolio-example .button {
    margin-bottom: unset;
    max-width: 135px;
    height: 45px;
    font-size: 15px;
  }

  .service-format-info__content-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  .all-jobs {
    position: absolute;
    right: 50px;
    top: 22px;
  }

  /* Slider end */

  .customer-rating.desktop {
    background-color: #5E6176;
    margin-bottom: 100px;
  }

  .customer-rating.desktop .slider-information {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .customer-rating.desktop .rating-info {
    display: flex;
    order: 3;
    align-items: flex-end;
    flex-grow: 2;
    height: unset;
  }

  .glide__arrows.rating-arrows .b {
    stroke: #5E6176;
  }

  .glide__arrows.rating-arrows .glide__arrow--left,
  .glide__arrows.rating-arrows .glide__arrow--right {
    border: 1px solid #5E6176;
    width: 32px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .glide__arrows.rating-arrows .glide__arrow--right {
    margin-left: 7px;
  }

  .service-format .glide__arrows.rating-arrows .b {
    stroke: #CED0D8;
  }

  .service-format .glide__arrows.rating-arrows .glide__arrow--left,
  .service-format .glide__arrows.rating-arrows .glide__arrow--right {
    border: 1px solid #CED0D8;
    width: 32px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .portfolio-white.first-section {
    margin-top: 100px;
  }

  .customer-rating.last-section {
    margin-bottom: 0;
  }

  .customer-rating.desktop a,
  .customer-rating-list p,
  .customer-rating-list h3 {
    color: #CED0D8;
  }

  .customer-rating-list {
    list-style-type: none;
  }

  .customers-rating {
    width: 230px;
  }

  .homepage .customer-rating.desktop .customers-rating {
    flex-shrink: 0.1;
  }

  .customer-rating-list {
    display: flex;
    width: 70%;
    justify-content: space-between;
    margin-left: auto;
  }

  .customer-rating-wrapper {
    display: flex;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .customer-rating-wrapper ul {
    display: flex;
  }

  .customer-rating-wrapper .small-triangle,
  .fasad-systems.desktop .small-triangle {
    right: unset;
    left: unset;
  }

  .customer-rating-wrapper .small-triangle .arrow-up {
    background-color: #222744;
  }

  .customer-rating.desktop .service-format-text {
    font-size: 13px;
  }

  .customer-rating.desktop .service-format-subtitle {
    font-size: 15px;
  }

  .average-rating h2 {
    color: #fff;
    font-weight: 600;
  }

  .average-rating p {
    color: #fff;
    font-weight: 800;
    font-size: 55px;
    line-height: 60px;
  }

  .fasad-systems-wrapper h2 {
    width: 450px;
    margin-left: unset;
    margin-bottom: 100px;
  }

  .fasad-system {
    display: flex;
    justify-content: space-between;
  }
  
  .fasad-system-infos {
    width: 35%;
    margin-right: 60px;
  }

  .system-properies-wrapper {
    display: flex;
    justify-content: space-between;
    width: 65%;
    background: #fff;
    padding: 32px 40px;
  }
 
  .fasad-system h3 {
    margin-bottom: 20px;
  }

  .fasad-system-properies {
    align-self: center;
    width: 60%;
  }

  .fasad-img {
    width: 40%;
  }
  
  .fasad-img img {
    width: 100%;
  }

  .fasad-system {
    margin-bottom: 100px;
  }
}

@media screen and (max-width: 768px) {
  .portfolio-wrapper.container {
    margin: unset;
    padding: unset;
    max-width: unset;
  }

  .portfolio-example .button {
    margin-bottom: unset;
  }

  .portfolio-wrapper.container {
    margin: unset;
    padding: unset;
    max-width: unset;
  }
} 

/* Template page: Homepage */

.homepage .big-button {
  height: 128px;
}

.homepage .big-button .service-format-subtitle.desktop {
  margin-bottom: 10px;
}

.homepage .portfolio-aside-last {
  padding-bottom: 170px;
}

.homepage .portfolio-blue {
  margin-bottom: 40px;
  border: none;
}

.home-contact {
  margin-top: 30px;
}

.portfolio-white.mobile .contact-text p,
.portfolio-white.mobile .contact-text h2 {
  color: white;
  margin: unset;
}

.contact-text h2 {
  font-size: 20px;
  font-weight: 600;
}

.contact-text p {
  font-size: 12px;
  font-weight: 300;
}

.portfolio-white.mobile .contact-text {
  position: absolute;
  top: 30px;
  right: 30px;
}

.home-contact textarea {
  height: 180px;
  background: #EDEFF8;
  color: #5E6176;
  border: none;
  margin-bottom: 20px;
}

.home-contact input {
  background: #EDEFF8;
  color: #5E6176;
  border: none;
}

.home-contact input::placeholder,
.home-contact textarea::placeholder  {
  color: #5E6176;
}

.home-contact .button {
  color: white;
  font-size: 14px;
  font-weight: 100;
  width: 92px !important;
  height: 40px;
  padding: unset;
}

.portfolio-white.mobile .home-contact .form_1_2 {
  margin-bottom: unset;
}

.customer-review-mobile-glide {
  display: flex;
  align-items: center;
}

.homepage .customer-review,
.homepage .customer-rating .small-triangle .triangle1:before {
  background: #EDEFF8;
}

.homepage .c {
  stroke: #5E6176;
}

.homepage .customer-review p,
.homepage .customer-review h2,
.homepage .customer-review h3,
.homepage .rating-date {
  color: #5E6176;
}

.homepage .portfolio-slider.mobile {
  background: #EDEFF8;
  padding-top: 50px;
  padding-bottom: 50px;
}

.what-we-do-select {
  background: #EDEFF8;
  border: none;
  color: #5E6176;
  width: 100%;
  position: relative;
  margin-bottom: 35px;
}

.what-we-do .service-format-title {
  margin-top: 35px;
  color: #222744;
}

.what-we-do .service-format-subtitle {
  margin-bottom: 5px;
}

.what-we-do .button {
  margin-top: 35px;
}

.homepage .rating p {
  color: #222744;
}

@media screen and (min-width: 768px) {
  .homepage .portfolio-white.desktop {
    height: 670px;
  }

  .black-font {
    color: #3E3E40;
  }

  .white-box-wrapper {
    align-items: center;
    height: 100%;
    display: flex;
  }

  .contact-section .white-box-wrapper {
    justify-content: space-between;
  }

  .white-box {
    background-color: #fff;
    width: 630px;
    height: fit-content;
    position: relative;
    padding: 50px;
  }

  .homepage .portfolio-white.desktop .portfolio-text {
    width: unset;
  }

  .homepage .portfolio-white.desktop {
    margin-bottom: unset;
  }

  .homepage .big-triangle {
    top: -34px;
    left: -49px;
  }

  .homepage .portfolio-blue {
    margin-bottom: 100px;
  }

  .our-services {
    display: flex;
    justify-content: space-between;
  }

  .service {
    width: 30%;
  }

  .services {
    margin-bottom: 50px;
  }

  .services h2 {
    margin-bottom: 40px;
  }

  .services p {
    margin-bottom: 50px;
    line-height: 30px;
  }

  #wpcf7-f2699-o1 {
    margin: 0 50px;
    margin-bottom: 30px;
  }

  .contact-text {
    align-self: baseline;
    margin-top: 100px;
  }

  .contact-text p,
  .contact-text h2,
  .contact-text h3 {
    color: white;
    margin: unset;
  }

  .contact-text p {
    font-weight: bold;
    font-size: 15px;
    font-style: italic;
    margin-bottom: 30px;
    font-family: Raleway;
    position: relative;
    margin-left: 20px;
  }

  .contact-text h2 {
    font-weight: 600;
    font-size: 40px;
  }

  .contact-text h3 {
    font-weight: 400;
    font-size: 28px;
  }

  .home-contact .button {
    color: white;
    font-size: 14px;
    font-weight: 100;
    width: 200px !important;
    height: 50px;
    padding: unset;
    margin-top: unset;
  }

  .home-contact {
    margin-top: unset;
  }

  .smallest-triangle {
    border-top: 8px solid #fff;
    border-right: 8px solid transparent;
    width: 0;
    height: 0;
    position: absolute;
    top: 8px;
    left: -17px;
  }

  .homepage .customer-rating.desktop a, 
  .homepage .customer-rating-list p, 
  .homepage .customer-rating-list h3 {
    color: #5E6176;
  }

  .homepage .average-rating p,
  .homepage .average-rating h2 {
    color: #222744;
    font-weight: 700;
  }

  .homepage .average-rating h2 {
    font-size: 25px;
  }

  .homepage .customer-rating.desktop {
    background-color: #EDEFF8;
  }

  .homepage .customer-rating-wrapper {
    padding-top: unset;
    padding-bottom: unset;
  }

  .homepage .average-rating {
    margin-top: 50px;
    margin-left: 30px;
  }

  .homepage .customers-rating {
    margin-top: 80px;
    margin-right: 20px;
  }

  .homepage .glide__slide .service-format-text {
    width: 80%;
  }

  .homepage .portfolio-white.desktop.two-column-section {
    margin-bottom: 0;
  }

  .two-column-section .white-box-wrapper {
    justify-content: end;
  }

  .contact-section .white-box-wrapper::before,
  .contact-section .white-box-wrapper::after {
    content: unset;
  }

  .two-column-section .white-box {
    width: 1020px;
  }

  .two-column-section p {
    column-count: 2;
  }

  .homepage .white-box .portfolio-text h2 {
    margin-top: unset;
  }

  .homepage .white-box .portfolio-text .button {
    margin-bottom: unset;
  }

  .homepage .button {
    font-family: "PT sans";
  }

  .homepage .white-box .portfolio-text {
    margin: unset;
  }

  .what-we-do.desktop label {
    display: inline-block;
    width: 150px;
    height: 65px;
    border: solid 2px #9B9FBA;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    color: #5E6176;
    text-align: center;
    font-family: Raleway;
  }
  
  .radio-wrapper {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-area: auto;
    grid-gap: 20px 30px;
    max-width: 70%;
  }
  
  .what-we-do.desktop input[type="radio"] {
    display:none; 
  }
  
  .what-we-do.desktop input[type="radio"]:checked + label {
    border: solid 2px #222744;
    background: #222744;
    color: #fff;
    font-weight: 600;
  }

  .radio-wrapper label {
    cursor: pointer;
  }

  .what-we-do .service-format-title {
    margin-top: unset;
    margin-bottom: 50px;
  }

  .what-we-do.desktop .button,
  .service .button {
    width: 133px;
    height: 46px;
    font-size: 15px;
    font-weight: 300;
  }

  .what-we-do-wrapper {
    display: flex;
    justify-content: space-between;
  }
  
  .what-we-do-example {
    width: 30%;
  }

  section.what-we-do.desktop {
    margin-bottom: 100px;
  }

  .what-we-do-example p,
  .what-we-do-example h3 {
    color: #222744;
  }
}

@media screen and (max-width: 1100px) and (min-width: 768px) {
  .customer-rating-wrapper .big-indent {
    margin-left: unset;
  }

  .homepage .big-button.button {
    padding: 10px;
  }

  .radio-wrapper {
    grid-template-columns: auto auto auto;
  }

  .rating-date {
    margin-left: 5px;
    font-size: 12px;
    color: #CED0D8;
    margin-bottom: 3px;
  }
  
  .contact-section .contact-text {
    width: 30%;
  }

  .contact-section .white-box {
    padding: 30px;
    height: 450px;
    width: 70%;
  }

  .contact-section .contact-text h2 {
    font-size: 32px;
  }

  .contact-section .contact-text h3 {
    font-size: 22px;
  }

  .contact-text {
    margin-top: 220px;
  }

  .homepage .customer-rating-wrapper img {
    display: none;
  }

  .homepage .customer-rating-list {
    width: 100%;
  }

  .homepage .big-button .service-format-subtitle.desktop {
    margin-bottom: unset;
    font-size: 15px;
  }

  .homepage .big-button .service-format-text {
    font-size: 12px;
  }
}

@media screen and (max-width: 790px) and (min-width: 768px) {
  .form_1_2,
  .form_1_2.last {
    margin-bottom: unset;
  }

  .contact-section .white-box {
    height: 550px;
  }

  .home-contact textarea {
    height: 140px;
  }

  .what-we-do.desktop label {
    width: 130px;
  }
}

/* SELECT2 CUSTOMIZATION */

span.select2-dropdown.select2-dropdown--below::after {
  content: "";
  bottom: 0;
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 20%;
  background: linear-gradient(0deg, #FFFFFFAA, #FFFFFF00);
}

span.select2-search.select2-search--dropdown {
  display: none;
}

span.select2-results {
  background: #EDEFF8;
}

span.select2-selection.select2-selection--single {
  background: #EDEFF8;
  border: 1px solid #A4A7B7;
  border-radius: unset;
  height: 40px;
  color: #5E6176;
  display: flex;
  align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 6px;
  right: 12px;
}

.select2-results__option {
  color: #5E6176;
  padding-left: 19px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #E1E3ED;
  color: #5E6176;
  font-weight: 600;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #5E6176;
  padding-left: 19px;
}

.select2-container {
  margin-bottom: 30px;
}

span.select2-dropdown.select2-dropdown--below {
  margin-top: 10px;
}

.select-bottom:after {
  content: unset !important;
}

/* SELECT2 CUSTOMIZATION END */

.customer-rating-wrapper.container {
  max-height: 450px;
}

/* Header changes */

@media screen and (min-width: 1100px) {
  .header-topbar .site-header.header-fixed {
    padding-top: 12px;
    transition: all 0.5s ease;
  }

  #primary {
    padding-top: 0;
  }
  
  .site-header .header-right-wrap {
    float: left;
    margin-left: 100px;
  }
  
  .site-header .header-wrap {
    height: 65px;
    margin-top: 7px;
  }
}

.header-info {
  display: none;
  background-color: #222744;
}

.header-info-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.header-info__item {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 16px;
  margin-right: 124px;
  padding: 10px 0;
}

.header-info__item:hover .header-info__item-text::before {
  width: 100%;
}

.header-info__item-text {
  position: relative;
  white-space: nowrap;
}

.header-info__item-text::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: .3s ease-in;
}

.header-info__item:last-child {
  margin-right: 0;
}

.header-info__item-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
}

.header-info__item-icon svg {
  align-self: center;
}

.header-info__item-icon::before {
  font-size: 21px;
  margin-right: 18px;
}

.header-info__close {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.header-info__close svg g line {
  transition: .3s ease-in;
}

.header-info__close:hover svg g line {
  stroke: white;
}

.header-info__close:hover {
  cursor: pointer;
}

@media screen and (max-width: 440px) {
  .header-info__item {
    font-size: 14px;
    margin-right: 7%;
  }

  .header-info__item-icon {
    margin-right: 10px;
  }
}

/* serviceInfo */

.service-format-info {
  position: relative;
}

.service-format-info > img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.service-format-info__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 8.5%;
  background-color: rgba(34, 39, 68, 0.6);
  transition: .3s ease-in;
  display: flex;
  align-items: center;
}

.portfolio-item-title {
  display: flex;
  justify-content: space-between;
}

.service-format-info__content-header {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-format-info__content-body-job {
  font-weight: bold;
  color: #222744;
  font-size: 14px;
  margin-bottom: 35px;
}

.service-format-info__content-img {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 12px 0;
}

.service-format-info__content-img-avatar {
  border-radius: 50%;
}

.service-format-info__content-img-tooltip {
  position: absolute;
  top: 0;
  right: -7px;
}

.service-format-info__content-title {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.service-format-info__content-text {
  color: #fff;
  font-size: 14px;
}

.service-format-info__content-body-text {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  white-space: normal;
  color: #5E6176;
  transition: .3s ease-in;
  margin-bottom: 15px;
}

@media screen and (max-width: 1199px) {
  .service-format-info__content-body-text {
    font-size: 12px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 1023px) {
  .service-format-info__content-body-text {
    letter-spacing: -0.2px;
  }

  .service-format-info > img {
    width: 100%;
    object-fit: cover;
    min-height: 190px;
  }
}

@media screen and (max-width: 767px) {
  .header-info-wrap {
    justify-content: flex-start;
  }

  .service-format-info > img {
    height: 224px;
  }
  
  .header-info__item {
    margin-right: 10%;
  }
  
  .header-info__item-icon svg {
    width: 15px;
  }

  .header-info__close {
    position: static;
    transform: none;
    top: initial;
    right: initial;
    margin-left: auto;
  }

  .header-info__close svg {
    width: 12px;
  }

  .header-info__item-text {
    font-size: 12px;
  }

  .service-format-info__content-body-text {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 21px;
  }

  .service-format-info__content-body {
    margin-bottom: 23px;
  }

  .portfolio-item-categories {
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 374px) {
  .service-format-info__content-body-text {
    font-size: 12px;
    line-height: 1.5;
  }
}

.service-format-info__content-header-icon {
  position: absolute;
  right: 30px;
  top: 15px;
}

.service-format-info__content-header-icon svg {
  width: 12px;
  transition: 0.3s ease-in;
}

.google--rating {
  position: fixed;
  bottom: 10px;
  right: 80px;
  width: 100%;
  max-width: 280px;
  padding-top: 10px;
  padding-left: 10px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  z-index: 3;
}

.google--rating::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  height: 5px;
  background-color: #4fcf6a;
  margin-bottom: 10px;
}

.partners {
  padding: 100px 0;
}

.partners__images {
  display: flex;
  justify-content: center;
  margin: 60px 0 0;
}

.partners__images-item {
  display: flex;
  align-items: center;
  margin: 0 2%;
}

@media screen and (max-width: 767px) {
  .partners {
    padding: 30px 0;
  }

  .partners__images {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .partners__images-item {
    width: 29%;
    margin-bottom: 30px;
  }

  .partners__images-item img {
    margin: 0 auto
  }
}

.jquery-modal.blocker.current {
  z-index: 9999;
}

.portfolio-slider .service-format-title {
  margin-bottom: 29px;
}

/* REVIEW PAGE */
.review .button {
  padding: 10px 30px;
  width: fit-content;
}

.review .portfolio-text {
  display: block;
}

.review .service-format-heading {
  margin-top: 50px;
}

.text-text {
  background-color: #EDEFF8;
  padding: 90px 0;
  position: relative;
}

.text-blocks {
  display: flex;
  justify-content: space-between;
}

.text-block {
  width: 48%;
}

.text-block:last-child p {
  margin-bottom: unset;
}

.text-text .small-triangle {
  top: -10px;
  bottom: unset;
}

.text-text .small-triangle .triangle1:before {
  background-color: #EDEFF8;
}

.portfolio-review .service-format-subtitle {
  color: #222744;
}

.background-image {
  position: relative;
  padding: 150px 0;
  margin-bottom: unset;
}

.background-image .big-triangle {
  z-index: 2;
  top: -35px;
}

.background-image .service-format-title {
  margin-top: unset;
}

.background-image .portfolio-text {
  background-color: #fff;
  padding: 50px;
}

.background-image .portfolio-background-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.image-text-title {
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  display: block;
}

.image-text-text {
  color: #fff;
  font-size: 25px;
  display: block;
  max-width: 375px;
}

.portfolio-review .service-format-text p {
  font-size: 15px;
}

.background-image .portfolio-text p {
  font-size: 25px;
  color: #3E3E40;
}

.service-format-name {
  font-size: 17px;
  font-weight: bold;
  color: #222744;
}

.image-wrapper .button {
  margin-bottom: unset;
}

@media screen and (min-width: 768px) {
  .review .service-format-heading {
    font-size: 30px;
    font-weight: 400;
    text-align: left;
    margin-bottom: 110px;
    padding-left: 150px;
  }
  
  .background-image .portfolio-wrapper {
    align-items: center;
    justify-content: center;
  }

  .background-image .image-wrapper {
    height: inherit;
  }
}

@media screen and (max-width: 767px) {
  .text-text {
    padding: 39px 0;
  }

  .portfolio-text-stars-wrapper {
    align-items: unset;
  }

  .portfolio-text-stars-wrapper svg {
    width: 17px;
  }

  .text-text .service-format-title {
    margin-bottom: 23px;
  }

  .text-text .service-format-subtitle {
    margin-bottom: 2px;
  }

  .text-text .service-format-text {
    line-height: 2.2;
  }

  .text-blocks {
    flex-direction: column;
  }

  .text-block {
    width: 100%;
  }

  .text-block:not(:last-child) {
    margin-bottom: 48px;
  }

  .background-image {
    padding: unset;
  }

  .image-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    max-width: 158px;
  }

  .image-text-title {
    font-size: 15px;
    margin-bottom: 5px;
  }
  
  .image-text-text {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .background-image .portfolio-text p {
    font-size: 20px;
  }

  .service-format-name {
    font-size: 15px;
  }

  .portfolio-review .service-format-title {
    margin-bottom: 6px;
  }

  .portfolio-review .service-format-subtitle {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .portfolio-review .service-format-text {
    margin-bottom: 40px;
  }

  .portfolio-review .service-format-text p {
    line-height: 1.9;
    font-size: 14px;
  }

  .review .button {
    padding: 10px 13px;
  }

  .review .portfolio-white {
    margin-bottom: 27px;
  }

  .background-image .portfolio-text {
    padding: 40px 25px;
  }

  .background-image .service-format-title {
    margin-bottom: unset;
  }

  .background-image .service-format-text p {
    font-size: 20px;
    line-height: 2;
  }

  .background-image .service-format-text {
    margin-bottom: 22px;
  }
}

/* SERVICE FORMAT */
.background-image-big-text {
  padding: 92px 0;
  position: relative;
}

.big-text-text-box {
  background-color: rgba(237, 239, 248, 0.85);
  padding: 64px;
  width: 80%;
  margin-left: auto;
  position: relative;
}

.big-text-text-box .small-triangle {
  right: unset;
  left: 0;
}

.service-format-name {
  color: #222744;
  font-weight: bold;
}

.big-text-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.button-reverse {
  border: 1px solid #222744;
  padding: 6px 17px;
  color: #222744;
  font-size: 12px;
  position: relative;
  background-color: transparent;
}

.button-reverse::after {
  content: '';
  display: block;
  border: solid #222744;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  margin-left: 12px;
  margin-bottom: 2px;
  transition: 0.3s;
}

.active.button-reverse::after {
  transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
}

.background-image-big-text .service-format-title {
  line-height: 1.4;
}

.background-image-big-text .service-format-text p {
  font-size: 17px;
}

@media screen and (max-width: 767px) {
  .background-image-big-text .service-format-text p {
    font-size: 15px;
    line-height: 2 !important;
  }

  .big-text-text-box {
    width: 100%;
    background-color: rgba(237, 239, 248);
    padding: 39px 28px;
  }

  .background-image-big-text .container,
  .background-image-big-text {
    padding: unset;
  }

  .big-text-text-box .small-triangle {
    top: -10px;
  }

  .big-text-text-box .small-triangle .triangle1:before {
    background-color: #EDEFF8;
  }

  .big-text-image {
    position: relative;
  }

  .service-format-name {
    color: #5E6176;
  }

  .background-image-big-text .service-format-title {
    line-height: 1.4;
    margin-bottom: 22px;
  }

  .background-image-big-text  .service-format-text p {
    line-height: 2.1;
  }

  .background-image-big-text .button-reverse {
    margin-bottom: 25px;
  }

  .expand-text {
    max-height: 470px;
    overflow: hidden;
    position: relative;
    transition: 0.3s;
    margin-bottom: 10px;
  }
  
  .expand-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 144px;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255,0,0,0), rgba(237, 239, 248, 1));
    opacity: 1;
    visibility: visible;
    transition: 0.3s;
  }
  
  .active .expand-text::after {
    opacity: 0;
    visibility: hidden;
  }
  
  .active .expand-text {
    max-height: 1000px;
  }
}

.white-box-big .big-triangle {
  left: 0;
}

.text-text-image {
  padding: 90px 0 130px;
}

.white-box-big {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 50px 0 0 50px;
}

.text-text-image-content-wrapper {
  width: 60%;
  position: relative;
}

.text-text-image-content-wrapper .big-button {
  max-width: 48%;
  bottom: 0;
  right: 0;
}

.text-text-image-content-wrapper .text-blocks {
  flex-wrap: wrap;
}

.text-text-image-image-wrapper {
  width: 30%;
  position: relative;
}

.text-text-image-image-wrapper img {
  width: 100%;
  height: 93%;
  object-fit: cover;
  position: absolute;
  bottom: 0;
  right: 0;
}

.text-text-image .service-format-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: #3E3E40;
  font-family: "PT sans";
}

.text-block-title {
  font-size: 16px;
  color: #5E6176;
  font-weight: bold;
}

.text-block-text {
  font-size: 14px;
  color: #5E6176;
  font-weight: 300;
}

.big-button-text {
  font-size: 17px;
  font-weight: bold;
}

.big-button-text-small {
  font-size: 15px;
  font-weight: 300; 
}

.text-text-image .big-button {
  padding: 30px 24px;
}

@media screen and (max-width: 767px) {
  .text-text-image-image-wrapper {
    width: 100%;
  }

  .text-text-image-content-wrapper {
    width: 100%;
  }

  .text-text-image-image-wrapper img {
    position: relative;
  }

  .white-box-big {
    flex-direction: column-reverse;
    padding: unset;
  }

  .text-text-image {
    padding: unset;
  }

  .text-text-image .container {
    padding: unset;
  }

  .text-text-image-content-wrapper .big-button {
    max-width: 100%;
  }

  .text-text-image-content-wrapper .text-blocks,
  .text-text-image-content-wrapper .service-format-title,
  .text-text-image-content-wrapper .service-format-subtitle {
    padding: 0 30px;
  }

  .text-text-image-image-wrapper {
    margin-bottom: 42px;
  }

  .service-format-title {
    line-height: 1.4;
  }

  .text-text-image-content-wrapper .service-format-title {
    margin-bottom: 24px;
  }

  .text-text-image .service-format-subtitle {
    font-size: 15px;
    color: #5E6176;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 30px;
  }

  .text-text-image .text-block-title {
    margin-bottom: 6px;
  }

  .text-text-image .text-block {
    margin-bottom: 6px;
  }

  .text-text-image .text-blocks {
    max-height: 380px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
  }

  .text-blocks.expand-text:after {
    background: linear-gradient(to bottom,rgba(255,0,0,0),rgb(255, 255, 255));
  }

  .text-text-image .active .text-blocks {
    max-height: 2000px;
  }

  .text-text-image .button-reverse {
    margin-bottom: 160px;
    margin-left: 30px;
  }

  .text-block-text p {
    line-height: 2;
  }

  .text-text-image .big-button {
    padding: 28px 0 28px 200px;
  }
}

/* PORTFOLIO PAGE */
.portfolio-page {
  margin-bottom: 50px;
}

.term_loop {
  display: flex;
  justify-content: center;
  background-color: #EDEFF8;
  border: unset;
  padding: 141px 0;
  margin-bottom: 104px;
}

.term_loop label {
  display: none;
}

.term_name {
  margin-right: 20px;
  background-color: #fff;
  padding: 18px 18px 18px 70px;
  cursor: pointer;
}

.term_loop select {
  width: 100%;
  font-weight: bold;
  color: #2B2B2B;
  font-size: 25px;
  font-family: 'Raleway', sans-serif;
}

.secSelect {
  display: flex;
}

.term_loop input {
  margin-left: unset;
  padding: 18px;
  margin-bottom: unset;
  width: 100%;
  max-width: 100px;
  height: unset;
  font-size: 14px;
  font-weight: 300;
}

.articlePost {
  flex-direction: column-reverse;
}

.articlePost .postText p,
.articlePost .postText .entry-title {
  border-bottom: unset;
}

.articlePost .postText .entry-title {
  font-size: 25px;
}

.back-to-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.back-to-top .button {
  width: 240px;
}

.center .entry-content {
  display: grid;
}

.portfolio-list {
  position: relative;
  padding-bottom: 100px;
  justify-content: space-between;
  grid-template-columns: 30% 30% 30%;
  grid-row-gap: 100px;
  align-items: baseline;
}

.articlePost {
  width: 100%;
  margin: unset;
  padding: unset;
}

.portfolio-list.container::before {
  display: none;
}

.pagination {
  position: absolute;
  bottom: 0;
  left: 50px;
}

.back-to-top-text {
  font-size: 15px;
  color: #434343;
  text-align: center;
  margin-bottom: 25px;
  font-size: 20px;
}

.term_name {
  -moz-appearance:none;
  -webkit-appearance:none;
  appearance:none;
  box-shadow: 10px 10px 20px #0000001A;
}

.term_name-wrapper {
  position: relative;
  width: 25%;
  min-width: 280px;
  margin-right: 20px;
}

.term_name-wrapper::before {
  content: "";
  border: solid black;
  border-width: 0 1px 1px 0;
  display: block;
  padding: 9px;
  top: 50%;
  right: 60px;
  transform: rotate(45deg) translate(-50%, -50%);
  -webkit-transform: rotate(45deg) translate(-50%, -50%);
  position: absolute;
}

.term_name-first.term_name-wrapper::after {
  content: url(/assets/mirror/rosebab.com/wp-content/themes/construction-child/assets/images/place-mark.c46a45156f.svg);
}

.term_name-second.term_name-wrapper::after {
  content: url(/assets/mirror/rosebab.com/wp-content/themes/construction-child/assets/images/category.f317092f06.svg);
}

.term_name-wrapper::after {
  display: block;
  position: absolute;
  top: 50%;
  left: 38px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  height: 28px;
}

.number-of-projects {
  margin-bottom: 70px;
  color: #2B2B2B;
  font-size: 35px;
  font-weight: bold;
  font-family: Raleway, sans-serif;
  display: block;
}

.articlePost .postImg {
  margin-bottom: 38px;
}

.articlePost .postText p {
  font-size: 20px;
}

.articlePost .postImg img {
  object-fit: cover;
}

.term_loop input {
  width: 156px;
  max-width: 156px;
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .term_name-wrapper::before {
    padding: 7px;
    right: 29px;
  }

  .term_name {
    padding: 12px 18px 12px 50px;
  }

  .articlePost .postText p {
    font-size: 15px;
  }

  .term_name-wrapper::after {
    left: 20px;
  }

  .center .entry-content {
    grid-template-columns: 100%;
  }

  .term_loop {
    padding: 82px 30px;
    margin-bottom: 46px;
  }

  .term_loop {
    flex-direction: column;
  }

  .secSelect {
    flex-direction: column;
  }

  .term_loop select {
    width: 100%;
    font-size: 20px;
    min-width: unset;
  }

  .term_name-wrapper {
    margin-bottom: 20px;
    width: 100%;
    margin-right: unset;
  }

  .term_loop input {
    max-width: 100%;
    width: 100%;
    padding: 14px;
  }

  .articlePost .postImg {
    margin-bottom: 32px;
  }

  .articlePost .postImg img {
    object-fit: cover;
    height: auto;
    max-height: 168px;
  }

  .number-of-projects {
    font-size: 25px;
    margin-bottom: 44px;
  }

  .articlePost .postText .entry-title {
    padding: unset;
    margin-bottom: 15px;
    font-size: 20px;
  }

  .articlePost .postText p {
    padding: unset;
    margin-bottom: 5px;
  }

  .articlePost {
    margin-bottom: 14px;
  }

  .portfolio-list {
    padding-bottom: 10px;
    grid-row-gap: 27px;
  }

  .back-to-top-text {
    margin-bottom: 13px;
    font-size: 15px;
  }

  .js-back-to-top {
    min-width: 108px;
  }

  .portfolio-page {
    margin-bottom: 0;
  }

  .back-to-top .button {
    width: 92px;
  }
}



.portfolio-wrapper-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-wrapper-flex .big-button.button {
  position: unset;
}

.portfolio-wrapper-flex .big-button.button-nmbr-2 {
  margin-top: 15px;
}

@media screen and (max-width: 767px) {
  .portfolio-wrapper-flex .big-button.button-nmbr-2 {
    margin-bottom: 15px;
  }
}

.text-text-block {
  order: 4;
  margin-left: 50px;
  display: flex;
  justify-content: space-between;
}

.text-text-block .text-field:first-child {
  position: relative;
  padding-bottom: 140px;
}

.text-text-block .text-field {
  width: 47%;
}

.service-format {
  padding-top: 70px;
}

@media screen and (max-width: 767px) {
  .service-format {
    padding-top: 0;
  }

  .text-text-block {
    margin-left: 0;
    margin-bottom: 140px;
    flex-direction: column;
  }
  
  .text-text-block .text-field {
    width: 100%;
  }
  
  .text-text-block .text-field:first-child {
    padding-bottom: 0;
    position: unset;
  }

  .text-text-block .big-button.button {
    bottom: -40px;
    padding: 27px 0 27px 200px;
  }

  .big-button.button {
    padding: 27px 0 27px 27px;
  }

  .image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: cover;
  }

  .portfolio-aside-last {
    padding-bottom: 15px;
  }
}
