:root {
    --primary: #f2a745; /* napisy w menu po najechaniu - żółty*/
    --secondary: #435363; /* tło w kółkach nawigacji po lewej*/
    --light: #efefef; /* napisy w menu normalnie */
    --dark: #435363; /* tło w content i kółkach menu */
	--white: #dbdbdb;
	--darkblue: #435363;
    --hellblue: #93a2b5;
    --darkbluehover: #394959;
    --red: #cc3333;
    --green: #008c00;
    --black: #1f272a;
    --red-op50: #d38686;
    --green-op50: #85bd85;
    --orange-op75: rgba(242,167,69,0.75);

    --first-main-color: #fefefe;
    --first-main-color-opacity75: rgba(254, 254, 254, 0.75);
    --first-main-color-opacity50: rgba(254, 254, 254, 0.5);
    --first-main-color-opacity25: #56575e;
    --btn-font-color: #fefefe;

    --swal-error: #d10024;
    --swal-error-hover: #bd0010;
    --swal-success: #008c00;
    --swal-success-hover: #007800;
    --swal-warning: #e67300;
    --swal-warning-hover: #d25f00;
    --swal-info: #2374ab;
    --swal-info-hover: #05558c;
    --swal-font: #efefef;
}	

@font-face {
	font-family: firasans;
    src: url("../font/firasans.ttf");
}

* {
    font-family: firasans;
    font-size: 14px;
}

body {
    background-image: url(../graphics/patterns/blue_pattern.gif);
}


html { 
    scroll-behavior: smooth; 
}

a {
    color: rgba(255, 255, 255, 0.5);
}

a:hover {
    color: var(--primary);
}

/**********  Ustawienia SweetAlert2  **********/
.swal2-popup {
    font-size: 0.9rem !important;
    font-weight: lighter !important;
    font-family: firasans;
}

.colored-toast.swal2-icon-success {
    background-color: var(--swal-success) !important;
    cursor: default;
}

.colored-toast.swal2-icon-error {
    background-color: var(--swal-error) !important;
    cursor: pointer;
}

.colored-toast.swal2-icon-warning {
    background-color: var(--swal-warning) !important;
    cursor: default;
}

.colored-toast.swal2-icon-info {
    background-color: var(--swal-info) !important;
    cursor: default;
}

.colored-toast .swal2-title {
    color: var(--swal-font);
}

.colored-toast .swal2-close {
    color: var(--swal-font);
}

.colored-toast .swal2-html-container {
    color: var(--swal-font);
}

/* inputy, textarea i buttony bez obramowania */
textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover,
label:focus,
.btn:active,
.btn.active{
    outline:0px !important;
    -webkit-appearance:none;
    box-shadow: none !important;
}

.form-control:focus {
    box-shadow: none!important;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none !important;
}

/* kolor placeholdera */

::-webkit-input-placeholder {
    color: var(--white);
}

:-ms-input-placeholder {
    color: var(--white);
}

::placeholder {
    color: var(--white);
}

.my-textarea {
    resize: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}

.font-opacity50{
    color: rgba(255,255,255,0.5);
}


.financeFontSize{
    font-size: 1em;
}

.chFontSize{
    font-size: 0.9em;
}


.inputFontSize{
    font-size: 1.3em;
}

.uchwalyWidth{
    width: 25%;
}

.waterFontSize{
    font-size: 1.1em;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Animated input ***/

.global-input-dark{
    width: 80%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--darkblue);
    color: var(--darkblue);
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;;
}

.global-input-dark:focus{
    width: 100%;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.global-input-light{
    width: 80%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--white);
    color: var(--white);
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;;
}

.global-input-light:focus{
    width: 100%;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.global-input{
    width: 40%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--darkblue);
    font-weight: bold;
    font-size: 1.3em;
    color: var(--darkblue);
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;;
}

.global-input:focus{
    width: 80%;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.global-input-white{
    width: 40%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,0.5);
    font-weight: bold;
    font-size: 1.3em;
    color: rgba(255,255,255,0.5);
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;;
}

.global-input-white:focus{
    width: 80%;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}







/*** Backgrounds ***/

.bg-bcg {
	background-image: url(../graphics/patterns/bg-blue-pattern.gif);
}

.bg-black{
    background: var(--black);}
	
.bg-table{
	background-image: url(../graphics/patterns/darkgray_pattern.gif);}

.bg-title{
	background-image: url(../graphics/patterns/title_pattern.gif);
}

