:root{
    --main-width : 1500px;
    --main-bg-color: #f7e9cc;
    --subdiv-bg-color: #f9f3f3;
    --main-darkblue: #5488b0;
    --main-lightblue: #00adef;
    --main-darkgrey: #2f2f2f;
}

@font-face{
  font-family:"Helvetica";
  src: url("../fonts/Helvetica.ttf");
}
@font-face{
  font-family:"Helvetica-Bold";
  src: url("../fonts/Helvetica-Bold.ttf");
}

body{
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Helvetica" !important;
}

/** SITE COINTAINER */
#main-site{
  /*background-color: #f7e9cc; OLD*/
  background-color: white;
  padding: 0;
}



/** BANNER */
#banner-col{
  padding-right: 0;
  margin-right: 0;
}




a.nav-link:hover > .dropdown-menu{
    display: block;
}
a.nav-link:hover{
  text-decoration: underline;
}

.sub-dropwdown{
  padding-left: 1.5rem !important;
  color: black !important;
}

#close-btn{
    position: absolute;
    font-size: 40px;
    top: 5px;
    right: 30px;
}

.bg-light{
  background-color: white !important;
}
#navbarDropdown{
  color: #00aeed;
}

/** MENU LIST BOOTSTRAP */
#menu-bar{
  /*width: 100%;
  margin: auto;*/
  font-size: 1.15rem;
  font-family: "Helvetica-Bold" !important;
  background-color:  #f8f9fa!important;
}
#navbarSupportedContent{
  margin-left: 0vw;
}

@media screen and (max-width:1600px){
  .expandable-list{
    flex-direction: column !important;
  }
  .dropdown-menu{
    position: relative !important;
  }
}
.carousel-image{
  width: 100%;
  /*height: 9rem;*/
  max-height: 9rem;
  object-fit: cover;
}


.jcarousel-wrapper{
  padding-left: 5px;
}


.dropdown-submenu {
  position: relative !important;
}

.dropdown-submenu .dropdown-menu {
  top: 0 !important;
  margin-top: 0 !important;
  left: 100% !important;
}

@media screen and (max-width:1600px){
  .dropdown-submenu .dropdown-menu {
    left: 0 !important;
  }
}



.dropdown-main-menu{
    margin-top: 0 !important;
}
.subdrown-ul{
  padding-top: 0.5rem !important;
  top: -22% !important;
}

.header-title{
    background-color: #212529;
    color: white;
    width: 100%;
}
.subsite-header-image{
  width: 100%;
  max-width: 100%;
}
/* FŐOLDLAI SEARCH BAR */
#main-wordsearch-bar{
  background-color:#00aeed;
}

.searchForm{
  width: 100%;
  margin: auto;
}

.advanced-search-btn{
  background-color: #5488b0;
  padding: 7px 8px 7px 8px;
  color: white;
  text-align: center;
}

.record-counter{
  color: white;
  /*text-align: center;*/
}

#search-icon-submit{
/*  width: 2.5vw;*/
}

#main-wordsearch-bar .form-control{
  border-radius: 0;
/*  height: 3.5vh;*/
}

@media screen and (max-width:600px){
  #main-wordsearch-bar .form-control{
    height: 6vh;
  }
}

@media screen and (max-width:992px){
  #user-upload-image{
    width: 70%;
  }
  .upload-images-section{
    padding-top: 1rem !important;
  }
  #user-upload-main{
    height: auto !important;
  }

  .header-text{
      display: block !important;
      text-align: center;
      padding: 0 0 5px 0;
  }
}

#file-upload-error-div{
    color: red;
    font-size:1.2rem;
}

@media screen and (max-width:800px){
  #carousel-div{
    height: auto !important;
    max-height: unset;
  }
}

@media screen and (max-width:600px){
  #searchType{
    width: 80%;
  }
  #search-icon-submit{
    width: 16vw;
  }
  #main-wordsearch-bar .form-control{
    height: 6vh;
  }
}

#main-wordsearch-bar .btn{
  border-radius: 0;
}
#main-wordsearch-bar .form-group{
  margin-bottom: 0;
}

/** JCAROUSEL IMAGE */
#carousel-div{
  position: relative;
  width: 100%;
  height: 40vh;
  max-height: 40vh;
}
.main-cover-image{
  width: 100%;
  max-height: 100%;
  object-fit: cover;
}


