
body{
    margin-top:20px;
    background-color: #b6cde8 !important;
}

#naslov{
    color: black;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-bottom: 70px;
    padding-top: 25px;
    font-size: 45px;
    text-align: center;
font-family: 'Playfair Display', serif;}
/*LENTA*/
textarea {
    resize: none;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  white-space: nowrap;
}


.svg-inline--fa {
  vertical-align: -0.200em;
}

.rounded-social-buttons {
  text-align: center;
}

.rounded-social-buttons .social-button {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 3.125rem;
  height: 3.125rem;
  border: 0.125rem solid transparent;
  padding: 0;
  text-decoration: none;
  text-align: center;
  color: #fefefe;
  font-size: 1.5625rem;
  font-weight: normal;
  line-height: 2em;
  border-radius: 1.6875rem;
  transition: all 0.5s ease;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

.rounded-social-buttons .social-button:hover, .rounded-social-buttons .social-button:focus {
  -webkit-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
          transform: rotate(360deg);
}

.rounded-social-buttons .fa-twitter, .fa-facebook-f, .fa-linkedin, .fa-youtube, .fa-instagram {
  font-size: 25px;
}

.rounded-social-buttons .social-button.facebook {
  background: #3b5998;
}

.rounded-social-buttons .social-button.facebook:hover, .rounded-social-buttons .social-button.facebook:focus {
  color: #3b5998;
  background: #fefefe;
  border-color: #3b5998;
}

.rounded-social-buttons .social-button.twitter {
  background: #55acee;
}

.rounded-social-buttons .social-button.twitter:hover, .rounded-social-buttons .social-button.twitter:focus {
  color: #55acee;
  background: #fefefe;
  border-color: #55acee;
}

.rounded-social-buttons .social-button.linkedin {
  background: #007bb5;
}

.rounded-social-buttons .social-button.linkedin:hover, .rounded-social-buttons .social-button.linkedin:focus {
  color: #007bb5;
  background: #fefefe;
  border-color: #007bb5;
}

.rounded-social-buttons .social-button.youtube {
  background: #bb0000;
}

.rounded-social-buttons .social-button.youtube:hover, .rounded-social-buttons .social-button.youtube:focus {
  color: #bb0000;
  background: #fefefe;
  border-color: #bb0000;
}

.rounded-social-buttons .social-button.instagram {
  background: #125688;
}

.rounded-social-buttons .social-button.instagram:hover, .rounded-social-buttons .social-button.instagram:focus {
  color: #125688;
  background: #fefefe;
  border-color: #125688;
}

.main-timeline {
    position: relative;
}

/*BOJA CRTA VODORAVNO*/
.main-timeline:before {
    content: "";
    display: block;
    width: 2px;
    height: 100%;
    background: #506782;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0
}

.main-timeline .timeline {
    margin-bottom: 40px;
    position: relative
}

.main-timeline .timeline:after {
    content: "";
    display: block;
    clear: both
}

.main-timeline .icon {
    width: 18px;
    height: 18px;
    line-height: 18px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0
}

.main-timeline .icon:before,
.main-timeline .icon:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.33s ease-out 0s
}

.main-timeline .icon:before {
    background: #fff;
    border: 2px solid #647cac;
    left: -3px
}

.main-timeline .icon:after {
    border: 2px solid #c8d2f0;
    left: 3px
}

.main-timeline .timeline:hover .icon:before {
    left: 3px
}

.main-timeline .timeline:hover .icon:after {
    left: -3px
}

.main-timeline .date-content {
    width: 50%;
    float: left;
    margin-top: 22px;
    position: relative
}

.main-timeline .date-content:before {
    content: "";
    width: 36.5%;
    height: 2px;
    background: #506782;
    margin: auto 0;
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0
}

.main-timeline .date-outer {
    width: 125px;
    height: 125px;
    font-size: 16px;
    text-align: center;
    margin: auto;
    z-index: 1
}

.main-timeline .date-outer:before,
.main-timeline .date-outer:after {
    content: "";
    width: 125px;
    height: 125px;
    margin: 0 auto;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.33s ease-out 0s
}

.main-timeline .date-outer:before {
    background: #fff;
    border: 2px solid #647cac;
    left: -6px
}

.main-timeline .date-outer:after {
    border: 2px solid #c6c6c6;
    left: 6px
}

.main-timeline .timeline:hover .date-outer:before {
    left: 6px
}

.main-timeline .timeline:hover .date-outer:after {
    left: -6px
}

.main-timeline .date {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 27%;
    left: 0
}

.main-timeline .month {
    font-size: 18px;
    font-weight: 700
}

.main-timeline .year {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #232323;
    line-height: 36px;
    margin-top: 8px;
}

.main-timeline .timeline-content {
    width: 50%;
    padding: 20px 0 20px 50px;
    float: right
}

