/*
Theme Name: Wizard
Theme URI: https://devgado.com
Description: Custom theme for Wizard properties
Author: Devgado
Author URI: https://devgado.com
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
body {
    font-family: 'Montserrat', Sans-serif;
}

a {
    color: #633ca1;
    text-decoration: none;
}

a:hover {
    color: #835cc1;
    transition: color .5s;
}

.post {
    flex: 0 1 400px;
    background-color: #646464;
}

.post:nth-child(2n + 2) {
    background-color: #000000;
}

.post__title {
    padding: 20px 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 400;
    color: #ffffff;
}

.post__featured-image-container {
    position: relative;
}

.post__featured-image-container:hover .post__overlay {
    opacity: 1;
}

.post__overlay {
    opacity: 0;
    transition: 0.5s ease;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 50px 25px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 50%;
}

.overlay__name {
    font-size: 27px;
}

.overlay__title {
    font-size: 17px;
}

.overlay__modal-button {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 50px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #380982;
    border: 1px solid #ffffff;
    border-radius: 0;
    cursor: pointer;
}

.post__content {
    display: none;
    flex-wrap: wrap;
    background-color: #ffffff;
}

.modal {
    padding: 0;
    max-width: 1024px;
    border-radius: 0;
    background-image: url(../../uploads/2020/03/team-members-profile-bg-1024x547.jpg);
    background-repeat: no-repeat;
    background-position-x: 75px;
}

@media screen and (max-width: 425px) {
    .modal {
        margin-top: 305px;
    }
}

.modal__container {
    display: flex;
    flex-wrap: wrap;
}

.modal__container>* {
    flex: 0 1 50%;
    height: 451px;
}

@media screen and (max-width: 1024px) {
    .modal__container>* {
        flex: 0 1 100%;
        height: 294px;
    }
}

.post__featured-image-container .post__featured-image,
.post__featured-image-container .post__featured-image>img {
    height: 294px;
}

@media screen and (max-width: 768px) {
    .modal__container>* {
        flex: 0 1 100%;
        height: initial;
    }
}

.post__content-wrapper {
    padding: 47px 0;
}

@media screen and (max-width: 1024px) {
    .post__content-wrapper {
        padding: 47px;
    }
}

.post__content-wrapper>* {
    padding-right: 75px;
}

@media screen and (max-width: 1024px) {
    .post__content-wrapper>* {
        padding-right: 0;
    }
}

.content__title {
    font-size: 32px;
    color: #5624a5;
}

.content__role {
    font-size: 22px;
    font-weight: 200;
}

.content__content {
    font-size: 16px;
    font-weight: 200;
    max-height: 360px;
    overflow-y: scroll;
}

.content__contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    color: #633ca1;
}

.content__social-links i {
    padding-right: 20px;
}

.content__contact-wrapper>* {
    flex: 0 1 50%;
}

@media screen and (max-width: 425px) {
    .content__contact-wrapper>* {
        flex: 0 1 100%;
    }
}

.contact__number-wrapper {
    text-align: right;
}

@media screen and (max-width: 425px) {
    .contact__number-wrapper {
        padding: 10px 0;
        text-align: left;
    }
}

.contact__number {
    font-size: 20px;
    font-weight: 500;
}

.contact__number:before {
    content: "T: ";
    color: #000000;
}

.post-grid {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.post-grid__item {
    position: relative;
    width: 263px;
    border: 1px solid #cacaca;
}

.post-grid__item:hover .item__overlay {
    opacity: 1;
}

.item__overlay {
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.5s ease;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    background-image: url('img/post_overlay_bg.png');
    background-position-x: 75px;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

.item__button {
    padding: 15px 28px;
    font-size: 15px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #380982;
    border: 2px solid #ffffff;
}

.item.modal {
    max-width: 1085px;
    min-height: 698px;
    padding: 50px 100px;
}

.modal__title {
    font-size: 32px;
    font-weight: 400;
}

.modal__menu ul {
    display: flex;
    flex-flow: row wrap;
    padding: 0;
    list-style: none;
    font-size: 22px;
    font-weight: 100;
}

.modal__menu li {
    float: left;
    padding: 0 20px 0 0;
}

.modal__menu li::after {
    content: "/";
    padding-left: 20px;
    font-weight: 100;
}

.modal__menu li:last-child::after {
    display: none;
}

.menu__link a:hover {
    color: #000000;
}

.menu__link--active a {
    position: relative;
    color: #000000;
}

.menu__link--active a::after {
    content: '»';
    color: #b2b2b2;
    font-size: 65px;
    transform: rotate(90deg) scale(1, 1.25);
    position: absolute;
    top: 10px;
    left: 50%;
}

.case-study-details img {
    margin: auto;
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    width: 25px;
    height: 50px;
    padding: 0;
    font-size: 40px;
    text-rendering: optimizeLegibility;
    transform: translate(0, 50%) scale(1, 2);
    cursor: pointer;
    border: none;
    outline: none;
    color: #b2b2b2;
}

.slide-prev {
    left: -25px;
}

.slide-next {
    right: -25px;
}