@import url('https://fonts.googleapis.com/css?family=Coda|Forum|Jomhuria|Medula+One|Pompiere|Share');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css');

/*hctd {display:none;}*/
:root{
  /*--text-color: black;*/
  --borderRadius: 5px; /*5px;*/
  --panelColor: #2A3663; /*fejléc és napok menü*/
  --wtextColor: rgba(0, 43, 69,0.1);
  --mtextColor: rgba(24,23,20,0.5); /*rgb(135, 24, 157);/*#B59F78; /* also szovegd szin */
  --bgColor: #eeeeee; /*háttér*/
  --pbtColor:  #A4AFE5; /*#4963a9; /*gombok színe /*#D8DBBD;*/
  --ltextColor: #2A3663; /*menübetű színe*/
  --hbtColor:  #A4AFE5;
  --hbtTColor:  #ff0e500;
  --mtaColor: #A4AFE5;
 
}
body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    padding: 0;
    margin: 0;
    background-color: var(--bgColor);
}
#overlay {
    z-index: 10000;
}
#error {
    z-index: 10001;
}

/*.scbutton {
  position: absolute;
}*/

header, #places {
  border-radius: var(--borderRadius);
  font-family: 'Jomhuria', cursive;
  font-size: 20px;
  height:  80px;
}
header div {
  float: left;
}
#nl {
  font-size: 0.8em;
  font-weight: bold;
  padding-top:0px;
  padding-bottom:0px;
  padding-left:0px;
  height: 20px;
}
.actplace {
 position: relative;
 left: 5vh;
 width: 30vw;
 top:5px;
 font-size: 1.3em;
 text-align: center;
 display: none;
 line-height: 0.8em;
}
#actual {
border-radius: var(--borderRadius); /*35*/
text-align: center;
font-size: 0.8em;
font-weight: 700;
padding-bottom: 10px;
padding-top: 10px;
}
.arrow { display: none; cursor: pointer;}

.navbar {
  position:absolute;
  width: 36px;
  height: 40px;
  right: 20px;
  left: auto;
  display: none;
  padding-top: 15px;
  cursor: pointer;
}
.navbar span {
  width: 30px;
  height: 2px;
  margin-bottom: 5px;
  display: block;
}
#places {
  position:absolute;
  top:0 ;
 /* height: 60px;*/
  display: block;
  padding-right: 10px;
}
header .pn_logo {
 margin-left: 20px;
 margin-top: 10px;
 line-height: 0.7em;
 font-size: 1.4em;
}

#places {
 left: auto;
 right: 0px;
 padding-top: 20px;
}
#places li {
 background: none;
 font-size: 1.2em;
 font-weight: 200;
}
.horiz, .verti {
    overflow:auto;
}
.horiz {
    padding-top: 0;
/*    height: 60px;*/
    line-height: 0.8em;
    display: inline-flex;
    width: auto;
    display: -ms-inline-flexbox;
  }
#years {
    border: 0px;
    border-radius: var(--borderRadius);
    
 }
  .horiz div {
  margin-left: 20px;
  }
.pbt {
/*    display: inline;
    vertical-align: middle;
    height: 100%;*/
}
.pbt span {
    display: table;
    margin: 0 auto;
}
.verti { 
 height: calc(100vh - 105px);
 padding-right: 6px;
}

#ctype .horiz {
    /*background: red;*/
    /*width: calc(100vw - 20% - 60px);*/
}

#pagectrl, .pgct, #ctype {width: calc(100vw - 25%);}
.pgct, .horiz { display: inline-flex; overflow-y: auto;}


#actype {
 /* height: 0px;*/
  border-bottom: 1px solid #ddd; /*???*/
  padding: 5px 0 5px 5px;
  overflow: hidden;
  height:50px;
}

#days {
  position: relative;
  border-radius: var(--borderRadius);
  width: 15%;
  min-width: 120px;
  float: left;
  padding-top: 0px;
  overflow: hidden;
  z-index: 1;
}
#SB1 {
    bottom: 30px;
    top:5px;
    height: calc(100vh - 100px)!important;
}
#ccontainer {
  width: 85%;
  float: left;
  height: calc(100vh - 105px);
  overflow: scroll;
}
#ccontainer #frst {
  height: 50%; 
  min-height: 200px;
}
#ccontainer #scnd {
  height: 50%;
  min-height: 200px;
}
.pgbt {
    float:left; cursor:pointer;
}

