* {
    box-sizing: border-box;
  }

html {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}   

.antispam { display: none; }

.grecaptcha-badge {display: none;}

@font-face {
    font-family: epilogue;
    src: url(_bubudocs/fonts/Epilogue/static/Epilogue-Light.ttf);
    font-display: swap;
}
@font-face {
    font-family: epilogue-light;
    src: url(_bubudocs/fonts/Epilogue/static/Epilogue-Light.ttf);
    font-display: swap;
}
@font-face {
    font-family: epilogue-ultralight;
    src: url(_bubudocs/fonts/Epilogue/static/Epilogue-ExtraLight.ttf);
    font-display: swap;
}
@font-face {
    font-family: anton-header;
    src: url(_bubudocs/fonts/Anton/Anton-Regular.ttf);
    font-display: swap;
}

/* FONTS */
h1 {
    line-height: 6rem;
    font-size: 5.5rem;
}
h2 {
    line-height: 5rem;
    font-size: 4.5rem;
    text-transform: uppercase;
    font-family: anton-header;
}
h3 {
    line-height: 3.5rem;
    font-size: 3.2rem;
}
h3.min-padding {
    margin-bottom: 0.5rem;
}
h4 {
    font-size: 1.7rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}
.bubu-capitalize {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 200;
}

/* INPUTS */
input[type=text], input[type=date], select {
    width: 100%;
    height: 2.5rem;
    background-color: #111;
    color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 1rem;
}
textarea {
    width: 100%;
    background-color: #111;
    color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    resize: none;
    font-size: 1rem;
}
input[type=submit] {
    border-radius: 2.5rem;
    background-color: #ff6600;
    border: 0;
    height: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: white;
    transition: none;
    font-weight:200;
    margin-bottom: 1rem;
    margin-top: 2rem;
    cursor: pointer;
    width: initial;
}
input[type=submit]:hover {
    background-color: white;
    color: #ff6600;
    transition: all 0.5s;
}
input[type=radio] {
    margin-bottom: 0.8rem;
}
label {
    margin-left: 1rem;
}

/* LINKS */
a {
    text-decoration: none;
    color: inherit;
}
a:visited {
    color: inherit;
}
a:active {
    color: inherit;
}
.bubu-page-link {
    font-size: 1.2rem;
    border-bottom: 1px solid #FF6600;
    padding-bottom: 0.3rem;
}

/* COLORS */
.bubu-white {
    color: white;
}
.bubu-black {
    color: black;
}
.bubu-orange {
    color: #ff6600;
}

/* BACKGROUNDS */
.bubu-background-orange {
    background-color: #e65c00;
    color: white;
}
.bubu-background-orange button {
    background-color: white;
    color: black;
}
.bubu-background-orange button:hover {
    background-color: white;
    color: #ff6600;
}
.bubu-background-darkgrey {
    background-color: #333333;
    color: white;
}
.bubu-background-grey {
    background-color: #404040;
    color: white;
}
.bubu-background-white {
    background-color: white;
    color: black;
}

/* PADDINGS */
.bubu-no-padding {
    padding: 0 !important;
}
.bubu-no-padding-top {
    padding-top: 0 !important;
}
.bubu-no-padding-right {
    padding-right: 0 !important;
}
.bubu-no-padding-bottom {
    padding-bottom: 0 !important;
}
.bubu-no-padding-left {
    padding-left: 0 !important;
}

/* POSITIONS */
.bubu-left {
    text-align: left;
}
.bubu-right {
    text-align: right;
}
.bubu-center {
    text-align: center;
}
.bubu-center-mobile {
    text-align: unset;
}
.bubu-bottom {
    vertical-align: bottom;
}

/* LAYOUTS */
.bubu-fullscreen {
    width: 100%;
}
.bubu-default {
    padding-left: 10rem;
    padding-right: 10rem;
}
.bubu-scroll-sffset {
    scroll-margin-top: 6rem; /* Should be aligned with bubu-head height */
}

