/*
    Created on : May 30, 2023, 6:21:48 PM
    Author     : mihal
*/
@import url("https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300;400;500;600&display=swap");
* {
    outline: none;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

:root {
    --body-font: "Alegreya Sans", sans-serif;
    --theme-bg: #1f1d2b;
    --body-color: #fff;
    --menu-color: #808191;
    --icon-bg : #000;
    --button-bg: #353340;
    --admin-bg: #ff7551;
    --manager-bg: #6c5ecf;
    --user-svg-bg: #32a7e2;
    --border-color: rgb(128 129 145 / 24%);
    --video-bg: #252936;
    --delay: 0s;
}

body {
    font-family: var(--body-font);
    color: var(--body-color);
    background-image: url("/img/chrootibg.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /*background-blend-mode: color-dodge;*/
    background-color: rgba(18, 21, 39, 0.86);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1em 2em;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
body:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(163deg, #1f1d2b 21%, rgba(31, 29, 43, 0.3113620448) 64%);
    opacity: 0.4;
    content: "";
    z-index: -1;
}

.container {
    /*background-color: var(--theme-bg);*/
    background: linear-gradient(180deg, #000, #00000052);
    max-width: 1240px;
    max-height: 900px;
    height: 95vh;
    display: flex;
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.sidebar {
    width: 250px;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition-duration: 0.2s;
    overflow-y: auto;
    overflow-x: hidden;
}
.sidebar .logo {
    display: none;
    width: 30px;
    height: 30px;
    background-color: #22b07d;
    flex-shrink: 0;
    color: #fff;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
}
.sidebar .logo-expand {
    text-decoration: none;
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    line-height: 34px;
    position: sticky;
    top: 0;
}
.sidebar .logo-expand:before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    /*background: var(--theme-bg);*/
    width: 200px;
    height: 70px;
    z-index: -1;
}
.sidebar-link:hover, .sidebar-link.is-active {
    color: #fff;
    font-weight: 600;
}
.sidebar-link:hover:nth-child(2n+1) svg, .sidebar-link.is-active:nth-child(2n+1) svg {
    background: #ff7551;
}
.sidebar-link:hover:nth-child(2n) svg, .sidebar-link.is-active:nth-child(2n) svg {
    background: var(--user-svg-bg);
}
.sidebar-link:hover:nth-child(2n+3) svg, .sidebar-link.is-active:nth-child(2n+3) svg {
    background:var(--user-svg-bg);
}
.sidebar.collapse {
    width: 90px;
    border-right: 1px solid var(--border-color);
}
.sidebar.collapse .logo-expand,
.sidebar.collapse .side-title {
    display: none;
}
.sidebar.collapse .logo {
    display: flex;
}
.sidebar.collapse .side-wrapper {
    width: 30px;
}
.sidebar.collapse .side-menu svg {
    margin-right: 30px;
}

@keyframes bottom {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: none;
    }
}
.side-menu {
    display: flex;
    flex-direction: column;
}
.side-menu a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--menu-color);
}
.side-menu a + a {
    margin-top: 26px;
}
.side-menu svg {
    width: 30px;
    padding: 8px;
    border-radius: 10px;
    background-color: var(--icon-bg);
    flex-shrink: 0;
    margin-right: 16px;
}
.side-menu svg:hover {
    color: #fff;
}

.side-title {
    font-size: 12px;
    letter-spacing: 0.07em;
    margin-bottom: 24px;
}

.side-wrapper {
    border-bottom: 1px solid var(--border-color);
    padding: 36px 0;
    width: 190px;
}
.side-wrapper + .side-wrapper {
    border-bottom: none;
}

.wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 30px;
}

.search-bar {
    height: 34px;
    display: flex;
    width: 100%;
    max-width: 450px;
}
.search-bar input {
    width: 100%;
    height: 100%;
    border: none;
    background-color: var(--button-bg);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 500;
    padding: 0 40px 0 16px;
    box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: 96%;
    color: #fff;
}

.user-settings {
    display: flex;
    align-items: center;
    padding-left: 20px;
    flex-shrink: 0;
    margin-left: auto;
}
.user-settings svg {
    width: 10px;
    flex-shrink: 0;
}
@media screen and (max-width: 575px) {
    .user-settings svg {
        display: none;
    }
}
.user-settings .notify {
    position: relative;
}
.user-settings .notify svg {
    width: 20px;
    margin-left: 24px;
    flex-shrink: 0;
}
.user-settings .notify .notification {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ec5252;
    position: absolute;
    right: 1px;
    border: 1px solid var(--theme-bg);
    top: -2px;
}
@media screen and (max-width: 575px) {
    .user-settings .notify .notification {
        display: none;
    }
}
.user-img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 50%;
}
.user-name {
    color: #fff;
    font-size: 14px;
    margin: 0 6px 0 12px;
    text-transform: capitalize;
}
@media screen and (max-width: 575px) {
    .user-name {
        display: none;
    }
}

