
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
    -webkit-font-smoothing: antialiased;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
b, strong {
    font-weight:bold;
}
em, i {
    font-style: italic;
}

body {
        text-align: center;
        background: #eee;
}




#page {
        margin:0 auto;
        text-align:left;
        width:100%;
        max-width:1600px;
        min-width:1000px;
        min-height:600px;
        position:relative;
        background: ;

}

.photoDetail #content {
    width: 100%;    
}

.photoDetail #link-folio {
    position: fixed;
    bottom: 16px;
    width: 100%;
    left: 0;
    padding: 0 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index:1
}



#page-container {        
        
}


#page-container-bottom {
        padding:17px;
        
        position: relative;
}



#content {    
    margin:64px auto 0;
    position:relative;
    width:1000px;
    z-index:1;
}

#content-container {
    position:relative;
    width:100%;
    min-height:300px;
}



#menu, #logo {
    width:100%;
    position:absolute;    
    left:40px;
    top:16px;
    height:24px;
    line-height:24px;

    font-family:"Arvo",sans-serif; 
    font-size:21px;
}

#logo {
    width:100%;
}

#menu {
    top:27px;
    left:inherit;
    right:0;    
    width: auto;
    height:24px;
    line-height:24px;
    text-align:left;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

#menu {
    padding-right:40px;
}




#menu a, #logo a {
    color:#bab6ba;
    text-decoration: none
}

#menu a:hover, #menu a:focus, #menu a:active, #menu a.aktivni, #logo a:hover {
    color:#303030;
    text-decoration: none
}


#logo, #logo span {
    text-align:center;
    font-family:"Arvo",sans-serif; 
    font-size:24px;
}

#logo span {
	width:100%;
}

#logo a, #logo a:hover {
    color:#8a878a;
    text-decoration:none;
}



#logo span {
    position:absolute;
    text-decoration:none;
    left:0;top:0;
}

#logo {
    display:inline-block;
    width:auto;
    z-index: 10
}


#link-folio a {
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;

    width: 35px;
    height: 33px;
    display: block;
    float:left;
    margin:0 10px 10px 0;

}

#link-folio span.icon {
    display: none;
}

#link-folio span.name { 
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    font-size: 0;
    text-align: start;
}

#link-folio #facebook { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -10px;
    
}

#link-folio #facebook:hover, #link-folio #facebook:focus, #link-folio #facebook:active { 
    background-position: -55px -10px;
}

#link-folio #twitter { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -53px;   
}

#link-folio #twitter:hover, #link-folio #twitter:focus, #link-folio #twitter:active { 
    background-position: -55px -53px;
}

#link-folio #gplus { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -182px;    
}

#link-folio #gplus:hover, #link-folio #gplus:focus, #link-folio #gplus:active { 
    background-position: -55px -182px;
}

#link-folio #pinterest { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -268px;
}

#link-folio #pinterest:hover, #link-folio #pinterest:focus, #link-folio #pinterest:active { 
    background-position: -55px -268px;
}

#link-folio #instagram { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -761px;
}

#link-folio #instagram:hover, #link-folio #instagram:focus, #link-folio #instagram:active { 
    background-position: -55px -761px;
}

#link-folio #vimeo { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -139px;
}

#link-folio #vimeo:hover, #link-folio #vimeo:focus, #link-folio #vimeo:active { 
    background-position: -55px -139px;
}

#link-folio #flickr { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -397px;
}

#link-folio #flickr:hover, #link-folio #flickr:focus, #link-folio #flickr:active { 
    background-position: -55px -397px;
}

#link-folio #linkedin { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -96px;
}

#link-folio #linkedin:hover, #link-folio #linkedin:focus, #link-folio #linkedin:active { 
    background-position: -55px -96px;
}

#link-folio #soundcloud { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -440px;
}

#link-folio #soundcloud:hover, #link-folio #soundcloud:focus, #link-folio #soundcloud:active { 
    background-position: -55px -440px;
}

