/*
Theme Name: Studio Potok
Theme URI: https://potok.si
Author: Janez Polc
Author URI: https://janezpolc.si
Description: Wordpress tema za spletno stran Studia Potok.
Version: 1.0
Text Domain: potok
*/

body,
html {
 margin: 0;
 padding: 0;
 font-family: "CentSchbookBTWGL4-Roman", Georgia, Georgia, serif;
 background-color: var(--l_c);
 color: var(--d_c);
 font-weight: normal;
 font-weight: 400;
 font-size: 16px;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

* {
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

:root {
 --2e: 240px;
 --e: 120px;
 --ee: 60px;
 --eee: 30px;
 --eeee: 15px;
}

@media screen and (max-width: 1400px) {
 :root {
  --2e: 120px;
  --e: 60px;
  --ee: 30px;
  --eee: 15px;
  --eeee: 5px;
 }
}

@media screen and (max-width: 700px) {
 :root {
  --8e: 240px;
  --4e: 120px;
  --2e: 60px;
  --e: 30px;
  --ee: 15px;
  --eee: 15px;
  --eeee: 5px;
 }
}

body.projekt {
}

body.homepage {
 background-color: var(--l_c);
 color: var(--d_c);
}

body.info,
body.info {
 background-color: var(--d_c);
 color: var(--l_c);
}

body.kontakt .vsebina,
body.contact .vsebina {
}

a {
 color: var(--d_c);
 text-decoration: none;
}

a:hover {
 color: var(--p_c);
 text-decoration: none;
}

* {
 position: relative;
 box-sizing: border-box;
 background-size: cover;
 background-position: 50% 50%;
 background-repeat: no-repeat;
}

img {
 max-width: 100%;
 height: auto;
}

.jp-skrito {
 display: none;
}

.ivo {
 display: block;
 clear: both;
}

::-moz-selection {
 color: var(--l_c);
 background: var(--d_c);
}

::selection {
 color: var(--l_c);
 background: var(--d_c);
}

.info ::-moz-selection {
 background: var(--l_c);
 color: var(--d_c);
}

.info ::selection {
 background: var(--l_c);
 color: var(--d_c);
}

.futura {
 /*font-family: "FuturaBT-Book", Arial, Arial, Helvetica, sans-serif;*/
}

.okvir,
.glava,
.noga {
}

#projekti_loading.prikazan {
 height: 120px;
 transition: height 0.14s linear;
}

#projekti_loading {
 height: 0px;
 transition: height 0.14s linear;
 width: 100%;
 padding: 0px 0px;
 position: relative;
 overflow: hidden;
}

#projekti_loading .loader {
 position: absolute;
 top: 40px;
 left: 50%;
 margin-left: -40px;
 width: 80px;
 height: 40px;
 background-size: contain;
 background-position: 50% 50%;
 background-repeat: no-repeat;
 animation: loader;
 animation-duration: 1.4s;
 animation-iteration-count: infinite;
 transform-style: preserve-3d;
 animation-timing-function: cubic-bezier(0.75, 0.25, 0.17, 0.77);
}

.video_div {
 display: block;
 clear: both;
 position: relative;
 margin-bottom: 20px;
}

.video_div .iframe iframe {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

.video_div .iframe {
 position: absolute;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
}

.video_div iframe {
 position: absolute;
 width: 100%;
 height: 100%;
}

.glava {
 position: fixed;
 background: var(--l_c);
 z-index: 10;
 width: 100%;
 height: 100px;
 padding-left: var(--e);
 padding-right: var(--e);
}

body.info .glava {
 background: var(--d_c);
}

.emblem-front {
 margin-top: 37.5px;
 height: 25px;
 width: auto;
 max-width: 75%;
 z-index: 5000;
}

.site-title {
 margin-top: 37.5px;
 height: 25px;
 font-size: 36px;
 line-height: 25px;
 width: auto;
 max-width: 65%;
 z-index: 5000;
 margin-bottom: 0px;
 font-weight: 400 !important;
}

.info .site-title a {
 color: var(--l_c);
}

.info .site-title a:hover {
 color: var(--p_c);
}

body.homepage .emblem-front svg {
}

.emblem-front svg {
 height: 100%;
 width: auto;
}

#menu_button {
 display: none;
}

#site-navigation {
 position: absolute;
 bottom: 0;
 right: 120px;
 left: 120px;
 box-sizing: border-box;
 text-align: right;
}

