@media(max-width: 1024px) {

    .header .logo a { font-family: "Forum",sans-serif; }
}
@media(min-width: 1080px) and (max-width: 1100px) {
    #facebook { display: none; }
    #youtube { display: none; }
    
    .news table { width: 100% !important; max-width: 100% !important; }
    .news p { font-weight: normal !important; font-size: 12px !important; font-family: "Verdana" !important; line-height: 1.5 !important; }
    .news span { font-weight: normal !important; font-size: 12px !important; font-family: "Verdana" !important; line-height: 1.5 !important; }
}

@media(min-width: 1024px) and (max-width: 1079px) {
    
    .kontener { width: 100%; padding: 0 10px 0 10px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    img { max-width: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    /*display:none*/
    #facebook { display: none; }
    #youtube { display: none; }
    .srodek .center .r_box_r { display: none; }
    
    .header .reklama { width: calc(100% - 580px); padding: 0 20px 0 20px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    .header .reklama .box { width: 100%; margin-left: 0; height: auto; }
    
    .srodek .wyszukiwanie { width: calc(100% - 400px);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .srodek .wyszukiwanie .input { width: 200px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    .srodek .wyszukiwanie .select { width: 200px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    
    .srodek .center .r_box  { width: calc(100% - 541px); }
    .srodek .center .r_box .news { width: calc(100% - 30px); }
    
    .srodek .center2 .prawo { width: calc(100% - 356px);  }
    
    .srodek .center2 .prawo .naglowek2 { width: 100% !important;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    
    .formy { width: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .formy:hover { width: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    .news p { font-weight: normal !important; font-size: 12px !important; font-family: "Verdana" !important; line-height: 1.5 !important; }
    .news span { font-weight: normal !important; font-size: 12px !important; font-family: "Verdana" !important; line-height: 1.5 !important; }
}

@media(max-width: 1023px) {
    body { background: #fff;}
    
    img { max-width: 100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    .kontener { width: 100%; padding: 0 10px 0 10px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    .show-sep { display: inline; }
    
    /*display:none*/
    .header .reklama { display: block; width: 100%; height: auto; margin: 14px 0 0 0; text-align: center; }
    .header .reklama .box { margin: auto; float: none; display: inline-block; width: auto; height: auto; max-width: 100%; }
    #facebook { display: none; }
    #youtube { display: none; }
    .srodek .mapa_polski { display: none; }
    .srodek .center .r_box_r { display: none; }
    .pas { display: none; }
    
    /*page*/
    .header { height: auto; width: 100%; float: left; }
    .header .logo { width: 100%; float: left; text-align: center; height: auto; position: relative; font-weight: bold; }
    .header .logo a { background: none; display: inline-block; width: 100%; height: auto; padding: 0px; position: relative; left: auto; top: auto; }
    .header .logo a img { display: inline-block; max-width: 200px; margin-top: 10px; margin-bottom: 10px; }
    .header .logo a span { display: block; color: #002a4a; font-size: 22px; }
    .header .logowanie  { width: 100%; float: left; height: auto; }
    .header .logowanie form { margin-bottom: 20px;}
    .header .logowanie .input { width: calc(100% - 50px);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; height: 22px; }
    .header .logowanie .mod { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; margin: 15px 0 15px 0; background-position: calc(100% - 10px) 10px;  }
    .header .logowanie .mod hr { width: calc(100% - 30px) !important; }
    
    .menu { width: 100%; float: left; height: auto; }
    .menu ul { margin:8px 0 10px 0; width: 100%; float: left; }
    .menu ul li { width: 50%; margin-top: 2px; }
    .menu ul li a { background: #002642; padding: 0 5px 0 5px; height: 35px; line-height: 34px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; border-radius: 6px 6px 6px 6px !important; }
    .pi li a:hover {height: 35px !important; line-height: 34px;padding: 0 5px 0 5px !important; }
    .pi li a.active {height: 35px !important; line-height: 34px;padding: 0 5px 0 5px !important; }
    
    .srodek .wyszukiwanie { width: 100%; float: left; padding: 10px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; height: auto; }
    .srodek .wyszukiwanie .stat { text-align: center; }
    .srodek .wyszukiwanie h1 { text-align: center; } 
    .srodek .wyszukiwanie .promowane { text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7); }
    .srodek .wyszukiwanie form { width: 100%; float: left; }
    .srodek .wyszukiwanie form table { width: 100%; float: left; display: block; }
    .srodek .wyszukiwanie form table tbody { width: 100%; float: left; display: block; }
    .srodek .wyszukiwanie form table tr { width: 100%; float: left; display: block; }
    .srodek .wyszukiwanie form table td { width: 100%; float: left; display: block; padding: 0px !important; margin-bottom: 10px; }
    .srodek .wyszukiwanie .input { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
    .srodek .wyszukiwanie .select { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
    .srodek .wyszukiwanie .submit { float: right; }
    .srodek .wyszukiwanie .promowane { height: auto; }
    .srodek .wyszukiwanie .button { margin-top: 0px !important; }
    .srodek .wyszukiwarka1 { height: auto; }
    .srodek .wyszukiwarka2 { height: auto; }
    .srodek .wyszukiwarka3 { height: auto; }
    .srodek .wyszukiwarka4 { height: auto; }
    
    .srodek .center { background: #eeeeee; }
    
    .srodek .center .l_box { width: 100%; float: left; margin 0 0 15px 0; }
    .srodek .center .l_box .naglowek {width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .srodek .center .l_box .naglowek2 {width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .srodek .center .l_box .news { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; padding: 0 10px 0 10px; margin-left: 0px;}
    .srodek .center .l_box .button-line { padding: 0 !important; margin: 10px !important; width: calc(100% - 20px) !important; }
    .srodek .center .l_box .box { height: auto; width: 100%; margin: 0px; padding: 0; }
    .srodek .center .l_box .box:hover { border: 0px; padding: 0px; margin: 0px; }
    .srodek .center .l_box .button { width: 100%; float: left; margin-left: 0px !important; padding: 0 10px 0 10px !important; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    .srodek .center .r_box { width: 100%; float: left; margin-left: 0px; }
    .srodek .center .r_box .naglowek {width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .srodek .center .r_box .naglowek2 {width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .srodek .center .r_box .news { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; padding: 0 10px 0 10px; margin-left: 0px;}
    .srodek .center .r_box .button { width: 100%; float: left; margin-left: 0px !important; padding: 0 10px 0 10px !important; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .srodek .center .r_box .form { width: 100%; float: left; margin: 0px; padding: 0 10px 0 10px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}
    .srodek .center .r_box .form table { width: 100%; }
    .srodek .center .r_box .form .input { width: 100%; max-width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; height: 26px; }
    .srodek .center .r_box .alert { width: 100% !important; }
    
    .srodek .center2 .lewo { background: #eeeeee; width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; padding: 0px; }
    .srodek .center2 .prawo { background: #eeeeee; width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; margin-left: 0px; padding: 0 10px 30px 10px; }
    .srodek .center2 .prawo .news { line-height: 1.5;}
    
    .srodek .center2 #wyszukiwarka { padding: 0 10px 20px 10px !important; width: 100%; float: left; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    .srodek .center2 #wyszukiwarka table { width: 100%; float: left; }
    .srodek .center2 #wyszukiwarka .input {width: 100%; max-width: 100%; float: left; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; height: 26px;}
    .srodek .center2 #wyszukiwarka .select {width: 100%; max-width: 100%; float: left; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; height: 26px; padding: 0px;}
    .srodek .center2 #wyszukiwarka .submit {width: 100%; max-width: 100%; }
    .srodek .center2 .wyszukiwarka1 { background: #3b7992; }
    .srodek .center2 .wyszukiwarka2 { background: #a36f23; }
    .srodek .center2 .wyszukiwarka3 { background: #da5a1b; }
    .srodek .center2 .wyszukiwarka4 { background: #b3a602; }
    
    .pakiety { width: 100% !important; }
    .news table.pakiety { max-width: auto !important; width: 100% !important; }
    
    .border { margin-left: 0px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    
    .srodek .center2 .prawo .naglowek2  { width: 100% !important;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    .formy { width: 100% !important; }
    
    .max { text-align: center; } 
    .max a { padding: 8px; font-size: 11px; margin: auto !important; display: inline-block; float: none;  }
    
    .max2 a { width: auto !important; padding-left: 5px; padding-right: 5px; }
    
    .formularz table.table { width: 100%; float: left; display: block; }
    .formularz table.table tbody { width: 100%; float: left; display: block; }
    .formularz table.table tr { width: 100%; float: left; display: block; }
    .formularz table.table td { width: 100% !important; float: left; display: block; padding: 0px !important; margin-bottom: 10px; }
    .alert { width: 100% !important; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    
    .resp { width: 100%; padding: 0 !important;}
    
    .odn { width: 100% !important; float: left; margin-left: 0px !important; }
    
    #on_zdjecia { text-align: center; }
    #on_zdjecia .galeria2 { float: none; display: inline-block; }
    
    #mapka { width: 100% !important; }
    
    .menu_bok { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; margin-bottom: 0px;  }
    .menu_bok ul { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    .menu_bok ul li { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    .menu_bok ul li a { width: 100%; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;  }
    .menu_bok ul li a.active { font-weight: bold; }
    
    .bl { width: 100%; }
    
    .pu { display: none;}
    
    .news table { width: 100% !important; max-width: 100% !important; }
    .news p { font-weight: normal !important; font-size: 12px !important; font-family: "Verdana" !important; line-height: 1.5 !important; }
    .news span { font-weight: normal !important; font-size: 12px !important; font-family: "Verdana" !important; line-height: 1.5 !important; }
    
    .menu_panel { text-align: center;}
    .menu_panel a { float: none; display: inline-block; margin: 0 2px 0 2px; }
    .menu_panel table a { width: 100% !important; margin: 0px; -webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box; }
    .menu_panel table td { padding: 0 2px 0 2px; }
}

@media(min-width: 768px) and (max-width: 1023px) {
    
    .hide-sm { display: none; }
    .footer { width: 100%; float: left; }
    .stopka { width: 100%; float: left; }
    
    .ghl { width: 50%; }
}

@media(min-width: 480px) and (max-width: 767px) {
    
    .hide-xs { display: none; }
    .hgd { display: inline; }
    
    .header .logowanie  { width: 443px; float: none; margin: auto; height: auto; }
    
    .footer { width: 100%; float: left; }
    .footer table { width: 100%; float: left; display: block; }
    .footer table tbody { width: 100%; float: left; display: block; }
    .footer table tr { width: 100%; float: left; display: block; }
    .footer table td { width: 100% !important; float: left; display: block; padding: 0px !important; margin-bottom: 10px; text-align: center !important; }
    .footer table td:last-child { text-align: center !important; }
    .footer table td:last-child a {  }
    
    .stopka { width: 100%; float: left; }
    .stopka table { width: auto !important; float: right; display: block; }
    .stopka table tbody { width: 100%; float: left; display: block; }
    .stopka table tr { width: 100%; float: left; display: block; }
    .stopka table td { width: 100% !important; float: left; display: block; padding: 0px !important; margin-bottom: 10px; text-align: right !important; }
    .stopka table td:first-child { display: none; }
    
    .facebook-root { float: left !important; margin-top: 0px !important;}
    
    .formy .atx { width: 120px; }
    .formy img { max-width: 100px; }
    .formy .opis { display: none; }
    
    .pakiety { width: 600px;!important; }
    .news table.pakiety { max-width: 600px !important; width: 600px !important; }
    
    .ghl { width: 50%; }
}

@media(min-width: 320px) and (max-width: 479px) {
        
     .hide-xs { display: none; }
     
     .srodek .center .l_box .news img.pag { display: block; display: block;margin-left: auto;margin-right: auto; float: none !important; }
        
    .footer { width: 100%; float: left; }
    .footer table { width: 100%; float: left; display: block; }
    .footer table tbody { width: 100%; float: left; display: block; }
    .footer table tr { width: 100%; float: left; display: block; }
    .footer table td { width: 100% !important; float: left; display: block; padding: 0px !important; margin-bottom: 10px; text-align: center !important; }
    .footer table td:last-child { text-align: center !important; }
    .footer table td:last-child a { display: block; }
    
    .stopka { width: 100%; float: left; }
    .stopka table { width: auto !important; float: right; display: block; }
    .stopka table tbody { width: 100%; float: left; display: block; }
    .stopka table tr { width: 100%; float: left; display: block; }
    .stopka table td { width: 100% !important; float: left; display: block; padding: 0px !important; margin-bottom: 10px; text-align: right !important; }
    .stopka table td:first-child { display: none; }
    
    .facebook-root { float: left !important; margin-top: 0px !important;}
        
    .formy .atx { width: 120px; }
    .formy img { max-width: 100px; }
    .formy .opis { display: none; }
    
    .table-responsive-block { width: 100%; display: block; float: left; }
    .table-responsive-block tbody { width: 100%; float: left; display: block; }
    .table-responsive-block tr { width: 100%; float: left; display: block; }
    .table-responsive-block td { width: 100% !important; float: left; display: block; padding: 0px !important; margin: 0px }
    .table-responsive-block .nagll td { text-align: center !important;}
    .table-responsive-block tr td.p1 { width: 30% !important;}
    .table-responsive-block tr td.p1:last-child { width: 70% !important;}
    .table-responsive-block .centerr { text-align: center; margin-bottom: 10px; }
    
    #on_zdjecia .galeria2 { max-width: 120px; }
    
    .pakiety { width: 600px;!important; }
    .news table.pakiety { max-width: 600px !important; width: 600px !important; }
    
    .gal-ht { width: 50%; }
    .gal-ht img { margin-bottom: 15px !important;}
    
    .resp2 { width: 100%; padding: 0px !important; }
    
}

@media screen and (max-width: 767px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid #ddd;
  }
  .table-responsive > .table {
    margin-bottom: 0;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}