#link-folio #youtube { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -354px;
}

#link-folio #youtube:hover, #link-folio #youtube:focus, #link-folio #youtube:active { 
    background-position: -55px -354px;
}

#link-folio #email { 
    background: url('/data/grafika/jf/soci/soci-spr-ccc.png') no-repeat -10px -675px;
}

#link-folio #email:hover, #link-folio #email:focus, #link-folio #email:active { 
    background-position: -55px -675px;
}

#link-folio #folio { 
    background: url('/data/grafika/jf/juic/logo-jf-17px.png') no-repeat 0 -51px;
    width: 93px;
    height: 17px;
    bottom: 47px;
    display: block;
    float:left;    
    margin:5px 0 0 0;
    clear:left;
}

#link-folio #folio:hover, #link-folio #folio:focus, #link-folio #folio:active { 
    background-position: 0 -34px;
}

#link-folio {
    clear:both;
    padding: 17px 0 0 0;
    height: 41px;
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

#link-folio #folio { 
    float:right;
    margin-top:16px;    
    clear:none;
}

#container {
    padding-top:25px;
    padding-bottom:5px;
}









.portfolio, .foto {
    float:left;
    margin:0;
    width:315px;
    height:315px;
    position:relative;
    z-index:20;
    overflow:hidden;
}

.foto {
    margin:2px 6px 6px 2px;
}

.portfolio img, .foto img {
    position: absolute;
    left: 0;
}

/*
* > .portfolio, * > .foto {
    background:rgba(240,240,240,.3);
}
*/

.portfolio a, .foto a {
    display:block;
    text-decoration:none;
    cursor:pointer;
    width:315px;
    height:315px;
}

.portfolio a .in-text-container, .foto a .in-text-container {
    display: table;
    -webkit-transition: all 0.222s ease-out;
    -moz-transition: all 0.222s ease-out;
    -o-transition: all 0.222s ease-out;
    -ms-transition: all 0.222s ease-out;
    transition: all 0.222s ease-out;   
    opacity: 1;
    visibility: visible; 	
}

.portfolio a .in-text-container {
    width:315px;
    height:315px;
}

.foto a .in-text-container {
    display: table;
    width:234px;
    height:234px;
}

.portfolio .in-text {
    display: table-cell;
    vertical-align: middle;
    width:315px;
    height:315px;
}

.foto .in-text {
    display: table-cell;
    vertical-align: middle;
    width:234px;
    height:234px;
}


.portfolio .popis, .foto .popis {
    font-style:italic;
}

.foto {
    width:234px;
    height:234px;
    overflow:hidden;
}

.foto a {
    width:234px;
    height:234px;
}

.posledni {
    margin-right:0;
}

.portfolio .nazev, .portfolio .popis, .foto .nazev, .foto .popis {
  display:block;
  line-height:20px;
  color:#303030;
  position:relative;
  overflow:hidden;
}







.portfolio .in-text {
    text-align: center;
    position: relative;
    background:url('/data/grafika/01-bar-30pct_opacity.png');
    background:rgba(255,255,255,0.85); 
    color:#303030;
}

.foto .in-text {
    text-align: center;
    position: relative;
    background:url('/data/grafika/01-bar-30pct_opacity.png');
    background:rgba(255,255,255,0.85); 
    color:#303030;
}



.portfolio a .in-text-container {
    visibility:hidden;
    opacity : 0;
}
.portfolio a:hover .in-text-container, .portfolio a:focus .in-text-container, .portfolio a:active .in-text-container {
    display:table;
    visibility:visible;
    opacity :1;
}


.foto a .in-text-container {
    visibility:hidden;
    opacity : 0;
}
.foto a:hover .in-text-container, .foto a:focus .in-text-container, .foto a:active .in-text-container {
    display:table;
    visibility:visible;
    opacity : 1;
}

.foto-failed
{
    background:rgba(255,255,255,0.85); 
    
}


