/* ADD MY STYLE - RESPONSIVE*/

@media (min-width: 1999px) {
  /*nav#menu {
    background-size: 100% auto;
  }*/
}

@media (max-width: 1023px) {
  .container, .navbar-static-top .container, .navbar-fixed-top .container, .navbar-fixed-bottom .container {
    width: 728px; /* 768 */
  }
  /* vm category menu top line - change */
  div.myVmMenu1 > div.container > ul.myVmTopMenu {
    width: 100%;
  }
  /* top menu */
  div#menu-handler div#myTopMenuButton.myClose + div.responsive-menu {
    display: none;
  }
  div#menu-handler > div.responsive-menu {
    float: none;
    position: fixed;
    z-index: 9;
    /*background-color: #f7f7f7;*/
    background-color: white;
    /*border: 2px solid #0c4763;*/
    border: 2px solid #2e2736;
    width: 33%;
    top: 0px;
    right: 0px;
    bottom: 0px;
    overflow: scroll;
    overflow: auto;
  }
  div#menu-handler > div.responsive-menu:before {
    content: 'Menu';
    display: block;
    font-size: 20px;
    line-height: 20px;
    font-weight: bold;
    /*color: #0c4763;*/
    color: #2e2736;
    text-align: center;
    padding: 7px 5px;
    /*border-bottom: 2px solid #0c4763;*/
    border-bottom: 2px solid #2e2736;
    margin: 0px 7px;
    margin-top: 2px;
    margin-bottom: 4px;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav {
    position: relative;
    display: block;
    float: none;
    background-color: transparent;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li {
    float: none;
    text-align: center;
    border-bottom: 1px solid #a9a8a8;
    margin: 0px 7px !important;
    padding: 7px 0px;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > a {
    padding: 3px 3px !important;
    line-height: 18px !important;
    border: 0px !important;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > a > span {
    display: inline-block;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > a > span:before {
    bottom: -3px;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > ul,
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li:hover > ul {
    position: relative;
    top: auto;
    background-color: transparent !important;
    margin: 0px;
    box-shadow: none;
    margin-top: 5px;
    opacity: 1;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > ul > li > a,
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > ul > li > a:hover {
    padding: 3px 3px;
    /*color: #0c4763 !important;*/
    color: #2e2736 !important;
    background-color: transparent !important;
  }
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > ul > li.active > a,
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > ul > li.active:hover > a {
    /*color: #ed1c24 !important;*/
    color: #ff4200 !important;
    background-color: transparent !important;
  }
  /* top menu - logo */
  nav#menu div.myLogoModul{
    margin-right: 17px;
    padding-right: 17px;
  }
  /* top menu - my button */
  div#menu-handler div#myTopMenuButton {
    display: block;
    padding: 21px 0px;
    /*text-align: center;*/
    text-align: left;
  }
  div#menu-handler div#myTopMenuButton > div {
    display: inline-block;
    /*background-color: #0c4763;*/
    background-color: black;
    color: white;
    font-size: 16px;
    padding: 7px 10px;
    line-height: normal;
    cursor: pointer;
    line-height: 20px;
  }
  div#menu-handler div#myTopMenuButton.myOpen > div {
    /*background-color: #ed1c24;*/
    background-color: #ff4200;  
  }
  div#menu-handler div#myTopMenuButton > div:before {
    content: '';
    display: inline-block;
    border: 10px solid transparent;
    border-left: 10px solid white;
    vertical-align: top;
    margin-right: 0px;
    margin-left: 5px;
  }
  div#menu-handler div#myTopMenuButton > div:after {
    content: 'Menu';
    vertical-align: top;
  }
  div#menu-handler div#myTopMenuButton.myOpen > div:before {
    border-left: 10px solid transparent;
    border-top: 10px solid white;
    margin-top: 5px;
    margin-bottom: -5px;
    margin-right: 5px;
    margin-left: 0px;
  }
  /* top menu - my close button */
  div#menu-handler div#myTopMenuCloseButton {
    display: block;
    /*color: #ed1c24;*/
    color: #ff4200;
    font-size: 13px;
    font-weight: bold;
    line-height: 18px;
    position: absolute;
    z-index: 9999;
    top: 3px;
    right: 3px;
    width: 17px;
    height: 17px;
    text-align: center;
    /*border: 2px solid #0c4763;*/
    border: 2px solid #2e2736;
    border-radius: 100%;
    cursor: pointer;
  }
  div#menu-handler div#myTopMenuCloseButton:hover {
    background-color: #ed1c24;
    color: white;
  }
  /* vm category - products */
  div.category-view div.browse-view > div.row > div.product,
  div.category-view div.browse-view > div.row > div.product:nth-child(1),
  div.category-view div.browse-view > div.row > div.product:nth-child(3) {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    float: none;
    margin: 0px auto;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #9a9a9a;
  }
  div.category-view div.browse-view > div.orderby-displaynumber + div.row > div.product:first-child {
    padding-top: 0px;
    margin-top: 0px;
    border-top: 0px;
  }
  div.category-view div.browse-view>div.row > div.product > div.spacer {
    max-width: 270px;
    margin: 0px auto !important;
  }
  /* !!! ADD !!! */
  /* top menu */
  div#menu-handler > div.responsive-menu > ul.menu-nav#nav > li > a {
    color: black !important;
  }
}

