/**
Theme Name: dmc-theme
Author: DMC
Author URI: http://wpastra.com/about/
Description: Tema figlio derivato da ASTRA - base per progetti DMC
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dmc-theme
Template: astra
*/


/* ========================================================================================================
                                        BASE STYLES AND VARIABLES
                                        
    This file contains only the basic styles and global variables for the entire application. 
    For the styles of individual components, please refer to the /css folder in the root directory
   ======================================================================================================== */

/*  Variables related to the 9 colors used by the Astra customizer for site customization    */
:root {
    --ast-global-color-0: #595858; /*   ACCENTS - LINKS         */
    --ast-global-color-1: #000000; /*   ACTIVE - HOVER          */
    --ast-global-color-2: #1e293b; /*   HEADINGS                */
    --ast-global-color-3: #334155; /*   CONTENT                 */
    --ast-global-color-4: #FFFFFF; /*   SITE BACKGROUND         */
    --ast-global-color-5: #FFFFFF; /*   CONTENT BACKGROUND      */
    --ast-global-color-6: #D1D5DB; /*   BORDERS                 */
    --ast-global-color-7: #111111;
    --ast-global-color-8: #353535;
  }

/*  Reset */
body, h1, h2, h3, p {
    margin: 0;
    padding: 0;
}

/*  Typography */
body {
    font-family: 'Inter', sans-serif;
}

/*  Used to prevent/allow overflow when you open/close the mobile menu */
.prevent-overflow{
    overflow: hidden !important;
}

.allow-overflow{
    overflow-y: visible !important;
}

/* Since the header is not position: relative anymore, need to push the content of the page */
.site-content{
    padding-top: 80px;
}

/*Removes the default page title*/
.entry-title{
    display: none;
}


/* ========================================================================================================
                                        PAGES
   ======================================================================================================== */

/* Tablet and Desktop (545px and up) */
@media (min-width: 545px) {
    .dmc-form-login{
        width: 385px !important;
    }
}

.dmc-login-container {
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.dmc-login-row {
    display: flex; 
    justify-content: center;
    width: 100%;
}

.dmc-form-login{
    width: 100%;
}

/* ========================================================================================================
                                        COMPONENTS
   ======================================================================================================== */

/* Social Icons */
.dmc-social-icons{
    color: var(--ast-global-color-5);
    font-size: 20px;
}

/* Social Icons */
.dmc-mobile-menu-social-icons{
    color: var(--ast-global-color-5);
    font-size: 25px;
}

.primary-cta{
    height: 44px;
    margin-top: 20px;
    border-radius: 43px;
    background: var(--ast-global-color-8);
    width: 100%;
    font-size: 0.8em;
    color: var(--ast-global-color-4);
    min-width: 190px;
    padding: 0;
}

.secondary-cta {
    height: 44px;
    margin-top: 20px;
    border-radius: 43px;
    background: var(--ast-global-color-4);
    width: 100%;
    font-size: 0.8em;
    color: var(--ast-global-color-8);
    border: 1px solid var(--ast-global-color-8);
    min-width: 190px;
    padding: 0;
}

.tertiary-cta{
    background-color: var(--ast-global-color-4);
    color: var(--ast-global-color-8);
    font-weight: 600;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
    font-size: 0.8em;
    text-decoration: underline;
}

.tertiary-cta:hover{
    background-color: transparent;
    color: black;
    text-decoration: underline;
}


.circle{
    width: 25px;
    height: 25px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
}

.dotb-footer-ls-container{
    position: relative;
}

.dotb-mobile-ls-container{
    position: relative;
}

.dotb-header-ls-container{
    display: inline-block;
    position: relative;
}

.dotb-header-ls-select{
    all: unset;
    position: relative;
    background-color: transparent !important;
    color: var(--ast-global-color-8);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px !important;
    padding: 10px 38px !important;
    box-sizing: border-box;
    border-radius: 20px !important;

}


.dotb-footer-ls-select{
    all: unset;
    position: relative;
    width: 100%;
    background-color: transparent !important;
    color: white;
    border: 1px solid white !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px !important;
    padding: 10px 38px !important;
    height: 40px;
    box-sizing: border-box;
    border-radius: 20px !important;

}

.dotb-mobile-ls-select{
    all: unset;
    position: relative;
    width: 100%;
    background-color: white !important;
    color: black;
    border: 1px solid white !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px !important;
    padding: 10px 38px !important;
    height: 40px;
    box-sizing: border-box;
    border-radius: 20px !important;

}

.dotb-header-select-chevron-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--ast-global-color-8);
    cursor: pointer;
}

.dotb-footer-select-chevron-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: white;
    cursor: pointer;
}

.dotb-mobile-select-chevron-icon{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: black;
    cursor: pointer;
}

.dotb-lang-flag-container{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.dotb-lang-flag {
    width: 18px;
}

.dotb-select-option {
    padding: 10px !important;
    background-color: white !important;
    color: #333 !important;
    border-radius: 20px !important;
  }

/* Toggle button size reduction */
.toggle-switch {
    transform: scale(0.97);
}

.dotb-mobile-menu-separator{
    border-top: 1px solid #ccc; /* Light gray line */
    margin: 20px 0; /* Adds space above and below */
}

/* ========================================================================================================
                                            OVERRIDES
                                        
    Classes that must be overriden, as in some cases it is not possible to attach support classes.
   ======================================================================================================== */

/*Overrides default 60px margin bottom/top for larger device*/ 
@media (min-width: 1200px) {
    .ast-plain-container.ast-no-sidebar #primary {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 921px) {
    #page {
        min-height: calc(100vh - 138px) !important;
    }
}

/*Overrides default max-witdh for desktop device*/ 
@media (min-width: 922px) {
    .ast-container {
        max-width: 1140px;
    }
}

/* Add 20px padding to content on screens smaller than 544px */
@media (max-width: 544px) {
    .ast-separate-container #content .ast-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* ========================================================================================================
                                       MENU STYLES
   ======================================================================================================== */


li {
    list-style-type: none;
}

ul {
    margin: 0 !important;
}




.dmc-wordpressmenu-li-mobile-dmc a{
    color: #fff !important;
    text-transform: uppercase;
    background-color: #353535 !important;
    text-align: left;

}

.dmc-wordpressmenu-li-login-dmc a{
    color: #fff !important;
    text-transform: uppercase;
    background-color: #353535 !important;
    text-align: left;

}


.dmc-wordpressmenu-li-footer-dmc {
    text-align: left;
}

/* 
#menu-main-1 {
    background-color: #353535;
} */


.menu-link-dmc-mobile {
    color: #000;
    text-transform: uppercase;
    margin-left: -5px;
}


.menu-link-footer-dmc {
    color: #fff !important;
}
.menu-link-footer-dmc:hover{
    color: black !important;
}

