/* CSS Document */


@media only screen and (min-width: 1500px) 
{
  .fullscreen #doplnok {
    width: 240px;
    bottom: 15%
  } 
}

@media only screen and (min-width: 1800px) 
{
  .fullscreen #doplnok {
    width: 260px;
  } 
}


@media only screen and (min-width: 1300px) 
{

  .fullscreen #page {
    max-width: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
    height: 100%;
    padding: 0
  }
  
  .fullscreen aside {
    width: 350px;
    height: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 30px 30px 30px 30px;
    display: table;
    vertical-align: middle;
  }
  
  .fullscreen aside #side {
    width: calc(100% - 50px);
    height: calc(100% - 60px);
    vertical-align: middle;
    display: table-cell
  }
  
  .fullscreen aside .dvere_vyber.opened,
  .fullscreen aside .list.opened {
    width: 100% !important;
    height: 100%;
    padding: 50px 30px 30px 30px;
    left: 0;
    display: table
  }
  
  .fullscreen aside .dvere_vyber.opened .dvere_vyber_ins,
  .fullscreen aside .list.opened .list_ins, {
    height: auto;
    width: 100%;
    vertical-align: middle;
    display: table-cell
  }
  
  .fullscreen .typ_farby .kovanie_farba:nth-of-type(4) {
    margin-top: 0px;
  } 
  
  .fullscreen .oddelenia_vyber {
    width: 100% !important 
  }
  
  .fullscreen .oddelenia_vyber .jspContainer {
    width: 100% !important;
  }
  
  .fullscreen .oddelenia_vyber .jspPane {
    width: 100% !important;
  }
  
  .fullscreen .dvere_vyber .dvere,
  .fullscreen .interier_vyber .interier {
    margin-top: 15px !important
  }
  
  
  .fullscreen .dvere_vyber .dvere {
    margin-right: 15px
  }
  

  .fullscreen .interier_vyber .interier {
    margin-right: 15px
  }
  
  .fullscreen .interier_vyber.opened .clear1,
  .fullscreen .dvere_vyber.opened .clear1 {
    display: none !important
  }
  
  .fullscreen #workspace {
    width: calc(100% - 350px);
    float: right;
    height: 100%;
    margin-right: 0 !important
  }
  
  .fullscreen #workspace > nav {
    position: absolute;
    left: 10px;
    top: 15px;
    width: calc(100% - 10px)
  }
  
  .fullscreen #navrhar {
    height: 100%
  }
  
  .fullscreen #dalej {
    position: relative;   
  }
  
  .fullscreen #podlaha {
    height: 30%
  }
  
  
  
  .fullscreen #skrina_holder {
    bottom: calc(30% - 21px);
  }
  
  .fullscreen #workspace nav .link_btn {
    background: #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    width: auto;
    padding: 0px 15px 0px 15px;
    margin-right: 5px;
    text-transform: uppercase;
  }                  
  
  .fullscreen #navrhar .opt_btns {
    margin-top: 55px;
  }
  
  .fullscreen .popup {
    top: 60px;
    height: 500px
  }
  
  .fullscreen  #podlahy_popup.popup,
  .fullscreen  #siluety_popup.popup {
    top: 60px;
  }
           
  [data-zobrazenie="9"].fullscreen  #workspace > nav {
    display: none !important;
  }         
           
           
  .fullscreen #objednavka .jspPane {
    padding: 40px 40px 40px 0px !important;
  }
  
  .fullscreen #objednavka .jspContainer {
    height: 100% !important;
  }
        
  .fullscreen #thankyou {
    padding-left: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    text-align: center;
    padding-top: 20%;
    display: none;
    z-index: 10000000
  }      
  
  .fullscreen #navrhar {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
      
  .fullscreen #dvere_material_popup.popup .scroll {
    /*margin-top: 55px*/
  }    

}

@media only screen and (min-width: 1100px) 
{
   /*
  .fullview #page {
    height: 720px
  }
  
  .fullview aside {
    height: 720px
  }
  
  .fullview #workspace {
    height: 740px
  }
  
  .fullview #navrhar {
    height: 685px
  } 
  
  .fullview #objednavka .jspContainer {
    height: 645px !important
  }   
  */
}


@media only screen and (max-width: 1000px) 
{
  .fullscreen_on, .fullscreen_off {
    display: none !important
  }
}

