/*  Google Fonts betűtípus-importok  */
@import url('https://fonts.googleapis.com/css?family=Roboto:100i,300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:200i,300&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400&display=swap');

body {
    display: grid;
    overflow-y:scroll;
}

/* Rács elemei: */
header {
    grid-area: fejlec;
}

#teteje {
    position: absolute;
    top: 0px;
}
.felolvasohoz {
    position: absolute;
    left: -999em;
}

aside #bal {
    grid-area: baloldalsav;
}

nav, 
#nav {
    grid-area: menu;
}

main {
    grid-area: fo;
}

#fontos {
    position: absolute;
    float: left;
    width: 12%;
    left: 0.3rem;
    background-color: rgba(255, 148, 33, 0.4);
    background-image: url(../img/mezotour2024back.jpg);
    background-repeat: no-repeat;
    background-position-y: 20%;
    background-position-x: 50%;
    background-size: 250%;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0.8rem;
}

.fontoslink {
    text-decoration: none;
    color:rgb(86, 2, 2);
}
.fontoslink:hover {
    text-decoration: underline;
    font-weight: bolder;
    color:rgb(160, 14, 14);
}

aside #jobb {
    grid-area: jobboldalsav;

}

footer {
    grid-area: lablec;
}

/* Alapbeállítások */
html {
    background-color: lightgray;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: inherit;
}

body {
    margin: 0px auto;
    min-width: 320px;
    /*	max-width: 1600px;  */
    background-color: lightgray;
    position: relative;
    margin: 0;
    padding-bottom: 0rem;
    min-height: 100%;
}

header,
nav,
main,
aside,
footer,
#nav {
    overflow: hidden;
    padding: 0px;
}

main {
    background-color: floralwhite;
    padding: 15px 15px;
}

aside {

}

footer {
    background-color: rgb(160, 120, 100);
    color: white;
    font-style: italic;
    text-align: center;
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0;
    text-align: center;
    letter-spacing: 1.2px;
}
footer p{
    margin: 2px 0px;
}

header {
    position: relative;
    background-color: black;
    background-position: center;
    height: 200px;
}

.fejlec {
    /*  az oldalak fejléce  */
    background-image: url(../img/fejlec.jpg);
    background-size: cover;
}

#oldalcim {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 55px;
    font-family: 'Montserrat', sans-serif; 
    color: white;
    text-shadow: 4px 4px 10px black,
                 0px 0px  5px black;   
}
#oldalcim h1 {
    font-size: 50px;
    font-weight: 600;
    font-stretch: extra-expanded;
    font-style: italic;
}
#oldalcim h2 {
    font-size: 30px;
    font-weight: lighter;
    margin-top: -35px;
    padding-left: 23vw;
    padding-right: 23vw;
}

article h2,
div #magamrol h2 {
    font-family:  'Open Sans', sans-serif;
    font-size: 2vw;
}

article .szoveg,
div #magamrol .szoveg {
    font-size: 1.65vw;
}

.leiras {
    font-size: 1.9vw;
}

nav, 
#nav {
    background-color: rgba(30, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.6);
    z-index: 99;
}

nav .normal, 
#nav .normal {
    list-style-type: none;
    margin: 3px;
    padding: 5px;
    overflow: hidden;
  /*  border: 1px solid white; */
    font-size: 20px;
    float: left;
}

nav li, 
#nav li  {
    display: block;
    float: left;
    color: brown;
}

nav li a, 
#nav li a {
    text-shadow: 1px 1px 5px black;
    text-align: center;
    padding: 10px;
    color: white;
    text-decoration: none;
}

nav li a:hover, 
nav li a:hover {
    background-color: cadetblue;
    color: white;
}

nav li a[href="#"], 
#nav li a[href="#"]
    {
    background-color: rgba(30, 0, 0, 0.4);
    color: whitesmoke;
    text-shadow: 0px 0px 10px rgba(200,200,200,0.5);  
    font-weight: bold;
}
nav li a:hover[href="#"], 
#nav li a:hover[href="#"]
    {
    background-color: rgba(80, 0, 0, 0.4);
    color: white;
}

#tetejere_ugras, #tetejere_ugras a {
    color: white;
    text-decoration: none;
    font-size: 25px;
    padding-right: 5px;
    padding-top: 2px;
    float: right;
}

#am {
    width: 30px;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    opacity: 0.5;
    display: none; /*  akadálymentes! */
}
#am:hover {
    cursor: pointer;
}

#kiskep {
    margin-top: auto;
}
#kiskep img{
    position: absolute;
    display: flex;
   /* top: calc(2.5vh + 4.5vmin); */
    top: 40px;
    width: 7.8vw;
    left: 15vw;
    max-width: 105px;
}

