body {
  font-family: 'MS', Arial, sans-serif;
  font-size: 12pt;
  background-color: rgb(243,243,244);
  color: rgb(35,31,32);
}

/*
body.main { 
  background-color: #004f8a;
  background-image: url('/site/upload/terkoz/decoration-1.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 105px 75px;
}
*/

nav, .megamenu .container, .navbar-default {
  color: white;
  background-color: #004f8a;
  border: none;
}

#main {
  padding: 120px 0px 0px 0px;
}

body.main #main, body.article #main {
  padding: 0px 0px 160px 0px;
}

#main-logo {
  display:block;
  margin: 0px; 
  overflow: hidden; 
  text-indent: -5000px; 
  width: 100%; 
  height: 300px; 
  background-position: 50% 45%; 
  background-size: 555px 842px; 
  background-image: url('/site/upload/terkoz/HF_Logo_vonalas_inv.svg'); 
  background-repeat: no-repeat;
}

body.main #mainbg {
  /*background-image: url('/site/upload/terkoz/main-header-bg.png');
  background-position: top right; */
  background-repeat: no-repeat;
}

#mainbg {
  height: 330px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
}


.navbar>.container .navbar-brand {
  display:block; 
  margin: 10px 60px 10px auto; 
  overflow: hidden; 
  text-indent: -500px; 
  width: 250px; 
  height: 66px; 
  background-position: left center; 
  background-size: 250px 66px; 
  background-image: url('/site/upload/terkoz/HF_Logo_light.png'); 
  background-repeat: no-repeat;
}

#main_intro  {
  display: flex;
  color: white;
  font-size: 14pt;
  background-color: #004f8a;
  margin-top: auto;
}

#main_intro div.half-width:nth-child(2) {
  background-image: url('/site/upload/terkoz/terkoz-header-bg.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;/*800px 107px;*/
}

.container { 
  padding: 0px 40px;
}

.full-width, .half-width, .third-width, .two-third-width {
  padding: 0px;
  flex-basis: 50%;
}

.full-width {
  flex-basis: 100%;
}

.third-width {
  float: left;
  /*margin-right: 1%;*/
  width: 33.3%;
  flex: 0 33.3%;
}

.main_link, .main_link:hover {
  display: flex;
  min-height: 240px;
  height: 30vh;
  max-height: 350px;
  text-decoration: none;
  color: white;
}

.main_link span {
  align-self: flex-end;
  margin: 10px;
  font-size: 20pt;
  font-family: 'MSB', sans-serif; 
}

