.btn {
    padding: 6px;
    margin: 0;
}
.modal .btn {
    margin: 0;
}
.hlavicka {
    display: none;
}
.header-box {
    background: #fff;
}
#checkout {
    color: #000;
    margin-bottom: 20px;
}
body .main-container.container-fluid {
    padding-top: 15px;
}
.add-form .name {
    color: #191919;
}
.aeto .product form {
    border-radius: 7px;
    margin: 5px;
    padding: 15px 13px 12px 13px;
}
.aeto > .row > .col {
    padding-top: 20px;
}
.aeto .form-inline .box-ou .form-item {
    width: 100%;
    margin-bottom: 16px;
}
.aeto .form-inline .form-item-company,
.aeto .form-inline .form-group {
    width: 100%;
    margin-bottom: 16px;
}
.aeto .form-inline .checkbox input[type=checkbox] {
    margin-right: 15px;
    cursor: pointer;
}
.price-table .price {
    font-size: 14px;
    text-align: right;
}
.price-table .text {
    font-size: 12px;
    text-align: left;
}
.price-table .price.active {
    color: #41A04E;
    font-weight: 700;
}
.price-table .price.active .price {
    font-size: 16px;
}
.qty-row {
    margin-top: 18px;
}
.qty-row, .platnost-row {
    margin-bottom: 7px;
}
.qty-row input {
    text-align: center;
    border: 1px solid #B8CADB;
    height: 30px;
}
.box-ou .form-item-company label {
    width: 30%;
}
.form-type-checkbox label {
    width: 100%;
}
#checkout .qty-btn {
    user-select: none;
    cursor: pointer;
    border: 1px solid #B8CADB;
    height: 50px;
    background: #ffad3e;
    font-size: 32px;
    font-family: sans-serif;
    width: 50px;
}
#checkout .qty-btn:hover {
    background: #ffa62f;
    color: #000;
}
#checkout .qty-btn.qty-btn-minus {
    border-right: none;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}
#checkout .qty-btn.qty-btn-plus {
    border-left: none;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

.aeto .form-inline .form-item-company-name,
.aeto .form-inline .form-item-company-ico,
.aeto .form-inline .form-item-company-dic,
.aeto .form-inline .form-item-company-platce,
.aeto .form-inline .form-item-company-ic-dph {
    display: none;
}
#checkout .checkbox.form-item-company-platce label,
#checkout .checkbox.form-item-company label {
    padding-left: 0;
}

#cart-box {
    position: sticky;
    top: 50px;
}
#cart-box table {
    font-size: 14px;
}
#cart-box table th {
    font-weight: 400;
}
#cart-box thead tr {
    background-color: initial !important;
    color:#525B63;
}
#cart-box .table-responsive {
    border: none !important;
}
#cart-box .cart-remove span {
    cursor: pointer;
    background: white;
    color: #CA1518;
    border-radius: 50%;
    display: block;
    width: 18px;
    height: 18px;
    line-height: 17px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
#cart-box tr:hover .cart-remove span {
    /*opacity: 1;*/
    background: #CA1518;
    color: white;
}
#cart-box .text-total {
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    border-top: 1px solid #d7d7d7;
    padding-top: 20px;
}
#cart-box .text-total-small {
    font-weight: 400;
    font-size: 14px
}

.loader {
    position: relative;
    display: inline-block;
    margin: 0 12.5% 0;
    width: 25px;
    height: 25px;
    border: 3px solid #1A73A3;
    border-radius: 50%;
    animation: spin 0.75s infinite linear;
    vertical-align: middle;
}
.loader::before,
.loader::after {
    left: -3px;
    top: -3px;
    display: none;
    position: absolute;
    content: '';
    width: inherit;
    height: inherit;
    border: inherit;
    border-radius: inherit;
}
.loader-5,
.loader-5::before {
    display: inline-block;
    border-color: transparent;
    border-top-color: #1A73A3;
}
.loader-5::before {
    animation: spin 1.5s infinite ease;
}

@media (min-width: 768px) {
    .box-ou .form-item.form-type-textfield label,
    .box-ou .form-item.form-type-tel label,
    .box-ou .form-item.form-type-email label,
    .box-ou .form-item-company-platce label,
    #voucher-address .form-item label {
        width: 29%;
    }
    .box-ou .form-item input[type="text"],
    .box-ou .form-item input[type="tel"],
    .box-ou .form-item input[type="email"],
    #voucher-address .form-item input {
        width: 70%;
    }
    .form-type-checkbox {
        width: 100%;
    }
    .form-inline .checkbox.form-item-company-platce input[type=checkbox],
    .form-inline .checkbox.form-item-company input[type=checkbox] {
        float: left;
        margin-left: 30%;
        position: absolute;
    }
}