@media screen (max-width:1500px){
  .col-right{
    text-align: center;
  }
}
.col-right{
  text-align: right;
}
/* TODO EGYIK MIN-width! */
@media screen and (max-width:1300px){
  .col-right{
    text-align: right;
  }
}
@media screen and (max-width:1300px){
  .col-right{
    text-align: center;
  }
}

@media screen and (max-width:1000px){
  .form-element-bot{
    margin-top: 1rem;
  }
}

@media screen and (max-width:600px){
  .form-element-mid{
    margin-top: 1rem;
  }
}




/**YOUTUBE */
#youtube-container{
  margin-top: 1vh;
  margin: auto;
  width: 70%;
  height: 100%;
  max-height: 100%;
}
#youtube-embed{
  width: 100%;
  height: 90%;
}
/* SUBCONTENT */
#sub-content{
  /*width: 90%;*/
  margin: auto;
  position: relative;
}

/** LightSider - ÚJDONSÁGOK */
 #novelties{
   margin-top: 20px;
  width: 100%;
 }

.noveltyImage{
  width: 240px;
  max-width: 250px;
  height: 200px;
  object-fit: cover;

}

.header-text{
    display: inline-flex;
    font-size: 25px;
    color: black;
    width: 80%;
    text-align: center;
    padding: 0 0 5px 0;
}


/** KÉPTÁRS */
#user-upload-main{
  margin-top: 2rem;
  position: relative;
  width: 100%;
  height: 45vh;
  max-height: 45vh;
}
.user-upload-bg-image{
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: cover;
}
#user-upload-image{
  cursor: pointer;
}
.upload-icon-image{
  cursor: pointer;
}
.upload-images-section{
    padding-top: 5rem;
}

#user-upload{
  position: relative;
  margin-top: 20px;
}

#emailMessage{
  display: none;
}
#emailMessage2{
  display: none;
}

#document-div{
  background-color: var(--subdiv-bg-color);
}

.upload-image{
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.upload-icon-image{
  width: 40px;
}
#upload-btn-photo{
  width: 43px;
}
#imageSlider{
  position: relative;
}
#upload-button{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#dataHelpText{
  font-size: 1rem;
  color: grey;

}

.dinamicLabel{
  padding-top: 0.5vw;
  width: 100%;
}

#type_data input[type=checkbox]{
  /*margin-top: 1.5vh;*/
  /*zoom: 2.0;*/
}

input.upload-checkbox{
  margin-top: 1.5vh;
  zoom: 2.0;
}

#dateLabel{
  padding-top: 1.7vw;
}

.helpText{
  font-size: 1rem;
  color: grey;
  max-width:70%;
}

#rules-group{
  display: none;
}

.popup-main #close-btn{

}


.temp-image{
  max-width: 100%;
}


.category-div{
  /*
  flex: 0 0 32% !important;
  max-width: 32% !important;*/
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#firstImage{
  width: 100px;
}
#uploaded{
  background-color: white;
  border: 1px solid grey;
  display: none;
}
.category-link{
  text-decoration: none;
  color: black;
}
.category-link:hover{
  color: black;
}

.category-title{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: black;
  text-align: center;
  padding: 2rem;
  background-color: rgba(225,238,244, 0.8);
  line-height: 25px;
  vertical-align: middle;
/*  opacity: 0.7;*/
  font-size: 20px;
}
.category-title-bg{
  margin: 0;
  padding: 0;
  opacity: 1;
  position: absolute;
  top: 0px;
  width: 93%;
  height: 30px;
  background-color: #eee2e2;
}
._category-subtitle-bg{
  position: absolute;
  bottom: 0;
  width: 92.5%;
  height: 30px;
  background-color: black;
  opacity: 0.7;
}
.category-subtitle{
  color: white;
  width: 50%;
  position: absolute;
  bottom: -1rem; /* TODO */
  background-color: var(--main-lightblue);
  text-align: center;
  left: 50%;
  padding: 0.5rem 0 0.5rem 0;
  transform: translate(-50%,0);
}

.category-org-subtitle-bg{
  /*position: absolute;
  bottom: -2.6vh;*/
  width: 100%;
  height: 30px;
  background-color: black;
  opacity: 0.7;
}
.category-org-subtitle{
  /*width: 100%;
  position: absolute;*/
  bottom: -2.6vh;
  text-align: center;
  margin: 0;
  padding: 0;
  color: white;
  line-height: 25px;
  text-align: center;
  vertical-align: middle;
}