.portfolio .nazev .inner, .portfolio .popis .inner, .foto .nazev .inner, .foto .popis .inner {
  padding:5px 10px;
  display:block;
  font-size:19px;
  overflow: hidden;
}




.foto .nazev .inner, .foto .popis .inner {
  font-size:18px;
}


.portfolio .popis .inner, .foto .popis .inner {
  font-size:11px;
  text-shadow: 0;
  
}


.portfolio .nazev {
    display:none;
}

.portfolio .popis {
    display:none;
}

.portfolio a:hover .nazev, .portfolio a:focus .nazev, .portfolio a:active .nazev {
    display:block;
}

.portfolio a:hover .popis, .portfolio a:focus .popis, .portfolio a:active .popis {
    display:block;
}

.foto .nazev {
    display:none;
}

.foto .popis {
    display:none;
}


.foto a:hover .popis, .foto a:focus .popis, .foto a:active .popis {
    display:block;
}

.foto_full {
    text-align:center;
    margin-bottom:51px;
    position:relative;
}

.foto_full .nazev, .foto_full .popis  {
    display:block;
    padding:0 17px;
    text-align:left;
}

.foto_full .text-top  .nazev, .foto_full .text-top .popis {
    padding-bottom:17px;
}

.foto_full .text-bottom  .nazev, .foto_full .text-bottom .popis {
    padding-top:17px;
}


.foto_full .nazev {
    font-size:130%;
}

#content .foto_full .nazev h2 {
    font-size:100%;
    margin:0;
}

.foto_full .popis {
    font-style:italic;

}

.foto_full a {
    position:relative;
    /*display:block;*/
}

/*.foto_full .cover {
    display:block;
    left:0;top:0;
    width:100%;height:100%;
    background:url(/data/grafika/jf/base/empty.gif);
    z-index:50;
    position:absolute;
}*/

.galerie_photo_detail {
    position:relative;
    /*overflow:hidden*/
}

.medium_list {
    visibility:hidden;
}

.nojs .medium_list {
    visibility:visible;
}

.medium_list a {
    display:inline-block;
    vertical-align:middle;
}

.medium_list a:hover img, .medium_list a:active img, .medium_list a:focus img {
    opacity:1
}

.medium_list img {
    opacity:0.3;    
    -webkit-transition: all 250ms linear;-moz-transition: all 250ms linear;-o-transition: all 250ms linear;transition: all 250ms linear;
}

.nojs .medium_list img {
    height:75px;
}

.medium_list .active img {
    opacity:1;
}

.medium_list a.back_link {
    height:75px;
    line-height:75px;
    padding-left:10px;
    float:left;
}


#content-container .redhover {
    background:red;
}

#content .galerietop {
    margin:0;    
    z-index:5;
    color:#fff;    
    width:100%;
    font-size:100%;    
    z-index:21;
    margin-bottom:2px;
}

#content .galerie_photo_detail .galerietop {
    position:absolute;
    margin:0 auto;
}

#content .galerie_detail_video .galerietop {
    position: relative;
    margin-bottom:16px;
}

#content .galerietop h1 {
    font-size:105%;
    margin:0;
    line-height: 2em;
}

#content .galerietop h1, #content .galerietop .popis {
    padding:0 5px;
    min-height:1em;
    _height:1em;
}

#content .galerietop h1 a {
    color:#fff;
    text-decoration:none;
}

#content .galerietop .inner {
    background:rgba(0,0,0,0.5);
    display:block;
    min-height:30px;
    background:url('/data/grafika/01-bar-30pct_opacity.png');
    background:rgba(255, 255, 255, 0.85);
    color:#808080;
    line-height:30px;
}

* html #content .galerietop .inner {
    height:30px;
}

#content .galerietop .inner a {
    color:#808080;
}

#content .galerie_photo_detail .galerietop .inner {
    min-height:0;
    background:rgba(255, 255, 255, 0.85);
}