.ml1 {
  background-color: transparent;
  background-image: url('/site/upload/terkoz/helytorteneti_v.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;}

.ml2 {
  background-color: transparent;
  background-image: url('/site/upload/terkoz/jatszoter_v.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;}

.ml3 {
  background-color: transparent;
  background-image: url('/site/upload/terkoz/szolgaltatok_v.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#main_links {
  margin-bottom:0px;
}

.ml4 {
  background-size: 25% 25%;
  background-repeat: no-repeat;
  background-position: 50% 45%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMDA0MDcwIiBkPSJNMzY4IDE2MC4xYzAgOC44IDcuMiAxNiAxNiAxNnMxNi03LjIgMTYtMTYtNy4yLTE2LTE2LTE2LTE2IDcuMS0xNiAxNnpNMzg0IDY0Yy00Ni41IDAtODUuMyAzMy4xLTk0LjEgNzcuMS0yOS4yLTM2LjYtNDguOS04MC4zLTU2LTEyNy4zQzIzMS44LjYgMjE1LTUuMSAyMDYgNS41Yy0zNS4zIDQxLjctNTMgODguNS01OC43IDEyMi4zLTI1LjMtMjQuNC00Ni01My4zLTYwLjQtODYtNS41LTEyLjYtMjMuMy0xMy4xLTI5LjEtLjctMTYgMzQtMjUuMyA3MS45LTI1LjggMTEyLS42IDQyLjkgOS44IDEzMC4yIDExMC42IDIxMS44TDEzLjggMzk3LjFDMS41IDQwMC4yLTMuOSA0MTQuMyAzIDQyNWMxOS45IDMwLjcgNjguOSA4Mi42IDE3NC44IDg3IDEzLjQuNiAyMi43LTYuOCAyNS4yLTlsNjMuOS01NC44SDMyMGM4OC40IDAgMTYwLTcxLjcgMTYwLTE2MC4xVjE2MGwzMi05NkgzODR6bS0xNzQuMS05LjdjMTQuMSA1MC4zIDQxLjIgOTYgNzguMSAxMzNWMjAwYy00MS4xLTcuNC03OC44LTI0LjMtMTExLjMtNDcuOCAzLjItNDEuOCAxOS40LTc1LjggMzMuMi05Ny45ek00NDggMTU0Ljd2MTMzLjVjMCA3MC42LTU3LjQgMTI4LjEtMTI4IDEyOC4xaC02NC45cy03NS4yIDYzLjgtNzYgNjMuOGMtNzQuNi0zLjEtMTE1LjgtMzIuNC0xMzcuNC01Ni45bDE3MC44LTQyLjdDMTY0LjkgMzQxLjggNjIuNCAyNzYuNCA2NCAxNTMuNWMuMy0yMi43IDMuNy00NC45IDEwLjMtNjYuNEMxNTYuNCAyMjYuMiAzMDAgMjM1LjkgMzIwIDIzOC4ydi03OC4xYzAtMzUuNCAyOC43LTY0LjEgNjQtNjQuMWg4My42TDQ0OCAxNTQuN3oiLz48L3N2Zz4=');
}


.ml5 {
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: 50% 35%;
  background-image: url('/site/upload/terkoz/sztgy.png');
}

.ml6 {
  background-size: 50% 50%;
  background-repeat: no-repeat;
  background-position: 50% 35%;
  background-image: url('/site/upload/terkoz/sztgy-blue.png');
  color: #08598d;
}


.main_intro_text {
  margin-top: 230px;
}

h1.article-header, h1, .articlelist h1 a, #content-area .content h1 a {
  color: #94c7c5;
  font-family: 'MSB', sans-serif /*'Lora', serif;*/ ;
  font-weight: 700;
  font-size: 36pt;
  text-transform: none;
}

#site-404 h1 {
  font-family: 'Lora', serif;
  font-weight: 700;
}

#site-404 h1 span {
  font-weight: normal;
}

h2, .articlelist h2 a, #content-area .content h2 a {
  background-color: transparent;
  color: #94c7c5;
  font-family: 'MSB', Arial, sans-serif;
  font-size: 30pt;
  text-transform: none;
}

h3, .articlelist h3 a, #content-area .content h3 a {
  color: #94c7c5;
  font-family: 'MSB', Arial, sans-serif;
  font-size: 18pt;
  text-align: left;
}

.navbar-default .navbar-nav {
  margin-top: 15px;
}

.navbar-default .navbar-nav>li>a {
  color: #efae4a;
  font-size: 21px;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active:nth-child(1)>a, .navbar-default .navbar-nav>.active:nth-child(1)>a:hover, .navbar-default .navbar-nav>.active:nth-child(1)>a:focus {
  color: #98ca40;
}

#main_links a:focus, .main_links a:focus {
  color:white;
  text-decoration: underline;
}

#subpage { margin: 0px auto; padding: 0px 0px; }

.article #content-area {
  margin: 0px 15px;
}

/* "csempe" */

.searchcategories, .searchresult {
  margin: 30px auto;
}

.searchresult-articlelist .row {
  margin: 0px;
  padding: 0px;
}

.searchresult-articlelist article {
  margin: 0px 0px 30px 0px;
}

.searchresult-articlelist p.address {
  margin: 0px;
}

.searchresult-articlelist p.category {
  margin: 0px;
  font-weight: bold;
  color: #EC795C;
}

.searchresult-articlelist p.url {
  display: none;
}

.searchresult-articlelist p.url a {
}

.searchresult-articlelist p.url a[target="_blank"]:after {
  font-family: 'FontAwesome';
  content:" \f08e";
  text-decoration: none;
}

.searchresult-articlelist p.url a[href=""]:after {
  content:"";
  display: none;
}

.searchresult article, article.col-md-4 {
  min-height: 260px;
  padding: 0px;
}

.searchresult article .inner, article.col-md-4 .inner {
  min-height: 345px;
}

.searchresult article .image-container, article.col-md-4 .image-container {
  height: 220px;
  overflow: hidden;
}

.searchresult article .image-container img, article.col-md-4 .image-container img {
  width: 100%;
}

#content-area .highlighted {
  color: #004f8a;
  font-family: 'MSB';
  font-size: 18pt;
}
/*
.searchresult article:nth-child(3n+1), .row .col-md-4:nth-child(3n+1) {
  clear: left;
}*/