@media only screen and (max-width: 1100px) 
{

  .navrhar_inline {
    
    left: -20px
  }
  
  #page {
    max-width: 100%;
    margin: 0;
    position: static;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
    height: auto;
    padding: 0
  }
  
  aside {
    width: 265px;
    height: 630px;
    min-height: 100%;
    margin-top: 0;
    padding: 20px 30px 30px 25px;
    z-index: 100 !important;
    position: relative;
    display: inline-block;
    overflow: auto !important
  }
  
  #dalej {
    left: 25px
  }
  
  aside #side {
    height: auto;
    min-height: 100%
  }
  
  #workspace {
    width: calc(100% - 270px);
    float: right;
    height: auto;
    min-height: 100%;
    margin-top: 20px
  }
  
  #workspace >  nav {
    position: absolute;
    left: 10px;
    top: 15px;
  }
  

  
  #workspace nav .link_btn {
    background: #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    width: auto;
    padding: 0px 15px 0px 15px;
    margin-right: 5px;
    text-transform: uppercase;
  }                  
  
  #navrhar .opt_btns {
    margin-top: 55px;
  }
  
  .popup {
    top: 60px;
    /*width:  calc(100% - 20px)  !important;*/
    height: calc(100% - 120px) !important
  }
  

  
  #kovanie_popup {
    max-width: 430px !important
  }

}
 
