/* ADD MY STYLE - RESPONSIVE */

/* STYLE FOR BIG PC - 1200 and more */
@media (min-width: 1200px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 1170px;  
  }
  /* SLIDE SHOW - images, pagination */
  div#slideshow-handler-bg div.camera_caption > div > div > div.container,
  div#slideshow-handler-bg div.camera_pag {
    /*padding-left: calc((100% - 1240px) / 2);*/
  }
}


/* STYLE FOR SMALL PC - 1279 and 980 */
@media (max-width: 1279px) and (min-width: 980px) {

}


/* STYLE FOR PC - 980 and more */
@media (min-width: 980px) {
  /* TOP MENU - pop up button */
  div#cl-handler {
    display: none;
  }
  /* STANDART MAIN CONTENT - siyinz for span 3 and span 9 */
  /*div#main-content-handler > div.row-fluid > div.span3.rs-cl {
    width: 26.97917%;
  }
  div#main-content-handler > div.row-fluid > div.span9.rs-cc {
    width: 70%;
    margin-left: 3.02083%;
  }*/
  /* MY ADD LEFT SITE CONTENT */
  div#main-content-handler > div.row-fluid > div.span3.rs-cl,
  section#story-content.myAddLeft > div#content-handler > div > div.span3,
  div.rs-cl.myAutoUnderMenu {
    width: 270px;
    box-sizing: content-box;
    /*margin-right: 45px;*/
  }
  div#main-content-handler > div.row-fluid > div.span9.rs-cc,
  section#story-content.myAddLeft > div#content-handler > div > div.span3 + div.span9,
  div#myNavigationPosition div.row-fluid div.span9,
  div.rs-cl.myAutoUnderMenu + div#main-content-handler {
    margin-left: 45px;
    width: calc(100% - 315px);
    box-sizing: border-box;
    padding-bottom: 0px;
  }
  /* MY ADD LEFT SITE CONTENT - new add */
  div.rs-cl.myAutoUnderMenu,
  div.rs-cl.myAutoUnderMenu + div#main-content-handler {
    float: left;
  }
  div.rs-cl.myAutoUnderMenu {
  
  }
  div.rs-cl.myAutoUnderMenu + div#main-content-handler {
  
  }
  /* WIDTH VM PRODUCTS IN CATEGORY */
  div.row-fluid.tft-modules div.product.span2.myRowP5 {
    width: calc(20% - 8px);
    margin-left: 10px;
    margin-bottom: 0px;
    margin-top: 10px;
    min-width: 0px;
  }
  div.row-fluid.tft-modules:first-child div.product.span2.myRowP5 {
    margin-top: 0px;
  }
  div.row-fluid.tft-modules div.product.span2.myRowP5:first-child {
    margin-left: 0px;
  }
}


/* SPET RESPONSIVE VIEW */
@media (max-width: 1199px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 940px; /* 980 */  
}