.organization-links{
  margin-top: 0.5rem;
}
.organization-docs{
  color: black;
  text-decoration: none;
  font-size: 1.2rem;
}

.organization-docs a:hover{
  background-color: var(--main-lightblue);
  padding: 0.2rem;
}

.organization-title{
  text-align: center;
}
.organization-title-p{
  font-size: 1.8rem;
  text-align: center;
}

.category-image{
  width: 100%;
  max-height: 100%;
  /*object-fit: cover;*/
}

/**CATEGORIES */
#categories{
  width: 100%;
  display:flex;
  flex-direction: row;
  flex-flow: row wrap;
  margin: auto;
  margin-top: 20px;
  justify-content: center;
}

.categoryMain{
  position: relative;
  width: 400px;
  height: 250px;
  text-align: center;
  margin-left: 5px;
}

.category-col-0 .col-md-12, .category-col-3 .col-md-12, .category-col-6 .col-md-12{
  padding-left: 0;
  padding-right: 20px;
}
.category-col-2 .col-md-12, .category-col-5 .col-md-12, .category-col-8 .col-md-12{
  padding-right:0;
  padding-left: 20px;
}

.category-col-1 .col-md-12, .category-col-4 .col-md-12, .category-col-7 .col-md-12{
  padding-left: 10px;
  padding-right: 10px;
}
#uploaded-popup-div{
  position: absolute;
  top:  0;
  left: 0;
  width: 100%;
  height: 200%;
  z-index: 100;
  background-color: rgba(0,0,0,0.5);
}


/* POPUP */
#popup-div{
  display: none;
  position: absolute;
  top:  0;
  left: 0;
  width: 100%;
  height: 200%;
  z-index: 100;
  background-color: rgba(0,0,0,0.5);
}

#popup-responsive{
  margin: auto;
  margin-top: 10%;
  position: relative;

}

#popup-container{
  width:65%;
  margin: auto;
  margin-top: 10%;
  position: relative;
}
#popup-main{
  padding: 5px;
  background-color: white;
}
#popupTitle{
  display: block;
  width: 100%;
  text-align: center;
}
.sub-title{
  font-size: 16px;
  color: darkgrey;
  width: 100%;
  text-align: center;
  padding: 0 0 5px 0;
}
.date-input{
  width: 200px !important;
  max-width: 200px;
}
.date-select{
  margin-left: 1vw;
  width: 130px;
}


#submit-btn{

}
.dinamic-row{
  margin-top: 20px;
}
#document-div{
  flex: 0 0 96%;
  max-width: 96%;
}
.row{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.btn-remove{
  background-color: #eee2e2;
  color: black;
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/** BANNER */
.banner-col-main{
  padding-left: 0;
  padding-right: 0;
}
#logo-image{
	/*
  width: 65%;
  height: auto;*/
  width: 95%;
  margin-top: 15%;
}
#digitar-logo-image{
  margin-top: 2rem;
  width: 85%;
  /*
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translate(-10%,-50%);*/
}

.banner-helper{
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

/** FOOTER */

#mainFooter{
  margin-top: 2rem;
  min-width: 100%;
  width: 100%;
  min-height: 25vh;
  position: relative;
  background-color: #2f2f2f;
  border-top: 10px solid var(--main-lightblue);
}

.footer-container{
  width: 100%;
  margin: auto;
  padding-top: 5vh;
}
.footer-container li{
  list-style-type: none;
}
.footer-link-title{
  width: 100%;
  font-size: 1.1vw;
  text-indent: 2vw;
}
.footer-links a{
  font-size: 1vw;
  color: black;
}

.footer-half-image{
  width: 95%;
  max-width: 95%;
}
.footer-full-image{
  width: 100%;
  height: auto;
}
.bottom-banner-left{
  padding-left: 1rem;
  padding-right: 1rem;
}
.bottom-banner-mid{
  /*
  border-left : 2px solid var(--main-lightblue);
  border-right: 2px solid var(--main-lightblue);*/
  padding-left: 1rem;
  padding-right: 1rem;
}