* html #content .galerie_photo_detail .galerietop .inner {
    height:0;
}

#content .galerietop .popis {
    font-size:80%;
}

.photo_detail_container {
    text-align:center;    
}

.nojs .photo_detail_container img {
    max-width:100%;    
    vertical-align: middle;
}

.jsok .galerie_detail_image .photo_detail_container img {
    visibility:hidden;
}

.foto_full .socialFavorites, .medium .socialFavorites, .novinka .socialFavorites, .photo_detail_container .socialFavorites {
    position:absolute;
    top:5px;
    right: 10px;
    width:24px;
    height: 23px;
    z-index: 50;
}

.socialFavorites {
    background: url('/data/grafika/jf/soci/photo-social-buttons.png') no-repeat -16px -146px;
}

.socialFavorites:hover, .novinka .socialFavorites {
    width:auto;
    height:auto;
    padding:0;    
    right: 10px;
    background:none;
}

.novinka .socialFavorites {
    position: fixed;
    display: block;
    left: 50%;
    margin-left: 500px;    
    
}


.socialFavorites .socialicon {
    display: none;
    background: url('/data/grafika/jf/soci/photo-social-buttons.png');    
    margin:5px 0;
    opacity:0.7;
    width: 56px;
    height: 20px;
}

.socialFavorites:hover .socialicon, .novinka .socialFavorites .socialicon {
    display:block;    
}

.socialFavorites .socialicon:hover {
    opacity:1;
}

.socialFavorites .facebook {
    background-position: 0 0;    
}


.socialFavorites .twitter {
    background-position: 0 -24px;
}

.socialFavorites .pinterest {
    background-position: 0 -72px;
}

.socialFavorites .permalink {
    background-position: 0 -96px;    
}

.photo_detail {  
    position:relative;
    z-index:1;
    vertical-align: middle;
}   

#content .prevPicture, #content .nextPicture {
    position:absolute;
    z-index:2;
    opacity: 0.1;
    top:0;
    left:0;
    background: url("/data/grafika/jf/navi/arrows-13.png") no-repeat left center;
    width:100px;
    height:100%;
    display:block;
    cursor:pointer;
    text-decoration:none;
}

#content .nextPicture {
    right:0;
    left: auto;
    background: url("/data/grafika/jf/navi/arrows-13.png") no-repeat  right center;
}

#content .prevPicture:hover, #content .nextPicture:hover, 
#content .prevPicture:active, #content .nextPicture:active,
#content .prevPicture:focus, #content .nextPicture:focus {
  opacity: 0.99;
}

#content .galerie_photo_detail a:active, #content .galerie_photo_detail a:focus {
    outline: 0 none;
}

.socialIcon {
    float:left;
    margin:0 0 0 5px;
}

.jsok #content .galerie_photo_detail .onlyhover {
    display:none;
}

.jsok #content .galerie_photo_detail .show {
    display:block;
}

@keyframes donut-spin {
	0% {
		transform: rotate(0deg)
	}
	100% {
		transform: rotate(360deg)
	}
}

#ajax-spinner {
	display: block;
	position: fixed;
	z-index: 100000;
	left: 50%;
	top: 50%;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: #b1ce6a;
	border-radius: 50%;
	animation: donut-spin 1.2s linear infinite;
}
#image-blocker {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        z-index:1;
        background:url(/data/grafika/jf/base/empty.gif);
}

#menu .portfolioMenuList .level1 li {
    position:relative;
}

.level1 .level1 {
    display:inline;
}



#menu .portfolioMenuList li {
    float:left;
    padding:0 0 0 17px;
    
}



#menu .portfolioMenuList .level2 {
  display:none;
  background:rgba(209,209,209,0.8);
  position:absolute;
  width:170px;  
  left:0;
  top:100%;
  z-index:10000;
  padding:5px 0;
}

#menu .portfolioMenuList .level2 li {
    float:none;
    display:block;
    margin:0;
    padding:0;
    padding-left:20px;
    text-align:left;
    line-height:1;

}

