/*
    Theme Name:   Litika Theme
    Theme URI:    https://www.emc2web.it
    Author:       Emc2web
    Author URI:   https://www.emc2web.it
    Template:     bricks
    Version:      1.1
    Text Domain:  bricks
*/
:root {
    --ocra:#cfb637ff;
    --verde:#979a67;
}

.titletop:before {
    content:'';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--ocra);
    position: relative;
    top:-15px;
    left:-20%;
}
.titlebox:before {
    content:'';
    width: 200px;
    height: 3px;
    background-color: var(--ocra);
    position: absolute;
    bottom:-6px;
    left:-50px;
}
.litikaBtn::after {
    content:'';
    width: 100%;
    height: 140%;
    position: absolute;
    border:1px solid var(--ocra);
    top:-10px;
    left:20px;
}
.titleunder:after {
    content:'';
    width: 200px;
    height: 3px;
    background-color: var(--ocra);
    position: absolute;
    bottom:-10px;
    left:0px;
}
.bordergolden::before {
    content:'';
    width: 110%;
    height: 110%;
    border:1px solid var(--ocra);
    position: absolute;
    top:-30px;
    left:-30px;
}
.tipo-materiali {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.bottoneTipo {
    border: 1px solid var(--ocra);
    padding: 15px 60px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    background-color: #000;
    color:#fff;
    margin:5px;
}
.bottoneTipo:hover {
    border: 1px solid var(--ocra);
    background-color: #fff;
    transition: all .3s ease;
    padding: 15px 60px;
    color:#000;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}
/* Colori e rifiniture */
#container-materiali {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rifiniture-mg,
.colori-mg{
	padding:20px;
}
span.single-color.bottoneColore {
	margin:5px;
}
.container-mg {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
}
.row-colori-mat,
.row-rifiniture-mat {
    display: flex;
}
.row-colori-mat span{
    margin-right: 20px;
}
.row-rifiniture-mat span,
.row-rifiniture-mat a{
    margin-right: 30px;
    text-decoration: none;
}
.single-color,
.single-rif {
    border-radius: 100%;
    transition: transform 0.5s ;
}
.single-color:hover,
.single-rif:hover {
    cursor: pointer;
}
.single-rif:hover {
    transform: scale(1.2);
}
.single-color,
.single-rif .btn-rif-inside{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 900;
}
.single-color {
    width: 75px;
    height: 75px;
    border: 1px solid var(--ocra);
    color: black;
    aspect-ratio: 1;
}
.single-rif {
    width: 135px;
    height: 135px;
    color: black;
    aspect-ratio: 1;
	position:relative;
}
/* Risultati materiali */
.risultati-mg {
    margin: 100px 0px;
}
.single-mat {
    background-size: cover;
    height: 250px;
    position: relative;
    transition: 0.5s;
    background-color: #000;
}
.btn-rif-inside {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 100%;
}
/* .bottoneRif:hover::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid var(--ocra);
    transform: skew(0.02turn, -15deg );
    left:0;
} */
.matActive {
    height: 280px!important;
    
}
.nome-risultato-mat {
    width: 100%;
    height: 100%;
    position: absolute;
}
.nome-risultato-mat p{
    text-transform: uppercase;
    font-weight: 900;
    color: white;
    margin-bottom: 0px!important;
    position: absolute;
    bottom: 10%;
    left: 2%;
    padding: 5px 10px;
    background-color: #000;
}
.nome-risultato-mat i{
    display: none;
}
.nome-risultato-mat:hover  {
    background-color: unset;
}
.nome-risultato-mat:hover p {
    background-color: #000;
    color: #fff;
}
.nome-risultato-mat:hover i{
    display: inline-block;
    margin-left: 20px;
    color: var(--ocra);
}
.nome-risultato-mat:hover p{
    cursor:pointer;
}
.modal-dialog {
    max-width: fit-content!important;
}
.bottoneTipo.selected {
    background-color: #fff;
    border: 1px solid var(--ocra);
    color: #000;
    transform: scale(0.7);
    pointer-events: none;
}
.bottoneColore.selected p,
.bottoneRif.selected .btn-rif-inside p {
    background-color: #212121bd;
    color: #fff;
    padding:5px;
}
.container-mg h5 {
    margin:15px 0px;
}
.bottoneColore {
    position: relative;
}

.bottoneColore p,
.single-rif .btn-rif-inside p{
    margin-bottom: 0px!important;
}
.single-rif:hover .btn-rif-inside p{
    background-color: #212121bd;
    padding: 0px 5px;
    color: #fff;
}
.bottoneColore p{
    letter-spacing: 0px!important;
    font-size: 12px!important;
    padding:5px;
}
@keyframes rotating {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.loader {
    font-size:25px;
    margin-top:30px;
    margin-right:20px;
    animation: rotating infinite linear 2.5s;
    vertical-align: bottom;
}
/* Spunta selected gialla */
.checkSelezionato {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 0px!important;
    background-color: var(--ocra);
    color: #fff;
    border-radius: 50%;
    display: flex;
    padding: 2px;
}
.single-rif .checkSelezionato {
    padding: 5px;
    right: 5%;
}
.menulitika:hover {
    cursor: pointer;
}
.btn-rif-home {
    width: 135px;
    height: 135px;
    border-radius: 50%;
    border: 1px solid #CFB53B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #CFB53B;
    font-weight: 900;
}
.btn-rif-home:hover {
    text-decoration: underline;
    color: #CFB53B;
}
#menucontainer {
    width: 0px;
    height: 0px;
    transition: all .5s ease;
}
#menucontainer.opened {
    opacity: 1;
    display: flex;
    width: 25%;
    height: fit-content;
    transition: all .5s ease;
}
#menu-menulaterale {
    opacity: 0;
    transition: all .5s ease;
}
#menucontainer.opened #menu-menulaterale{
    opacity: 1;
    transition: all .8s ease;
}
#menu-menulaterale li:hover {
    background-color: #000;
}
#menu-menulaterale li:hover a {
    color: #fff;
}

