/*

================= CUSTOM TEMPLATE MODIFICATION LIST =================

1. BREADCRUMBS

To not show PhocaDownload categories, because it caused duplication in the Breadcrumb structure.

templates/cassiopeia/html/mod_breadcrumbs/default.php
line 54

******

2. TEMPLATE STRUCTURE

To be able to add background image and an overlay to it.

templates/cassiopeia/index.php
line 186

******

3. INDEX:PHP - LOGO

Add site name to the logo section:
Logo
Site name
Site description

templates/cassiopeia/index.php
line 166

 <!-- =========================== Custom added Borota text =========================== -->
                    <div class="brand-title"><a class="brand-title-link" href="<?php echo $this->baseurl; ?>/"><?php echo $sitename; ?></a></div>


******

4. SEARCH BUTTON

Remove "Search..." or "Keresés..." text from the Smart Search modul button.
templates/cassiopeia/html/mod_finder/default.php
line 36

******


5. PHOCADOWNLOAD - DIRECT LINK IS TRUE BY DEFAULT
administrator/components/com_phocadownload/models/forms/phocadownloadfile.xml
line 42

<!-- ================== CUSTOM CHANGED default from 0 to 1 ================== -->
<field name="directlink" type="list" label="COM_PHOCADOWNLOAD_FIELD_DIRECT_LINK_LABEL" default="1"  description="COM_PHOCADOWNLOAD_FIELD_DIRECT_LINK_DESC" class="form-select"  >
	<option value="1">COM_PHOCADOWNLOAD_YES</option>
	<option	value="0">COM_PHOCADOWNLOAD_NO</option>
</field>

******


6. FAVICON
templates/cassiopeia/index.php
line 29-31

//$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.svg', '', [], true, 1), 'icon', 'rel', ['type' => 'image/svg+xml']);
$this->addHeadLink(HTMLHelper::_('image', 'favicon.ico', '', [], true, 1), 'alternate icon', 'rel', ['type' => 'image/vnd.microsoft.icon']);
//$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon-pinned.svg', '', [], true, 1), 'mask-icon', 'rel', ['color' => '#000']);


*/




/* =========================== COOKIE NOTI =========================== */

  /* bg's transparency */
  .notice_div_simplebar,
  .notice_div_ribbin{
    background-color: #111111ed !important;
  }

  .eb_papbtn, /* cookie policy btn */
  .button_cookie /* accept btn */ {
    border-radius: 0px !important; /*25px !important*/
    font-weight: 400 !important;
    font-family: "Roboto", sans-serif !important;
    text-transform: uppercase;
  }

  /* hover */
  .eb_papbtn:hover, /* cookie policy btn */
  .button_cookie:hover /* accept btn */ {
    background: #ffffff !important;
    color: #40745e!important;
  }

  @media (max-width: 767px) {
    /* narrowed cookie btns */
    .eb_privacypolicy {
        width: 50% !important;
    }

    /* margin-top to Accept btn  */
    .eb_privacypolicy .button_cookie + .button_cookie {
        margin: 10px 0px 0px 0 !important;
    }
  }

/* =========================== END OF COOKIE NOTI =========================== */







/* =========================== HEADER =========================== */

  .container-header {
    z-index: 16;
    background-color: transparent;
    background-image: url(/images/bg/header-bg.jpg);
    background-position-y: -10rem;
    background-repeat: no-repeat;
  }

  .header-grid {
    max-width: 1170px;
    margin: auto;
  }

  @media (width <= 991.98px) {
    .container-header {
        position: sticky !important;
    }
}


/* =========================== END OF PAGE HEADER =========================== */







/* =========================== LOGO =========================== */

  /* logo container */
  .logo-container-wrap {
    float: left;
  }

  a.brand-logo{
    display: block;
    text-align: left;
  }

  .brand-logo img{
    float: left;
    padding: 0px 0px 10px;
  }

  .brand-logo img{
    max-width: 45%;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    transition: all .4s ease-in-out;
  }




  /* Borota site name text */
  .brand-title-link{
    margin: 1.5rem 0 0 0;
    margin-top: 15%;
    margin-left: 115px;
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #8e8864 !important;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    letter-spacing: -3px;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    line-height: 1.1em;
    margin: 1.5rem 0 0 5px;
  }



  /* Itt jó élni! site ddescription */
  .site-description{
    font-style: italic;
    color: #8e8864 !important;
    margin: -10px 0% 0% 50%;
  }




  @media (min-width: 991px) {

    /* SCROLLED logo img */
    .sticky-top.favheader .navbar-brand {
      padding-top: 0;
      font-size: 1.5rem;
    }
    .sticky-top.favheader .brand-logo img {
      max-width: 40%;
    }

    /* SCROLLED Borota site name text */
    .sticky-top.favheader .brand-title-link {
      font-size: 2rem;
      line-height: 0em;
      margin: 0 0 0 5px;
    }

    /* SCROLLED Itt jó élni! site ddescription */
    .sticky-top.favheader .site-description {
      margin: -5px 0px 0px 3.5rem;
    }

  }
  


  @media (max-width: 991px) and (min-width: 768px) {
    
    /* tab logo img */
    .brand-logo img {
        max-width: 40px;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        transition: all .4s ease-in-out !important;
    }

    /* tab Borota text */
    .brand-title {
      margin-top: -10px;
  }
    .brand-title-link {
      font-size: 2rem;
    }

    /* tab slogan text */
    .site-description {
      font-size: 0.87rem;
      margin: -10px 0 0 45px;
    }
  }

/* =========================== END OF LOGO =========================== */





