body {
    margin: 0;
}

/*Contact wrapper*/
.contact-wrap {
    display: flex;
    flex-direction: row;
    background: black;
    padding: 1em;
    flex-wrap: wrap;
    align-items: center;

}

@media all and (max-width: 949px) {
    .contact-wrap {
        /* On small screens, we are no longer using row direction but column */
        flex-direction: column;
        align-items: center;
        align-items: flex-start;
    }
}

.contact {
    color: rgb(230, 229, 236);
    margin-left: 1em;
    margin-right: 2.5em;
    margin-top: .8em;
    font-size: 1.2em;

}

.contact a {
    text-decoration: none;
}

.img {
    margin-right: 2em;
}

.viber {
    color: #f50de2;
}

.clock {
    color: rgb(37, 130, 184);
}

.mail {
    color: #833AB4;
}

/* Image header animations*/
.main {
    background-image:
        url("../images/ac-repair.png");

    background-size: cover;
    background-position: center;
    height: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.item {
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 4;
    opacity: 0;
    background: grey;

}

.item h1 {
    font-family: elephant;
    font-size: 2.8em;
    color: bisque;
}

.item p {
    text-transform: uppercase;
    font-size: 1.5rem;
    color: bisque;
}

.item1 {
    text-align: center;
    padding: 2em;
    background-color: black;
    position: relative;
    margin: 1em;
    grid-column-start: 1;
    grid-column-end: 4;
    animation-duration: 10s;
    opacity: 0;
    animation-name: item1;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

.item1 p {
    font-size: 1.5rem;
    color: bisque;
}

.item2 {
    background-color: black;
    margin: 1em;
    position: relative;
    text-align: center;
    grid-column-start: 1;
    grid-column-end: 4;
    animation-duration: 10s;
    animation-delay: 8s;
    opacity: 0;
    animation-name: item2;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

.item2 p {
    font-size: 1.5rem;
    color: bisque;
}

.show {
    opacity: 0.9;
    animation-name: show;
    animation-duration: 5s;
    animation-timing-function: ease-in-out;
}

@keyframes item2 {
    0% {
        opacity: 0.6;
        background-color: red;
        left: -1350px;
        top: 0px;
    }

    25% {
        opacity: 0.6;
        background-color: green;
        left: 0px;
        top: 0px;
    }

    50% {
        opacity: 0.6;
        background-color: blue;
        left: 0px;
        top: 0px;
    }

    75% {
        opacity: 0.6;
        background-color: green;
        left: 0px;
        top: 0px;
    }

    100% {
        opacity: 0;
        background-color: red;
        left: 0px;
        top: 0px;
    }
}

@keyframes item1 {
    0% {
        opacity: 0.6;
        background-color: red;
        right: 0px;
        top: -1010px;
    }

    25% {
        opacity: 0.6;
        background-color: green;
        right: 0px;
        top: 0px;
    }

    50% {
        opacity: 0.6;
        background-color: blue;
        right: 0px;
        top: 0px;
    }

    75% {
        opacity: 0.6;
        background-color: green;
        right: 0px;
        top: 0px;
    }

    100% {
        opacity: 0;
        background-color: red;
        right: 0px;
        top: 0px;
    }
}

@keyframes show {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }

    75% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.9;
    }
}

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

    .main {
        height: 560px
    }

    .item {
        text-align: center;
        grid-column-start: 1;
        grid-column-end: 4;

        background: grey;

    }
}

/*Navigation*/
nav {
    position: sticky;
    top: 10px;
}

/*Large screen*/
@media screen and (max-width:5000px) {
    nav {
        display: flex;
        flex-direction: row;
        justify-content: right;
        align-items: center;
        background: rgb(37, 130, 184);


    }

    .bars {
        text-decoration: none;
        font-size: 1.5em;
        font-weight: 900;
        padding: 1em;
        color: white;
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        list-style-type: none;
        flex-wrap: wrap;
    }

    nav ul li {
        border-right: 2px solid rgb(243, 240, 240);
    }

    nav ul li a {
        font-size: 1em;
        font-weight: 700;
        padding: 1em;
        text-transform: uppercase;
        font-family: 'Raleway', sans-serif;
        text-decoration: none;
        color: white;
    }

    nav ul li a:hover {
        color: #dceb08;
    }
}

/*small screen*/
@media screen and (max-width:768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        justify-content: flex-end;
        display: none;
    }

    .bars {
        display: block;
    }

    nav ul li {
        border-left: 2px solid rgb(255, 136, 0);
        border-right: 0;
        padding: 1em;
    }

    .bars {
        padding: .5em;
    }
}

/*Section maintain*/
.title {
    text-align: center;
    font-family: PT Sans, sans-serif;
    color: #3e4e64;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 25px;
    font-size: 2.7em;
    letter-spacing: 3px;
}

