@font-face {
  font-family: "OpenSans";
  src: url(/datoteke/rokodelstvo/logotipi/OpenSans.ttf) format('truetype');
}

body {
  font-size: 18px;
  line-height: normal;
  background: #fff;
  font-family: OpenSans;
  background: url(/datoteke/duo/logotipi/bodybg.gif);
}

h1,h2,h3,h4,h5,h6 {
  font-family: OpenSans;
  font-weight: 500;
}
h1 {
  font-size: 1.6em;
  margin: 0 0 1rem 0;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 400;
}

strong {
  font-weight: 600;
}

a:link, a:active, a:visited {
  color: #217ded;
  font-weight: 500;
  text-decoration: none; 
  background: transparent;
}

a:hover { 
  text-decoration: none; 
  color: #419dff;
}

.pdf:before {
  content: url(/datoteke/ikone/pdf.png);
  vertical-align: sub; padding-right: 5px;
}
.doc:before {
  content: url(/datoteke/ikone/doc.png);
  vertical-align: sub; padding-right: 5px;
}
.xls:before {
  content: url(/datoteke/ikone/xls.png);
  vertical-align: sub; padding-right: 5px;
}
.zip:before {
  content: url(/datoteke/ikone/zip.png);
  vertical-align: sub; padding-right: 5px;
}

.body ol { list-style: decimal; }
.body ul { list-style: initial; }

.wrap {
  margin: 0 auto;
  max-width: 1200px;
  width: 90%;
  padding: 1rem;
}

.rocka {
  color: #4b698c;
}
.rocka:hover {
  color: #d90f57;
  cursor: pointer;
}

.main {
  padding-top: 1rem;
  color: #222;
  font-weight: 500;
}

.main ol {
  margin-left: 1rem;
}

.main ol li {
  list-style: number;
}

.main ol li ul li {
  list-style: circle;
}

#piskotki-msg {
  background-color: #003a68;
}

.top-bar, .top-bar ul {
  background: transparent;
  padding: 0;
}

.samo-besedilo {
  padding: 0 1rem;
}

.top-menu {
  background: rgba(255, 255, 255, 0.6);
}

.top-menu .top-logo img {

}
.top-menu .column.top-logo {
  padding-right: 8px;
}

.menu, .menu.horizontal {
  align-items: center;
  justify-content: center;
}

.column.logo a img {
  margin-bottom: 2rem;
}

/* MENU*/
#menu-rokodelstvo a:link, #menu-rokodelstvo a:active, #menu-rokodelstvo a:visited {
  font-size: 0.95em;
  color: #000;
  font-weight: 500;
  line-height: 1.4em;
}

#menu-rokodelstvo {
  padding: 1rem 0;
  background: transparent;
}

#menu-rokodelstvo li {
  text-transform: uppercase;
  background-color: transparent;
  border-radius: 2px;
  margin-right: 2rem;
  text-align: center;
  padding: 0;
/*  box-shadow: 0px 0px 2px #fff;*/
}

#menu-rokodelstvo {
  padding: 1rem 0;
  background: transparent;
}

#menu-rokodelstvo li:hover {

}

#menu-rokodelstvo li:hover a {
  color: rgba(255, 255, 255, 0.7);
  color: #666;
}

#menu-rokodelstvo li a {
  color: #222;
}
/*
#menu-rokodelstvo .top_selected a {
 font-weight: 600;
 border-bottom: 3px solid #222;
}
*/

