a:link, a:visited, a:active {
    color: #00539b;
    text-decoration: none;
    outline: none;
}
a:hover {
    text-decoration: underline;
    color: #363636;
}
#page-header {
    padding: 30px 30px 20px;
    background-color: #042642;
    color: #FFF;
}
#roast-or-toast .bobble-head img {
    max-height: 400px;
}
#roast-or-toast .rt-main,
#roast-or-toast .rt-sidebar,
#bio {
    margin-top: 50px;
}
.btn-clay {
    background-color: #00539b;
    color: #FFF;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 28px;
    border: none;
}
.btn-clay:hover {
    background-color: #004b8c;
    color: #FFF;
}
#roast-or-toast h3 {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFF;
    margin-bottom: 20px;
    padding: 10px 15px 11px;
    background-color: #00539b;
    border-radius: 6px;
}
#roast-or-toast .rt-wrapper {
    display: flex;
    justify-content: flex-start;
    gap: 100px;
    flex-wrap: wrap;
}
#roast-or-toast .rt-main {
    width: calc(100% - 400px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
#roast-or-toast .rt-main .text {
    width: 100%;
    margin-bottom: 30px;
}
#roast-or-toast .rt-main .text p {
    margin-bottom: 20px;
}
#roast-or-toast .rt-sidebar {
    width: 300px;
}

#photo-gallery {
    display: block;
    margin: 30px auto;
    padding: 48px 0;
    background-color: #F8F9FA;
}
#photo-gallery h2 {
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #00539b;
}
#photo-gallery .gallery-img {
    border-radius: 14px;
    /*
    aspect-ratio: 4 / 3;
    object-fit: cover;
    */
}
@media only screen and (max-width: 991px) {
    #roast-or-toast .rt-main {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #roast-or-toast img{
        max-height: 200px;
    }
    #roast-or-toast .bobble-head img {
        max-height: 250px;
    }
    #roast-or-toast .rt-sidebar {
        width: 100%;
        margin-top: 0;
        margin-bottom: 50px;
    }
    #roast-or-toast .rt-sidebar .photos {
        margin-bottom: 50px !important;
    }
    #roast-or-toast img {
        max-height: 200px;
    }
    #roast-or-toast .rt-wrapper {
        gap: 40px;
    }
    #photo-gallery {
        margin: 0 auto 30px;
    }
}
#roast-or-toast .achievement-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 35px;
    position: relative;
    margin-bottom: 15px;
}
#roast-or-toast .achievement-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #FFF;
    border: 2px solid #00539b;
    border-radius: 50%;
    z-index: 1;
}
#roast-or-toast .achievement-item::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 2px;
    height: calc(100% + 16px);
    background-color: #00539b;
    z-index: 0;
}
#roast-or-toast .achievement-item:last-child::after {
    height: 100% !important;
}
#roast-or-toast .achievement-item .year {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #00539b;
}
#roast-or-toast .achievement-item .text {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #363636;
}
#roast-or-toast a:link {
    color: #606060;
    text-decoration: none;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 14px;

    &:visited {
        color: #606060;
    }
    &:hover {
        text-decoration: none;
        color: #00539b;
    }
}
.roast-active .form-control {
    border-color: #f3901d;
    border-width: 2px;
    border-radius: 10px;
}
.roast-active .form-check-input:checked {
    background-color: #f3901d;
    border-color: #f3901d;
}
.toast-active .form-control {
    border-color: #00539b;
    border-width: 2px;
    border-radius: 10px;
}
.toast-active .form-check-input:checked {
    background-color: #00539b;
    border-color: #00539b;
}