@media (max-width: 991px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 728px; /* 768 */
  }
  /* header - top modules */
  div.myTopMenuTop {
    margin-bottom: 15px;
  }
  /* banner top 1 - intro image */
  div.custom.myIntroTwoImg > table > tbody > tr > td:first-child > div:first-child,
  div.custom.myIntroTwoImg > table > tbody > tr > td:last-child > div:first-child {
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 7px;
  }
  div.custom.myIntroTwoImg > table > tbody > tr > td:first-child > p:last-child a,
  div.custom.myIntroTwoImg > table > tbody > tr > td:last-child > p:last-child a {
    min-width: unset;
    padding: 6px 9px;
    margin-top: 9px;
  }
  /* main intro content table */
  div.item-page.myIntroArticle > div > table > tbody > tr > td:nth-child(1),
  div.item-page.myIntroArticle > div > table > tbody > tr > td:nth-child(2) {
    display: block;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
  }
  div.item-page.myIntroArticle > div > table > tbody > tr > td:nth-child(1) {
    margin-bottom: 33px;
  }
  div.item-page.myIntroArticle > div > table > tbody > tr > td:nth-child(2) {
    background-image: none;  
  }
  /* special contact table - only for 3 col */
  table.mySpContact > tbody > tr > td {
    display: block;
    width: 100% !important;
  }
  table.mySpContact > tbody > tr > td:nth-child(n+2) {
    padding-left: 0px;
    background-image: none;
    margin-top: 15px;
  }
  table.mySpContact > tbody > tr > td > table {
    height: auto !important;
    width: 100%;
  }
  table.mySpContact > tbody > tr > td > table td:nth-child(2) {
    width: auto !important;
  }
  /* article contact - table myTableContacts */
  table.myTableContacts td p {
    clear: both;
  }
  /* myArtMenu module menu in articles */
  div.moduletable.myArtMenu > ul.menu > li:nth-child(2n+1),
  div.moduletable.myArtMenu > ul.menu > li:nth-child(2n+2) {
    float: none;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 10px;
    height: auto;
  }
  div.moduletable.myArtMenu > ul.menu > li:first-child {
    margin-top: 0px;
  }
  div.moduletable.myArtMenu > ul.menu > li > a span.myText {
    max-height: none;
  }
  /* special table Left text Right img */
  table.myLtextRimg td {
    display: block;
    padding-left: 0px !important;
    padding-right: 0px;
    margin-bottom: 20px;
  }
  table.myLtextRimg td:last-child {
    margin-bottom: 0px;
  }
  /* art module menu with images */
  div.moduletable.myArtMenu2 > ul.menu > li {
    width: 260px;
    margin-bottom: 16px;
  }
  div.moduletable.myArtMenu2 > ul.menu > li:nth-child(n+6) {
    margin-top: 0px;
  }
  /* manual gallery style */
  p.myManualGallery img {
    width: 260px;
  }

/* hlavicka */
section#myUpTopSection {
    padding-top: 5px;
}
section#myUpTopSection div.mySpacer {
    flex-wrap: wrap;
    align-items: center;
    justify-content: initial;
    text-align: left;
}
section#myUpTopSection div.myLogoBig {
    margin-top: 0;
    order: 1;
    margin-bottom: 0;
}
section#myUpTopSection div.myLogoBig img {
    width: auto;
    max-width: 100%;
}
section#myUpTopSection div.myTopMenuLeft {
    order: 2;
}
div.custommyHText {
    font-size: 20px;
    padding-left: 25px;
}
div.myTopMenuLeft {
    float: none;
    display: block;
    margin: initial;
    margin-bottom: 0;
}
section#myUpTopSection div.myTopMenuRight {
    order: 3;
    margin-bottom: 10px;
    margin-top: 10px;
}
div.myLangSwitchSpacer > div.mod-languages {
    display: block;
}
div.mod-languages.myLangSwitch > ul {
    display: block;
    float: right;
}
div.myLangSwitchSpacer {
    display: block;
    height: auto;
}
div.myTopMenuRight > div {
    margin-right: 0px;
}
div.mod-languages.myLangSwitch > ul > li > a {
    line-height: 30px;
    font-size: 18px;
}
div.mod-languages.myLangSwitch > ul > li.lang-active > a {
    font-weight: 700;
}