#content-area table a, #content-area table td {
  margin: 0px;
  padding: 0px;
  line-height: 1px;
}

#content-area table img {
  margin: 0px !important;
  border: 0px !important;
}

bold, strong, .strong {
  color: inherit;
}

body.article #main {
  background-position: 50% 95%;
  background-image: url('/site/upload/terkoz/decoration-utvonalv2.png');
  background-repeat: no-repeat;
  background-size: contain;
}

#imgmap20221018172736_jatszoter {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#imgmap20221018172736_seta {
  position: relative;
  width: 67%;
  overflow: hidden;
  padding: 0px;  
  margin: 25px 0px;
}

#imgmap20221018172736_jatszoter img, #imgmap20221018172736_seta img {
  margin: 0px !important;
}

#imgmap20221018172736_jatszoter a, #imgmap20221018172736_seta a {
  position: absolute;
  display: block;
  width: 12%;
  height: 20%;
}

#imgmap20221018172736_seta a {
  width: 4.8%;
  height: 5.4%;
  border-radius: 50%;
  /* background-color: rgba(0,200,0,0.5); */
}

span.kerdes {
  font-weight: bold;
}

#imgmap20221018172736_jatszoter a:hover,
#imgmap20221018172736_seta a:hover {
  /* background-color: rgba(0,200,0,0.5); */
}

#j1 { top: 65%; left: 48%; }
#j2 { top: 52%; left: 22%; }
#j3 { top: 36%; left: 60%; }
#j4 { top: 44%; left: 46%; }
#j5 { top: 23%; left: 44%; }

#s01 { top: 10%; left: 63%; }
#s02 { top: 9.8%; left: 69.6%; }
#s03 { top: 15%; left: 67%; }
#s04 { top: 14.5%; left: 60%; }
#s05 { top: 28.5%; left: 50.3%; }
#s06 { top: 41.5%; left: 49.5%; }
#s07 { top: 44.7%; left: 40%; }
#s08 { top: 63%; left: 33%; }
#s09 { top: 86%; left: 28.7%; }
#s10 { top: 76%; left: 36.5%; }
#s11 { top: 93%; left: 59%; }


#custom-gallery li {height: 200px; overflow: hidden; margin-bottom: 8px; }
#custom-gallery li img {min-height: 200px; }
#custom-gallery li:nth-child(3n+1) {width: calc(33.5% - 8px);margin: 0 8px 0 0; clear: left;}
#custom-gallery li:nth-child(3n+2) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(3n+3) {width: 33%; }


/*
#custom-gallery li:nth-child(1) {width: calc(67% - 8px);margin: 0 8px 8px 0;max-height: 608px;}
#custom-gallery li:nth-child(2) {width: 33%;margin: 0 0 8px;}
#custom-gallery li:nth-child(3) {width: 33%;margin: 0 0 8px;}

#custom-gallery li:nth-child(4) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(5) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(6) {width: 33%;}
#custom-gallery li:nth-child(7) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(8) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(9) {width: 33%;}
#custom-gallery li:nth-child(10) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(11) {width: calc(33.5% - 8px);margin: 0 8px 0 0;}
#custom-gallery li:nth-child(12) {width: 33%;}
*/

.gm-style img {
  max-width: 90px;
  float: left;
  margin: 0px 10px 10px 0px;
}

#map-by-category div.yellow {
  background-color: #FAFC5D;
}

#map-by-category div.yellow label {
  color: black;  
}

#footer { 
  background-color: white;
  padding: 30px 0px;
}

#footer a {
  color: rgb(40,88,142);
  display: inline-block;
  font-weight: bold;
  text-transform: uppercase;
}

a#footer-backlink {
  display: inline-block;
  line-height: 90px;
}

a#footer-backlink:hover {
  text-decoration: none;
}

a#footer-backlink:before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 90px;
  background-image: url(/site/upload/terkoz/icon-nyil.svg);
  background-size: 120px 120px;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  transform: rotate(-90deg);
  margin-right: 5px;
  float: left;
}


#back-top {
  border: 0;
  border-radius: 50%;
  bottom: 45px;
  right: 15px;
  width: 60px;
  height: 60px;
  background-image: url(/site/upload/terkoz/icon-nyil.svg);
  background-size: 120px 120px;
  background-position: 50% 50%;
  background-repeat: no-repeat;  
}