.bottom-banner-right{
	margin-top: 10%;
}
@media screen and (max-width:600px){
  .bottom-banner-right{
    margin-top: 1rem;
  }
}
.footer-img-container{
  position: relative;
}
.footer-image{
  /*width: 15vw;

  max-width: 15vw;*/
max-width: 90%;
}



#footer-logo{
  /*width: 100%;*/
  /*
  position: absolute;
  width:17vw;
  left: 40%;
  top: 50%;
  transform: translate(-50%,-50%);
  object-fit: cover;
  */
}
.link-div a{
  color: black;
  text-indent: 0;
}

.descArea{
  resize: both;
}

#all-rights{
  font-size: 0.8rem;
  color: white;
}

#made-by-col{
  text-align: right;
}
#made-by{
  font-size: 0.8rem;
  color: white;
  padding-right: 1.5rem;
}

/*SEARCH PAGE*/
.shortend-title{
  max-width: 200px;
  white-space: nowrap;
 overflow: hidden;
 text-overflow: ellipsis;
}
.lSPager{
  display:none;
}
.dropdown-menu{
}

.dropdown-main-menu{
  left: 1vw !important;
}

.dropdown-sub-menu{
  position: relative !important;
  float: left !important;
  margin-left: 2vw !important;
  top: 0 !important;
  border: 0 !important;
}

.record-wrap{
  min-height: 25vh !important;
}

#dropdown-menu2{
  left: 27vw !important;
}
#navbar-link-icons{
}

#katalogus-img{
  width: 20px;
  top: 0px;
  vertical-align: top;
}

/**
feedback*/
#feedback-popup{
  position: absolute;
  top:  0%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(0,0,0,0.5);
}
#feedback-wrapper{
  position: relative;
  width: 100%;
  height: 100%;
}
#feedback-content{
  position: absolute;
  width: 60%;
  top: 50%;
  margin: auto;
}

.search-header{
  width: 100%;
  max-width: 100%;
}
/* AUDIO */
.audio-title{
  /*color: black;*/
  text-decoration: none;
  width: 270px;
  text-align: center;
  margin: auto;
  max-width: 270px;
  max-height: 40px;
}
.audio-link {
  color: black;
}
.audio-wrap{
  padding-bottom: 2vh;
}

.highlighted-title{
  font-weight: bold;
}
.audio-content{
  text-align: left;
}

.section-inner{
  width: 75%;
  margin: auto;
}

/**ebook */

.ebook-container{
  margin: auto;
  height: 60vh;
}
.pdf-container{
  height: 100%;
}
.wide-pdf-container{
  margin: auto;
  height: 80vh;
}
/*/IDEIGLENES*/
.disabled-menu{
  color: grey !important;
}
/* GLOBÁL */
.record-title{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  /*font-weight: bold;*/
  /*
  width: 270px;
  max-width: 270px;
  */
  width: 90%;
  max-width: 90%;
  margin-bottom: 0;
}
.record-link{
  max-width: 270px;
}
.record-date{
  line-height: 1;
}
.person-record-title a{
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width:330px;
  max-width: 330px;
}
.external-source-label{
  font-weight: bold;
}
.external-source-link{
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}


.record-link{

  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: black;
}
.abc-category{
  margin: auto;
  width: 90%;
}

.abc-category-public a{
  color: black;
  font-size: 1.2vw;
}

.abc-category-public a:hover{
  font-size: 1.3vw;
  font-weight: bold;
}

.person-name{
  text-align: left;
}
.person-title a{
  color: green;
  font-size: 1.1vw;
}

.person-main-row{
  background-color: rgba(225,238,244, 0.7);
}

.person-list-section{
  position: relative;
  width: 70%;
  margin: auto;
  background-color: white;
  padding: 1vw;
}
.abc-category-public{
    width: 100%;
}
/**AUDIO*/
/*PAGER*/
/**TELEPÜLÉSTÖRTÉNETI KUTATÁSOK OLDAL */

.settlement{
  width: 100%;
  height: 27rem;
  max-height: 27rem;
}
.abc-category-settlement{
  width: 100%;
}
.abc-category-settlement a{
  color: black;
  font-size: 1.4rem;
  padding-left : 0.2rem;
  padding-right: 0.2rem;
}

.abc-category-settlement-wrapper{
  display: inline-block;
}

.abc-category-settlement-wrapper:hover{
  font-weight: bold;
  transform: scale(1.2);
}