.pici {
    position: relative;
    left: -20px;
    font-size: 1.7vw;
}

/* Képek reszponzívvá tétele */
figure img,
div .jobbkep {
    width: 100%;
    height: auto;
    display: block;
}

figure,
div .jobbkep {
    margin: 0px;
}

figcaption,
.kepleiras {
    text-align: center;
    font-style: italic;
    font-weight: 200;
}

.jobbkep {
    float: right;
    clear: both;
    width: 50%;
    height: auto;
    padding: 0px 15px;
}

.balkep {
    float: left;
    clear: both;
    width: 50%;
    height: auto;
    padding-right: 30px;
}

#elerhetosegek {
    display: table;
    width: 100%;
}
#elerhetosegek h2 {
    text-align: center;
}

.bal {
    display: table-cell;
    width: 45%;
    margin-right: 20px;
}

.jobb{ 
    display: table-cell;
    width: 55%;
}

#elerhetosegek_tablazat {
    width: 100%;
    margin-top: 25px;
}
#elerhetosegek_tablazat caption{
    font-size: 0.8em;
}
#elerhetosegek_tablazat td, #elerhetosegek_tablazat th{
    border: 1px dotted gray;
    padding: 5px;
}
#elerhetosegek_tablazat .tulajdonsag {
    width: 40%;
    text-align: right;
}
#elerhetosegek_tablazat .ertek {
    width: 60%;
    text-align: center;
}

.nemkell {
    display: none;
}

.urlap {
    background-color: beige;
    border: 1px solid black;
    text-align: center;
}
.urlap fieldset {
    border: none;
    padding: 0px;
}
.urlap .egysoros {
    display: none;
    width: 42%;
    display: inline;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}
.urlap #szolg_csoport {
    padding-left: 20px;
    display: inline;
    text-align: left;
    text-indent: 0px;
}
.urlap legend {
    text-align: left;
    font-weight: bold;
    padding: 5px 0px;
}
.urlap #szolg_csoport legend {
    text-indent: -22px;
}
.urlap #szolg_csoport label {
    display: table;
    font-size: calc(0.8vw + 0.4vh + 0.4vmin);
    float: left;
    width: 49%;
    margin-left:0px;
}
.urlap #szolg_csoport label input[type='checkbox'] {      margin-left:0px; 
}
.urlap #radiogombok {
    display: inline;
    margin-right: 50%;;
}
.urlap .kulsotarolo{
	width: 99%;
}
.urlap .belsotarolo {
    width: 100%;
    max-width: 100%;
}
.urlap .resetgomb {
    position: fixed;
    width: 20px;
    height: 20px;
    padding-left: 3px;
    position: relative;
    float:right;
    clear: both;
    top: -27px;
    right: 0px;
}
.urlap .submitgomb {
    width: 8em;
    height: 2em;
    font-size: 1em;
    margin-bottom: 5px;
}

.szoveg {
    text-indent: 4vw;
    text-align: justify;
}

.visszafele {
    unicode-bidi: bidi-override; 
    direction: rtl;
}

#szolgaltatasok .szoveg, 
#szolgaltatasok .kep {
    width: 50%;
    float: left;
    text-indent: 0px;
    padding-top: 2vw;
    padding-bottom: 3vw;
    text-align: left;
}
#szolgaltatasok #ajanlatkeres {
    display: flex;
    position: absolute;
    margin-top: -1vw;
    padding-bottom: 2vw;
}

#kiallitasok {
    display: inline-block;
    width: 100%;
}
#kiallitasok .szoveg h3 {
    font-size: 1.8vw;
    font-weight: 200;
    text-indent: 0px;
    border-bottom: 1px dotted black;
}
#kiallitasok .szoveg, 
#dijak .szoveg {
    text-align: left;
    text-indent: 0px;
    font-size: 1.7vw;
    display: table-cell;
}
#kiallitasok .jobbkep, 
#dijak .jobbkep {
    padding-top: 30px;
    display: table-cell;
}

#magamrol .balkep{
    width: 35%;
}
#magamrol .jobbkep{
    width: 35%;
}
#magamrol ul {
    text-indent: 0px;
}