#page_description {
    clear:both;
}

#page_description .inner {
    padding:17px;
}

#content .blog-prehled, #content .blog-detail    {
    position:relative;
}


#content .blog-detail .datum {
    padding:50px 0 30px 0;
}


#content .blog-prehled .novinka {
    margin-bottom:51px;
    position:relative;
}

.blog-prehled .paginator {
    margin:15px 0;
    text-align:center;
}

.blog-prehled h2 a {
    text-decoration:none;
}

.blog-detail .paginagor {
    clear:both;
}

.blog-detail #paginator_next {
    position:absolute;
    right:17px;
}

.blog-detail #paginator_prev {
    position:absolute;
    left:17px;
}

.bottom_panel {
    text-align:center;
}

.bottom_nazev_tagy {
    padding:17px;
}

.blog-prehled .nahled, .blog-detail .nahled {
    text-align:center;
}

.galeriekrokovani {
    position:relative;
    clear:left;
    text-align:right;
    left:0;
    bottom:0px;
    width:100%;
    color:#fff;
    font-size:90%;
}

.galerie_photo_detail .galeriekrokovani {
    z-index:10;
}

.galeriekrokovani .inner {
    margin:2px;
    margin-bottom:0;
    padding-right:10px;
    display:block;
    height:30px;
    position:relative;
    line-height:30px;
    background:url('/data/grafika/01-bar-30pct_opacity.png');
}

.galeriekrokovani > .inner {
    background:rgba(0,0,0,0.5);
}

.galeriekrokovani a {
    color:#fff;
}

.galeriekrokovani a:hover, .galeriekrokovani a:active, .galeriekrokovani a:focus {
    color:#eee;
}


#text {
    -webkit-hyphens: auto;
    -moz-hyphens:auto;    
}

#text:after {
    content:" ";
    display:table;
    clear:both;
}

#licence_text {
    margin:15px 0 0;    
    color:#808080;
}

#licence_text a {
    color:#000;
    font-size:70%;
}

#prezentace.flexslider ul:before {
    content:'';
	display: block;
	position: absolute;
	left: 50%;
	top: 30vh;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: #b1ce6a;
	border-radius: 50%;
	animation: donut-spin 1.2s linear infinite;}

#prezentace.empty_presentation ul:before {
    display: none;
}

#prezentace li, #prezentace ul {
    list-style:none;
    margin:0;
    padding:0;
}

#prezentace.onePhotoVersion ul > li {
    display: none;
    text-align: center;
}

#prezentace.onePhotoVersion ul > li {
    display:block;
}

.flexslider ul li img {
    margin:0 auto;
}

.text-medium-content {
    background:#fff url(/admin/grafika/s_edit_text_icon.png) center center no-repeat;
    opacity: 0.3;
    -webkit-transition: all 0.222s ease-out;
    -moz-transition: all 0.222s ease-out;
    -o-transition: all 0.222s ease-out;
    -ms-transition: all 0.222s ease-out;
    transition: all 0.222s ease-out;   

}

.text-medium-content:hover {
    opacity: 1;
}


.gallerylist_text {
    clear:left;
}





.html_textcontent {
  
  text-align: left;
}

.html_textcontent h1 {
  font-size: 2em;
  margin: 30px 0 15px 0;
  font-weight:normal;
  padding:0;
  text-align:left;
  line-height:110%;
}

.html_textcontent h2 {
  font-size: 1.65em;
  font-weight: normal;
  margin: 50px 0 25px 0;
  line-height:110%;  
  padding:0;
}

.html_textcontent h3 {
  font-size: 1.33em;
  margin: 10px 0 5px 0;
  font-weight:normal;
  padding: 0;
  line-height:110%;
}

.html_textcontent p{
  font-size: 21px;
  min-height: 21px;
  line-height:1.5em;
  margin:0;
}

