* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html,
body {
    font-family: 'Open Sans', sans-serif;

}
a,
i,
button,

a:hover {
    text-decoration: none;
}

/*-------off-canvas---------------*/
.uk-offcanvas-bar{
  background: white;
  text-align: justify;
}
.uk-nav-offcanvas>li>a{
  color: #3e3e3e;
}
.uk-nav-offcanvas ul a{
  color: #3e3e3e;
}

.uk-nav-offcanvas ul li a:hover{
  color: #000 !important;
}

/*-------off-canvas---------------*/

div.top-strip{
  height: 40px;
  background-color: #353b49;
  padding: 10px 45px;
}

div.top-strip p{
  text-align: left;
  color: #358ebd;
}

div.top-strip a{
  text-align: right;
  color: #358ebd;
}

/* ------ HEADER ------------*/

.hidden-stuff{
  display: none;
}

.fa.fa-bars{
  position: absolute;
  color: blue;
  right: 50px;
  top: 20px;
  font-size: 30px;
}

.fa-remove:before, .fa-close:before, .fa-times:before {
    content: "\f00d";
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
}

header{
    position: relative;
    border-bottom: 6px solid #e7e7e7;
}
nav{
  height: 70px;
}

ul.uk-navbar-nav{
  width: 100%;
  padding: 0;
  margin: 0;
      display: flex;
    align-items: center;
    justify-content: space-between;
}

.uk-navbar-nav>li{
  /*width: 10%;*/
  text-align: center;
  height: 70px;
  background-color: #358ebd;
      border-right: 1px solid #81b6d4;
    border-left: 1px solid #306784;
	flex-grow: 1;
}

.dropdown{
  position: relative;
  border: none;
  height: 70px;
}

.dropdown-trigger{
  height: 100%;
  background-color: #358ebd;
  border-right: 1px solid #81b6d4;
  border-left: 1px solid #306784;
}


.dropdown>.dropdown-trigger a{
  padding: 0;
  line-height: 70px;
  height: 70px;
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.dropdown>.dropdown-trigger a:hover{
  color: #3e3e3e;
}

.dropdown ul{
  list-style: none;
  text-align: left;
  padding-left: 0;
  border: none;
  width: 90%;
}

.header-dropdown{
  width: 290px;
  background-color: #358ebd;
}

.dropdown ul li{
  border-bottom: 1px solid white;
  padding-bottom: 4px;
  padding-top: 4px;
}
.dropdown ul li a{
  color: white;
}


.uk-navbar-nav>li:first-child>a:hover{
  border: none;
  background-color: transparent;
}
.uk-navbar-nav>li:first-child{
	flex-grow: 0;
}
/*
.uk-navbar-nav>li:nth-child(5){
  width: 8%;
}
.uk-navbar-nav>li:nth-child(6){
  width: 12%;
}
.uk-navbar-nav>li:nth-child(7){
  width: 12%;
}
.uk-navbar-nav>li:nth-child(8){
  width: 6%;
}
.uk-navbar-nav>li:nth-child(9){
  width: 8%;
}*/
.uk-navbar-nav>li:nth-child(10){
  width: 14%;
  background-color: #358ebd;
  padding-left: 5px;
}

.container-1{
  position: relative;
  width: 150px;
}
.container-1 input#search{
  border: none;
  width: 160px;
  font-size: 12px;
  float: left;
  color: #3e3e3e;
  padding-left: 45px;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
}
.container-1 .icon{
  position: absolute;
  top: -10px;
  left: -7px;
  margin-left: 17px;
  margin-top: 17px;
  z-index: 1;
  font-size: 26px;
  color: #509dc6;
}

.uk-navbar-nav>li:nth-child(10) form{
  padding-top: 13px;
}
.uk-navbar-nav>li:nth-child(10) form input{
  height: 40px;
}

.fa.fa-chevron-down{
  font-size: 18px;
  margin-left: 4px;
}
.uk-navbar-nav>li>a{
  padding: 0;
  line-height: 70px;
  height: 70px;
  /*background-color: #358ebd;*/
  color: white;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  /*border-right: 1px solid #81b6d4;
  border-left: 1px solid #306784;*/
}