#muveszet {
    border: 1px solid lightgray;
    background-color: rgb(250,240,220);
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}
#muveszet figure img{
    max-width: 100%;
    object-fit: cover;
}
#muveszet figure{
    display: table-cell;
    width: 33%;
    padding-right: 1px;
  /*  float: left;*/
}
#muveszet figcaption p {
    font-size: 1.8vw;
    margin: 0px;
    height: calc(10vw + 5vh + 5vmin);
    padding-left: 5px;
    padding-right: 5px;
}
#muveszet figure {
    border:1px dotted lightgray;
}
video {
  width: 100%;
  max-height: 100%;
}
video::-webkit-media-text-track-display {
    -webkit-transform: translateY(-3em);
    transform: translateY(-3em);
}

figure a {
    text-decoration: none;
    color: inherit;
}
figcaption h2 {
    font-size: 2vw;
    margin: 0px 0px;
    padding: 10px 0px;
}

article img {
    width: 100%;
    height: auto;
}

.elso {
    width: 99%;
}

.kozepre {
    text-align: center;
}

.szoveg a {
    font-weight: 400;
    color: black;
    text-decoration: none;
    border-bottom: 1.5px dotted red;
    border-spacing: 0px;
}
.szoveg li {
    text-align: left;
}
.szoveg a:hover, .szoveg a:visited:hover {
    color: firebrick;
}
.szoveg a:visited {
    color: gray;
}

hr {
    border: 3px solid gray;
}

#kismenu {
    position: relative;
    display: flex;
    padding-left: 0px;
    font-size: 2.1vw;
    background-color: rgba(30, 0, 0, 0.2);
}
.kismenu_pontok {
    margin: auto;
    display: table-cell;
    padding: 5px 5px;
}
.kismenu_pontok li{
    border-right: 1px solid brown;
    padding: 0px 5px;
}
.kismenu_pontok li:last-child {
    border-right: 0px;
}

.palyamu {
    padding-bottom: 30px;
}
.palyamu h2{
    font-size: 1.2em;
}
#galeria_kepek .leiras h2 {
    padding: 10px;
    padding-top: 30px;
    font-size: 1em;
}
.palyamu .reszletek p {
    text-align: justify;
    font-size: 0.8em;
}

#egyeb_galeria h2 {
    display: none;
    font-size: 1em;
}

.fulszoveg {
    text-align: justify;
    font-size: 1em;
}
.forras {
    text-align: right;
    display: block;
    font-size: 0.9em;
    font-style: italic;
}

/* Rács-elrendezés definíciója: */

body {
    grid-auto-columns: 1.5fr 7fr 1.5fr;
    /* abszolút és relatív oszlopszélességek /fr=fraction vagy frame/ */
    grid-template-areas: /* az egyes sorok definíciója */
    'fejlec       fejlec   fejlec' 
    'baloldalsav  fo       jobboldalsav' 
    'lablec       lablec   lablec';
}
.dropdown {
    display: none; 
}  /* hogy alapesetben a 3 pontos menü ne látszódjon!  */