/*Effects*/
.grid-efects {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    justify-content: center;
}

.effect1 {
    position: relative;
    width: 300px;
    padding: .5em;
    text-align: center;
    align-self: center;
    justify-self: center;
    border: 1px solid rgb(37, 130, 184);
    margin-top: 25px;
    margin-bottom: 5px;

    /*Animation*/
    opacity: 0;
    -moz-transition: all 500ms linear;
    -webkit-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 800ms linear;
    -moz-transform: translate3d(-100px, 0px, 0px);
    -webkit-transform: translate3d(-100px, 0px, 0px);
    -o-transform: translate(-100px, 0px);
    -ms-transform: translate(-100px, 0px);
    transform: translate3d(-500px, 0px, 0px);
}

.effect1 p {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
}

.effect1 h2 {
    font-family: PT Sans, sans-serif;
    color: grey;
    font-weight: 600;
}

.run_effect1 {
    opacity: 1;
    -moz-transform: translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}

/*srednji*/
.effect {
    position: relative;
    width: 300px;
    padding: 1em;
    text-align: center;
    align-self: center;
    justify-self: center;
    margin-top: 25px;
    margin-bottom: 25px;
    animation-name: rotate;
    animation-duration: 5s;
    transition-timing-function: ease-in-out;


}

.effect i {
    color: rgb(37, 130, 184);
    opacity: 0.8;
    font-size: 7em;

}

.effect i:hover {
    color: red;
    transform: rotate(15deg);
}


.effect2 {
    width: 300px;

    margin-top: 25px;
    text-align: center;
    align-self: center;
    justify-self: center;
    border: 1px solid #2582b8;
    /*Animation*/
    opacity: 0;
    -moz-transition: all 500ms linear;
    -webkit-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 1000ms linear;
    -moz-transform: translate3d(-100px, 0px, 0px);
    -webkit-transform: translate3d(-100px, 0px, 0px);
    -o-transform: translate(-100px, 0px);
    -ms-transform: translate(-100px, 0px);
    transform: translate3d(-500px, 0px, 0px);

}

.effect2 p {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
}

.effect2 h2 {
    font-family: PT Sans, sans-serif;
    color: grey;
    font-weight: 600;
}

.run_effect2 {
    opacity: 1;
    -moz-transform: translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}

@media screen and (max-width:989px) {
    .grid-efects {
        grid-template-columns: 1fr;
        grid-column-gap: 5px;
    }

}

/*Health*/
.health {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-image: url('../images/family.jpg');
    background-position: center;
    background-attachment: fixed;
    height: 500px;

}

.htext {
    background: black;
    opacity: 0.6;
    padding: 1em;

    color: white;
    grid-column-start: 1;
    grid-column-end: 2;
}

.htext h1 {
    font-family: monospace, sans-serif;
    font-weight: 600;
    text-align: center;
}

.htext li {
    padding: 0.7em;
    text-transform: uppercase;
}

.center {
    display: grid;
    justify-items: center;
}

.hbtn {

    position: relative;
    background: none;

    border: 2px solid #9b9b9b;

    padding: 1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
}

@media all and (max-width:756px) {
    .health {
        background-attachment: scroll;
        grid-template-columns: 1fr;
    }
}

/*SERVICE*/
.service {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    height: 250px;

}

@media all and (max-width:756px) {
    .service {
        grid-template-columns: 1fr;
        height: auto;
    }

}

.sitem1 {
    text-align: center;

}

.sitem1 h2 {
    font-family: PT Sans, sans-serif;
    color: grey;
    font-weight: 600;
    text-transform: uppercase;
}

.sitem1 p {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    margin: 10px;
    font-size: 1.1em;
}

.sitem2 {
    text-align: center;

}

.sitem2 h2 {
    font-family: PT Sans, sans-serif;
    color: grey;
    font-weight: 600;
    text-transform: uppercase;
}

.sitem2 p {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    margin: 10px;
    font-size: 1.1em;
}

.sitem3 {
    text-align: center;

}

.sitem3 h2 {
    font-family: PT Sans, sans-serif;
    color: grey;
    font-weight: 600;
    text-transform: uppercase;
}

.sitem3 p {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    margin: 10px;
    font-size: 1.1em;
}

.sbtn {

    margin-top: 15px;

    background: none;
    border: 2px solid #9b9b9b;
    padding: .5em;
    text-transform: uppercase;
    text-decoration: none;
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;

}

.sfoot {
    text-align: end;


    margin-right: 40px;
}

.icon {
    color: grey;
    font-size: 2em;
}

.freon {
    color: cyan;
}

/*Montaža i prodaja*/
.install {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url('../images/repairman2.jpeg');
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;

}

