

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: .5em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

/*textarea {
    resize: vertical;
}*/

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
    
    text-align: center;
    font-family: 'Open Sans',serif;
    padding: 0;
}
body {
    background: #fff;
    background-size: 100%;
    padding-top: 0;
}
a {
    text-decoration: none;
    color: #344b66;
}
.long a:hover {
    color:white;

}
a:hover {
    color:#f7941d;
}
.3em
{
    font: 3em;
    border:solid 3px red;
}
.boxmargo {
    padding: .5em;
}
.whiteb {
    background: white;
}

.light {
    color: #898989;
}
hr.szeles {
    /*color: #363636;*/
    height: 0;
    border: 1px solid #363636;
}
.egyharmad {
    width: 33%;
}
.sotetszurke {
    background: #f18049;
}

button.seemore {
    border: 0px;
    margin: 2em;
    padding: 0.8em 2em;
    background: #363636 url(../img/fl_backplay.png) top right no-repeat;
    background-size: 3em 3em;
    color: white;
    font-weight: 700;
}
 /*----------------------------------------------------*/   
#header {
    width: device-with;
    margin: 0;
    padding: 0;

}
#mcont {
    background-color: white;
}
#main-menu {
    list-style-type: none;
    width: 100%;
    margin: 0 auto;
    background: white;
  /*  height: 6em;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
   
    display: flex;
    flex: 0;
    justify-content: space-around;

}
#main-menu li {
    display: inline-block;
    vertical-align: middle;
    padding: 2em 1.1em;
    margin:0;
    font-weight: 550;
    /*border: 1px solid aquamarine;*/
}
#main-menu img { /*logo*/
    width: 22em;
    padding: 1em 0;
    margin: 0;

}


#main-menu li.long:hover {
    background: #f7941d url(../img/m-tringle.png) bottom center no-repeat;
    background-size: 7em .8em; /* 100% */
}
#main-menu li.short:hover {
    color: #F7941F;
    
}

/*----------------------------------------------------*/ 
 #main-menu ul, #hinfo, #navbox  {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin:0;
    /*border: 1px solid aquamarine;*/
}
#hinfo, #navbox, #frisshirek, #ajanlat, footer, 
#lablec {
    width: 80%;
    max-width: 95em;
    margin: auto;
    text-align: center;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: top;
}
#main-menu {
    width: 95%;
    margin-left: 3em;
}
#hinfo {
    min-height: 52em;
    padding-top: 15em;
    flex-wrap: nowrap;

}
#targy, #udvozlo {
    
    padding: 1.5em;
    
}
#targy {
    width: 40%;
    margin-left: 5em;
    float:left;
}
#targy h1 {
    color: white;
    text-align: right;
    background: rgba(0, 0, 0, 0.5);
    padding: .5em;
}
#udvozlo {
    width: 32%;
    min-width: 23em;
    max-width: 28em;
    background: white;
    padding-top: 4em;
    margin-left: 3em;
    text-align: justify;
    float: right;
    background: url(../img/fl_wh.png) top left no-repeat;
    background-size: 105%;
    
}
#udvozlo img {
    margin-top: 1em;
    width: 32%;
}
/*----------------------------------------------------*/ 

#navbox li {
    display: inline-block;
    width: 33%;
    max-width: 30em;
    padding: 0;
    
}
#navbox li {
    background-size: 100%;
    background-color: #e5e5e5;
    height: 16em;
    color: #fff;
    overflow: hidden;
    vertical-align: bottom;
    margin: 3em 0;
}
#navbox a {
    color:white;
    text-decoration: none;
}
#navbox h1 {
    width: 100%;
    margin-top: 6.6em;
    background: rgba(248, 142, 30, 0.8) url(../img/fl_backplay.png) top right no-repeat;
    background-size: 1.5em 1.5em;
    margin-bottom: 0;
}
#helyszin {
    background:  url(../img/fokep1.jpg) top left no-repeat; 
}
#service {
    background:  url(../img/TED-talks.jpg) top left no-repeat;
    }
#snews {
    background:  url(../img/fokep3.jpg) top left no-repeat;
    }