/* ==================================================================== */
/*       KISEBB FELBONTÁSRA OPTIMALIZÁLT BEÁLLÍTÁSOK        */
/* ==================================================================== */
@media screen and (max-width: 800px)  /* 800px vagy annál kisebb szélesség esetén: */
{
    body {
        grid-auto-columns: 1fr;
        grid-template-areas: 'fejlec' 'menu' 'fo' 'baloldalsav' 'jobboldalsav' 'lablec';
    }
    header {
        height: 150px;
    }
    footer {
        font-size: 12px;
    }
    nav .normal,
    #nav .normal {    /*  hogy ekkor a normál menü ne látszódjon!  */
        display: none;
    }
    .pici {
        position: relative;
        left: -20px;
        font-size: 2.4vw;
    }
    #kiskep {
       /* display: none; */
        width: 100%;
        padding-top: 28px;
        margin-top: 28px;
    }
    #kiskep img{
        width: 8    vw;
        left: 5px;
        top: 40px;
        position: absolute;
        min-width: 45px;
    }
    #kismenu {
        position: relative;
        display: flex;
        padding-left: 0px;
        font-size: 2.5vw;
    }
    
    #tetejere_ugras, #tetejere_ugras a {
        float: right;
        font-size: 22px;
        padding-right: 3px;
        padding-top: 0px;
    }
    
    #szolgaltatasok .szoveg  {
        width: 100%;
        float: none;
    }
    .kep {    
        width: 100%;
        padding-right: 10px;
        margin-right: 10px;
        float: none;
    }
    article,
    div #magamrol {
        float: none;
        width: 100%;
        display: inline-block;
    }
    
    article h2,
    div #magamrol h2{
        font-family:  'Open Sans', sans-serif;
        font-size: 3.5vw;
    }
    article h3,
    div #magamrol h3 {
        font-family:  'Open Sans', sans-serif;
        font-size: 2.8vw;
    }

    article .szoveg,
    div #magamrol .szoveg{
        font-size: 3vw; 
    }
    
    #kiallitasok .szoveg,
    #dijak .szoveg,
    #media .szoveg
    {
        text-indent: 0px;
        font-size: 3vw; 
    }
    #kiallitasok .szoveg h3{
        font-size: 3.2vw;
    }
    .leiras {
        font-size: 2.7vw;
    }
    
    figcaption p {
        font-size: 2.3vw;
    }
    .bal, .jobb {
        display: block;
        width: 95%;
    }
    
    .urlap #szolg_csoport label{
        font-size: calc(1.2vw + 0.6vh + 0.6vmin); 
    }
    
    nav li a {
    }
    
    nav li a:hover {
        text-shadow: 0px 0px 0px white;
    }
    nav li a[href="#"]
    /*az a tag valamilyen paraméterű és értékű állapota*/
        {
        background-color: rgba(30, 0, 0, 0.4);
        color: whitesmoke;
        text-shadow: 0px 0px 0px white;  
        font-weight: bold;
    }
    #oldalcim {
        margin-top: 0px;
        font-family: 'Montserrat', sans-serif; 
        color: white;
        text-shadow:  3px 3px 8px black
                    , 0px 0px 4px black;
    }
    #oldalcim h1 {
        font-size: 45px;
        font-weight: 400;
    }
    #oldalcim h2 {
        padding-left: 12vw;
        padding-right: 12vw;
        font-size: 22px;
        font-weight: 200;
        margin-top: -25px;
    }
    #egyeb_galeria h1 {
        font-size: 3vw;
    }
    
    /* A 3 pontos menü  */
    .showLeft {
     /*   background-color: #0d77b6 !important;
        border: 1px solid #0d77b6 !important;  */
        text-shadow: none !important;
        color: #fff !important;
        padding: 0px;
    }

    .icons li {
        background: none repeat scroll 0 0 #fff;
        height:2.5px;
        float: none;
        width: 18px;
        line-height: 0;
        list-style: none outside none;
        margin-right: 15px;
        padding: 0px;
        margin-top: 4px;
        margin-bottom: 2px;
        text-align: center;
        vertical-align: top; 
     /*   border-radius: 50%;  */
        pointer-events: none;
    }

    .btn-left {
        left: 0.4em;
        margin-top: 0.1em;
    }

    .btn-right {
        right: 0.4em;
    }

    .btn-left,
    .btn-right {
        position: absolute;
        top: 0.24em;
    }

    .dropbtn {
       /* background-color: darkslategray; */
        position: fixed;
        color: white;
        margin: 0;
        padding-bottom: 2px;
        padding-left: 2px;
        width: 21px;
        font-size: 9px;
        border: none;
        cursor: pointer;
    }

    .dropbtn:hover,
    .dropbtn:focus {
        background-color: dimgray;
    }

    .dropdown {
        position: fixed; /* absolute; */ /* rögzítés a gomb pozíciójához... */
        display: block;
        left: 0.4em;
    }
    
    #myDropdown {
        padding-left: 0px;
    }    
    .dropdown-content {
        display: none;  /*  none ! */
        font-size: 15px !important;
        position: fixed; /* hogy rögzített legyen a gombhoz képest... */
        float: none;
        top: -35px;
        margin-top: 40px;
        background-color: rgba(80, 50, 50, 0.9);
        min-width: 160px; 
        overflow: auto;
        animation: mymove 0.2s ;
        animation-fill-mode: forwards;  
        animation-timing-function: ease-out;
        box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.6);
        z-index: 1;
        overflow: hidden;
        height: 32px;
    }

    @keyframes mymove {
        from {width: 0px;}
        to {width: 380px;}
    }
    .dropdown-content a {
        color: whitesmoke;
        padding: 8px 8px;
        text-decoration: none;
        display: inline-block;
        text-shadow:  1px 1px 6px black
            /*, 0 0 3px #000000*/;
    }

    .dropdown a:hover {
        background-color:darkolivegreen;
    }

    .show {
        display: inline-block; /* esetleg block  */
    }
    .hide {
        display: none;
    }
    #fontos {
        position: relative;
        width: 95%;
        margin-left: 0;
        background-color: darkorange;
        color:rgb(80, 0, 0);
        text-align: center;
        padding: 0.5rem;
    }
    /* a 3 pontos menü vége...   */
}

/* Nyomtatóbarát megvalósítás */
@media print {
    body {
        margin: 0;
        color: #000;
        background-color: #fff;
    }
    
    nav,
    footer,
    header,
    #kismenu,
    #ajanlatkeres {
        display: none;
    }
}

