/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating will be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/

/* typography */
h1,h2,h3,h4,h5,h6 {
 font-stretch: 90%;
}

/* footer */
#footer {
 padding: 0;
}

/* sub-menu */
#top .av-subnav-menu li a {
 font-size: 14px;
}
@media only screen and (max-width: 989px) {
 #top .av-submenu-container {display:none;}
 #top .av-submenu-indicator {display:none;}
}

/* buttons */
button.avia-color-theme-color {
 background-color: #015481 !important;
 color: #ffffff !important;
}
.avia-button {
 padding: 10px !important;
 font-size: 15px !important;
 border: 1px solid #333;
 color: #333333;
}

/* table */
th {
 font-weight: 500;
 text-transform: none;
 letter-spacing: 0;
 font-size: 15px;
 padding: 6px 6px;
 color: #000000;
 background: #ffffff;
}
td {
 font-size: 13px;
 padding: 2px 6px;
 color: #000000;
}

/* iframe */
.mfp-iframe-scaler {
 height: 90vh;
}

/* content */
.content .entry-content-wrapper {
 padding-right: 20px;
}
.inner_sidebar {
 margin-left: 20px;
}
.content, .sidebar {
 padding-top: 20px;
 padding-bottom: 20px;
}

/* top bar */
.phone-info {
 font-size: 14px;
 font-stretch: 90%;
}
#top .social_bookmarks li.avia-svg-icon svg {
 fill: #ffffff;
}
@media only screen and (max-width: 989px) {
 #top .topbar-address{display:none;}
 #top .social_bookmarks li.avia-svg-icon svg {fill:#000000;}
}

/* social icons */
/*
@media only screen and (max-width: 989px) {
 #top .social_bookmarks {
  display: none !important;
 }
 .avia-menu.av_menu_icon_beside {
  padding-right: 0;
  margin-right:0 ;
  border-right-width: 0;
 }
}
*/

/* custom logos */
#top .logo{visibility:hidden}
#top .custom-logos{position:absolute;inset:0;width:100%;display:flex;align-items:center}
#top .custom-logos>.widget{position:absolute;display:flex;align-items:center;margin:0;padding:0}
#top .custom-logos img{display:block;max-height:85px;width:auto}
#top .custom-logos>.widget:nth-child(1){left:0}
#top .custom-logos>.widget:nth-child(2){left:50%;transform:translateX(-50%)}
#top .custom-logos>.widget:nth-child(3){right:0}
#top .custom-logos>.widget:nth-child(4){display:none}
@media(max-width:1279px){
#top .custom-logos>.widget:nth-child(2){display:none}
}
@media(max-width:989px){
#top .custom-logos .flex_column{margin-bottom:0!important}
#top .custom-logos>.widget:nth-child(1){left:50%;transform:translateX(-50%)}
#top .custom-logos>.widget:nth-child(3){display:none}
#top .custom-logos>.widget:nth-child(4){display:flex;left:0}
#top .custom-logos img{max-height:70px}
}

/* banner */
.banner {text-shadow: 1px 1px 2px #000000;}
.banner p {margin: 0;}

/* sidebar */
.sidebar .widget {
 padding: 15px 0;
}
.sidebar .widgettitle, body .av-special-heading .av-special-heading-tag {
 font-weight: 400;
 font-size: 20px;
 letter-spacing: 0;
 background: #f9f9f9;
 padding: 5px 10px;
 border-left: 3px solid #015481 !important;
 text-transform: uppercase;
}
.sidebar .widget .avia-slideshow {
 margin: 0;
}
.sidebar .widget .avia-content-slider {
 margin: 0;
}
.sidebar .widget .slide-entry-excerpt p {
 margin: 0;
}
.sidebar .widget .avia-smallarrow-slider-heading h3 {
 display: none;
}

/* blog posts */
div .av_one_third {
 margin-left: 1%;
 width: 32.5%;
}

/* masonry */
@media(min-width:767px){
 #top .container .av-masonry.av-large-gap {
  width: calc(100% + 5px);
 }
 #top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry {
  right: 6px;
  bottom: 6px;
 }
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content-pos {
 text-align: left;
 vertical-align: bottom;
}
#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-title {
 font-size: 20px;
 line-height: 24px;
}
#top .av-caption-style-overlay .av-masonry-entry .av-masonry-entry-content {
 padding-top: 10px;
 line-height: 19px;
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content {
 background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
 padding: 15px;
 line-height: 19px;
}
#top .av-caption-style-overlay .av-masonry-item-with-image .av-inner-masonry-content * {
 text-shadow: 1px 1px 2px #000000;
}

/* masonry badges */
#top .masonry-post-link{
 position:absolute;
 inset:0;
}
#top .masonry-category-badges{
 position:absolute;
 top:12px;
 left:12px;
 display:flex;
 flex-wrap:wrap;
 gap:5px;
}
#top .masonry-category-badge{
 padding:2px 6px;
 border-radius:4px;
 color:#ffffff;
 font-size:12px;
 font-weight:600;
 text-transform:uppercase;
}
#top .masonry-cat-aktualno {background: #f39300;}
#top .masonry-cat-crna-kronika {background: #333333;}
#top .masonry-cat-glasbena-scena {background: #66cc00;}
#top .masonry-cat-gospodarstvo {background: #015581;}
#top .masonry-cat-kultura {background: #ffcc00;}
#top .masonry-cat-nasi-in-vasi-pogledi {background: #007495;}
#top .masonry-cat-sport {background: #cbd301;}
#top .masonry-cat-gosti-v-zivo {background: #f39300;}
#top .masonry-cat-mladinske-oddaje {background: #ff6060;}
#top .masonry-cat-novost-dneva {background: #015581;}
#top .masonry-cat-portreti {background: #ffcc00;}
#top .masonry-cat-sobotna-oddaja {background: #007495;}
#top .masonry-cat-izpostavljeno {background: #179feb;}

/* kam danes */
.kam-danes-datum{font-size:13px;}
.kam-danes-naslov{font-weight:600;}
.kam-danes-lokacija:before{content:"\f512";font-family:dashicons;margin-right:6px;vertical-align:middle;}
.kam-danes-ura:before{content:"\f469";font-family:dashicons;margin-right:6px;vertical-align:middle;}

/* kam danes - widget */
.kam-danes-widget-dan{margin-bottom:10px;}
.kam-danes-widget-info{font-size:13px;}

/* mali oglasi */
.mali-oglas-datum{font-size:13px;}
.mali-oglas-vsebina{font-weight:500;}
.mali-oglas-info{font-size:13px;}
.mali-oglas-meta{font-size:13px;}
.mali-oglas-avtor:before{content:"\f110";font-family:dashicons;margin-right:6px;vertical-align:middle;}
.mali-oglas-telefon:before{content:"\f525";font-family:dashicons;margin-right:6px;vertical-align:middle;}
.mali-oglas-tip:before{content:"\f323";font-family:dashicons;margin-right:6px;vertical-align:middle;}
.mali-oglas-kategorija:before{content:"\f226";font-family:dashicons;margin-right:6px;vertical-align:middle;}

/* mali oglasi - widget */
.mali-oglasi-widget-vsebina{font-weight:500;}
.mali-oglasi-widget-info{font-size:13px;}
.mali-oglasi-widget-oglas{margin-bottom:5px;}
.mali-oglasi-widget-avtor:before{content:"\f110";font-family:dashicons;margin-right:6px;vertical-align:middle;}
.mali-oglasi-widget-telefon:before{content:"\f525";font-family:dashicons;margin-right:6px;vertical-align:middle;}