.content-custom-widget{

}

.content-custom-widget {
  display: flex;
  flex-wrap: wrap;
}
.content-custom-widget .custom-md-55 {
  width: 55%;
}

.content-custom-widget .custom-md-45 {
  width: 45%;
}
.content-custom-widget .content-polygon {
	position: relative;
  width: 100%;
  height: 480px;
  /*background: gray;*/
  display: flex;
  align-items: center;
}

.content-custom-widget .content-polygon .content-cubes-animation{ 
	position: absolute;
	/*background: grey;*/
	left: -11%;
	width: 111%;
	max-width: 750px;
	height: 450px;
	display: flex;
  flex-wrap: wrap;
    
}

.content-custom-widget .content-polygon .content-cubes-animation .cube{
	height: 225px;
	width: 50%;
	flex: 0 0 50%;
	display: flex;
  align-items: center;
  position: relative;

}
.content-custom-widget .content-polygon .content-cubes-animation .cube a{
	display: flex;
	align-items: center;
	height: 100%;
}

.content-custom-widget .content-polygon .content-cubes-animation .cube img{
	position: absolute;
	width: 97px;
  bottom: 0;
  right: 0;
  transition: width 1s ease;
}

.content-custom-widget .content-polygon .content-cubes-animation .cube .line-cube{
	height: 70px;
	width: 2px;
	background: white;
	margin-left: 10%;
	margin-right: 4%;
	transition: height 1s ease;
}

.content-custom-widget .content-polygon .content-cubes-animation .cube .text-cube{
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
	transition: font-size 1s ease;
}

.content-custom-widget .content-polygon .content-cubes-animation .cube-1{
	background: #CC0033;
	color: white;
}  
.content-custom-widget .content-polygon .content-cubes-animation .cube-2{
	background: #EDBE00;
	color: white;
} 
.content-custom-widget .content-polygon .content-cubes-animation .cube-3{
	background: #93C847;
	color: white;
} 
.content-custom-widget .content-polygon .content-cubes-animation .cube-4{
	background: #619BD3;
	color: white;
} 

.content-custom-widget .content-polygon .content-cubes-animation .cube:hover {
	cursor: pointer;
}
.content-custom-widget .content-polygon .content-cubes-animation .cube:hover .text-cube{
	font-size: 1.4rem;
}

.content-custom-widget .content-polygon .content-cubes-animation .cube:hover .line-cube{
	height: 90px;
	width: 2px;
}
.content-custom-widget .content-polygon .content-cubes-animation .cube:hover img{
	width: 105px;
}

@media (max-width: 991px) {
	.content-custom-widget .content-el-img img{
		width: 100%;
    padding: 20px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		left: 0;
		width: 100%;
		top: -30px;
		max-width: 100% !important;
	}

	

}

@media (min-width: 992px) and (max-width: 1025px) {

	.content-custom-widget .content-polygon {
		height: 420px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		height: 390px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation .cube {
    height: 195px;
  }
}

@media (min-width: 1026px) and (max-width: 1050px) {

	.content-custom-widget .content-polygon {
		height: 440px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		height: 410px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation .cube {
    height: 205px;
  }
}

@media (min-width: 1051px) and (max-width: 1070px) {

	.content-custom-widget .content-polygon {
		height: 450px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		height: 400px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation .cube {
    height: 200px;
  }
}

@media (min-width: 1071px) and (max-width: 1100px) {

	.content-custom-widget .content-polygon {
		height: 460px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		height: 400px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation .cube {
    height: 200px;
  }
}

@media (min-width: 1101px) and (max-width: 1159px) {

	.content-custom-widget .content-polygon {
		height: 480px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		height: 400px;
	}
	.content-custom-widget .content-polygon .content-cubes-animation .cube {
    height: 200px;
  }
}

/*@media (min-width: 1015px) and (max-width: 1150px) {

	.content-custom-widget .content-polygon {
		height: 440px !important;
	}
	.content-custom-widget .content-polygon .content-cubes-animation {
		height: 400px !important;
	}
	.content-custom-widget .content-polygon .content-cubes-animation .cube {
    height: 200px !important;
  }

}*/



