/* day night toggle 4 */
/*body {
	background-color: #1E314F;
	font-family: 'Helvetica Rounded', 'Arial Rounded MT Bold','Montserrat', sans-serif;
	color: #fff;
}*/

/*.toggleWrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	overflow: hidden;
	padding: 0 200px;
	transform: translate3d(-50%, -50%, 0);
}*/

.toggleWrapper input {
	position: absolute;
	left: -99em;
}

.toggle {
	cursor: pointer;
	display: inline-block;
	position: relative;
	width: 90px;
	height: 50px;
  margin-right: 70px;
	background-color: #83D8FF;
	border-radius: 84px;
	transition: background-color 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.toggle:before {
	content: 'AM';
	position: absolute;
	left: -50px;
	top: 15px;
	font-size: 18px;
}

.toggle:after {
	content: 'PM';
	position: absolute;
	right: -48px;
	top: 15px;
	font-size: 18px;
	color: #749ED7;
}

.toggle__handler {
	display: inline-block;
	position: relative;
	z-index: 1;
	top: 3px;
	left: 3px;
	width: 44px;
	height: 44px;
	background-color: #FFCF96;
	border-radius: 50px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transform: rotate(-45deg);
}

.toggle__handler .crater {
	position: absolute;
	background-color: #E8CDA5;
	opacity: 0;
	transition: opacity 200ms ease-in-out;
	border-radius: 100%;
}

.toggle__handler .crater--1 {
	top: 18px;
	left: 10px;
	width: 4px;
	height: 4px;
}

.toggle__handler .crater--2 {
	top: 28px;
	left: 22px;
	width: 6px;
	height: 6px;
}

.toggle__handler .crater--3 {
	top: 10px;
	left: 25px;
	width: 8px;
	height: 8px;
}

.star {
	position: absolute;
	background-color: #ffffff;
	transition: all 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
	border-radius: 50%;
}

.star--1 {
	top: 10px;
	left: 35px;
	z-index: 0;
	width: 30px;
	height: 3px;
}

.star--2 {
	top: 18px;
	left: 28px;
	z-index: 1;
	width: 30px;
	height: 3px;
}

.star--3 {
	top: 27px;
	left: 40px;
	z-index: 0;
	width: 30px;
	height: 3px;
}

.star--4,
.star--5,
.star--6 {
	opacity: 0;
	transition: all 300ms 0 cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.star--4 {
	top: 16px;
	left: 11px;
	z-index: 0;
	width: 2px;
	height: 2px;
	transform: translate3d(3px, 0, 0);
}

.star--5 {
	top: 32px;
	left: 17px;
	z-index: 0;
	width: 3px;
	height: 3px;
	transform: translate3d(3px, 0, 0);
}

.star--6 {
	top: 36px;
	left: 28px;
	z-index: 0;
	width: 2px;
	height: 2px;
	transform: translate3d(3px, 0, 0);
}

input:checked + .toggle {
	background-color: #749DD6;
}

input:checked + .toggle:before {
	color: #749ED7;
}

input:checked + .toggle:after {
	color: #ffffff;
}

input:checked + .toggle .toggle__handler {
	background-color: #FFE5B5;
	transform: translate3d(40px, 0, 0) rotate(0);
}

input:checked + .toggle .toggle__handler .crater {
	opacity: 1;
}

input:checked + .toggle .star--1 {
	width: 2px;
	height: 2px;
}

input:checked + .toggle .star--2 {
	width: 4px;
	height: 4px;
	transform: translate3d(-5px, 0, 0);
}

input:checked + .toggle .star--3 {
	width: 2px;
	height: 2px;
	transform: translate3d(-7px, 0, 0);
}

input:checked + .toggle .star--4,
  input:checked + .toggle .star--5,
  input:checked + .toggle .star--6 {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

input:checked + .toggle .star--4 {
	transition: all 300ms 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

input:checked + .toggle .star--5 {
	transition: all 300ms 300ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

input:checked + .toggle .star--6 {
	transition: all 300ms 400ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

/* toggle 1 */

/*input {
  display: none;
}*/

#themeswitch {
  height: 0;
  width: 0;
  visibility: hidden;
}
#themeswitch-label {
	cursor: pointer;
	text-indent: 70px;
	width: 60px;
	height: 30px;
	background: transparent;
	display: block;
	border-radius: 100px;
	position: relative;
  border-style: solid;
  border-width: 3px;
  border-color: darkgrey;
  color: darkgrey;
  font-size: 16px;
  white-space: nowrap;
}

#themeswitch-label:after {
	content: '';
	position: absolute;
	top: 2px;
	left: 3px;
	width: 20px;
	height: 20px;
	background: #0d9dd9;
	border-radius: 50px;
	transition: 0.4s;
}

input:checked + #themeswitch-label {
	/*background: #bada55;*/
}

input:checked + #themeswitch-label:after {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

#themeswitch-label:active:after {
	width: 130px;
}


/* download button */
.btn {
    border: 2px solid transparent;
    border-radius: 0;
    padding: 12px 28px;
    margin: 20px 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    transition: all .3s;
    position: relative;
    color: #FFF;
    background-color: #333;
    z-index: 20;
    letter-spacing: 2px;
    overflow: hidden;
}

.btn:hover {
    color: #666;
    background-color: #FFF;
    border: 2px solid #666;
    letter-spacing: 3px;
}

.btn:focus {
    box-shadow: none;
    color: #FFF;
    outline: none;
}

.btn-download {
    border: none;
    font-size: 14px;
    padding: 16px 55px 16px 25px;
}

.btn-download:hover {
    border: none;
    color: #FFF;
    background-color: #333;
    letter-spacing: 2px;
}

.btn-download:before {
    position: absolute;
    content: '\f407';
    font-family: 'Ionicons';
    top: 12px;
    right: 16px;
    font-size: 24px;
}

.btn-download:hover:before {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
}

.btn-download:after {
    content: "";
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    right: 0;
    top: 0;
    height: 100%;
    width: 0;
    z-index: -1;
    transition: all .3s;
}

.btn-download:hover:after {
    width: 50px;
    height: 70px;
    right: -5px;
    top: -5px;
    -ms-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
}
