
/* ############### M_setcokie ############### */ 

	.cookiez {
        font-weight: bold;
        color: #fff;
        padding-left: 4px;
		font-family: 'Source Sans Pro', sans-serif;}

		
/* ############### M_navbar25 ############### */ 

.superikona {position: absolute;}


	.navbar {
	  overflow: hidden;
	  background: rgb(0,0,0);
font-family: 'Roboto Slab';z-index: 10000;background: url('/media/images/MENU_rallyT.webp'); 
border-radius: 0px 0px 6px 6px;box-sizing: border-box;padding-bottom: 3px;padding-left: 5px;padding-right: 5px;
	}
	.navbar a {
	  float: left;
	  display: block;
	  color: white;
	  text-align: center;
	  padding: 4px 4px;
	  text-decoration: none;
	  font-size: 14px;margin-right: 15px; min-width: 40px; 
	}
	.active {
	  background-color: #be00be;
	  color: white;
	}
	.navbar .icon {
	  display: none;
	}
	.dropdown {
	  float: left;
	  overflow: hidden;
	}
	.dropdown .btn {
	  font-size: 14px;    
	  border: none;
	  outline: none;
	  color: #fff;
	  padding: 4px 4px;
	  background-color: inherit;
	  font-family: inherit;
	  margin: 0;margin-right: 15px
;
	}
	.dropdown-menu {
	  display: none;
	  position: absolute;
	  background-color: rgba(11, 125, 4,.9);
	  min-width: 160px;
	  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	  z-index: 10000;
	}
	.dropdown-menu a {
	  float: none;
	  color: white;
	  padding: 4px 4px;
	  text-decoration: none;
	  display: white;
	  text-align: left;
	}
	.navbar a:hover, .dropdown:hover .btn {
	  background-color: rgba(11, 125, 4,.4);border: 0px solid rgba(11, 125, 4,.7);box-sizing: border-box;
	  color: white; border-radius: 6px;
	}

	.dropdown-menu a:hover {
	  background-color: #0b9d04;
	  color: white;
	}
	.dropdown:hover .dropdown-menu {
	  display: block;
	}
	@media screen and (max-width: 600px) {
	  .navbar a:not(:first-child), .dropdown .btn {
		display: none;
	  }
	  .navbar a.icon {
		float: right;
		display: block;
	  }
	}
	@media screen and (max-width: 600px) {
	  .navbar.responsive {position: relative;}
	  .navbar.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	  }
	  .navbar.responsive a {
		float: none;
		display: block;
		text-align: left;
	  }
	  .navbar.responsive .dropdown {float: none;}
	  .navbar.responsive .dropdown-menu {position: relative;}
	  .navbar.responsive .dropdown .btn {
		display: block;
		width: 100%;
		text-align: left;
	  }
	}


.searchmass
{
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 2px 2px;
	padding-top: 4px;
    text-decoration: none;
    font-size: 14px;line-height: 20px;
    margin-right: 0px;margin-top: 2px;
    min-width: 20px;
	position: relative;     
}


.input {
  max-width: 130px;
  background-color: #0b9d04;
  color: #fff;
  padding: 1px;padding-left: 3px;
  min-height: 18px;
  border-radius: 2px;
  outline: none;
  border: none;
  line-height: 16px;
  box-shadow: 0px 10px 20px -18px;font-family: roboto slab;
}