@media only screen and (max-width: 850px) 
{     

  .info-material-dveri {
    position: fixed;
    left: 10px;
    bottom: 60px;
    top: auto;
    right: auto;
    width: 170px;
  }   

  .navrhar_logo {
    display: none
  }
  
  .navrhar_inline {
    display: none
  }
  
  body.navrhar .navrhar_inline {
    display: inline-block;
    min-height: 100vh
  }
  
  .hp h1 {
    display: none
  }

  #skrina {
    -moz-transform: translateX(0%);
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
  }
     
  #dalej {
    position: absolute;;
    left: 20px;
    top: 15px;
    margin-top: 0px;
    margin-left: 0px;
  }
    
  aside .step_link > span {
    float: none;
    display: inline-block
  }
  
  .umiestnenie_vyber .umiestnenie {
    position: relative;
    width: 50% !important;
    float: left !important;
    margin-right: 0;
    padding-left: 85px !important
  }
  
  .umiestnenie_vyber .umiestnenie .icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    background-position: center center
  }

  
  .sub_link_holder {
    float: none;
    clear: both;
    display: none;
    border-left: 0;
    margin-left: 0
  }
  
  div.i {
    display: none
  }
  
  .sub_link_holder span {
    display: block;
    margin: 10px 0px 15px 0px
  }
    
  #objednavka, #thankyou {
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    position: fixed;
    padding: 30px 30px 20px 30px !important;
    height: 100% !important;
    overflow: auto !important 
  }
  
  #thankyou {
    padding: 30px 30px 20px 30px !important 
  }
  
  body {
    overflow-x: hidden
  }
  
  aside {
    width: 100%;
    height: auto; 
    padding: 20px 20px 20px 20px;
    display: block;
    margin-left: 0;
    z-index: 2 !important;
    position: relative
  }
  
  aside #side {
    width: 100%;
    width: calc(100% - 40px);
    height: auto;
    display: block !important;
    padding-top: 110px;
    left: 20px;
    top: 0 
  }
  
  .step {
    position: relative;
    top: 0;
    height: 100%
  }
  
  .interier-material-vyber, .dvere-material-vyber, .step .kovania {
    overflow: visible
  }
  
  /*
  .popup_opened aside {
    visibility: hidden
  }
  */

  #skrina_holder {
    bottom: 15px
  }
  
  #workspace > nav {
    /*position: relative;
    left: 0;
    top: 0;
    margin: 10px 0px 15px 15px; */
    display: none !important
  }
  
  #workspace, #navrhar {
    width: 100%;
    height: auto;
    
    text-align: center;
    
  }
  
  #workspace {
    z-index: 1;
    position: relative;
    margin-top: 0;
    margin-right: 0
  }
  
  .popup_opened #workspace {
    z-index: 100
  }
  
  #navrhar {
    padding: 30px 0px 30px 0px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    min-height: 280px;
    overflow: visible !important;
  }
  
  #navrhar {
    position: fixed;
    left: 0;
    top: 0;
  }
  
  #page {
    padding-top: 300px
  }
  
  [data-zobrazenie="7"] #navrhar {
    padding: 0
  }
  
  [data-koef="1"] #navrhar {
    min-height: 180px;
  }
  
  [data-koef="2"] #navrhar {
    min-height: 220px;
  }
  
  [data-koef="3"] #navrhar {
    min-height: 240px;
  }
  
  [data-koef="4"] #navrhar {
    min-height: 300px;
  }
  
  [data-zobrazenie="4"] #navrhar,
  [data-zobrazenie="6"] #navrhar {
    /*padding-bottom: 60px*/
  }
  
  #podlaha, #silueta, #doplnok {
    display: none !important;
  }
  
  aside .step_link {
    width: 170px;
    padding-top: 5px;
    position: fixed;
    left: 20px;
    top: 315px;
  }
  
  
  aside .step_form {
    width: calc(100% - 200px);
    margin: 0;
    position: absolute;
    top: 0px;
    left: 200px;
    padding-left: 0px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-top: 20px;
    height: 100%;
    margin-bottom: 0 
  }
  
  .rozmer_slider:first-of-type {
    margin-top: 0
  }
  
  
  .nav {
    width: 190px;
    left: 10px;
    bottom: 15px;
    position: fixed
  }
  
  #skrina {
    width: 490px;
    height: 364px;
    margin-top: 0 !important;
    margin-left: 0 !important;
    position: relative;
    left: 0;
    top: 0;
    display: inline-block 
  }
  
  .kota {
    display: none
  }
  
  .select-typ {
    margin-top: 5px
  }
  
  .interier-material-vyber, .dvere-material-vyber, .step .kovania {
    height: calc(100% - 55px) !important;
    top: 70px
  }
  .interier-material-vyber.filter-hidden, .dvere-material-vyber.filter-hidden, .step .kovania.filter-hidden {
    top: 0px
  }
  
  .step .kovanie_farba {
    margin-top: 0;
    margin-bottom: 10px;
    width:140px;

  }
  .step .kovanie_farba.material .img{
    width: 140px!important;
    height: 140px!important;
  }
  @media (min-width: 320px) and (max-width: 480px) {
    /* CSS */
    .step .kovanie_farba.material .img{
      width: 100px!important;
      height: 100px!important;
    }
    .step .kovanie_farba{
      width: 100px!important;
    }
  }
  .material {
    height: 135px;
    margin-top: 10px
  }
  
 
  #navrhar .opt_btns {
    margin-top: 0;
    position: absolute;
    left: 0;
    top: 10px;
    text-align: center;
    display: inline-block;
    width: 100%
  }    
  
  #navrhar .opt_btns .opt_btn {
    float: none;
  }
  
  
  
  [data-zobrazenie="9"] #skrina,
  [data-zobrazenie="9"] aside {
    display: none
  }
  
  [data-zobrazenie="9"] #navrhar {
    padding: 0px;
  }

  #interier_material_popup {
    /*display: block; */
  }
  
  .popup .material {
    width: 25%;
    text-align: center;
    margin-right: 0
  }
  
  .popup .material:nth-of-type(3n+1),
  .material:nth-of-type(5n+1) {
    clear: none
  }
  
  .material:nth-of-type(4n+1) {
    clear: both
  }
  
  
  .popup .material .img {
    display: inline-block
  }
  
  .popup .material .nazov {
    height: auto
  } 
  
  .materialy_scroll {
    width: calc(100% + 20px) !important;
  }
  
  .popup {
    width: calc(100% - 40px) !important;
    height: calc(100% - 40px) !important;
    position: fixed !important;
    left: 20px !important;
    top: 20px !important;
    z-index: 10000000 !important;
    min-height: 1px;
    max-height: 100% !important
  }
  
  .popup .jspPane {
    width: 100% !important
  }
  
  .materialy_scroll .jspPane {
    padding-right: 25px !important
  }
  
  .popup .jspContainer {
    width: 100% !important;
    height: 100% !important
  }
  
  .popup .jspPane .materialy {
    width: 100% !important
  }

    
  #kovanie_popup {
    width: 430px !important;
    height: calc(100% - 40px) !important;
    min-height: 1px !important;
    max-width: 100% !important;
    left: 50% !important;
    margin-left: -215px !important
  }
  
  #kovanie_popup .jspContainer {
    height: 100% !important
  }
  
  #kovanie_popup .jspPane {
    width: 100% !important
  }
  
  .oddelenia_vyber {
    width: 100% !important 
  }
  
  .oddelenia_vyber .jspContainer {
    width: 100% !important;
  }
  
  .oddelenia_vyber .jspPane {
    width: 100% !important;
    padding-right: 0px !important
  }
  
  .oddelenia_vyber .oddelenie .name {
    float: left;
    text-align: left;
    padding-left: 20px
  }
  
  .umiestnenie_vyber .umiestnenie {
    width: 100%;
    float: none;
    padding-top: 0;
    line-height: 80px;
    max-width: 100%;
    padding-left: 70px;
    margin-top: 10px
  }
  
  .umiestnenie_vyber .umiestnenie br {
    display: none
  }
    
  .interier_vyber, .dvere_vyber {
    height: auto;
    overflow: visible;
    margin-top: -10px
  }
  
  .interier_vyber {
    margin-top: -10px
  }
  
  .dvere_vyber {
    margin-top: 0px
  }
  
  .interier_vyber .interier_4, .interier_vyber .interier_8, .interier_vyber .interier_12, .interier_vyber .interier_16, .interier_vyber .interier_20 {
    margin-right: 16px !important;
  }
  
  .interier_vyber .btn, .dvere_vyber .btn {
    display: none !important
  }
  
  .dvere_vyber .dvere_3, .dvere_vyber .dvere_7, .dvere_vyber .dvere_11, .dvere_vyber .dvere_15 {
    margin-right: 16px
  }
  
  .dvere_vyber .dvere_3 {
    margin-top: 0 !important;
  }
  
  .dvere_vyber .dvere {
    margin-top: 0px !important;
    margin-bottom: 15px !important;
  }
  /*
  .dvere_vyber {
    margin-top: 10px
  }
  */
  #objednavka .upload {
    text-align: center;
  }
  
  .dvere_vyber .clear1 {
    clear: none
  }
  
  #thankyou .thank_you_div {
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 30px;
  }

  .slider .arrows {
    display: none
  }
  
  .slider .slide {
    width: 100% !important;
    height: auto !important;
    display: block !important
  }
  
  #interier_material_popup.popup .scroll {
    height: calc(100% - 50px) !important
  }
  
   aside {
    height: calc(100% - 300px);
    overflow: scroll;
    min-height: 1px;
    position: fixed;
    left: 0;
    bottom: 0px;
    padding-top: 15px
  }
  
  aside #side {
    padding-top: 0px;
    padding-bottom: 0px;
    min-height: 1px;
    height: 100%
  }
  
  #workspace {
    z-index: 10
  }
  
  body {
    overflow: hidden
  }
  
  .interier_vyber .interier:nth-of-type(4n) {
    margin-right: 16px
  }
  
  .step .kovanie_typ .typ_info .img {
    display: none
  }
    
  .step .kovanie_typ .typ_info .nazov {
    width: 100%;
    float: none
  }
}