@media all and (max-width:600px) {
    .install {
        display: grid;
        grid-template-columns: 1fr;
        background-attachment: scroll;
        height: auto;
    }
}

.install1 {
    display: grid;
    grid-column-start: 2;
    grid-column-end: 3;
    text-align: center;
    margin-top: 0px;
    background: linear-gradient(rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4));
    padding: 1em;
}

.install1 p {
    font-family: PT Sans, sans-serif;
    color: whitesmoke;
    font-weight: 600;
    text-align: justify;

    text-indent: 10px;
    padding: .3em;
}

/*COLORS*/
.green {
    border-left: 2px solid #00FF00;
}

.gold {
    border-left: 2px solid #FFD700;
}

.red {
    border-left: 2px solid #FF4500;
}

/*Counter*/
.counter-main2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("../images/city.jpeg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 400px;
    justify-content: center;
    align-content: center;
    grid-column-gap: 10px;
    grid-row-gap: 20px;


}

.counter-box2 {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    height: 300px;
    font-size: 3em;
    font-weight: 800;
    color: white;
    text-align: center;
}

.show-border {
    border-bottom: 2px solid #f15006;
    padding: .3em;
}

@media screen and (max-width:768px) {
    .counter-main2 {
        grid-template-columns: 1fr;
        height: auto;
        background-attachment: scroll;
    }
}

/*Brands slider*/
.slick-slide {
    margin: 10px 20px 10px 10px;
    padding: 5px 5px 5px 5px;
}

.slick-slide img {
    width: 50%;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

/*Images*/
.img-res {
    width: 50px;
    height: 50px;
}

.logos {
    margin: 1em;
    padding: 1em;

    border: 2px solid rgb(37, 130, 184);
}

/*References*/
.references {
    padding: 1px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;

}

.rhead {

    margin-left: 20px;
    font-weight: 600;
    color: #696767;
    font-family: Arial, monospace;

}

.rhead span {
    padding: .5em;
    border-top: 2px solid red;
    border-left: 2px solid red;
}

.rfoot {
    margin-left: 20px;

    font-weight: 600;
    color: #696767;
    font-family: Arial, monospace;

}

.rfoot span {
    padding: .5em;
    border-bottom: 2px solid #008cff;
    border-left: 2px solid #008cff;
}

.references img {

    width: 80px;
    height: 80px;
}

.ritem {

    width: 200px;
    text-align: center;
}

.ritem a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    color: #696767;
    font-family: Arial, monospace;

}

/*Google maps*/
#map {
    padding: 1em;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.9));
    z-index: 1;
}

footer {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    margin-top: 1em;
    background: #e9ebec;
    color: #504e4e;
    height: auto;
    text-align: center;

}

footer h1 {
    font-family: Arial, monospace;
    text-transform: uppercase;
    font-size: 1.5em;
    color: #696767;


}

@media screen and (max-width:900px) {
    footer {
        flex-direction: column;
        justify-content: stretch;
        text-align: center;
    }
}

/*Flex items*/
.fitem1 {
    width: 300px;
    margin: auto;
    margin-top: 5px;
}

.fitem1 p {
    font-family: PT Sans, sans-serif;
}

.fitem2 {
    width: 300px;
    margin: auto;
    margin-top: 5px;
}

.fitem2 p {
    font-family: PT Sans, sans-serif;
}

.fitem3 {
    width: 300px;
    margin: auto;
    margin-top: 5px;
}

.fitem3 ul {
    position: relative;
    list-style-type: none;
    right: 18px;
}

.fitem3 ul li {
    padding: .2em;
    margin-bottom: 5px;


}

.fitem3 ul li a {
    font-family: Arial, monospace;
    text-transform: uppercase;
    text-decoration: none;
    color: #242f3e;
    font-size: .8em;
    font-weight: 600;
    text-align: start;
    border-bottom: 2px solid #ff7b00;
    padding-bottom: 2px;
}


.footer-bottom {
    background: #242f3e;
    color: #ffffff;
    text-align: center;
    padding: .5em;
}

.tm a {
    text-decoration: none;
    color: #ffffff;
}

.tm a:hover {
    color: #00ace6;
}

.bt {
    padding: 10px;
    margin-bottom: 5px;
    width: 250px;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 600;
    border: 1px solid #00ace6;
    border-radius: 15px;
    opacity: 0.8;
    background: none;
}

.bt:hover {
    background: #00ace6;
    color: white;
}

.footer-contact {
    position: relative;
    text-align: start;
    left: 60px;
}

@media screen and (max-width:450px) {
    .footer-contact {
        position: block;
        text-align: start;
        left: 0;
    }
}

/*About us*/
.about h1 {
    font-family: Helvetica, sans-serif;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
    letter-spacing: 3px;
    color: grey;
}

