/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

.head-banner{
    min-height: 600px;
}

article h2 {
    font-size: 30px;
}

.pa-toggle-icon-left .et_pb_toggle_title:before {
    left: 0 !important;
}
/*adjust spacing on the left for the icon*/
.pa-toggle-icon-left .et_pb_toggle_title,
.pa-toggle-icon-left .et_pb_toggle_content {
    padding-left: 2em !important
}


/* Side by Side Buttons v1 */
.side-by-side-1 .et_pb_button_module_wrapper {
    display: inline-block;
    margin-right: 25px;
}

.side-by-side-1 .et_pb_text,
.side-by-side-1 .et_pb_audio_module {
    display: inline-block;
}


/* Audio */
.et_audio_container .mejs-duration-container,
.et_audio_container .mejs-horizontal-volume-total,
.et_audio_container .mejs-volume-button {
    display:none!important;
}

.et_audio_container .mejs-playpause-button button{
    border: 4px solid #4B91CD!important;
    border-radius:50px;
}

.et_audio_container .mejs-playpause-button button:before{
    color: #4B91CD!important;
}
.et_audio_container .mejs-controls div.mejs-time-rail{
    margin-left:50px;
    margin-right:20px;
}

.et_pb_text_color_dark .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total {
    background-color:#DCE6F0;
}
.et_pb_text_color_dark .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-current{
    background-color:#5AA5E6;
}


.et_pb_text_color_dark .et_audio_container .mejs-time-rail .mejs-time-handle-content{
    display:none;
}

.et_audio_container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
.et_audio_container .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current, .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-current{
    height: 10px;
}

#et-top-navigation nav>ul .quote-link a{
    border: 1px solid;
    color: #af0060;
    border-color: #af0060;
    padding: 16px 8px!important;
    border-radius: 0.5rem;
}

.clienti-soddisfatti .percent-100 p{
    font-size: 90px;
    line-height: 90px;
    font-weight: bold;
    color: #ffffff;
}

.et_fixed_nav #et-top-navigation {
    padding-top: 0px!important;
}

.et_fixed_nav #top-menu-nav {
    padding-top: 20px;
}
.et_fullwidth_nav #main-header .container{
    padding-right: 0;
}

#main-header .container{
    width: 100%;
}

.et_header_style_left #et-top-navigation .mobile_menu_bar {
    padding-bottom: 24px;
    padding-top: 24px;
}

.logo_container{
    padding-left: 5px;
}

.cart-info {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(to bottom, #5AA5E6, #3C7DB4); /* Gradient from speakerblue-100 to speakerblue-700 */
    height: 85px;
    float: right;
    margin-left: 15px;
}

.cart-info a{
    display: flex;
    color: white;
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 700;
    z-index: 9999;
}
.cart-info a span{
    padding: 0.125rem 0.5rem;
}

.icon-wrapper {
    margin-left: auto;
    margin-right: auto;
}

.cart-link {
    position: relative;
    border: 2px solid transparent;
    color: #4b5563; /* text-gray-800 */
    transition: color 0.15s ease-in-out;
    display: flex;
    align-items: center;
}

.cart-link:hover {
    color: #9ca3af; /* text-gray-400 */
}

.cart-link:focus {
    outline: none;
    color: #6b7280; /* text-gray-500 */
}

.cart-quantity {
    display: inline-flex;
    align-items: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
    color: white;
    font-size: 1.25rem; /* text-xl */
    font-weight: bold;
}
/*
.et_menu_container{
	padding-right:0px!important;
}*/

footer .follow span,
footer .payment span,
footer .certificate span,
footer .info span{
    font-size: 1.125rem;
}

.link-blue a{
    color: #4B91CD;
    font-weight: bold;
}

.contact h2 {
    padding-bottom: 0;
}
.contact a{
color: #4B91CD ;
}


.music-bases{
    border: none;
}

.music-bases ul li:nth-child(1):before{
    display: inline-block;
    content: url("/wp-content/themes/divi-child/img/icons/classic.svg");
    width: 50px;
    height: 50px;
}

.music-bases ul li{
    margin-right: 80px;
}

.music-bases ul li:nth-child(2):before{
    display: inline-block;
    content: url("/wp-content/themes/divi-child/img/icons/modern.svg");
    width: 50px;
    height: 50px;
}

.music-bases ul li:nth-child(3):before{
    display: inline-block;
    content: url("/wp-content/themes/divi-child/img/icons/chrismas.svg");
    width: 50px;
    height: 50px;
}

.music-bases ul li a{
    padding: 4px 20px;
}

ul.et_pb_tabs_controls:after{
    border: none;
}

.et_pb_tabs_controls li{
    border: none;
}

.et_pb_tabs_controls li.et_pb_tab_active{
    background: transparent;
}

.et_pb_tabs_controls li.et_pb_tab_active a{
    border-bottom: 1px solid #4B91CD;
}

ul.et_pb_tabs_controls{
    background: transparent;
}


/** Accordion **/
.number-prefix{
    color: #BE1973;
    padding-right: 15px;
}

.text-magenta{
    color: #BE1973;
}

.text-bluegrey{
    color: #465A6E;
}

.text-blue{
    color: #4B91CD;
}

.et_pb_button_module_wrapper .quote-button{
    width: 600px;
}

body #page-container .et_pb_section .quote-button:after{
    right: 1rem;
}


.add_check_icon p:before {
    content: url("/wp-content/themes/divi-child/img/icons/check.svg");
    /*background: url("/wp-content/themes/divi-child/img/icons/check.svg");*/
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 100%;
    float: left;
    display: block;
    margin-right: 10px;
    vertical-align: middle;
}

