.sport-inner {
    background: rgba(255,255,255,0.7);
}

#content.konfigurator section table table [id*="_configuration"] .correction_body{
    border: 1px solid gray !important;
}

table tbody {
    display: table;
    width: 100%;
    height: auto;
    max-height: 300px;
    table-layout: inherit;
}

.correction_body{
    text-align: center;
    border-bottom: 1px solid gray !important;
    margin-bottom: 15px; 
    width: 98%;
    padding: 15px 0 !important;
    display: block;
}

thead {
    /*display: table-header-group;*/
    display: block;
    width: 100%;
}

/* Customize the label (the container) */
.konfigurator .checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  margin-top: 0;
  line-height: normal;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 2px solid rgba(100,100,100,0.7);;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
  background-color: rgb(227,0,14);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.correction_body td {
    border: none;
    width: 12%;
    padding: 0px 10px;
    height: 30px;
    line-height: 30px;
    word-wrap: break-word;
}

.product_specific {
    /*  width: 1100px;*/
    width: 100%;
    height: 30px;
    display: block;
}

.label_row {
    /* display: table;*/
    width: 100%;
    /*  border-bottom: 1px solid gray !important;*/
    height: auto;
    /* display: table-header-group;*/
    display: block;
    table-layout: fixed;
}

.label_row td {

    /*   width: 100px;
       min-width:  110px;*/
}

[class*="correction_"] tbody {
/*    display: table-row-group;*/
     display: block;
    width: 100%;
    height: auto;
    max-height: 170px !important;
    overflow: auto;
}

tr.space_row {
    height: 2px !important;
}

[class*="remove_row"] {
    color: white !important;
    font-weight: bold !important;
    background: rgb(227, 0, 14);
    /*width: 100% !important;*/
    height: auto;

}

.final-form tbody div[class*=_row] div.action_buttons_div {
    text-align: right;
}

.final-form [class*="edit_row"] {
    color: #008000 !important;
}

.final-form [class*="remove_row"] {
    color: #e3000e !important;
}

.final-form [class*="edit_row"],
.final-form [class*="remove_row"] {
    width: auto;
    height: auto;
    display: inline-block;
    background: transparent;    
    font-size: 30px;
    padding: 0px 0px 0px 25px;
    transition: all 0.2s ease;
}

.final-form [class*="edit_row"]:hover ,
.final-form [class*="remove_row"]:hover {
    background: none;
}

.final-form [class*="edit_row"]:hover {
    color: #005000 !important;
}

.final-form [class*="remove_row"]:hover {
    color: #9c010a !important;
}

.tbody [class*='_row '] div.note_row {
    width: 95%;
    text-align: left;
    height: 50px;
}

.tbody [class*='_row '] div.note_row .note_label_div div,
.tbody [class*='_row '] div.note_row .note_label_div label {
    display: inline-block;
}

.tbody [class*='_row '] div.note_row .note_label_div {
    text-align: right;
    width: 11.5%;
}

.tbody [class*='_row '] div.note_row .note_label_div div {
    border: solid rgb(176,176,176);
    border-width: 0 0 1px 1px;
    width: 15px;
    height: 15px;
    min-height: 15px;
    margin: 0px 8px 4px 0px !important;
}

.tbody [class*='_row '] div.note_row .note_input_div {
    width: 50%;
}

.tbody [class*='_row '] div.note_row .note_input_div .note {
    margin-left: 2.5%;
    width: 99%;
}

input[type="date"] {
    background-color: transparent;
    /*width: 90% !important;*/
    text-align: center;
}

input[type="text"],
input[type="textarea"],
input[type="date"],
select {
    width: 90%;
    margin: 2px 0;
    display: inline-block;
    border: 1px solid rgb(176, 176, 176);
    border-radius: 4px;
    box-sizing: border-box;
}

span[class^="next"] {
    cursor: pointer;
    text-decoration: underline;
}

.error .error_info {
    padding: 20px;
    background-color: #f44336;
    color: white;
    border-radius: 5px;
    text-align: center;
}


.correction_body {
    border: 1px solid gray !important; 
    border-radius: 5px; 
    padding-bottom: 5px;
}

.correction_body div,
.correction_body label {
    vertical-align: baseline;
    position: relative;
    display: block;
    padding: 0 !important;
    margin: 0 !important;
}