#checkout > .row > .col > .col-inner {
    background: #fff;
    border-radius: 7px;
    padding: 30px;
    box-shadow: 0 0 20px 0px rgba(0,0,0,.3);
}
.row.category-row {
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 15px;
}
.row.category-row > .col {
    padding-right: 5px;
    padding-left: 5px;
}
.col.product p {
    margin-bottom: 0;
    height: 30px;
    display: block;
}
#checkout .box-title {
    color: #1A73A3;
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 18px;
}
#checkout .box-ou {
    color: #191919;
}
#checkout .box-ou em {
    font-style: normal;
}
#checkout .box-ou .box-title {
    font-weight: 700;
    margin: 40px 0 0;
}
#checkout .box-ou .required-descr {
    font-size: 12px;
}
#checkout .form-control,
#checkout label.control-label {
    font-weight: 400;
    color: #384149;
}
#checkout .subtitle-2 {
    margin-top: -18px;
    font-size: 13px;
    margin-bottom: 18px;
}
#pay-btn {
    color: #fff;
    background: #D0DAE4;
    height: 60px;
    font-size: 16px;
    margin: 0 0 5px 0;
    padding: 0 40px;
}
#pay-btn.active {
    background: linear-gradient(221.1deg, #FFD672 0%, #FFAD3E 100%);
    color: #2E2E2E;
}
#checkout h1 {
    text-align: center;
}

#checkout .price-table td {
    padding: 0;
    border: none;
    vertical-align: bottom;
    height: 25px;
}

#checkout .price-table td,
#checkout .price-table tr {
    background: none !important;
    border: none;
}
#checkout .price-table {
    margin-bottom: 0;
}
#checkout .btn-success {
    background-color: #67BB44;
    border-color: #67BB44;
    padding: 5px 0;
    margin: 0;
    border-radius: 7px;
    text-transform: lowercase;
}
#checkout .btn-success:hover {
    color: #fff;
}

#checkout .checkbox label {
    padding: 2px 8px;
    margin-bottom: 4px;
    border-radius: 7px;
}
#checkout .has-error.checkbox label {
    color: #fff;
    background-color: #fcb8b9;
}
#checkout .box-sub-title {
    font-size: 15px;
    text-align: left;
    padding-bottom: 25px;
}
#checkout-offline {
    margin: 50px auto 0;
    max-width: 1200px;
}

@media screen and (max-width: 767px) {
    #checkout h1 {
        margin-top: 95px;
    }
    #checkout .table-responsive {
        border: none;
    }
    #checkout > .row > .col {
        padding-left: 0;
        padding-right: 0;
    }
    #checkout .checkbox label {
        padding: 2px 30px;
    }
    .box-ou .form-item-company label {
        width: auto;
    }
}

#checkout .table > thead > tr > th,
#checkout .table > tbody > tr > th,
#checkout .table > tfoot > tr > th,
#checkout .table > thead > tr > td,
#checkout .table > tbody > tr > td,
#checkout .table > tfoot > tr > td {
    padding-left: 0;
    padding-right: 0;
    color: #525B63;
}

.add-form .price > * {
    display: inline-block;
}
.add-form .product-name {
    font-weight: 700;
}
.add-form .base-price {
    text-decoration: line-through;
}
.add-form .base-price-only {
    color: #1B732F;
    font-weight: 700;
}
.qty-row .input-group {
    width: 170px;
}
.add-form {
    font-size: 20px;
}
.add-form .product-description {
    font-size: 18px;
    opacity: .7;
}
.add-form .base-price {
    text-decoration: line-through;
}
.add-form .action-price {
    color: #1B732F;
    font-weight: 700;
    margin-left: 18px;
}
.add-form .qty-row [name="qty"] {
    height: 50px;
    font-size: 24px;
    color: #2E2E2E;
    font-weight: 600;
}

/*.form-item-approve-op  label:after,*/
.form-item-approve-mesto label:after {
    display: none;
}

#checkout .has-error .form-control {
    border-color: red;
}

#checkout #extra-checkbox-box {
    list-style: none;
}
#checkout #extra-checkbox-box li {
    padding-left: 15px;
}
#checkout #extra-checkbox-box li:before {
    position: absolute;
    content: '';
    left: 7px;
    height: 30px;
    width: 30px;
    background-image: url('/themes/contrib/aeto/favicon/favicon.ico');
    background-size:contain;
    background-repeat:no-repeat;
    filter: invert(113%) sepia(76%) saturate(459%);
}
#checkout #extra-checkbox-box.green li:before {
    filter: invert(4%) sepia(69%) saturate(407%);
}
#checkout .form-required:after {
    margin-left: 4px;
}

[data-drupal-selector="edit-separate"] legend {
    display: none;
}

.form-item-separate input {
    margin-right: 15px !important;
}

.voucher-row {
    margin-left: 20px;
}
.voucher-row .glyphicon-question-sign {
    color: #1a73a3;
    cursor: pointer;
}

.payment-box {
    font-size: 15px;
    text-align: center;
    color: #707070;
}
.payment-box a {
    color: #707070;
}
.payment-box p {
    margin-bottom: 15px;
}
.payment-links {
    display: block;
}
.payment-links:hover {
    text-decoration: none;
}
.payment-links img {
    margin: 0;
    max-width: 100%;
}

.gateway .gw-logo {
    height: 25px;
    margin-left: 15px;
}

.gateway .stripe-logo {
    height: 35px;
}

body.md-only-one #papilonia {
    display: none;
}