/*
Theme Name: MRSD 1.0
Theme URI: https://www.claricedesign.it
Description: Mario Rossi Scola Design Theme, responsive theme developed by <a href="https://www.clariceedsign.it">claricedesign</a>
Author: Claudio Riceputi
Author URI: https://www.claricedesign.it
Version: 1.0
Tags: responsive, white

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: https://creativecommons.org/licenses/by-sa/3.0/
*/

body{
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
}

/* Layout */
header {
    padding: 20px 10px 40px;
}
.mainContainer{
    min-width: 280px;
    max-width: 1470px;
    margin: 0 auto;
}
.pageContainer{
    padding: 0 10px;
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.pageContainerLeft{
    padding: 0 10px;
}
.singlePostContainer{
    padding: 0 10px;
    min-height: calc(100vh - 248px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.postaNavContainer{
    padding: 10px 10px 0;
    display: flex;
}
.postaNavContainer .nav-next{
    margin-left: auto;
}
footer{
    position: relative;
    padding: 40px 10px 20px;
    font-size: 14px;
}

/* Content Layout */
/*

.slide-container{
    width: 100%;
    margin: 0 auto;
}
*/
.wp-video{
    margin: 0 auto;
}


/* Typography */
header h1{ 
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: #000;
}
a:hover{
    text-decoration: none;
    color: rgba(0,0,0,0.6);
}
h2:first-of-type{
    margin-top: 0;
}
p:last-of-type{
    margin-bottom: 0;
}


/* Utils */
/*
.slides .caption-wrap{
    display: none !important;
}
*/
.hideOnMob{
    display: none;
}
.arrow-icon{
    width: 14px;
    height: auto;
    vertical-align: middle;
}
.insta-icon{
    width: 32px;
    height: auto;
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top:40px;
}

/* grid home */
.catRow{
    margin-bottom: 50px;
}
.catRow:last-of-type{
    margin-bottom: 0;
}
.catRow > div:first-of-type{
    align-items: center;
    margin-bottom: 20px;

}
.catRow > div:nth-child(2){
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 23px 23px;
}
.catRow > div:nth-child(2) a{
    display: flex;
    width: 100%;
    height: 100%;
}
.catRow > div:nth-child(2) img{
    width: 100%;
    height: auto;
}

/* Media Query */
/* @media only screen and (min-width: 500px) {} */

@media only screen and (min-width: 666px) {
    .catRow > div:nth-child(2) a{
        display: unset;
        width: unset;
        height: unset;
    }
    .catRow > div:nth-child(2) img{
        width: 300px;
        height: auto;
    }
}

@media only screen and (min-width: 768px) {
    /* grid home */
    .catRow{
        display: flex;
    }
    .catRow > div:first-of-type{
        display: flex;
        width: 181px;
        margin-bottom: 0;
        align-items:flex-start;
    }
    .catRow > div:nth-child(2){
        width: calc(100% - 181px);
    }
    
    /*
    .slide-container, .wp-video{
        width: 80%;
        padding: 0 10px;
    }
    */

    footer{
        padding: 40px 10px;
        font-size: 16px;
    }

    header {
        padding: 40px 10px;
    }

    .mainContainer{
        padding: 0 10px;
    }

    .pageContainer{
        min-height: calc(100vh - 214px);
    }

    .singlePostContainer{
        min-height: calc(100vh - 256px);
    }
}

@media only screen and (min-width: 844px) {
    .catRow > div:first-of-type{
        align-items:center;
    }
}

@media only screen and (min-width: 1024px) {
    .slide-container, .wp-video{
        width: 50%;
    }
    footer{
        position: relative;
        padding: 40px 10px;
        font-size: 16px;
    }
}
/* @media only screen and (min-width: 1280px) {} */