/* ############### M_editorial ############### */ 

	.editorial {
		display: block; float: left; position: relative;text-align: justify; 
	}

    .edropdown {
      position: relative;
      display: inline-block;
	  font-family: 'Roboto Slab', serif;
	font-size: 14px;
    }

    .edropdown-button {
      color: #fff;width: 90px;
	  font-family: 'Roboto Slab', serif;
	font-size: 14px;font-weight: normal;padding: 2px 2px; line-height:16px;
      border: 1px solid #000;      background: linear-gradient(180deg, rgba(170, 25, 25, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(165, 25, 25, 1) 100%);
      cursor: pointer;border-radius: 4px;padding-right: 6px;
      transition: background-color 0.6s ease;
    }

    .edropdown-button:hover {
       background: linear-gradient(180deg, rgba(180, 35, 35, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(180, 35, 35, 1) 100%);
    }

    .edropdown-content {
      position: absolute;
      background-color: rgba(255,255,255,0.82);
      min-width: 150px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
      overflow: hidden;
      max-height: 0;border-radius: 3px; line-height:18px;
      opacity: 0;
      transition: max-height 0.6s ease, opacity 0.6s ease;
      z-index: 1;
    }

    .edropdown-content a {
      color: #333;
      padding: 3px 3px;padding-left:8px;
      text-decoration: none;border-bottom: 1px solid rgba(255,255,255,0.0);
      display: block;
    }

    .edropdown-content a:hover {
     background-color: rgba(0,0,0,0.1);border-bottom: 1px solid #0b7d04;
    }

    .edropdown-content hr {
      border-top: 1px solid #444; width: 50%;
    }

    .edropdown:hover .edropdown-content {
      max-height: 500px; /* dovolj visoko za vse opcije */
      opacity: 1;
    }


/* ############### M_topbar ############### */ 

  #topbarbuttons .fa-stack { font-size: 14px; }
  #topbarbuttons  i { vertical-align: middle; }

/* Set a style for all buttons */
.mod_button {
  background-color: ##0b7d04;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.mod_button:hover {
  opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
  width: auto;
  padding: 10px 16px;
  background-color: #0b7d04;
}

/* Extra styles for the cancel button */
.confirmbtn {
  width: auto;
  padding: 10px 16px;
  background-color: #33aa00;
}


/* Center the image and position the close button */
.mod_imgcontainer {
  text-align: center;
  margin: 24px 0 12px 0;
  position: relative;
}

img.mod_avatar {
  width: 40%;
  border-radius: 50%;
}

.mod_container {
  padding: 12px;font-family: 'Roboto Slab', serif;font-size: 16px; 
}

.mod_container input[type=text], input[type=password] {
  width: 100%;
  padding: 4px 4px;font-family: 'Roboto Slab', serif;
  margin: 4px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

span.psw {
  float: right;
  padding-top: 16px;border: 1px solid red; 
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 380px; /* Could be more or less, depending on screen size */
  border-radius: 4px; z-index:500;
}

/* The Close Button (x) */
.close {
  position: absolute;
  right: 25px;
  top: 0;
  color: #000;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: red;
  cursor: pointer;
}

/* Add Zoom Animation */
.animate {
  -webkit-animation: animatezoom 1.0s;
  animation: animatezoom 1.0s
}

@-webkit-keyframes animatezoom {
  from {-webkit-transform: scale(0)} 
  to {-webkit-transform: scale(1)}
}
  
@keyframes animatezoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}


/* ############### M_mostread ############### */ 


.most-read-box {
    margin: 10px 0 0px 0;
    padding: 5px 5px;
    background: #f4f4f4;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    display: block;
    position: relative;
    width: 100%;
    float: left;
    box-sizing: border-box;
}

.most-read-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding-bottom: 4px;

    border-bottom: 1px solid #ccc;
}

.most-read-head h2 {
    margin: 0;
    font-family: 'Roboto Slab', serif;
    color: #0b7d04;

    font-size: 16px;
    line-height: 1;
    font-weight: bold;
}

.most-read-tabs {
    display: flex;
    gap: 4px;
    align-items: center;
}

.most-read-tabs button {

    border: 1px solid #0b6d04;

    background: #fff;
    color: #0b6d04;

    padding: 3px 8px;

    font-size: 11px;
    font-weight: bold;

    line-height: 1.2;

    cursor: pointer;

    border-radius: 3px;

    text-transform: uppercase;

    transition: all 0.15s ease;
}

.most-read-tabs button.active,
.most-read-tabs button:hover {

    background: #0b7d04;
    color: #fff;
}

.most-read-content {
    display: none;
}

.most-read-content.active {
    display: block;
}

.most-read-list {

    margin: 0;
    padding: 0 0 0 18px;

    font-family: 'Source Sans Pro', sans-serif;
}

.most-read-list li {

    margin: 7px 0;

    font-size: 14px;
    line-height: 1.06;

    font-weight: normal;
}

.most-read-list li::marker {

    color: #0b9d04;
    font-weight: bold;
}

.most-read-list a {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;

    color: #111;
    text-decoration: none;
}

