/*------------*/
/*   Mobile   */
/*------------*/


.myBox {
    display: grid;
    grid-gap: 0px;
    padding: 70px 25px 50px 25px;
    background-color: #333333;
    color: azure;
    grid-template-areas:
        "mylogo"
        "phrase"
        "r1"
        "l1"
        "l2"
        "r2"
        "r3"
        "l3";
}


.mylogo {
    background-image: url(/sites/all/themes/bootstrap_barrio/images/how_it_works/drop_logo_white.png);
    background-position: center;
    background-size: 58px;
    width: 58px;
    height: 58px;
    grid-area: mylogo;
    margin: auto;
    bottom: 30px;
    position: relative;

}

.phrase {
    grid-area: phrase;
    text-align: center;

}

img.ri1 {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 340px;
    height: auto;
    position: relative;
}
img.ri2 {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 260px;
    height: auto;
    position: relative;
}
img.ri3 {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 480px;
    height: auto;
    position: relative;
}



.l1 {
    grid-area: l1;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 55px;
}

.mycircle_left {
    display: none;
}

.mycircle_right {
    display: none;
}

.l2 {
    grid-area: l2;

}
.l3 {
    grid-area: l3;
    padding-left: 25px;
    padding-right: 25px;
}

.r1 {
    grid-area: r1;   
}

.r2 {
    grid-area: r2;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 55px;
}
.r3 {
    grid-area: r3;
}





/*-------------*/
/*   Desktop   */
/*-------------*/

@media (min-width: 700px) {
    
    .myBox {
        display: grid;
        grid-gap: 0px;
        padding: 70px 50px 50px 50px;
        grid-template-columns: 1fr 1fr;
        background-color: #333333;
        grid-template-areas:
            "top_l top_r"
            "mylogo mylogo"
            "phrase phrase"
            "topcircle topcircle"
            "l1  r1"
            "l2  r2"
            "l3  r3"
            "bottomcircle bottomcircle";
    }
    

    .top_l {
        grid-area: top_l;
        border-top: 4px solid #999999;
        margin-right: 100px;

    }

    .top_r {
        grid-area: top_r;
        border-top: 4px solid #999999;
        margin-left: 100px;
    }

    .mylogo {
        background-image: url(/sites/all/themes/bootstrap_barrio/images/how_it_works/drop_logo_white.png);
        background-position: center;
        background-size: 58px;
        width: 58px;
        height: 58px;
        grid-area: mylogo;
        margin: auto;
        bottom: 30px;
        position: relative;

    }

    .phrase {
        grid-area: phrase;
        text-align: center;
        padding-bottom: 26px;p

    }
    
    .topcircle {
        grid-area: topcircle;
        width: 12px;
        height: 12px;
        background: #999999;
        -moz-border-radius: 12px;
        -webkit-border-radius: 12px;
        border-radius: 12px;
        margin: auto;
        top: 6px;
        
    }
    .bottomcircle {
        grid-area: bottomcircle;
        width: 12px;
        height: 12px;
        background: #999999;
        -moz-border-radius: 12px;
        -webkit-border-radius: 12px;
        border-radius: 12px;
        margin: auto;
        bottom: 6px;
        
    }

    img.ri1 {
        top: 50%;
        left: 50%;
        padding-left: 50px;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 340px;
        height: auto;
        position: relative;
    }
    img.ri2 {
        top: 50%;
        left: 50%;
        padding-right: 50px;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 280px;
        height: auto;
        position: relative;
    }
    img.ri3 {
        top: 50%;
        left: 50%;
        padding-left: 50px;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 480px;
        height: auto;
        position: relative;
    }
    .mycircle_left {
        display: grid;
        position: relative;
        left: 70px;
        height: 36px;
    }
    .mycircle_right {
        display: grid;
        position: relative;
        right: 70px;
        height: 36px;
    }

    .l1 {
        grid-area: l1;
        padding-right: 50px;
        border-right: 2px solid #999999;
        display: flex;
        padding-left: 0px;
        align-items:center;
    }

    .l2 {
        grid-area: l2;
        border-right: 2px solid #999999;
    }
    .l3 {
        grid-area: l3;
        padding-left: 0px;
        padding-right: 50px;
        border-right: 2px solid #999999;
        display: flex;
        align-items:center
    }

    .r1 {
        grid-area: r1;
        border-left: 2px solid #999999;    
    }

    .r2 {
        grid-area: r2;
        padding-left: 50px;
        padding-right: 0px;
        border-left: 2px solid #999999;
        display: flex;
        align-items:center
    }
    .r3 {
        grid-area: r3;
        border-left: 2px solid #999999;
    }
    
    
}