.main-timeline .title {
    font-size: 22px;
    font-weight: 700;
    color: #295789;
    line-height: 24px;
    margin: 0 0 15px 0;
}

.main-timeline .description {
    margin-bottom: 0;
}

.main-timeline .timeline:nth-child(2n) .date-content {
    float: right
}

.main-timeline .timeline:nth-child(2n) .date-content:before {
    left: 10px
}

.main-timeline .timeline:nth-child(2n) .timeline-content {
    padding: 20px 50px 20px 0;
    text-align: right
}

@media only screen and (max-width: 991px) {
    .main-timeline .date-content {
        margin-top: 35px
    }
    .main-timeline .date-content:before {
        width: 22.5%
    }
    .main-timeline .timeline-content {
        padding: 10px 0 10px 30px
    }
    .main-timeline .title {
        font-size: 17px
    }
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        padding: 10px 30px 10px 0
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline:before {
        margin: 0;
        left: 7px
    }
    .main-timeline .timeline {
        margin-bottom: 20px
    }
    .main-timeline .timeline:last-child {
        margin-bottom: 0
    }
    .main-timeline .icon {
        margin: auto 0
    }
    .main-timeline .date-content {
        width: 95%;
        float: right;
        margin-top: 0
    }
    .main-timeline .date-content:before {
        display: none
    }
    .main-timeline .date-outer {
        width: 110px;
        height: 110px
    }
    .main-timeline .date-outer:before,
    .main-timeline .date-outer:after {
        width: 110px;
        height: 110px
    }
    .main-timeline .date {
        top: 30%
    }
    .main-timeline .year {
        font-size: 24px
    }
    .main-timeline .timeline-content,
    .main-timeline .timeline:nth-child(2n) .timeline-content {
        width: 95%;
        text-align: center;
        padding: 10px 0
    }
    .main-timeline .title {
        margin-bottom: 10px
    }
}

@media screen and (min-width: 320px) {
    * {
      box-sizing: border-box;
    }
    #dugme {
        margin-top: 80px;
        margin-left: 120px;
    }

    #button_scroll {
        background-color: #c8d2f0;
        color: black;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 15px;
        text-decoration: none;
        text-align: center;
        border: 3px solid #647cac;
    }


    footer {
        height: 220px;
        background-color: #789bc2;
        margin-top: 100px;
    }

    #tekst_footer {
        font-size: 14px;
        text-align: center;
        color: black;
        padding-top: 30px;
        padding-bottom: 10px;
        font-family: 'Hind Madurai', sans-serif;
        margin-left: 3%;
    }

  }
  @media screen and (min-width: 481px) {
    * {
      box-sizing: border-box;
    }
    #dugme {
        margin-top: 80px;
        margin-left: 150px;
    }

    #button_scroll {
        background-color: #c8d2f0;
        color: black;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 15px;
        text-decoration: none;
        text-align: center;
        border: 3px solid #647cac;
    }


    footer {
        height: 220px;
        background-color: #789bc2;
        margin-top: 100px;
    }

    #tekst_footer {
        font-size: 14px;
        text-align: center;
        color: black;
        padding-top: 30px;
        padding-bottom: 10px;
        font-family: 'Hind Madurai', sans-serif;
        margin-left: 3%;
    }

  }
  @media screen and (min-width: 769px) {
      * {
        box-sizing: border-box;
      }
      #dugme {
          margin-top: 80px;
          margin-left: 290px;
      }

      #button_scroll {
          background-color: #c8d2f0;
          color: black;
          padding-left: 25px;
          padding-right: 25px;
          padding-top: 10px;
          padding-bottom: 10px;
          font-size: 17px;
          text-decoration: none;
          text-align: center;
          border: 3px solid #647cac;
      }


      footer {
          height: 220px;
          background-color: #789bc2;
          margin-top: 100px;
      }

      #tekst_footer {
          font-size: 15px;
          text-align: center;
          color: black;
          padding-top: 30px;
          padding-bottom: 10px;
          font-family: 'Hind Madurai', sans-serif;
          margin-left: 3%;
      }

    }
    @media screen and (min-width: 1025px) {
        * {
          box-sizing: border-box;
        }
#dugme {
    margin-top: 80px;
    margin-left: 750px;
}

#button_scroll {
    background-color: #c8d2f0;
    color: black;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 17px;
    text-decoration: none;
    text-align: center;
    border: 3px solid #647cac;
}


footer {
    height: 220px;
    background-color: #789bc2;
    margin-top: 100px;
}

#tekst_footer {
    font-size: 16px;
    text-align: center;
    color: black;
    padding-top: 30px;
    padding-bottom: 10px;
    font-family: 'Hind Madurai', sans-serif;
    margin-left: 3%;
}
}