.thead {
    width: 98.5%;
}

.thead .product_specific,
.thead .label_row,
.thead .variant{
    width: 100%;
    height: auto;
    min-height: 35px;
}

.thead .variant{
    font-weight: bold;
}

.correction_body .thead .label_row {
    padding-top: 5px!important;
    border-bottom: 1px solid gray;
}

.thead .product_specific div,
.thead .label_row div,
.thead .variant div,
.tbody [class*='_row '] div {
    width: 12%;
    min-height: 30px;
    height: auto;
    display: inline-block;
}

.thead .product_specific div.colspan2,
.thead .variant div.colspan2,
.thead .label_row div.colspan2,
.tbody [class*='_row '] div.colspan2 {
    width: 24%;
}

.correction_body [class*='_correction_']{
    padding-top: 5px!important;
}

.tbody {
    height: 230px;
    overflow-y: scroll;
}

.right-align {
    text-align: right !important; 
}

[class*="add_row"] {
    background: green !important; 
    /*float: right;*/
    width: 99% !important;
}

::-webkit-input-placeholder {
    text-align: center;
}

:-moz-placeholder { /* Firefox 18- */
    text-align: center;
}

::-moz-placeholder {  /* Firefox 19+ */
    text-align: center;
}

:-ms-input-placeholder {
    text-align: center;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#content.konfigurator form {
    margin-top: 100px !important;
}

#content.konfigurator form#krok5-zpet {
    margin-top: 10px !important;
}

#content.konfigurator .entry-content {
    margin-top: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
}

#content.konfigurator h1 {
    margin-left: 0 !important;
    text-align: center;
}

#sport-squares a {
    height: 56px !important;
}

hr {
    display: table;
}

#check-div-background {
    z-index: 54;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    background: rgba(0,0,0,0.7);
}

#check-div {
    margin-top: 150px;
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    width: 1120px;
    height: 63%;
    min-height: 1120px;
    background: #dedddd;
    /* background-color: #0c0b0b;*/
    text-align: center;
}

#check-div-content {
    margin: 0 auto;
    padding-top: 15px;
    width: 95%;
}

#check-div-content div {
    width: 100%;
    display: inline-block;
    vertical-align: top;
}

#check-div-content div.product-header div,
#check-div-content div.product-row div {
    width: 15%;
}

#check-div-content .korektura-header h4 {
    font-weight: bold;
    text-align: center;
}

#check-div-content .zakaznik-informace {
    width: 100%;
    border: 1px solid gray;
    border-collapse: collapse;
    border-radius: 5px;
    margin-bottom: 10px;
}

#check-div-content .zakaznik-informace div {
    width: 100%;
    text-align: left;
}

#check-div-content .zakaznik-informace h4 {
    font-weight: bold;
    text-align: center;
}

#check-div-content .zakaznik-informace div div {
    width: 49.5%;
    height: 26px;
}

#check-div-content .zakaznik-informace .zakaznik-right {
    text-align: right;
    padding-right: 10px;
}

#check-div-content .zakaznik-informace .zakaznik-left {
    text-align: left;
    padding-left: 10px;
}

#check-div-content .nazev-objednavky h3 {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
}

#check-div-content .correction {
    margin-top: 20px;
    border: 1px solid gray;
    border-radius: 5px;
}

#check-div-content .korektura-informace-row {
    margin-bottom: 10px;
}

#check-div-content .korektura-informace-header div,
#check-div-content .korektura-informace-row div,
#check-div-content .produkt-header div,
#check-div-content .produkt-row div {
    width: 15%;
    text-transform: capitalize;
}

#check-div-content .korektura-informace-header,
#check-div-content .produkt-header {
    /*border-bottom: 1px solid black;*/
    font-weight: bold;
}

#check-div-content .korektura-informace-header,
#check-div-content .produkt-header {
    border-bottom: 1px dotted gray;
}

#check-div-content div.product-row {
    padding: 10px 0px;
}

#check-div-content div.product-row:nth-child(odd) {
    background: rgba(202, 202, 202, 0.8);
}

#check-div-content div.product-row div.check_div_note {
    width: 90%;
    text-align: left;
}

#check-div-content .odkaz {
    margin-top: 15px;
}
#check-div-content .buttons{
    display: inline-block;
    width: 100%;
    margin-top: 20px;
}