@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;
  }
  body {
    padding-left: 0px;
    padding-right: 0px;
  }
  /* navigation */
  div.myCoverNavigation > div#breadcrumb-line {
    padding: 10px 20px;
  }
  /* vm menu 1 */
  div.myVmMenu1 {
    display: none;
  }
  /* vm menu 2 */
  div.myVmMenu2Cover {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    margin-top: 20px;
    /*border: 3px solid #0c4763;*/
    border: 3px solid #2e2736;
  }
  div.myVmMenu2PopUp {
    background-color: #f7f7f7;
    border-top: 0px;
    padding: 0px 15px;
    text-align: center;
    padding-top: 15px;
  }
  div.myVmMenu2PopUp:before {
    content: '';
    display: table;
    width: 100%;
    clear: both;
  }
  p.myNameActiveCategory {
    margin-top: 4px;
  }
  /* vm menu 2 - button pop up */
  div#myVmMenuModulButton {
    display: block;
    /*background-color: #0c4763;*/
    background-color: #2e2736;
    padding: 12px 7px;
    cursor: pointer;
    text-align: center;
  }
  div#myVmMenuModulButton.myOpen {
    /*background-color: #ed1c24;*/
    background-color: #ff4200;
    
  }
  div#myVmMenuModulButton > div {
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    color: white;
    display: inline-block;
    vertical-align: top;
  }
  div#myVmMenuModulButton > div:before {
    content: '';
    display: inline-block;
    border: 10px solid transparent;
    border-left: 10px solid white;
    vertical-align: top;
    margin-right: 0px;
    margin-left: 5px;
  }
  div#myVmMenuModulButton.myOpen > div:before {
    border-left: 10px solid transparent;
    border-top: 10px solid white;
    margin-top: 5px;
    margin-bottom: -5px;
    margin-right: 5px;
    margin-left: 0px;
  }
  div#myVmMenuModulButton.myClose + div.myVmMenu2PopUp {
    display: none;
  }
  /* article content */
  div#main-content-handler div.tmp-content-area {
    padding-left: 0px;
    padding-right: 0px;
  }
  /* all table in articles */
  div.item-page > div[itemprop="articleBody"] > table > tbody >tr > td {
    display: block;
    padding-left: 0px;
    padding-right: 0px;
  }
  /* my icon in article o nas */
  table.myIcons {
    display: table;
    text-align: center;
    margin-bottom: 0px;
  }
  table.myIcons > tbody,
  table.myIcons > tbody > tr {
    display: block;
  }
  table.myIcons td,
  div.item-page > div[itemprop="articleBody"] > table.myIcons > tbody > tr > td {
    display: inline-block;
    padding: 10px;
    width: 150px !important;
  }
  /* modules menus in articles */
  div.moduletable.myMenuCategories > ul.menu > li {
    width: 100% !important;
    float: none;
    margin-left: 0px !important;
  }
  div.moduletable.myMenuCategories > ul.menu > li:before {
    display: none;
  }
  /* table gallery */
  table.myGalleryTable > tbody > tr > td {
    width: 320px !important;
    float: none;
    margin: 20px auto !important;
    max-width: 100%;
  }
  /* TABLE FOR ICON ROW WITH TEXT */
  table.myIconsWithText td:nth-child(1) {
    width: 100%;
  }
  table.myIconsWithText td:nth-child(n+2) {
    border: 0px;
    padding-top: 0px;
  }
  /* TABLE FOR LOGO ROW WITH TEXT */
  table.myLogoText td:nth-child(1) {
    width: 100% !important;
  }
  table.myLogoText td:nth-child(n+2) {
    border: 0px;
    padding-top: 0px;
  }
  /* BLOK NOVINKY - Modul */
  .myModuleArtsNews .myBlogArt {
    width: 100%;
  }
}