.dropdown-trigger.no-border{
  border: none;
}
.uk-navbar-nav>li:nth-child(10)>a{
  border:none;
}

.uk-navbar-nav>li>a:hover{
  background-color: #358ebd;
}

/* ------ HEADER ------------*/

.hero{
  position: relative;
  height: 187px;
  background-image: url("../images/banner.jpg");
}

.hero p{
  position: absolute;
  bottom: 40px;
  right: 200px;
  color: #4382a5;
  font-size: 21px;
  font-weight: 300;
  font-style: italic;
}

.hero p:nth-child(1){
  right: 230px;
  bottom: 65px;
  color: #3399cc;
}

.main-content{
  display: flex;
  display: -webkit-flex;
  width: 100%;
}
.fa-angle-double-right{
  position: relative;
  top:6px;
  font-size: 35px;
}

.flex-item-1{
  width: 17%;
  height: 100%;
}

.flex-item-1 p{
  background-color: #35b4bd;
}

.flex-item-1 p:nth-child(2){
  margin-top: 50px;
  color: #35b4bd;
  background: none;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}



.flex-item-1 p:nth-child(2) span{
  display: block;
}
/* ----------------- RAAADIOO BUTTONS ---------------------------*/
.poll-answer{
  margin-top: 30px;
  margin-bottom: 30px;
}
.poll-answer input[type="radio"]{
  display: none;
}

.poll-answer label{
  position: relative;
  left: 70px;
}

.poll-answer span::before,
.poll-answer span::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
.poll-answer span.radio::before {
  width: 27px;
  height: 27px;
  background-color: #fff;
  left: -35px;
  box-sizing: border-box;
  border: 1px solid #35b4bd;
}

.poll-answer span.radio::after {
  content: '\f00c';
  font-family: 'FontAwesome';
  left: -31px;
  top: 2px;
  color: transparent;
  transition: color .2s;
}
input[type="radio"]:checked + label span.radio::after {
  color: #6a6a6a;
  font-size: 20px;
  font-weight: 300;
}
/* ----------------- RAAADIOO BUTTONS ---------------------------*/

.flex-item-1 .poll-answer{
  display: block;
  margin-left: 30px;
}

.flex-item-1 .poll-answer:nth-child(1){
  margin-top: 35px;
}

input[type="submit"]{
  background-color: #35b4bd;
  color: white;
  font-weight: 700;
  padding: 17px 37px;
  border: none;
  text-align: center;
  margin-left: 45px;
  margin-top: 20px;
  cursor: pointer;
}

/* --------- FORM --------------------*/