#dropzone {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}
#dropzone .image-item {
    width: calc(25% - 12px);
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all ease .25s;
    min-height: 150px;
}
@media only screen and (max-width: 991px) {
    #dropzone .image-item {
        width: calc(50% - 12px);
    }
}
#dropzone .image-item img {
    border-radius: 6px;
}
#dropzone .image-item.empty {
    position: relative;

    &:hover {
        border-color: #00539b;
        background-color: #f8f8f8;
    }
}
#dropzone .image-item.empty::before {
    content: "\f067";
    font-size: 30px;
    font-family: "Font Awesome 5 Pro", sans-serif;
    position: absolute;
    color: #ccc;
}
.image-item:not(.empty):hover::before {
    content: '\f1f8';
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color:#FFF;
    font-family: "Font Awesome 5 Pro", sans-serif;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: rgba(248, 248, 248, 0.6);
    z-index: 2;
}
body.drop-zone {
    position: relative;
    z-index: 0;
}
body.drop-zone::before {
    content: "Drop your image here";
    position: fixed;
    top: 0;
    left: 0;
    font-size: 40px;
    color: #F9F9F9;
    background-color: rgba(32, 33, 37, 0.64);
    backdrop-filter: blur(0.25rem);
    padding: 20px 40px;
    border-radius: 0;
    text-transform: capitalize;
    z-index: 9999;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#achievements {
    margin-top: 50px;
}
#achievements h1 {
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #00539b;
    margin-bottom: 30px;
    text-align: center;
}
#achievements .text {
    padding-bottom: 50px;
}
#roast-or-toast .rt-sidebar .achievement-item .text {
    padding-bottom: 10px;
}
#roast-or-toast .achievement-item .text {
    padding-bottom: 30px;
}
#achievements .text h3 {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #FFF;
    margin-bottom: 20px;
    padding: 10px 15px 11px;
    background-color: #00539b;
    border-radius: 6px;
    text-transform: capitalize;
}
#achievements .text ul li {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    list-style-type: none;

    &:after {
        content: '';
        height: 8px;
        width: 8px;
        background: #00539b;
        display: block;
        position: absolute;
        transform: rotate(45deg);
        top: 6px;
        left: 0;
    }
}


#achievements .achievements {
    position: relative;
    margin: 0 auto;
    padding: 0;
}
@media only screen and (max-width: 767px) {
    #achievements .achievements {
        padding: 0 20px;
    }
}
/*

#achievements .achievements::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #005E96;
    transform: translateX(-50%);
}

#achievements .achievement-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

#achievements .achievement-item::before {
    content: "";
    position: absolute;
    top: 26px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #005E96;
    border-radius: 50%;
    z-index: 2;
}

#achievements .achievement-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

#achievements .achievement-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

#achievements .achievement-item:nth-child(even)::before {
    left: -8px;
    right: auto;
}

#achievements .achievement-item .year {
    font-weight: 700;
    color: #005E96;
    font-size: 20px;
    margin-bottom: 8px;
}

#achievements .achievement-item  .text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
}

@media only screen and (max-width: 768px) {

    #achievements .achievements::before {
        left: 20px;
    }

    #achievements .achievement-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        margin-bottom: 40px;
    }

    #achievements .achievement-item,
    #achievements .achievement-item:nth-child(even),
    #achievements .achievement-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }
    #achievements .achievement-item::before {
        left: 12px;
        right: auto;
    }
    #achievements .achievement-item:nth-child(even)::before {
        left: 12px;
        right: auto;
    }

}
*/

#bio h1 {
    font-family: "Lato", sans-serif;
    font-weight: 800;
    font-size: 40px;
    color: #00539b;
    margin-bottom: 30px;
}
#bio .text {
    padding-bottom: 50px;
}
#bio .text p {
    margin-bottom: 20px;
    text-align: justify;
}

.select_type[data-side="toast"] img {
    opacity: .6;
}
.select_type.active[data-side="toast"] img {
    opacity: 1;
}
.select_type[data-side="roast"] img {
    opacity: .6;
}
.select_type.active[data-side="roast"] img {
    opacity: 1;
}
.roast-active #submit_toast_roast.btn-clay {
    background-color: #F3901D;
    border: 1px solid #F3901D;
    color: #FFF;
}
.roast-active #submit_toast_roast.btn-clay:hover {
    background-color: #d97e14;
    border: 1px solid #d97e14;
    color: #FFF;
}
#roast-or-toast .roast-active h3 {
    background-color: #F3901D;
}