#site-navigation {
}

#site-navigation ul {
 margin-bottom: 0;
 font-size: 0;
 line-height: 0;
}

#site-navigation ul li {
 display: inline-block;
 font-size: 0;
 line-height: 0;
 text-align: left;
 width: 16.66666%;
}

#site-navigation ul li a {
 text-transform: none;
 font-size: 16px;
 display: block;
 height: 100px;
 width: 100%;
 line-height: 100px;
 box-sizing: border-box;
}

body.info #site-navigation ul li a {
 color: var(--l_c);
}

#site-navigation ul li a:hover,
body.info #site-navigation ul li a:hover {
 color: var(--p_c);
}

.okvir {
 padding: var(--2e) var(--e) 0 var(--e);
}

.seznam-projektov {
 font-size: 0;
 line-height: 0;
}

.en_projekt {
 display: inline-block;
 width: 50%;
 margin-bottom: var(--2e);
 padding: 0px var(--ee);
 vertical-align: middle;
 position: relative;
}

.en_projekt.ta-je-hud {
 width: 100%;
 padding: 0px 0;
}

.en_projekt a {
}

.en_projekt:hover .en_projekt_znotraj:before {
 opacity: 1;
 transition: opacity 0.14s linear;
}

.en_projekt_znotraj {
 display: block;
 width: 100%;
 position: relative;
}

.en_projekt_znotraj:before {
}

.en_projekt_teksti {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
 flex-direction: column;
 z-index: 6;
 text-align: center;
 opacity: 0;
 font-size: 16px;
 line-height: 1.25em;
 color: var(--d_c);
}

.en_projekt_teksti_not {
 box-sizing: border-box;
 margin: 0px auto;
 width: 50%;
 padding: 0px;
 line-height: 1.25em;
}

.ta-je-hud .en_projekt_teksti_not{
	 width: 25%;
	 width:calc(25% - var(--e));
}

.en_projekt_teksti h2 {
 margin-bottom: var(--eee);
 margin-top: 0;
 font-size: 18px;
 font-weight: normal;
}

.en_projekt_opis {
 margin-bottom: var(--eee);
 font-size: 16px;
 font-family: "CentSchbookBTWGL4-Italic";
 font-weight: 400;
 font-style: normal;
 line-height: 1.25em;
}

.en_projekt_leto {
 display: block;
 clear: both;
}

.en_projekt_slika {
 display: block;
 width: 100%;
 height: 2000px;
 position: relative;
 max-height: calc(100vh - 160px);
 overflow: hidden;
}

.en_projekt_slika img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: 50% 50%;
}

.en_projekt_znotraj:hover .en_projekt_slika {
 opacity: 0;
}

.en_projekt_znotraj:hover .en_projekt_teksti {
 opacity: 1;
}

.en_projekt.ima-povezavo .en_projekt_znotraj:hover {
 cursor: url("svg/link-cursor.svg"), auto;
}

.arhiv-edit-link {
 position: absolute;
 bottom: -40px;
 left: 50%;
 margin-left: -50px;
 width: 100px;
 font-size: 14px;
 text-align: center;
 padding: 20px 0;
 opacity: 0.2;
}

.arhiv-edit-link:hover {
 opacity: 1;
}

.vsebina {
 text-align: center;
 padding: var(--e) var(--e) 0 var(--e);
}

.sredinsko {
 position: fixed;
 text-align: center;
 width: 100%;
 left: 0;
 top: 50%;
}

.vsebina h1,
.archive-title {
 font-size: 18px;
 margin-bottom: 20px;
 text-transform: uppercase;
}

.vsebina p {
 line-height: 1.25em;
 margin-top: 0px;
 margin-bottom: 60px;
 font-size: 60px;
 font-weight: 400;
}

.vsebina p:last-child {
 margin-bottom: 0px;
}

.vsebina a:hover {
 text-decoration: none;
}

#vsebina-info {
 text-rendering: auto;
 text-rendering: optimizeSpeed;
 text-rendering: optimizeLegibility;
 text-rendering: geometricPrecision;
 font-feature-settings: "kern" 1, "liga" 1, "swsh" 1;
 font-variant-ligatures: common-ligatures;
 -moz-font-variant-ligatures: common-ligatures;
 -webkit-font-variant-ligatures: common-ligatures;
}