/* FORMS and INPUT FIELDS */
button {
    border-radius: 2.5rem;
    background-color: #ff6600;
    border: 0;
    height: 2.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: white;
    margin-left: 1.5rem;
    transition: none;
    font-weight:200;
    margin-bottom: 1rem;
    cursor: pointer;
}
button:hover {
    background-color: white;
    color: #ff6600;
    transition: all 0.5s;
}
button a {
    color: unset;
}

html {
    font-size: 16px;
}
body {
    position:absolute;
    /*font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;*/
    font-family: epilogue, tinymce, Arial;
    font-size: 16px;
    line-height: 28px;
    background-color:black;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    right: 0;
    color: whitesmoke;
}

.bubu-container {
    position: static;
    width: 100%;
    padding-bottom: 5rem;
    padding-top: 0rem;
}

/* NOTIFICATION */
.notification {
    position: fixed;
    width: 100%;
    height: 2rem;
    top: 6rem;
    left: 0;
    right: 0;
    text-align: center;
    line-height: 2rem;
    animation: notification_hide 0s ease-in 5s forwards;
}
.notification.success {
    background-color: #FF6600;
}
.notification.fail {
    background-color: #BB0000;
}
@keyframes notification_hide {
    to {
        width: 0;
        height: 0;
        visibility: hidden;
    }
}

/* HORIZONTAL STACK */
.bubu-hstack {
    width: 100%;
    /*display: grid;
    grid-template-columns: auto auto auto;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.bubu-hstack > div {
    position: relative;
    height: 100%;
    vertical-align: bottom;
}
.bubu-hstack > div:first-child article {
    margin-right: 0;
    margin-left: 10rem;
    text-align: right;
}
.bubu-hstack > div:first-child article button {
    margin-right: 1.5rem;
    margin-left: 0;
}
.bubu-hstack > div:last-child article {
    margin-right: 10rem;
    margin-left: 0rem;
    text-align: left;
}
.bubu-hstack > div article {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 3rem;
    text-align: center;
}
.bubu-hstack.text-photo > div:first-child {
    order: 2;
}
.bubu-hstack.text-photo > div:last-child {
    order: 1;
}
.bubu-hstack.text-photo > div:last-child article {
    margin-right: 0rem;
    margin-left: 10rem;
    text-align: right;
}
.bubu-hstack.photo-text > div:first-child {
    order: 1;
}
.bubu-hstack.photo-text > div:last-child {
    order: 2;
}

/* VERTICAL STACK */
.bubu-vstack {
    width: 100%;
}
.bubu-vstack > * {
    margin-bottom: 2rem;
}

/* STACK ELEMENTS */
.bubu-stack-1 {
    flex: 1;
}
.bubu-stack-2 {
    flex: 2;
}
.bubu-stack-3 {
    flex: 3;
}
.bubu-stack-4 {
    flex: 4;
}
.bubu-stack-5 {
    flex: 5;
}

/* Horizontal scroll */
.bubu-hscroll {
    overflow-y: hidden;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    display: grid !important;
    grid-auto-flow: column;
}
.bubu-hscroll > div {
    min-width: 500px;
}

/* GRADIENT SHADOWS */
.gradient-left::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg,#000 0%,rgba(0,0,0,0) 50%);
}
.gradient-left-grey::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg,#404040 0%,rgba(40,40,40,0) 50%);
}
.gradient-right::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(270deg,#000 0%,rgba(0,0,0,0) 50%);
}
.gradient-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg,#000 0%,rgba(0,0,0,0) 50%);
}
.gradient-top::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(180deg,#000 0%,rgba(0,0,0,0) 50%);
}
.gradient-bottom-full::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg,#000 0%,rgba(0,0,0,0) 100%);
}
.gradient-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg,#000 0%,rgba(0,0,0,0) 10%);
}


