/* Always set the map height explicitly to define the size of the div
* element that contains the map. */

@font-face{

  font-family: "Pluto Sans DPD";
  src: url(PlutoSansDPDExtraLight.ttf);
}

button, input, optgroup, select, textarea , * {
    font-family: "Pluto Sans DPD";
}

.div1{
    order: 1;
    width: 60%;
    margin-right: 20px;
    margin-left: 7px;
}

.div2{
    order: 2;
    width: 40%;
    max-height: 60px; 
    margin-right: 7px;
}

#map {
    height: 100%;
    width: 70%;
    float: right;
    margin-left: 10px;
}

.default_container{
  border: 1px solid #dc0032;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

#fejlec_div{
    height: 20%;
    width: 100%;
    min-height: 130px;
}

#map_keret{
    background-color: #e6e7e8;
    padding: 5px;
    height: 80%;
    /*display: flex;*/
    flex-wrap: wrap;
    width: 100%;
}

#kereso_div{
    padding-bottom: 10px;
    width: 100%;
    display: flex;
    margin-top: 10px;
    flex-wrap: unset;
}

#csomagpont_kereso{
  width: 28%;
  height: 100%;
  padding-top: 5px;
  padding-left: 7px;
  padding-right: 15px;
  padding-bottom: 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  float: left;
  background-color: rgba(128, 130, 133, 0.5);
  word-break: break-word;
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.3);
}

/* ha a szélesség túl kicsi átrendezzük a diveket*/
@media (max-width: 550px) {
    
    #map {
        height: 80%;
        width: 100%;
        margin-top: 6px;
    }
    
    #csomagpont_kereso{
      flex-basis: 100%;
      box-sizing: border-box;
      height: 20%;
      width: 100%;
    }
    
    #header-title{
      display: none;
    }
    
    .kivalaszt_button {
        width: 80%;
    }
  
}

@media (max-width: 350px) {
    
    .div1, .div2{
        width: 100%;
        padding: 5px;
        margin: 5px;
    }
    
    .div1{
        order: 2;
    }
    
    .div2{
        padding-top: 10px;
        order: 1;
    }
    
    #kereso_div{
        flex-wrap: wrap;
        margin-top: 0px;
    }
    
    
    #fejlec_div{
        height: 35%;
        height: 190px;
    }
    
    #map_keret {
        height: 65%;
    }
    
    .kivalaszt_button {
        width: 100%;
    }
}


/* Optional: Makes the sample page fill the window. */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "Pluto Sans DPD";
    word-wrap: break-word;
}

.pudo_info_window{
    border: none;
    padding: 5px;
}

table{
    border: none;
    padding: 0px;
    word-wrap: break-word;
}

.header {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    background: #414042;
    -webkit-box-align: center;
    align-items: center;
    color: white;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    background-color: transparent;
}

.header, .header .header-img {
    max-height: 50px;
    vertical-align: center;
}

select::-ms-expand {
    display: none;
}

.searchbar_div{
    border: 1px solid grey;
    border-radius: 10px;
    align-items: right;
    height: 500px;
    overflow: auto;
}

input[type=text]{
    padding: 10px;
    border: 1px solid #e6e7e8;
    border-radius: 5px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

input[type=text]:hover{
  box-shadow: unset;
  outline: 1px solid #dc0032;
}

input[type=text]:focus{
    outline: 2px solid #dc0032;
    box-shadow: unset;
}



span.deleteicon {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
}
span.deleteicon span {
    position: absolute;
    display: block;
    right: 10px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #fff;
    background-color: #ccc;
    font: 13px monospace;
    text-align: center;
    line-height: 1em;
    cursor: pointer;
}
span.deleteicon input {
    padding-right: 30px;
    box-sizing: border-box;
}

select{
    width: 100%;
    padding: 10px 15px;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: 0.4s;
}

select:focus{
    outline: 2px solid #dc0032;
}

.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #808285;
    background-color: white;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100.5%;
    left: 0;
    right: 0;
    padding: 10px;
    word-wrap: break-word;

}
.autocomplete-items div {
    padding: 3px;
    cursor: pointer;
    background-color: #fff;
    border: 2px solid transparent;
    border-bottom: 1px solid #d4d4d4;
    padding-left: 5px;
    padding-right: 5px;
    word-wrap: break-word;
}
.autocomplete-items div:hover {
    /*when hovering an item:*/
    /*background-color: #e9e9e9;*/
    border: 2px solid #808285 !important;
    color: white;
}


.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    border: 2px solid rgba(169, 0, 52) !important;
    /*color: white;*/
}

.autocomplete-items div table{
  border-radius: 15px;
  word-wrap: break-word;
}

.autocomplete-items div table td{
  padding: 2px;
  word-wrap: break-word;
}

td, th, tr{
  background-color: unset;
  color:unset;
}

td:hover{
  background-color: unset;
}

#cim_keresoautocomplete-list div table *{
  background-color: unset;
}

#cim_keresoautocomplete-list{
  max-height: 200px;
  overflow: auto;
  border-radius: 0 5px 0 5px;
}


#cim_keresoautocomplete-list div{
  box-shadow: inset 0 0 0 0 rgba(128, 130, 133, 0.3);
  -webkit-transition: all ease 0.8s;
  -moz-transition: all ease 0.8s;
  transition: ease-in 0.4s;
  padding: 5px;
  text-align: center;
  overflow: hidden;
}