/* mytopbanner */
div#myTop2Banner {
    flex-wrap: wrap;
}
div#myTop2Banner > div {
    width: 100%;
    float: none;
}
div#myTop2Banner div.myText {
    width: 100%;
    max-width: 100%;
    height: auto;
    text-align: center;
}
div#myTop2Banner div.myLeft div.myText div.custom {
    text-align: center;
}
div#myTop2Banner div.myText div.custom {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* content */
div.item-page.myIntro div.myArticleContent > .myScriptReadmoreIcon, div.newsflash.mySlideNewsModul div.myContent div.myReadmore a {
    width: 50px;
    height: 50px;
    background-size: 30%;
}
div.newsflash.mySlideNewsModul div.myContent div.myReadmore, div.newsflash.mySlideNewsModul div.myContent div.myReadmore a {
    width: 50px;
    height: 50px;
}
section#my-bottom > div.mySpacer {
    display: block;
}
body.myBody.myIntro section#story-content {
    padding: 20px 0px;
}
div#myModeleVystavy > div.myCover {
    overflow: hidden;
}
div#myModeleVystavy > div.myCover div.myRightBg {
    width: 100%;
    height: 256px;
    top: 0;
    left: 0;
}
div#myModeleVystavy > div.myCover div.mySpacer {
    flex-wrap: wrap;
    width: auto;
}
div#myModeleVystavy > div.myCover div.mySpacer > div.myCol {
    min-width: 100%;
    flex: 0 0 100%;
    order: 1;
}
div#myModeleVystavy > div.myCover div.mySpacer > div.myCol:nth-of-type(1) {
    order: 2;
}
div#myModeleVystavy > div.myCover div.mySpacer > div.myCol:nth-of-type(2) {
    height: 256px;
}
div.myModule.myText {
    width: 100%;
}

/* mapa */
div#iframe_wrap iframe {
    min-height: 300px;
}

/* loga */
div.custom.myLogosModule > table > tbody > tr {
    flex-wrap: wrap;
}
div.custom.myLogosModule > table > tbody > tr > td {
    flex: 0 0 50%;
    min-width: 50%;
    padding: 10px 0;
}

/* aktuality */
div.mySlideNews .myHeaderModule .myTitleModule {
    text-transform: uppercase;
}
div.newsflash.myModulVystaveVer2 {
    padding: 30px 0px;
}

/* kontaktni informace */
div#myContactUpFooter2 div.mySpacer {
    flex-wrap: wrap;
    width: auto;
}
div#myContactUpFooter2 div.mySpacer > div.myCol {
    flex: 0 0 100%;
    min-width: 100%;
}
div#myContactUpFooter2 div.mySpacer > div.myCol:nth-of-type(2) {
    order: 1;
    height: 256px;
}
div#myContactUpFooter2 div.mySpacer > div.myCol:nth-of-type(1) {
    order: 2;
}
div.myModule.myContactModule2.Right {
    width: 100%;
}
div#myContactUpFooter2 div.myRightBg {
    width: 100%;
    top: 0px;
    left: 0;
    height: 256px;
}
div#myContactUpFooter2 {
    background-color: #42474a;
}
div#myContactUpFooter2 tr {
    display: flex;
    flex-wrap: wrap;
}
div.custom.myContactModule2.Left table {
    margin: 30px 0px;
    width: 100%;
}
div.custom.myContactModule2.Left table td {
    padding-right: 0px;
    flex: 0 0 50%;
    min-width: 50%;
    order: 1;
}
div.custom.myContactModule2.Left table td:last-child {
    padding-right: 0;
    margin-bottom: 20px;
    order: 2;
}
/* paticka */
footer#footer {
    background-color: #323638;
}
div.custom.myCopyRight {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
footer#footer p {
    flex: 0 0 100%;
    min-width: 100%;
    float: none;
    text-align: center;
}
footer#footer p:last-child {
    margin-top: 10px;
}
/* sidebar */
div.myLeftMenu {
    margin-top: 20px !important;
}

/* top section */
section#myTopSection {
    display: none;
}
/* offcanvas */
.ms-handler {
    background-color: #e5e5e5;
}
ul.menucanvas li.VmOpen ul {
    display: block;
}
ul.menucanvas li > div > span {
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    margin: auto;
    border: 1px solid white;
    box-sizing: border-box;
    cursor: pointer;
}
ul.menucanvas li > div {
    position: relative;
}
ul.menucanvas li:hover > div > span:before {
    animation-duration: 1000ms;
    animation-name: rotateIn;
}
ul.menucanvas li > div > span:before {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    line-height: 18px;
    font-family: "Font Awesome 5 Free";
    content: '\f107';
    color: #b5b5b5;
    animation: fadeIn;
}
ul.menucanvas li.VmOpen > div > span:before {
    content: '\f106';
    font-size: 20px;
    line-height: 18px;
    font-family: "Font Awesome 5 Free";
    color: #fff;
}
ul.menucanvas li.active a.active {
    color: #ffffff;
    opacity: 1;
}

