/* ADD MY STYLE - RESPONSIVE*/

@media (min-width: 1280px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 1206px;
  }
}


/* STEP MAX DOWN RESOLUTION */
@media (max-width: 1279px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 940px;
  }
  /* slide show - arrow */
  div#slideshow-handler div.camera_prev {
    left: calc((100% - 940px) / 2);
  }
  div#slideshow-handler div.camera_next {
    left: calc(((100% - 940px) / 2) + 39px);
  }
  /* virtuemart img menu */
  ul.myVMmenu > li div.myTitle {
    font-size: 13px;
    letter-spacing: -1px;
    font-weight: normal;
  }
  /* myUnderLong1 myBanner1 - kompletni instalace (mobil) */
  div.custom.myBanner1 > table > tbody > tr > td:nth-child(1) {
    width: 50%;
  }
  /* virtuemart categories menu */
  div.myCategoryList.myWithVmCatMenu:before {
    left: calc(67.826% + (3.629% / 2));
  }
  div.myCategoryList > div.myVmCatMenu {
    width: 28.545%;
    margin-left: 3.629%;
  }
}


@media (max-width: 979px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 728px; /* 768 */
  }
  /* top menu */
  /* top menu - button show menu */
  div#myTopMenuButton {
    display: block !important;
  }
  /* top menu - menu items */
  div#top div#st-navigation {
    position: relative;
    padding: 0px !important;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu {
    display: none;
    position: absolute;
    width: auto;
    right: 0px;
    top: 100%;
    background-color: white;
    padding: 10px;
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.6);
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div#myTopMenuButton.myOpen + div.responsive-menu {
    display: block;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav {
    display: block;
    position: relative;
    padding: 0px;
    width: auto !important;
    top: auto;
    box-shadow: none;
    min-width: 220px;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li {
    float: none;
    margin: 0px;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li > a {
    padding: 7px 10px !important;
    text-align: left;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li > a:hover {
    background-color: transparent !important;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li.mySpButton > a:hover {
    background-color: #0050a3 !important;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li.active > a:before,
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li.alias-parent-active > a:before {
    display: none;
  }
  /* top menu - menu items - vm menu */
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li.myAddVmFullMenu {
    padding-bottom: 0px !important;
    margin-bottom: 0px;
  }
  div#st-navigation > div.row-fluid.mn-nav > div#menu > div.responsive-menu > ul.menu-nav#nav > li > a.myAddVmFullMenu {
    padding: 7px 10px !important;
    margin-bottom: 0px;
  }
  li > div.myTopVmMenu,
  li:hover > div.myTopVmMenu {
    position: relative;
    opacity: 1;
    top: auto;
    box-shadow: none;
    display: block !important;
    /*display: none !important;*/
  }
  li > div.myTopVmMenu > div.container {
    width: auto;
  }
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu {
    margin-left: 20px;
    width: auto !important;
    border: 0px !important;  
  }
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu  > li {
    float: none;
    width: 100% !important;  
  }
  .menu-nav#nav li div.myTopVmMenu > div.container > ul.myVMmenu > li:before {
    display: none;
  }
  .menu-nav#nav li div.myTopVmMenu > div.container > ul.myVMmenu > li > div.mySpacer {
    padding: 0px;
  }
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu  > li div.myImages,
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu  > li div.myTitle {
    display: none !important;
  }
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu  > li div.myLink > a {
    position: relative;
    text-align: left;
    padding: 3px 0px;
    font-size: 14px;
  }
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu  > li div.myLink > a:hover,
  .menu-nav#nav li > div.myTopVmMenu > div.container > ul.myVMmenu  > li.myActive div.myLink > a {
    color: #398ee5 !important;
  }
  .menu-nav#nav li div.myTopVmMenu > div.container > ul.myVMmenu > li > div.myUnderCat.myL2,
  .menu-nav#nav li div.myTopVmMenu > div.container > ul.myVMmenu > li:hover > div.myUnderCat.myL2 {
    display: none !important;
  }
  /* slideshow */
  section#slideshow-handler-bg {
    display: none;
  }
  /* top banner 1 - virtuemart img menu */
  div#myTopBanner1.container {
    top: 0px;
    margin-bottom: 0px;
  }
  div#myTopBanner1 ul.myVMmenu > li:nth-child(n+0),
  div.myVmMainCatMenu ul.myVMmenu > li:nth-child(n+0) {
    width: 14.2857142857143%;
  }
  div#myTopBanner1 ul.myVMmenu > li:nth-child(n+8),
  div.myVmMainCatMenu ul.myVMmenu > li:nth-child(n+8) {
    width: 16.66%;
    border-top: 3px solid #f9f9f7;
  }
  /* resulution for position "myVmMainCatMenu" and "myTopBanner1" -- Add For Diferent Count 12 !!! */
  div.myVmMainCatMenu ul.myVMmenu.myN12 > li:nth-child(n+0),
  div#myTopBanner1 ul.myVMmenu.myN12 > li:nth-child(n+0) {
    width: calc(100% / 6);
  }
  div.myVmMainCatMenu ul.myVMmenu.myN12 > li:nth-child(n+7),
  div#myTopBanner1 ul.myVMmenu.myN12 > li:nth-child(n+7) {
    border-top: 3px solid #f9f9f7;
  }
  div#myTopBanner1 ul.myVMmenu.myN12 > li:nth-child(7):before,
  div.myVmMainCatMenu ul.myVMmenu.myN12 > li:nth-child(7):before {
    display: none;
  }
  /* resulution for position "myVmMainCatMenu" and "myTopBanner1" -- Add For Diferent Count 12 !!! - END */
  div.myVmMainCatMenu ul.myVMmenu > li:before,
  div#myTopBanner1 ul.myVMmenu > li:before {
    height: 100%;
  }
  div#myTopBanner1 ul.myVMmenu:not([class^="myN12"]):not([class*=" myN12"]) > li:nth-child(8):before,
  div.myVmMainCatMenu ul.myVMmenu:not([class^="myN12"]):not([class*=" myN12"]) > li:nth-child(8):before {
    display: none;
  }
  /* main content - intro content */
  body.myBodyClass.myIntroArticle div#main-content-handler:before {
    display: none;
  }
  div#main-content-handler > div.row-fluid > div.span9 {
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e1e1;
  }
  div#main-content-handler > div.row-fluid > div.span9 + div.span3 {
    width: 100%;
    margin-left: 0px;
  }
  body.myBodyClass.myIntroArticle section#story-content > div.container#content-handler {
    padding-top: 20px;
  }
  /* myUnderLong1 myBanner1 - kompletni instalace (mobil) */
  div.custom.myBanner1 > table > tbody > tr > td:nth-child(1) {
    width: 55%;
  }
  div.custom.myBanner1 > table > tbody > tr > td:nth-child(1) > p:first-child {
    font-size: 36px;
  }
  /* myUnderFooter */
  section#myUnderFooter > div.container > div.myLeft,
  section#myUnderFooter > div.container > div.myRight {
    width: 100%;
    margin-left: 0px;
  }
  /* virtuemart categories - right menu */
  div.myCategoryList.myWithVmCatMenu:before,
  div.myCategoryList > div.myVmCatMenu {
    display: none;
  }
  div.myCategoryList > div.category-view.myWithVmCatMenu {
    float: none;
    width: 100%;
  }
}