/* =========================== MENU =========================== */


  /* ==== Kezdőlap menu item should be icon instead of text ==== */
    /* disable Kezdőlap text */
    .menu_home .image-title {
      display: none;
    }

    /* change icon size */
    .dj-megamenu-clean li a.dj-up_a .dj-icon {
      max-height: 20px !important;
    }
  /* ==== End of Kezdőlap menu item should be icon instead of text ==== */




  /* ==== DJ Megamenu style ==== */
    /* main menu */
    .dj-megamenu-clean li a.dj-up_a{
      margin: 0px;
      border-bottom: 0 none;
      border-top: 2px solid transparent;
      color: #376d56 !important;
      font-style: normal;
      font-weight: 300;
      font-family: 'Roboto', sans-serif;
      text-transform: uppercase;
      font-size: 1.14rem !important;
      line-height: 14px;
      padding: 0 9px !important;
      transition: all 0.3s ease-in-out !important;
    }


    /* main menu on hover, active */
    .dj-megamenu-clean li a.dj-up_a.active,
    .dj-megamenu-clean li a.dj-up_a:hover{
      background-color: #111;
      color: #fff !important;
      border-top: 3px solid #40735D;
    }

    /* submenus bg */
    .dj-megamenu-clean li ul.dj-submenu > li{
      display: block;
      height: auto;
      width: auto;
      position: relative;
      background-color: #222;
      border: 1px solid #333;
      -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

    /* submenus text */
    .dj-megamenu-clean li ul.dj-submenu > li > a span.name {
      color: #fff !important;
    }

    /* submenus text on hover, active */
    .dj-megamenu-clean li ul.dj-submenu > li:hover > a,
    .dj-megamenu-clean li ul.dj-submenu > li.active > a{
      background: #8e8864 !important;
    }
  /* ==== End of DJ Megamenu style ==== */



  /* custom menu heading to prevent click items in menu */
  .no-click {
    pointer-events: none;
    cursor: default;
  }



  @media (min-width: 992px) {
    
    /* pc menu vertical align */
    .grid-child.container-nav {
      flex-direction: row-reverse;
      margin: -6rem 0 0.1rem 240px;
    }

    /* SCROLLED pc menu vertical align */
    .sticky-top.favheader .grid-child.container-nav {
      margin: -6rem 0 -0.9rem 120px;
    }

    /* ==== DJ Megamenu style ==== */
      /* main menu */
      .dj-megamenu-clean li a.dj-up_a{
        margin: 0px 1px 0px 0px;
        padding: 24px 12px;
        border-bottom: 0 none;
        border-top: 2px solid transparent;
        color: #376d56 !important;
        font-style: normal;
        font-weight: 300;
        font-family: 'Roboto', sans-serif;
        text-transform: uppercase;
        font-size: 1.14rem !important;
        line-height: 14px;
        padding: 0 10px !important;
      }

      /* SCROLLED main menu */
      .sticky-top.favheader .dj-megamenu-clean li a.dj-up_a{
        font-size: 1rem !important;
        transition: all 0.3s ease-in-out;
      }

      /* SCROLLED main menu */
      .sticky-top.favheader .dj-megamenu-clean li a.dj-up_a > span {
        height: 55px;
      }

      /* main menu on hover, active */
      .sticky-top.favheader .dj-megamenu-clean li a.dj-up_a.active,
      .sticky-top.favheader .dj-megamenu-clean li a.dj-up_a:hover{
        background-color: #111;
        color: #fff !important;
        border-top: 3px solid #40735D;
      }

      /* submenus bg */
      .sticky-top.favheader .dj-megamenu-clean li ul.dj-submenu > li {
        display: block;
        height: auto;
        width: auto;
        position: relative;
        background-color: #222;
        border: 1px solid #333;
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
      }

      /* submenus text */
      .sticky-top.favheader .dj-megamenu-clean li ul.dj-submenu > li > a span.name {
        color: #fff !important;
      }

      /* submenus text on hover, active */
      .sticky-top.favheader .dj-megamenu-clean li ul.dj-submenu > li:hover > a,
      .sticky-top.favheader .dj-megamenu-clean li ul.dj-submenu > li.active > a {
        background: #8e8864 !important;
      }
  /* ==== End of DJ Megamenu style ==== */




  }


  @media (max-width: 991px) and (min-width: 768px) {
    
    .container-header .container-nav {
      padding-bottom: 0.5em;
    }
    .grid-child.container-nav {
      flex-direction: row;
      margin: -1rem 0 0.1rem 0px;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .grid-child.container-brand {
      justify-content: center;
    }
    .container-header .navbar-brand{
      margin-inline-end: unset;
    }

    /* smaller tab menu style */
    .dj-megamenu-clean li a.dj-up_a {
      padding: 0 7px !important;
      font-size: 14px;
    }
  }

  @media (max-width: 767px) {
    
    /* mobile hamburger menu */
    .container-nav {
      margin-top: -6rem;
    }
    .dj-mobile-open-btn.dj-fa-5 .dj-mobile-open-icon:before {
      font-size: 37px !important;
      padding-top: 4px;
    }
    .dj-megamenu-offcanvas-dark .dj-mobile-open-btn{
      background: #40735d !important;
      color: #e4e4e4;
      -webkit-border-radius: 0px !important;
      border-radius: 0px !important;
      -webkit-transition: background-color 0.2s ease-out, color 0.2s ease-out;
      transition: background-color 0.2s ease-out, color 0.2s ease-out;
    }
    .dj-megamenu-offcanvas-dark .dj-mobile-open-btn:hover{
      background: #fff !important;
      color: #40735d !important;
    }

    /* Kezdőlap ikon mérete */
    img.dj-icon {
      width: 1.1rem;
    }
    .menu_home .image-title {
      display: contents;
    }


  }



/* =========================== END OF MENU =========================== */








/* =========================== SEARCH FIELD =========================== */

  /* align search field to the right */
  .search-container {
    text-align: right;
  }

  
  .search-container {
    float: right;
  }

  .search .btn,
  .search .btn-primary {
    padding: 13px 10px 11px 10px;
  }


  /* change with on focus */
  input#mod-finder-searchword141 {
      width: 5.3rem;
      transition: width 1s;
  }
  input#mod-finder-searchword141:focus {
      width: 9rem;
      box-shadow: none;
  }

  

/* =========================== END OF SEARCH FIELD =========================== */






/* =========================== PAGINATION - SEARCH RESULT PAGE =========================== */

  .page-link.active,
  .active>.page-link {
    background-color: #3f745e;
    border-color: #3f745e;
  }

  .page-link {
    color: #C46506;
  }

  .page-link:hover {
    color: #F29D0A;
  }

  .page-link:focus {
    box-shadow: none;
  }

/* =========================== PAGINATION - SEARCH RESULT PAGE =========================== */







/* =========================== SEARCH RESULT PAGE =========================== */

  .result__title-link:focus .result__title-text,
  .result__title-link:hover .result__title-text {
    text-decoration: none;
  }

/* =========================== SEARCH RESULT PAGE =========================== */









