/** case studies **/

.box {
	padding: 2em;
	position: relative;
	height: 580px;
	overflow: hidden;
}

@media (max-width: 640px) {
	.box {
		height: 300px
	}
}

.box_1 {
	margin: 1em;
	background-color: #3A362E;
}

.box_2 {
	margin: 1em;
	background-color: #F1F1F1;
}

/* box hovers */

.box_1:hover {
	background-color: #5D5341;
}

.box_2:hover {
	background-color: #D7D7D7;
}

.box_title {
	margin: 2em 1em;
} 	

@media (max-width: 1024px) {
	.box_1 {
		margin: 0;
	}

	.box_2 {
		margin: 0;
	}

	.box_title {
		margin: 2em 0em 5em;
	}
}

@media (max-width: 640px) {
	.box_title {
		margin: 2em 1em 5em;
	}
}

.box img {
	height: 80%;
	min-height: 80%;
}

@media (max-width: 1440px) {
	.box img {
		width: auto;
    	height: 80%;
	}
}

.box_thumb {
	text-align: center;
}

.box_1_thumb {
	margin: 7em 0;
}

.box_1_thumb img {
  box-shadow: 5px 10px 30px #2C2822;
}

.box_2_thumb {
	margin: 7em 0;
}

.box_3_thumb {
	margin: 2em 0;
}

@media (max-width: 640px) {
	.box_1_thumb {
		margin: 4em 0;
	}

	.box_2_thumb {
		margin: 3em 0;
	}
}

@media (max-width: 1024px) {	
	.box img {
		width: 100%;
   		height: auto;
	}
}

.grow { -webkit-transition: all .3s cubic-bezier(.5,0,0,1); }

.grow:hover { transform: scale(1.08); }

.smaller { -webkit-transition: all .3s cubic-bezier(.5,0,0,1) }

.smaller:hover { transform: scale(0.97); }


/* cases */

.step_circle span:nth-child(1) {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  background-color: #fff;
  display: block;
}

.step_circle span:nth-child(2) {
  top: -23px;
  right: -13px;
  font-family: p-semibold, helvetica, sans-serif;
  font-size: 18px;
  color: #121212;
  position: relative;
  z-index: 2;
}

.step_circle_2 span:nth-child(1) {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  background-color: #fff;
  display: block;
}

.step_circle_2 span:nth-child(2) {
  top: -23px;
  right: -11px;
  font-family: p-semibold, helvetica, sans-serif;
  font-size: 18px;
  color: #121212;
  position: relative;
  z-index: 2;
}


/* web-design reverze */

.reverze_web-page_design img {
    height: auto;
    width: 60%;
}

/* color_pallete */
.palletebox {
  display: inline-block;
  position: relative;
}


.palletebox span:nth-child(1) {
  height: 216px;
  width: 100%;
  display: block;
  background-color: #ffffff;
}

@media (max-width: 640px) {
  .palletebox span:nth-child(1) {
    height: 150px;
    width:  100%;
  }
}

.palletebox span:nth-child(2){
    margin: 0;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-family: r-bold;
}

.palletebox--2 span:nth-child(1) {
  background-color: #000;
}

.palletebox--2 span:nth-child(2) {
  color: #fff;
  background-color: #000;
}

.palletebox--3 span:nth-child(1) {
  background-color: #DEDEDE;
}

.palletebox--3 span:nth-child(2) {
  color: #000;
  background-color: #DEDEDE;
}


#sticky {
  -webkit-transition: all 0s cubic-bezier(.2,0,0,1);
}

@media (max-width: 1024px) {
  #sticky {
    position: relative;
  }
}



.case_thumbnail {
  height: 100%;
  width: 100%;
  position: relative;
  display: block;
  top: -96px;
  z-index: -1;
}

.case_thumbnail--watermark span:nth-child(1) {
    margin: 0;
    color: #000;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-family: r-bold;
    font-size: 300px;
    opacity: 0.1;
}

.case_thumbnail--devices {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.case_thumbnail--devices img {
    height: auto;
    width: 100%;
}

.responsive_image img {
  height: auto;
  width: 100%;
}



.video_effect video {
  height: auto;
  max-width: 100%;
}