/*----------------------------------------------------*/ 
#frisshirek {
    line-height: 1.5em;
    padding: 1em;
}
#frisshirek p.light, #frisshirek h3 {
    font-size: 0.8em;
}
#frisshirek li {
    position: relative;
    display: inline-block;
    width: 43%;
    text-align: left;
    margin: 0.8em;
    background: #f1f1f1;
    /*height: 10em;*/
    text-overflow: ellipsis;
    overflow: hidden; /* a tiédet, ez így szép ;] */
    padding: 0;
}
#frisshirek li h3 {
    margin-top: -.5em;
}
#frisshirek .bikepic {
    position: relative;
    float:left;
    width: 10em;
    height: 10em;
    background-size: 10em 10em !important;
    margin: 0 .8em 0 0;
}
#frisshirek li p.hirek-datum {
    color: #f7941d;
    margin-bottom: 0;
}
#frisshirek li p.pic-datum {
    position: absolute;
    width: 4em;
    height: 4em;
    top: 0;
    left: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    border: 1px solid white;
    background-color: #898989;
    text-align: center;
    color: #fff;
    padding: 1em .2em 0 0;
    line-height: 1em;
}
#frisshirek li p.pic-datum span {
    font-size: 2em;
    font-weight: 400;
}
#frisshirek .bike1 {
    background: #f7941d url(../img/biketour.jpg) top left no-repeat;
}
#frisshirek .bike2 {
    background: #f7941d url(../img/bike_tour.jpg) top left no-repeat;
}
#frisshirek .bike3 {
    background: #f7941d url(../img/desert.jpg) top left no-repeat;
}
#frisshirek .bike4 {
    background: #f7941d url(../img/toscana.jpg) top left no-repeat;
}
#frisshirek .seemore-container {
    text-align: right;
    margin: -1.5em 3.5% 0 3.5%;
    line-height: 1.5em;
}
/*----------------------------------------------------*/ 
#ajanlat {
    width: 70%;
    display: flex;
    flex: 0;
    justify-content: space-around;
    align-items: flex-end;
    padding-right: 0;
} 
#ajanlat img {
    width: 60%;
    max-height: 50em;
}  
#ajkero {
    background: #f7941d url(../img/fl_o.png) top left no-repeat;
    background-size: 120%;
    color: white;
    padding:2em;
    margin-right: 0;
}
#wmn, #ajkero {
    display: inline-block;
    padding-top: 2em;
}

/*----------------------------------------------------
  ----------------------------------------------------*/ 
#sotetszurke {
    background: #053352;
}
footer {
    display: flex;
    justify-content: space-between;
    color: #636363;
    padding-bottom: 30px;
}
footer ul {
    padding: 0px;
    list-style-type: none;
}
h4 {
    color: white;
    text-transform: uppercase;
}


#uzenet label {font-weight:bold;color:#fff;}
#uzenet input, #uzenet textarea {
    background: #fff;
    color: #333;
    font-weight: 800;
    border: 0;
    padding: .5em;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 0.2em 0px 20px 0px;
    width: 95%;

}
#uzenet textarea {
    height:90px;
    font-weight: 600;
}
#uzenet input[type='text']:hover {
    color: #f18049;
}
#uzenet textarea:hover {
    color: #f18049;
}
:hover::-webkit-input-placeholder {
    color: #f18049;
}
:-moz-placeholder:hover {
    color: #f18049;
}
:-ms-input-placeholder:hover {
    color: #f18049;
}
#msg {
    height: 3em;
    width: 95%;
}
#uzenet button.btn {    
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border:0;
    background: #f18049 url(../img/duplanyil.svg) no-repeat;
    background-size: 1.3em 1.3em;
    background-position: right 30px center;
    color: white;
    padding: 15px 56px 15px 35px;
    font-weight: 700;
    margin: 10px auto 10px auto;
    box-shadow: 3px 3px 3px #002036;
}
#uzenet button.btn span {font-size:200%;}
#rolunk, #footer-menu, #uzenet, #contact {
    width: 30%;
    text-align: left;
    margin-top: 1em;
    /*background: rgba(248, 142, 30, 0.1);*/
    padding: .5em;
}
#contact li {
    margin-left: 2em;
    color:#aab9c4;
    font-size:90%;
}
#contact li label {font-weight:bold;color:#fff;}
#contact li a {color:#aab9c4;}
#contact li a:hover {color:#fff;}

#contact li:nth-of-type(1) {
    margin-left: 0;
    text-transform: none;
}

#sotetszurke hr.szeles {color:#888;background:#888;border: 0; height:1px;}
#sotetszurke h4.footertitle {padding: 40px 0px 15px 0px; font-size: 30px; line-height: 100%; margin: 0;}
#footer-menu-inside {margin-left:30px;}
#footer-menu-inside ul {font-size: 90%;}

/*----------------------------------------------------*/ 
#lablec {
    display: flex;
    justify-content: space-between;
    color: #fff;
    min-height: 5em;
    padding: .3em;
}
#lablec p {
    text-align: left;
    margin: 1em;
}
#lablec .lablec-icon {    
    display: inline-block;
    height: 3em;
    width: 4em;
    background-size: 100%;
    margin: 1em;

}
.visa {background: url(../img/visa-w.svg) center center no-repeat;}
.mastercard {background: url(../img/mastercard-w.svg) center center no-repeat;}
.khlogo {background: url(../img/khlogo.png) center center no-repeat;}

