﻿#acc #subject-link .acc-content span a {
    float:left;
    width: 22.5%;
    height: 200px;
    text-align: center;
    padding-top: 25px;
    margin: 2.5px;
    border: solid 1px #C0C0C0;
    transition: background-color 0.5s;
}

@media screen and (max-width:1300px) {

    #acc #subject-link .acc-content span a {
        width: 30.3%;
        font-size: 90%;
    }
}

@media screen and (max-width:768px) {

    #acc #subject-link .acc-content span a {
        font-size: 80%;
    }
}

#acc #subject-link .acc-content span a:hover {
    border: solid 1px #000;
}

#subject-link img {
    width: auto;
    height: 125px;
    display: block;
    margin: 0 auto;
}

#subject {
    display: none;
    background-color: #F1F3F4;
    text-align: center;
    opacity: 0;
    transition: opacity 2s;
    padding-bottom: 10px;
}

#subject .close-icon {
    color: #808080;
    display: block;
    padding: 7.5px 0;
    width: 50%;
    margin: 7.5px auto !important;
    transition: background-color 0.5s;
}

#subject .close-icon:hover {
    color: #fff;
}

#populate-subject {
    width: 90%;
    margin: 0 auto;
}

#populate-subject img:first-of-type { /* awards */
    width: 50%;
    height: auto;
}

#populate-subject a img {
    width: 128px;
    height: 128px;
}

#populate-subject a {
    display: inline-block;
    width: 20%;
    height: auto;
    padding: 5px 0;
    margin: 5px;
    vertical-align: text-top;
}

/* #populate-subject a:hover {
    -ms-transform: scale(1.2);*/ /* ie 9 */
    /*-webkit-transform: scale(1.3);*/ /* safari 3-8 */
    /*transform: scale(1.2);
} */

#subject h2, #subject h5 {
    color: #fff;
    background-color: #808080;
    padding: 7.5px 0;
    margin: 15px 0;
}

/* sub-subjects */

.heading {
    cursor: pointer;
    padding: 20px;
    margin-top: 10px;
}

.heading:nth-of-type(odd) {
    background-color: #9BD96C;
    border-left: 15px solid #22522E;
}

.summary {
    height: 0;
    overflow: hidden;
    --timer: 0.5s;
    transition: var(--timer) linear height;
}

.summary.active {
    height: var(--height); /* get value from js */
}