.settlement-title{
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  font-size: 3.5vw;
  color: black;
  transform: translate(-50%,-50%);
  text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}
.settlements-title{
  font-weight: bold;
  font-size: 1vw;
}
.settlements-title-p{
  font-size: 1.4vw;
  text-align: justify;
}

.settlement-link{
  font-size: 1.7vw;
  color: grey;
  text-decoration: none;
}
.settlement-docs{
  color: black;
  text-decoration: none;
  font-size: 1.6rem;
}

.settlement-persons{
    color: darkgreen;
    text-decoration: none;
    font-size: 1.3rem;
}

.settlement-person-list{
  list-style-type: none;
  text-align: center;
  padding-left: 0;


}
.settlement-person-list ul{

}
.settlement-docs:hover{
  /*text-decoration: none;*/
  color: black;
}

.settlements-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settlements-image-container{
  padding: 0 !important;
  height: 100%;
}
.settlement-col{
  padding-left: 3.5rem !important;
}

.settlement-subtitle-bg{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: black;
  opacity: 0.7;
}

/** ELÉRHETŐSÉGEK OLDAL */
.address-title{
  font-size: 1.5vw;
}
.address-data{
  font-size: 1.1vw;
}
#contact-title{
  left: 0.5rem;
  font-weight: bold;
  font-size: 1vw;
}
.contact-image{
  padding-top: 1vh;
  padding-bottom: 1vh;
  width: 100%;
}
.map-container{
  width: 100%;
  height:100%;
  min-height: 50vh;
}
#map{
  width: 100%;
  height: 100%;
}

.inner-section{
    width: 80%;
    margin: auto;
    background-color: #f8f9fa;
    border-left : 1px solid black;
    border-right : 1px solid black;
    padding-bottom: 2rem;
}
#mainContent{
  border-top: 0px solid black;
}
.button-default{
  /*background-color: #c8b185;
  border-color: #c8b185;
  color: black;*/
  background-color: #006d98;
  border-color: #006d98;
  color: white;
}

.button-back{
  color: black;
  font-size: 1.2rem;
}

.site-header{
  width: 100%;
  /*background-color: #c8b185;*/
  background-color: var(--main-darkgrey);
  color: white;
  text-align: center;
}
.site-header a{
  color: white;
}
.site-header-title{
  font-weight: bold;
  font-size: 2rem;
}

.validation-error{
  color: red;
}

.page-item.active .page-link{
/*  background-color: #c8b185 !important;
  border-color: #c8b185 !important;*/
  background-color: var(--main-lightblue) !important;
  border-color: var(--main-lightblue) !important;
  color: white !important;
}
  &.active .page-link{
}
.page-link{
/*  color: #c8b185 !important;*/
  color: var(--main-lightblue) !important;
}

.dropdown-item:hover, .dropdown-item:focus {
  background-color: var(--main-lightblue) !important;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--main-darkblue) !important;
}


/*SERVICES */
.main-text-services table{
  max-width: 100% !important;
  width: 70% !important;
}
.jcarousel-pagination{
  display: none;
}


@media only screen and (max-width: 900px){
	.carousel-image{
		width: 90%;
	}
	#logo-image{
		width: 35%;
	}
	#digitar-logo-image{
		margin-top: 0;
	}
}

/*Results javítás*/

@media only screen and (max-width: 730px){
  #col-page-count{
    width: 10%;
  }
  #col-sort-type{
    width: 38%;
  }
  #col-grid-view{
    width: 8%;
    /*margin-top: -3px;*/
  }
  #col-list-view{
    /*margin-top: -3px;*/
    width: 8%;
  }
}

@media only screen and (max-width: 450px){
  #col-page-count{
    width: 40%;
  }
  #col-sort-type{
    width: 60%;
  }

  #col-page-count select{
    display: block;
    margin: 0 auto;
  }
  #col-sort-type select{
    display: block;
    margin: 0 auto;
    float: right;
  }

  #col-grid-view{
    width: 50%;
  }
  #col-list-view{
    width: 50%;
  }

  #col-page-count select {
    width: 170px;
    float: left;
    text-align: center;
  }
  #col-grid-view{
    width: 70%;
    justify-content: space-between;
  }

}

#col-grid-view{
  display: flex;
  flex-direction: row;
  margin: auto;
}
#col-grid-view a{
  padding-left: 0.5rem;
}
