@import 'menu.css';

:root {
    /*GRAY*/
    --gray-900: #4A4A4A;
    --gray-800: #5F5F5F;
    --gray-700: #6a757a;
    --gray-600: #898989;
    --gray-500: #9E9E9E;
    --gray-400: #B3B3B3;
    --gray-300: #C8C8C8;
    --gray-200: #E1E5E8;
    --gray-150: #EEF4F6;
    --gray-100: #F5F5F5;
    --gray-50: #f4f4f4;
    /*WHITE*/
    --white: #fff;
    /*BLACK*/
    --black: #000;
    /*PRIMARY*/
    --primary: #38A169;
    --primary-hover: #48BB78;
    --primary-dark: #2F855A;
    --primary-dark-hover: #38A169;
    --primary-light: #C6F6D5;
    --primary-light-hover: #F0FFF4;
    /*SECONDARY*/
    --secondary: #2B363B;
    --secondary-hover: #41494d;
    --secondary-light: #576B75;
    /*UTILITY*/
    --text-color: #212529;
    --background-color: #FFF;
    --third-color: #FF8C00;
    --third-color-light: #FF8C0080;
    --third-color-dark: #c55d00;
    --grey50: #F9FAFB;
    --grey100: #F4F5F7;
    --grey200: #E5E7EB;
    --grey300: #D2D6DC;
    --grey400: #9FA6B2;
    --grey500: #6B7280;
    --grey600: #4B5563;
    --grey700: #374151;
    --grey800: #252F3F;
    --grey900: #161E2E;
    --green100: #F0FFF4;
    --green200: #C6F6D5;
    --green300: #9AE6B4;
    --green400: #68D391;
    --green500: #48BB78;
    --green600: #38A169;
    --green700: #2F855A;
    --green800: #276749;
    --green900: #22543D;
    --red100: #FFF5F5;
    --red200: #FDE7E7;
    --red300: #FCCFCF;
    --red400: #F99F9F;
    --red500: #F56565;
    --red600: #E53E3E;
    --red700: #C53030;
    --indigo100: #EBF4FF;
    --indigo200: #C3DAFE;
    --indigo500: #667EEA;
    --indigo600: #5A67D8;
    --indigo700: #4C51BF;
    --purple100: #FAF5FF;
    --purple500: #9F7AEA;
    --purple600: #805AD5;
    --blue100: #EBF8FF;
    --blue200: #CCEDFF;
    --blue400: #63B3ED;
    --blue500: #4299E1;
    --blue600: #3182CE;
    --blue700: #2B6CB0;
    --orange100: #FFFAF0;
    --orange200: #FFD7A9;
    --orange300: #ECC94B;
    --orange500: #ED8936;
    --orange700: #C05621;
}

html {
    font-size: 16px;
}

body {
    color: var(--text-color);
}

html {
    font-size: 16px;
}

@media (max-width: 1921px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1680px) {
    html {
        font-size: 11px;
    }
}

@media (max-width: 1280px) {
    html {
        font-size: 10px;
    }
}
.main {
    position: fixed;
    top: 60px;
    left: 53px;
    right: 0px;
    bottom: 0px;
    overflow: auto;
    padding: 0px;
    transition: left 0.5s;
    background-color: var(--background-color);
}
.maintop {
    position:relative;
    z-index:0;
}

@media (max-width: 600px) {
    .main {
        left: 0px;
    }
}
/*******CALC FUNCTIONS*************/
.bootstrap-tagsinput {
    height: calc(1.5em + .875rem + 3px);
}

.dbwp_tree_date ul {
    margin-left: calc(.8em + 2px + .5em);
}

    .dbwp_tree_date ul ul {
        margin-left: calc(.4em + 2px + .5em);
    }

.dbwp_tree_date_container input {
    margin-left: calc(.8em + 2px);
}

.dbwp_tree_date ul > li > .pseudo_horiz_border {
    width: calc(.8em + 3px);
}
/************<Login>*************/
.login_area .input-group-prepend {
    display: none;
}
.login_input {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: .75rem !important;
    padding-bottom: .75rem !important;
    border-width: 1px !important;
    border-radius: 4px !important;
    font-size: .875rem !important;
    line-height: 1.125 !important;
}
.img-fluid {
    display: block;
    margin: auto;
    max-width: 60% !important;
}
.login_label {
    font-weight: 450 !important;
    font-size: 1rem !important;
}
.login_area a:hover {
    color: var(--primary-hover);
}
.login_body {
    background-color: var(--gray150);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
}

.login_area {
    background-color: var(--background-color);
    padding: 15vh 30px 10vh 30px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
    height: fit-content;
    min-height: 100%;
    width: 100%;
}
.login_area .main-logo {
    margin-bottom: 40px;
}
@media (min-width: 767px) {
    .login_area {
        position: relative;
        max-width: 26rem;
        display: block;
        margin: auto;
        margin-top: 10%;
        padding: 40px 40px;
        height: auto;
        min-height: unset;
    }
}
/************</Login>*************/
/***TEMPLATE PAGINA DOPPIA DBWP CON SLIDE MOBILE*/
.navigator_panel {
    width: 400px;
    background-color: var(--gray-50) !important;
    height: 100%;
    display: inline-block;
    vertical-align: top;
}
.navigator_panel .dbwp_tree ul li:last-child:before {
    background: var(--gray-50) !important;
}

