* {
    box-sizing: border-box;
}
html {
    width: 90%;
    margin: auto;
}
body {
    background-color: rgb(244, 244, 244);

}

h1, h2, h3 {
    color: #0d47a1;
    padding-left: 0;
    
}

#jelmondat {
    font-weight: bold;
    font-style: italic;
    text-shadow: 3px 3px 2px #071E52 ;
    font-size: xx-large;
}

h1 {
    text-align: center;
    margin: 2rem auto 1rem;
}
h2 {
    margin: 1rem 0rem 0.25rem !important;
}
h3 {
    font-style: italic;
}

header h2 {
    font-size: 1.5rem;
    text-align: center;
}

.cflags {
    width: 12vw;
    height: 7vw;
    border: 1px solid black;
}

#eu_f {
    max-height: 7vw;
}

.eu_ff {
    max-width: 20em !important;
}
ul:not(nav ul) {
    /* margin-left: 4rem; */
    padding-left: 2rem;
}
li:not(nav li) {
    line-height: 280%;
}

nav ul li {
    line-height: 125%;
}

.fl {
    float: left;
}

.center {
    text-align: center;
}

.row {
    padding: 1.5rem;
}

.col3 {
    column-count: 3;
}

.pic img, .pic iframe {
    margin: 20px;
    max-width: 500px;
    height: auto;
    width: auto;
    border: 5px solid #50ADE5;
    border-radius: 10px;
    box-shadow: 0 0 100px rgba(7,30,82, 0.5);
}


nav a {
    color: #CE2939  !important;
    font-weight: bold !important;
    font-size: 1.5rem !important;
    /*font-size: 150%;*/
}
h2 a {
    color: #0d47a1 !important;
    /* text-decoration: none; */

}

#tm ul li::marker{
    content:  "💧  ";    
}

nav ul li {
    list-style: none;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;

}

nav ul li:hover{
    background-color: #f0f0f0;
}

.custom-card-agenda a, img:not(.cflags, header){
    width: 90%;
    margin: auto;
    display: block;
}

.custom-toggler {
    border-color: #007bff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #e3f2fd;
    padding: 6px 10px;
    transition: background 0.2s, box-shadow 0.2s;
}

.custom-toggler:focus,
.custom-toggler:hover {
    background: #bbdefb;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,123,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#tm h3 {
    color: #007bff;
    /*text-decoration: 2px wavy #1976d2 underline;*/
    text-align: center;
    letter-spacing: 4px;
}
/* nav div {
    display: flex;
    justify-content: center;
} */

/* header {
    display: flex;
    justify-content: space-around;
    width: 90%;
    margin: auto;
    padding: auto;
    flex-wrap: wrap; /* Új sorba tör, ha nem férnek ki 
} */
header {
    background-color: #fff;
    padding: 0;

}
 header div img{
    max-height: 128px;
    
 }


.custom-card {
    background-color: lightgrey;
    color: #071E52;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
}

.custom-card img {
    width: 95%;
    margin:auto;
    display: block;
    border-radius: 15px;   
}

.custom-card h5 {
    
    text-align: center;
    background-color: #50ADE5; /*gray*/
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

.custom-card-body {
    padding: 10px;
    
}

hr {
    width: 95%;
    height: 6px;
    display: block;
    margin: 10px auto !important;
    background-color: gray;
    border: none !important;
    border-radius: 5px;
}

iframe {
    max-width: 95%;
    /* height: auto; */
    margin: 10px auto;
    display: block;
    border-radius: 10px;
}

.test {
    margin: 0 !important;
}

.custom-card-agenda {
    /* background: linear-gradient(135deg, #f8f9fa 60%, #e9ecef 100%); */
    background: #fff;
    color: #071E52;
    border-radius: 1.0rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.20);
    max-width: 420px;
    min-width: 260px;
    margin: 32px auto;
    padding: 1rem;
    border: 1px solid #d1d9e6;
    transition: box-shadow 0.2s;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}



.custom-card-agenda-title {
    background: #3770C0;
    border-radius: 0.5rem;
    padding: 1.0rem;    
    font-size: 1.0rem;
    line-height: 1.0rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    
}
.link {
    width: max-content;
    padding: 0.5rem;
    
}
.link a, .custom-card-agenda a {
    display: block;
    background: #50ADE5;
    color: #fff;
    font-weight: 500;
    text-align: center;
    border-radius: 0.5rem;
    padding: 1.0rem;
    font-size: 1rem;
    line-height: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}

.link a:hover, .custom-card-agenda a:hover {
    background-color: #6ED0EB;
    color: black;
    text-decoration: none;
 }
