html { scroll-behavior: smooth; }
*{
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    background-color: #1E5050;  }

a { color: #3CF;
    text-decoration: none;
    transition: all 0.3s ease; }

p { line-height: 1; 
    margin-top: 0;}


/** Video**/

#am-video {
    position: fixed;
    right: 0;
    bottom: 0;    
    z-index: -1000;
}

.am-video-wrapper { position: relative; }

#am-video-control-button {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background-color: rgba(0,0,0,0.5);
    color: white;    
    padding: 10px;
}
/**Video END**/

.glavni-container { padding: 2px; }

.am-row {
    display: flex;
    justify-content: space-between;
}

.am-left,
.am-right {
    width: 50%;
    padding: 10px;
}

.naslov-header {
        color: rgb(255, 255, 255);
        width: 100%;
        display: flex;
        text-align: center;
        justify-content: center; 
        padding: 25px;  
    }

.am-page-link {
    min-width: 240px;
    height: 100px;
    background-color: white;
    color: #099;
    display: flex;
    text-decoration: none;
    align-items: center;      
    font-size: 1.2rem;
}

.am-page-link:hover,
.am-page-link.active {
    background-color: #099;
    color: white;
}

.am-page-link-icon {
    margin-right: 25px;
    margin-left: 25px;
    font-size: 1.5rem;
}

.am-black-bg {
    background-color: rgba(0,0,0,0.6);
    color: white;
}

.am-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.am-list-item-img {
    margin-right: 20px;
    width: 220px;
    height: 170px;
    background-color: #099;
    border: solid rgb(255, 255, 255) 4px;
}

.am-list-item-text {
    padding: 20px 25px;
    flex: 1;
}

.am-list-item-name {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
    color: #3CF;
}

.vreme {
    margin: 10px;
}

/*Slide za plaže*/
.my-slides {
    display: none;
    margin-left: 10px;
  }
.my-slides1 {
    display: none;
    margin-left: 10px;
  }
.my-slides2 {
    display: none;
    margin-left: 10px;
  }
.my-slides3 {
    display: none;
    margin-left: 10px;
  }


/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
.prev1, .next1 {
    cursor: pointer;
    position: absolute;
    top: 70%;
    width: auto;
    margin-top: -32px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  .prev2, .next2 {
    cursor: pointer;
    position: absolute;
    top: 100%;
    width: auto;
    margin-top: -42px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  /* Position the "next button" to the right */
.next, .next1, .next2, .next4 {
    right: 82%;
    border-radius: 3px 0 0 3px;
  }

  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(151, 151, 151, 0.521);
  }
/*Slide za plaže END*/

.am-form-control::-webkit-input-placeholder { color: white; } /* Edge */  
.am-form-control:-ms-input-placeholder { color: white; } /* Internet Explorer 10-11 */  
.am-form-control::placeholder { color: white; }


@media (max-width: 1130px) and (min-width: 992px) {
    .am-left-inner { max-width: 380px; }
    .am-site-name { font-size: 2.6rem; }
    .am-site-logo { margin-right: 20px; }
    .am-page-link { width: 100%; }
    .am-page-link-icon { margin-right: 15px; }
    .am-left { width: 45%; }
    .am-right { width: 55%; }
}

@media (max-width: 991px) {
    .am-left-inner { position: static; }
    .am-left, .am-right { width: 100%; }
    .am-left { margin-bottom: 50px; }
    .am-row { display: block; }
}

@media (max-width: 574px) {
    .am-site-nav-ul { display: block; }
}

@media (max-width: 550px) and (min-width: 501px) {
    .am-list-item-img-big {
        width: 160px;
        height: 160px;
    }

    .am-about-header { margin-left: 180px; }
}
@media (max-width: 500px) {
    .am-about-header { margin-left: 0; }
    .am-list-item-2 { flex-direction: column; }
    .am-about-box-1 { padding-left: 30px; }

    .am-list-item-img-big {
        margin-right: 0;
        margin-bottom: 25px;
    }

    .am-img-right { margin-left: 0; }
}

@media (max-width: 479px) {
    
    .am-list-item {
        flex-direction: column;
    }

    .am-list-item-img {
        margin-right: 0;
        margin-bottom: 10px;        
    }

}