#check-div-content .buttons div{
    width: 50%;
}

#check-div-content .buttons .zpet,
#check-div-content .buttons .vpred,
.final-form a.vpred,
.final-form button.vpred,
.final-form a.zpet {
    margin: 0 auto !important;
    height: 50px!important;
    width: inherit !important;
    -webkit-border-radius:  7px !important;
    -moz-border-radius:     7px !important;
    border-radius:          7px !important;
    text-align: center;
    line-height: 2.8 !important;
    cursor: pointer;
    margin: 0 auto !important;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500 !important;
    margin-bottom: 20px !important;
    font-size: 17px !important;
    border: 1px solid rgb(47,47,46) !important;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.final-form td button.vpred {
    width: 100% !important;
}

#check-div-content .buttons .zpet,
.final-form a.zpet,
.final-form a.typ-osoby-aktivni{
    background: rgb(47,47,46) !important;
    color: white!important;
}

#check-div-content .buttons .zpet:hover,
.final-form a.zpet:hover,
.final-form a.typ-osoby-aktivni:hover{
    color: rgb(47,47,46) !important;
    background: white !important;
}

.final-form a.typ-osoby-neaktivni{
    background: rgb(227,0,14) !important;
    color: white!important;
}

.final-form a.typ-osoby-neaktivni:hover{
    background: black !important;
}

.final-form a.typ-osoby-aktivni,
.final-form a.typ-osoby-neaktivni{
    border: 1px solid rgb(47,47,46) !important;
}

#loading-div-background {
    z-index: 2000;
    opacity: 0.8;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background: black;
    width: 100%;
    height: 100%;
}

#loading-div {
    width: 300px;
    height: 200px;
    background-color: #232323;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -100px;
}

#content.konfigurator .select_sport_form {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

#content.konfigurator .select_sport_form label {
    display: inline-block;
    margin-right: 20px !important;
}

#content.konfigurator .select_sport_form select {
    width: 40%;
    display: inline-block;
}

#wrapper-header {
    position: fixed;
    z-index: 1;
}

.thead .variant div {
    display: inline-block;
    width: 20%;
}

.tbody .row-div .first {
    display: none;
}

.tbody .row-div .second {
    width: 100%;
}

.final-form a.agreement {
    margin: 0 0 15px 0 !important; 
    background: none; 
    color: black !important; 
    text-decoration: underline; 
    font-size: 17px; 
    font-weight: 600;
    width: 100%;
    height: auto;
}

.final-form a.agreement h4 {
    line-height: 2;
    width: auto;
}

.final-form a.personal_data {
    width: 100%; 
    background: none; 
    color: black!important; 
    text-decoration: underline; 
    font-size: 17px; 
    font-weight: 600;
    height: auto;
}

.clearBoth {
    clear: both;
    min-height: 1px;
    display: block;
    width: 100%;
}

.fa.search-top {
    font-size: 20px;
    padding: 1px 0px;
}

.error {
    background: rgba(255,0,0,0.6) !important;
}

@media screen and (max-width: 1140px) {
    #main-content {
        margin-top: 130px;
    }
}

@media screen and (max-width: 1024px) {
    .final-form a {
        width: 100% !important;
    }
    
    div.action_buttons_div {
        width: 11%;
    }
    
    .final-form .action_buttons_div a {
        width: auto !important;
        padding: 0 0 0 15%;
    }

    #check-div {
        width: 100vw !important;
    }

    [class*="correction_"] {
        max-width: 100vw;
    }
}

@media screen and (max-width: 784px) {
    .sport-inner {
        width: 100%;
    }
    
    #main-content {
        margin-top: 97px;
    }
    
    .final-form .action_buttons_div a {
        padding: 0 0 0 10%;
    }
}