/* produkty */
div#myNavigationPosition div.myLeft div.myNavigationTitle h1 {
    font-size: 30px;
    line-height: 36px;
}
div.myRozcestnikFull > ul {
    flex-wrap: wrap;
}
div.myRozcestnikFull > ul > li {
    width: 100%;
}
.myDetailProContent object, .myArticleContent object {
    width: 100%;
    height: 100%;
    min-height: 215px;
    margin: 0;
}
/* kontakt */
table.myTableContact tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
/* slideshow */
section#mySlideshow {
    margin-bottom: 5px;
}
.sppb-carousel-extended-outer-stage {
    height: auto !important;
}
body .sppb-carousel-extended-heading {
    font-size: 14px;
    margin-bottom: 5px;
}
body .sppb-carousel-extended-subheading {
    font-size: 12px;
    margin-bottom: 0;
}
body #sppb-addon-1590131971266 .sppb-carousel-extended-content-wrap {
    background-color: rgba(66, 72, 74, 0.7);
    padding: 10px 0px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 0;
    width: auto;
    right: 0;
    left: auto;
    height: 70%;
    top: 15%;
}
body div.sppb-carousel-extended-dots {
    bottom: 5px;
}
body #sppb-addon-1590131971266 .sppb-carousel-extended-dots ul li {
    height: 14px;
    line-height: 14px;
    width: 14px;
}
body #sppb-addon-1590131971266 .sppb-carousel-extended-dots ul li:hover span, body #sppb-addon-1590131971266 .sppb-carousel-extended-dots ul li.active span {
    height: 6px;
    width: 6px;
}
body object {
    width: 100%;
    height: auto;
    min-height: 215px;
    margin: 0;
}
/* vystavy */
div#myContactUpFooter2 div.myRightBg:before {
    content: '';
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
section#myUpTopSection div.myLogoBig img {
    max-height: 115px;
}
}


@media (max-width: 767px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 100%;
    padding: 0px 20px;
    box-sizing: border-box;
  }
  .container .container {
    padding: 0px 0px;
  }
  /* header */
  header#top-handler div.ms-handler {
    padding-top: 15px;
  }
  /* header - logo */
  div.myTopMenuLeft {
    float: none;
  }
  /* header - top modules */
  div.myTopMenuTop {
    clear: both;
    margin: auto;
  }
  div.myTopMenuTop > div.myHeaderTextPos {
    float: none;
    clear: both;
    margin: auto;
  }
  /* banner top 1 - intro image */
  div.custom.myIntroTwoImg {
    margin-top: 0px;
    margin-bottom: 20px;
  }
  div.custom.myIntroTwoImg > table > tbody > tr > td:first-child,
  div.custom.myIntroTwoImg > table > tbody > tr > td:last-child {
    width: 50%;
  }
  div.custom.myIntroTwoImg > table > tbody > tr > td:nth-child(2),
  div.custom.myIntroTwoImg > table > tbody > tr > td:nth-child(3) {
    display: none;
  }
  /* main content */
  div#main-content-handler {
    max-width: 100%;
  }
  /* bottom 1 - breezing form */
  div.bfFormDiv.myFooterForm form section#myColumn1,
  div.bfFormDiv.myFooterForm form section#myColumn2 {
    float: none;
    width: 100%;
  }
  div.bfFormDiv.myFooterForm form section#myColumn2 {
    margin-left: 0px;
  }
  div.bfFormDiv.myFooterForm form div.form-actions button#bfSubmitButton.bfSubmitButton {
    min-width: unset;
  }
  /* footer - 3 col - col nuber 2 (bottom menu) */
  footer#footer div.myFooter3Col > div:nth-child(2) {
    display: none;
  }

  /* line product */