/* ARTICLE */
.bubu-article-main {
    font-size: 1.5rem;
    margin-right: 15rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(4rem);
    visibility: hidden;
    transition: opacity 0.4s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.bubu-article-main.active {
    opacity: 1;
    transform: none;
    visibility: visible;
}
.bubu-article-main p {
    line-height: 2rem;
}


/* PAGE HEAD */
.bubu-page-head {
    background-color: black;
    height: 6rem;
    position: fixed;
    width: 100%;
    margin: 0 auto;
    z-index: 100;
    text-align: center;
    justify-content: center;
}
.bubu-page-head .bubu-container {
    height: 100%;
    width: 100%;
    left: 50%;
    margin-left: -50%;
    position: absolute;
    padding-bottom: 0;
}
.bubu-page-title {
    height: 100%;
    vertical-align: middle;
    line-height: 100%;
    display: inline-block;
}
.bubu-page-title h3 {
    margin: 0;
} 
/* LOGO */
.bubu-logo {
    background-image: url("media/dizel_team_logo.png");
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
    line-height: 6rem;
    top: 0;
    height: 100%;
    min-width: 20rem;
}
.bubu-logo h3 {
    padding-left: 6rem;
    height: fit-content;
    line-height: inherit;
    margin: 0;
    line-height: 5rem;
}
/* SOCIAL */
.bubu-social-header {
    display: inline-block;
    top: 0;
    height: 100%;
    position: absolute;
    right: 2rem;
    line-height: 6rem;
    font-size: 2.6rem;
}
.bubu-social-header * {
    padding-left: 0.5rem;
}
.bubu-social-header > a {
    transition: all 0.2s ease;
}
.bubu-social-header > a:hover {
    color: #FF6600;
}
/* MENU */
.bubu-menu {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6rem;
    color: white;
    line-height: 6rem;
    cursor: pointer;
    z-index: 2;
    display: none;
}
.bubu-menu > i {
    line-height: 6rem;
    vertical-align: middle;
    --fa-li-margin: 0;
    font-size: 2.5rem;
}

/* NAVIGATION */
.bubu-navigation {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    color: white;
    line-height: 6rem;
    cursor: pointer;
    z-index: 2;
    display: initial;
    padding-left: 4rem;
    font-family: epilogue-ultralight;
    font-size: 0.9rem;
}
.bubu-navigation .active {
    text-decoration: underline;
    text-underline-offset: 0.5rem;
}
.bubu-navigation > a {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
    line-height: 6rem;
    vertical-align: middle;
    display: inline-block;
}

/* MAIN MENU */
.bubu-main-menu {
    position: fixed;
    left: 0;
    top: 6rem;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0); /* semi-transparent */
    backdrop-filter: blur(10px);          /* blur intensity */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
    color: white;
    z-index: 99;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 1rem;
    font-size: larger;

    /* start hidden */
    opacity: 0;
    visibility: hidden;

    /* transition on background-color */
    transition: opacity 0.2s ease, background-color 0.2s ease;
}
.bubu-main-menu.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent */
}
.bubu-main-menu ul {
    list-style-type: none;
}
.bubu-main-menu ul {
    font-weight: bold;
}
.bubu-main-menu ul ul {
    /*font-weight: 200;*/
    font-family: epilogue-ultralight;
    display: none;
    transition: all 0.3s;
    padding: 0;
}
.bubu-main-menu ul ul.active {
    display: initial;
}
.bubu-main-menu ul ul li {
    padding-left: 1rem;
}
.bubu-main-menu ul li {
    line-height: 2.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.bubu-main-menu ul li:hover {
    color: #FF6600;
}
.bubu-main-menu #main_menu_left {
    /* background-color: #333; */
    background: rgba(0, 0, 0, 0.5); /* semi-transparent */
    backdrop-filter: blur(10px);          /* blur intensity */
    -webkit-backdrop-filter: blur(10px);  /* Safari support */
    overflow: hidden;
    border-radius: 1rem;
    width: 30%;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.bubu-main-menu #main_menu_separator {
    background-color: #666666;
    height: 2px;
    margin-left: 1rem;
    margin-right: 1rem;
}

/* HORIZONTAL LIST MENU */
.bubu-horizontal-list-menu {
    list-style: none;
}
.bubu-horizontal-list-menu li {
    display: inline-block;
    text-transform: uppercase;
    padding-left: 3rem;
    padding-right: 3rem;
    font-size: 1.1rem;
    font-weight: 200;
}

/* PAGE */
.bubu-page {
    position: static;
    width: 100%;
    left: 0;
    right: 0;
    top: 6rem;
    border: none;
    overflow: hidden;
}