/* =========================== PAGE CUSTOM BGs =========================== */


  /* ==== Főoldal ==== */
  .homepage .custom-container-wrap {
    background-color: rgb(255 255 255 / 65%);
  }

  /* content slider modul közleményekhez */
  .homepage .moduletable.homepage_bt_content.favth-title-border.favth-center{
    background-color: rgb(255 255 255 / 86%);
    padding: 1rem;
  }

  /* polgi köszöntő modul */
  .homepage .grid-child.container-component {
    background-color: rgb(255 255 255 / 86%);
    padding: 2rem;
    margin-top: 1rem;
  }

  body.homepage{
    background-image: url(/images/bg/udv_borotan.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }



  /* ==== End of Főoldal ==== */



  /* ==== Történet ==== */
  body.tortenet {
    background-image: url(/images/bg/wheat-spike-field-sunset.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  body.tortenet .site-grid {
    background-color: rgba(255, 255, 255, 0.88);
  }
  /* ==== End of Történet ==== */




  /* ==== Civil Szervezetek ==== */
  .civilszervezet .custom-container-wrap {
    background-color: rgb(255 255 255 / 65%);
  }

  body.civilszervezet {
    background-image: url(/images/bg/fitnessroom.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  /* ==== End of Civil Szervezetek ==== */



  /* ==== Ügyfélszolgi ==== */
  body.ugyfelfogadas {
    background-image: url(/images/bg/wheat-spike-field-sunset.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  body.ugyfelfogadas .custom-container-wrap {
    background-color: rgba(255, 255, 255, 0.88);
  }

  /* ==== End of Ügyfélszolgi ==== */



    /* ==== Doksik, Rendeletek, Jegyzőkönyvek, Pályázatok listája ==== */
    body.site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-166.dokumentumok.dj-megamenu-offcanvas.dj-offcanvas-effect-1 .site-grid,
    .site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-167.rendeletek.dj-megamenu-offcanvas.dj-offcanvas-effect-1 .site-grid,
    .site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-170.jegyzokonyvek.dj-megamenu-offcanvas.dj-offcanvas-effect-1 .site-grid,
    body.site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-131.palyazatok.dj-megamenu-offcanvas.dj-offcanvas-effect-1 .site-grid{
      background-color: rgb(255 255 255 / 65%);
    }
  
    body.site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-166.dokumentumok.dj-megamenu-offcanvas.dj-offcanvas-effect-1,
    body.site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-167.rendeletek.dj-megamenu-offcanvas.dj-offcanvas-effect-1,
    body.site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-170.jegyzokonyvek.dj-megamenu-offcanvas.dj-offcanvas-effect-1,
    body.site.com_content.wrapper-static.view-article.no-layout.no-task.itemid-131.palyazatok.dj-megamenu-offcanvas.dj-offcanvas-effect-1{
      background-image: url(/images/bg/courtroom.jpg);
      background-repeat: no-repeat;
      background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
  
    /* ==== End of Doksik, Rendeletek, Jegyzőkönyvek, Pályázatok listája ==== */



  /* ==== Egészségügy ==== */
  body.egeszsegugy{
    background-image: url(/images/bg/blured_hospital.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  /* ==== End of Egészségügy ==== */



  /* ==== Szolgáltatók ==== */
  .szolgaltatok .site-grid {
    background-color: rgb(255 255 255 / 65%);
  }

  body.szolgaltatok{
    background-image: url(/images/bg/blured_office.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  /* ==== End of Szolgáltatók ==== */



  /* ==== Idősek klubja ==== */
  body.idosek-klubja main{
    background-color: rgba(255, 255, 255, 0.88);
    padding: 1rem;
  }

  body.idosek-klubja .site-grid {
    background-image: url(/images/bg/fitnessroom.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  /* ==== End of Idősek klubja ==== */



  /* ==== Könyvtár ==== */

  body.konyvtar main{
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
  }

  body.konyvtar{
    background-image: url(/images/bg/blured_office.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  /* ==== End of Könyvtár ==== */



  /* ==== Családsegítő ==== */

  body.csaladsegito{
    background-image: url(/images/bg/blured_office.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  /* ==== End of Családsegítő ==== */



  /* ==== Médiamegjelenések ==== */

  body.mediamegjelenesek main{
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1rem;
  }

    body.mediamegjelenesek{
      background-image: url(/images/bg/blured_office.jpg);
      background-repeat: no-repeat;
      background-attachment: fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
  
    /* ==== End of Médiamegjelenések ==== */


/* =========================== END OF PAGE CUSTOM BGs =========================== */












/* =========================== TITLES STYLE =========================== */


.page-header {
  margin-bottom: 3rem;
}

.page-header h2,
.page-header h1:first-of-type,
.timeline h3:first-of-type,
.egeszsegugy h3:first-of-type,
.szolgaltatok h3:first-of-type,
.egyhaz h3:first-of-type,
.szervezet h3:first-of-type,
.intezmenyek h3:first-of-type ,
.palyazatok h3:first-of-type,
.mediamegjelenesek h3:first-of-type,
.homepage_bt_content.favth-title-border.favth-center h1:first-of-type,
.ugyfelfogadas h3:first-of-type,
.civilszervezet h3:first-of-type,
.testulet h3:first-of-type,
.dokumentumok h3:first-of-type,
.turizmus h3:first-of-type,
.palyazatok h3:first-of-type,
/*.szobor h3,
.faluhaz h3:first-of-type,
.koch h3:first-of-type,*/
.rendeletek h3:first-of-type,
.választások h3:first-of-type,
.jegyzokonyv h3:first-of-type,
.testuleti_anyagok h3:first-of-type,
.egyedul_nem_megy h3:first-of-type,
#phoca-dl-category-box .pd-category h3.pd-ctitle, 
#phoca-dl-file-box .pd-file h3.pd-ctitle, 
#phoca-dl-download-box .pd-file h3.pd-ctitle {
  font-size: 2rem;
  text-transform: uppercase;
	color: #40745E; /*Borota zöld */
	text-align: center;
  margin-top: 2rem;
  border-bottom: 1px solid #8e8864; /* Borota barna */
}

  /* title size on mobile */
  @media (max-width: 600px){
    .page-header h2,
    .page-header h1:first-of-type,
    .timeline h3:first-of-type,
    .egeszsegugy h3:first-of-type,
    .szolgaltatok h3:first-of-type,
    .egyhaz h3:first-of-type,
    .szervezet h3:first-of-type,
    .intezmenyek h3:first-of-type ,
    .palyazatok h3:first-of-type,
    .mediamegjelenesek h3:first-of-type,
    .homepage_bt_content.favth-title-border.favth-center h1:first-of-type,
    .ugyfelfogadas h3:first-of-type,
    .civilszervezet h3:first-of-type,
    .testulet h3:first-of-type,
    .dokumentumok h3:first-of-type,
    .turizmus h3:first-of-type,
    .palyazatok h3:first-of-type,
    /*.szobor h3,
    .faluhaz h3:first-of-type,
    .koch h3:first-of-type,*/
    .rendeletek h3:first-of-type,
    .választások h3:first-of-type,
    .jegyzokonyv h3:first-of-type,
    .testuleti_anyagok h3:first-of-type,
    .egyedul_nem_megy h3:first-of-type,
    #phoca-dl-category-box .pd-category h3.pd-ctitle, 
    #phoca-dl-file-box .pd-file h3.pd-ctitle, 
    #phoca-dl-download-box .pd-file h3.pd-ctitle {
      font-size: 1.6rem;
    }
  }



.page-header h2:first-of-type{
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
}

.favth-light.favth-line > h1:first-of-type,
.favth-light.favth-line > h3:first-of-type {
  border-bottom: 1px solid #8e8864; /* Borota barna */
}

.ugyfelfogadas div[id^="favglyph"] h2,
.ugyfelfogadas div[id*=" favglyph"] h2,
h2#favglyph-description-title {
  color: #40745E; /*Borota zöld */
}




/* =========================== END OF TITLES STYLE =========================== */





/* =========================== TEXT STYLE =========================== */

body p {
  color: #003027;
}

body,
p {
  font-size: 1.3rem !important;
  font-weight: 300;
}

/* title size on mobile */
@media (max-width: 600px){
  body,
  p {
    font-size: 1rem !important;
  }
}

/* =========================== END OF TEXT STYLE =========================== */






/* =========================== LINK STYLE =========================== */

body a {
  color: #C46506;
  text-decoration: none !important;
  background-color: transparent;
}

body a:hover {
  color: #F29D0A;
}


/* =========================== END OF LINK STYLE =========================== */






/* =========================== LIST STYLE =========================== */

/* square unordered */
ul.favth-list-square {
  list-style-type: none;
  margin-left: 0;
}
ul.favth-list-square li {
  font-size: 14px;
  line-height: 21px;
  padding: 5px 0px;
}
ul.favth-list-square li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 12px;
  content: "\f00c";
  background-color: #40735D; /* borota zöld */
  color: #fff;
  padding: 6px;
  margin-right: 10px;
  border-radius: 0px;
}

/* square ordered */
ol.favth-list-square {
  counter-reset: li;
  margin-left: 0px;
  padding-left: 0px;
}
ol.favth-list-square > li {
  font-size: 14px;
  line-height: 21px;
  padding: 5px 0px;
  list-style: outside none none;
}
ol.favth-list-square li::before {
  font-size: 12px;
  color: #fff;
  background: none repeat scroll 0% 0% #40735D; /* borota zöld */
  padding: 4px 8px;
  margin-right: 10px;
  text-align: center;
  font-weight: bold;
  box-sizing: border-box;
  content: counter(li, decimal);
  counter-increment: li;
  border-radius: 0px;
}

/* circle unordered */
ul.favth-list-circle {
  list-style-type: none;
  margin-left: 0;
}
ul.favth-list-circle li {
  font-size: 14px;
  line-height: 21px;
  padding: 5px 0px;
}
ul.favth-list-circle li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 12px;
  content: "\f00c";
  background-color: rgba(64, 115, 93, 0.47); /* borota zöld */
  color: #fff;
  padding: 6px;
  margin-right: 10px;
  border-radius: 50%;
}

/* circle ordered */
ol.favth-list-circle {
  counter-reset: li;
  margin-left: 0px;
  padding-left: 0px;
}
ol.favth-list-circle > li {
  font-size: 14px;
  line-height: 21px;
  padding: 5px 0px;
  list-style: outside none none;
}
ol.favth-list-circle li::before {
  font-size: 12px;
  color: #fff;
  background: none repeat scroll 0% 0% #40735D; /* borota zöld */
  color: #fff;
  padding: 4px 8px;
  margin-right: 10px;
  text-align: center;
  font-weight: bold;
  box-sizing: border-box;
  content: counter(li, decimal);
  counter-increment: li;
  border-radius: 50%;
}

/* color */
.fav-module-block-color .favth-list-square li::before,
.fav-module-block-color .favth-list-circle li::before,
.moduletable.favth-color .favth-list-square li::before,
.moduletable.favth-color .favth-list-circle li::before {
  background-color: rgba(64, 115, 93, 0.47); /* borota zöld */
}


ul.favth-list-square li {
  line-height: 1.6rem;
	font-size: 1.3rem;
}
ul.favth-list-arrow li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-size: 12px;
    content: "\f061";
    background-color: #8e8864 !important;
    color: #fff;
    padding: 6px;
    margin-right: 10px;
    border-radius: 0px;
}
ul ul.favth-list-arrow {
    margin-left: 2rem;
}


/* sub list */
ul.favth-list-square ul {
  padding-left: 2rem;
}
ul.favth-list-square ul li::before {
  content: "\f061";
}

/* =========================== END OF LIST STYLE =========================== */






/* =========================== BUTTON STYLE =========================== */

.btn,
.btn-primary,
.pager .next a,
.pager .previous a,
.card-btn {
  display: block;
  background-color: #40745E;
  padding: 13px 40px 11px 40px;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 0px; /* 25px !important; */
  width: max-content;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  border: none;

  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 0em;
}

/* Dokumentumok card Read more btn heigh */
a.card.card-btn {
  line-height: 1.38;
}


@media (max-width: 460px) {
  .btn,
  .card-btn {
    padding: 13px 20px 11px 20px !important;
    font-size: 0.85rem;
  }
}
.btn:hover,
.card-btn:hover {
  background-color: #8e8864 !important;
  color: #fff !important;
  }
@media (max-width: 767px) {
  .btn,
  .card-btn {
    margin: auto;
  }
}


/* =========================== END OF BUTTON STYLE =========================== */








/* =========================== BACK TO TOP BUTTON =========================== */

a#back-top {
  background-color: #40735D;
  border: none;
  color: white;
  box-shadow: 0px 5px 11px 0px rgba(0, 0, 0, 0.18), 0px 4px 15px 0px rgba(0, 0, 0, 0.15);
  border-radius: 0px;
}

a#back-top:hover {
  background-color: #ffffff;
  border: 1px solid #40735D;
  color: #40735D;
}


/* =========================== END OF BACK TO TOP BUTTON =========================== */






/* =========================== BACKBUTTON =========================== */

.backbutton {
  border-radius: 1.5rem !important;
  padding: 7px 20px 7px 20px !important;
  text-align: center;
  margin: 14px 0;
  background-color: #40735D;
  max-width: 130px;
}
.backbutton a {
  color: #fff !important;
  font-size: 1em;
}
.backbutton:hover {
  background-color: #8E8864;
  text-decoration: none;
}
.backbutton a:hover {
  text-decoration: none;
}

/* =========================== END OF BACKBUTTON =========================== */






/* =========================== IMAGES STYLE =========================== */

  /* images stlyes: with decorative border and shadow */
  .img-border-shadow {
    outline-width: 0.1rem;
    outline-offset: -10px;
    outline-color: #8e8864;
    outline-style: solid;
    padding: 0px;
    background-color: transparent;
    -webkit-box-shadow: 1px 2px 7px 0px rgba(34, 34, 34, 0.4);
    box-shadow: 1px 2px 7px 0px rgba(34, 34, 34, 0.4);
  }

  @media (max-width:767) {
    /* polgi főoldali kép */
    img#polgi-home {
      float: left !important;
    }
  }


/* =========================== END OF IMAGE STYLE =========================== */






/* =========================== ATTACHMENTS =========================== */

  #main div.attachmentsList caption,
  div.attachmentsList caption{
    display: none;
  }

  /* bg color of every 2nd row */
  #main div.attachmentsList table tbody tr.even td,
  div.attachmentsList table tbody tr.even td {
    background-color: #EEE !important;
  }

  /* no border for attachments table */
  #main div.attachmentsList table,
  div.attachmentsList table{
    border: none !important;
  }

  /* attachments links */
  div.attachmentsList a.at_url:link {
    color: #C46506 !important;
    font-weight: 400;
  }
  div.attachmentsList a.at_url:link:hover {
    color: #F29D0A !important;
  }
  


/* =========================== END OF ATTACHMENTS =========================== */





/* =========================== PHOCADOWNLOAD =========================== */
  #phoca-dl-categories-box .pd-subcategory,
  #phoca-dl-category-box .pd-subcategory {
  display: -webkit-box;
  background-size: auto;
  font-size: 16px;
  }

  /* Phocadownload Download button */
  .pd-button-box-bt a.btn {
    padding: 20px 40px 20px 40px;
  }

  /* Phocadownload file's line-height */
  .phoca-dl-file-box-mod .pd-document48,
  #phoca-dl-file-box .pd-document48,
  #phoca-dl-category-box .pd-document48,
  #phoca-dl-download-box .pd-document48 {
    line-height: 2rem !important;
  }


  @media (max-width: 768px){
    /* Phocadownload pagination layout on mobile */
    .com_phocadownload .pagination {
      align-items: baseline !important; /* this will align content to the left */
      display: flex;
      flex-direction: column;
    }
    select#fileordering {
      margin-bottom: 1rem;
    }
  }

/* =========================== END OF PHOCADOWNLOAD =========================== */










/* =========================== BREADCUMBS =========================== */

  /* make Breadcrumbs full width */
  nav.mod-breadcrumbs__wrapper {
    position: absolute;
    left: 0;
    width: 100vw;
    margin-top: 0rem !important;
  }
  main {
    margin-top: 3rem !important; /* content align */
  }
  .mediamegjelenesek main{
    margin-top: 4rem !important;
  }


  .breadcrumb {
    background-color: rgba(255, 255, 255, 0.56);
    padding-left: 35px !important;
  }



/* =========================== END OF BREADCUMBS =========================== */






/* =========================== JT CONTENT SLIDER BT CONTENT HELYETT =========================== */

  /* Title style */
  .jtcs_item_wrapper .jt-title {
    text-align: left;
    text-transform: uppercase;
    font-size: 1.5rem;
  }

  /* Date size */
  .jtcs_item_wrapper.jt-cs .jt-author-date{
    font-size: 80% !important;
  }


  /* transition on hover */ 

  .jt-cs .jt-imagecover::before {
    background: transparent !important;
    right: 20px !important;
    transition: none !important;
  }
  .jt-cs .jt-imagecover:hover img {
      transition: all 0.2s linear 0s;
      -webkit-transform: scale(1.05, 1.05) !important;
      -moz-transform: scale(1.05, 1.05) !important;
      -ms-transform: scale(1.05, 1.05) !important;
      -o-transform: scale(1.05, 1.05) !important;
      transform: scale(1.05, 1.05) !important;
      -webkit-transition: all .5s ease;
      -moz-transition: all .5s ease;
      -ms-transition: all .5s ease;
      -o-transition: all .5s ease;
      transition: all .5s ease;
  }




/* =========================== END OF JT CONTENT SLIDER =========================== */








/* =========================== KÖZLEMÉNYEK, PÁLYÁZATOK =========================== */

/*.kozlemenyek .item-image img {
  object-fit: contain;
  width: 100%;
  max-height: 350px;
  min-height: 300px;
  background-color: transparent !important;
  border: 0px solid transparent !important;
}*/


  .left.item-image {
    margin: 0 0px 7px 0;
    margin-right: 20px;
  }


  /* size of intro images */
  .kozlemenyek .left.item-image {
    width: 30%;
  }
  .palyazatok .left.item-image {
    width: 40%;
  }
  @media (max-width: 698px){
    .kozlemenyek .left.item-image {
      width: 50%;
    }
    .palyazatok .left.item-image {
      width: 60%;
    }
  }
    

  .item-image img,
  .fav-tags-img {
    object-fit: contain;
    width: 100%;
  }

  .blog p {
    white-space: pre-line;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 25px;
  }
  
  @media (max-width: 991px) and (min-width: 768px){
    .left.item-image {
      margin: 0 0px 7px 0;
      width: 40%;
      margin-right: 20px;
    }
    .item-image img,
    .fav-tags-img {
      object-fit: contain;
      width: 100%;
    }
    .blog p {
      white-space: pre-line;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 25px;
    }
  }


  @media (max-width: 768px){
    /* diable image floating and center the image */
    .left.img-border-shadow.item-image {
      float: none;
      display: block;
      margin: 0 auto 2em auto;
    }
  }


/* =========================== END OF KÖZLEMÉNYEK, PÁLYÁZATOK =========================== */





/* =========================== PÁLYÁZATOK LISTÁJA =========================== */

.palyazatok .blog-card .photo {
  background-size: contain;
  background-repeat: no-repeat;
}


/* =========================== END OF PÁLYÁZATOK LISTÁJA =========================== */




/* =========================== PÁLYÁZATi LOGÓK =========================== */

  /* pályázati logók közös paraméterei */
  .palyazati_logo {
    position: fixed;
    z-index: 1;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
  }

  /* Pályázati logók kép stílusa */
  .palyazati_logo img.favth-img-shadow {
    outline-width: 0.1rem;
    outline-offset: -10px;
    outline-color: #8e8864;
    outline-style: solid;
    padding: 0px;
    box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.18), 0px 4px 15px 0px rgba(0, 0, 0, 0.15);  
  }



  /* Magyar Falu Program logó */
  .mfp {
    right: 1rem;
    bottom: 56px;
    width: 200px;
  }


  /* Széchenyi 2020 logó - Vidékfejlesztési Program, EFOP, TOP, KÖFOP */
  .szechenyi2020 {
    right: -1.35rem;
    bottom: 48px;
    width: 450px;
  }


  /* Széchenyi Terv logó - TOP PLUSZ */
  .topplus .grid-child.container-component {
    margin-top: 2rem;
  }
  .palyazati_logo.szechenyi-terv {
    margin-top: -1rem;
    position: absolute;
  }



  @media (max-width: 1200px) {

    /* Smaller PC Széchenyi 2020 logó - Vidékfejlesztési Program, EFOP, TOP, KÖFOP */
    .szechenyi2020 {
      width: 400px;
    }
  }


  @media (max-width: 990px) {

    /* Tab Magyar Falu Program logó */
    .mfp {
      width: 170px;
    }

    /* Smaller PC Széchenyi 2020 logó - Vidékfejlesztési Program, EFOP, TOP, KÖFOP */
    .szechenyi2020 {
      width: 350px;
    }
    
  } 

  @media (max-width: 768px) {

    /* Mobile Magyar Falu Program logó */
    .mfp {
      width: 120px;
    }

     /* Smaller PC Széchenyi 2020 logó - Vidékfejlesztési Program, EFOP, TOP, KÖFOP */
     .szechenyi2020 {
      width: 300px;
    }

  } 


/* =========================== END OF PÁLYÁZATi LOGÓK =========================== */






/* =========================== FŐOLDALI IKON LINKEK =========================== */

  .homepage .moduletable.linkek {
    margin: 3rem 0rem 1rem;
  }

  .homepage div#favglyph-icon {
    text-align: center;
  }
  
  .homepage .kapcsi-kontakt-wrap i{
    color: #fff;
    font-size: 3rem;
  }


  .homepage .kapcsi-kontakt-wrap {
    background: #40735d;
    padding: 2rem 0 0.5rem;
    box-shadow: 5px 3px 6px 1px rgba(0, 0, 0, 0.26);

    -webkit-transition: all 0.2s linear 0s;
    -moz-transition: all 0.2s linear 0s;
    -ms-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
    transition: all 0.2s linear 0s;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }

  .homepage .kapcsi-kontakt-wrap:hover {
    transition: all 0.2s linear 0s;
    -webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
  }

    .homepage div[id^="favglyph"] h2,
    .homepage div[id*=" favglyph"] h2,
    .homepage #favglyph-description-title {
      color: #ffffff;
    }


  @media (max-width:991px) {

    .homepage .kapcsi-kontakt-wrap i{
      font-size: 2rem;
   }

    .homepage div[id^="favglyph"] h2,
    .homepage div[id*=" favglyph"] h2,
    .homepage #favglyph-description-title {
      font-size: 1rem;
    }

    .homepage .kapcsi-kontakt:nth-child(1),
    .homepage .kapcsi-kontakt:nth-child(2) {
      margin-bottom: 2rem;
    }

  }







/* SLIDE FROM LEFT TO RIGHT ON SCROLLING
  .grid-child.container-component {
      opacity: 0;
      transform: translateX(-100px);
      transition: all 0.8s ease-out;
  }

  .grid-child.container-component.show {
      opacity: 1;
      transform: translateX(0);
  } */

  

/* =========================== END OF FŐOLDALI IKON LINKEK =========================== */





/* =========================== STORY - TIMELINE =========================== */

.steps {
position: relative;
}
.steps:before {
top: 40px;
bottom: 0;
position: absolute;
content: " ";
width: 2px;
background-color: #40745e;/* #ff4769; */
left: 50%;
margin-left: -1px;
}

.timeline {
margin: 0px auto;
overflow: hidden;
position: relative;
padding: 0px;
list-style-type: none;
}
.timeline .timeline-box {
position: relative;
float: left;
clear: left;
width: 45%;
margin: 1em 2.5%;
list-style-type: none;
display: block;
padding: 25px;
background: #f8f8f8;
z-index: 15;
}

.timeline .timeline-box .timeline-title {
color: #3F735D;
font-weight: 500;
font-size: 2em;
float: left;
padding-left: 25px;
padding-top: 8px;
}
.timeline .timeline-box .timeline-details {
clear: both;
line-height: 2rem;
padding-top: 5px;
color: #333333;
}
.timeline .timeline-box span {
position: absolute;
top: 60px;
right: 24px;
font-size: 8em;
font-weight: 700;
color: #ff4769;
opacity: 0.1;
z-index: -1;
}
@media all and (max-width: 768px) {
.timeline .timeline-box {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.steps:before {
  display: none;
}
}
.timeline .timeline-box:hover:after {
background: #8e8864;/* #ff4769; */
}
@media all and (min-width: 650px) {
.timeline .timeline-box:after {
  display: block;
  content: " ";
  height: 9px;
  width: 9px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  right: -6.55%;
  top: 1.5em;
  border: 2px solid #40745e; /* #ff4769; */
}
}
.timeline .timeline-box:first-child {
margin-bottom: 2.5em;
}


li.timeline-box.wow.fadeInLeft i, li.timeline-box.wow.fadeInRight i {
    margin: 7px;
}


.timeline .timeline-box:nth-of-type(2n) {
float: right;
clear: right;
}
.timeline .timeline-box:nth-of-type(2n):before {
right: auto;
left: -10px;
position: absolute;
top: 15px;
display: inline-block;
border-top: 10px solid transparent;
border-right: 10px solid #f8f8f8;
border-left: 0 solid #f8f8f8;
border-bottom: 10px solid transparent;
content: " ";
}
@media all and (min-width: 600px) {
.timeline .timeline-box:nth-of-type(2n) {
  margin-top: 3em;
}
}
.timeline .timeline-box:nth-child(2n):after {
left: -6.5%;
right: auto;
}

.timeline-box:hover,
.timeline-box:focus {
transform: translate(0, -5px);
-webkit-transform: translate(0, -5px);
-ms-transform: translate(0, -5px);
}

.timeline-box:hover,
.timeline-box:focus {
-webkit-box-shadow: 0px 3px 0px 0px #8e8864;/* #ff4769; */
-moz-box-shadow: 0px 3px 0px 0px #8e8864;/* #ff4769; */
box-shadow: 0px 3px 0px 0px #8e8864;/* #ff4769; */
}

.timeline-box {
transition: all 300ms ease-in-out;
-webkit-transition: all 300ms ease-in-out;
-moz-transition: all 300ms ease-in-out;
-o-transition: all 300ms ease-in-out;
}
.steps-area {
padding: 50px 0;
}
i[class^="fa-"], i[class*=" fa-"] {
margin-top: 0px;
}
.timeline .timeline-box {
background: rgba(255, 255, 255, 0.9);
}
.timeline-details_p {
font-size: 1.3rem;
font-weight: 200;
text-align: justify;
}

#fav-leadwrap .fav-overlay {
background-color: rgba(255,255,255,0.88) !important; /* rgba(251, 231, 205, 0.7) !important; */
}

/* =========================== END OF STORY - TIMELINE =========================== */







/* =========================== ÜGYFÉLSZOLGÁLAT - FAVGLYPH J5 =========================== */
/* icons  to center */
.ugyfelfogadas .favglyph-icon-top .favglyph-icon {
  margin: 0 auto;
}

/* icons style */
  .ugyfelfogadas div[id^="favglyph-icon"] i,
  .ugyfelfogadas div[id*=" favglyph-icon"] i{
  /*background-color: #FFFFFF; */
  /*border: 1px solid #DDDDDD; */
  -webkit-border-radius: 25%;
  -moz-border-radius: 25%;
  border-radius: 25%;
  float: left;
  width: 100%;
  padding: 15% 0;
  line-height: 0;
  text-align: center;
}

/* descriptions title */
.ugyfelfogadas div[id^="favglyph"] h2,
.ugyfelfogadas div[id*=" favglyph"] h2,
h2#favglyph-description-title{
font-family: "Open Sans", sans-serif;
font-weight: 600;
font-style: normal;
font-size: 1.4rem;
margin: 28px 0px 14px;
text-transform: uppercase;
text-align: center;
}

/* descriptions text */
.ugyfelfogadas p#favglyph-description-text/*,
.moduletable.ugyfelfogadas div[id^="favglyph"] p,
.moduletable.ugyfelfogadas div[id*=" favglyph"] p*/{
font-size: 18px;
color: #444444;
text-align: center; 
}



/* ===================== CUSTOM ÜGYFÉLSZOLGÁLAT, KAPCS ===================== */
  /*	Önkormányzat - Ügyfélszolgálat - Szervezeti felépítés
    Önkormányzat - Képviselő testület */

    .ugyfelszolgi .kapcsi.row{
      justify-content: center;
    }

    .kapcstext {
        margin-left: 3rem;
    }

    .kapcsi-kontakt-wrap.card,
    .kapcsi-infok-wrap .card {
        margin: 1rem 0rem;
        padding: 2rem;
      box-shadow: 0 0 2px rgb(51 57 66 / 10%), 0 2px 5px rgb(51 57 66 / 8%), 0 5px 15px rgb(51 57 66 / 8%), inset 0 3px 0 #1a83c0;
    }
    .kapcsi-kontakt-wrap p{
        color: #444;
    }
    .kapcsi-kontakt-wrap i{
      color: #40745E; /*Borota zöld */
      font-size: 18px;
    }
    .kapcsi-nev,
    .kapcsi-title {
      color: #40745E !important; /*Borota zöld */
        font-family: "Open Sans", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 24px !important;
        text-align: left;
        line-height: 1.3em;
        margin: 3rem 0px 0px;
        text-transform: uppercase;
      border-bottom: 1px solid #dfe3e7;
    }
    .kapcsi-telo,
    .kapcsi-mail,
    .kapcsi-cim {
        margin: 0rem;
    }
    .kapcsi-titulus {
      color: #8e8864 !important; /* Borota barna */
        font-family: "Open Sans", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 20px;
        text-align: left;
        line-height: 1.4em;
        margin: 0px 0px 1rem;
      /*text-transform: uppercase;*/
    }

    /* icon size between 768px and 991px */
    .ugyfelfogadas .col-lg-4 .favglyph-icon i {
      font-size: 4rem !important;
    }

     /* icon size between 576px and 767px */
    .ugyfelfogadas .col-md-6 .favglyph-icon i {
      padding: 3rem 0;
    }


  /* ===================== END OF KAPCSOLAT ===================== */


/* =========================== END OF ÜGYFÉLSZOLGÁLAT - FAVGLYPH J5 =========================== */







/* =========================== SZOLGÁLTATÓK =========================== */

  .moduletable.szolgaltatok {
    padding: 1rem;
  }
  .konyvtar .moduletable.szolgaltatok {
    margin-top: 3em;
  }
  @media (max-width:790px) {
    .konyvtar .moduletable.szolgaltatok {
      margin-top: 4em;
    }
  }


  .szolgaltatok.favth-light.favth-medium.favth-line {
    background-color:  rgba(255,255,255,0.83); /*#ffffffb8;*/
  }

  /* BG not needed for Ügyfélszolgálat */
  .ugyfelszolgi.szolgaltatok.favth-light.favth-medium.favth-line {
    background-color: transparent !important;
  }

/* =========================== END OF SZOLGÁLTATÓK =========================== */







/* =========================== MÉDIAMEGJELENÉSEK =========================== */

.mediamegjelenesek .btn {
  border-radius: 1.75rem !important;
  padding: 13px 40px 11px 40px !important;
}
.mediamegjelenesek .btn:hover {
  background-color: #8E8864 !important;
}
.mediamegjelenesek .btn i {
  margin-top: 2px; /*8px !important;*/
}
.mediamegjelenesek h3 {
  margin: 0% 0% 1% !important;
}
.mediamegjelenesek #favshowcase-description1 {
  max-height: 75px !important;
  word-wrap: break-word !important;
}


.moduletable.slider {
  height: 300px;
}

.moduletable.mediamegjelenesek div[id^="favshowcase-image"] img,
.moduletable.mediamegjelenesek div[id*=" favshowcase-image"] img {
  outline: transparent;
}

.moduletable.mediamegjelenesek div[id^="favshowcase-box"],
.moduletable.mediamegjelenesek div[id*=" favshowcase-box"] {
  background: #ffffff3d; /*#8e88643d;*/
  padding: 2rem;
}


/*
Médiamegjelenések
Dokumentumok
Rendeletek
Jegyzőkönyvek
Polgi választások
 */
.blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  margin-top: 3.6%;
  background: #fff;
  line-height: 1.4;
  font-family: sans-serif;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
  }