#footer-menu .lablec-icon {    
    display: inline-block;
    height: 2em;
    width: 2.6em;
    background-size: 100%;
    margin: 0;
}
#footer-menu .lablec-icon a {display:block;width:100%;height:100%;}
#footer-menu .facebook {background: url(../img/facebook.svg) center center no-repeat;}
#footer-menu .insta {background: url(../img/insta.svg) center center no-repeat;}
#footer-menu ul li a {color:#aab9c4;}
#footer-menu ul li a:hover {color:#fff;}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 101em) {

    #main-menu img { /*logo*/
        width: 13em; 
        padding-top: 1.5em;
        margin: 0px;

    }
    #main-menu li {
        display: inline-block;
        padding: 2em .8em;
        font-weight: 550;
        /*border: 1px solid aquamarine;*/
    }
    #udvozlo img {
        margin-top: .5em;
    }

    #ajanlat {
        width: 70%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 85em) {
    html {
        font-size: 0.85em;
        line-height: 1.4;
    }
}

@media only screen and (max-width: 80em) {

    html {
        font-size: 0.8em;
        line-height: 1.4;
    }
    #hinfo, #navbox, #frisshirek, #ajanlat, footer, 
    #lablec, #main-menu {
    width: 96%;
    }
    #main-menu img { /*logo*/
        width: 11.5em; 
        margin: 0px;
    }

    #hinfo {
        min-height: 40em;
        padding-top: 5em;
        text-align: center;
        /*display: flex;
        justify-content: space-around;*/
    }
    #targy, #udvozlo {
        display: inline-block;
        padding: 0.8em;   
    }
    #targy {
        width: 40%;
        height: 30em; 
    }
    #udvozlo {
        width: 32%;
        min-width: 23em;
        /*max-width: 90%;*/
        padding-top: 3em;
        margin: 0 auto;
    }
    #udvozlo img {
        padding-top: 0em;
        margin: 0;
        width: 30%;
    }
    #navbox li {
        display: inline-block;
        width: 32%;
        max-width: 30em;
    }
    #frisshirek {
        font-size: 0.9em;
        line-height: 1.4em;
        padding: 2em 1em;
    }
    #frisshirek li {
        width: 45%;
        min-width: 20em;
    }

    #ajanlat {
        width: 70%;
        margin: 0 auto;
    }
}
/*----------------------------------------------------*/ 

@media only screen and (max-width: 67em) {

    #main-menu img {
        padding-top: 1em;
    }
    #main-menu img, #main-menu ul {
        text-align: right;
        margin-right: 1em;
    }
    #main-menu li {
        padding: .7em .3em;
    }
    #frisshirek .bikepic {
        float:left;
        width: 8em;
        height: 8em;
        background-size: 8em 8em;
        margin-right: .8em;

    }
    #frisshirek li {
        height: 8em;
    }
    #ajanlat img {
        width: 80%;
    }
}


@media only screen and (max-width: 54em) {

    body {
        background-size: 840px 490px;
    }

    #mcont {
        background: none;
    }
    #main-menu, #main-menu ul, header {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        text-align: center;
        width: 13em;
        height: 490px;
        padding:0;
        margin-left: 0;
    }
    #main-menu li {
        padding: 2em auto;
    }
    #main-menu img {
        padding: 0.5em;
    }

    #targy {
        width: 100%;
        margin: 0;
        padding: 0;
        height: 11em;
        
    }
    #targy h1 {
        font-size: 1.2em;
        color: white;
        text-align: center;
        padding: 0.5em;
        background: #f7941d;
    }
    #udvozlo {
        max-width: 18em;
        width: 100%;
        background: white;
        padding: 1em;
        text-align: justify;
        margin: 0 auto;
        float: none;
        /*float: clear;*/
    }
    #udvozlo img {
        margin-top: 1em;
        width: 30%;
    }
    #navbox, #frisshirek, footer, #hinfo,
    #lablec {
        display: block;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #lablec p {
        padding-top: .5em;
        text-align: center;
    }
    #frisshirek {
        font-size: 1em;
    }
    #frisshirek ul {
        padding: 1em;
    }
    #navbox li, #frisshirek li {
        width: 100%;
        margin: .5em auto;
        padding:0;
    }
    #rolunk, #footer-menu, #uzenet, #contact {
        width: 80%; 
        margin: auto;

    }
    #navbox {
        padding: .5em;
    }
    #navbox h1 {
        margin-top: 6em;
    }
    #ajanlat {
        width: 100%;
        margin: 0 0 0 -7em;
    }
    #ajanlat img {
        width: 60%;
        min-width: 30em;
    }
    #ajanlat #ajkero {
      /*  float: right;*/
    }
}



@media print {}
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) 
    /* Style adjustments for high resolution devices */


/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
