@font-face {
  font-family: "Segoe Print";
  src: url(/wp-content/themes/OutTheBox-child/fonts/Segoe_Print.ttf);
  font-weight: normal;
}

@import url(http:////db.onlinewebfonts.com/c/2090551770be22b09600a40b0b4673b7?family=Avenir+Medium);

/*header*/
.otb-top-header .container.clearfix {
 
  padding: 5px 0px;
  max-width: 1222px;
}

#contact-tel,#contact-email,.otb-top-header i {
  font-size: 18px;
}

/**/


.page-container {
  padding-top: 20px!important;
}

.rb-piece {
  width: 15%;
  float: left;
  margin: 0 .8%;
  position: relative;
}

.rb-piece.piece-2 svg {
  transform: translateY( -50px );
}

.rb-piece .center-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX( -50% ) translateY( -50% );
  font-size: 24px;
  color: #fff;
  font-weight: bold;
}

.rb-piece svg g g g {
  display: none;
}

.rb-piece svg g path {
  transition: 300ms;
}

.rb-piece.pink svg g path {
  fill: #d80090;
}

.rb-piece.red svg g path {
  fill: #ff2931;
}

.rb-piece.orange svg g path {
  fill: #ff8900;
}

.rb-piece.yellow svg g path {
  fill: #ffdb21;
}

.rb-piece.green svg g path {
  fill: #7ed629;
}

.rb-piece.blue svg g path {
  fill: #0100ff;
}

.rb-piece.pink:hover svg g path {
  fill: #b4147e;
}

.rb-piece.red:hover svg g path {
  fill: #db2b31;
}

.rb-piece.orange:hover svg g path {
  fill: #d97400;
}

.rb-piece.yellow:hover svg g path {
  fill: #dfc53c;
}

.rb-piece.green:hover svg g path {
  fill: #6cbe1c;
}

.rb-piece.blue:hover svg g path {
  fill: #0100d2;
}

@media screen and ( max-width: 1500px ) {
  .rb-piece {
      width: 31%;
      margin: 0 .75%;
      margin-bottom: 50px!important;
  }
}

@media screen and ( max-width: 1000px ) {
  .rb-piece {
      width: 46%!important;
      margin: 0 2%;
  }

  .rb-piece.piece-2 svg {
      transform: translateY( -15px )!important;
  }
}

@media screen and ( max-width: 850px ) {
  .rb-piece {
      width: 100%!important;
      float: none;
  }
}


/* --- --- */
.member-block .inner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  height: 350px;
}

.member-block {
  position: relative;
  overflow: hidden;
  width: 350px;
  margin: 0 auto;
}

.member-block .underlay {
  position: absolute;
  bottom: -75px;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  background-color: #fff;
  transition: 200ms;
  height: 75px;
}

.member-block .underlay h3 {
  font-size: 26px!important;
  line-height: 26px!important;
  font-weight: 400!important;
}

.member-block:hover .underlay {
  bottom: 0;
}

@media screen and ( max-width: 1025px ) {
  .member-block .underlay {
      top: auto;
      bottom: 0;
  }
}

.archive-single.gallery {
  height: 250px!important;
}

/* -- */
.gallery-category-container:after {
  content: '';
  display: block;
  clear: both;
}

.gallery-category-container .gallery-category-block {
  width: 32.5%;
  height: 200px;
  float: left;
  background-color: #ee284f;
  text-align: center;
  margin-bottom: 10px!important;
}

.gallery-category-container .gallery-category-block h2 {
  line-height: 200px;
  color: #fff;
}

.gallery-category-container a:nth-of-type( 3n-1 ) .gallery-category-block {
  margin-left: 1.25%;
  margin-right: 1.25%;
}

@media screen and ( max-width: 1024px ) {
  .gallery-category-container .gallery-category-block {
      width: 49.5%;
  }

  .gallery-category-container a:nth-of-type( 3n-1 ) .gallery-category-block {
      margin-left: 0;
      margin-right: 0;
  }

  .gallery-category-container a:nth-of-type( 2n ) .gallery-category-block {
      margin-left: 1%;
  }
}

@media screen and ( max-width: 800px ) {
  .gallery-category-container .gallery-category-block {
      width: 100%;
      margin-left: 0!important;
      margin-right: 0!important;
  }
}

.rb-piece.gallery-cat {
  width: 19.5%;
}

/*new homepage*/
.header-banner {
  
  background-color: #2458A3;
  padding-top: 20px;
  padding-bottom: 60px;
}

.jigsaw-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

img.banner-piece {
  width: 25%;
}

.cqc-block {
  position: absolute;
  left: 50%;
  top: 65%;
  transform: translateX(-50%);
}



.cqc-button {
  background-color: #893277;
  color: #fff;
  padding: 15px 15px;
  border-radius: 15px;
  margin-bottom: 5px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 18px;
}


img.cqc-logo {
  max-width: 180px;
}



@media (max-width: 1024px) {

  .jigsaw-container {
 
    max-width: 360px;
    margin: auto;
    flex-wrap: wrap;
  }

  img.banner-piece {
  
    width: 50%;
  }

 
}


img.service-block-img {
  width: 100px;
}
/*service block thing on homepage*/

.service-blocks-container {
  display: flex;
  align-items: center;
  justify-content: center;
flex-wrap: wrap;
}

.service-blocks-container a {
  width: 25%;
}

@media (max-width:1024px) {

    .service-blocks-container a { 
	
		width: 50%; 
	}
}

@media (max-width: 800px) {

    .service-blocks-container a { 
	
		width: 100%!important; 
	}
}


.service-block-title {
  background: grey;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 99%;
}

.service-block-title h2 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 0;
  padding: 10px 0px;
}

.service-block {
 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.service-block.service-red {
 
  background: #FCEDED;
}

.service-block.service-red .service-block-title {

  background: #E84247;
}


.service-block.service-blue {
 
  background: #EAEFF6;
}

.service-block.service-blue .service-block-title {

  background: #2457A3;
}

.service-block.service-green {
 
  background: #F3F8ED;
}


.service-block.service-green .service-block-title {

  background: #80BC49;
}

img.service-block-img {
 
  width: 70%;
  padding-top: 30px;
  padding-bottom: 30px;
}



/*footer*/
.footer-bg {
  background-color: #fff;
  border-radius: 15px;
  padding: 50px;
  
}

.to-top-button {
  background-color: #E84247!important;
  padding: 10px 20px;
  border-radius: 15px;
}

footer.otb-main-footer {
  padding: 25px 0!important;
}



.main-footer a, .main-footer span, span.ts-cs span, .main-footer .half {
  color: #fff;
  line-height: 25px;
  font-size: 17px;
}

.main-footer i {

  color: #fff!important;
}