.blog-card a {
  color: inherit;
  }
.blog-card a:hover {
  text-decoration: none;
  color: #5ad67d;
}
.blog-card:hover .photo {
  transform: scale(1.3) rotate(3deg);
}
.blog-card .meta {
  position: relative;
  z-index: 0;
  height: 200px;
}
.blog-card .photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform .2s;
}
.blog-card .details,
.blog-card .details ul {
  margin: auto;
  padding: 0;
  list-style: none;
}
.blog-card .details {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100%;
  margin: auto;
  transition: left .2s;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  width: 100%;
  font-size: .9rem;
}
.blog-card .details a {
  text-decoration: dotted underline;
}
.blog-card .details ul li {
  display: inline-block;
}
.blog-card .details .author:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f007";
}
.blog-card .details .date:before {
  font-family: FontAwesome;
  margin-right: 10px;
  content: "\f133";
}
.blog-card .details .tags ul:before {
  font-family: FontAwesome;
  content: "\f02b";
  margin-right: 10px;
}
.blog-card .details .tags li {
  margin-right: 2px;
}
.blog-card .details .tags li:first-child {
  margin-left: -4px;
}
.blog-card .description {
  padding: 2rem;
  background: #fff;
  position: relative;
  z-index: 1;
}
.blog-card .description h1,
.blog-card .description h2 {
  font-family: Poppins, sans-serif;
}
.blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1.7rem;
}
.blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #a2a2a2;
  margin-top: 5px;
}
.blog-card .description .read-more {
  text-align: right;
  padding: 13px 40px 11px 40px;
  border-radius: 25px;
}