.most-read-title {

    display: block;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    flex: 1;
}

.most-read-visits {

    flex-shrink: 0;

    color: #999;

    font-size: 11px;
    line-height: 1;

    font-weight: normal;padding:2px; border: 1px solid #ddd; border-radius: 2px; 
}

.most-read-list a:hover {

    background-color: #ddd;
    text-decoration: none;
}

@media (max-width: 600px) {

    .most-read-head {
        flex-direction: column;
        align-items: flex-start;
    }

}

/* ############### show ############### */ 

.SHOW_smallpicblock {
	overflow: hidden;
}

.SHOW_galpic {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: 50% 50%;
	box-sizing: border-box;
}






/* USER TRAY */


#user-tray {
    font-family: 'Roboto Slab', serif;
    position: absolute;
    top: -2px;
    right: 14px;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-width: 60px;
    height: 36px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Poševno je samo ozadje. */
#user-tray::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    box-sizing: border-box;
    transform: skewX(-10deg);

    background: linear-gradient(
        rgba(35, 10, 10, .75),
        rgba(8, 5, 5, .75)
    );

    border: 1px solid #085004;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .95);
}

#user-tray > * {
    transform: none;
}


#user-tray .tray-divider {
    flex: 0 0 1px;
    height: 22px;
    margin: 0 3px;
    background: linear-gradient(
        to bottom,
        transparent,
        #085004 25%,
        #085004 75%,
        transparent
    );
}

#user-tray .tray-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    text-decoration: none;
}

#user-tray .tray-icon .fa-stack {
    width: 26px;
    height: 26px;
    font-size: 14px;
    line-height: 26px;
}


#user-tray .tray-profile {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
font-family: 'Roboto Slab', serif;
    text-decoration: none;
    white-space: nowrap;
}

#user-tray .tray-profile img {
    display: block;
    width: 28px;
    height: 28px;
    box-sizing: border-box;
    object-fit: cover;
    border: 2px solid #0b7d04;
    border-radius: 50%;
}

#user-tray .tray-profile:hover {
    color: #096004;
}

#user-tray .tray-icon .fa-stack {
    border-radius: 50%;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .25),
        0 2px 3px rgba(0, 0, 0, .35);
}

#user-tray .tray-icon .fa-circle {
    display: none;
}

#user-tray .tray-icon .fa-stack {
    transition: filter .15s ease, box-shadow .15s ease;
}

#user-tray .tray-icon:hover .fa-stack,
#user-tray .tray-icon:focus-visible .fa-stack {
    filter: brightness(1.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .35),
        0 0 7px rgba(255, 40, 30, .5);
}

#user-tray .redbutton .fa-stack {
    background: linear-gradient(to bottom, #0b7d04, #a50000);
}

#user-tray .greenbutton .fa-stack {
    background: linear-gradient(to bottom, #29bc35, #087c10);
}


/* ################################################## */


/* ############   SITE TRAY ################ */


#site-tray {
    font-family: 'Roboto Slab', serif;
    position: absolute;
    top: -2px;
    left: 14px;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    min-width: 60px;
    height: 36px;
    padding: 0 10px;
    box-sizing: border-box;


    --site-color: #0b7d04;
    --site-glow: rgba(11, 125, 4, .5);

}

/* Poševno je samo ozadje. */
#site-tray::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    box-sizing: border-box;
    transform: skewX(-10deg);

    background: linear-gradient(
        rgba(10, 35, 10, .75),
        rgba(8, 5, 5, .75)
    );

    border: 1px solid #096004;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .95);
}

#site-tray > * {
    transform: none;
}


#site-tray > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-tray .site-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    box-sizing: border-box;

    background: linear-gradient(to bottom, #353535, #101010);
    border: 1px solid #505050;
    border-radius: 6px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .18),
        0 2px 3px rgba(0, 0, 0, .5);

    transition: border-color .15s ease, box-shadow .15s ease;
}

#site-tray .site-button img {
    display: block;
    width: 38px;
    height: 24px;
    object-fit: contain;
}

#site-tray .site-button:hover,
#site-tray .site-button.selected {
    border-color: var(--site-color);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .2),
        inset 0 -2px 3px var(--site-glow),
        0 2px 6px var(--site-glow);
}