@media (max-width: 599px) {
  /* header - logo */
  nav#menu div.myLogoModul {
    float: none;
    padding: 0px;
    border: 0px;
    display: table;
    margin: 0px auto;
  }
  /* header - phone */
  div.myHeaderPhone {
    float: none;
    text-align: center;
  }
  div.myHeaderPhone div.custom > p {
    line-height: normal;
  }
  div.myHeaderPhone div.custom a {
    vertical-align: top;
  }
  /* header - search */
  div.mySearchPos {
    height: auto;
    float: right;
    margin-top: -36px;
    margin-right: 0px;
  }
  /* header - top menu */
  div#menu-handler div#myTopMenuButton {
    padding-top: 2px;
    padding-bottom: 4px;
    text-align: center;
  }
  div#menu-handler div#myTopMenuButton.myOpen {
    text-align: left;
  }
  div#menu-handler div#myTopMenuButton > div {
    padding: 6px 10px;
  }
  div#menu-handler > div.responsive-menu {
    width: 50%;
  }
  /* footer */
  div.custom.myCopyRight > p {
    text-align: center;
  }
  div.custom.myCopyRight > p:first-child {
    float: none;
  }
  /* slide show and content - padding for fixed position */
  div.myCoverNavigation,
  div#myNewSlideShow {
    padding-top: 99px;
  }
  div#myNewSlideShow,
  body {
    /*padding-bottom: 64px;*/
  }
  footer#footer {
    padding: 5px 0px;
    min-height: 55px;
    box-sizing: border-box;
    line-height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  /* blog news */
  div.blog.myNewsBlog div.pull-left.item-image {
    float: none !important;
    width: auto;
    margin-right: 0px;
    border: 0px;
  }
  div.blog.myNewsBlog div.pull-left.item-image img {
    border: 1px solid #bbb;
    box-sizing: border-box;
    width: 300px;
    max-width: 100%;
  }
  /* 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;
  }
  /* vm - product detail */
  div.productdetails-view div.row-fluid > div.myLeftSite,
  div.productdetails-view div.row-fluid > div.myRightSite {
    width: 100%;
    float: none;
  }
  div.myVmParamsCover {
    overflow: scroll;
    width: 100%;
  }
  div.productdetails-view div.myVmParamsCover div.myCustomFieldsParams.myOtherParams {
    width: 600px;
  }
}

@media (max-width: 359px) {
  body {
    width: 100%;
    min-width: 320px;
  }
}

/* CHANGE AND REPAIR */
/* main content */
#main-content-handler, #tab-modules, #tabs-1, #top-modules, #welcome-box, .main-bg, #bottom-long, #bottom-bg .container {
  max-width: none;
}
@media (max-width: 1023px) {
  /* footer */
  body {
    padding-bottom: 0px;
  }
  footer#footer {
    position: relative;  
  }
  body.myIntroArticle footer#footer {
    position: fixed;
  }
}
@media (max-width: 599px) {
  nav#menu div.myLogoModul img {
    height: 34px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
}