.blog-card .description .read-more a {
  color: white;
  display: inline-block;
  position: relative;
}
.blog-card .description .read-more a:after {
  /*content: "\f061";*/
  font-family: FontAwesome;
  margin-left: -10px;
  opacity: 0;
  vertical-align: middle;
  transition: margin .3s, opacity .3s;
}
.blog-card .description .read-more a:hover:after {
  margin-left: 5px;
  opacity: 1;
}
.blog-card p {
  position: relative;
  margin: 1rem 0 0;
  }
.blog-card p:first-of-type {
  margin-top: 1.25rem;
}
.blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: 5px;
  background: #5ad67d;
  width: 35px;
  top: -0.75rem;
  border-radius: 3px;
}
.blog-card:hover .details {
  left: 0%;
}
@media (min-width: 640px) {
  .blog-card {
    flex-direction: row;
    max-width: 90%;
    min-height: 250px;
  }
  .blog-card .meta {
    flex-basis: 40%;
    height: auto;
  }
  .blog-card .description {
    flex-basis: 60%;
  }
  .blog-card .description:before {
    transform: skewX(-3deg);
    content: "";
    background: #fff;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: -5px;
    z-index: -1;
  }
  .blog-card.alt {
    flex-direction: row-reverse;
  }
  .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    transform: skew(3deg);
  }
  .blog-card.alt .details {
    padding-left: 25px;
  }
}

