/*
Theme Name: photoanalytical by controlcode
Author: controlcode
Author URI: https://www.controlcode.it/
Text Domain: photoanalytical
*/

/* a[href^="tel"] { */
a {
    color: inherit;
    /* text-decoration: none */
}

:root {
    /* --color1: #185C90; */
    --color1: #0061bf;
    --color2: #f1f1f1;
    --color3: #A4D5FF;
    --color4: #083c6e;
    --color1-rgb: 24, 92, 144;
}

.color1 {
    color: var(--color1);
}

.bg-color1 {
    background-color: var(--color1);
}

.color2 {
    color: var(--color2);
}

.bg-color2 {
    background-color: var(--color2);
}

.color3 {
    color: var(--color3);
}

.bg-color3 {
    background-color: var(--color3);
}

.color4 {
    color: var(--color4);
}

.bg-color4 {
    background-color: var(--color4);
}

body {
    position: relative;
    font-family: 'Inter', sans-serif;
    color: #252525;
    font-size: 18px;
}

.t-none {
    text-decoration: none !important;
}

.v-center {
    top: 50%;
    transform: translateY(-50%);
}

.aspect-ratio1 {
    aspect-ratio: 1/1;
}

.w-fit {
    width: fit-content;
}

.wrapper {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.customButton {
    padding: 10px 32px;
    min-width: max-content;
    border-radius: 20px;
    border: none;
    font-weight: bold;
    font-size: 16px;
}

.customButton:hover {
    background-color: var(--color3) !important;
    color: var(--color1) !important;
    border: none;
    /* border: solid var(--color1); */
}

.services-button {
    background-color: transparent;
}

.activeButton,
.services-button:hover {
    color: white !important;
    background-color: var(--color1) !important;
}

.fs-55 {
    font-size: 55px;
}

.fs-48 {
    font-size: 48px;
}

.fs-32 {
    font-size: 32px;
}

.fs-24 {
    font-size: 24px;
}

.fs-22 {
    font-size: 22px;
}

.fs-20 {
    font-size: 20px;
}

.fs-18 {
    font-size: 18px;
}

.fs-16 {
    font-size: 16px;
}

.fs-12 {
    font-size: 12px;
}

.border-rad {
    border-radius: 20px;
}

.border-rads {
    border-radius: 20px 0 0 20px;
}

.border-rade {
    border-radius: 0 20px 20px 0;
}

.border-radt {
    border-radius: 20px 20px 0 0;
}

.border-radtb {
    border-radius: 0 0 20px 20px;
}

.w-fit {
    width: fit-content;
}

.h-fit {
    height: fit-content;
}

p {
    font-size: 18px;
}

.object-cover {
    object-fit: cover;
}

@media (max-width:575px) {
    .fs-55 {
        font-size: 35px !important;
    }

    .fs-48 {
        font-size: 30px !important;
    }

    .top-title h1 {
        font-size: 18px !important;
    }

    .services-description {
        max-height: 100%;
        overflow: auto;
    }

    /* galleria immagini prodotto woocommerce*/
    .woocommerce .flex-viewport,
    .woocommerce .flex-viewport img {
        min-height: 250px !important;
        height: 250px !important;
        max-height: 250px !important;
    }
}

@media (max-width: 575px) {

    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100% !important;
        margin: 0 0 2.992em 0 !important;
    }
}

@media (min-width: 576px) and (max-width: 768px) {

    .woocommerce ul.products[class*=columns-] li.product,
    .woocommerce-page ul.products[class*=columns-] li.product {
        width: 46% !important;
        margin: 0 3.8% 2.992em 0 !important;
    }
}

/* HEADER */
.fix-navbar {
    background-color: transparent;
    width: 100%;
    margin: auto;
    top: 0;
    left: 0;
    transition: 0.5s;
}

#logoTop {
    height: 60px;
    width: auto;
    transition: 0.5s;
}

a.pagelink {
    color: inherit;
    text-decoration: none;
}


#workerimage {
    transition: opacity 1s ease-in-out;
    max-height: 80%;
}

#worktitle,
#workdescription {
    position: relative;

    transition: left 1s ease-in-out;
}

/* menu */
#main-menu {
    display: flex;
    gap: 5px;
    margin: 0;
}

#main-menu li {
    list-style: none;
    padding: 4px 6px;
}

#main-menu a {
    text-decoration: none;
    color: inherit;
}

#main-menu .current-menu-item,
#main-menu li:hover {
    background-color: var(--color3);
    border-radius: 6px;

}


/* menu mobile */

.backsidemenu {
    width: 0%;
    z-index: 1500;
    opacity: 0;
    background-color: rgba(0, 0, 0, .651);
    height: 100%;
    position: fixed;
    overflow-x: hidden;
    top: 0;
}

.sidemenu {
    position: fixed;
    top: 0;
    left: -400px;
    max-width: 370px;
    z-index: 2000;
    min-width: 270px;
    height: 100%;
    padding-top: 0px !important;
    padding: 20px;
    color: white;
    transition: 0.3s;
    ;
}