.chart-container {height: 45vh;}

#settings {
 border-radius: var(--borderRadius); 
 width: 100%;
 padding-top: 20px;
 text-align: center;
 font-size: 0.8em;
 font-weight: 700;
 bottom: 0px;
 padding-bottom: 50px;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.hbt, .verti div, .pgbt {
  border-radius: var(--borderRadius);
  font-weight: bold;
  padding: 15px 5px 15px 5px;
  margin: 0 5px 0 5px;
}
li:hover, .verti div, .horiz div, .hbt {
  cursor:pointer;
}
.horiz div {
  float: left;
  padding: 0 12px 0 12px;
  margin-right: 10px;
  font-weight: bold;
  /*height: 40px;*/
  padding-top:10px;
}
.horiz div {
  font-weight: 100;
  font-size: 1.2em;
}
.horiz li.is_active, .horiz .hbt.is_active  {
  background-color: transparent;
  border: 1px solid;
}
.verti div {
  margin-bottom: 10px;
  text-align: center;
}
.verti div.is_active {
  background-color: transparent;
}
.dg {
  display: inline; /*block; /* !!! -inline;*/
  width: 20px;
  height: 5px;
}

#footer {
    position: absolute;
    left: 0;
    bottom:0px;
    width:calc(100% - 30px);
    height: 2em;
    background: #333;
    padding-left: 15%;
    margin-left: 30px;
    z-index: 0;
    display: inline-flex;
    display: -ms-inline-flexbox;
    color: #ccc;

}
.bftn__link {
  border: none;
  background-color: inherit;
  padding: 0px 0px;
  font-size: 1em;
  cursor: pointer;
  display: inline-flex;
  display: -ms-inline-flexbox;
}
.bftn__link span{
    color: #ccc;
}
#cscheme { 
  position: relative;
  display: inline-flex;
  display: -ms-inline-flexbox;
/*width: 30%;*/
}
#footer a { color: #ccc;}




/* -------------------- responsive ----------------- */
@media screen and (min-width: 1360px) {
 /* #settings { width: calc(40vw - 215px); }*/
 .pages .active {height: 70vh;}
}
@media screen and (max-width: 1024px) {
  #settings {
    clear:both;
    width: 100%;
    height: auto;
  }
  #ccontainer {
    width: 85%;
  }
 .pages .active {height: 80vh;}

#ccontainer, #days {
  height: calc(100vh - 100px);
}
.chart-container {width: 100vw!important;}
}
@media screen and (max-width: 920px) {
  body {padding:0; margin:0}
  #days,#ccontainer {
    clear: both;
  }
  #SB1 {
    position: relative;
    bottom: 0;
    top:0;
}
#nl {height:auto};
  header { height: 50px; font-size: 0.8em;}
  #days {
   padding-left: 5px;
   width: calc(100% - 0px);
   max-width: 100%;
   clear:both;
   padding-top: 10px;
   padding-bottom: 0px;
   height: 50px;
  }
  #daycontainer {width: auto}
  #actual {padding-bottom:15px;}
  .verti div.bt {
    display: block;
    width: auto;
    height: 35px;
    margin: 0px 5px 5px 0px;
    padding:0px 30px 0 30px;
    line-height: 35px;
    cursor: pointer;
  }
  .verti div span {
     position:relative;
     margin-left: 0px;
     white-space:nowrap
  }
  .verti  {
    padding-top: 0;
    height: 50px;
    line-height: 50px;
    display: inline-flex;
    overflow-y: auto;
    width: 100vw;
    display: -ms-inline-flexbox;
    font-size: 0.8em;
  }
  div.horiz { float:left;}
  #places div.horiz {clear:both; float:none;}
  #places div.horiz .pbt {width: 60%;padding-bottom: 10px}
  .hbt {
	display: block;
	float:left;
	white-space: nowrap;
    }
  #pagectrl, .pgct {
    width:100vw;
  }
  #ccontainer, #settings {
    width: 100%;
  }
  #places {
  position:absolute;
  width: 250px;
  height: 100vh;
  z-index: 100;
  right: 0;
  display: none;
  }
  .horiz {display: block}
  .navbar {display: block;}
  .actplace { display: block;}
  .arrow { display: block;}
  #cookie {
  }
  #footer {
	position: fixed;
	margin-left: 0;
	width: 100%;
  }
}

