﻿/*@font-face {
    font-family: "LavishlyYours";
    src: url('../Resources/Fonts/LavishlyYours-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}*/

body, h1, h5 {
    font-family: "Raleway", sans-serif !important;
}

html, body, form {
    height: 100%;
}

/*.font-LavishlyYours {
    font-family:LavishlyYours;
    font-size: 40px;
}*/

.backgroundImage {
    background: url('../Resources/Images/Header/background.jpg');
    min-height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.backgroundProjectImage {
    width: 100%;
    height: 700px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
@media only screen and (max-height:800px) {
    .backgroundProjectImage {
        height: 400px;
    }
}

.logoMainLeft {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    transition: 1s;
}

.sliderTextTemplate {
    font-size: 28px !important;
    font-weight: bold;
    color: #6f8351;
    padding-bottom: 15px;
    padding-right: 16px;
}
/*@media only screen and (max-width: 601px) {
.backgroundImage {
    background: url('../Resources/Images/Header/background_950x1080.jpg');
}
}*/

.ex-textImage {
    margin-top: 30px;
    padding: 15px;
    border-top-right-radius: 20px;
}

@media only screen and (min-width: 601px) {
    .ex-textImage {
        vertical-align: middle;
        padding: 30px;
    }
}

.ex-hover-text-orange:hover {
    color: #ff9800;
    font-weight: bold;
}

.ex-hover-border-leftRight-black:hover {
    border-left-color: black;
    border-right-color: black;
}

.ex-hover-orange:hover {
    background-color: #ff9800;
}

.si-titleImageOverlay {
    padding-top: 250px;
}

.si-titleOverlay {
    position: sticky;
    top: 250px;
    padding: 10px 24px 150px 0;
}

.ex-opacity85 {
    opacity: 0.85;
}
.ex-paddingLR-8 {
    padding-left: 8px;
    padding-right: 8px;
}

.si-titleContent {
    padding: 20px 30px 20px 2px;
    /*max-width: 750px;*/
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
    background-color: rgba(0, 0, 0, 0.3) !important; /* 30% opacity samo na background */
}

.de-titleContent {
    padding: 20px 30px 20px 2px;
    max-width: 850px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.ex-articleHeaderImage {
    background-size: cover;
    background-position: center center;
    min-height: 350px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.19);
    margin: 24px -30px;
}

.ex-articleHeaderOverlay {
    padding-top: 170px;
}

.ex-articleHeaderContent {
    padding: 20px 30px;
    max-width: 650px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.si-articleHeaderOffer {
    background-image: url('/Resources/Images/Header/offer.jpg');
    border-top-right-radius: 20px;
    margin-top: -30px !important;
}

.footerText {
    padding-right: 30px;
}

/* ############################### MODAL POPUP - EMAIL ############################### */
.buttonsContainer {
    max-width: 300px;
    margin: 0 0 0 auto;
    text-align: right;
    padding-top: 12px;
}

.submitButton,
.cancelButton {
    margin-bottom: 12px;
}

.cancelButton {
    margin-left: 8px;
}

.groupCaption {
    margin-bottom: 4px;
}

.clearPaddings {
    padding-top: 0;
    padding-bottom: 0;
}

.dxcaRefreshButtonCell_SoftOrange {
    padding-top: 5px !important;
    vertical-align: top !important;
}
/* ############################### FACEBOOK ############################### */
@media only screen and (max-width: 1700px) {
    .facebookFrame {
        display: none;
    }
}

/* ############################### IMAGE SLIDER ############################### */
.dxisControl .dxis-itemTextArea {
    top: auto;
    left: 40px;
    bottom: 40px;
    padding: 40px 40px 40px 25px;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0px 4px 0px rgba(255, 255, 255, 0.3);
    background-color: #333333;
    background-color: rgba(255, 255, 255, 0.6);
}

.dxisControl .dxis-itemTextArea a {
    color: white;
}

.dxisControl .dxis-itemTextArea a:hover, a:focus {
    text-decoration: underline;
}

.dxisControl .dxis-itemTextArea p {
    color: #b0b0b0;
}

.dxisControl .dxis-itemTextArea > p {
    margin-bottom: 0 !important;
}

.dxisControl .dxis-nbDotsBottom {
    padding: 0;
    margin-top: -25px;
}

.dxisControl .dxis-nbDotsBottom .dxis-nbSlidePanel {
    right: 15px;
    left: auto !important;
    transform: matrix(1, 0, 0, 1, 0, 0) !important;
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0) !important;
}

/* ############################### ANIMATIONS ############################### */
@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.animate-moveAndFade {
    animation: moveAndFade 2s ease-in-out infinite;
}
@keyframes moveAndFade {
    0% {
        transform: translateX(0);
        background: red;
    }

    50% {
        transform: translateX(100px);
        background: blue;
    }

    100% {
        transform: translateX(0);
        background: red;
    }
}

.animate-fadein {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =====================================================
   PROJEKT KARTICE - HOVER ANIMACIJA (zoom + blur + naslov)
   ===================================================== */

.w3-card-4 {
    position: relative;
    overflow: hidden;
}

.project-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.project-card-image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.8s ease-out;
    object-fit: cover;
}

.w3-card-4:hover .project-card-image {
    transform: scale(1.08);
    filter: blur(3px);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(148, 152, 142, 0,70);
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.w3-card-4:hover .project-card-overlay {
    opacity: 1;
}

.project-card-title {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    font-family: LavishlyYours, sans-serif;
}

.project-card-link {
    margin-top: 10px;
    color: white;
}