@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;
  }
  /* content */
  div#main-content-handler {
    max-width: none;
  }
  /* myUnderLong1 myBanner1 - kompletni instalace (mobil) */
  div.custom.myBanner1 > table > tbody > tr > td:nth-child(1) {
    width: 100%;
  }
  div.custom.myBanner1 > table > tbody > tr > td:nth-child(2) {
    display: none;
  }
  /* footer - copy right */
  footer#footer div.custom.myCopyRight > p:nth-child(1),
  footer#footer div.custom.myCopyRight > p:nth-child(2) {
    float: none;
  }
  footer#footer div.custom.myCopyRight > p:nth-child(3) {
    margin-top: 10px;
  }
  /* no overflow object (flash) */
  div#main-content-handler div.tmp-content-area object {
    display: none;  
  }
  /* navigace on */
  div#breadcrumb-line {
    display: block;
  }
  /* article contact - table myContactMap */
  table.myContactMap > tbody > tr > td:nth-child(1),
  table.myContactMap > tbody > tr > td:nth-child(2) {
    display: block;
    width: 100%;
    padding: 0px;
  }
  table.myContactMap > tbody > tr > td:nth-child(1) {
    margin-bottom: 20px;
  }
  /* Add style 25.07.2019 */
  table.myTableColoms > tbody > tr > td {
    display: block;
    width: 100% !important;
    padding: 0px;
    margin-bottom: 20px;
  }
  /* top banner 1 - virtuemart img menu */
  div#myTopBanner1 ul.myVMmenu > li,
  div.myVmMainCatMenu ul.myVMmenu > li {
    width: 33.33% !important;
  }
  div#myTopBanner1 ul.myVMmenu > li:nth-child(n+4),
  div.myVmMainCatMenu ul.myVMmenu > li:nth-child(n+4) {
    border-top: 3px solid #f9f9f7;
  }
  div.myVmMainCatMenu ul.myVMmenu > li:before,
  div#myTopBanner1 ul.myVMmenu > li:before {
    display: block !important;
  }
  div.myVmMainCatMenu ul.myVMmenu > li:nth-child(3n+1):before,
  div#myTopBanner1 ul.myVMmenu > li:nth-child(3n+1):before {
    display: none !important;
  }
  /* top banner 1 - virtuemart img menu - for 13 elements */
  div.myVmMainCatMenu ul.myVMmenu.myN13 > li:nth-last-child(-n+4):nth-last-child(n+2),
  div#myTopBanner1 ul.myVMmenu.myN13 > li:nth-last-child(-n+4):nth-last-child(n+2) {
    border-bottom: 3px solid #f9f9f7;
  }
  div.myVmMainCatMenu ul.myVMmenu.myN13 > li:last-child,
  div#myTopBanner1 ul.myVMmenu.myN13 > li:last-child {
    border-right: 3px solid #f9f9f7;
    border-top: 0px;
  }
}