#menu-rokodelstvo ul li a {
  border-bottom: 3px solid transparent;
  color: #222;
}
/*

#menu-rokodelstvo ul li a {
  color: #217ded;
}


#menu-rokodelstvo ul li:nth-of-type(1) a {
  color: #d90f57;
}
#menu-rokodelstvo ul li:nth-of-type(2) a {
  color: #f58c24;
}

#menu-rokodelstvo ul li:nth-of-type(3) a {
  color: #4ff221;
}

#menu-rokodelstvo ul li:nth-of-type(4) a {
  color: #217ded;
}

#menu-rokodelstvo ul li:nth-of-type(1) a:hover {
  border-bottom: 3px solid #d90f57;
}

#menu-rokodelstvo ul li:nth-of-type(2) a:hover {
  border-bottom: 3px solid #f58c24;
}

#menu-rokodelstvo ul li:nth-of-type(3) a:hover {
  border-bottom: 3px solid #4ff221;
}

#menu-rokodelstvo ul li:nth-of-type(1) a li {
  border-bottom: none;
}
#menu-rokodelstvo ul li:nth-of-type(2) a li {
  border-bottom: none;
}
#menu-rokodelstvo ul li:nth-of-type(3) a li {
  border-bottom: none;
}
*/

.duo-text {
  position: absolute;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9em;
  font-weight: 500;
  padding: 1rem;
  margin-left: 65vw;
  margin-top: 6%;
  width: 400px;
  height: 300px;
  background-color: rgba(0,0,0,0.2);
  border: 1px solid #eee;
  overflow-y: auto;
  text-shadow: 1px 1px #000;
}

.duo-text .naziv {
  font-size: 1.1em;
  padding-bottom: 0.5em;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}

.duo-text div {
  text-align: justify;
}

/* MENU */
.dropdown .is-dropdown-submenu a {
  padding: 8px 0;
  white-space: nowrap;
}


.is-dropdown-submenu .is-dropdown-submenu-parent.opens-left > a::after {
  border-color: transparent #222 transparent transparent;
}

#menu-rokodelstvo ul li ul {
  display: none;
  z-index:1000;
  font-size: 0.9em;
  border: none;
  box-shadow: 2px 2px 4px #888;
  background: url(/datoteke/duo/logotipi/bodybg.gif);
}

#menu-rokodelstvo ul li ul li {
  display: block;
  padding: 0;
  text-align: left;
  padding: 0 1rem;
}

#menu-rokodelstvo ul li ul li a {

}

#menu-rokodelstvo ul li ul li a:hover {
  /*background-color: #fff;*/
  color: #222;
  text-shadow: 0.5px 0.5px 0 #fff;
}


#menu-rokodelstvo ul li ul li:hover  {
  background-color: rgba(245, 140, 36, 0.1) !important;
  box-shadow: none;

}
#menu-rokodelstvo ul li:hover ul {
  display: block;
  margin-left: -1px;
}

#menu-rokodelstvo ul li:hover ul li {
}

#menu-rokodelstvo ul li:hover ul li ul {
  display: none;
}

#menu-rokodelstvo ul li:hover ul li:hover ul {
  display: block;
}


/* ne pokaži trikotnika za podmenu */
#menu-rokodelstvo .dropdown.menu > li.is-dropdown-submenu-parent > a::after,
#menu-rokodelstvo .is-dropdown-submenu .is-dropdown-submenu-parent.opens-right > a::after {
  display: none;
}

#menu-rokodelstvo .dropdown.menu > li.is-dropdown-submenu-parent > a {
  padding-right: 1rem;
}

/* mobilni menu */

.menu-icon {
  margin-left: 1rem;
}

.menu-icon::after {
  background: #d90f57;
  box-shadow: 0 11px 0 #f58c24, 0 22px 0 #217ded;
  height: 7px;
  border-radius: 2px;
  width: 2.2rem;
}

.xmenu-icon::after {
  background: #222;
  box-shadow: 0 11px 0 #888, 0 22px 0 #222;
  height: 7px;
  border-radius: 2px;
  width: 2.2rem;
}

.off-canvas {
  background: url(/datoteke/duo/logotipi/bodybg.gif);
}

.position-left.is-transition-push {
  box-shadow: inset 1px 1px 70px rgba(245, 140, 36, 0.3);
}

#side-menu a:link, #side-menu a:active, #side-menu a:visited {
  color: #0a0a0a;
  text-transform: uppercase;
  font-weight: normal;
}

#side-menu ul li ul {
  font-size: 0.9em;
}

