@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

*{
    font-family: 'Lato', sans-serif;
    padding:0;
    margin:0;
}
a {
    color: black;
}
a:link {
    text-decoration: none;
}
a:visited{
    text-decoration: none;
}
a:hover{
    color: rgb(231,113,45);
}
#main {
    display: flex;
    justify-content: space-between;
    margin-left: 20px;
    margin-right: 20px;
}

#main a:link {
    text-decoration: none;
}
#main a:visited {
    text-decoration: none;
}
#main a:hover  {
    text-decoration: none;
}
#main a:active {
    text-decoration: none;
}
#main div {
    margin: 25px;
}
.rit {
    color: rgb(231,113,45);
}


nav {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: black;
    font-weight: 900;
}
ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#main-menu > li {
    float: left;
    position: relative;
}
#main-menu > li > a {
    text-decoration: none;
    display: block;
    padding: 15px 100px;
    width: 150px;
    color: white;

}
#main-menu li:hover{
    background-color: rgb(231,113,45);
    color: white;
}
#sub-menu {
    position: absolute;
    background: white;
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease-in;
}

#sub-menu > li {
    padding: 10px 50px;
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
#sub-menu > li >  a {
    padding: 10px 50px;
    color: black;
    text-decoration: none;
}

#main-menu > li:hover #sub-menu {
    opacity: 1;
    visibility: visible;
}

#sub-menu > li >  a:hover {
    background-color: rgb(231,113,45);
    color: white;
}
.search-container {
    border-style: solid;
    border-width: 1px;
    padding: 5px;
}
.search-container input {
    height: 26px;
    border: none;
}
.search-container button {
    width: 40px;
    height: 30px;
    border: none;
    
}
.search-container img {
    width: 10px;
    height: 10px;
}


.wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    grid-auto-rows: minmax(100px, auto);
    margin: 10px;

}
.one {
    grid-column-start: 1;
    grid-column-end: 2;

}
.two {
    grid-column-start: 2;
    grid-column-end: 4;

}
.two a {
    font-weight: bolder;
    text-decoration: none;
    color: rgb(231,113,45);
    float: right;
}
.three {
    grid-column-start: 4;
    grid-column-end: 5;

}
.events{
    width: 50px;
    height: 50px;
    background-color: black;
    border-radius: 10px;
    text-align: center;
    margin: 5px;
    float: left;
    color: white;
}
.events .date {
    position:relative;
    top: 3px;
    font-weight: bolder;
    font-size: larger;
}
.events .month {
    font-weight: bold;
}
.desc{
    position: relative;
    top: 7px;
}

.event-item {
    clear: both;
    margin-top: 10px;
}


input[id*="answer"]{
    display: none;
}

input[id*="answer"] + label {
    display: block;
    padding: 30px;
    border-bottom: 0;
    color: white;
    font-weight: 900;
    background: black;
    cursor: pointer;
    position: relative;
    font-size: larger;
}

input[id*="answer"] + label:hover {
    color: rgb(231,113,45);
}

input[id*="answer"] + label + div {
    max-height: 0;
    transition: all .35s;
    overflow: hidden;
    margin: 10px;
}

input[id*="answer"] + label + div p {
    display: inline-block;
    padding: 10px;
}

input[id*="answer"]:checked + label + div {
    max-height: 250px;
}
.acc-item{
    margin: 10px;
}
hr {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Partner Institutions */
.institutions {
    margin: 0;
    padding: 100px;
    background-image: url("https://visme.co/blog/wp-content/uploads/2017/07/50-Beautiful-and-Minimalist-Presentation-Backgrounds-040.jpg");
}
.institution {
    position: relative;
    margin-bottom: 50px;
    padding: 25px;
    background-color: whitesmoke;
    border-radius: 25px;
    min-width: 200px;
    min-height: 200px;
}
.institution h2{
    margin-bottom: 10px;
}
.institution img {
    max-width: 150px;
    height: auto;
    margin-right: 25px;
    float: left;
}
.institution a {
    float: right;
    font-weight: bold;
    color: rgb(231,113,45);
}

/* animating slider */
.slider {
    margin: auto;
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    z-index: -99;
}
/* moveing slides */
/* width = total number of slides x individual slide width */
.slide-track {
    display: flex;
    width: calc(300px * 12);
    animation: scroll 40s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    /* individual width x half of total slides */
    100% {
        transform: translateX(calc(-300px * 6));        
    }
}

.slide {
    width: 300px;
    height: 200px;
    display: flex;
    align-items: center;    
    margin: 5px;
}
.slider img {
    width: 100%;
}

.partnersc h1{
    margin-top: 50px;
    display : flex;
    justify-content : center;
}

.school-container {
    margin-top: 50px;
    margin-left: 150px;
    margin-right: 150px;
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-items: center;
}
.school-item {
    background-color: rgba(255, 255, 255);
    border: 2px solid rgb(255,255,255);
    margin: 10px;
    width: 200px;
    height: 200px;
    overflow: hidden;

}
.school-item img{
    width: 200px;
    height: 200px;
}
.school-item:hover {
    border: 2px solid rgb(255, 116, 35);
}
table {
    border-collapse: collapse;
    width: 85%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

.tablegrid {
    display: grid;
    grid-template-columns: auto auto;
    padding: 10px;
    
}
.tableitemgrid {
    padding: 20px;
    font-size: 20px;
    text-align: center;
  }