.sidemenu .menu {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 0 !important;
    height: 100%;
    overflow: auto;
}

.sidemenu .menu li {
    list-style: none;
    margin-bottom: 10px;
}

.sidemenu .menu li a {
    text-decoration: none;
    color: white;
}

.sidemenu .menu li:hover {
    font-size: 20px;
    font-weight: bold;
}

/* FINE HEADER */
/* FRONT PAGE */
.top-title {
    /* background-color: rgb(24, 92, 144, .50); */
    background-color: #083c6e;
}

.top-image {
    background-image: url('./images/top-image.webp');
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

/* applicazioni */

.home-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.home-menu li {
    /* width: 30%; */
    /* Three items per row */
    margin-bottom: 20px;
    box-sizing: border-box;
}

.home-menu li:nth-child(3n+1) {
    clear: left;
}

.home-category-block {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.home-menu a {
    display: block;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
    background: #185c90a1;
    width: 100%;
    text-align: center;
}

.home-menu .menu-description-container {
    background: #185c90a1;
    height: 0%;
    overflow: hidden;
    transition: 1s;
    padding: 0 10px;
}

.home-menu .home-category-block:hover .menu-description-container {
    height: 100%;
    transition: 1s;
    padding: 10px 10px;
}

.home-menu .menu-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    color: black;
    color: white;
}




.divisionContainer {
    background-image: url('./images/parallax.webp');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.services-block {
    display: none;
}

.services-description {
    right: 0;
}

.divisionBlockl {
    left: -110%;
}

.divisionBlockr {
    right: -110%;
}

.services-description {
    right: -100%;
}

.reason {
    bottom: 100%;
}

.slideEndInAnimation {
    -webkit-animation: slideEndIn 0.8s forwards;
    animation: slideEndIn 0.8s forwards;
}

@keyframes slideEndIn {
    from {
        right: -100%;
    }

    to {
        right: 0%;
    }
}

.slideStartInAnimation {
    -webkit-animation: slideStartIn 0.8s forwards;
    animation: slideStartIn 0.8s forwards;
}

@keyframes slideStartIn {
    from {
        left: -100%;
    }

    to {
        left: 0%;
    }
}

.slideBottomInAnimation {
    -webkit-animation: slideBottomIn 0.8s forwards;
    animation: slideBottomIn 0.8s forwards;
}

@keyframes slideBottomIn {
    from {
        bottom: -100%;
    }

    to {
        bottom: 0%;
    }
}


/* FINE FRONT PAGE */

/* FOOTER */
footer,
footer p {
    font-size: 16px;
}

#footer-menu {
    padding: 0;
}

#footer-menu li {
    list-style: none;
}

#footer-menu a {
    text-decoration: none;
    color: inherit;
}

#footer-menu a:hover {
    font-weight: bold;
}

/* FINE FOOTER */
/* ARTICOLO */

.post-image {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.cat-links {
    position: sticky;
    top: 100px;
}

.cat-block {
    border: solid white 2px;
    padding: 2px 8px;
    font-size: 16px;
}

/* FINE ARTICOLO */

/* SHORTCODE */
.article-image {
    height: 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.2s;
}

.article-image-container:hover .article-image {
    scale: 1.3;
    transition: 0.2s;
}

.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    /* display: none !important; */
}



.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    /* margin-right: 0 !important;
    float: none !important; */
    /* overflow: hidden; */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 1px 5px 0px var(--color1);
    background-color: white;
    transition: 0.3s;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    background-color: var(--color1);
    color: white !important;
    transition: 0.3s;

    .woocommerce-loop-product__title,
    .woocommerce-Price-amount {
        color: white !important;

    }
}

.woocommerce ul.products li.product a img {
    height: 150px !important;
    object-fit: cover !important;
    transition: 0.2s;
}

.woocommerce ul.products li.product {
    transition: 0.2s;
}

/* galleria immagini */
.woocommerce .flex-viewport {
    min-height: 450px;
    max-height: 450px;
    object-fit: contain;
    width: auto !important;
}

.woocommerce .flex-viewport img {
    min-height: 450px;
    max-height: 450px;
    object-fit: contain;
    width: auto !important;
    margin: auto;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    height: 100%;
    object-fit: cover;
}


.woocommerce-category-image img {
    max-height: 500px;
    object-position: center;
}

/* .woocommerce ul.products li.product a img:hover {
    scale: 1.3;
    transition: 0.2s;
} */