div.myMainContent div.row-fluid .myRowP4:nth-of-type(3) {
    margin-left: 0;
}

div.myMainContent div.row-fluid .myRowP4, .category.floatleft.span4 {
    clear: none;
    width: 50% !important;
    float: left;
    padding: 0 5px;
}
section#myUpTopSection div.myLogoBig img {
    max-height: 115px;
}
}


@media (max-width: 600px) {
  /* banner top 1 - intro image */
  div.custom.myIntroTwoImg > table > tbody > tr > td:first-child,
  div.custom.myIntroTwoImg > table > tbody > tr > td:last-child {
    display: block;
    width: 100%;
  }
  div.custom.myIntroTwoImg > table > tbody > tr > td:first-child {
    margin-bottom: 20px;
  }
  /* title h1 */
  h1, p.myH1, div.blog h1, div.productdetails-view h1 {
    font-size: 28px;
  }
  /* line product */
div.myMainContent div.row-fluid .myRowP4:nth-of-type(3) {
    margin-left: 0;
}

div.myMainContent div.row-fluid .myRowP4, .category.floatleft.span4 {
    clear: both;
    width: 100% !important;
    float: none;
    display: block;
}
section#myUpTopSection div.myLogoBig img {
    max-height: 115px;
}
div.custom.myContactModule2.Left table td {
    padding-right: 0px;
    flex: 0 0 100%;
    min-width: 100%;
    order: 2;
}
div.custom.myContactModule2.Left table td:last-child {
    order: 1;
}
}


@media (max-width: 500px) {
  /* header - top modules */
  div.myTopMenuTop > div:first-child,
  div.myTopMenuTop > div {
    float: none;
    display: table;
    margin: auto;
  }
}


@media (max-width: 424px) {
  /* header - top modules - text phone and email */
  div.custom.myHeaderText {
    padding: 3px 0px;
  }
  div.custom.myHeaderText > p {
    float: none;
    margin-left: 0px;
    padding: 3px 0px;
  }
  /* footer */
  div#footer-line {
    padding-bottom: 50px;  
  }
  /* main intro content table */
  div.item-page.myIntroArticle > div > table > tbody > tr > td:nth-child(1) > table td:nth-child(2) > div:nth-child(1),
  div.item-page.myIntroArticle > div > table > tbody > tr > td:nth-child(1) > table td:nth-child(2) > div:nth-child(1) a {
    font-size: 20px;
  }
  /* special contact table - only for 3 col */
  table.mySpContact > tbody > tr > td > table td:nth-child(1),
  table.mySpContact > tbody > tr > td > table td:nth-child(2) {
    display: block;
  }
  table.mySpContact > tbody > tr > td > table td:nth-child(1) {
    margin-bottom: 15px;
  }
  table.mySpContact > tbody > tr > td > table td:nth-child(2) {
    height: calc(100% - 166px - 15px);
  }
  table.mySpContact > tbody > tr > td > table td:nth-child(2) > div:nth-child(1) {
    margin-top: 0px;
  } 

  /* hlavicka */
div.custommyHText {
    font-size: 18px;
    padding-left: 25px;
}
}


@media (max-width: 374px) {
  /* bottom 1 - breezing form */
  div.bfFormDiv form section#gdpr label {
    font-size: 13px;
    width: calc(100% - 25px) !important;
  }
  /* article contact - table myTableContacts */
  table.myTableContacts td {
    display: block;
    padding-left: 0px;
    padding-right: 0px;
  }
  /* article float img */
  div.item-page > div[itemprop="articleBody"] img[style*="float: left;"],
  div.item-page > div[itemprop="articleBody"] img[style*="float: right;"] {
    /*float: none !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;*/
  }
div.custommyHText {
    font-size: 17px;
}
}


@media (max-width: 359px) {
  body > div.body-innerwrapper {
    width: 100%;
    min-width: 320px;
  }
div.custommyHText {
    font-size: 16px;
}
}
