/*--------------------------------------------------------------
# JtraGlyph services default
--------------------------------------------------------------*/
.services.container {
 max-width:100%;
}
.services .content,
.services .section-title {
margin-bottom:2em;
}
.services .section-subtitle {
	text-align: center;
	margin-bottom:.2em;
}
.services .headsize,
.services .section-title span {
text-align: center;
}
.services .subheadsize {
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    color: color-mix(in srgb, var(--terraplanet-color-primary), transparent 0%);
    display: inline-block;
    font-family: var(--body-font);
	position: relative;
    padding: 10px 10px;
    background: color-mix(in srgb, var(--terraplanet-color-primary), transparent 95%);
    border-radius: 10px;
    display: inline-block;	

}
.services .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 .headsize::after {
    content: "";
    position: absolute;
    display: block;
    width: 100px;
    height: 5px;
    background: var(--terraplanet-color-primary);
    bottom: -.2em;
    left: calc(50% - 50px);
}

.services .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;
}

.services .section-title .title{
    font-family: var(--body-font-family);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    line-height: var(--body-line-height);
    color: var(--body-color);
	text-align: center;
	margin-bottom:2em;
}


/*definicja boxa*/ 
.services .icon-box {
  font-family:var(--body-font-family);	
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}
/*definicja boxa przed efektem */
.services .icon-box::before {
  content: '';
  position: absolute;
  background: #cbe0fb;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

/*definicja koloru boxa przy hover */
.services .icon-box:hover::before {
  background: var(--terraplanet-color-primary);
  top: 0;
  border-radius: 0px;
}
.services .icon-box.green:hover::before {
  background: #59a425;
}
.services .icon-box.blue:hover::before {
  background: #0d6daa;
}
.services .icon-box.red:hover::before {
  background: #e52425;
}
.services .icon-box.black:hover::before {
  background: var(--body-color);
}
/*definicja dolnego marginesu ikony*/
.services .icon {
  margin-bottom: 15px;
}

/*kolor ikony*/
.services .icon span {
  font-size: 3em;
  line-height: 1;
  color: var(--terraplanet-color-primary);
  transition: all 0.3s ease-in-out;
  display:flex;
  align-items:center;
  justify-content:start;
}
.services .icon span.green {
  color: #59a425;
}
.services .icon span.blue {
  color: #0d6daa;
}
.services .icon span.red {
  color: #e52425;
}
.services .icon span.black {
  color: var(--body-color);
}
/*definicja tytułu*/
.services .title {
  font-weight: var(--terraplanet-font-weight-headings);
  margin-bottom: 15px;
  font-size: 18px;

}
.services .title a {
color:var(--body-color);
}

/*definicja pola opisu*/
.services .description {
  font-weight: var(--terraplanet-font-weight-normal);
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}
/* kolor ikony przy hover*/
.services .icon-box:hover, .services .icon-box:hover .icon span, .services .icon-box:hover .title a {
  color: var(--body-bg);
}

