.rg-row {display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex; -webkit-flex-wrap:wrap; -ms-flex-wrap:wrap; flex-wrap:wrap; box-sizing:border-box;}

[class*=rg-col]:last-child {margin-right:0;}
.rg-col1-1{width:100%; margin:0 2.00% 19.60px 0}
.rg-col1-2{width:49%; margin:0 2.00% 19.60px 0}
.rg-col1-3{width:32%; margin:0 2.00% 19.60px 0}
.rg-col1-4{width:23.5%; margin:0 2.00% 19.60px 0}
.rg-col1-5{width:18.4%; margin:0 2.00% 19.60px 0}
.rg-col1-6{width:15%; margin:0 2.00% 19.60px 0}

@media (min-width: 981px){
  .bg-home {min-height: 1714px;}
  .photoFrame .pager A:nth-child(8n) {margin-right:0;}
  .gallery .gallery-buttons .button:nth-child(3n) {margin-right:0;}
  .list {-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;}

  #menu {display:block;height: 111px;margin-bottom: 45px;background: #000;background-image: url(../images/menu-top-bg.png);background-repeat: repeat-x;background-position: center top;}
  #menu .sizer {width:980px;}
  #menu .languages {height: 29px;background-image: url(../images/languages-bg.jpg);position: absolute;bottom: -20px;right: 0;}
  #menu .languages LI {background-image: url(../images/language-delimiter.jpg); background-repeat: no-repeat; background-position: right 7px;}
  #menu .navigation {width:980px;}
  #menu .navigation LI {height:120px;}
  #sideContent {padding: 0px 0px 10px 0px;min-height: 500px;}
  #sideContent .content {width:980px;}
  .bgAktivity #mainContent {min-height: 703px;}
  .bgHome #mainContent {height: 942px;}
  .bgRezervace #mainContent {height: 760px;}
  .bgUbytovani #mainContent {height: 40px;}
  .bgUniverzal #mainContent {height: 400px;}
  .bgKontakt #mainContent {height: 780px;}
  /*.bgGallery #mainContent {height: 705px;}*/
  .bgPoptavka #mainContent {/*height: 460px;*/ height: 50px;}
	.bgPoptavka #mainContent .content {min-height: 500px;}
  .bgCenik #mainContent {height: 50px;}
  .bgMista #mainContent {height: auto; min-height: 703px;}
  #mainContent .sizer {width: 980px;}
  #mainContent H1 {padding: 170px 0px 0px 30px;}
  #mainContent H1, #sideContent H2, #sideContent H3 {width: 980px;}
  #mainContent .insidePlace {width: 920px; margin: 0px 0px 30px 0px; padding: 30px;}
  #mainContent .insidePlaceMista {width: 415px; height: 100px;}
  #mainContent .insidePlaceMista P {width: 295px; float: left; }
  #mainContent .insidePlaceMista H2 {width: 295px; float: left;}
  /*#mainContent .insidePlace .formRow {width: 305px;}
  #mainContent .insidePlace .formRow2 {width: 305px;}
  #mainContent .insidePlace .formRow .formDesc {width: 305px;}
  #mainContent .insidePlace .formAS {width: 615px; }*/
  #mainContent .button {width: 238px; height: 138px;padding: 100px 0px 0px 0px; }
  #photoRow {height: 320px; }
  #photoRow .sizer {width:980px;}
  #photoRow .galleryButton {margin: 97px 0px 0px 427px;}
  #footer {height: 109px;}
  #footer .sizer {width:980px;}
  #footer .copyright {width: 155px; height: 76px; padding: 33px 0px 0px 0px;  margin: 30px 0px 0px 100px;background-image: url(../images/bottom-delimiter.jpg); background-repeat: no-repeat; background-position: right top;}
  #footer .createdBy {width: 225px; height: 76px; padding: 33px 0px 0px 0px; margin: 30px 0px 0px 20px;background-image: url(../images/bottom-delimiter.jpg); background-repeat: no-repeat; background-position: right top;}
  #footer .addsBottom {width: 360px; height: 76px; padding: 33px 0px 0px 0px; margin: 30px 100px 0px 20px;}
  #footer .addsBottom UL {width: 360px;}
}

