.infobox-course {
  border-radius: 100px;
  padding: 60px 0 50px 0;
  margin: 0 0 50px 0;

  h2 {
	padding: 0 0 30px 0;
  }

  &.green {
	background-color: $light_green;
  }

  &.m_green {
	background-color: $medium_green;
  }

  &.orange {
	background-color: $light_orange;
  }

  &.m_orange {
	background-color: $medium_orange;
  }

  &.blue {
	background-color: $light_blue;
  }

  &.m_blue {
	background-color: $medium_blue;
  }

  .grid-container {
	position: relative;

	.row {
	  display: grid;
	  grid-template-columns: 1fr;
	  grid-gap: 20px;

	  .first-column {
  		display: flex;
		justify-content: flex-start;
		gap: 20px; 
		width: 100%;

		.box {
		  flex: 1 1 calc(50% - 10px);
		  max-width: calc(50% - 10px);
		  box-sizing: border-box;
		  margin-bottom: 20px;
		}
	  }

	  .middle-column,
	  .main-columns {
		width: 100%;
	  }

	  @media (min-width: $breakpoint_lg) {
		grid-template-columns: repeat(12, 1fr);
		grid-template-rows: auto;
		align-items: stretch;
		grid-gap: 20px;

		.col-md-2 {
		  grid-column: span 2;
		}

		.col-md-3 {
		  grid-column: span 3;
		}

		.col-md-7 {
		  grid-column: span 7;
		}
		
		.col-md-9 {
		  grid-column: span 9;
		}

		.first-column {
		  display: flex;
		  flex-direction: column;
		  align-self: stretch;

		  .box {
			flex: 1;
			max-width: none;
			margin: 0;
			margin-bottom: 20px;
		  }

		  .box:last-child {
			margin-bottom: 0;
		  }
		}

		.middle-column,
		.main-columns {
		  display: flex;
		  align-self: stretch;
		}
	  }
	}
  }

  .title-container {
	display: flex;
	align-items: center;

	.title-icon {
	  margin-right: 8px;
	  display: flex;
	  align-items: center;

	  &.green {
		color: $dark_green;
	  }

	  &.m_green {
		color: $dark_green;
	  }

	  &.orange {
		color: $dark_orange;
	  }

	  &.m_orange {
		color: $dark_orange;
	  }

	  &.blue {
		color: $dark_blue;
	  }

	  &.m_blue {
		color: $dark_blue;
	  }
	}
  }

  .box {
	background-color: $white;
	border-radius: 40px;
	padding: 20px 30px 30px 30px;
  }

  .arrow {
	background-image: url("/static/svg/cms_plugins/arrow_scrabble.svg");
	margin: 30px 0;
	width: 80px;
	height: 136px;
	position: absolute;
	z-index: 800;
	top: -130px;
	right: 40px;

	@media (min-width: $breakpoint_lg) {
	  top: -180px;
	  right: 0px;
	}
  }

	.zoom-in {
		display: none;
		justify-content: flex-end;
		margin-top: 10px;
		cursor: pointer;

		@media (min-width: $breakpoint_lg) {
			display: flex;
		}
	}

	.close-zoom-in {
		display: none;
		cursor: pointer;
		margin-left: auto;
	}
}