html, body {
    width: 100%;
    height: 100%;
}


html {
    font-size: 62.5%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: 'Roboto', sans-serif;
}

button {
    z-index: 99;
}

button:focus {
    outline: 0;
}

input[type="text"],
input[type="number"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* di default cancello gli esagoni */
.hex-white-stroke,
.hex-decoration,
.hex-decoration-bottom,
#logo-hex {
    visibility: hidden;
}

#logo-label {
    position: absolute;
    background-color: #fff;
    top: 0;
    left: 5.8rem;
    width: 30rem;
    height: 13rem;
    border-radius: 0 0 1.7rem 1.7rem;
}

#img-hex {
    visibility: visible;
}

a:link,
a:visited,
a:hover,
a:active {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.mapDrawingControl {
    display: flex;
    margin: 5px;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.mapDrawingControl button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #fff;
    color: #555;
    padding: 0;
    width: 34px;
    height: 34px;
    font: 12px Arial, sans-serif;
    cursor: pointer;
}

.mapDrawingControl svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.mapDrawingControl button[aria-pressed="true"] {
    background: #e8e8e8;
    color: #000;
    font-weight: bold;
}

.mapDrawingControl button:focus-visible {
    outline: 2px solid #555;
    outline-offset: -2px;
}

.radius-div {
    display: flex;
    align-items: center;
    height: 34px;
    margin: 5px;
    background: #fff;
    color: #555;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font: 14px Arial, sans-serif;
}
.deleteControl button {
    background-color: #fff;
    border: none;
    margin: 5px;
    padding: 0 8px;
    height: 34px;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font: 12px Arial, sans-serif;
    color: #555;
    cursor: pointer;
}

.mapPlaceAutocomplete {
    margin: 5px;
    height: 34px;
    font: 14px Arial, sans-serif;
    border: none;
    border-radius: 3px;
    padding: 0 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.radius-div .radius_input {
    box-sizing: border-box;
    width: 64px;
    height: 100%;
    margin: 0;
    padding: 0 6px;
    border: none;
    border-radius: 3px 0 0 3px;
    background: transparent;
    color: inherit;
    font: inherit;
}

.radius-div .radius_label {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0 8px;
    border-left: 1px solid #ddd;
    font: inherit;
}

.step-container {
    width: 100%;
    overflow: hidden;
}

.step-container:after {
    content: '';
    display: block;
    width: 0;
    border-style: solid;
    border-width: 3.1rem 0 3rem 100vw;
}

.step {
    width: 72.5%;
    position: relative;
    margin: 0 auto;
    z-index: 0;
}

.step-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: left;
    -ms-flex-pack: left;
    justify-content: left;
    margin: 4rem 7.8rem 0 6.1rem;
}

.step-header h2 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 0rem;
    margin-top: .7rem;
}

.step-header h2:after {
    content: '';
    width: 32rem;
    display: block;
    margin: 1.4rem 0 0 0;
    border-top: 3px solid #19a8c3;
    border-top: .3rem solid #19a8c3;
}

.step-header p {
    margin: 0;
    font-size: 3rem;
    font-weight: 300;
    line-height: 4.4rem;
}

.step-header-bottom h2,
.step-header-bottom p {
    color: #fff;
}

.step-header-text {
    margin-left: 2rem;
}

.step-content {
    position: relative;
    background-color: transparent;
    margin: 2rem 7.8rem 0 6.1rem;
    min-height: 1vh;
    height: 100%;
    text-align: center;
}

.step-content-inner {
    position: relative;
    height: 100%;
    background-color: transparent;
    margin: 0rem 4.9rem;
    margin-bottom: 6.8rem;
}

.button-white, .button-green, .button-disabled {
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 1.7rem;
    font-size: 5rem;
    font-weight: 300;
    white-space: nowrap;
    line-height: 6.6rem;
    text-transform: uppercase;
    cursor: pointer;
    /*-webkit-box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 3px 5px -2px rgba(0, 0, 0, 0.75);*/
}

.button-white {
    background-color: #fff;
    padding: 1.5rem 6rem;
    color: #47b5c2;
}

.button-green, .button-disabled {
    padding: .1rem 6rem;
    margin: 0 auto;
    background-color: #47b5c2;
    color: #fff;
}.button-white {
    background-color: #fff;
    padding: 1.5rem 6rem;
    color: #47b5c2;
}

