/* set relative to positionante content correctly */
.gridex {
	position: relative;
}

/* animatable grid container */
.gd-expander {
	position: absolute;
	overflow: hidden;
	height: 500px;
	margin-top: 20px;
	max-width: 100%;
	left: 30px; /* standar row margin is 30px */
}

/* inner content container */
.gd-inner {
	padding: 50px;
	background: #f1f6fc;
	border:1px solid #0793f4;
	-webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
     -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
  -webkit-transition: all 0.2s ease-in-out;
     -moz-transition: all 0.2s ease-in-out;
       -o-transition: all 0.2s ease-in-out;
          transition: all 0.2s ease-in-out;
}

/* top arrow when expanded */
.gridex > li > a {
	position: relative;
}
.gridex > .gd-expanded > a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #0793f4;
	border-width: 25px;
	left: 50%;
	margin: -25px 0 0 -25px;
}


@media (max-width: 1200px) {
	.gd-expander {
		left: 20px; /* decrement left as bootstrap does */
	}
}

@media (max-width: 767px) {
	.gd-inner img {
		display: none; /* hide to not overflow */
	}
	.gd-expander {
		left: 0; /* remove left as bootstrap does */
	}
}