.menu .is-active > a {
  /*background-color: rgba(245, 140, 36, 0.2);*/
  background: transparent;
}

.submenu-toggle::after {
  border-color: #0a0a0a transparent transparent;
}

.dropdown.menu > li > a {
  padding: 1rem 0 4px 0;
}


#site-top-bg {
  background-color: rgba(255, 255, 255, 0.6);
  padding-bottom: 1rem;
}

#site-slika img {
  width: inherit;
}

  /******* DEJAVNOSTI *********/
.predstavitev img, .predstavitev img {
  max-width: 50%;
  float: left;
  padding: 0 1rem 1em 0;
}

.predstavitev h1, .predstavitev h1 {
  margin-top: 0;
}

.seznam ul {
  margin: 0;
  list-style: none;
  background-color: rgba(255, 255, 255, 0.1);
}

.seznam li div {
  padding: 0 8px;
}

.seznam a:link, .seznam a:visited {
  color: #222;
}

.seznam a:hover {
  color: #666;
}

.seznam li {
  position: relative;
  line-height: normal;
  padding: 12px 0;
  border-bottom: 2px dotted #d90f57;
}

.seznam.izdelki,
.seznam.dejavnosti,
.seznam.izdelovalci {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0 8px 8px;
}

.seznam.izdelki .naslov {
  font-size: 1.1em;
  font-weight: bold;
  color: #f58c24;
  text-align: center;
  padding: 8px 0 4px;
}

.seznam.dejavnosti .naslov,
.seznam.izdelovalci .naslov{
  font-size: 1.1em;
  font-weight: bold;
  color: #d90f57;
  text-align: center;
  padding: 8px 0 4px;
}

.seznam.izdelki li {
  border-bottom: 2px dotted #f58c24;
}

.seznam .dejavnosti {
  font-size: 0.9em;
  padding-left: 8px !important;
}


/****** izdelovalci ********/

#izdelovalci {
/*  background-color: rgba(255, 255, 255, 0.5); */
/*  padding: 8px 1rem; */
}

#izdelovalci ul {
  margin-left: 0;
}
#izdelovalci li {
  list-style: none;
  border-bottom: 2px dotted #f58c24;
  font-weight: normal;
}

#izdelovalci li div {
  padding: 0;
}

/* DEJAVNOSTI galerija */

.dejavnosti .ena {
  background-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
}
.dejavnosti .ena .h2 {
 xborder: 8px solid #222;
  display: flex;
  justify-content: left;
  align-items: center;
  background-color: #222;
  color: #fff;
  font-weight: 600;
  line-height: initial;
}
.dejavnosti .ena .h2 div {
  font-size: 1.4rem;
  padding: 8px 12px;

  width: 48px;
  text-align: center;
}
.dejavnosti .ena h2 {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0;
  padding: 8px;
  border-left: 3px solid #fff;
}

.galerija-dejavnosti {
  padding: 12px;
}
.galerija-dejavnosti img {
  max-height: 100px;
  margin: 4px 0;
  box-shadow: 1px 1px 5px #fff;
  border: 1px solid #fff;
}
.galerija-dejavnosti img:hover {
  box-shadow: 2px 2px 5px #888;
}
.dejavnosti .ena .shema {
  background-color: #fff;
  padding: 8px 1rem;
  font-weight: 400;
}
.dejavnosti .ena .shema img {
  height: 32px;
  padding-left: 8px;
}

#baguetteBox-overlay .full-image figcaption {
  font-size: 32px;
  color: #fff;
}
/********   FOOTER   **********/

footer {
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

footer a:link, footer a:visited {
  color: #222;
  font-weight: 500;
  font-size: 1.3em;
}

footer img {
  height: 250px;
  vertical-align: bottom;
  padding-right: 1rem;
}

.prva footer {
  /* position: fixed; */
  bottom: 0;
  width: 100%;
}

#duo .logo img {
  max-height: 120px;
  max-width: 300px;
  margin: 1rem;
}

/* NOVICE */

