
/* small ms content */

.ms-content {
	/*position: absolute;*/
  cursor: pointer;
	width: 30px;
	height: 30px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	border: 3px solid #2ea4f2; /*b7dffa*/
	border-radius: 100%;
  /*opacity: 0.5;*/
}

.ms-content-inside {
	width: 100%;
	height: 100%;
	position: relative;
}

.ms-line-down-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	transform: rotate(0deg);
	transition: transform 0s ease;
}
#ms-anchor {
  display: none;
  height: 0;
  width: 0;
}
#ms-download {
	display: none;
  height: 0;
  width: 0;
}
#download-label{
  position: absolute;
  right: 50px;
  font-size: 16px;
  color: darkgrey;
}

#ms-download:checked ~ .ms-line-down-container {
	transform: rotate(-360deg);
	transition: transform 1.5s ease 1.25s;
}

.ms-line-down {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	margin: auto;
	width: 2px;
	height: 15px;
	background: darkgrey;
	border-radius: 5px;
	transition: height .5s ease;
}

#ms-download:checked ~ .ms-line-down-container .ms-line-down {
	height: 3px;
	top: -10px;
  background-color: greenyellow;
	animation: ms-bounce .5s forwards .55s;
}
#ms-download:checked ~ .ms-line-down-container .ms-line-down:before {
	content: '';
	position: absolute;
	top: 1px;
	left: -14px;
	right: 0;
	bottom: 0;
	width: 30px;
	height: 30px;
	border: 3px solid transparent;
	border-radius: 100%;
	animation: ms-border-fill .5s forwards 3s;
}

.ms-line-point {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 18px;
	height: 30px;
	transition: height .15s ease .45s;
}

#ms-download:checked ~ .ms-line-point {
	height: 20px;
}

#ms-download:checked ~ .ms-line-point:before {
	transform: rotate(90deg);
	animation: ms-check-right .25s forwards 3s;
}

#ms-download:checked ~ .ms-line-point:after {
	transform: rotate(-90deg);
	animation: ms-check-left .25s forwards 3s;
}

.ms-line-point:before,
.ms-line-point:after {
	content: '';
	position: absolute;
	width: 2px;
	height: 10px;
	bottom: 5px;
	background: darkgrey;
	border-radius: 5px;
	transition: transform .15s ease .47s, left .15s ease .47s, right .15s ease .47s;
}

.ms-line-point:before {
	right: 5px;
	transform: rotate(45deg);
}

.ms-line-point:after {
	left: 5px;
	transform: rotate(-45deg);
}

@keyframes ms-bounce {
	0% {
		top: -10px;
	}
	25% {
		top: -15px;
	}
	50% {
		top: -80px;
	}
	100% {
		top: -30px;
	}
}

@keyframes ms-check-left {
	0% {
		transform: rotate(-90deg);
		left: 5px;
		height: 10px;
    /*bottom: -20px*/
	}
	100% {
    transform: rotate(-45deg);
    left: 2px;
    height: 7px;
    bottom: 4px;
    background-color: #2ea4f2;
	}
}

@keyframes ms-check-right {
	0% {
		transform: rotate(90deg);
		right: 5px;
		height: 10px;
	}
	100% {
    transform: rotate(45deg);
    right: 7px;
    height: 15px;
    bottom: 3px;
    background-color: #2ea4f2;
	}
}

@keyframes ms-border-fill {
	0% {
		border: 3px solid transparent;
	}
	100% {
		border: 3px solid darkgrey;
	}
}