.StreetanalysisBanner {
    background-image: url('./images/banner_Streetanalysis.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.StreetanalysisBanner img {
    position: relative;
    bottom: -7vw;
}

.cat-description {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    color: black;
    font-size: 16px;
}


/* applicazioni */
.application-containter {
    border: solid var(--color1) 2px;
}

.application-containter a:hover {
    text-decoration: underline !important;
}

.application-title {
    background-color: rgba(var(--color1-rgb), 0.8);
}

.application-containter:hover .application-subcategory-titles {
    height: 100%;
    line-height: 1.5;
    transition: 0.5s;
    padding-bottom: 10px;
}

.application-subcategory-titles {
    height: 0%;
    line-height: 0;
    overflow: hidden;
    transition: 0.5s;
}

/* FINE SHORTCODE */
/* WOOCOMMERCE */

/* loop */
.contact_loop_banner {
    background-image: url('./images/contactusbg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.woocommerce-loop-product__title {
    color: black !important;
    font-weight: bold;
    word-break: break-all;
}



.product_description_loop {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    color: black;
}

select.product_tag {
    height: 48px;
}

/* prezzo */
.woocommerce-Price-amount,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: var(--color1) !important;
    font-weight: bold;
    margin-top: 5px;
}

.woocommerce-Price-amount {
    font-weight: bold;
}

.woocommerce-no-products-found {
    display: none;
}

.woocommerce ul.products li.product .price {
    font-size: 20px;

}

.onsale {

    background-color: var(--color1) !important;
}

/* pagination */
ul.page-numbers {
    gap: 10px !important;
    display: flex !important;
    width: fit-content !important;
    margin: auto !important;
    border: none !important;
}

ul.page-numbers li {
    border: none !important;
}

ul.page-numbers li span.page-numbers {
    border-radius: 50% !important;
    width: 35px;
    color: var(--color1) !important;
    aspect-ratio: 1 / 1 !important;
}

ul.page-numbers li a.prev.page-numbers,
ul.page-numbers li a.next.page-numbers {
    aspect-ratio: auto !important;
    border-radius: 0 !important;
}


ul.page-numbers li span.page-numbers.current {
    background-color: var(--color3) !important;
}

ul.page-numbers .next,
ul.page-numbers .prev {
    color: black !important;
    width: max-content !important;

}

/* FINE WOOCOMMERCE */

/* YOAST */
#breadcrumbs span {
    text-transform: capitalize;
    font-size: 12px;
}

/* FINE YOAST */




.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    display: flex;
}

.slide-element {
    transition: 0.3s;
}

.slide-element img {
    height: 250px !important;
}

/* Next & previous buttons */
.prevElement,
.nextElement {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prevElement:hover,
.next:hover {
    background-color: var(--color1);
    color: white !important;
}


/* Fading animation */
.leftEffect {
    position: relative;
    animation-name: leftEffect;
    animation-duration: 1.5s;
}

.rightEffect {
    position: relative;
    animation-name: rightEffect;
    animation-duration: 1.5s;
}

@keyframes leftEffect {
    from {
        left: -100%
    }

    to {
        left: 0
    }
}

@keyframes rightEffect {
    from {
        right: -100%
    }

    to {
        right: 0
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prevElement,
    .nextElement,
    .text {
        font-size: 11px
    }
}



/* modale form */
.modalBox {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    color: black;
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}

/* Style for target elements */
.modalBox:target {
    opacity: 1;
    pointer-events: auto;
}

/* Positioning of the child box */
.modalBox>div {
    width: 400px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 0px;
    background: white;
}

/* Positioning and style of the close button */
.close {
    background: white;
    color: black;
    line-height: 25px;
    position: absolute;
    right: 1px;
    text-align: center;
    top: 1px;
    width: 35px;
    text-decoration: none;
    font-weight: bold;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -moz-box-shadow: 1px 1px 3px #000;
    -webkit-box-shadow: 1px 1px 3px #000;
    box-shadow: none;
    border: none;
}

/* Style when mouse hovers on the close button */
.close:hover {
    background: black;
    color: white;
}

.modalFormButtonContainer {
    position: fixed;
    bottom: 0;
    right: 0;
}

/* Default style of the open button */
.modalFormButton {
    background-color: var(--color4);
    border: solid 1px;
    border-radius: 25px;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}


.details {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    margin-top: 2rem;
    color: #6b7280;
    display: flex;
    flex-direction: column;

    .form-container {
        background-color: #1e1e27;
        padding: 1.25rem;
        border-radius: 8px;
        position: absolute;
        max-height: calc(100vh - 200px);
        width: 400px;
        max-width: calc(100vw - 2rem);
        bottom: calc(100% + 1rem);
        right: 0;
        overflow: auto;
        transform-origin: 100% 100%;
        color: #95a3b9;
        height: max-content;
        display: none;
        /* Nascondi per impostazione predefinita */

        textarea {
            height: 100px;
        }
    }

    .form-container.open {
        display: block;
        /* Mostra quando è attiva */
        animation: scale 0.25s ease;
    }
}

.Contact_container {
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 99em;
    box-shadow: 0 0px 12px -5px black;
    color: #fff;
    background-color: var(--color4);
    list-style: none;
    text-align: center;
    cursor: pointer;
    transition: 0.15s ease;
    position: relative;


}

@keyframes scale {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}


.has-text-align-justify,
.is-style-text-align-justify {
    text-align: justify;
}