html {
    /* scroll-behavior: smooth; */
    -ms-overflow-style: scrollbar;

}

body {
    overflow-x: hidden;
    /* overflow-y:hidden; */

}

.modal-fade {
    opacity: 0;
    -webkit-transition: opacity 1s linear;
    transition: opacity 1s linear;
}

.hover.portfolio-center {
    display: table !important;
}

.portfolio-center-inner {
    display: table-cell !important;
}

#image_collage {
    margin-top: 0 !important;
}

.w3-modal-content {
    overflow-y: auto !important;
}

#forma1modal,
#forma2modal,
#forma3modal,
#forma4modal {
    display: none;
    /* opacity: 0; */
    /* transition: 1s ease; */
}

input.error,
select.error {
    border-color: #f6514c !important;
}

input[name="usluga"].error {
    border: 1px solid #f6514c;
}

input::placeholder,
textarea::placeholder {
    opacity: 0.6;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    /* Edge */
    opacity: 0.6;
}

input:-ms-input-placeholder,
textarea::-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    opacity: 0.6;
}


.send_request_form label,
.send_request_form>p {
    color: #f6514c;
}

.send_request_form>p {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 5px;
}

.send_request_form select,
.send_request_form textarea {
    display: block;
    border: 1px solid #9e9e9e;
    color: #848484;
}

.send_request_form textarea {
    border-top: none;
    border-left: none;
    border-right: none;
    height: 15rem;
}

/* .send_request_form option:hover {
    background: red !important;
} */

.send_request_form select:focus {
    outline: none;
    box-shadow: none;
    border-color: #9e9e9e;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
}

.form-footer button {
    margin: 0 5px;
    padding: 5px 15px 5px 35px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    border: none;
}

.posalji_btn {
    background-color: #f6514c;
    color: white;
}

.modal-message {
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 1;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.4);
    color: #f6514c;
    font-weight: bold;
}

.modal-message p {
    text-align: center;
    font-size: 2rem;
}


.footer-hasdropdown:hover {
    background: #101010 !important;
}

.header-bottom.white-bg.sticky-js {
    width: 100% !important;
}

#forma1modal,
#forma2modal,
#forma3modal,
#forma4modal {
    overflow: hidden;
}

.btn-poruci {
    display: block;
    width: 100%;
    background-color: #f6514c;
    color: white;
    padding: 10px 35px;
    border-radius: 5px;
    transition: 0.3s ease-in-out;
    border: none;
}

.btn-poruci:hover,
.btn-poruci:active,
.btn-poruci:focus,
.posalji_btn:hover,
.posalji_btn:active,
.posalji_btn:focus {
    outline: none;
    background-color: #89322f;
    color: white;
}

.posalji_btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.posalji_btn span {
    margin: 5px 10px;
}

.error_text {
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #f6514c;
    font-weight: bold;
    font-size: 1rem;
    font-style: italic;
}

.mail-loader {
    /* visibility: hidden; */
    opacity: 0;
}

.loader {
    border: 5px solid transparent;
    border-radius: 50%;
    border-top: 5px solid white;
    width: 25px;
    height: 25px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 979px) {
    figure.thumb {
        transform: unset !important;
    }

    .footer-widgets {
        padding-bottom: 30px;
    }

    .portfolio-center-inner h3 {
        font-size: 18px !important;
    }

    .portfolio-center-inner p {
        font-size: 12px !important;
    }
}

.col-sm-4.bottom-margin {
    min-height: 438px;
}

.w3-modal {}

#more {
    display: none;
}

.overlay.dark {
    height: 96%;
}

.banner-sports .left-bg,
.banner-sports .right-bg {
    top: calc(50% - 3px);
}

.has-dropdown.active,
.menu-hasdropdown:hover {
    background-color: #303030 !important;
    /* color: white !important; */
}

.has-dropdown.active a {
    color: white !important;
}

.widget-link:hover {
    cursor: pointer;
}

.read_more {
    cursor: pointer;
}

.service.style7 {
    background-color: rgba(33, 40, 47, 0.05);
}

.service.style7:hover {
    cursor: pointer;
}

.w3-button.w3-display-topright {
    font-size: 25px;
}

.w3-container {
    padding: 35px !important;
}

.w3-modal-content {
    top: 50%;
    transform: translateY(-50%);
    max-height: 80vh;
    overflow-y: scroll;
}

.display-table {
    display: table !important;
}

.custom-height {
    display: table-cell !important;
    vertical-align: middle;
}


.header-sports.is-sticky .site-logo::before {
    bottom: -15px;
}

@media (min-width: 1151px) {
    h4 {
        font-size: 22px !important;
    }
}

@media (max-width: 1150px) and (min-width: 980px) {
    .service.style7 h4 {
        font-size: 18px !important;
    }
}

@media (min-width: 960px) and (max-width: 1056px) {
    .footer-left {
        width: 40% !important;
    }

    .footer-right {
        width: 60% !important;
    }
}

@media (min-width: 980px) and (max-width: 1150px) {
    #fourth {
        float: none;
    }

    h4 {
        font-size: 18px;
    }

}

@media (max-width: 992px) {
    .owl-stage .team-member .short-desc {
        height: 350px;
    }

    .inv-logo {
        margin-top: 17px;
    }

    .footer-right {
        display: none;
    }

    .has-dropdown.active,
    .has-dropdown:hover {
        background-color: #ece9e9 !important;
    }

    .has-dropdown.active a,
    .has-dropdown:hover a {
        color: #303030 !important;
    }

    .nav-hover-1>li:hover>a,
    .nav-hover-1>li:focus>a {
        background-color: #ece9e9 !important;
        color: #848484 !important;
    }

    .has-dropdown {
        padding-left: 7px !important;
    }

    .site-logo img {
        height: 50px !important;
    }

    .menu-list {
        padding-top: 20px !important;
    }

    .mobile-container {
        margin: 0 !important;
    }

    .mobile-container .row {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .has-dropdown a {
        padding: 0 !important;
    }

    .footer-nav li {
        display: block;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        align-self: center;
    }

    @media (min-width: 779px) {
        .custom-height {
            height: 450px !important;
        }
    }

    @media (max-width: 1200px) {
        #myVideo {
            width: 100%;
        }

        #image_collage {
            margin-top: 15px;
        }

        .mobile-container {
            width: 95%;
            padding-left: 0 !important;
            padding-right: 0 !important;
            /* margin-left: 30px !important;
    margin-right: 30px !important; */
        }

    }

    .w3-container {
        padding: 3%;
    }

    @media only screen and (max-width:980px) {

        .footer-nav li a,
        .copyright {
            font-size: 13px;
        }

        .lead-half {
            font-size: 12px !important;
        }

        .height-mobile {
            height: 300px;
        }

    }

    @media only screen and (max-width: 767px) {
        h2 {
            font-size: 20px;
        }

        p {
            font-size: 12px;
        }

        .col-sm-4.bottom-margin {
            width: 100%;
            min-height: auto;
        }

        .img-card-testimonials {
            height: 250px !important;
        }

        .copyright {
            font-size: 12px;
        }
    }
}