/* =========================== END OF MÉDIAMEGJELENÉSEK =========================== */








/* =========================== MAP =========================== */

  /* remove click to the pin for more information link */
  .gmapfp_bubble h4 {
    display: none;
  }

  .gm-style-iw-d{
    max-height: 100px;
  }

  p.adresse {
    height: 100px;
  }

  /* center content on mobile size */
  .jt-cs .slide {
    clear: both;
    justify-content: center;
    display: flex;
  }

/* =========================== END OF MAP =========================== */







/* =========================== ACCESSIBILITY TOOL =========================== */


  .djacc__panel.djacc__panel--active{
    max-height: 370px !important;
  }

  .djacc-popup .djacc__panel {
    border-radius: 3px !important;
  }

  .djacc-popup .djacc__openbtn--default,
  .djacc-popup .djacc__close{
    background: #40735d !important;
  }

  .djacc-popup .djacc__bar:after,
  .djacc-popup .djacc__bar:before{
    background: #8e8864 !important;
  }

  .djacc-popup.djacc--light .djacc__btn--active,
  .djacc-popup.djacc--light .djacc__btn--active:hover{
    background: #8e8864 !important;
    border-color: #40735d !important;
  }

  .djacc-popup.djacc--light .djacc__arrows:hover,
  .djacc-popup.djacc--light .djacc__btn:hover{
    border-color: #8e8864 !important;
  }

  .djacc--sticky.djacc-popup {
    margin: 10px 10px !important;
  }

  .djacc-popup.djacc--light .djacc__dec:hover svg [stroke^="#"],
  .djacc-popup.djacc--light .djacc__inc:hover svg [stroke^="#"] {
    stroke: #C46506 !important;
  }

  .djacc-popup .djacc__footer {
    display: none !important;
  }


