#mtl-content {
    padding: 50px 0;
}

h3.project-term-title {
    font-size: calc(1em + 1vw);
    font-weight: bold;
    font-family: 'Gotham','Abel',Helvetica,Arial,Lucida,sans-serif !important;
    color: #f16d52;
}

.mtl-project-list {
    overflow: hidden;
    clear: both;
    display: none;
    margin-bottom: 30px;
    border-bottom: 2px solid #eeeeee;
    padding-bottom: 20px;
}

.mtl-project-list.active {
    display: block;
}

.mtl-project {
    position: relative;
    overflow: hidden;
    margin: 1% auto;
    display: block;
}
.mtl-project img {
    display: block;
    width: 100%;
}

.mtl-project-title {
    padding: 60% 5px 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    background: rgba(241, 109, 83, 0.7);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    opacity: 0;
    transform: translateY(50px);
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
}

.mtl-project img {
    transition: all 0.4s ease-out;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
}

.mtl-project:hover > img, #mtl-post-list .mtl-project:hover a > img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
}

.mtl-project:hover > .mtl-project-title {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
}

.mtl-project-title.mtl-space-title {
    height: auto;
    padding: 20px 15px;
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    background: none;
    text-align: left;
}

.mtl-project-title h4 {
    color: #fff;
    font-weight: bold;
    padding-bottom: 0;
    font-family: 'Gotham Book', 'Open Sans', Arial, sans-serif !important;
}

/* ==== TABS ==== */

#mtl-project-switch {
    clear: both;
    overflow: hidden;
    padding: 0 0 10px;
}

.mtl-project-tab {
    padding: 5px;
    font-size: 1.1em;
    cursor: pointer;
}

.mtl-project-tab:first-child {
    border-right: 1px solid #eeeeee;
    padding-right: 9px;
}

.mtl-project-tab.active {
    font-weight: bold;
    color: #f16d52;
}

/* ==== BLOG ==== */

#mtl-post-list .mtl-project {
    margin: 15px auto 0;
    width: 100%;
}

#mtl-post-list .mtl-project .mtl-project-title {
    text-align: left;
    padding: 10px;
}

.mtl-blog-excerpt {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 15px 0 10px;
    width: 100%;
    margin: 5px auto 0;
    border-bottom: 1px solid #888;
}

.mtl-blog-excerpt a {
    text-align: right;
    display: block;
    clear: both;
    margin: 10px 0;
    color: #111d32;
}

.category-filters{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;

    a{
        border: 1px solid #f16d53;
        color: #f16d53;
        display: block;
        font-size: 18px;
        padding: 5px 20px;
        text-align: center;

        &:hover{
            background-color: #f16d53;
            color: #FFFFFF;
        }
    }
}

@media all and (min-width: 668px){
    .category-filters{
        flex-direction: row;
        margin-bottom: 60px;
    }
}

@media all and (min-width: 767px)  {

.mtl-project {
    width: 48%;
    float: left;
    margin: 1%;
}

#mtl-post-list .mtl-project {
    width: 100%;
    float: none;
}
}


@media all and (min-width: 1200px) {
    
#mtl-post-list .mtl-project {
    width: 100%;
}

}

.mtl-fade-in {
    animation-name: fadeIn;
    animation-duration: 1.5s;
    animation-timing-function: ease;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}