.data_panel {
    height: 100%;
    display: inline-block;
    vertical-align: top;
}

.mobile_nav {
    display: none;
    position: relative;
    vertical-align: middle;
    text-align: center;
    height: 100%;
}

    .mobile_nav > i {
        font-size: 2rem;
        margin-top: 40vh;
        visibility: hidden;
    }

.vertical-splitter {
    white-space: nowrap;
    height: 100%;
    overflow: hidden;
}

/*MOBILE*/
@media (max-width: 767px) {

    .data_panel {
        left: 10%;
        width: 90% !important;
        opacity: 1;
        position: absolute;
        overflow: auto;
    }

    .navigator_panel {
        left: 0%;
        width: 90% !important;
        opacity: 1;
        position: absolute;
        overflow: auto;
    }

    .mobile_nav > i {
        visibility: visible;
    }

    .mobile_nav {
        width: 10% !important;
        display: inline-block;
        position: absolute;
        left: 90%;
        border-left: 1px solid var(--gray-50);
        border-right: 1px solid var(--gray-50);
        top: 0px;
    }

    .hiddenRight {
        position: absolute;
        width: 0px !important;
        top: 0%;
        left: 200%;
        z-index: 100;
        -webkit-transform: translate(-100%, 0%);
        -moz-transform: translate(-100%, 0%);
        transform: translate(-100%, 0%);
        -webkit-transition: 600ms;
        -moz-transition: 600ms;
        transition: 600ms;
    }

    .hiddenLeft {
        position: absolute;
        top: 0%;
        left: -200%;
        width: 0px !important;
        z-index: 100;
        -webkit-transform: translate(100%, 0%);
        -moz-transform: translate(100%, 0%);
        transform: translate(100%, 0%);
        -webkit-transition: 600ms;
        -moz-transition: 600ms;
        transition: 600ms;
    }

    .mobile_nav_translated {
        left: 0%;
    }
}
/*FINE MOBILE*/
/*FINE TEMPLATE*/
@media (min-width: 992px) {
    .dbwp_desktop {
        display: block;
    }

    .dbwp_mobile {
        display: none;
    }
}

@media (max-width: 993px) {
    .dbwp_desktop {
        display: none;
    }

    .dbwp_mobile {
        display: block;
    }

    .fc-scroller {
        overflow: visible !important;
    }
}


/********* DBWP_TOGGLE *************/
.dbwp_toggle {
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    border: 0;
    outline: 0;
    cursor: pointer;
    display: inline-block !important;
    /* margin: 10px; */
}


    /* To create surface of toggle button */
    .dbwp_toggle:after {
        content: '';
        width: 38px;
        height: 22px;
        display: inline-block;
        background: #c6c6c6;
        border-radius: 18px;
        clear: both;
    }


    /* Contents before checkbox to create toggle handle */
    .dbwp_toggle:before {
        content: '';
        width: 18px;
        height: 18px;
        display: inline-block;
        position: absolute;
        left: 2px;
        top: 2px;
        border-radius: 20px;
        background: rgb(255, 255, 255);
    }


    /* Shift the handle to left on check event */
    .dbwp_toggle:checked:before {
        left: 18px;
    }

    /* Background color when toggle button will be active */
    .dbwp_toggle:checked:after {
        background: #91bf65;
    }

    .dbwp_toggle:disabled {
        cursor: default;
    }

        .dbwp_toggle:disabled:after {
            background: #c4c3c35e;
        }

        .dbwp_toggle:disabled:checked:after {
            background: #cbe3b4;
        }


    .dbwp_toggle,
    .dbwp_toggle:before,
    .dbwp_toggle:after,
    .dbwp_toggle:checked:before,
    .dbwp_toggle:checked:after {
        transition: ease .2s;
        -webkit-transition: ease .2s;
        -moz-transition: ease .2s;
        -o-transition: ease .2s;
    }
/********* DBWP_TOGGLE *************/
/*Per evitare colorpicker nascosto sotto modali*/
.popover {
    z-index: 99999999;
}

.dbwp_input.input-group > *:first-child, .dbwp_input-group.input-group > *:first-child {
    border-bottom-left-radius: .4rem !important;
    border-top-left-radius: .4rem !important;
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.dbwp_input.input-group > *:last-child, .dbwp_input-group.input-group > *:last-child {
    border-bottom-right-radius: .4rem !important;
    border-top-right-radius: .4rem !important;
}

.form-group.dbwp_notnull > label:after {
    margin-left: 0.3rem;
    content: "*";
    color: var(--orange500);
    font-weight: 600;
}

.dbwp_Thumbnail_Image {
    min-width: 4rem;
    max-width: 4rem;
    min-height: 4rem;
    max-height: 4rem;
    object-fit: cover;
    padding: 0;
    border-radius: 2rem;
    background-image: url(/images/LogoDefault.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dbwp_Upload_Image {
    min-width: 4rem;
    max-width: 4rem;
    min-height: 4rem;
    max-height: 4rem;
    object-fit: cover;
    padding: 0;
    border-radius: 2rem;
    background-image: url(/images/LogoDefault.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}