@media only screen and (max-width: 730px) {

  .umiestnenie_vyber .umiestnenie {
    width: 100% !important;
    float: none !important;
  }
  
}

@media only screen and (max-width: 650px)
{
  #objednavka form .inputs,
  #objednavka form .others {
    width: 100%;
    float: none;
    text-align: center;
  } 
  
  #objednavka form .others {
    margin-top: 30px;
    height: auto
  } 
  
  #objednavka input[type=submit] {
    position: relative;
    top: 0;
    padding-left: 10px;
    padding-right: 10px
  }
  
  .interier_vyber, .dvere_vyber {
    margin-bottom: 30px
  }
}

@media only screen and (max-width: 550px)
{
  
  .info-material-dveri {
    display: none
  }
  
  #navrhar {
    position: fixed;
    left: 0;
    top: 0;
  }
  
  #page {
    padding-top: 150px
  }
  
  aside {
    height: calc(100% - 300px);
    bottom: 60px
  }
  
  .nav {
    width: calc(100% - 40px);
    left: 20px;
    bottom: 20px;
    right: 20px;
    
    width: 100%;
    left: 0;
    right: auto;
    bottom: 0;
    padding: 15px 20px;
    padding-bottom: 20px;
    background: #fff;
    z-index: 100000
  }
  
  .nav.mobile {
    display: inline-block
  }
  
  .nav.desktop {
    display: none
  }
  

  
  aside .step_form {
    margin-bottom: 0 !important;
    padding-bottom: 0;
    padding-top: 60px;
  }
  
  aside .step_link {
    width: 100% ;
    position: fixed;
    background: #fff;
    left: 0px;
    top: 240px;
    padding-left: 20px;
    padding-top: 17px; 
    padding-bottom: 15px
  }
  
  .sub_link_holder {
    clear: none;
    float: right
  }
  
  .sub_link_holder span {
    margin-top: 0
  }
  
  aside .step_form {
    position: relative;
    left: 0;
    top: 0;
    padding-left: 0;
    padding-right: 0;
    margin: 5px 0px 15px 0px
  }
  
  #objednavka form input[type=text] {
    width: 100%;
    float: none;
  }
  
  .step .kovanie_typ .typ_info {
    margin-bottom: 20px
  }
  
  .step .kovanie_typ .typ_info .nazov {
    width: calc(100% - 85px);
    line-height: 25px
  }
  
  #objednavka, #thankyou {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: scroll;
  }
    
  #kovanie_popup{
    width: calc(100% - 20px) !important;
    height: calc(100% - 20px) !important;
    left: 10px !important;
    top: 10px !important;
    bottom: auto !important;
    margin-left: 0 !important
  }
  
  #kovanie_popup .jspPane,
  #interier_material_popup .jspPane {
    width: 100% !important
  }
  
  #kovanie_popup .jspContainer,
  #interier_material_popup .jspContainer {
    height: 100% !important
  }
  
  .kovanie_typ {
    margin-top: -5px
  }
  
  .kovanie_typ .typ_info {
    width: 100%;
    float: none;
  }
  
  .kovanie_typ .typ_info .img {
    float: left
  }
  
  .kovanie_typ .typ_info .nazov {
    float: right;
    font-weight: 500;
    /*padding-left: 20px;*/
    width: calc(100% - 70px);
    text-align: left;;
    line-height: 85px;
    font-size: 1.2em
  }
  
  .typ_farby {
    width: 100%;
    float: none;
    clear: both;
    /*padding-left: 20px;
    padding-right: 20px; */
    margin-top: 5px
  }
  
  
  .kovanie_farba {
    margin-bottom: 11px
  }
  
  .interier-material-vyber, .dvere-material-vyber, .step .kovania {
    top: 120px
  }  
  .interier-material-vyber.filter-hidden, .dvere-material-vyber.filter-hidden, .step .kovania.filter-hidden {
    top: 15px
  }  
    
  .typ_farby .nazov {
    margin-top: -10px;
    clear: both
  }
  
  .popup .material {
    width: 33.33%;
  }
  
  .popup .material:nth-of-type(4n+1) {
    clear: none
  }
  
  .popup .material:nth-of-type(3n+1) {
    clear: both
  }
  
  .popup {
    width: calc(100% - 20px) !important;
    height: calc(100% - 20px) !important;
    left: 10px !important;
    top: 10px !important;
  }
  
  .material {
    margin-top: 15px !important
  }
  
  .popup .scroll .jspPane {
    padding-right: 20px !important
  }
  
  aside .step_form {
    width: 100%
  }
  
  .dvere_vyber .clear1, .interier_vyber .clear2 {
    display: none;
  }
  
  #dalej {
    position: absolute;;
    left: 50%;
    top: 15px;
    margin-top: 0px;
    margin-left: -45px;
  }
  
  .btn_view_change {
    display: none !important
  }
  
  .interier_material_kategorie {
    display: block;
    margin-bottom: 15px
  }
  
  #interier_material_popup .tab_menu {
    display: none
  }
  
  
}