.bg-blue{
	background-image: url(../graphics/patterns/blue_pattern.gif);
}

.bg-orange{
	background-image: url(../graphics/patterns/orange_pattern.gif);
}

.bg-red{
	background-image: url(../graphics/patterns/red_pattern.gif);
}

.bg-green{
	background-image: url(../graphics/patterns/green_pattern.gif);
}

.bg-darkgreen{
    background-image: url(../graphics/patterns/darkgreen_pattern.gif);
}

.bg-darkblue {
	background: #435363;
}

.bg-hellgray {
    background: #dedede;
}

.bg-middleblue {
    background-image: url(../graphics/patterns/middleBlue-pattern.gif);
}

.my-shadow {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.2);
}
	
.font-light {
	color: var(--white);
}

.font-darkBlue {
    color: var(--darkblue);
}

.font-yellow {
    color: #f2a745;
}

.font-red {
    color: var(--red);
}

.font-green {
    color: var(--green);
}

.bg-primary {
    background: var(--primary);
}

.btn-cloud {
	color: var(--white);
	padding: 0;
}

.btn-cloud:hover {
	color: var(--primary);
}

.btn-content {
	background: var(--darkblue);
	color: var(--white);
}

.btn-content:hover {
	background: #394959;
	color: var(--white);
}

.btn-blue {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 42px;
    background: var(--hellblue);
    color: var(--white);
}

.btn-blue:hover {
    color: var(--primary);
}

.btn-darkblue {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 42px;
    background: var(--darkblue);
    color: var(--white);
}

.btn-darkblue:hover {
    color: var(--primary);
}

.btn-modal-darkblue {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 42px;
    background: var(--darkblue);
    color: var(--white);
    border: none;
    box-shadow: none;
}

.btn-modal-darkblue:hover {
    color: var(--primary);
}

.btn-modal-red {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 42px;
    background: var(--red);
    color: var(--white);
    border: none;
    box-shadow: none;
}

.btn-modal-red:hover {
    color: var(--primary);
}



.btn-red {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 42px;
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    color: var(--primary);
}

.btn-login {
    background: var(--darkblue);
    color: rgba(255,255,255,0.75);
}

.btn-login:hover {
    background: var(--darkbluehover);
    color: rgba(255,255,255,0.75);
}


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

input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50%;
    width: 0.9em;
    height: 0.9em;
    border: none;
    margin-right: 0.8em;
    position: relative;
}

input[type=radio]:checked {
    border: 0.47em solid var(--primary);
    box-shadow: none;
}
/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
	background: var(--darkblue);
	color: var(--white);
}

.btn-square,
.btn-sm-square,
.btn-lg-square:hover {
	color: var(--primary);
}

/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
	background-image: url(../graphics/patterns/bg-blue-pattern.gif);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background-image: url(../graphics/patterns/blue_pattern.gif);
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {margin-left: 0;}
    .sidebar.open {margin-left: -250px;}
    .content {width: calc(100% - 250px);}
    .content.open {width: 100%; margin-left: 0;}
    #smallCostsTable {display:none;}
}

@media (max-width: 991.98px) {
    .sidebar {margin-left: -250px;}
    .sidebar.open {margin-left: 0;}
    .content {width: 100%; margin-left: 0;}
    .financeFontSize{font-size: 0.8em;}
    .chFontSize{font-size: 0.7em;}
    .waterFontSize{font-size: 1em;}
    .uchwalyWidth{width: 35%;}
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {margin-left: 15px;}
    .financeFontSize{font-size: 0.4em;}
    .inputFontSize{font-size: 1.2em;}
    .waterFontSize{font-size: 0.9em;}
    .uchwalyWidth {width: 75%;}
}

.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--light);
    font-weight: 500;
    border-left: 3px solid var(--secondary);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--dark);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\02193";
    font-family: "Arial, Helvetica, sans-serif;";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    color: var(--light);
	font-size: 14px;
}

.sidebar .navbar .dropdown-item:hover {
    background: transparent;
    color: var(--primary);
}

.sidebar .navbar .dropdown-item.active {
    background: transparent;
    color: var(--darkblue);
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--light);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.sidebar-toggler:hover {
	color: var(--primary);
}

.content .navbar .dropdown-item {
    color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
    background: var(--dark);
    color: var(--primary);
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\02193";
    font-family: "Arial, Helvetica, sans-serif;";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

.progress .progress-bar {
    width: 0px;
    transition: 2s;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}