@media (max-width: 524px) {
  /* header - contact */
  div.myRightSiteHeader {
    float: none;
    text-align: center;
    line-height: 18px;
    margin-top: 10px;
  }
  /* header - log/register */
  div.myLogPanel {
    float: none;
    /*text-align: center;*/
    display: table;
    margin: auto;
    line-height: 34px;
  }
  
  /* myUnderLong1 myBanner1 - kompletni instalace (mobil) */
  section#myUnderLong1 {
    background-position: 100% 100%;
  }
  div.custom.myBanner1 > table > tbody > tr > td:nth-child(1) > p:first-child {
    font-size: 28px;
  }
  /* article contact - table myContactMap */
  table.myContactPerson {
    width: 100%;
  }
  table.myContactPerson > tbody > tr {
    display: block;
    margin-bottom: 15px;
  }
  table.myContactPerson > tbody > tr:last-child {
    margin-bottom: 0px;
  }
  table.myContactPerson > tbody > tr > td {
    display: block;
    padding: 0px;
  }
  table.myContactPerson > tbody > tr > td:nth-child(2n+0) {
    display: none;
  }  
}


@media (max-width: 424px) {
  /* title h1 */
  h1, div.blog h1, div.productdetails-view h1 {
    font-size: 26px;
  }
}


@media (max-width: 374px) {
  /* header */
  div.global-container:before {
    display: none;
  }
  header#top-handler {
    height: auto;
  }
  /* header - logo */
  div#top div#site-name-handler {
    float: none;
  }
  /* header - menu */
  div#top div#st-navigation {
    height: auto;
    line-height: normal;
  }
  div#st-navigation > div.row-fluid.mn-nav {
    padding: 0px;
  }
  /* under footer - breezing form and contact */
  div.bfFormDiv.myMessageForm form p.myTitle,
  div.custom.myUnderFooterContact > p.myTitle {
    font-size: 26px;
  }
}


@media (max-width: 359px) {
  body > div.global-container {
    width: 100%;
    min-width: 320px;
  }
}