.novice h1 {
  margin: 0 0 3rem 0;
  /*color: #d90f57;*/
  letter-spacing: 0;
}

.novice hr {
  margin: 0 0 4px 0;
  border-bottom: 1px solid #dcd0ba;
}

.novicka {padding-bottom: 2rem;}

.novicka .column:first-of-type {
  padding-right: 0;
}

.novicka .povzetek {
  font-weight: 400;
  color: #333;
  font-size: 0.95em;
  text-align: justify;
}

.novicka .nadnaslov {
  font-size: 0.9em;
  position: absolute;
  background: #f58c24;
  color: #fff;
  padding: 2px 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.novicka h3 {
  margin: -5px 0 2px 0;
  letter-spacing: -0.3px;
  color: #000;

}

.novicka .datum {
  font-size: 0.85em;
  padding-bottom: 8px;
  color: #000;
}

#novica .nadnaslov {
  display: inline;
  background: #f58c24;
  color: #fff;
  padding: 2px 4px;
  font-weight: 600;
}

#novica h1 {
  margin: 1rem 0;
  font-weight: 700;
  font-size: 1.6em;
}

#novica .avtor {
  color: #222;
  padding-bottom: 8px;
}

.vec-novic .column {
  padding: 1rem 0;
}

.vec-novic a {
  color: #222;
}

.slika-z-nadnaslovom {
  position: relative;
}
.slika-z-nadnaslovom div {
  position: absolute;
  top: 0;
  background-color: #f58c24;
  color: #fff;
}

/* PAGINATION */
.pagination {
  margin-bottom: 30px;
}
.pagination a {
  font-weight: normal;
  color: rgba(104, 121, 141, 1);
}

.pagination span {
  display: inline-block;
  font-size: 1em;
  width: 40px;
  height: 40px;
  padding: 6px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(104, 121, 141, 0.2);
  border-radius: 2px;
}

.pagination .current, .pagination span:hover {
  background: rgba(245, 140, 36, 0.5);

}
.pagination span:hover a { color: #fff; }


/*********    MEDIA QUERY    **********/
@media only screen and (max-width: 600px) {
  .wrap {
    width: 99%;
    padding: 1rem 0;
  }

  #offCanvas img {
    padding: 1rem;
  }
  
  .top-bar-social ul, .top-bar-title { 
    display: block;
    float: none;
    text-align: center;
  }

  .novicka h3 {
    margin-top: 1rem;
  }

  .duo-text {
    font-size: 13px;
    font-weight: 500;
    width: 300px;
    height: 220px;
    margin-top: 2rem;
    padding: 8px;
    right: 1.8rem;
  }

  .koledar-dan .datum  {
  background-size: 70px 64px;
  height: 70px;
  width: 64px;
  padding-top: 30px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 0.7em;
  line-height: 1.2em;
  }

  .koledar-dan .desno .naslov  {
    padding: 5px 0px;
  }  
  .okvir.vec { padding: 10px 10px; }
  
  .koledar-iframe { width: 350px; }
  .koledar .okvir { border-bottom: 5px solid rgba(75,105,140,0.2); }

  .menu {
    align-items: initial;
    font-size: 0.9em;
  }

  #responsive-menu {
    padding: 0px 8px;
    font-size: 1.2em;
  }

  #menu-rokodelstvo ul {margin: 0 0 0 8px;}

  #menu-rokodelstvo ul li {display: block; padding: 6px 4px; margin-right: 8px; text-align: left;}

  #menu-rokodelstvo ul li:nth-of-type(4) {
    font-size: 0.9em;
    background-color: #217ded;
    text-align: center;
    white-space: nowrap;
  }

  .menu .is-active > a {
    margin-bottom: 1px;
  }

  .row.novicka {
    padding-right: 8px;
  }


  #site-top-bg {
    background-color: rgba(255, 255, 255, 0);
    padding-bottom: 0;
  }

  footer span {
    padding-top: 1rem;
    font-size: 0.6em;
    display: block;
  }


}

