@CHARSET "UTF-8";

#sajatmenuikon3vonal {
    position: fixed;
    background: url("../imagetema/asajatlekerd/sajatmenu0.png") center center; 
    top: 15px;
    right: 20px;
    width: 47px;    
    height: 47px;
    display: block;
    cursor: pointer;
    z-index: 15000;
}   
#sajatmenukepsorikon3vonal {
    position: fixed;
    background: url("../imagetema/asajatlekerd/sajatmenukepsor0.png") center center; 
    top: 175px;
    right: 20px;
    width: 47px;    
    height: 47px;
    display: block;
    cursor: pointer;
    z-index: 15000;
}   
/* -------------------- a tartalom divizio ------------------*/

#mmgridcontainer {
  position: absolute;
  background: #262626;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  z-index: 9930000;
  overflow: scroll;	
  display: none;
}
#mmgridcontainertop {
  position: relative;
  background-color: #262626;
  width: 100%;
  height: auto;
  padding: 30px 0 0 0;
  text-align: center;
  font-family: 'Prosto One', cursive;  
  color: #f7e1a9;
  font-size: 30px;
  line-height: 30px;
}
#mmgridcontainertop span {
  font-family: 'Prosto One', cursive;  
  color: #f7e1a9;
  font-size: 22px;
  line-height: 38px;
}
#mmgridcontainerbottom {
  position: relative;
  background-color: #262626;
  width: 100%;
  height: auto;
  padding: 10px 0 10px 0;
  text-align: center;
  color: #fff;
}
.mmgrid {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  background-color: #262626;
  padding: 0px 0 30px 30px;
  min-height: auto;
  
  justify-content: center;   /* a grid elemek balra igazitasa, a center az utolso sor reven rendezetlen benyomast kelt  */
  text-align: center;
}

.mmitem2 {
  width: 405px;                  /* 270 - 405 */
  height: 270px;                 /* 180 - 270 */
  /* background-color: red; */
  margin: 0 80px 80px 0;
  overflow: hidden;
  text-align: center;
}

.mmitem3container {
  background-color: #262626;
}
.mmitem3 {
  position: relative;
  width: 270px;                  
  height: 240px;                
  margin: 10px 40px 0 0;    /* a margin-left - itt 40px ami a kepek kozti tavolsag */
  overflow: hidden;
}
.mmitem3kep {
  width: 264px;             /* a 3px border miatt a fenti 270 - 2*3 = 264 */    
  height: 180px;                 
  overflow: hidden;
  margin: 0 80px 0 0;
  border: 3px solid #f7daa9;
}
.mmitem3szoveg {
  position: relative;
  background-color: #262626;
  width: 270px;
  height: 60px;             /* a fenti ket height kulonbsege 240 - 180 = 60 */
  overflow: hidden;
  font-family: 'Prosto One', cursive;  
  color: #d9c39d;
  font-size: 16px;
  padding: 5px 0;
}
.mmitem3plus {
  position: absolute;
  top: 130px;
  left: 0px;
  width: 51px;                  
  height: 51px;
  display: none;                 
}
.mmitem3ures {
  position: absolute;
  top: 0px;
  left: 0px;
  cursor: pointer;
  
  width: 270px;                 
  height: 180px;                 
  margin: 0 80px 0 0;
}

.mmitem2 img.absolute {          /* absolute egy class name item3 divizion beluli div-ben */
    left: 50%;
    margin-left: -100%;
    position: relative;
    width: auto !important;
    height: 330px !important;    /* 220 - 330  */
    outline: 1px solid white;
}

.mmitem3 img.absolute {
    left: 50%;
    margin-left: -100%;
    position: relative;
    width: auto !important;
    height: 200px !important;    /* 220 - 330  */
    outline: 1px solid white;
}
.mmszovegetitttext {
	display: inline-block;
    padding: 3px 0 7px 0;	
}
#mmasajatlekerdclosegrid { 
    position: fixed;
    background: url("../imagetema/asajatlekerd/sajatclose0.png") center center; 
    bottom: 55px;
    right: 20px;
    width: 51px;    
    height: 51px;
    display: none;
    z-index: 9935000;
    cursor: pointer;
}
@media only screen and (min-width: 501px) and (max-width: 1200px) {
    .mmgrid {
        padding: 10px 0 0 10px;
        justify-content: center;   /* itt csak egy item van  */
	}
	.mmitem2 {
        width: 400px;
        height: 270px;
        margin: 0 40px 40px 0;
	}
	.mmitem3 {
        width: 337px;             /* a kepek itt meg nagyobbak is mint fentebb */
        height: 300px;
        margin: 15px 20px 0 0;    /* a margin-left - itt 20px ami a kepek kozti tavolsag */
	}
    .mmitem3kep {
        margin: 0;
        width: 331px;             /* border 3px miatt kisebb 6-al */    
        height: 220px;                
    }
    .mmitem3 img.absolute {
        width: 337px;             /* a kepek itt meg nagyobbak is mint fentebb */
        height: 220px;
    }
    .mmitem3szoveg {
        width: 337px;
        height: 80px;
   }
}

@media only screen and (max-width: 500px) {
    .mmgrid {
        padding: 0;
        justify-content: center;   /* itt csak egy item van  */
	}
	.mmitem2 {
        width: 405px;
        height: 270px;
        margin: 0 10px 30px 10px;
        outline: 0;
	}
	.mmitem3 {
       background-color: #262626;
	   width: 100%;
       height: auto;
       margin: 10px 15px 0 0;     /* a margin-left - itt 15px ami a kepek kozti tavolsag (ha elferne..) */
       outline: 0;                /* de nem ervenyes mert itt mar 100% !important; meretuek a kepek.. */
	}
    .mmitem3kep {
       width: 100% !important;
       height: 66% !important; 
       margin: 0 10px 0 0;
       border: 0;
    }
    .mmitem3szoveg {
       width: 100% !important;
       text-align: center !important; 
    }   
	.mmitem3szovegbelso {
       display: inline-block;
       width: 90% !important;
       text-align: left;
    }   
    .mmitem3ures {
    }
    .mmitem3container {
       background-color: #262626;
    }
    
    #mmasajatlekerdclosegrid { 
    background: url("../imagetema/asajatlekerd/sajatclose.png") center center; 
    bottom: 55px;
    right: 0px;
    width: 51px;    
    height: 51px;
    }
	
	.mmitem2 img.absolute {              /* absolute egy class name item3 divizion beluli div-ben */
    left: 50%;
    margin-left: -100%;
    position: relative;
    width: 100% !important;
    height: auto !important;    /* 220 - 330  */
    }

    .mmitem3 img.absolute {
    left: 50%;
    margin-left: -100%;
    position: relative;
    width: 100% !important;
    height: auto !important;    /* 220 - 330  */
    }
}
