.card {
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    width: 60%;
    /* min-height: 490px;
    max-height: 490px; */
}

.white-box {
    min-height: 305px;
    max-height: 305px;
    height: 100%;
    box-shadow: 0 4px 8px 0 rgba(255,255,255,0.9);
    width: 60%;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    /* min-height: 490px;
    max-height: 490px; */
}

.textarea-container {
    height: 190px;
    /*margin-top: -4px;*/
    padding: 1px 16px;
    background-color: #212E60;
    color: white;
    min-height: 190px;
    max-height: 190px;
}

.textarea {
    overflow-y: auto;
    height: 130px;
    resize: none;
    max-height: inherit;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

p.textarea::-webkit-scrollbar-thumb {
  background-color: #ffffff;
}

.slideshow-container {
    max-width: 1000px;
    height: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
    /* min-height: 490px;
    max-height: 490px; */
    display: none;
    margin-left: auto;
    margin-right: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 22%;
    margin-top: -22px;
    padding: 16px;
    /*color: #717171;*/
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 22%;
    border-radius: 3px 0 0 3px;
}
.next {
    right: 22%;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: #212E60;
    color: #ffffff !important;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

#year-container {
    /*max-width: 600px;
    margin-left: 405px;*/
    overflow-x: scroll;
    resize: none;
    white-space: nowrap;
    overflow-scrolling: touch;
    border:1px solid #212E60;
}

#year-container .year {
    border-bottom:1px solid #212E60;
    border-right: 1px solid #212E60;
}

#year-container .year:last-child {
    border-right: none;
}

.year {
    /* color: #8A8A8A; */
    color: #545454;
    cursor: pointer;
    height: 20px;
    width: 100px;
    display: inline-block;
    resize: none;
    transition: background-color 0.6s ease;
}

.year:hover:not(.active) {
    color: white;
    background-color: #212E60;
}

#month-container {
    /*max-width: 600px;
    margin-left: 405px;*/
    border: 1px solid #212E60;
    margin-bottom: 5px;
}

.month {
    /* color: #8A8A8A; */
    color: #545454;
    cursor: pointer;
    height: 20px;
    width: 40px;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.month.active {
    background-color: #212E60;
}

.month:hover:not(.active) {
    color: white;
    background-color: #212E60;
}

.monthsInYear {
    color: white;
    /* background-color: #D9D9D9; */
    background-color: #bf2327;
}

#dot-container {
    /*max-width: 600px;
    margin-left: 405px;*/
}

.dot-box {
    height: 20px;
    width: 40px;
    display: inline-block;
}

.dot {
    cursor: pointer;
    height: 7px;
    width: 7px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: inline-block;
}

.year.active, .dot:hover, .dot.active {
    color: white;
    background-color: #212E60;
}

@keyframes fade {
    from {opacity: .4;}
    to {opacity: 1;}
}

@keyframes fade {
    from {opacity: .4;}
    to {opacity: 1}
}

body h4 {
    color: #212E60;
    color: #ffffff;
}

#timeline {
    padding-left: 0;
}

.img-container {
    position:relative;
}

.img-container img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}