.html_textcontent p.perex,
.html_textcontent p.text_block,
.html_textcontent h1.text_block,
.html_textcontent h2.text_block,
.html_textcontent h3.text_block {
  width: 550px;
  padding-left:67px;
}

.html_textcontent ul.text_block{
  padding:0 0 0 107px;
}

.html_textcontent ol.text_block{
   padding:0 0 0 107px; 
}

.html_textcontent ul.text_block,
.html_textcontent ol.text_block {
  width: 510px;
}

.html_textcontent p.large_image img {
}

.html_textcontent img{
  padding-top:30px;
  padding-bottom:30px;
}

.html_textcontent img[style*="float: left"],
.html_textcontent img[style*="float:left"],
.html_textcontent img[align="left"]
{
  padding-right: 30px;
}

.html_textcontent img[style*="float: right"],
.html_textcontent img[style*="float:right"],
.html_textcontent img[align="right"]
{
  padding-left: 30px;
}

.html_textcontent ul{
  margin:14px 0;
  padding:0 0 0 40px;
  list-style-type: square; 
  line-height: 1.5em;
}

.html_textcontent ol{
  margin:14px 0;
  padding:0 0 0 40px;
  list-style-type: decimal; 
  line-height: 1.5em;
}

.html_textcontent ul ul {
  list-style-type: circle;
  margin:0; 
}

.html_textcontent ol ul {
  list-style-type: circle;
  margin:0; 
}

.html_textcontent .jfmrow,
.html_textcontent .col-100,
.html_textcontent .col-50,
.html_textcontent .col-66,
.html_textcontent .col-33
{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.html_textcontent .jfmrow {
  width:100%;  
}

.html_textcontent .jfmrow:after {
  content: "";
  display: table;
  clear: both;
}

.html_textcontent .col-100 {
  width:100%;
  float:left;
}

.html_textcontent .col-50 {
  width:50%;
  float:left;
}

.html_textcontent .col-66 {
  width: 66.666666%;
  width: calc(100%*2/3);
  float:left;
}

.html_textcontent .col-33 {
  width: 33.333333%;
  width: calc(100%/3);
  float:left;
}


@media screen and (max-width: 768px) {  
  .html_textcontent .col-100,
  .html_textcontent .col-50,
  .html_textcontent .col-66,
  .html_textcontent .col-33
  {
    float: none;
    width: 100%;
  }
}


.html_textcontent a,.module_content a  {
  color:#bdb6bd;
  text-decoration:none;
  -webkit-transition: all 250ms linear;-moz-transition: all 250ms linear;-o-transition: all 250ms linear;transition: all 250ms linear;
  
}

.html_textcontent a:hover, .html_textcontent a:active, .html_textcontent a:focus
,.module_content a:hover, .module_content a:active, .module_content a:focus {
  color:#303030;
  text-decoration:underline;
  
}


body {
  background: #ffffff; /* from page */
}
#content, #licence_text {
    color:#bfbec2;
    font-family:"Arvo",sans-serif; 
    font-size:21px;
}

.html_textcontent p,
.module_content p {
  line-height: 1.5em;
  min-height: 1.5em;
  margin: 0;
  width: 550px;
}
.html_textcontent h1,
.module_content h1 {
  font-size: 1.65em;
}
.html_textcontent h2,
.module_content h2 {
  font-size: 1em;
  font-weight: bold;
  margin: 50px 0 25px 0;
  line-height: 100%;
}
.html_textcontent .html_textcontent ul,
.module_content .html_textcontent ul {
  line-height: 1.5em;
}




@supports (display: flex) {
    #page-container-bottom {
        display:flex;
        flex-direction: column; 
    }

    #content {
        order: 2
    }
    #topframe {
        order: 1;
        height: auto;
    }    
    #link-folio {
        order: 3
    }    
}



