﻿/* # The Rotating Marker # */
details summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "▶";
    position: absolute;
    top: 1rem;
    left: 0.8rem;
    transform: rotate(0);
    transform-origin: center;
    transition: 0.2s transform ease;
}

details[open] > summary:before {
    transform: rotate(90deg);
    transition: 0.45s transform ease;
    border-radius: 20px 20px 0 0;
}

/* # The Sliding Summary # */
details {
    overflow: hidden;
}

    details summary {
        position: relative;
        z-index: 10;
    }

@keyframes details-show {
    from {
        margin-bottom: -80%;
        opacity: 0;
        transform: translateY(-100%);
    }
}

details > *:not(summary) {
    animation: details-show 500ms ease-in-out;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease-in-out;
    color: transparent;
    overflow: hidden;
}

details[open] > *:not(summary) {
    color: inherit;
}

/* # Style 2 # */
details.style2 summary::before {
    content: "×";
    color: #FFF;
    font-size: 2rem;
    line-height: 1rem;
    transform: rotate(-45deg);
    top: 1.2rem;
    left: 0.5rem;
}

details[open].style2 > summary:before {
    transform: rotate(90deg);
    color: #F00 !important;
    transition: color ease 2s, transform ease 1s;
}

/* # Style 3 # */
details.style3 summary::before {
    content: "›";
    font-size: 2.5rem;
    line-height: 1rem;
    top: 1.3rem;
    left: 0rem;
    margin: -0.5rem -0.5rem 0 0.5rem;
    transform-origin: bottom center;
    transition: margin linear 0.05s;
}

details.style3:hover > summary:before {
    color: #FFF;
}

details[open].style3 > summary:before {
    left: 0rem;
    color: #CCC;
    transform: rotate(90deg);
    margin-left: 0.4rem;
    transition: color ease 2s, transform ease 1s, margin ease 1s;
}

@supports (-webkit-touch-callout: none) {
    details.style3 summary::before {
        top: 1.6rem;
    }

    details[open].style3 > summary:before {
        top: 1.3rem;
        transition: all 0.8s;
    }
}

/* # Style 4 # */
details.style4 summary {
    padding-right: 2.2rem;
    padding-left: 1rem;
}

    details.style4 summary::before {
        content: "×";
        color: #FFF;
        font-size: 2rem;
        line-height: 1rem;
        transform: rotate(-45deg);
        top: 1.2rem;
        left: unset;
        right: 0.6rem;
    }

details[open].style4 > summary:before {
    transform: rotate(90deg);
    color: #F00 !important;
    transition: color ease 2s, transform ease 1s;
}

/* # Style 5 # */
details.style5 summary {
    padding-right: 2.2rem;
    padding-left: 1rem;
}

    details.style5 summary::before {
        content: "🙈";
        font-size: 1.5rem;
        top: 0.5rem;
        left: unset;
        right: 0.5rem;
        transform: rotate(0);
    }

details.style5:hover > summary::before {
    content: "🙊";
}

details[open].style5 > summary::before {
    content: "🐵";
    transform: rotate(0deg);
}

details[open].style5 > summary:hover::before {
    content: "🙉";
}

details .monkey-see {
    display: inline;
}

details .monkey-hide {
    display: none;
}

details[open] .monkey-see {
    display: none;
}

details[open] .monkey-hide {
    display: inline;
}

/* # Style 6 # */
details.style6 summary {
    padding-right: 2.2rem;
    padding-left: 3rem;
    /*padding:16px;*/
}

    details.style6 summary::before {
        content: "∨";
        /*content: "⩒";*/
        /* font-size: 1.5rem;
        top: 0.5rem;
        left: unset;
        right: 0.5rem;*/
        transform: rotate(0);
        font-size: 1.5rem;
        line-height: 1rem;
        top: 2rem;
        left: 0rem;
        margin: -0.5rem -0.5rem 0 0.5rem;
        transform-origin: bottom center;
        transition: margin linear 0.05s;
    }

details.style6:hover > summary:before {
    content: "👁️‍🗨️";
    color: #04395e;
}

details[open].style6 > summary:before {
    /* content: "❌"; */
    content: "^";
    /*content: "×";*/
    color: #f00;
    transition: color ease 2s, transform ease 1s;
    transform: rotate(0deg);
}



/* # Style 7 # */
details.style7 summary {
    padding-left: 3rem;
}

details[open].style7 summary,
details.style7:hover summary {
    background: #000;
    color: #CCC;
}

    details[open].style7 summary strong,
    details.style7:hover summary strong {
        color: #FDCE4C;
    }

    details.style7:hover summary strong {
        color: #ffdf87;
    }

details.style7 summary::before {
    content: "🌑";
    font-size: 1.5rem;
    top: 0.5rem;
    left: 0.5rem;
    transform: rotate(0);
}

details.style7:hover > summary::before {
    content: "🌕";
}

details[open].style7 > summary::before {
    content: "🌕";
    transform: rotate(0deg);
}

details[open].style7 > summary:hover::before {
    content: "🌕";
}

details .moon-new {
    display: inline;
}

details .moon-full {
    display: none;
}

details[open] .moon-new {
    display: none;
}

details[open] .moon-full {
    display: inline;
}

details.style7 .content {
    background: #DDD;
}

/* # Just Some Pretty Styles # */
/*body {
    font-family: "Open Sans", sans-serif;
    padding-bottom: 400px;
}*/

/*img {
    max-width: 100%;
}*/

/*p {
    margin: 0;
    padding-bottom: 10px;
}

    p:last-child {
        padding: 0;
    }
*/
details {
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    background: white;
    color: #04395e;
    /*border-radius:20px;*/
}

summary {
    border: 4px solid transparent;
    outline: none;
    padding: 1rem;
    display: block;
    background: white;
    color: #04395ecc;
    padding-left: 2.2rem;
    position: relative;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    /*   -webkit-box-pack: justify;
    justify-content: space-between;*/
}


    details[open] summary,
    summary:hover {
        color: #0e1578;
        background: #ffffff;
        border-radius: 20px 20px 0 0;
    }

        summary:hover strong,
        details[open] summary strong,
        summary:hover::before,
        details[open] summary::before {
            color: #FFA128;
        }

.content-accrodion {
    padding: 15px;
    border: 2px solid #888;
    border-top: none;
}

@media screen and (max-width: 800px) {
    details {
        width: calc(50% - 2rem);
    }

    summary {
        font-size: 18px;
    }
}

@media screen and (max-width: 500px) {
    details {
        width: auto;
    }

    summary {
        font-size: 16px;
    }
}

@media screen and (min-width: 300px) {
    details {
        width: 100%;
    }

    summary {
        font-size: 13px;
    }
}

@media screen and (max-width: 360px) {
    details {
        width: 100%;
    }

    summary {
        font-size: 13px;
    }
}
