#title {
    font-size: 40px;
    letter-spacing: 2px;
    left: 10%;
    width: 80%;
    position: relative;
    text-transform: uppercase;
    color: #171B37;
}

#route {
    font-size: 14px;
    letter-spacing: 1px;
    left: 10%;
    position: relative;
    margin-top: 40px;
    width: 90%;
    color: #171B37;
}

#header {
    color: #171b37 !important;
}

.arrow {
    filter: none;
}

.arrow2 {
    filter: none;
}

.activity {
    position: relative;
    width: 30%;
    float: left;
    margin-right: 2%;
    height: 535px;
    margin-bottom: 28px;
}

.activity {}

#content {
    padding-top: 200px;
    padding-bottom: 250px;
    background-color: #fefbf3;
}

#topButtons {
    display: flex;
    width: 80%;
    position: relative;
    left: 10%;
    margin-top: 58px;
}

#prevActivities {
    width: 47%;
    height: 40px;
    border-radius: 6px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    margin-right: 5%;
}

.active {
    background-color: #e24531;
    color: white;
}

.nonActive {
    background-color: #d0d0d0;
    color: #181b37;
}

#nextActivities {
    /* background-color: #d0d0d0; */
    width: 47%;
    height: 40px;
    border-radius: 6px;
    text-align: center;
    line-height: 40px;
    letter-spacing: 0mm;
    cursor: pointer;
    /* color: #181c37; */
}

#nextActivities:hover {
    background-color: #e24531 !important;
    transition: 0.5s;
    /* border: 1px solid #161c37; */
    color: white !important;
}

#prevActivities:hover {
    background-color: #e24531 !important;
    transition: 0.5s;
    color: white !important;
}

#activityDataContainer {
    background-color: white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin: 0px;
    margin-top: -4px;
    height: 277px;
    overflow: hidden;
    border: 1px solid #d0d0d0;
}

#activityTitle {
    font-size: 20px;
    margin: 0px;
    padding-top: 27px;
    padding-bottom: 18px;
    padding-left: 16px;
    padding: 15px;
    height: 67px;
    line-height: 26px;
    overflow: hidden;
    color: #171B37;
}

#activityDate {
    font-size: 12px;
    color: rgb(100, 100, 100);
    padding-left: 15px;
    padding-bottom: 0px;
}

#activityDescription {
    font-size: 14px;
    padding-left: 15px;
    width: 91%;
    padding: 15px;
    height: 125px;
    line-height: 18px;
    color: #171B37;
}

#prevActivitiesContainer {
    /* display: flex; */
    position: relative;
    width: 84%;
    left: 10%;
    margin-top: 60px;
    overflow: hidden;
}

#nextActivitiesContainer {
    display: flex;
    position: relative;
    width: 84%;
    left: 10%;
    overflow: auto;
    margin-top: 60px;
}

#activityImage {
    width: 100%;
    height: 250px;
    /* height: auto; */
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-size: cover;
    background-position: center center;
    background-color: white;
}

.activity:hover #activityTitle {
    color: #e24531;
}

#more {
    background-color: #171b37;
    color: white;
    text-align: center;
    width: 50%;
    left: 25%;
    position: relative;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    margin-top: 48px;
    cursor: pointer;
}

@media screen and (max-width:768px) {
    #title {
        font-size: 40px;
        letter-spacing: 2px;
        left: 10%;
        width: 80%;
        position: relative;
        text-transform: uppercase;
    }
    #route {
        font-size: 14px;
        letter-spacing: 1px;
        left: 10%;
        position: relative;
        margin-top: 25px;
        width: 90%;
        color: rgb(100, 100, 100);
    }
    #header {
        color: #171b37 !important;
    }
    .arrow {
        filter: none;
    }
    .activity {
        width: 90%;
        margin-right: 0px;
        margin-top: 0px;
        height: auto;
    }
    #content {
        padding-top: 50px;
        padding-bottom: 50px;
        background-color: #fefbf3;
    }
    #topButtons {
        display: block;
        width: 80%;
        position: relative;
        left: 10%;
        margin-top: 58px;
    }
    #prevActivities {
        background-color: #d0d0d0;
        width: 97%;
        height: 40px;
        border-radius: 6px;
        text-align: center;
        line-height: 40px;
        text-transform: uppercase;
        margin-right: 5%;
        cursor: pointer;
        font-size: 15px;
        margin-bottom: 10px;
    }
    #nextActivities {
        background-color: #d85949;
        width: 97%;
        height: 40px;
        border-radius: 6px;
        text-align: center;
        line-height: 40px;
        text-transform: uppercase;
        letter-spacing: 1mm;
        cursor: pointer;
    }
    #activityDataContainer {
        background-color: white;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        margin: 0px;
        height: auto;
        /* padding-bottom: 61px; */
    }
    #activityTitle {
        font-size: 20px;
        margin: 0px;
        padding-top: 27px;
        padding-bottom: 18px;
        padding-left: 16px;
        padding: 15px;
    }
    #activityDate {
        font-size: 12px;
        color: rgb(100, 100, 100);
        padding-left: 15px;
        padding-bottom: 0px;
    }
    #activityDescription {
        font-size: 14px;
        padding-left: 15px;
        width: 91%;
        height: auto;
        padding: 15px;
    }
    #prevActivitiesContainer {
        display: block;
        position: relative;
        width: 86%;
        left: 10%;
        margin-top: 60px;
    }
    #nextActivitiesContainer {
        display: block;
        position: relative;
        width: 86%;
        left: 10%;
        margin-top: 34px;
        overflow: auto;
    }
    #activityImage {
        width: 100%;
    }
    .activity:hover #activityTitle {
        color: #e24531;
    }
    #more {
        background-color: #171b37;
        color: white;
        text-align: center;
        width: 50%;
        left: 25%;
        position: relative;
        height: 40px;
        line-height: 40px;
        border-radius: 5px;
        margin-top: 48px;
        cursor: pointer;
    }
    #header {
        background-color: #fefbf3;
    }
    .btn12.open .icon:before {
        -webkit-transform: rotateZ(45deg) scaleX(1.25) translate(6.5px, 6.5px);
        transform: rotateZ(45deg) scaleX(1.25) translate(6.5px, 6.5px);
        background-color: white;
    }
    .btn12.open .icon:after {
        -webkit-transform: rotateZ(-45deg) scaleX(1.25) translate(6px, -6px);
        transform: rotateZ(-45deg) scaleX(1.25) translate(6px, -6px);
        background-color: white;
    }
}