@media only screen and (max-width: 450px) 
{

  .popup nav {
    padding-bottom: 10px;
  }
  
  .popup nav span {
    width: 100%;
    float: none;
    text-align: center;
    margin-bottom: 0
  }
  
  #dvere_material_popup .materialy_scroll {
    height: calc(100% - 135px);
  }
  
  #dvere_material_popup.popup .scroll {
    height: calc(100% - 135px) !important;
  }
  
  aside {
    height: calc(100% - 280px);
    bottom: 60px
  }
  
  aside .step_link {
    top: 220px; 
  }
  
  
}

@media only screen and (max-width: 400px) 
{
  .popup .material {
    width: 50%;
  }
  
  .popup .material:nth-of-type(3n+1) {
    clear: none
  }
  
  .popup .material:nth-of-type(2n+1) {
    clear: both
  }
  
  aside .step_link {
    top: 220px;
  }

}

@media only screen and (max-width: 350px) 
{
  aside {
    height: calc(100% - 240px);
    bottom: 60px
  }
  
  aside .step_link {
    top: 180px; 
  }

}



@media only screen and (max-height: 750px) and (min-width: 1000px) 
{  

  aside {
    height: 595px
  }
  
  #page {
    position: absolute;
    top: 20px;
    margin-top: 0
  }
  
  #workspace > nav {
    position: absolute;
    left: 15px;
    top: 10px;
    width: calc(100% - 30px)
  }
  
  #workspace, aside {
    margin-top: 5px
  }
  
  #workspace > nav .link_btn {
    background: #fff;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    width: auto;
    padding: 0px 15px 0px 15px;
    margin-right: 5px;
    text-transform: uppercase;
  }                  
  
  #navrhar .opt_btns {
    margin-top: 55px;
  }
  
   .popup {
    top: 100px;
    height: 500px
  }
  
   #podlahy_popup.popup,
   #siluety_popup.popup {
    top: 60px;
  }
}