#back-top:after {
  content: "";
}

button.navbar-toggle, #share-post, #content-area time, #site-404 div, .qr, img[src="/site/upload/terkoz/"] { display: none !important; }


/*-------------------
*  <= 1 3 5 0 
*------------------*/
@media only screen and (max-width: 1350px) {

}


/*-------------------
*  <= 1 2 3 0
*------------------*/
@media only screen and (max-width: 1230px) {

}


/*-------------------
*  <= 1 1 9 9
*------------------*/
@media only screen and (max-width: 1199px) {
  #mainbg {
    height: 320px;
    background-size: cover !important;
  }    
}


/*-------------------
*  <= 1 1 4 0 
*------------------*/
@media only screen and (max-width: 1140px) {
  .navbar>.container .navbar-brand {
    margin: 10px 60px 10px auto; 
    background-size: 170px 45px; 
    width: 170px;
  }
}



/*-------------------
*  <= 9 9 1
*------------------*/
@media only screen and (max-width:991px) {
  .navbar-default .navbar-toggle .icon-bar {
    background-color: white;
    border-radius: 3px;
  }

  button.navbar-toggle {
    display: block;
    margin-top: 30px;
  }

  .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a {
    background-color: #94c7c5;
    color: #004f8a;
  }

  header#header {
    height: 80px;
  }

  body.article #main {
    background-position: 50% 96%;
  }

  #imgmap20221018172736_seta {
    width: 100%;
    margin: 30px 0px;
    padding: 0px;
  }

  #custom-gallery li {max-height: 300px; overflow: hidden; }
  #custom-gallery li:nth-child(2n) {width: 48%; margin: 0;}
  #custom-gallery li:nth-child(2n+1) {width: 48%; margin: 0;}

  .container { 
    padding: 0px 20px;
  }
}


/*-------------------
*  <= 7 6 8
*------------------*/
@media only screen and (max-width:768px) {

}


/*-------------------
*  <= 4 7 9 
*------------------*/
@media only screen and (max-width:479px) {
  .full-width, .half-width, .third-width, .two-third-width {
    flex-basis: 100%;
    width: 100%;
    float: none;
  }

  .main_link, .main_link:hover {
    display: flex;
    min-height: 240px;
    height: 30vh;
    text-decoration: none;
    color: white;
  }

  .main_link span {
    align-self: flex-end;
    margin: 10px;
    font-size: 20pt;
    font-family: 'MSB', sans-serif; 
  }  

  body.main #subpage { padding: 0px; }
  body.article #mainbg { display: none; }
  body.article #subpage { margin: 60px 0px; }

  #mainbg {
    height: 75px;
    background-size: cover;
  }

  body.main #mainbg {
    height: 85px;
  }

  #main-logo {
    background-size: 200px 244px; 
    height: 90px;
  }

  body.article #main {
    background-position: 50% 98%;
  }

  body.article .navbar>.container {
    height: 70px;
  }

  body.article .navbar>.container .navbar-brand {
    width: 30px;
    height: 30px;
    background-size: 120px 30px; 
    margin-top: 20px;
  }

  button.navbar-toggle {
    margin-top: 20px;
  }

  header#header {
    height: 50px;
  }

  h1.article-header {
    /*, h3, .articlelist h3 a, #content-area .content h3 a {*/
    font-size: 24pt;
  }

  h2, .articlelist h2 a, #content-area .content h2 a {
    font-size: 20pt;
  }  

  #footer {
    padding: 0px;
    position: relative;
  }

  #footer img {
    max-width: 33%;
  }

  #custom-gallery li { display: none; } 
  #custom-gallery li:nth-child(1) { display: block; width: 100%; }
}


/*-------------------
*  <= 3 5 9 
*------------------*/
@media only screen and (max-width:359px) {


}


/* KIOSK */
@media screen and (width: 1080px) and (height: 1920px) {
  .qr { 
    display: block !important; 
    float: right;
    margin: 15px 0px;
  }

  #footer {
    position: fixed;
    width: 100%;
    bottom: 0px;    
  }

  .dark-outer .dark-image {
    max-width: 90%;
    max-height: 90%;
  }

  .dark-toolbar .dark-icon.dark-close {
    font-size: 48pt;
    margin: 20px;
  }

  .unique-map a[target="_blank"], #dark-download {
    display: none !important;
  }
  /*
  .ml4, .ml5, .ml6 {
    display: none !important;
  }
  */

}