/* PAGE FOOTER */
.bubu-page-footer {
    position: static;
    width: 100%;
    left: 0;
    right: 0;
    color: white;
}

/* GALLERY */
.bubu-gallery {
    min-height: 80vh;
}
.bubu-gallery-image {
    min-height: 80vh;
    /*display: none;*/
    /*transition: background-size 4s linear, opacity 1s linear; */
    background-size: 100%; 
    background-position: center;
    background-repeat: no-repeat;
    background-color:black;
    opacity: 0;
    position: absolute !important;
    text-shadow: 2px 2px 3px black;
}
.bubu-gallery-image.active {
    /*display: initial;*/
    background-size: 120% !important;
    opacity: 1;
}

/* SLIDER */
.bubu-slider {
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    overflow-x: hidden;
}
.bubu-slider ul {
    margin: 0;
    padding: 0;
    padding-bottom: 1rem;
    transition: all 0.5s;
}
.bubu-slider ul li {
    width: 25%;
    list-style: none;
    position: absolute;
}
.bubu-slider ul li a {
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center;
    padding: 0 0 25rem 0;
    display: block;
    position: relative;
}
.bubu-slider ul li a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,rgba(0,0,0,0) 75%,#000 100%);
}
.bubu-slider ul li a.no-gradient::after {
    background: none;
}
.bubu-slider ul li a span {
    position: absolute;
    display: block;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 2rem;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
}
.bubu-slider .bubu-slider-navigation {
    position: static;
    display: block;
    height: 4rem;
    user-select: none;
}
.bubu-slider .bubu-slider-navigation.hidden {
    visibility: hidden;
}
.bubu-slider .bubu-slider-navigation > div:first-of-type {
    position: absolute;
    left: 10%;
    width: 6rem;
    color: white;
    border-bottom: none;
    user-select: none;
    transition: all 0.5s;
}
.bubu-slider .bubu-slider-navigation > div:first-of-type:hover {
    color: #ff6600;
}
.bubu-slider .bubu-slider-navigation > div:last-of-type {
    position: absolute;
    right: 10%;
    width: 6rem;
    color: white;
    border-bottom: none;
    user-select: none;
    transition: all 0.5s;
}
.bubu-slider .bubu-slider-navigation > div:last-of-type:hover {
    color: #ff6600;
}
.bubu-slider .bubu-slider-navigation > div {
    display: inline-block;
    color: white;
    --fa-li-margin: 0;
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.4rem;
    user-select: none;
    cursor: pointer;
}

/* UI styles */
.bubu-ui-fullscreen {
    width: 100%;
}
.bubu-ui-fullscreen > * {
    width: inherit;
    padding-left: 3rem;
    padding-right: 3rem;
}
.bubu-ui-fullscreen > img {
    padding-left: 0;
    padding-right: 0;
}
.bubu-ui-mid {
    width: 75%;
    margin: 0 auto;
}
.bubu-ui-mid > * {
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
}
.bubu-ui-half {
    width: 50%;
    margin: 0 auto;
}
.bubu-ui-half > * {
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
}
.bubu-ui-rounded {
    border-radius: 1.5rem;
    padding: 0;
    overflow: hidden;
}

/* UI-PHOTO */
.bubu-ui-photo {
    display: inline-block;
    position: relative;
}


/* CUSTOM STYLES */
#paket_lastnost {
    width: 49%; 
    min-height: 5rem; 
    display: inline-block;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#paket_vsebina {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
}
#paket_povprasevanje {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
}
#paket_moznost {
    width: 70%;
    border: 1px solid grey;
    border-radius: 1rem;
    height: 4rem;
    margin-bottom: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#paket_moznost:hover {
    border-color: lightgray;
}
#paket_moznost > div {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
#paket_moznost > div > div:first-child {
    color: lightgrey;
    width: 70%;
    float: left; 
    text-align: left;
}
#paket_moznost > div > div:last-child {
    color: lightgrey;
    width: 30%;
    float: left; 
    text-align: left;
}
#paket_moznost.active {
    border-color: #FF6600;
}

