.accordion {
	border-top: 5px dashed #EEE;
	border-bottom: 5px dashed #EEE;
	padding: 25px 0px;
    margin: 25px 0px;
}

.accordion .p, .accordion ul li i:before, .accordion ul li i:after {
    transition: all 0.25s ease-in-out;
}

.accordion h2, .accordion ul li {
    animation: flipdown 0.5s ease both;
}

.accordion h3 {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.accordion h2, .accordion h3 {
	font-weight: 100;
}

.accordion h2 {
    text-transform: uppercase;
    font-size: 34px;
    line-height: 42px;
    letter-spacing: 3px;
	margin-bottom: 15px;
	color: #3777a3!important;
	border-bottom: none!important;
}

.accordion h3 {
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 1px;
    display: block;
    background-color: #fefffa;
    margin: 0;
    cursor: pointer;
	color: #333!important;
}

.accordion .p {
    color: rgba(48, 69, 92, 0.8)!important;
    font-size: 17px;
    line-height: 26px;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    max-height: 800px;
    opacity: 1;
    transform: translate(0, 0);
    margin-top: 14px;
    z-index: 2;
}

.accordion .p a {
    font-size: inherit!important;
	text-decoration: underline!important;
	color: #3777a3!important;
}

.accordion ul {
    list-style: none!important;
    perspective: 900;
    padding: 0;
    margin: 0;
}
.accordion ul li {
	list-style: none!important;
    position: relative;
    padding: 0;
    margin: 0;
    padding-bottom: 4px;
    padding-top: 18px;
    border-top: 1px dotted #dce7eb;
}
.accordion ul li:nth-of-type(1) {
    animation-delay: 0.5s;
}
.accordion ul li:nth-of-type(2) {
    animation-delay: 0.75s;
}
.accordion ul li:nth-of-type(3) {
    animation-delay: 1s;
}
.accordion ul li:nth-of-type(4) {
    animation-delay: 1.25s;
}
.accordion ul li:last-of-type {
    padding-bottom: 0;
}
.accordion ul li i {
    position: absolute;
    transform: translate(-6px, 0);
    margin-top: 16px;
    right: 0;
}
.accordion ul li i:before, .accordion ul li i:after {
    content: "";
    position: absolute;
    background-color: #3777a3;
    width: 3px;
    height: 9px;
}
.accordion ul li i:before {
    transform: translate(-2px, 0) rotate(45deg);
}
.accordion ul li i:after {
    transform: translate(2px, 0) rotate(-45deg);
}
.accordion ul li input[type=checkbox] {
    position: absolute;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
}
.accordion ul li input[type=checkbox]:checked ~ .p {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    transform: translate(0, 50%);
}
.accordion ul li input[type=checkbox]:checked ~ i:before {
    transform: translate(2px, 0) rotate(45deg);
}
.accordion ul li input[type=checkbox]:checked ~ i:after {
    transform: translate(-2px, 0) rotate(-45deg);
}

@keyframes flipdown {
    0% {
        opacity: 0;
        transform-origin: top center;
        transform: rotateX(-90deg);
    }
    5% {
        opacity: 1;
    }
    80% {
        transform: rotateX(8deg);
    }
    83% {
        transform: rotateX(6deg);
    }
    92% {
        transform: rotateX(-3deg);
    }
    100% {
        transform-origin: top center;
        transform: rotateX(0deg);
    }
}
