﻿/* * {
    box-sizing: border-box;
}

.rowMT {
    margin: 0 -5px;
    background-color: #ffffff;
    padding: 1rem;
    width: 100%;
    height: 100%;
}

    .rowMT:after {
        content: "";
        display: table;
        clear: both;
    }

.column {
    float: left;
    width: 25%;
    border-radius: 5px;
    box-shadow: #9ca0a5 0px 10px 20px -5px;
    cursor: pointer;
    margin: 5px;
    position: relative;
    min-width: 89px;
}

.column:hover {
    box-shadow: #696969 8px 8px 25px -2px;
    transition: .5s ease;
}

.column:hover .img {
    opacity: 0.8;
}

.column:hover .middle {
    opacity: 0.7;
}

@media screen and (max-width: 600px) {
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }
}

.img {
    border-radius: 5px;
    width: 100%;
    opacity: 1;
    display: block;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}


.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.text {
    background-color: rgb(66, 143, 68);
    color: white;
    font-size: 16px;
    padding: 15px;
    width: 100%;
    border: none;
}

@media screen and (max-width: 1000px) {
    .text {
        display: none;
    }
}

.center-div {
    //background-color: #ffffff; 
    //width: 100%;
    //height: 100%;
    margin: 0 0 1rem;
    //height: 10rem; 
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: center;
}*/

/*******************************************************************************************/

/*.card {
    box-shadow: #adb5bd 0px 10px 20px -10px;
    //transition: 0.3s;
    border-radius: 5px;
    cursor: pointer;
}


.card:hover {
    box-shadow: #adb5bd 0px 10px 30px -2px;
}


.midiv {
    word-wrap: break-word;
    max-width: 200px;
    width: 200px;
}*/



/*:::::::::::::::::::::::::::::::::::::::: NEW SCSS STYLES FOR UPDATE CARDS VIEWS ::::::::::::::::::::::::::::::::::::::::*/



.master-column-wrapper {
    width: 90%;
    margin-top: 50px;
}

body {
    font-weight: 400;
    font-size: 1em;
    font-family: 'Nunito Sans', sans-serif;
    background: #FFF;
    margin: 0;
}

.grid {
    display: grid;
    grid-column-gap: 0.5em;
    padding: 0;
}

    .grid figure {
        max-width: 100%;
        max-height: 98%;
        cursor: pointer;
        margin: 0;
        text-align: center;
        position: relative;
        float: left;
        overflow: hidden;
    }

        .grid figure img {
            opacity: 0.8;
        }

        .grid figure figcaption {
            color: #fff;
            text-transform: none;
            font-size: 1.25em;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
        }

            .grid figure figcaption::before,
            .grid figure figcaption::after {
                pointer-events: none;
            }

            .grid figure figcaption,
            .grid figure figcaption > a {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
            }

                .grid figure figcaption > a {
                    z-index: 1000;
                    text-indent: 200%;
                    white-space: nowrap;
                    font-size: 0;
                    opacity: 0;
                }

        .grid figure h2 {
            word-spacing: -0.15em;
            font-size: 1.3em;
            font-weight: 300;
        }

        .grid figure figcaption > a {
            z-index: 1000;
            text-indent: 200%;
            white-space: nowrap;
            font-size: 0;
            opacity: 0;
        }

        .grid figure h2 span {
            word-spacing: -0.15em;
            font-weight: 600;
            font-size: 1.5em;
        }

        .grid figure h2,
        .grid figure p {
            margin: 10px 0 0 30px;
        }

        .grid figure p {
            letter-spacing: 1px;
            font-size: 68.5%;
        }

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: '';
}

.clearfix:after {
    clear: both;
}


figure.transtion-effect {
    background: #333;
}

    figure.transtion-effect img {
        max-width: none;
        width: -webkit-calc(100% + 60px);
        width: calc(100% + 60px);
        opacity: 0.8;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(-30px, 0, 0) scale(1.12);
        transform: translate3d(-30px, 0, 0) scale(1.12);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    figure.transtion-effect:hover img {
        opacity: 0.4;
        -webkit-transform: translate3d(0, 0, 0) scale(1);
        transform: translate3d(0, 0, 0) scale(1);
    }


    figure.transtion-effect h2 {
        position: absolute;
        text-align: right;
        right: 0;
        bottom: 0;
        padding: 1em 1.2em;
    }

    figure.transtion-effect p {
        padding: 0 10px 0 0;
        width: 50%;
        text-align: left;
        opacity: 0;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(-40px, 0, 0);
        transform: translate3d(-40px, 0, 0);
        color: #FFF;
        font-size: 1.8em;
        font-weight: 300;
    }

    figure.transtion-effect:hover p {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

/** Media Queries For Mobiles **/

@media (min-width: 800px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

#infoAdvise {
    background-color: #91C94C;
    border-left: solid 8px #00693C;
    line-height: 18px;
    overflow: hidden;
    padding: 12px;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 50px;
}

.container-title {
    font-weight: 200;
    font-size: 24px;
}