.about p {
    padding: 5px;
    text-align: center;
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    margin-bottom: 2px;
    margin-right: 10px;
    margin-left: 10px;
    -webkit-margin-before: .5em;
    -webkit-margin-after: .5em;
}

.flogo {
    width: 300px;
    margin: auto;

    align-self: center;

}

.y {
    color: #ff7b00;
    font-size: 4em;
}

.b {
    color: rgb(37, 130, 184);
    font-size: 4em;
}

/*odrzavanje*/
.cwrapper {

    min-height: 400px;
    display: grid;
    justify-content: center;

    grid-template-columns: 400px auto;
}

.ctext p {

    color: #242f3e;
    padding: 10px;
}

.cwrapper h1 {
    color: grey;
    padding: 10px;

    grid-column-start: 1;
    grid-column-end: 3;
}

.spring {
    text-align: center;
    align-self: center;
    color: green;
    font-size: 8em;
    margin-top: 25px;

}

.about h2 {
    color: grey;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;

}

@media screen and (max-width:900px) {
    .cwrapper {

        grid-template-columns: 1fr;

    }

    .spring {

        font-size: 5em;

    }
}

.img-container {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.cimg {
    margin-bottom: 10px;
    width: 300px;
    height: 200px;

}

/*servis*/
.service-page h1 {
    text-align: center;
    color: grey;
    font-weight: 600;
    text-transform: uppercase;
}

.service-page h2 {
    text-align: center;
    font-family: PT Sans, sans-serif;
    color: grey;
    font-weight: 600;
    text-transform: uppercase;
}

.swrapper1 {
    margin: 15px;

    display: grid;
    justify-content: center;
    align-content: center;
    grid-template-columns: 400px 1fr;

}

.swrapper h2 {
    font-family: Helvetica, sans-serif;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    letter-spacing: 3px;
    color: grey;
}

.swrapper1 p {
    padding: 5px;
    text-align: justify;
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    margin-bottom: 2px;
    margin-right: 10px;
    margin-left: 10px;
    -webkit-margin-before: .5em;
    -webkit-margin-after: .5em;
}

.sicon1 {
    font-size: 4em;
    text-align: center;
    color: #296ce9;
}

@media screen and (max-width:900px) {
    .swrapper1 {

        grid-template-columns: 1fr;

    }
}

/*unutrasnja jedinica*/
.swrapper2 {
    margin: 15px;

    display: grid;
    justify-content: stretch;
    align-content: center;
    grid-template-columns: 400px auto;

}

.sicon2 {
    align-self: center;
    font-size: 5em;
    text-align: center;
    color: #296ce9;
}

.swrapper2 li {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    -webkit-margin-before: .5em;
    -webkit-margin-after: .5em;
}

@media screen and (max-width:900px) {
    .swrapper2 {

        grid-template-columns: 1fr;

    }
}

/*spoljna jedinica*/
.swrapper3 {
    margin: 15px;

    display: grid;
    justify-content: stretch;
    align-content: center;
    grid-template-columns: 400px auto;

}

.sicon3 {

    align-self: center;
    font-size: 5em;
    text-align: center;
    color: #296ce9;
}

.swrapper3 li {
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;
    -webkit-margin-before: .5em;
    -webkit-margin-after: .5em;
}

@media screen and (max-width:900px) {
    .swrapper3 {

        grid-template-columns: 1fr;

    }
}

/*Postupak servisiranja*/
.service-img h1 {

    text-align: center;
    color: #5e5858;
    font-weight: 600;
    text-transform: uppercase;
}

.service-album {
    margin-top: 1em;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1em;
    text-align: center;
}

.service-album img {

    width: 600px;
    height: 300px;


}

.service-album h3 {
    text-align: center;
    color: #807f7f;

    text-transform: uppercase;
}

.service-album2 {
    margin-top: 1em;
    padding: 1em;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1em;
    text-align: center;

}

.service-album2 h3 {
    text-align: center;
    color: #807f7f;

    text-transform: uppercase;
}

.album-img2 img {
    width: 600px;
    height: 300px;
}

@media screen and (max-width:600px) {
    .album-img2 img {
        width: 400px;
        height: 200px;
    }

    .service-album img {
        width: 400px;
        height: 200px;
    }
}

/*footer btn*/
.fbtn {

    margin-top: 15px;

    background: none;
    border: 1px solid rgb(37, 130, 184);
    padding: .5em;
    text-transform: uppercase;
    text-decoration: none;
    font-family: PT Sans, sans-serif;
    color: #242f3e;
    font-weight: 600;

}

.fbtn:hover {
    border: 1px solid #9b9b9b;
    background: #ff7b00;}

@media all and (max-width: 390px) {
    .item2  {
  bottom: 100px;
  position: relative;
}
}
