@media screen and (max-width: 1240px) {
    #page {
        max-width: 100%;
        min-width: auto;
        min-height: 50vh;
    }
    #content, #text {
        width: 100%;        
    }
    #content {
        margin-bottom: 20px;
    }
    .portfolios, .fotky {
        text-align: center;
        font-size: 0;
    }
    .portfolios .portfolio, .fotky .foto {
        display: inline-block;
        float: none;
        max-width: 100%;
        font-size:21px;
    }

    .html_textcontent h1, .module_content h1,
    .html_textcontent p.perex, .html_textcontent p.text_block, .html_textcontent h1.text_block, .html_textcontent h2.text_block, .html_textcontent h3.text_block,
    .html_textcontent ul.text_block, .html_textcontent ol.text_block
    {
        padding-left: 0;
        width: auto;
    }

    .html_textcontent ul.text_block, .html_textcontent ol.text_block {
        padding-left: 25px;
    }

    .html_textcontent img {
        width: auto;
        height: auto;
        max-width: 100%;
    }

    .html_textcontent iframe {
        width: 100%;
        height: auto;
    }
    
    .html_textcontent iframe[src*="www.youtube"], .html_textcontent iframe[src*="vimeo.com"] {
        height: 56vw;
        min-height: 170px;        
    }    

    #content-container {
        min-height: auto;
    }

    .blog-detail #paginator_prev,
    .blog-detail #paginator_next
    {
        position: static;
        left:0;
        right:0;
    }

    .blog-detail #paginator_next {
        text-align: right;
    }

    .bottom_panel {
        padding: 20px;
    }

    #menu, #logo {
        position: static;
    }

    #menu {
        top: 0;
        left: 0;
        padding: 0;
        margin: 0;
        margin-left: -20px;
    }

    #menu .portfolioMenuList {
        margin-bottom:20px;
    }

    #menu .portfolioMenuList li {
        padding: 10px;
        margin: 10px 0 0 10px;
        float: none;
        display: inline-block;
    }

    #link-folio, .photoDetail #link-folio {
        position: static;
    }


}}

.flash {
	position: absolute;
	position: fixed;
	top:0;
	left:50%;
	margin-left:-200px;
	width:400px;
	background-color:#fff;
	background:rgba(255,255,255,0.6);
	color:#000;
	display: block;
	z-index:100;
	text-align: center;
	padding:15px;

	-webkit-transform-origin: 100% 50%;
	-webkit-animation: openFlashAnimation 3s both ease-in;
	-moz-transform-origin: 100% 50%;
	-moz-animation: openFlashAnimation 3s both ease-in;
	transform-origin: 100% 50%;
	animation: openFlashAnimation 3s both ease-in;

}

