/*importazione font google*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


@keyframes reducedSearchBarContainerAnimation {
    from{
        position: absolute;
        width: 30vw;
        margin: 0;
        padding: 0;
        top: 0vh;
        margin-bottom: 5vh;
        height: 25vh;
        z-index: 99999;
        left: 25vw;
        right: 45vw;
    }
    to{
        position: absolute;
        width: 30vw;
        margin: 0;
        padding: 0;
        margin-top: 0vh;
        margin-bottom: 0vh;
        height: 25vh;
        z-index: 99999;
        margin-left: 0;
        margin-right: 0;
        left: 25vw;
        right: 45vw;
        z-index: 9999 !important;
        top: 0vh;
    }
}

@keyframes reducedInputSearchBarContainerAnimation {
    from{
        float: left;
        position: relative;
        width: 20vw;
        margin-left: calc(50% - 10vw - 20px);
        margin-right: calc(50% - 10vw - 20px);
        margin-top: calc(15vh - 20px);
        padding: 20px;
        border: none !important;
        border-bottom: 1px solid rgb(0,0,0) !important;
        color: rgb(0,0,0);
        text-align: center;
        font-size: 1.2em;
        letter-spacing: 2px;
        background: transparent;
    }
    to{
        float: left;
        position: relative;
        width: 20vw;
        margin: 0 !important;
        margin-top: calc(7vh - 20px);
        padding: 10px;
        border: none;
        border-bottom: 1px solid rgb(0,0,0);
        color: rgb(0,0,0);
        text-align: center;
        font-size: 1.2em;
        letter-spacing: 2px;
        background: transparent;
    }
}

@keyframes reducedSearchBarContainerAnimationMobile {
    from{
        position: absolute;
        width: 40vw;
        margin: 0;
        padding: 0;
        top: 19vh;
        margin-bottom: 0vh;
        height: 5vh;
        z-index: 99999;
        left: 30vw;
        right: 30vw;
    }
    to{
        position: absolute;
        width: 40vw;
        margin: 0;
        padding: 0;
        top: 19vh;
        margin-bottom: 0vh;
        height: 5vh;
        z-index: 99999;
        left: 30vw;
        right: 30vw;
    }
}

@keyframes reducedFilterListAnimation {
    from{
        width: 50vw;
        margin-left: calc(50% - 25vw);
        margin-right: calc(50% - 25vw);
        margin-top: 25px;
    }
    to{
        width: 50vw;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 25px;
    }
}

html, body{
    width: 100vw;
    min-height: 100vh;
    background-color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: rgb(0,0,0);
}

*{
    float: left;
    margin: 0;
    position: relative;
    padding: 0;
}

br, span, strong, em{
    float: none;
    position: unset;
    margin: unset;
    padding: unset;
}

.searchBarContainer{
    position: absolute;
    width: 30vw;
    margin: 0;
    padding: 0;
    top: 0vh;
    margin-bottom: 5vh;
    height: 25vh;
    z-index: 99999;
    left: 25vw;
    right: 45vw;
}
.reducedSearchBarContainer{
    animation: reducedSearchBarContainerAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.searchBar{
    float: left;
    position: relative;
    width: 20vw;
    margin-left: calc(50% - 10vw - 20px);
    margin-right: calc(50% - 10vw - 20px);
    margin-top: calc(15vh - 20px);
    padding: 20px;
    border: none !important;
    border-bottom: 1px solid rgb(0,0,0) !important;
    color: rgb(0,0,0);
    text-align: center;
    font-size: 1.2em;
    letter-spacing: 2px;
    background: transparent;
}
.reducedInputSearchBarContainer{
    animation: reducedInputSearchBarContainerAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

input#searchbar::placeholder{
    letter-spacing: 0.5px !important;
}

input#searchbar:focus-visible{
    outline:none;
}

.filterList{
    width: 50vw;
    margin-left: calc(50% - 25vw);
    margin-right: calc(50% - 25vw);
    margin-top: 25px;
}

.reducedFilterList{
    animation: reducedFilterListAnimation;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

.singleFilter{
    float: left;
    width: 30%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    line-height: 1em;
    transition: 0.2s;
    letter-spacing: 1px;
    list-style: none;
    text-transform: uppercase;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
    margin-left: calc(3.333% / 2);
    margin-right: calc(3.333% / 2);
    opacity: 1;
}
.singleFilter:hover{
    letter-spacing: 2px;
    transition: 0.2s;
}

.selectedSingleFilter{
    transition: 0.2s;
    font-weight: 400;
    color: rgb(26, 192, 252) !important;
    opacity: 1;
}

.singleFilter:hover{
    opacity: 1;
    transition: 0.2s;
}

.hiddenModel{
    display: none !important;
}

.permanentHiddenModel{
    display: none !important;
}

#contentItem{
    margin-top: 15vh;
    width: 80vw;
    margin-left: 10vw;
    margin-right: 10vw;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 15vh;
}

.model{
    width: calc(20% - 10px);
    float: left;
    min-width: calc(20% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: block;
}

h1.personName{
    font-size: 1.2em;
    text-align: center;
    color: rgb(89,89,89);
    text-transform: uppercase !important;
    letter-spacing: 2px;
    margin-top: 10px;
    opacity: 0.5;
    transition: 0.2s;
}

h1.personName:hover{
    opacity: 0.9;
    transition: 0.2s;
}

h1.marginPersonName{
    margin-bottom: 25px;
}

.singlePersonBackground {
    width: 100%;
    float: left;
    clear: both;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-size: cover !important;
    background-position: center !important;
    min-width: 100%;
    max-width: 100%;
    padding-bottom: 120%;
    filter: grayscale(100%);
    transition: 1s;
    opacity: 1;
}

.hideBackground{
    display: none;
}

.singlePersonBackground:hover {
    box-shadow: 0px 0px 150px rgba(0,0,0,0.8) inset;
    transition: 0.5s;
}

.singleItemLink {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    /*max-height: 250px;
    min-height: 250px;*/
}