@media only screen and (max-width: 980px) 
{
    /* LAYOUTS */
    .bubu-default {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* FORMS and INPUT FIELDS */
    button {
        height: 4rem;
        font-size: 1.5rem;
        margin-left: 0;
    }

    html {
        font-size: 1.5vh;
    }

    .bubu-page-link {
        font-size: 1.4rem;
    }

    /* INPUTS */
    input[type=text], input[type=date], select {
        height: 5rem;
        font-size: 2rem;
        width: 100% !important;
    }
    textarea {
        font-size: 2rem;
    }
    input[type=submit] {
        height: 3.5rem;
        font-size: 1.5rem;
    }
    input[type=date] {
        -webkit-min-logical-width: 94%;
    }

    /* POSITIONS */
    .bubu-center-mobile {
        text-align: center;
    }

    .bubu-hstack {
        flex-direction: column;
        height: auto;
    }
    .bubu-hstack > div {
        width: 100% !important;
        margin-left: 0rem !important;
        margin-right: 0rem !important;
    }
    .bubu-hstack > div:first-child article {
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .bubu-hstack > div:last-child article {
        margin-right: 0 !important;
        margin-left: 0 !important;
        text-align: left !important;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .bubu-hstack.text-photo > div:first-child {
        order: 1;
    }
    .bubu-hstack.text-photo > div:last-child {
        order: 2;
    }
    .bubu-hstack.photo-text.invert-order > div:first-child {
        order: 2;
    }
    .bubu-hstack.photo-text.invert-order > div:last-child {
        order: 1;
    }

    /* GRADIENT SHADOWS */
    .gradient-left::after {
        background: none;
    }
    .gradient-right::after {
        background: none;
    }

    /* ARTICLE */
    .bubu-article-main {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    /* PAGE HEAD */
    .bubu-page-head .bubu-container {
        height: 100%;
        width: 100%;
        left: 0;
        margin-left: 0;
    }

    /* MAIN MENU */
    .bubu-menu {
        display: initial;
    }

    /* NAVIGATION */
    .bubu-navigation {
        display: none;
    }

    /* LOGO */
    .bubu-logo {
        background-image: url("media/dizel_team_logo_tekst.png");
        background-position: center;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 100%;
        padding-right: 2rem;
    }

    /* SOCIAL */
    .bubu-social-header {
        display: none;
    }

    /* GALLERY */
    .bubu-gallery-image {
        background-size: 250% !important;
        /*background-position-x: 30%;*/
        /*transition: background-position-x 4s linear, opacity 1s linear;*/
    }
    .bubu-gallery-image.active {
        /*background-position-x: 0;*/
        background-size: 300% !important;
    }

    /* SLIEDER */
    .bubu-slider ul {
        height: 10rem !important;
        transform: translateX(0%);
    }
    .bubu-slider ul li {
        width: 100% !important;
    }
    /*
    .bubu-slider ul li:not(:first-child) {
        left: 100% !important;
    }
    */
    .bubu-slider .bubu-slider-navigation {
        width: 100%;
        left: 0;
        margin: 0;
        position: absolute;
    }
    .bubu-slider .bubu-slider-navigation.hidden {
        visibility: initial;
    }
    
    /* HORIZONTAL LIST MENU */
    .bubu-horizontal-list-menu {
        display: none;
    }

    /* UI styles */
    .bubu-ui-mid {
        width: 100%;
    }
    .bubu-ui-mid > * {
        padding-left: 0rem;
        padding-right: 0rem;
    }
    .bubu-ui-half {
        width: 100%;
    }

    /* MAIN MENU */
    .bubu-main-menu {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .bubu-main-menu ul li {
        line-height: 3.5rem;
    }
    .bubu-main-menu ul ul li {
        padding-left: 3rem;
    }
    #main_menu #main_menu_left {
        width: 100%;
    }

    /* CUSTOM STYLES */
    #paket_lastnost {
        width: 100%;
        min-height: auto;
    }
    #paket_moznost {
        width: 100%;
        font-size: small;
    }
    #povprasevanje * input, textarea {
        width: 100% !important;
    }
}