:root {
    --bgd: #000;
    --bgd-light: #ffff;
    --box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
    --main-color: #FFA15C;
    --secondary-color: #FFDB5C;
    --gradient: linear-gradient(to right bottom, var(--secondary-color), var(--main-color));
    --strong: #FF9142;
    --shadow-main: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --shadow-accent: rgba(255, 159, 14, 0.705) 0px 8px 100px;
    --label-color: #999;
    --border: #e5e5e5;
    --padding-1: 1rem;
    --padding-sidebar: 1rem;
    --flex-smaller: 1;
    --flex-bigger: 5;
    --header-size: 6vh;
    --app-size: calc(100vh - var(--header-size));


}

* {}

body {
    background-color: var(--bgd-light) !important;
    font-family: 'Montserrat',
        sans-serif !important;
}

.hamburger {
    float:left;
    height: 40px;
    width: 50px;
    /* background-color: #000; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    display: none;
    padding: .6rem;
    border-radius: 20px;
}

.hamburger .line {
    background-color: white;
    /* border: 3px solid white; */
    outline: 1px solid white;
    /* height: .2rem; */
    width: 70%;
    display: block;
    transition: 250ms ease-in-out transform,
        250ms ease-in display,
        250ms ease-in width;
}

.hamburger.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger.active>.line {
    width: 50%;
}

.hamburger.active>#middleline {
    display: none;
}

.hamburger.active>#topline {
    transform-origin: center;
    transform: rotate(45deg);
}

.hamburger.active>#bottomline {
    transform-origin: center;
    transform: rotate(-45deg);
}

.charcounter {
    position: absolute;
    right: 5%;
    bottom: 20%;
    background-color: #999;
    height: 1.5rem;
    width: max-content;
    padding: .1rem;
    color: white;
    text-align: center;
    vertical-align: middle;
    font-weight: 500;
    border-radius: .3rem;
}

@media only screen and (max-width:768px) {
    .hamburger {
        display: flex;
    }
}

label {
    font-weight: 500;
    font-size: medium;
    color: var(--label-color);
    margin-bottom: 0 !important;
}

.form-control,.form-control_debt {
    font-size: medium !important;
    border-radius: .3rem !important;
    border: solid 1px var(--border) !important;
}

.form-control_debt {
    width:100px;
    height:40px;
}

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

.border-none {
    border: none;
}

#app {
    display: flex;
    flex-grow: 1;
    width: 100%;
    height: var(--app-size);
}

#app>main {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.main {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    height: 100%;
}

