/*--------------------------------------------------------------
# JtraGlyph services bottom
--------------------------------------------------------------*/
.services-bottom .container {
  max-width:100%;
}
.services-bottom .content,.services-bottom .section-title {
margin-bottom:2em;
}

.services-bottom  .headsize, .services-bottom .section-title span {
text-align: center;
}

.services-bottom  .headsize {
    font-size: 32px;
    font-weight: var(--terraplanet-font-weight-headings);
    text-transform: uppercase;
    padding-bottom: 0;
    color: #4d4643;
    position: relative;
    z-index: 2;	
}
.services-bottom .headsize::after {
    content: "";
    position: absolute;
    display: block;
    width: 100px;
    height: 5px;
    background: var(--terraplanet-color-primary);
    bottom: -.2em;
    left: calc(50% - 50px);
}

.services-bottom .section-title span {
    position: absolute;
    color: #f0f1f3;
	margin-bottom: 10px;
    left: 0;
    right: 0;
    z-index: 1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 0;
}

/*definicja boxa*/ 
.services-bottom .icon-box {
  font-family:var(--body-font-family);		
  padding: 20px 15px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.2);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  text-align: center;
  z-index: 1;
}
/*definicja boxa przed efektem */
.services-bottom .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  transition: ease-in-out 0.3s;
  z-index: -1;
}
/*definicja koloru boxa przy hover */
.services-bottom .icon-box:hover::before {
  background: var(--terraplanet-color-primary);
  height: 100%;
  border-radius: 0px;
}
.services-bottom .icon-box.green:hover::before {
  background: #59a425;
}
.services-bottom .icon-box.blue:hover::before {
  background: #0d6daa;
}
.services-bottom .icon-box.red:hover::before {
  background: #e52425;
}
.services-bottom .icon-box.black:hover::before {
  background: var(--body-color);
}


/*definicja strefy ikony*/
.services-bottom .icon {
  margin: 0 auto 30px auto;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  background: var(--terraplanet-color-primary);
  transition: all 0.3s ease-in-out;
  display:flex;
  align-items:center;
  justify-content:center;
}
/*kolor ikony*/
.services-bottom .icon span {
  font-size: 2.2em;
  line-height: 1;
  color: #fff;
}

.services-bottom .icon.green {
  background: #59a425;
}
.services-bottom .icon.blue {
  background: #0d6daa;
}
.services-bottom .icon.red {
  background: #e52425;
}
.services-bottom .icon.black {
  background: var(--body-color);
}

/*definicja tytułu*/
.services-bottom .title {
  font-weight: var(--terraplanet-font-weight-headings);
  margin-bottom: 15px;
  font-size: 18px;
}
/*definicja łącza tytułu*/
.services-bottom .title a {
/*  color: var(--terraplanet-color-link);
color:currentColor;*/
color:var(--body-color);
}
/*definicja pola opisu*/
.services-bottom .description {
  font-weight: var(--terraplanet-font-weight-normal);
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}
/*kolor tytułu i opisu przy hover*/
.services-bottom .icon-box:hover .title a,  .icon-box:hover .description {
  color: #fff;
}
/*podświetlenie tła ikony*/
.services-bottom .icon-box:hover .icon {
  background: #fff;
}
/* kolor ikony przy hover
.services-bottom .icon-box:hover .icon i {
  color: var(--terraplanet-color-primary);
}*/

/* kolor ikony przy hover*/
.services-bottom .icon-box:hover, .services-bottom .icon-box:hover .icon span {
  color: var(--terraplanet-color-primary);
}

.services-bottom .icon-box:hover .icon.green span {
  color: #59a425;
}

.services-bottom .icon-box:hover .icon.blue span {
  color: #0d6daa;
}
.services-bottom .icon-box:hover .icon.red span {
  color: #e52425;
}
.services-bottom .icon-box:hover .icon.black span {
  color: var(--body-color);
}