@-webkit-keyframes openFlashAnimation {
      0% {
            -webkit-transform: translateY(-200px);
      }
      100% {
            -webkit-transform: translateY(0);
      }
}
@-moz-keyframes openFlashAnimation {
      0% {
            -moz-transform: translateY(-200px);
      }
      100% {
            -moz-transform: translateY(0);
      }
}
@keyframes openFlashAnimation {
      0% {
            transform: translateY(-200px);
      }
      100% {
            transform: translateY(0);
      }
}.jfForm {
  padding: 20px 0;
}
.jfForm .has-error {
  display: block !important;
}
.jfForm .form-group {
  display: block;
  width: 100%;
  padding: 5px 0;
}
.jfForm .form-group .control-label {
  width: 20%;
  text-align: left;
  display: inline-block;
  vertical-align: top;
}
.jfForm .form-group .control-container {
  width: 70%;
  padding: 0;
  margin: 0 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
}
.jfForm .form-group input,
.jfForm .form-group textarea,
.jfForm .form-group select {
  border: 1px solid #303030;
  resize: none;
  padding: 5px;
}
.jfForm .form-group input,
.jfForm .form-group textarea {
  width: 100%;
}
.jfForm .form-group input[type="submit"] {
  width: auto;
  float: right;
  color: #fff;
  box-shadow: 0 1px 3px rgba(135,145,155,0.55);
  border: 0;
  background: #303030;
  cursor: pointer;
  padding: 10px 15px;
}
.jfForm .form-group input[type="submit"]:hover {
  background: #666;
}
.jfForm .form-group label input[type="radio"],
.jfForm .form-group label input[type="checkbox"] {
  margin-right: 7px;
  width: auto;
}
@media (max-width: 640px) {
  .jfForm .form-group {
    display: block;
    width: 100%;
    margin-left: 0%;
  }
  .jfForm .form-group .control-container {
    width: 100%;
  }
  .jfForm .form-group input[type="radio"],
  .jfForm .form-group input[type="checkbox"],
  .jfForm .form-group input[type="submit"] {
    width: auto;
  }
  .jfForm .form-group input,
  .jfForm .form-group textarea {
    width: calc(100% - 15px);
  }
  .jfForm .form-group .control-label {
    width: 100%;
  }
  .jfForm .form-group .control-label label {
    padding-left: 5px;
    padding-top: 10px;
    display: block;
    text-align: left;
    width: auto;
  }
}.jfFormInline {
  overflow: hidden;
  clear: both;
}
.jfFormInline .form-group {
  display: block;
  border: 1px solid silver;
  border-radius: 5px;
  padding: 10px;
  margin: 0 0 10px 0;
}
.jfFormInline .control-container input,
.jfFormInline .control-container textarea,
.jfFormInline .control-container select {
  max-width: 100%;
  padding: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.jfFormInline .control-label {
  display: block;
  font-size: 110%;
  font-weight: bold;
  margin: 10px 0 5px;
}
.jfFormInline label input[type="radio"],
.jfFormInline label input[type="checkbox"] {
  margin-right: 7px;
}.jfFormResponsive {
  clear: both;
  padding: 1em 0;
}
.jfFormResponsive input {
  padding: 5px;
}
.jfFormResponsive td,
.jfFormResponsive th {
  vertical-align: middle;
}
.jfFormResponsive th {
  text-align: right;
}
.jfFormResponsive th,
.jfFormResponsive td,
.jfFormResponsive textarea,
.jfFormResponsive input[type="submit"] {
  padding: 5px;
}
.jfFormResponsive input[type="submit"] {
  font-size: 110%;
  cursor: pointer;
}
.jfFormResponsive .form-group {
  display: block;
}
.jfFormResponsive input,
.jfFormResponsive textarea,
.jfFormResponsive select {
  max-width: 100%;
  padding: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.jfFormResponsive textarea {
  width: 100%;
}
.jfFormResponsive label input[type="radio"],
.jfFormResponsive label input[type="checkbox"] {
  margin-right: 7px;
}
@media (max-width: 640px) {
  .jfFormResponsive table,
  .jfFormResponsive th,
  .jfFormResponsive td,
  .jfFormResponsive tr {
    display: block;
  }
  .jfFormResponsive input {
    width: 100%;
  }
  .jfFormResponsive input[type="radio"],
  .jfFormResponsive input[type="checkbox"],
  .jfFormResponsive input[type="submit"] {
    width: auto;
  }
  .jfFormResponsive th {
    text-align: left;
  }
}



/* user CSS */
#logo {
  left: 40px;
}
#menu {
  top: 14px;
  right: 40px;
}
#content .galerie_photo_detail .galerietop {
  bottom: 0;
}
@media (max-width: 1240px) {
  #container {
    padding-top: 20px;
  }
  #content {
    margin-top: 0;
  }
  #topframe #logo,
  #topframe #menu {
    margin: 0;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    line-height: 1.5;
    position: relative;
    text-align: center;
  }
  .galerietop.module_content h1 {
    text-align: center;
  }
}
@media (max-width: 600px) {
  #page-container-bottom {
    padding: 10px;
  }
  #menu .portfolioMenuList .level1 li {
    margin: 5px;
    padding: 10px 0;
    font-size: 13px;
  }
}



