@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

body {
    font-family: 'Roboto', sans-serif;
}

img {
    max-width: 100%; /* maksimalna sirina slike je maksimalna sirina elementa u komes se nalazi */
    height: auto; /* prilagodjava visinu slike srazmerno proporciji slike */
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

.container {
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.button {
    text-decoration: none;
    min-width: 186px;
    display: inline-block; /* Sirina zavisi od sadrzaja koji se nalazi u elementu */
    padding: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    background-color: #6BA9F2;
    text-align: center;
    transition: all 0.5s; /* Animira sve propertije na elementu u trajanju od pola sekunde */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.button:hover {
    background-color: #0D304F;
}

.btn.round {
    font-size: 14px;
    font-weight: normal;
    color: #000;
    text-decoration: none;

}

.btn.round .icon-arrow {
    display: inline-block;
    width: 34px;
    height: 34px;
    background: url("http://playground.side-apps.com/vjezba-1/img/arrow-right.png") no-repeat center #6BA9F2;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 10px;
    transition: all 0.5s; /* Animira sve propertije na elementu u trajanju od pola sekunde */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.btn.round:hover .icon-arrow {
    background: url("http://playground.side-apps.com/vjezba-1/img/arrow-right.png") no-repeat center #0D304F;
}

h1 {
    margin: 0 0 80px;
    font-size: 40px;
    font-weight: 700;
}

h2 {
    font-size: 34px;
    margin-bottom: 52px;
}

h5 {
    text-align: left;
    margin: 0 0 80px;
    font-size: 40px;
    font-weight: bold;
}

h6 {
    text-align: left;
    margin: 0 0 30px;
    font-size: 16px;
    font-weight: normal;
}

p {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    margin-bottom: 30px;
    line-height: 1.5; /* razmak izmedju redova u procentima ili pixelima */
}

header {
    padding: 22px 0;
}

.menu {
    padding: 0;
    margin: 0;
}

.menu > li {
    padding: 0 15px;
    display: inline-block;
    margin: 0;
    position: relative;
    line-height: 40px;
}

/* :last-child je pseudo klasa koja gadja zadnji element u roditelju */
/* > odnosi se samo na direktnu decu elemeta tj. prvi nivo elemenata u njemu */
.menu > li:last-child {
    padding-right: 0;
}

.menu a {
    color: #4A4949;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.5s; /* Animira sve propertije na elementu u trajanju od pola sekunde */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

.menu a:hover {
    color: #6BA9F2; /* animacija na navigacionim elementima */
}

.menu .has-sub:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    top: 35px;
}

.sub-menu {
    padding: 10px 0;
    background: #ffffff;
    width: 200px;
    text-align: center;
    position: absolute;
    top: 55px;
    left: 50%;
    margin-left: -100px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s; /* Animira sve propertije na elementu u trajanju od pola sekunde */
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    z-index: 10;
}

.sub-menu li {
    padding: 0;
    margin: 12px 0;
    list-style: none;
    line-height: 1.2;
}

.sub-menu li a {
    font-weight: normal;
    font-size: 16px;
}

.menu-btn {
    display: none;
}


.menu-btn span {
    display: block;
    width: 32px;
    height: 2px;
    margin-bottom: 5px;
    background: #6BA9F2;
}

.menu-btn  .open span {
    background: indianred;
}

.mobile-menu {
    display: none;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #c4c4c5;
    margin-top: 20px;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    padding: 0;
    margin: 0;
}

.mobile-menu > ul > li {
    padding: 0;
    margin: 0;
    list-style: none;
    display: block;
    text-align: center;
    border-bottom: 1px solid #c4c4c5;
}

.mobile-menu li a {
    color: #333333;
    text-decoration: none;
    padding: 10px;
    display: block;
}

.mobile-menu .has-sub.open .sub-menu-mobile {
    /*display: block;*/
}

.mobile-menu .sub-menu-mobile {
    display: none;
}

.banner-title h4 {
    font-size: 14px;
    font-style: italic;
    font-weight: normal;
    margin-bottom: 0;
    display: inline-block;
}

.banner-title {
    margin-bottom: 60px;
}

.banner-title .line {
    display: inline-block;
    width: 36px;
    height: 2px;
    background: #6BA9F2;
    margin-right: 10px;
}

.banner-title h2 {
    margin-bottom: 0;
    font-size: 30px;
}

footer {
    background: #333333;
    padding: 50px 0 40px;
}

footer h4 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 24px;
}

footer p {
    font-size: 16px;
    font-weight: normal;
    color: #ffffff;
}

footer ul {
    padding: 0;
    margin: 0;
}

footer li {
    list-style: none;
    margin-bottom: 4px;
}

footer li a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}

footer .social-item {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

label {
    margin-bottom: 5px;
    display: block;
}

input {
    display: block;
    width: 100%;
    border: 1px solid #E0E0E0;
    height: 40px;
}

textarea {
    display: block;
    width: 100%;
    border: 1px solid #E0E0E0;
    height: 120px; /* za prostor texta u message formu */
}

.form-element {
    margin-bottom: 20px;
}

button {
    border: none;
}

iframe {
    display: block;
    max-width: 100%;
    width: 100%;
}


@media all and (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }

    .container .container {
        padding: 0;
    }
}


@media all and (max-width: 540px) {
    .container {
        padding: 0 10px;
    }

    .container .container {
        padding: 0;
    }

    .menu-btn {
        display: inline-block;
    }

    .menu {
        display: none;
    }
    header .item .cover .header-content h1 {
        font-size: 34px !important;
    }
    header .item .cover .header-content h2 {
        font-size: 22px !important;
    }
    header .item .cover .header-content h4 {
        font-size: 18px !important;
    }
}
/* SLIDER */
/*.flex-caption {
    width: 100%;
    padding: 2%;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
    font-size: 14px;
    line-height: 18px;
}
.flex-caption {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
    from { bottom:-100px; opacity:0 }
    to { bottom:0; opacity:1 }
}

@keyframes animatebottom {
    from{ bottom:-100px; opacity:0 }
    to{ bottom:0; opacity:1 }
}*/

/* NEW SLIDER */

.slider .item {
    height: 60vh;
    position: relative;
    margin: 20px 0;
}
.slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .item .cover {
    padding: 75px 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
}
.slider .item .cover .header-content {
    position: relative;
    padding: 56px;
    overflow: hidden;
}
.slider .item .cover .header-content .line {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    /*border: 9px solid #fff;*/
    -webkit-clip-path: polygon(0 0, 60% 0, 36% 100%, 0 100%);
    clip-path: polygon(0 0, 90% 0, 50% 100%, 0 100%);
    background-color: #6c757d;
    filter: opacity(0.4);
}
.slider .item .cover .header-content h2 {
    font-weight: 300;
    font-size: 35px;
    color: #fff;
}
.slider .item .cover .header-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: 5px 0 20px;
    word-spacing: 3px;
    color: #fff;
}
.slider .item .cover .header-content h4 {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    color: #fff;
}
.slider .owl-item.active h1 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInDown;
    animation-delay: 0.3s;
}
.slider .owl-item.active h2 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInDown;
    animation-delay: 0.3s;
}
.slider .owl-item.active h4 {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInUp;
    animation-delay: 0.3s;
}
.slider .owl-item.active .line {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: fadeInLeft;
    animation-delay: 0.3s;
}
.slider .owl-nav .owl-prev {
    position: absolute;
    left: 15px;
    top: 43%;
    opacity: 0;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    cursor: pointer;
    height: 40px;
    display: block;
    z-index: 1000;
    border-radius: 0;
}
.slider .owl-nav .owl-prev span {
    font-size: 1.6875rem;
    color: #fff;
}
.slider .owl-nav .owl-prev:focus {
    outline: 0;
}
.slider .owl-nav .owl-prev:hover {
    background: #000 !important;
}
.slider .owl-nav .owl-next {
    position: absolute;
    right: 15px;
    top: 43%;
    opacity: 0;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    background: rgba(0, 0, 0, 0.5) !important;
    width: 40px;
    cursor: pointer;
    height: 40px;
    display: block;
    z-index: 1000;
    border-radius: 0;
}
.slider .owl-nav .owl-next span {
    font-size: 1.6875rem;
    color: #fff;
}
.slider .owl-nav .owl-next:focus {
    outline: 0;
}
.slider .owl-nav .owl-next:hover {
    background: #000 !important;
}
.slider:hover .owl-prev {
    left: 0;
    opacity: 1;
}
.slider:hover .owl-next {
    right: 0;
    opacity: 1;
}