/* 
    CSS RESET
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, div {
    position: relative;
	display: block;
    box-sizing: border-box;
}
body {
	line-height: 1;
    font-size: 18px;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
svg path{
    transition: all ease 0.4s;
}
.hidden {
    display: none;
}
.show {
    display: block;
}
.margin-top15 {
    margin-top: 15px;
}

/* 
    CSS - custom

    Blue color: #00407A

*/
body {
    --blue-color: #00407A;
    --red-color: #B91818;
    font-family: "Noto Sans", Sans-serif;
}

section#main {
    width: 1243px;
    margin: 0 auto;
    padding: 20px; /* az élesen törlendő! */
}
#map-container {
    width: 1203px;
}
#map {
    width: 100%;
    height: 652px;
    background-image: url('./1b.jpg');
    background-repeat: no-repeat;
    background-size: auto;
}
.marker-tooltip {
    display: none;
    position:absolute;
    width: auto;
    height: auto;
    background-color: var(--blue-color);
    color: #FFF;
    padding: 5px 15px 5px 20px;
    z-index: 100;
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 10px 100%, 0% 50%, 10px 0%);
    clip-path: polygon(100% 0%, 100% 100%, 10px 100%, 0% 50%, 10px 0%);
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
#map-sidebar {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 280px;
    height: 550px;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.21);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.21);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.21);
    background-color: #FFF;
    border-radius: 8px;
    overflow: hidden; 
}
#stations-container-1, #stations-container-2 {
    position: absolute;
    width: 280px;
}
#stations-container-1 {
    opacity: 1;
}
#stations-container-2 {
    opacity: 0;
    left: 300px;
}
#map-sidebar p {
    padding: 10px;
    font-size: 1em;
    color: white;
    background-color: #00407A;
    border-bottom: 1px solid var(--blue-color);
}
#stations, #selected-station {
    height: 500px;
    padding: 10px;
    overflow-y: scroll;
    scrollbar-color: var(--blue-color) white;
    scrollbar-width: thin;
}
#stations ul li {
    display: block;
    position: relative;
    padding: 5px 10px;
}
#stations ul li a {
    display: block;
    color: black;
    font-size: .8em;
    padding-left: 10px;
    text-decoration: none;
}
#stations ul li a::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 8px;
    width: 5px;
    height: 5px;
    background-color: #dedede;
    transition: all ease 0.3s;
}
#stations ul li a:hover {
    display: block;
    color: var(--blue-color);
    font-weight: 500;
    font-size: .8em;
    padding-left: 12px;
    text-decoration: none;
    transition: all ease 0.3s;
}
#stations ul li a:hover:before {
    background-color: var(--blue-color);
    transition: all ease 0.3s;
}

#map-sizer {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-flow: column nowrap;
    gap: 10px;
}
#increment-sizer {

}
#size-inc {

}
#size-desc {
    
}
#descrement-sizer {

}
.sizerButton svg:hover path {
    stroke: red;
    stroke-width: 4;
    transition: all ease 0.4s;
}

#map-footer {
    display: flex;
    flex-flow: row wrap;
    background-color: var(--blue-color);
    color: #FFF;
    padding: 10px;
}
.map-footer-left {
    padding: 20px;
    width: 30%;
    color: inherit;
    font-size: 1.9em;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
}
.decor-line {
    width: 20%;
    height: 3px;
    background-color: var(--red-color);
    margin: 0 0 20px 0;
}
.map-footer-center {
    width: 35%;
    color: inherit;    
}
.map-footer-right {
    width: 35%;
    color: inherit;
}

.map-footer-center ul, .map-footer-right ul {
    display: flex;
    flex-flow: column wrap;
    justify-content: space-evenly;
    height: 100%;
}
.map-footer-center ul li, .map-footer-right ul li {
    display: block;
    width: 100%;
    height: 40px;
    font-size: .8em;
    font-weight: 300;
    padding-left: 40px;
    background-position: left;
    background-repeat: no-repeat;
    background-size: 1.8em;
    line-height: 2.5em;
    margin: 10px 0;
}

#selected-station-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--blue-color);
}
.footer-list-1 {
    background-image: url("./images/map-footer/allomas.png");
}
.footer-list-2 {
    background-image: url("./images/map-footer/peronteto.png");
}
.footer-list-3 {
    background-image: url("./images/map-footer/peronaluljaro.png");
}
.footer-list-4 {
    background-image: url("./images/map-footer/jegy.png");
}
.footer-list-5 {
    background-image: url("./images/map-footer/pr.png");
}
.footer-list-6 {
    background-image: url("./images/map-footer/zajvedo.png");
}
#selected-station-header-back {
    margin-left: 16px;
}
#selected-station-header-back a:hover svg path {
    stroke: var(--red-color);
    stroke-width: 4;
}
.selected-header-title {
    padding: 10px 20px 10px 10px;
    font-size: 1em;
    color: var(--blue-color);
}
#selected-station p {
    border: none;
    background-color: #eeeeee;
    color: var(--blue-color);
}
#selected-station ul {
    display: block;
    position: relative;
    padding: 0 10px 10px 10px;
    border-bottom: 1px solid #000;
}
#selected-station ul li {
    position: relative;
    display: block;
    font-size: .8em;
    line-height: 1.3em;
    margin: 20px 0 20px 20px;
    padding-left: 20px;
}
#selected-station p.hir-title {
    background-color: white;
    border: none;
    margin-top: 10px;
}
#selected-station img {
    width: 100%;
    height: auto;
}
#selected-station .more-news-button {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--blue-color);
    border-radius: 8px;
    background-color: #FFF;
    padding: 15px;
    margin: 15px 0;
    font-size: .9em;
    font-weight: 600;
    text-decoration: none;
    color: var(--blue-color);
    transition: all ease 0.3s;
}
#selected-station .more-news-button:hover {
    color: #FFF;
    background-color: var(--blue-color);
    transition: all ease 0.3s;
}
#selected-station .more-news-button:hover i {
    background-image: url("./images/map-sidebar/arrow-left-white.svg");
}
#selected-station .more-news-button span, #selected-station .more-news-button i {
    display: block;
}
#selected-station .more-news-button i {
    width: 24px;
    height: 24px;
    background-image: url("./images/map-sidebar/arrow-left.svg");
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    transform: rotate(180deg);
    background-repeat: no-repeat;
    background-position: center;
}
.epulet::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/epulet.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}

.peronteto::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/perontető_icon.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.magasperon::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/magasperon.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.peronaluljaro::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/gyalogos_peronaluljaro.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.lift::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/lift.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.peronteto::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/peronteto_icon.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.jegy::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/jegykiado.svg');
    top: -1px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.pr::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/P+R_Icon.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.br::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/B+R_icon.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}
.zajvedo::before {
    position: absolute;
    content: "";
    background-image: url('./images/map-sidebar/zajvedo.svg');
    top: -3px;
    left: -12px;
    width: 24px;
    height: 24px;
}