div.arrcont {position: absolute;width: 20px; height: 20px;}
div.arrow {
  width: 8vmin;
  height: 6vmin;
  box-sizing: border-box;
  position: absolute;
  right: 10px;
  top: 20px;
  transform: rotate(45deg);
  z-index: 100000;
}  
div.arrow:before {
    content: '';
    width: 35%;
    height: 35%;
    border-width: .5vmin .5vmin 0 0;
    border-style: solid;
    border-color: #fafafa;
    transition: .2s ease;
    display: block;
    transform-origin: 35% 0;
  }

  
div.arrow:after {
    content: '';
    float: left;
    position: relative;
    top: -35%;
    width: 35%;
    height: 35%;
    border-width: 0 .5vmin 0 0;
    border-style: solid;
    border-color: #fafafa;
    transform-origin: 95% 0;
    transition:.2s ease;
  }
  
div.arrow:hover::after {
    transform: rotate(45deg);
    border-color: orange;
    height: 55%;
  }
div.arrow  :hover::before {
    border-color: orange;
    transform: scale(.8);
  }
  
#cookie {
   position: fixed;
   bottom: 0;
   background: #111; 
   width: 100%;
   color: #31719B ;
   /*height: 60px;*/
   font-weight: bold;
    z-index: 100000;
}
.scroll-element {z-index: 200}
.cookiet {margin-top: 20px; margin-left: 10%;margin-bottom: 20px;}
.cookiebutton {
  float:right;
 }
.cookiebutton input {background: #222; border: none;}

#cookietext {display: none;}

.page{display: none; height: 50vh; }
.pages .active {display: block; height: 60vh; /*overflow: visible;*/}
.circle {position: relative; float: left; padding: 20px 30px 20px 30px}
.circle strong {position: absolute; left: 80px; top: 100px; font-size: 1.5em;}
.circle span {display: block; text-align:center}

/* --------------- colors ----------*/

#days, header, #places {
background: #ee2f4e;
background: var(--panelColor);
}
#actual {
background: rgba(0, 43, 69,0.1); 
background: var(--wtextColor);
}
#settings {
 background: var(--mtextColor);
}
li, .verti div, .pgbt {
  background: var(--pbtColor);
  color: #c92a45;
  color: var(--ltextColor);
}
#settings, .horiz li, header div, .horiz div {
 color: white;
}
#nl {
  background: #5d6659;
  color: #cccccc;
}
#ctype .hbt, #years {
  background: var(--hbtColor);
/*#88b04b; /*#98b243;*/
}
.hbt.is_active {background: transparent !important; border: 1px solid;}
#ctype .hbt span, #years {
  color:  var(--hbtTColor);
}
.navbar span{
  background: white;
}
.np {background: #17748E}
.ej {background: #123a45;}
.es {background: #eee;}
.sz {background: #aaa;}

#places li:hover {
 color: #aaaaaa;
}
#nl a{
    color: #bcb0e8;
}
.horiz li.is_active, .horiz div.is_active  {
  color: var(--mtaColor);
}
.verti div.is_active {
  border: 1px solid var(--pbtColor);/*#522C69; ???*/
  color: var(--pbtColor);
}

/* --------------- dark ----------*/

.dark body {
    color: white;
    background-color: #222222 !important;
  }

.dark .verti, .dark #SB1, .dark header, .dark #places, .dark #days {
    background: #444444;
}

.dark #settings, .dark #actual{
    background: #333333;
}
.dark .verti div, .dark #ctype .hbt, .dark .pgbt {
    background: #666666;

}