.iconContainer{
    float: left;
    width: 100vw;
    height: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.displayIcon{
    position: absolute;
    top: 0;
    width: 100px;
    right: -25px;
    cursor: pointer;
    padding: 15px;
    background: rgba(120,120,120,0.5);
    border-radius: 25px;
    padding-right: 75px;
    color: white;
    text-align: center;
}

/* switcher filter*/
#switchSpace{
	float: left;
	width: 100px;
    position: absolute;
    top: 0;
    left: -25px;
    cursor: pointer;
    padding: 15px;
    background: rgba(120,120,120,0.5);
    border-radius: 25px;
    padding-left: 75px;
    color: white;
}

#switchSpace:hover p#switcherButtonText{
	color: white;
    font-weight: bold;
	transition: 0.1s;
}

p#switcherButtonText{
	display: inline;
	float: left;
	font-family: "Mulish", sans-serif;
	color: white;
	font-size: 0.7em;
	text-transform: uppercase;
	transition: 0.1s;
	margin-top: -15px;
}

#switcherButton{
	display: inline;
	float: left;
	margin-top: 11px;
	margin-left: 5px;
}
.switchInOut {
	 --line: white;
	 --dot: white;
	 --circle: white;
	 --duration: 0.2s;
	 --text: white;
	 cursor: pointer;
}
 .switchInOut input#switcherdInput {
	 display: none;
}
 .switchInOut input#switcherdInput + div#switcherdDiv {
	 position: relative;
}
 .switchInOut input#switcherdInput + div#switcherdDiv:before, .switchInOut input#switcherdInput + div#switcherdDiv:after {
	 --s: 1;
	 content: '';
	 position: absolute;
	 height: 1px;
	 top: 7px;
	 width: 10px;
	 background: var(--line);
	 transform: scaleX(var(--s));
	 transition: transform var(--duration) ease;
}
 .switchInOut input#switcherdInput + div#switcherdDiv:before {
	 --s: 0;
	 left: 0;
	 transform-origin: 0 50%;
	 border-radius: 1px 0 0 1px;
}
 .switchInOut input#switcherdInput + div#switcherdDiv:after {
	 left: 18px;
	 transform-origin: 100% 50%;
	 border-radius: 0 2px 2px 0;
}
 .switchInOut input#switcherdInput + div#switcherdDiv span#switcherdSpan {
	 padding-left: 5px;
	 line-height: 10px;
	 color: var(--text);
}
 .switchInOut input#switcherdInput + div#switcherdDiv span#switcherdSpan:before {
	 --x: 0;
	 --b: var(--circle);
	 --s: 2px;
	 content: '';
	 position: absolute;
	 left: 0;
	 top: 0;
	 width: 15px;
	 height: 15px;
	 border-radius: 50%;
	 box-shadow: inset 0 0 0 var(--s) var(--b);
	 transform: translateX(var(--x));
	 transition: box-shadow var(--duration) ease, transform var(--duration) ease;
}
 .switchInOut input#switcherdInput + div#switcherdDiv span#switcherdSpan:not(:empty) {
	 padding-left: 64px;
}
 .switchInOut input#switcherdInput:checked + div#switcherdDiv:before {
	 --s: 1;
}
 .switchInOut input#switcherdInput:checked + div#switcherdDiv:after {
	 --s: 0;
}
 .switchInOut input#switcherdInput:checked + div#switcherdDiv span#switcherdSpan:before {
	 --x: 14px;
	 --s: 12px;
	 --b: var(--dot);
}
.switchInOut + .switchInOut {
	 margin-top: 16px;
}
.dribbble {
	 position: fixed;
	 display: block;
	 right: 20px;
	 bottom: 20px;
}
.dribbble img {
	 display: block;
	 height: 28px;
}