/* =========================== END OF ACCESSIBILITY TOOL =========================== */







/* =========================== FOOTER =========================== */

.custom-footer {
  width: 100%;  /* Ensure full-width */
  position: fixed; /* Stick to bottom */
  bottom: 0;
  left: 0;
  padding: 10px 20px; /* Adjust padding */
  display: flex;
  justify-content: space-between;  /* Distribute space evenly */
  align-items: center;            /* Align items vertically */
}

.custom-footer a{
  color: #40735D !important;
}
.custom-footer a:hover{
  color: #fff !important;
}

.copyright,
.social-icons {
  padding: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-right: 3em;
}


/* Make the footer fixed at the bottom */
.footer {
  background-color: #000;
  background-image: none;

  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  z-index: 9999;
}

.footer .grid-child {
  padding: 1rem .5em;
}

/* Prevent content from being hidden behind the footer */
.custom-container-wrap {
  padding-bottom: 5rem !important; /* Adjust this value based on the height of your footer */
}

/* =========================== END OF FOOTER =========================== */




/* =========================== ERROR PAGE =========================== */

  /* article view */
  h3.fav404 {
    font-size: 23rem;
    line-height: 1em;
    font-weight: normal;
    text-align: center;
  }
  p.fav404 {
    font-size: 2em;
    margin-top: 3.4%;
    margin-bottom: 2%;
    line-height: 1.2em;
    text-align: center;
  }
  .fav404 a.card.card-btn{
    display: inline;
  }

  /* mobile */
  @media (max-width: 767px) {
    h3.fav404 {
      font-size: 15rem;
    }

  }


/* =========================== END OF ERROR PAGE =========================== */