.flex-item-2{
  width: 43%;
 height: 100%;
 background: #dbdbdb;
    background: -webkit-linear-gradient(#dbdbdb, #fff);
    background: -o-linear-gradient(#dbdbdb, #fff);
    background: -moz-linear-gradient(#dbdbdb, #fff);
    background: linear-gradient(#dbdbdb, #fff);
}
.flex-item-2.flex_news{
  width: 68%;
 height: 100%;
}
.flex-item-2.flex_problem{
  width: 85%;
 height: 100%;
}
.flex-item-2.flex_problem form{
    max-width: 600px;
    margin: 0 auto;
	margin-top: 50px;
}
.flex-item-2.flex_problem form input[type=submit]{
	margin-left: 0;
}
.flex-item-2.flex_problem form input[type=text], .flex-item-2.flex_problem form textarea{
	width: 100%;
	margin-bottom: 15px;
}

.flex-item-2 i{
  color: #912953;
}

.flex-item-2 p:nth-child(1){
  background-color: #bd356c;
}

.news-story{
  margin-top: 50px;
  border-bottom: 1px solid #c9c9c9;
}

.news-story h2{
  font-size: 13px;
  font-weight: bold;
  color: #3e7da1;
  text-transform: uppercase;
}

.news-story h2 span{
  color: white;
  background-color: #bd356c;
  padding: 10px 10px 10px 30px;
  margin-right: 10px;
}

.news-story p{
  width: 90%;
  margin: 0 auto;
  font-size: 12px;
  color: #26729a;
  padding-bottom: 45px;
  /*border-bottom: 1px solid #c9c9c9;*/
  background-color: transparent !important;
}

.flex-item-3{
  width: 25%;

     background: -webkit-linear-gradient(#d0d0d0, #fff); /* For Safari 5.1 to 6.0 */
     background: -o-linear-gradient(#d0d0d0, #fff); /* For Opera 11.1 to 12.0 */
     background: -moz-linear-gradient(#d0d0d0, #fff); /* For Firefox 3.6 to 15 */
     background: linear-gradient(#d0d0d0, #fff); /* Standard syntax */
}

.flex-item-3 i{
  color: #215875;
}

.flex-item-3 p{
  background-color: #358ebd;
  margin-bottom: 40px;
}


.document{
  width: 80%;
  margin: 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid #a3afb6;
}

.document-image{
  padding-left: 0;
}

.document-image img:hover{
  -webkit-transform: rotateY(18deg); /* Safari */
    transform: rotateY(180deg);
}

.document img{
  position: relative;
  top:5px;
  transition: 1s;
}

.document-text {
  margin-left: -20px;
  padding-left: 0;
  font-size: 12px;
  color: #26729a;
  font-weight: 700;
}

.document-text a{
  color: black;
  display: block;
  padding-bottom: 5px;
}

.document-text a:hover{
  color: #3e3e3e;
}

.flex-item-4{
  width: 15%;
}

.section-text{
  height: 70px;
  line-height: 70px;
  color: white;
  text-indent: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}

.section-text span{
  margin-right: 10px;
  padding-bottom: 10px;
}

.content-navigation{
  position: relative;
  margin-top: 45px;
}
.content-navigation span{
  position: absolute;
  left: 5%;
  color: #26729a;
  font-weight: 700;
}

.content-navigation span:nth-child(2){
  left: auto;
  right: 5%;
}

.banner1{
  width: 100%;
  height: 265px;
  background-image: url("../images/banner1.jpg");
  background-repeat: no-repeat;
    background-size: cover;
  text-align: center;
}

.banner1 p{
  color: white;
  padding-top: 30px;
}

.banner1 p:nth-child(2){
  text-transform: uppercase;
  font-weight: bold;
}

.banner2{
  width: 100%;
  height: 315px;
  background-image: url("../images/banner2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.banner3{
	text-align: center;
}
.banner2 p{
  color: #3e3e3e;
  padding-top: 100px;
  font-size: 14px;
  text-align: center;
  font-weight: 700;
}

.logo-bot{
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 250px;
}

footer{
  position: relative;
  height: 85px;
  background-color: #358ebd;
  margin-top: 20px;
}

footer span{
  position: absolute;
  left: 30%;
  line-height: 85px;
  color: white;
}

.footer-links{
  position: absolute;
  right: 50px;
  line-height: 85px;
}

.footer-links a{
  color: white;
}

.footer-links a:nth-child(1){
  margin-right: 30px;
}

/* -------- MEDIA QUERIES -----------*/

@media screen and (max-width:1360px){
  .document-text{
    margin-left: 0;
  }
}

@media screen and (max-width:1280px){
    div.top-strip p{
      opacity: 0;
    }
    .uk-navbar{
      display: none;
    }
    .hidden-stuff{
      display: block;
    }
}

@media screen and (max-width:1125px){
  footer span {
    left: 0;
  }
}

@media screen and (max-width:1000px){
  .main-content{
    flex-wrap: wrap;
  }

  .flex-item-1{
    width: 50%;
    text-align: center;
  }
  input[type="submit"]{
      margin-left: 0;
  }

  .flex-item-1 .poll-answer {
    margin-left: -80px;
}

  .flex-item-2{
    width: 50%;
  }

  .flex-item-2 div.news-story:nth-child(3){
    display: none;
  }

  .content-navigation {
    margin-top: 5px;
    margin-bottom: 30px;
}
  .flex-item-3{
    width: 50%;
  }

  .flex-item-4{
    width: 50%;
  }



  .banner1,.banner2{
    height: 400px;
    padding-top: 80px;
  }

  .banner2 p{
    font-size: 20px;
  }
}

  @media screen and (max-width:767px){
    .document-image {
      text-align: center;
      margin-bottom: 10px;
    }

    .document-text a{
      text-align: center;
    }

    footer{
      height: auto;
    }

    footer span{
      position: static;
      display: block;
      text-align: center;
    }

    .footer-links{
      position: static;
      display: block;
      text-align: center;
    }
  }

  @media screen and (max-width:602px){
    .flex-item-1{
      width: 100%;
      margin-bottom: 30px;
    }
    .flex-item-2{
      width: 100%;
    }
    .flex-item-3{
      width: 100%;
    }
    .flex-item-4{
      width: 100%;
    }
    .banner1,.banner2{
      height: 630px;
      padding-top: 150px;
    }
    .logo-bot{
      margin-top: 100px;
    }
  }

  @media screen and (max-width:480px){
    .hero p{
      position: static;
      text-align: center;
    }

    .hero p:nth-child(1){
      padding-top: 50px;
    }
  }

  @media screen and (max-width:405px){
    footer span{
      line-height: 30px;
    }
    .footer-links{
      line-height: 30px;
    }
    .footer-links a{
      display: block;
      text-align: left;
    }
  }

  /*---------------------------------- DOKUMENT STRANICA -------------------*/
  .hero-document{
    position: relative;
    height: 120px;
    background-image: url("../images/banner-kontakt.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }


  .pointers{
      display: flex;
    }

  .pointer {
  width: 40%;
  height: auto;
  position: relative;
  background: #bd356c;
}
/*.pointer:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}*/
.pointer:before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 20px solid #bd356c;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  z-index: 999;
}

.pointer p{
  margin-top: 5px;
  margin-left: 20%;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
}

.pointer p i{
  color: #912953;
  margin-right: 10px;
}

.pointer-2{
  height: auto;
  position: relative;
  padding-top: 10px;
  width: 60%;
  background-color: #9f9f9f;
}

.pointer-2 p{
  position: absolute;
  color: white;
  font-size: 12px;

  margin-left: 30px;
}

.pointer-2 p span{
  display: block;
}

.pointer-2 img{
  position: absolute;
  top: 10px;
  right: 130px;
}

.main-content-document{
  display: flex;
}

.documents-list{
  width: 85%;
}
.documents-table{
  width: 80%;
  margin-left: auto;
  margin-right: 50px;
}
.documents-table table{
  margin-top: 60px;
  width: 100%;
  border-spacing: 0;
}


.documents-table table tr{
 height: 60px;
}

.documents-table th{
  text-align: left;
}

.documents-table table tr td{
  border-bottom: 1px solid #c9c9c9;
}

.documents-table table tr:nth-child(1){
  background-color: #358ebd;
  color: white;
  height: 36px;
}

.documents-table table tr:nth-child(1) td{
  background-color: #358ebd;
  color: white;
  height: 36px;
}


.documents-table tr th:nth-child(1){
  text-indent: 20px;
}

.documents-table tr td:nth-child(1){
  width: 35%;
  text-indent: 20px;
}
.documents-table tr td:nth-child(2){
  width: 45%;
}
.documents-table tr td:nth-child(3){
  width: 20%;
  text-align: center;
}
.document-bottom-nav{
  padding-top: 20px;
}

.second{
  text-align: center;
}

.third{
  text-align: right;
}

.document-bottom-nav .uk-width-6-10{
  text-align: center;
}

/* ----------------media queries za dokument stranicu ---------------------- */
@media screen and (max-width:1085px){
  .pointer-2 img{
    right: 30px;
  }
}
@media screen and (max-width:1000px){

  .pointer-2 img{
    right: 40px;
  }

  .documents-list, .documents-table{
    width: 100%;
  }

  .flex-item-4-document{
    display: none;
  }
}

@media screen and (max-width:900px){
  .pointer-2 img{
    display: none;
  }
}

@media screen and (max-width:759px){
  .pointer:before{
    display: none;
  }
  .pointer p{
    text-align: right;
    padding-right: 20px;
  }
}

@media screen and (max-width:557px){
  .document-bottom-nav span{
    display: none;
  }
  .documents-table table tr:nth-child(1) th:nth-child(2){
    text-align: center;
  }
}

/* ------------------- KONTAKT STRANICA --------------------------------- */

.hero-contact{
    position: relative;
    height: 120px;
    background-image: url("../images/banner-dokument.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.pointer-contact{
  background-color: #143073;
}
.pointer-contact::before{
  border-left:20px solid #143073;
  border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

.pointer-contact p i{
  color: #0f2558;
}

.pointer-2-contact p{
  top: 18px;
}

.main-content-contact p{
  text-align: center;
  margin-top: 20px;
}

.main-content-contact p, p>a{
  color: #7d7c7c;
}

.contacts-list{
  width: 90%;
    margin: 0 auto;
}
.contacts-table{
  width:100%;

}
.contacts-table table{
  margin-top: 0;
  width: 100%;
  border-spacing: 0;
}
.contacts-table table tr{
 height: 60px;
}

.contacts-table th{
  text-align: center;
}

.contacts-table th:nth-child(1){
  text-align: left;
}

.contacts-table td{
  text-align: center;
}

.contacts-table td:nth-child(1){
  text-align: left;
}



.contacts-table table tr td{
  border-bottom: 1px solid #c9c9c9;
}

.contacts-table table tr:nth-child(1){
  background-color: #358ebd;
  color: white;
  height: 36px;
}

.contacts-table table tr:nth-child(1) td{
  background-color: #358ebd;
  color: white;
  height: 36px;
}

.contacts-table table tr > td:last-child{
  text-align:
}


.contacts-table tr th:nth-child(1){
  text-indent: 20px;
}

.contacts-table tr td:nth-child(1){
  text-indent: 20px;
}

/* --------------------- LOGIN STRANICA --------------------- */

.first-top-strip{
  width: 100%;
  height: 43px;
  background-color: #353b49;
}

.second-top-strip{
  width: 100%;
  height: 15px;
  background-color: #bd356c;
}

.login-body{
  background: -webkit-linear-gradient(#eee, #fff); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#eee, #fff); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#eee, #fff); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#eee, #fff); /* Standard syntax */
}

.login-big-frame{
  background-color: white;
  width: 90%;
  max-width: 529px;
  margin: 0 auto;
  margin-top: 41px;
  padding-top: 49px;
  box-shadow: 0 25px 25px -25px #d7d7d7;
  padding-bottom: 63px;
}

.login-logo{
  text-align: center;
}

.login-big-frame h1{
  font-size: 15px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3em;
}

.login-big-frame h1 span{
  display: block;
}

.login-big-frame p{
  font-size: 12px;
  color: rgb(53, 59, 73);
  line-height: 1.2;
  text-align: center;
}

.login-big-frame input{
  display: block;
  margin: 23px auto;
}

.login-big-frame input[type="submit"]{
  background-color: #358ebd;
}

.forgot-password{
  text-align: center;
}

.logo-bot.login{
  margin-top: 135px;
}
div.poll_error p{
	background: none !important;
    text-align: center;
    font-size: 13px;
    color: red;
	margin-top: 0;
    margin-bottom: 0;
}
.flex-item-1 p.poll_success{
	background: none;
    text-align: center;
}
.flex-item-2 p.poll_success{
	background: none;
    text-align: center;
	color: green;
}
div.poll_results{
	text-align: center;
}
form.uk-form.form_login{
	max-width: 350px;
    margin: 0 auto;
}
form.uk-form.form_login input[type=text], form.uk-form.form_login input[type=password]{
	width: 100%;
	font-size: 13px;
}
form.admin_form div.poll_error p{
	text-align: left;
}
form.admin_form div.form-group{
	margin-bottom: 15px;
}
form.admin_form{
    max-width: 600px;
    margin: 0 auto;
	margin-top: 0px;
}
form.admin_form input[type=submit]{
	margin-left: 0;
}
form.admin_form input[type=text], form.admin_form input[type=password], form.admin_form textarea, form.admin_form select{
	width: 100%;
	font-size: 13px;
}
div.form-group p.poll_success{
	color: green;
}
a.admin_add{
	background-color: #bd356c;
    color: white;
    display: inline-block;
    padding: 10px;
}
a.delete{
	background-color: #358ebd;
    color: white;
    display: inline-block;
    padding: 7px;
	font-size: 13px;
}