input#switcherdInput:checked ~ p#switcherButtonText {
  color: white;
	font-weight: bold;
}

/************************************************/
/************************************************/
/*                                              */
/* gestione query per le varie versioni MOBILE  */
/*                                              */
/************************************************/
/************************************************/

@media (min-width: 279px) and (max-width: 823px) {
    .searchBarContainer {
        position: absolute;
        width: 40vw;
        margin: 0;
        padding: 0;
        top: 18vh;
        margin-bottom: 0vh;
        height: 5vh;
        z-index: 99999;
        left: 40vw;
        right: 40vw;
    }
    .mainGenderContainer {
        margin-left: 0;
        margin-right: 0;
        width: 40vw;
        height: 5vh;
        color: rgb(90,90,90);
        position: absolute;
        margin-top: 15px;
    }
    .reducedSearchBarContainer{
        animation: reducedSearchBarContainerAnimationMobile;
        animation-duration: 0.5s;
        animation-fill-mode: both;
    }
    input#searchbar {
        float: left;
        position: relative;
        width: 80vw;
        margin-left: calc(50% - 40vw - 20px);
        margin-right: calc(50% - 40vw - 20px);
        margin-top: calc(7vh - 20px);
        padding: 20px;
        border: none;
          border-bottom-color: currentcolor;
          border-bottom-style: none;
          border-bottom-width: medium;
        border-bottom: 1px solid rgb(80,80,80);
        color: rgba(89,89,89,0.7);
        text-align: center;
        font-size: 1.2em;
        letter-spacing: 2px;
    }
    #searchbar{
        display: none;
    }
    /* gestione filtri mobile */
    .filterList{
        width: 80vw;
        margin-left: calc(50% - 40vw);
        margin-right: calc(50% - 40vw);
        margin-top: 25px;
    }
    .singleFilter{
        float: left;
        width: calc(33.3333% - 20px);
        margin-left: 5px;
        margin-right: 5px;
        text-align: center;
        opacity: 0.5;
        font-family: 'Poppins', sans-serif;
        font-size: 0.8em;
        transition: 0.2s;
        letter-spacing: 1px;
        list-style: none;
        text-transform: uppercase;
        cursor: pointer;
        padding: 5px;
        border-radius: 15px;
        background: rgb(120,120,120);
        color: white;
    }
    /* gestione spazio icone */
    .iconContainer{
        width: 100vw;
        height: auto;
        margin-top: 0;
        margin-bottom: 0;
        position: fixed;
        bottom: 0;
        padding-bottom: 0;
        min-height: 50px;
        background: rgba(120,120,120,0.5);
        backdrop-filter: blur(5px);
        z-index: 999;
    }
    .displayIcon{
        position: absolute;
        top: 0;
        width: 100px;
        right: -25px;
        cursor: pointer;
        padding: 15px;
        background: transparent;
        border-radius: 25px;
        padding-right: 75px;
        color: white;
        text-align: center;
    }
    /* switcher filter*/
    #switchSpace{
        float: left;
        width: 100px;
        position: absolute;
        top: 0;
        left: -25px;
        cursor: pointer;
        padding: 15px;
        background: transparent;
        border-radius: 25px;
        padding-left: 75px;
        color: white;
    }
    /* gestione spazio modelli */
    #contentItem{
        margin-top: 15vh;
        width: 90vw;
        margin-left: 5vw;
        margin-right: 5vw;
        font-family: 'Poppins', sans-serif;
        margin-bottom: 15vh;
    }
    /* gestione modelli */
    .model{
        width: calc(50% - 10px);
        min-width: calc(50% - 10px);
        display: block;
        text-align: center !important;
    }
    a.singleItemLink {
        width: 100%;
        font-family: 'Poppins', sans-serif;
        text-align: left !important;
    }
    h1.personName{
        width: 100%;
        font-size: 0.9em;
        text-align: left;
        color: rgb(89,89,89);
        text-transform: uppercase !important;
        letter-spacing: 2px;
        margin-top: 10px;
        opacity: 0.5;
        transition: 0.2s;
    }
    h1.marginPersonName{
        margin-bottom: 25px;
    }
    .filterPanelButton{
        font-size: 1em !important;
        line-height: 1em;
    }
    /*gestione pannello filtri*/
    #filterPanelId{
        width: 90vw;
        height: 90vh;
        position: fixed;
        top: 5vh;
        bottom: 5vh;
        left: 5vh;
        right: 5vh;
        border-radius: 25px;
        background: rgba(255,255,255,0.5);
        backdrop-filter: blur(5px);
    }
    .selectedSingleFilter{
        color: rgb(26, 192, 252) !important;
        border:0.5px solid rgb(26, 192, 252) !important;
    }
}
/* gestione query per le varie versioni DESKTOP */

