/*
Theme Name: Twenty Twenty Studio Panoramis
Theme URI: https://wordpress.org/themes/twentytwenty/
Template: twentytwenty
Author: Matija Suznjevic
Author URI: https://www.constellation.hr/
Description: Our default theme for 2020 is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic landing pages with endless layouts using the group and column blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. Complete editor styles give you a good idea of what your content will look like, even before you publish. You can give your site a personal touch by changing the background colors and the accent color in the Customizer. The colors of all elements on your site are automatically calculated based on the colors you pick, ensuring a high, accessible color contrast for your visitors.
Tags: blog,one-column,custom-background,custom-colors,custom-logo,custom-menu,editor-style,featured-images,footer-widgets,full-width-template,rtl-language-support,sticky-post,theme-options,threaded-comments,translation-ready,block-patterns,block-styles,wide-blocks,accessibility-ready
Version: 1.0
Updated: 2021-12-29 16:57:04

*/

body, .entry-title a, :root .has-primary-color {
    color: transparent;
}
ul.primary-menu {
    font-size: 1.6rem;
	margin:0;
	padding-bottom:.9rem;
	justify-content:flex-start;
	justify-content: space-between;
	/* border-bottom: #fff 1px solid;        <<<crta ispod menija*/
	margin-left: 0px;
}

#menu-item-36 {
 margin-left: 0px;
}

.site-title a:hover,
.site-title a:focus {
	text-decoration: none;
}
a:hover,
a:focus {
	/*! text-decoration: none;    <<<<<<<hover preko naslova - siva*/   
	color: #a89f94 !important;
}


.primary-menu a:hover, .primary-menu a:focus, .primary-menu .current_page_ancestor {
    text-decoration: none;
}
.primary-menu a:hover, .primary-menu a:focus, .primary-menu li.current-menu-item > a, .primary-menu li.current-menu-item > .link-icon-wrapper > a{
    text-decoration: none;
	color:#a89f94 !important;
}
#site-content {
    padding-top:200px;
}
.header-inner {
    padding: 2.5rem 4rem;
	margin: 0 !important;
    align-items: flex-start;
}
.section-inner {
    box-sizing:border-box;
}
.primary-menu > li > a {
    color:#fff !important;
}
.primary-menu a {
	text-transform:uppercase;
	line-height: 2.5rem;
	font-weight:bold;
	letter-spacing:0.03rem;
}
ul.primary-menu {
    font-size: 1.6rem;
	margin:0;
	padding-bottom:.8rem;
	justify-content:flex-start;
	/* border-bottom: #fff 1px solid;     <<<crta ispod menija*/ 
}
ul.primary-menu {
	display: flex;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: -0.0277em;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin: -0.7rem 0 0 -1.5rem; 
}
.singular .entry-header {
    background-color: transparent;
    padding: 0;
	text-align:left;
	display: none;   /*ovdje bi se trebao prikazivati naslov stranice*/
}

#site-header {
    background: transparent;
    position: fixed;
	z-index:99990;
}
.entry-content p, .entry-content ol, .entry-content ul, .entry-content dl, .entry-content dt {
    font-family: Helvetica, Sans-Serif;
	font-size:18px;
    letter-spacing: normal;
	color:white;
	margin-bottom: 0.2rem;
}
.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
	max-width: 80rem;
	width: calc(100% - 8rem);
}
#menu-item-81 {
 border-right-width: 0px;
 margin-right: 30px;
}

.site-description {
	margin-top: 1rem;
	color: #6d6d6d;
	font-size: 1.75rem;
	font-weight: 500;
	display: none;
	letter-spacing: -0.0311em;
	transition: all 0.15s linear;
}

/* >>>>>>>>>>>>>>>>>>>>>>>>align sadržaja<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
@media screen and (max-width:1000px){
	#site-content {
    padding-top: 150px;
}
	.entry-content > * {
    margin-left: 4rem;
    margin-right: 4rem;
}
	.entry-content p:first-child::before {
    width: calc(100vw - 4rem);
}
	.projekti .wp-block-group{
	margin-left:4rem !important;
	}
	.sp-slides-container {
    /*margin-top:15rem;*/
}
.section-inner {
    margin: 0;
	width:100%;
}
img.custom-logo{
	height:10rem;
}
.menu-modal.show-modal {
    position: fixed;
    z-index: 99994;
}
.modal-menu > li > .ancestor-wrapper > a, .sub-menu a {
    font-size: 3.2rem;
    font-weight: 500;
    text-transform: uppercase;
}
.modal-menu a {
    padding: 2.5rem 4rem .7rem !important;
 }