@media (max-width: 980px){
  .box {box-sizing:border-box;}
  .left {float:left;}
  .right {float:right;}
  .full {width:100%;}
  .sizer {width:100%;}
  .padder {padding:10px;}
  .gallery .gallery-buttons .button {height:70px; display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-box-pack:center; -webkit-justify-content:center; -ms-flex-pack:center; justify-content:center; -webkit-box-align:center; -webkit-align-items:center; -ms-flex-align:center; align-items:center;}
  /*.list {justify-content:;}*/
  .list .rg-col1-3:nth-of-type(3n) {margin-right:0;}
  IMG {max-width:100%;}
  #bottomLogo {-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;height:115px;}
  #bottomLogo A {display:block;}
  #menu {box-shadow: 0px 1px 9px;background: #000;}
  #menu .sizer {-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-align: center;-webkit-align-items: center;-ms-flex-align: center;align-items: center;}
  #menu .sizer .facebook {display:none;}
  #menu .navigation LI A {margin:5px 15px 0 0;}
  #menu .navigation {-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;}
  #menu .languages {-webkit-box-ordinal-group: 2;-webkit-order: 1;-ms-flex-order: 1;order: 1; height: auto; width: 50px; background: #fff; margin-right: 7px;}
  #menu .languages LI {width:100%;}
  #menu .languages LI A {width: 100%; margin: 0; padding: 6px 8px; text-align:center;}
  #mainFrame {min-height:auto;}
  #slideshow {height:auto;}
  #slideshow IMG {max-height:350px;}
  #photoRow {padding: 20px 0;}
  #photoRow .sizer {-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}
  .bgHome #mainContent {display:none;}
  .bgCenik TABLE {*display:none;}
  #sideContent {padding-top:50px; padding-bottom:50px;}
  #mainContent .insidePlaceMistaDelimiter {display:none;}
  #mainContent .insidePlace {padding:15px;}
  #photoRow {background-size: auto 100%; }
  #footer {padding:25px 10px;}
  #footer .rg-col1-3 {margin-bottom:0;}

}
@media (min-width: 841px) and (max-width: 980px){
 .photoFrame .pager A:nth-child(8n) {margin-right:0;}
 .gallery .gallery-buttons .button:nth-last-child(-n+3) {margin-bottom:0;}
 .gallery .gallery-buttons .button:nth-child(3n) {margin-right:0;}
}

@media (max-width: 840px){

.rg-col1-3{width:32%; margin:0 2.00% 16.80px 0}
#menu .sizer {display:none;}
#mobileMenu {display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}



}

@media (min-width: 601px) and (max-width: 840px){
  .photoFrame .pager A:nth-child(8n) {margin-right:0;}

}

@media (max-width: 600px){

.rg-col1-3{width:100%; margin:0 0.00% 12.00px 0}
.photoFrame .pager A {width:18.4%; outline:1px solid;}
.photoFrame .pager A:nth-child(5n) {margin-right:0;}
#footer {text-align:center;}
#footer .addsBottom {-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;}
#footer .addsBottom UL {float:none;}
#footer .addsBottom UL LI {width:49%;}
#footer .addsBottom UL LI:nth-child(even) {text-align:left; float:right;}
#footer .addsBottom UL LI:nth-child(odd) {text-align:right;}
#footer .createdBy {-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;margin: 10px 0;}
#footer .copyright {-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;}

#gallery-content .photoFrame .photoItem {width: calc((100% / 6) - (45px / 6));}
#gallery-content .photoFrame .photoItem:nth-child(9n) {margin-right: 9px;}
#gallery-content .photoFrame .photoItem:nth-child(6n) {margin-right: 0;}

}

@media (min-width: 481px) and (max-width: 600px){


}

@media (max-width: 480px){

.rg-col1-1{width:100%; margin:0 0.00% 9.60px 0}
.rg-col1-2{width:100%; margin:0 0.00% 9.60px 0}
.rg-col1-3{width:100%; margin:0 0.00% 9.60px 0}
.rg-col1-4{width:100%; margin:0 0.00% 9.60px 0}
.rg-col1-5{width:100%; margin:0 0.00% 9.60px 0}
.rg-col1-6{width:100%; margin:0 0.00% 9.60px 0}


#gallery-content .photoFrame .photoItem {width: calc((100% / 4) - (27px / 4));}
#gallery-content .photoFrame .photoItem:nth-child(9n) {margin-right: 9px;}
#gallery-content .photoFrame .photoItem:nth-child(6n) {margin-right: 9px;}
#gallery-content .photoFrame .photoItem:nth-child(4n) {margin-right: 0;}

}