@media (min-width: 1024px) and (max-width: 1279px){
    .filterList {
        margin-top: 15px;
    }
    .searchBar::placeholder{
        font-size: 0.7em;
    }
    #searchbar{
        width: calc(30vw - 32px);
    }
    .searchBarContainer {
        position: absolute;
        width: 30vw;
        left: 20vw;
        right: 50vw;
    }
    .searchBar{
        width: 30vw;
        margin-left: calc(50% - 15vw - 20px);
        margin-right: calc(50% - 15vw - 20px);
    }
    .singleFilter:hover {
        letter-spacing: 1px;
    }
    @keyframes reducedInputSearchBarContainerAnimation {
        from{
            float: left;
            position: relative;
            width: 30vw;
            margin-left: calc(50% - 15vw - 20px);
            margin-right: calc(50% - 15vw - 20px);
            margin-top: calc(15vh - 20px);
            padding: 20px;
            border: none !important;
            border-bottom: 1px solid rgb(0,0,0) !important;
            color: rgb(0,0,0);
            text-align: center;
            font-size: 1.2em;
            letter-spacing: 2px;
            background: transparent;
        }
        to{
            float: left;
            position: relative;
            width: 30vw;
            margin: 0 !important;
            margin-top: calc(7vh - 20px);
            padding: 10px;
            border: none;
            border-bottom: 1px solid rgb(0,0,0);
            color: rgb(0,0,0);
            text-align: center;
            font-size: 1.2em;
            letter-spacing: 2px;
            background: transparent;
        }
    }
}
@media (min-width: 1280px) and (max-width: 1365px){
    .filterList {
        margin-top: 15px;
    }
    .searchBar::placeholder{
        font-size: 0.7em;
    }
}
@media (min-width: 1366px) and (max-width: 1919px){
    .filterList {
        margin-top: 10px;
    }
    .searchBar::placeholder{
        font-size: 0.6em;
    }
}
@media (min-width: 1680px) and (max-width: 1919px){
    .searchBar::placeholder {
        font-size: 0.6em;
    }
}