.podtekst {
 margin-top: 360px;
 font-size: 16px;
 font-family: "CentSchbookBTWGL4-Italic";
 font-weight: 400;
 padding-bottom: 200px;
}

.podtekst p {
 font-size: 16px;
 font-family: "CentSchbookBTWGL4-Italic";
 font-weight: 400;
 font-style: normal;
}

.poravnajspodaj {
 position: fixed;
 text-align: center;
 width: 100%;
 left: 0;
 bottom: 200px;
 margin: 0;
 padding: 0;
}

.noga {
 margin-top: 110px;
}

.jp_social_link {
 display: block;
}

.jp_social_link .jp-social-icon {
 display: none;
}

@media (max-width: 1000px) {
 .seznam-projektov {
  grid-template-columns: 1fr 1fr;
 }

 .menu-glavni-menu-container {
  width: 100%;
 }

 #site-navigation {
  position: fixed;
  bottom: 0;
  right: 0%;
  left: auto;
  top: auto;
  width: 100%;
  z-index: 100;
  height: 100%;
  background: var(--l_c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
 }

 .info #site-navigation {
  background: var(--d_c);
 }

 #site-navigation.menu_skrit {
  right: 100%;
  opacity: 0;
 }

 #site-navigation ul {
  padding-left: 0;
  margin-bottom: 0;
  width: 100%;
  padding-top: 50px;
 }

 #site-navigation ul li {
  display: block;
  margin-left: 0;
  text-align: center;
  width: 100%;
 }

 #site-navigation ul li a {
  padding-left: 0;
  margin-left: 0;
  padding-right: 0;
  padding: var(--ee) 0;
  font-size: 18px;
  height: auto;
  line-height: 1.25em;
 }

 #site-navigation ul li a:hover {
  color: var(--p_c);
 }

 #menu_button {
  padding: 30px;
  box-sizing: content-box;
  cursor: pointer;
  transition: background-color 0.14s linear;
  display: block;
  position: fixed;
  top: 9px;
  right: 0;
  z-index: 1000;
 }

 .menu-icon {
	  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
  font-weight: 400 !important;
  width: 30px;
  height: 20px;
  line-height: 20px;
  font-size: 30px;
  box-sizing: content-box;
  position: relative;
  text-align: center;
 }


	

 #menu_button .menu-odpri {
  display: block;
 }

 #menu_button .menu-zapri {
  display: none;
 }

 #menu_button.menu_close .menu-odpri {
  display: none;
 }

 #menu_button.menu_close .menu-zapri {
  display: block;
 }

 .info #menu_button .menu-icon {
  color: var(--p_c);
 }
}

@media (max-width: 700px) {
 .okvir {
  padding: var(--e) var(--ee) 0 var(--ee);
 }

 .seznam-projektov {
  padding-top: var(--8e);
 }

 .emblem-front {
  margin-top: 40px;
  height: 20px;
  width: auto;
 }

 .site-title {
  font-size: 30px;
  line-height: 20px;
  margin-top: 40px;
 }

 .vsebina {
  text-align: center;
  padding: var(--8e) 0 0 0;
  font-size: 40px;
 }

 .vsebina p {
  font-size: 30px;
 }

 .podtekst p {
  font-size: 16px;
 }

 .en_projekt {
  display: block;
  width: 100%;
  margin-bottom: var(--4e);
  padding: 0px 0px;
  position: relative;
 }

.en_projekt_slika {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	max-height: 2000px;
	overflow: hidden;
}

.en_projekt_slika img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: 50% 50%;
}

.en_projekt_teksti {
	position: relative;
	top: auto;
	left: auto;
	width: 100%;
	height: auto;
	display: block;
	justify-content: none;
	align-items: center;
	flex-direction: column;
	opacity: 1;
	z-index: 6;
	margin-top: 30px;
	font-size: 14px;
}

 .en_projekt_teksti_not {
  box-sizing: border-box;
  margin: 0px auto;
  width: 80%;
  padding: 0px;
  line-height: 1.25em;
 }
 
 .ta-je-hud .en_projekt_teksti_not{
	 width: 80%;
}
 
 .en_projekt_teksti h2 {
	
	font-size: 16px;
}

.en_projekt_opis {
	
	font-size: 14px;
}

 .en_projekt_znotraj:hover .en_projekt_slika {
  opacity: 1;
 }

 .en_projekt_znotraj:hover .en_projekt_teksti {
  opacity: 1;
 }
}