.main-container {
    display: flex;
    flex-direction: column;
    padding: 0 30px 30px;
    flex-grow: 1;
    overflow: auto;
}

.anim {
    animation: bottom 0.8s var(--delay) both;
}

.main-header {
    font-size: 25px;
    color: #fff;
    font-weight: 700;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    left: 0;
    /*background: linear-gradient(to bottom, #1f1d2b 0%, #1f1d2b 78%, rgba(31, 29, 43, 0) 100%);*/
    z-index: 11;
}

.small-header {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin: 10px 0 20px;
}

.main-blogs {
    display: flex;
    align-items: center;
}
.main-blog__author {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}
.main-blog__author.tips {
    flex-direction: column-reverse;
    align-items: flex-start;
}
.main-blog__title {
    font-size: 25px;
    max-width: 12ch;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 30px;
}
.main-blog {
    background-image: url("https://diter.online/wp-content/uploads/2024/02/royb.webp");
    background-position-x: 150px;
    background-color: #31abbd;
    background-size: 80%;
    display: flex;
    flex-direction: column;
    width: 55%;
    padding: 30px;
    border-radius: 20px;
    align-self: stretch;
    overflow: hidden;
    position: relative;
    transition: background 0.3s;
    background-repeat: no-repeat;
}
.main-blog + .main-blog {
    margin-left: 20px;
    width: 45%;
    background-position-x: 100%;
    /*filter: saturate(1.4);*/
    background: linear-gradient(to bottom right,rgba(255, 255, 255, 0.7),rgba(255, 255, 255, 0.2)),
        url(https://diter.online/wp-content/uploads/2023/12/pomosicon.svg)
        ;
    background-repeat: no-repeat;
    background-position-x: 100%;
}
.main-blog + .main-blog .author-img {
    border-color: rgba(255, 255, 255, 0.75);
    margin-top: 14px;
}
.main-blog + .main-blog .author-img__wrapper svg {
    border-color: #ffe6b2;
    color: #e7bb7d;
}
.main-blog + .main-blog .author-detail {
    margin-left: 0;
}
@media screen and (max-width: 905px) {
    .main-blog, .main-blog + .main-blog {
        width: 50%;
        padding: 30px;
    }
    .main-blog {
        background-size: cover;
        background-position-x: center;
        background-blend-mode: overlay;
    }
}

.author-img__wrapper {
    position: relative;
    flex-shrink: 0;
}
.author-img__wrapper svg {
    width: 16px;
    padding: 2px;
    background-color: #fff;
    color: #0daabc;
    border-radius: 50%;
    border: 2px solid #0daabc;
    position: absolute;
    bottom: 5px;
    right: 0;
}
.author-name {
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
}
.author-info {
    font-size: 13px;
    font-weight: 400;
    color: #fff;
}

.seperate {
    width: 3px;
    height: 3px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    background-color: #fff;
    margin: 0 6px;
}


/*.apply {
    position: relative;
    background-color: var(--video-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}
*/
.home-box {
    padding: 10px 10px;
    cursor: pointer;
    position: relative;
    background-color: var(--video-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}

.results-area {
    display: none;
}
@media screen and (max-width: 940px) {
    .results-area {
        flex-direction: column;
    }
}

.show .results-area {
    display: flex;
}

.show .options-area {
    display: flex;
}

.options-area.new-chroot-data {
    display: flex;
}

.options-area.new-chroot-data {
    display: flex;
}

.hide-results .results-area {
    display: none;
}

.hide-options .options-area {
    display: none;
}


.show .main-header,
.show .main-blogs,
.show .small-header,
.show .videos {
    display: none;
}

.button-wrapper {
    display: flex;
    align-items: center;
    margin-left: auto;
}


@media screen and (max-width: 735px) {
    .main-blogs {
        flex-wrap: wrap;
    }

    .main-blog,
    .main-blog + .main-blog {
        width: 100%;
    }

    .main-blog + .main-blog {
        margin-left: 0;
        margin-top: 20px;
        background-size: cover;
    }
}
@media screen and (max-width: 475px) {
    .main-blog__title {
        font-size: 20px;
    }

    .author-name {
        font-size: 14px;
    }

    .main-blog__author {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .author-detail {
        margin-left: 0;
    }

    .main-blog .author-img {
        margin-top: 14px;
    }

    .main-container {
        padding: 0 20px 20px;
    }

    .header {
        padding: 20px;
    }

    .sidebar.collapse {
        width: 40px;
    }

    .sidebar {
        align-items: center;
    }

    body {
        padding: 0;
    }

    .container {
        height: 100vh;
        border-radius: 0;
        max-height: 100%;
    }
}
::-webkit-scrollbar {
    width: 6px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(21, 20, 26, 0.63);
    border-radius: 10px;
}

/* interface designs
 Home
*/

.main-container {
    display: flex;
    flex-direction: column;
    padding: 0 30px 30px;
    flex-grow: 1;
    overflow: auto;
}

.anim {
    animation: bottom 0.8s var(--delay) both;
}

.small-header {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin: 30px 0 20px;
}

.button-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Crea 3 colonne con larghezza uguale */
    gap: 10px; /* Spazio tra i bottoni */
}

.custom-button {
    width: 100%;
    padding: 50px 50px;
    font-size: 20px;
    background-color: var(--button-bg);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    transition: background-color 0.3s ease;
}

.custom-button svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    margin-right: 10px;
}

.custom-button:hover {
    background-color: #0056b3;
}

.section-container {
    display: flex;
    justify-content: space-between;
}
.boxes .box, .box {
    background: linear-gradient(180deg, #00c3ff7d, #59566b12);
    padding: 20px 10px;
    border-radius: 5px;
    text-align: center;
    flex: 1;
    margin: 10px;
}

.main-container h2 {
    font-size: 20px;
    color: #fff;
    line-height: 10px;
}


.bottone-container {
    margin-top: 10px;
}


.bottone-container .button {
    padding: 10px 10px;
    margin: 0 10px 0 0;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
}

.bottone-container .button.manager {
    background-color: var(--manager-bg);
}


.bottone-container .button:hover {
    background-color: #0056b3;
    transition: 0.3s;
}

.main-container svg {
    width: 16px;
    height: 16px;
    fill: #fff;
    margin-right: 5px; /* Aggiunge spazio tra il testo e l'icona */
}
/* new container */

.addform {
    display: flex;
    margin: 0 0 10px 0;
}

input {
    height: 34px;
    display: flex;
    max-width: 300px;
    border: none;
    background-color: var(--button-bg);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 500;
    padding: 0 40px 0 16px;
    box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
    color: #fff;
    margin: 10px 10px 10px 0;

}

select {
    height: 34px;
    display: flex;
    width: fit-content;
    border: none;
    background-color: var(--button-bg);
    border-radius: 8px;
    font-family: var(--body-font);
    font-size: 14px;
    font-weight: 500;
    padding: 0 40px 0 16px;
    box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
    color: #fff;
    margin: 10px 10px 10px 0;
}


/* Select 2 tweaks */

.select2-container {
    height: 34px;
    display: block !important;
    width: 200px !important;
    background-color: var(--button-bg);
    box-shadow: 0 0 0 2px rgba(134, 140, 160, 0.02);
    border: none !important;
    border-radius: 8px;
    margin: 10px 10px 10px 0 !important;
}

.select2-container--default .select2-selection--single {
    background-color: #30303000 !important;
    border: 1px solid #aaa0 !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    background-color: var(--button-bg);
    border-radius: 8px;
}

.select2-dropdown.select2-dropdown--below {
    background-color: var(--button-bg);
}

.select2-container--default .select2-selection--multiple {
    background-color: transparent !important;
}


.select2-container--default .select2-selection--multiple {
    border: none !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    color: #fff;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    font-size: large;
}

.select2-selection__choice__display {
    color: #000;
}


/* End of select 2 tweaks */

/* Stile delle opzioni */
select option {
    background-color: var(--button-bg);
    padding: 8px 16px;
    font-size: 18px;
    color: #fff;
}


a#create, a#updatePassword {
    background-color: #007bff;
    color: #fff;
    margin-top: 10px;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
}

a.buttons {
    background-color: #007bff;
    color: #fff;
    margin: 0 10px 0 0;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Generals */

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

.center {
    text-align: center;
}

.smtp-buttons, #smtpi-brevo, #smtpi-brevo-userpass, #submitb {
    text-align: center;
}

.smtp-buttons a {
    margin: 0 20px ;
    --delay: 2.3s;
}

.phpbuttons, .phpversion, .phpini {
    margin-bottom: 30px;
}

.hideseek {
    display: none;
}

.hidden{
    display: none;
}

.inlinebutton {
    margin-top: 30px;
}

/** Floating Button 
// shoutout https://codepen.io/chouaibblgn45/pen/gxrGOb
**/
.addstuff{
    display:block;
    width:50px;
    height:50px;
    background: var(--admin-bg);
    position:absolute;
    /*left:50%;
    top:8%;*/
    z-index:999;
    text-align:center;
    overflow:hidden;
    line-height:65px;
    font-size:1.5em;
    color:#fff;
    -moz-box-shadow: 0px 3px 9px rgba(0,0,0,.5);
    -webkit-box-shadow: 0px 3px 9px rgba(0,0,0,.5);
    box-shadow: 0px 3px 9px rgba(0,0,0,.5);
    border-radius:50px;
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    margin-top: 70px;
}

.addstuff:hover{
    cursor:pointer;
}

.one, .two, .three{
    position:absolute;
    width:45px;
    height:45px;
    color:#fff;
    z-index: 2;
    border-radius:50px;
    /*top:8%;
    left:50%;*/
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    -webkit-box-shadow: 0px 3px 9px rgba(0,0,0,.2);
    box-shadow: 0px 3px 9px rgba(0,0,0,.2);
    -webkit-transition:transform  .3s ease-in-out;
    transition:transform .3s ease-in-out;
    margin-top: 70px;
}

.one:hover,
.two:hover,
.three:hover{
    cursor:pointer;
}

.one i, .two i, .three i{
    display:none;
}


.one, .two, .three {
    background:linear-gradient(180deg, #00c3ff7d, #59566b12);
}

.adds svg, .addstuff svg {
    fill: #fff;
    margin: 10px;
}

.logo-expand svg {
    width: 56px;
    height: 40px;
}

.select2-search--dropdown {
    margin-top: -10px !important;
}

.loginform, .remember {

}

.main-container label
{
    font-size: 20px;
}

.redlight .select2-container--focus{
    border: red 2px solid !important;
}

#assignedContainer
{
    list-style: none;
    display: flex;
    padding: 20px;
}

#assignedContainer li
{
    margin-right: 10px;
    padding: 10px;
    cursor: pointer;
    border: 2px #007600 solid;
}

/* For user panel */
.selected {
    background-color: #007600;
    border: 2px #007bff solid;
    z-index: 2;/* Example background color for selected items */
}

.brevo-user-pass input{
    display: inline;
    margin-left: 20px;
}

#smtpi-brevo, #smtpi-brevo-userpass {
    padding-top: 30px;
    padding-bottom: 20px;
}

/* Logout button */
#log_in_icon:hover
{
    fill: tomato;
}
#log_in_icon
{
    fill: wheat;
    height: 140px;
}

/*Container creation advancement*/
#containerAdvancement
{
    display: none;
    width: 600px;
    max-height: 400px;
    position: absolute;
    top: 25%;
    border-radius: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(
        to bottom right,
        rgba(21, 19, 0, 0.56),
        rgba(0, 0, 0, 0.91)
        );
    text-align: center;
    padding: 150px 70px;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-shadow: #000 1px 1px;
}

.greenBar {
    width: 300px; /* Set your desired width */
    height: 20px; /* Set your desired height */
    background-color: #ffffff69; /* Blue color for the bar */
    border-radius: 10px; /* Border radius to make it rounded */
    overflow: hidden; /* Hide overflowing content */
    margin: 20px 20px 20px 70px;
}

.progressFill {
    position: inherit;
    height: inherit;
    background-color: #4CAF50; /* Green color for the progress */
    border-radius: 10px; /* Match the border radius of the progress bar */
    transition: width 0.3s ease; /* Smooth transition effect */
    max-width: 305px;
}

#countdowntimer
{
    position: absolute;
    margin-left: -80px;
    margin-top: 20px;
}

/* create container www shenanigans */

.wwwCry {
    display: flex;
    margin: 0 0 10px 0;
}

.wwwCry label span {
    font-size: 16px;
}

.wwwCry label {
    font-size: 20px;
}

.wwwCry input {
    float: left;
    margin: -5px 5px auto;
}

.small-header span {
    background: var(--user-svg-bg);
    padding: 5px 2px 5px 8px;
    border-radius: 20%;
    margin-right: 6px;
}

/* buttons */
.main-container a {
    padding: 10px 10px;
    margin: 10px 10px 0 0;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    width: fit-content;
}