.number-big{
    font-size: 60px;
    font-weight: bold;
}

.number-decimal{
    font-size: 25px;
    font-weight: bold;
}

.price-crossed-out{
    position: relative;
}

.price-crossed-out p:before{
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 170px;
    height: 150px;
    background-image: url('/wp-content/themes/divi-child/img/crossed-out.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
}

.map-section .col-2,
.map-section .col-1{
    margin: auto;
}

#mobile_menu > li {
    border-bottom: 1px white solid;
}

#mobile_menu > li > a{
    background: #5AA5E6;
    color: white;
}

#mobile_menu .sub-menu > li{
    background: white;
}

.loghi-clients .et_pb_column .et_pb_image_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.et_pb_column{
    z-index: inherit;
}

    /** Tooltip **/
.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    width: 52px;
    height: 52px;
    align-items: center;
}

/* Button styles */
.tooltip-button {
    height: 100%;
    width: 100%;
    border: none;
    background: transparent;
}

/* Tooltip container */
.tooltip-container {
    position: absolute;
    top: 100%;
    padding-top: 20px;
}

.tooltip-container[x-cloak] {
    display: none;
}

/* Tooltip content */
.tooltip-content {
    position: relative;
    width: 320px;
    z-index: 50;
}

/* Triangle pointer */
.tooltip-content::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    height: 12px;
    width: 12px;
    border-top-left-radius: 2px;
    background-color: #0f172a;
}

/* Inner content */
.tooltip-inner {
    position: relative;
    background-color: #0f172a;
    padding: 20px;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    text-align: left;
    font-size: 14px;
    color: #e2e8f0; /* slate-200 */
    font-weight: 500;
}

/* Icon styles */
.tooltip-icon {
    fill: #f0abfc; /* speaker-magenta-100 */
}

/* Text container */
.tooltip-text {
    margin-top: 8px;
}

.tooltip-text p {
    color: white;
}

/* Transitions */
.tooltip-enter {
    transition: all 200ms cubic-bezier(.5,.85,.25,1.8);
    transition-delay: 100ms;
}

.tooltip-enter-start {
    opacity: 0;
    transform: translateY(8px);
}

.tooltip-enter-end {
    opacity: 1;
    transform: translateY(0);
}

.tooltip-leave {
    transition: all 100ms cubic-bezier(.5,.85,.25,1.8);
    transition-delay: 100ms;
}

.tooltip-leave-start {
    opacity: 1;
}

.tooltip-leave-end {
    opacity: 0;
}

.text-vertical-center > .et_pb_column {
    display: flex;
    align-items: center;
}
.map-section .contact,
.map-section .sede-logo{
    margin: auto;
}

.map-section a {
    color: #BE1973;
}

/** Responsive **/

@media screen and (min-width: 981px) and (max-width: 1650px) {

    body h1{
        font-size: 34px;
    }

    body h2{
        font-size: 25px;
    }

    body article h2 {
        font-size: 20px;
    }

    body h5{
        font-size: 16px;
    }

    body h1 span{
        font-size: 34px;
    }

    body h2 span{
        font-size: 25px;
    }

    body h5 span{
        font-size: 16px;
    }

    body p{
        font-size: 16px;
    }

    body span{
        font-size: 16px;
    }

    body p{
        font-size: 14px;
    }
    .et_pb_button{
        font-size: 16px;
    }

    #main-content .et_pb_section.et_pb_section_0{
        background-size: 55%;
    }

    .head-banner.et_pb_with_background{
        min-height: 450px;
    }

    .clienti-soddisfatti .percent-100 p{
        font-size: 60px;
        line-height: 60px;
    }

    .side-by-side-1 .et_pb_column{
        width: 100%;
    }
}

@media screen and (max-width: 980px) {
    .music-bases ul li{
        margin-right: 20px;
        margin-bottom: 10px;
        text-align: center;
        display: inline-block;
    }
    .music-bases ul li a{
        display: block;
    }
    .et_pb_button_module_wrapper .quote-button{
        width: 350px;
    }
    .music-audio-players-container{
        columns: 1;
    }
}

@media screen and (max-width: 767px) {
    .logo-footer-table{
        display: none;
    }
}

@media screen and (max-width: 479px){
    body h1{
        font-size: 25px;
    }

    body h1 span{
        font-size: 25px;
    }

    body h2{
        font-size: 20px;
    }

    body h2 span{
        font-size: 20px;
    }

    body h5{
        font-size: 16px;
    }

    body span{
        font-size: 14px;
    }

    body p{
        font-size: 14px;
    }
    .et_pb_button{
        font-size: 16px;
    }

    .music-bases ul li{
        margin-right: 20px;
        margin-bottom: 10px;
        text-align: center;
        display: inline-block;
    }
    .music-bases ul li a{
        display: block;
        padding: 4px 0px;
    }

    .et_pb_button_module_wrapper .quote-button{
        width: auto;
    }

    .et_header_style_left #et-top-navigation{
        display: flex;
    }

    .cart-info {
        order: 2;
    }

    .column-mobile-margin-0 .et_pb_row .et_pb_column{
        margin: 0;
    }

    .side-by-side-1 .et_pb_button_module_wrapper{
        width: 100%;
    }

    .side-by-side-1 .et_pb_button_module_wrapper .et_pb_button{
        width: 100%;
    }

    .loghi-clients .et_pb_column .et_pb_image_wrap {
        height: auto;
    }


    .loghi-clients  .et_pb_image_wrap img[src*=".svg"]
    {
        width: 80%;
        max-height: 250px;
        padding: 15px 0;
    }
}