.button-green, .button-disabled {
    padding: .1rem 6rem;
    margin: 0 auto;
    background-color: #47b5c2;
    color: #fff;
}

.button-disabled {
    display: none;
}

#container-404 {
    height: 100%;
}

#container-1:after {
    border-color: transparent transparent #fff transparent;
}

#container-2 {
    background-color: #fff;
}

#container-2:after {
    border-color: transparent transparent #fafafa transparent;
}

#container-3 {
    background-color: #fafafa;
}

#container-3:after {
    border-color: transparent transparent #fff transparent;
}

#container-4:after {
    border-color: transparent transparent #232933 transparent;
}

#container-5 {
    background-color: #232933;
}

#container-404:after,
#container-5:after {
    display: none;
    /*border-color: transparent transparent #232933 transparent;*/
}

#container-2 .step-content-inner {
    height: 60rem;
}

#container-3 .step-content-inner {
    height: 10.5rem;
}

#container-4 .step-content-inner {
    /*max-height: 81.5rem;*/
}

#logo {
    position: absolute;
    top: 23px;
    top: 2.3rem;
    left: 70px;
    left: 7rem;
    height: 6.7rem;
    width: auto;
    z-index: 2;
}

#text-404,
#text-1-1 {
    padding: 20rem 0 3vh 5.8rem;
    z-index: 1;
}

#text-404 h1 {
    color: #000;
}
#text-1-1 h1{
    color: #fff;
}
#text-404 h1,
#text-1-1 h1 {
    font-size: 15rem;
    font-weight: 900;
    width: 43rem;
    margin: 0 0 0 -.2rem;
    z-index: 2;
}
#text-404 h1:after,
#text-1-1 h1:after {
    content: '';
    display: block;
    margin-left: .3rem;
    border-top: 3px solid #fff;
    border-top: .3rem solid #fff;
}
#text-404 h1:after {
    margin-top: .5rem;
    border-color: #000;
}

#text-404 p,
#text-1-1 p {
    font-size: 3rem;
    font-weight: 300;
    line-height: 4.5rem;
    z-index: 99;
}

/* tablet */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 1024px)
and (orientation: landscape) {
    #text-404,
    #text-1-1 {
        padding-top: 22rem;
    }
    #text-404 h1,
    #text-1-1 h1 {
        font-size: 10rem;
    }
    #text-404 p,
    #text-1-1 p {
        font-size: 2.3rem;
        line-height: 3.8rem;
    }
}

/* small phones */
@media only screen
and (device-width: 320px)
and (device-height: 480px) {
    html {
        font-size: 90%;
    }

    #text-404,
    #text-1-1 {
        width: 100%;
        text-align: center;
        padding-left: 0;
        padding-top: 20rem;
    }

    #text-404 h1,
    #text-1-1 h1 {
        margin: 0 auto;
    }

    #text-404 p {
        margin-left: .5rem;
        margin-right: .5rem;
    }
}

/* margini via */
@media screen and (max-width: 1160px) {
    .step {
        width: 100%;
        margin: 0;
    }
}

/* Step 2 */
.icon-sex,
.icon-sex-big {
    position: absolute;
    z-index: 3;
}

.icon-sex {
    display: block;
    height: 10.5rem;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
}

.icon-sex-big {
    height: 20.5rem;
    top: 15rem;
    left: calc(50% - 9rem);
    transition: opacity .2s linear;
    opacity: 0;
}

.icon-sex-big-selected {
    opacity: 1;
}

.icon-area {
    position: absolute;
    z-index: 1;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    height: 9rem;
}

.icon-sex path,
.icon-sex line,
.icon-sex circle,
.icon-sex polygon,
.icon-sex polyline,
.icon-area path,
.icon-area polygon {
    stroke: #000;
    transition: stroke .2s linear;
}

.icon-sex-man-tie,
.icon-area path,
.icon-area polygon {
    fill: #000 !important;
    transition: fill .2s linear;
}

.icon-sex-big path,
.icon-sex-big polygon,
.icon-sex-big polyline,
.icon-sex-big line,
.icon-sex-big circle,
.icon-sex-selected path,
.icon-sex-selected polygon,
.icon-sex-selected polyline,
.icon-sex-selected line,
.icon-sex-selected circle,
.icon-area-selected path,
.icon-area-selected polygon {
    stroke: #fff !important;
}