.sub-menu{
	padding-left:5rem !important;
}
#social-networks{
	position:relative;
	margin-top: 17rem;
}
.home #social-networks{
	position:absolute;
}
.entry-content::after {
    margin-bottom: 0;
}
.wp-block-gallery:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter){
	margin-bottom:0;
}
#back-to-top, .logged-in #back-to-top{
	top:auto;
	bottom:22px;
	right:40px;
}
}
@media screen AND (min-width:700px){

	.wp-block-gallery.columns-4 .blocks-gallery-item {
    width: calc((100% - 8px)/2);
    margin-right: 8px;
    height: calc((100vw - 8px)/2);
    margin-bottom: 8px;
	}
	.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 0;
}
}
@media screen AND (min-width:1000px){
	.projekti .wp-block-group{
	margin-top:19.3rem !important;
	}
	.entry-content > * {
		margin-left: 4rem;
		margin-right: auto;
		margin-bottom: 0;
		max-width: 75rem;
	}
	.entry-content p{
    max-width: 75rem !important;;
	}
.entry-content p:first-child::before {
    width: calc(100vw - 25rem);
}
	#mainmnu {
    left: 25rem;
    top: 2.5rem;
    width: calc(100vw - 250px);
	}
	.wp-block-gallery.columns-4 .blocks-gallery-item {
    width: calc((100% - 17px)/3);
    margin-right: 8px;
    height: calc((100vw - 17px)/3);
    margin-bottom: 8px;
	}
	.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 8px;
	}
	.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n) {
    margin-right: 8px;
	}
	.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(3n) {
    margin-right: 0;
	}
	#omot-mobile{
		display:none;
	}
	#omot{
		display:flex;
	}
}
@media screen AND (max-width:999px){
	#omot{
		display:none;
	}
	#omot-mobile{
		display:flex;
	}
}
@media screen AND (min-width:1330px){
	.site-description{
		display:block;
	}
	.wp-block-gallery.columns-4 .blocks-gallery-item {

    width: calc((100vw - 24px)/4);
    margin-right: 8px;
    height: calc((100vw - 24px)/4);
    margin-bottom: 8px;
	}
		.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(2n) {
    margin-right: 8px;

}
	.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(3n) {
    margin-right: 8px;

}
	.wp-block-gallery.columns-4 .blocks-gallery-item:nth-of-type(4n) {
    margin-right: 0;
}
}
@media screen AND (min-width:1650px){
	.entry-content > * {
		margin-left: 4rem;
		margin-right: auto;
		margin-bottom: 0;
		max-width: 100rem;
	}
	.entry-content p {
    max-width: 100rem !important;
}
.entry-content p:first-child::before {
    width: calc(100vw - 25rem);
}
	#mainmnu {
    left: 35rem;
    top: 2.5rem;
    width: calc(100vw - 350px);
	}
}


/* Element | https://www.studio-panoramis.hr/ */

.primary-menu {
  margin-left: -160px;
}

/*   probni dio */
/*--------------------------------------------------------------------------------------------------------*/
/*                                             Galerija                                                   */
/*--------------------------------------------------------------------------------------------------------*/
.columns-4{
	margin-top:1rem !important;
}

.wp-block-gallery:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.aligncenter){
	width:100vw;
	max-width: none;
	margin-left: 0;
	margin-right:0;
	margin-top:0;
}
.wp-block-gallery.columns-4 .blocks-gallery-item {
    width: calc((100% - 24px)/4);
    margin-right: 8px;
    height: calc((100vw - 24px)/4);
	margin-bottom:8px;
}
.blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    top: 0;
    width: 100%;
    max-height: 100%;
    overflow: auto;
    padding:0;
    color: #fff;
	background: none transparent;
	font-size: 1.6rem;
	font-weight:normal;
	text-align:left;

}
figcaption{
	margin-top:0;
}
.projekti .blocks-gallery-grid .blocks-gallery-item, .projekti .wp-block-gallery .blocks-gallery-image, .projekti .wp-block-gallery .blocks-gallery-item{
	margin:0 0 .8rem 0;
}
figcaption.blocks-gallery-item__caption a{
	display:block;
	width: calc((100% - 24px)/4);
	height: calc((100vw - 24px)/4);
	opacity:0;
	padding: 20px 10px 0 40px;
	background-color:rgba(0,0,0,.7);
	color:#fff !important;
}
figcaption.blocks-gallery-item__caption a:hover{
	opacity:1;
}
.projekti{
	padding-top:0 !important;
}
.projekti .wp-block-group{
	position:relative;
	margin-top:15rem !important;
	font-size: 1.6rem;
	line-height:2.2rem;
}
.wp-block-group p{
	margin-left:0 !important;
}
.wp-block-gallery.columns-4 .blocks-gallery-item {
    width: 100%;
	margin-right: 0;
    height: 100vw;
    margin-bottom: 8px;
}
.blocks-gallery-grid, .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
	justify-content: flex-start;
}
.nav-toggle {
    width: auto;
}
.header-inner .toggle {
    display: block;
    overflow: visible;
	
}
button.toggle {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: inherit;
    padding: 0;
    text-transform: none;
	position:relative;
}
button.sub-menu-toggle {
    position: absolute;
    width: 100%;
	height:6.4rem;
    margin: 0;
    padding: 2.5rem 4rem .7rem;
}
.modal-menu .ancestor-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0 16px 16px 0;
        margin-right: 16px;
        margin-bottom: 16px;
    display: flex;
    flex-grow: 0;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/*   testni dio */