/* .boximg img {
    transition: all .3s linear;
    overflow-y: hidden;
    opacity:0;
} */
img.slide {
    height: 310px!important;
    opacity: 1!important;
    transform-origin: top left;
}
@media screen and (max-width: 999px) {
    #container-ricerca-mat {
        margin: 100px auto !important;
      }
    /* Materiali */
    .bottoneTipo {
        padding: 10px 40px;
    }
    .bottoneTipo.selected {
        transform: none;
    }
    /* Colori e rifiniture*/
    .bottoneColore p {
        font-size: 12px !important;
    }
    .bottoneColore.selected p {
        padding: 0px 0px;
    }
    .row-colori-mat span {
        margin-right: 0px;
        margin-bottom: 10px;
    }
    .single-color {
        width: 60px;
        height: 60px;
    }
    .row-colori-mat,
    .row-rifiniture-mat {
        flex-wrap: wrap;
    }
    .row-rifiniture-mat span,
    .row-rifiniture-mat a {
        margin-right: 0px;
        margin-bottom: 20px;
    }
    .single-rif,
    .btn-rif-home {
        width: 130px;
        height: 30px;
        border-radius: 20px;
        transition: none;
		margin-left: 15px;
    }
    .single-rif {
        margin: 0px 15px;
    }
    .single-rif:hover {
        transform: none;
    }
    .bottoneRif::before {
        display: none;
    }
    .btn-rif-inside {
        border-radius: 20px;
    }
    .btn-rif-home,
    .btn-rif-inside p {
        font-size: 15px;
    }
    /* Check selezione */
    .single-rif .checkSelezionato {
        padding: 3px;
        right: 0%;
        top: -25%;
      }
    .single-rif .checkSelezionato i {
        font-size: 12px;
    }
}
@media screen and (min-width: 1000px) {
    .scelta-materiali {
        margin-bottom: 30px;
      }
    .row-rifiniture-mat {
        flex-wrap: wrap;
    }
    .single-rif {
        margin-bottom: 20px;
    }
}