.header {
    /* background: rgb(250, 211, 108); */
    /* background: var(--gradient); */
    background: linear-gradient(90deg, #bbbbbb 0%, #757575 100%);
    height: 60px;
    font-weight: bolder;
    text-align: right;
    font-size: medium;
    color: #ffffff;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header>.logo-container {
    flex: var(--flex-smaller);
    /*background: var(--bgd);*/	
    /* transform: skewX(-20deg); */

}

.logo-content {
    /* transform: skewX(20deg); */
    display: flex !important;
    align-items: center !important;

}

.header>.title-holder {
    flex: var(--flex-bigger);
    font-size: larger;
    font-weight: 300;
}

@media only screen and (max-width: 768px) {
    .header {
        flex-direction: row-reverse;
        justify-content: space-around !important;
    }

    .header .title-holder {
       
        align-items: flex-start;
        justify-content: flex-start;
        margin-left: 1rem;
    }
    .header .fas{
        display: none;
    }


    .header .language {
        position: relative; 
        left: -30px;
    }

    .logo-container {
        border-right: none !important;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between !important;
        /* border-left: 1rem solid #FF9142; */
    }
    .logo {
        display: none;
    }
    .logo-text {
        display: flex;
    }

    .sms {
        display: none;
    }
}

.switch {
    position: relative;
    left: 15px; 
    width: 60px;
    height: 34px;
  
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 11px; /* Zaobljeni ivice */
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  /* Možete dodati animaciju i ikone sunca i meseca za svetlu i tamnu temu */
  .slider:after {
    content: '☀️';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
  }
  
  input:checked + .slider:after {
    content: '🌙';
    left: 10px;
    right: auto;
  }
.sidebar {
    flex: var(--flex-smaller);
    background: #efefef;
    /*background: var(--gradient);
     padding: var(--padding-sidebar); */
    grid-area: sidebar;
    border-right: 0.5rem solid #959595;
    overflow-y: scroll;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.navlinks {
    display: flex;
    list-style: none;
    flex-direction: column;
    align-items: start;
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: pointer;
}

.navlinks>.nav-item {
    width: 100%;
    text-align: left;
    /* padding-left: 5%; */
    /* padding-right: 5%; */
}

/* .navlinks>.nav-item:hover{
    background-color: white;
} */

.nav-item>.nav-link {
    width: 100%;
}

.nav-link {
    color: #757575 !important;
    font-weight: 400;
    font-size: large !important;
    padding: 1rem 0.5rem 1rem 1rem !important;
    margin: 0 !important;
    background-color: transparent;
    transition: background-color 200ms ease-in-out, color 250ms ease-in-out;
    border-radius: 0 !important;
}

.nav-link:hover {
    background-color: #dddddd;
    color: var(--bgd) !important;
}

.nav-link.active {
    background-color: #959595 !important;
    color: #ffffff !important;
}

.nav-link-sms{
    padding-right: 30px;
}

.links {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.links>.logout-link {
    text-align: center;
}


@media only screen and (max-width:992px) {
    #app {
        display: unset !important;
    }

    main {
        display: unset !important;
    }

    .main {
        display: unset !important;
    }

    .content {
        display: unset !important;
    }

    .data {
        display: unset !important;
    }

    .page {
        display: unset !important;
    }


    .hamburger {
        display: flex;
        margin-right: 10px;

    }
    .dark-mode h1 {
        color: #999;
    }
    .sidebar {
        flex: 0;
        position: absolute;
        top: 0;
        padding: 0;
        margin: 0;
        background-color: unset;
        border: unset;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 10%;
        transition: flex 250ms ease-in-out, width 250ms ease-in-out;
    }

    .sidebar.active {
        flex-direction: column;
        height: 50vh !important;
        flex: 5;
        position: fixed;
        justify-content: space-around;
        height: 100%;
        z-index: 100;
        right: 0;
        background-color: #efefef;
        width: 100%;
        border-left: 0.5rem solid #959595;
        border-bottom: 0.5rem solid #dddddd;
        top: 60px;
        box-shadow: var(--shadow-main) !important;
    }

    /*added*/
    .sidebar.active .main-links{
        /*background-color: #d2ffd6;*/
        height:75% !important;
    }
    .sidebar.active a{
        /*background-color: #e9605c;*/
        padding-top: 0.5% !important;
        padding-bottom: 0.5% !important;
    }
    /* until here**/

    .logo-container.active {
        /* flex:5; */
        /* border:none; */
        /* background: transparent; */
    }

    .sidebar.active .logo-text {
        display: unset;
    }

    .sidebar.active .logo {
        width: 3rem;
        height: 3rem;
    }

    .sidebar.active .links {
        height: 100%;
        width: 100%;
        margin-top:20px;
    }

    .sidebar.active .main-links {
        height: 100%;
        width: 100%;
    }

    .sidebar.active .nav-link{
        display: unset !important;
        width: 100% !important;
    }
    
    .nav-link {
        display: none !important;
        font-size: medium !important;
        font-weight: bold;

    }

    .logo-text {
        /* display: none; */
    }

    .logo {
        /* height: 2rem !important;
        width: 2rem !important; */
    }

    .logo-container {
        height:70% !important;
        width:70% !important;
    }

    #main-links {
        height: 80%;
    }

    .links>.main-links {
        height: 50% !important;
    }

    .main-links>.navlinks {
        justify-content: space-around;
    }

    .nav-links>.nav-item {
        height: 100%;
    }
}

.logo-container {
    grid-area: logo;
    /*padding: var(--padding-sidebar); */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border-right: 1rem solid #ff9142;*/
    transition: 250ms all ease-in-out !important;

}

.logo {
    height: 3rem;
    width: 3rem;

}

@media only screen and (max-width: 768px) {
    .logo {
        /* display: none; */
    }
}

.logo-text {
    font-size: xx-large;
    color: #ffff;
}

.str {
    font-weight: bolder;
}

.lght {
    font-weight: 300 !important;
}

.content {
    flex: var(--flex-bigger);
    display: flex;
    flex-direction: column;
}

.content .header {
    flex: 1;
    flex-grow: 0;
}

.content .data {
    flex: 9;
    overflow-y: scroll;

    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

/*.content .data .page .content form h1{
    font-size: larger;
}*/

.data::-webkit-scrollbar {
    display: none !important;
}



.page {
    background-color: var(--bgd-light);
    /*height: 100%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding-1);
    overflow-y: scroll;
    -ms-overflow-style: none !important;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

.page::-webkit-scrollbar {
    display: none !important;
}

.form {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem 2rem;
    box-shadow: var(--shadow-main);
}

@media only screen and (max-width:768px) {
    .form {
        margin: 1rem .5rem;
    }

}

h1{
    font-size:small;
}


.codes {}

.submit {
    padding: var(--padding-1) 1.5rem !important;
    border-radius: .5rem !important;
    transition: border-radius 250ms ease-in-out;
}

.submit:hover {
    border-radius: 0.8rem !important;
}

.editt{
    padding: var(--padding-1) 1.5rem !important;
    border-radius: .5rem !important;
    transition: border-radius 250ms ease-in-out;
}

.editt:hover{
    border-radius: 0.8rem !important;
}

.btn-primary.editt {
    font-size: medium;
    font-weight: bolder;
}

.btn-primary {
    background: #ff5900 !important;
    /* background: linear-gradient(135deg, rgb(255 185 0) 0%, #ff5900 100%) !important; */
    /* background: linear-gradient(90deg, rgba(250, 211, 108, 1) 0%, rgba(254, 177, 87, 1) 35%, rgba(255, 145, 66, 1) 100%) !important; */
    outline: none !important;
    border: none !important;
    color: white !important;
    font-weight: 300 !important;
}

.btn-primary.submit {
    font-size: medium;
    font-weight: bolder;
}

.btn-primary:hover{
   background-color: #dd5b00 !important;
}
.form-container {
    background-color: white;
    width: 50%;
}

@media only screen and (max-width:768px) {
    .form-container {
        width: 80%;
    }
}


.form-text {
    font-size: 3.5rem;
    /* background: var(--gradient); */
    /* background: -webkit-linear-gradient(90deg, rgba(250, 211, 108, 1) 0%, rgba(254, 177, 87, 1) 35%, rgba(255, 145, 66, 1) 100%); */
    background-color: #959595;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    /* background: -webkit-linear-gradient(#FFDB5C, #FFA15C); */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media only screen and (max-width: 768px) {
    .form-text {
        font-size: 4.5rem;
    }
}

@media only screen and (max-width: 592px) {
    .form-text {
        font-size: 3rem;
    }
}

.avatar {
    width: 5rem;
    height: 5rem;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.label.required::after {
    content: '*';
    position: relative;
    top: 3px;
    left: 1px;
    color: #e9605c;
    font-size: larger;
    font-weight: bolder;
}

.clients {}

.clients .client {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 1rem;
    padding: var(--padding-1);
}

.bg-potential {
    background-color: #ffffff !important;
}

.bg-current {
    background-color: #d2ffd6;
}

.bg-finished {
    background-color: #efefef;
}

.page-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-holder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.form-holder .graphic {
    background-color: #959595;
    height: 100%;
    display: flex;
    align-items: center;
}

.graphic>.rect {
    height: 70%;
    width: 100%;
    background-color: #efefef;
    /* background: rgb(250, 211, 108); */
    /* background: linear-gradient(-250deg, rgba(250, 211, 108, 1) 0%, rgba(254, 177, 87, 1) 35%, rgba(255, 145, 66, 1) 100%); */
    transform: skewY(11deg);
    display: flex;
    align-items: center;
    border-width: 2rem;
    border-style: solid;
    border-color: #ffffff;
    /* border-image: linear-gradient(250deg, rgba(250, 211, 108, 1) 0%, rgba(254, 177, 87, 1) 35%, rgba(255, 145, 66, 1) 100%); */
    border-left: none;
    border-right: none;
}

.rect>.content {
    transform: skewY(-11deg);
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.rect>.rect-logo {
    width: 50%;
    height: 50%;
}

.rect>.content>.rect-text {
    font-size: xxx-large !important;
    text-transform: capitalize;
    color: #959595;
    font-weight: 100;
    letter-spacing: .3rem;
    text-align: center;
}

.rect-logo>img {
    width: 15rem;
    object-fit: contain;
    aspect-ratio: 1/1;
}

.form-holder>* {
    width: 50%;
}

@media only screen and (max-width: 768px) {
    .form-holder {
        flex-direction: column;
    }

    .form-holder>* {
        width: 100%;
        margin: 1rem;
    }

    .form-holder .graphic {
        height: 25%;
        margin-top: 0;
    }

    .graphic>.rect {
        height: 100%;
        transform: unset;
        padding: var(--padding-1);
        border-color: #959595;
    }

    .graphic>.rect>.content {
        transform: unset;
    }

    .rect-logo>img {
        width: 5rem;
        object-fit: contain;
        aspect-ratio: 1/1;
    }

    .rect>.content>.rect-text {
        font-size: x-large !important;
        letter-spacing: .1rem;
    }
}

.ppc {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-main);
    border-radius: .5rem;
    padding: .2rem;
}

.profile-picture {
    aspect-ratio: 1/1;
    /* height: 15rem; */
    max-height: 100%;
    max-width: 100%;
    height: inherit;
    object-fit: cover;
    border-radius: .5rem;
}

.fc-button {
    background: #ff5900 !important;
    /* background: linear-gradient(135deg, rgb(255 185 0) 0%, #ff5900 100%) !important; */
    /* border-radius: 0 !important; */
    color: white !important;
    border: none !important;
    outline: none;
}
.fc-corner-left{
    border-radius: 20px 0 0 20px !important;
}
.fc-corner-right{
    border-radius: 0 20px 20px 0 !important;
}

/* media print query */
@media print {
    #calendar {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 9999;
        height: 100%;
        background-color: #ffffff;
    }
}

.fa-edit {
    position: relative;
    top: -10px;
    right: 15px; 
    font-size: 40px !important;
}

@media only screen and (max-width:768px) {
    .responsive {
        display: flex !important;
        flex-direction: column;
    }
    .no-margin{
        margin-left: 0px !important;
    }
    .btn-responsive {
        margin: 0 auto !important;
        margin-top: 20px;
    }
}
.customBtn {
    color: #ff5900 !important;
    background-color: #ffffff !important;
    border-color: #757575 !important;
}
.customBtn1{
    background-color: #ff5900 !important;
    border-color: #ff5900 !important;
}
.customBtn1:hover{
    background-color: #dd5b00 !important;
    border-color: #dd5b00 !important;
}

.fa-eye:before,
.fa-receipt:before,
.fa-trash-alt:before
{
    font-size: 1rem;
}
.navlinks {

    list-style-type: none;
    padding: 0;
}

.submenu {

    display: none; 
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.nav-item:hover .submenu {

    display: block;
}

.submenu li {
  
    float: none;
}

.submenu a {

    padding: 10px 15px;
    text-decoration: none;
    display: block;
    color: #333;
}

.submenu a:hover {
    background-color: #ddd;
}


@media screen and (max-width: 768px) {
    .nav-item {
        position: relative; 
    }

    .nav-item:hover .submenu {
        display: block; 
    }

    .submenu {
        width: 100%; 
    }

    .submenu li {
        padding: 10px; 
    }
}

@media screen and (max-width: 768px) {
    #tema-tip {
        min-height: 92vh; 
    

    }

 
}

