/* CSS BnB */
html { font-size:100%; font-family: 'Roboto', sans-serif; font-weight:300; }

#bobmarvan  { background:#fafafa; }

.hide       { position:absolute; left:-1000px; top:-1000px; width:1px; height:1px; overflow:hidden; }
.clear      { clear:both; height:1px; overflow:hidden; }
h1, h2, h3  { font-weight:700; }
h2          { font-weight:400; }

.button					{ display:block; width:12rem; margin:1rem auto; text-align:center; color:white; font-weight:bold; background:green; text-decoration:none; padding: 0.3rem 1.2rem 0.4rem; border-color:green;  border-style:outset; border-width:1px; border-radius:0.4rem; }
.button:hover			{ color:white; background:forestgreen; border-color:green; }
a.button                { color:white; }

/*- Hlavicka + Paticka -*/
.endofpage .favicon { vertical-align:-1%; width:1.125rem; height:1.125rem; }
.endofpage h1 { font-size:1.5rem; float:left; margin-left:1rem; margin-top:0.4rem; }
.endofpage .language { float:right; font-weight:bold; margin: 0.8rem 1rem 0 0; }
.endofpage a { /*color:#373a3c;*/ color:#000; }
.endofpage a:hover { color:#c00; }

/*- Menu -*/
#top-menu,
#bottom-menu { position:relative; clear:both; width:100%; overflow-x:auto; overflow-y:hidden; background:#c00; z-index:10; }
.menu { width:768px; padding:0; margin:0 auto; }
.menu li { width:110px; background:#c00; float:left; border-right:2px solid white; list-style-type:none; }
.menu li.first { border-left:2px solid white; }
.menu li a { text-decoration:none; color:white; font-size:1rem; display:block; width:100%; text-align:center; padding: 0.2rem 0; }
.menu li a:hover { color:#c00; background:white; text-decoration:none; }
/*- Oznaceni aktualni sekce v menu -*/
#page.index .t0 a, #page.bob .t1 a, #page.projects .t2 a, #page.design .t3 a, #page.photos .t4 a, #page.contact .t5 a,
#page.services .t6 a, #page.discovery .t6 a, #page.consultation .t6 a, #page.discovery-training .t6 a {  font-weight:700; }

/*- Podmenu sluzeb -*/
#services-menu { clear:both; max-width:1280px; margin:0 auto; overflow-x:auto; overflow-y:hidden; background:#eee; border-top:2px solid white; }
.services-menu { width:100%; min-width:880px; display:flex; }
.services-menu li { width:auto; flex:0 0 calc(100% / 3); float:none; box-sizing:border-box; background:#eee; border-right:2px solid white; }
.services-menu li:first-child { border-left:2px solid white; }
#content #services-menu a,
#content #services-menu a:hover,
#content #services-menu a:focus,
#content #services-menu a:active { text-decoration:none; }
.services-menu li a { color:#373a3c; text-decoration:none; }
.services-menu li a:hover { color:#c00; background:white; text-decoration:none; }
#page.services .s0 a, #page.discovery .s1 a, #page.consultation .s2 a, #page.discovery-training .s3 a { color:#c00; background:white; font-weight:700; }

/*- Podmenu sluzeb na mobilu -*/
@media only screen and (max-width: 767px) {
  #services-menu { overflow:visible; }
  .services-menu { min-width:0; display:block; }
  .services-menu li { width:100%; }
}

/*- Obsah -*/
#content { background:white; width:100%; max-width:1280px; margin:0 auto; }

#content .banner { text-align:center; }
#content .banner .portrait { width:100%; border-top:2px solid white; }
#content .banner h1  { font-size: 2rem; padding:1.5rem 1rem; font-weight:normal; color:#373a3c; }
#page.discovery #content .banner h1 { text-align:left; font-weight:700; }
#content .banner h1 sup a { color:#c00; }

#content .tagline { clear:both; padding:1rem; background:#373a3c; text-align:center; }
#content .tagline h2 { font-size:1.5rem !important; margin-bottom:0; color:white; font-weight:normal; }

#content .logos { text-align:center; background:#eee; }
#content .logos img { margin:1.5rem 2rem; max-width:60%; }
#content .block .logos img { display:inline-block; width:auto; max-width:60%; margin:1.5rem 2rem; vertical-align:middle; }

#content p strong { font-size:inherit; font-weight:700; }
#content p.lead { font-size:1.125rem; }
#content p.lead > strong:only-child { font-size:inherit; font-weight:normal; }
#content blockquote p { font-style: italic; }
#content dt { font-weight:normal; }
#content dd { font-weight:700; }
#content a { color:#c00; text-decoration:underline; }
#content a:hover { color:#F00; }
#content a.button, #content a.button:hover { color:#fff; text-decoration:none; }

/*#content .sikmo { background:silver; }

#content .sikmo:before { content:"";
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0;
border-top: 120px solid white;
border-right: transparent;
border-bottom: transparent;
border-left: calc(100vw) solid transparent;

}

#content .sikmo:after { content:"";
display: block;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 0;
border-top: 120px solid transparent;
border-right: transparent;
border-bottom: transparent;
border-left: calc(100vw) solid white;

}*/

#content .block { padding:2rem 1rem; clear:both; position:relative; }
#content .block::after { content:""; display:block; clear:both; }
#content .block h2,
#content .cta h2 { /*font-size:1.5rem;*/ font-size:2.2rem; }
#content .block img { display:block; width:70%; margin:0 auto 1rem; }
#content .block img.illustration { max-width:22rem; height:auto; object-fit:contain; }
#content .block .logo { width:50%; margin: 2rem auto 1rem; }
#content .block img.testimonial-photo { width:46%; aspect-ratio:1 / 1; border-radius:50%; object-fit:cover; }
#content .block img.lecturer-photo { width:23%; aspect-ratio:1 / 1; border-radius:50%; object-fit:cover; }

#content .history, #content .education, #content .fidoofx, #content .silver  { background:#eee; }
#content .skills, #content .dark { color:#fff; background:#373a3c; }
#content .dark p strong,
#content .cta p strong { font-size:inherit; font-weight:700; }

.service-boxes { display:flex; gap:30px; margin-top:30px; flex-wrap:wrap; }
.service-box { flex:1 1 300px; border:1px solid #e5e5e5; padding:30px; box-sizing:border-box; }
#content .service-box > a:has(img) { display:block; margin:1rem auto 2rem; }
#content .service-box img { width:36%; max-width:128px; height:120px; margin:0 auto; object-fit:contain; }
.hidden-detail-sections { display:none; }
.case-study { margin-bottom:3rem; }
.case-study:last-of-type { margin-bottom:1.5rem; }

.cta { clear:both; text-align:center; padding:2rem 1rem 2rem 1rem; background:#eee; }
.cta h2 { max-width:48rem; margin-left:auto; margin-right:auto; line-height:1.2; }
.cta h3 { margin:2em 0 0.5em; text-align:left; }
.cta p { max-width:46rem; margin-left:auto; margin-right:auto; }
.cta ul,
.cta ol { max-width:40rem; margin:0.75rem auto 0; padding-left:1.5rem; text-align:left; font-size:1rem; line-height:1.45; }
.cta li { margin:0.45rem 0; }
.cta .button { width:auto; min-width:16rem; max-width:22rem; padding:0.5rem 1.4rem 0.6rem; }
.cta .button + p,
.cta p:has(.button) + p { margin-top:1.75rem; }
.pano { margin:2rem 0; }
.pano,
.doublediamond { width:100%; }

#footer .block { background:#373a3c; color:white; text-align:center; clear:both; padding:1rem 2rem 0; border-bottom:2px solid white; }
#footer .social { margin-bottom:0; }
#footer .social img { width:2rem; height:2rem; margin:1rem 1rem 2rem; }

#footer .paticka { display:block; font-size:0.8rem;  text-align:center; clear:both; }
#footer .paticka a { color:#373a3c; text-decoration:underline; }


/*- MEDIA -*/
/*- iPad Portrait a větší -*/
@media only screen and (min-width: 768px) {
    html { font-size:100%; }

    #content .banner h1  { font-size: 1.5rem; }
    #content .banner .portrait { float:right; width:50%; }
    #content .tagline h2 { /*font-size:1.2rem;*/ font-size:2rem; }

    #content .logos img { /*width:20%;*/ }

    #content .block { padding:3rem 4rem; }
    #content .cta { padding:3rem 4rem; }
    #content .cta h2 { font-size:1.9rem; }
    #content .cta h2,
    #content .cta h3,
    #content .cta p,
    #content .cta ul,
    #content .cta ol { width:66.6667%; }
    #content .cta h3 { margin:2em auto 0.5em; text-align:left; }
    #page.discovery #content .banner h1 { padding-left:4rem; padding-right:4rem; }
    #content .block .logo { float:right; width:20%; margin:0 0 1rem 3rem; }
    #content .block .left { float:left; width:50%; }
    #content .block .right { float:right; width:50%; }
    
    #content .block img.left { float:left; width:35%; margin:0 6rem 4rem 2rem; }
    #content .block img.right { float:right; width:35%; margin:0 2rem 4rem 6rem; }
    #content .block img.illustration.left,
    #content .block img.illustration.right { width:32%; max-width:22rem; }
    #content .block.illustrated { display:grid; column-gap:4rem; align-items:start; }
    #content .block.illustrated.image-right { grid-template-columns:minmax(0, 1fr) minmax(12rem, 32%); }
    #content .block.illustrated.image-left { grid-template-columns:minmax(12rem, 32%) minmax(0, 1fr); }
    #content .block.illustrated > img.illustration { float:none; width:80%; max-width:17.6rem; margin:1.1rem auto 0; grid-row:1; justify-self:center; }
    #content .block.illustrated.image-right > img.illustration { grid-column:2; }
    #content .block.illustrated.image-right > .copy { grid-column:1; grid-row:1; }
    #content .block.illustrated.image-left > img.illustration { grid-column:1; }
    #content .block.illustrated.image-left > .copy { grid-column:2; grid-row:1; }
    #content .block.illustrated.testimonial { grid-template-columns:minmax(8rem, 23%) minmax(0, 1fr); }
    #content .block.illustrated.testimonial > img.testimonial-photo { float:none; width:100%; max-width:11rem; margin:1.1rem auto 0; grid-column:1; grid-row:1; justify-self:center; }
    #content .block.illustrated.project { grid-template-columns:minmax(14rem, 35%) minmax(0, 1fr); }
    #content .block.illustrated.project.image-right { grid-template-columns:minmax(0, 1fr) minmax(14rem, 35%); }
    #content .block.illustrated > img.project-image { float:none; width:100%; max-width:24rem; height:auto; margin:0.4rem 0 0; grid-row:1; }
    #content .block.illustrated.image-left > img.project-image { grid-column:1; justify-self:start; }
    #content .block.illustrated.image-right > img.project-image { grid-column:2; justify-self:end; }
    #content .service-box img.illustration { width:100%; max-width:8rem; height:7.2rem; margin:0 auto; object-fit:contain; }
    #content .block img.lecturer-photo.left { width:18%; margin:0.4rem 2rem 1rem 0; }
    #content .training-references { display:flex; gap:4rem; }
    #content .training-references p { flex:1 1 0; }

    #footer .social img { width:2.4rem; height:2.4rem; margin:2rem 1.6rem 3rem; }
    #footer .paticka { clear:none; margin:0 auto; width:768px; padding-top:1.1rem; }
}

/*- iPad Landscape -*/
@media only screen and (min-width: 1024px) {
  #content .banner h1 { font-size: 2.2rem; }
  #content .tagline h2 { font-size:1.8rem; }
  
  #content .dark img { margin-bottom: 0 !important; }
}

/*- Velke monitory -*/
@media only screen and (min-width: 1280px) {
	html { font-size:120%; }
  .menu { width:1280px; margin:0 auto; }
  .services-menu li { width:auto; }
  #content .banner { /*border-left:2px solid #373a3c; border-right:2px solid #373a3c;*/ overflow:hidden; }
}