.icon-sex-selected .icon-sex-man-tie,
.icon-sex-big .icon-sex-man-tie,
.icon-area-selected path,
.icon-area-selected polygon {
    fill: #fff !important;
}

.span-sex,
.span-map {
    font-weight: 300;
    color: #000;
    text-transform: uppercase;
}

.span-map {
    font-size: 1.8rem;
    position: absolute;
    width: 100%;
    padding-top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.span-map span:after {
    content: '/';
}

.span-map span:last-child:after {
    content: '';
}

#span-map-filter {
    margin-left: -2rem;
}

.span-sex {
    font-size: 3.5rem;
    position: absolute;
}

.span-area {
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 1rem;
}

#span-sex-all {
    top: 28.4rem;
    left: calc(50% - 26rem);
}

#span-sex-woman {
    top: 19.4rem;
    left: calc(50% + 24rem);
}

#span-sex-man {
    top: 56.4rem;
    left: calc(50% + 17.5rem);
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flex-column {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 32%;
}

.p-highlight {
    text-align: left;
    border-left: .2rem solid #50b193;
    padding-left: 1rem;
    color: #50b193;
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: -.2rem;
    line-height: 3rem;
    margin-bottom: 3rem;
}

.err_box {
    display: none;
    padding: 1.5rem;
    margin: 1rem 0;
    border: .2rem solid rgba(244, 120, 33, 1);
    border-radius: 3rem;
    font-size: 2rem;
    color: rgba(244, 120, 33, 1);
    text-align: center;
    -webkit-animation: blink 3.5s infinite;
    -moz-animation:    blink 3.5s infinite;
    -ms-animation:     blink 3.5s infinite;
    animation:     blink 3.5s infinite;
}

#prof-warning {
    margin: 3rem 0;
}

@-webkit-keyframes blink {
    0%   { border-color:rgba(244, 120, 33, 1); }
    50% { border-color:rgba(244, 120, 33, 0); }
    100% { border-color:rgba(244, 120, 33, 1); }
}
@-moz-keyframes blink {
    0%   { border-color:rgba(244, 120, 33, 1); }
    50% { border-color:rgba(244, 120, 33, 0); }
    100% { border-color:rgba(244, 120, 33, 1); }
}
@-ms-keyframes blink {
    0%   { border-color:rgba(244, 120, 33, 1); }
    50% { border-color:rgba(244, 120, 33, 0); }
    100% { border-color:rgba(244, 120, 33, 1); }
}

.area-action {
    width: 100%;
    display: none
}

.area-action-show {
    display: block;
}

#map {
    height: 50rem;
}

#counter {
    display: flex;
    align-items: baseline;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 7rem;
    cursor: default;
}

#counter span:last-child {
    font-size: 2.2rem;
    height: 2.2rem;
    text-transform: lowercase
}

/* slider */
.irs {
    margin-top: 5rem;
}

.irs-to,
.irs-from,
.irs-single {
    background: transparent;
    z-index: 99;
    color: #fff;
    font-weight: 600;
    font-size: 4rem;
    padding: 0;
    cursor: pointer;
}

.irs-to,
.irs-from {
    top: 3.3rem;
}

.irs-from {
    left: .2rem;
}

.irs-single {
    top: -4rem;
    color: #19a8c3;
}

.irs-bar,
.irs-line {
    background: none;
    border: none;
    height: .5rem;
    top: 6rem;
}

.irs-bar {
    background: #42b6dc;
    background: -webkit-linear-gradient(-45deg, #42b6dc 0%, #56af71 100%);
    background: -webkit-linear-gradient(315deg, #42b6dc 0%, #56af71 100%);
    background: linear-gradient(135deg, #42b6dc 0%, #56af71 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#42b6dc', endColorstr='#56af71', GradientType=1);
}

.irs-line {
    background: #414042;
}

.irs-bar-edge {
    display: none;
}

.irs-slider,
.irs-slider.state_hover,
.irs-slider:hover {
    background: transparent;
}

.irs-slider {
    border: none;
    width: 9rem;
    height: 9rem;
    top: 1.4rem;
    box-shadow: none;
    cursor: pointer;
}

.irs-inner-slider {
    position: absolute;
    background: #fab800;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    top: .9rem;
    left: 1rem;
    z-index: 999;
}