#cim_keresoautocomplete-list div:hover *{
    color:white;
}

#cim_keresoautocomplete-list div:hover{
    /*background-color: rgba(128, 130, 133, 0.3);*/
    color: white;
    border-bottom: 2px solid rgba(169, 0, 52) !important;
    box-shadow: inset 100pc 0 0 0 rgba(65, 64, 66, 1);
    transition: ease-out 0.6s;
    
}


#cim_kereso_bal div{
  box-shadow: inset 0 0 0 0 rgba(128, 130, 133, 0.3);
  -webkit-transition: all ease 0.8s;
  -moz-transition: all ease 0.8s;
  transition: ease-in 0.4s;
  padding: 5px;
  text-align: center;
  overflow: hidden;
}

.autocomplete_b_class{
  background-color: #e6e7e8;
}



/* CSS */
.kivalaszt_button {
    background: #dc0032;
    backface-visibility: hidden;
    border-radius: .375rem;
    border-style: solid;
    border-width: .125rem;
    box-sizing: border-box;
    color: #e6e7e8;
    cursor: pointer;
    display: inline-block;
    font-size: 1.125rem;
    font-family: "Pluto Sans DPD";
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
    padding: .500rem 1.125rem;
    position: relative;
    text-align: left;
    text-decoration: none;
    transform: translateZ(0) scale(1);
    transition: transform .2s;
    user-select: none;
    width: 70%;
    -webkit-user-select: none;
    touch-action: manipulation;
  }
  
  .kivalaszt_button:not(:disabled):hover {
    transform: scale(1.05);
  }
  
  .kivalaszt_button:not(:disabled):hover:active {
    transform: scale(1.05) translateY(.125rem);
  }
  
  .kivalaszt_button:focus {
    outline: 0 solid transparent;
  }
  
  .kivalaszt_button:focus:before {
    content: "";
    left: calc(-1*.375rem);
    pointer-events: none;
    position: absolute;
    top: calc(-1*.375rem);
    transition: border-radius;
    user-select: none;
  }
  
  .kivalaszt_button:focus:not(:focus-visible) {
    outline: 0 solid transparent;
  }
  
  .kivalaszt_button:focus:not(:focus-visible):before {
    border-width: 0;
  }
  
  .kivalaszt_button:not(:disabled):active {
    transform: translateY(.125rem);
  }



  /*
   * night mode switch
  */

  /* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    top: 2px;
    left: 4px;
    bottom: 24px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
    padding-bottom: 10px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  #slider_container{
    height: 40px;
    width: 110px;
    background-color: #414042;
    border: 1px solid #414042;
    border-radius: 15px;
    padding-bottom: 10px;
    float: right;
  }


  /*****************************************/
  /* pudo combo */
 
  /* The container must be positioned relative: */
.custom-select {
    position: relative;
    display: inline-block;
    font-family: "Pluto Sans DPD";
    height: 100%;
    transition: 0.3s;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6);
  }

  .custom-select:hover{
    box-shadow: unset;
    outline: 1px solid #dc0032;
  }


.custom-select select {
    display: none; /*hide original SELECT element: */
  }
  
.select-selected {
    background-color: white;
    max-height: 30px;
    display: inline-block;
    overflow: hidden;
    width: 100%;
    padding: 5px;
 }

   /*****************************************/

  .bal_kereso-div_element{
    background-color: #e6e7e8;
    border-radius: 10px;
    border: 1px solid #808285;
    padding: 8px;
    margin: 10px;
    cursor: pointer;
    color: #414042;
    word-break: break-word;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
  }
  
  .bal_kereso-div_element *{
      transition: 0.3s;
  }
  
  .bal_kereso-div_element h6{
    color: #dc0032;
    font-weight: 900;
  }
  
  .bal_kereso-div_element smaller{
    font-size: 12px;
    font-weight: bold;
  }

  .bal_kereso-div_element:hover{
    border:1px solid #dc0032;
    box-shadow: unset;
  }

  .bal_kereso-div_element:active{
    transform: scale(0.9);
  }
  
  /* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 8px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
  }
  
  /* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
  }
  
  /* style the items (options), including the selected item: */
  .select-items div,.select-selected {
    border: 1px solid transparent;
    cursor: pointer;
  }

  .select-items div{
    border-bottom: 1px solid #414042;
    transition: 0.5s;
    padding: 8px;
  }
  
  /* Style items (options): */
  .select-items {
    position: absolute;
    background-color: rgba(230, 231, 232, 1);
    border: 1px solid #808285;
    border-top: unset;
    max-height: 200px;
    overflow: auto;
    border-top: 0;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 5px;
  }
  
  /* Hide the items when the select box is closed: */
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgb(64, 62, 65, 0.8);
    color: white;
    border-color: #dc0032;
  }

  .same-as-selected{
    background-color: #808285;
  }


  .hours_info_table{
    cursor: pointer;
  }

  .hours_info_table tr{
    border-bottom: 1px solid #e6e7e8;
    transition: 0.3s;
  }

  .hours_info_table td{
    border: none;
  }

  .hours_info_table tr:hover{
    background-color: #414042;
    color: white;
    border-left: 1px solid #dc0032;
  }


  .other_description_span{
    font-size: 13px;
  }
  
  
  
  
  /* Customize the scrollbar's width and color (for Webkit browsers) */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
}