@media screen and (max-width: 800px) {
    .thead .product_specific.first,
    .thead .variant div.first {
        width: 30%;
        float: left;
    }
    
    .thead .product_specific.second,
    .thead .variant div.second {
        width: 70%;
        float: left;
    }
    
    .thead .product_specific div.colspan2, 
    .thead .variant div.colspan2, 
    .thead .label_row div.colspan2, 
    .tbody [class*='_row '] div.colspan2 {
         width: 100%; 
    }

    .thead .product_specific div {
        display: block;
        width: 100%;
        padding: 1px 0 !important;
        vertical-align: middle;
    }
    
    .thead .product_specific.first div {
        padding: 10px 0 !important;
    }
    
    .thead .variant .first {
        padding: 5px 0 !important;
    }
    
    .thead .label_row {
        clear: both;
        min-height: 0px;
        height: 0px;
    }
    
    .thead .label_row div,
    .blank-div,
    .tbody [class*='_row '] div.note_row div.note_label_div .note_indent {
        display: none !important;
    }
    
    .thead [class*='add_row_'] {
        width: 25% !important;
        float: right;
        margin-top: 30px;
    }
    
    .final-form .thead select,
    .tbody .row-div .second select,
    .tbody [class*='_row '] div.note_row div.note_input_div input[type=text] {
        width: 90%;
    }
    
    .tbody [class*='_row '] {
        padding: 20px 0 !important;
    }
    
    .tbody [class*='_row ']:nth-child(odd) {
        background: white;
    }
    
    .tbody [class*='_row '] .action_buttons_div a {
        background: transparent;
    }
        
    .tbody [class*='_row '] .row-div,
    .tbody [class*='_row '] .action_buttons_div {
        width: 100%;
    }

    .final-form .tbody div[class*='_row '] div.action_buttons_div,
    .tbody [class*='_row '] div.note_row div.note_label_div {
        text-align: center;
    }
    
    .tbody [class*='_row '] .action_buttons_div a {
        margin: 0 15px;
    }
        
    .tbody .row-div .first,
    .tbody [class*='_row '] div.note_row div.note_label_div {
        width: 30%;
        float: left;
        display: block;
        padding: 10px 0 !important;
    }
    
    .tbody .row-div .second,
    .tbody [class*='_row '] div.note_row div.note_input_div {
        width: 70%;
        float: left;
        display: block;
    }
    
    .tbody .row-div .first label {
        text-transform: capitalize;
    }
    
    #content.konfigurator .final-form h3.more_corrections,
    .konfigurator #sameContactRow .checkbox,
    .konfigurator td .checkbox {
        font-size: 14px;
    }
    
    input[type=date] {
        min-height: 32px;
    }
}

@media screen and (max-width: 500px) {
    p {
        font-size: 13px;
    }
    
    #content.konfigurator h2 {
        font-size: 20px;
    }
    
    #content.konfigurator h3 {
        font-size: 16px;
    }
    
    h4,
    .final-form a.personal_data {
        font-size: 15px;
    }
    
    #content.konfigurator h3,
    .final-form h4 {
        margin-top: 5px;
    }
    
    input[type="text"], 
    input[type="textarea"], 
    input[type="date"], 
    select {
        margin: 1px 0;
    }
    
    .final-form input[type=text] {
        height: 30px;
    }
    
    .final-form a.typ-osoby-aktivni, 
    .final-form a.typ-osoby-neaktivni,
    #content.konfigurator .final-form h3.more_corrections, 
    .konfigurator #sameContactRow .checkbox, 
    .konfigurator td .checkbox,
    .thead .first,
    .tbody .first {
        font-size: 12px;
    }
    
    #check-div-content .korektura-informace-header div, 
    #check-div-content .korektura-informace-row div, 
    #check-div-content .produkt-header div, 
    #check-div-content .produkt-row div,
    #check-div-content .product-header div {
        font-size: 13px;
        line-height: 1.5;
        word-break: break-all;
        padding: 0 3px;
    }
    
    #check-div-content .zakaznik-informace .zakaznik-left {
        word-break: break-all;
        height: auto;
    }
}

@media screen and (max-width: 425px) {
    #check-div {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 400px) {
    .thead [class*='add_row_'] {
        font-size: 12px;
        margin-top: 10px;
        height: 24px;
    }
    
    .thead .variant .first {
        padding: 0px !important;
    }
    
    .thead .product_specific.first div {
        padding: 0px;
        height: 40px;
        line-height: 1.25;
    }
    
    .thead .product_specific div, 
    .thead .label_row div, 
    .thead .variant div, 
    .tbody [class*='_row '] div {
        min-height: 40px;
    }
}

@media screen and (max-width: 350px) {
    .final-form a {
        width: 100% !important;
    }
}