body {
    font-family: arial;
    font-size: 78%;
    padding-bottom: 1rem;
}

.container {
    max-width: 960px;
    padding-top: 1em;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: .9rem;
    margin-bottom: 1.2rem;
    font-weight: bold;
}

h3 {
    font-size: .8rem;
    font-weight: bold;
}

h4 {
    font-size: 100%;
    font-weight: bold;
}


.form-group > label {
    font-weight: bold;
}


a {
    color: #212529;
    text-decoration: underline;
}

a:hover {
    color: #212529;
    text-decoration: none;
    cursor: pointer;
}

footer{
    margin-top:2rem;
}

.img-offer{
    max-width: 95%;
}

/* price-box */

.price-sum{
    xdisplay:none;
    xpadding-right: 30px;
}

.price-sum div {
    font-weight: bold;
    background-color: transparent;
    border-color: transparent;
    font-size: 1.1rem;
    color: #212529;
    padding-right:0;
    position: relative;
    top: -3px;
}

.order-section {
    border: 1px solid #ddd;
    padding: 5px 15px 0 15px;
    border-radius: 3px;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.periods {
    margin-top: .75rem;
    border-bottom-color: #ddd;
}

.periods .nav-link {
    text-decoration: none;
}

.periods .nav-link.active {
    border-color: #ddd;
    color: black;
}

.periods .nav-link {
    background-color: #fafafa !important;
    border: 1px solid #dfdfdf;
    border-bottom-width: 0;
    color: #495057;
}

.periods .nav-link:hover{
    border-color: #dfdfdf;
}

.periods .active{
    background-color: white !important;
}

.periods a:hover {
    top: -1px !important;
    background-color: white !important;
}

.periods .active:hover {
    top: 0 !important;
}

.price-box {
    border-width: 0 1px 1px 1px;
    border-radius: 0 3px 3px 3px;
    margin-bottom: 1rem;
    font-size: .9rem;
}

.price-box-periods ul.list-group .list-group-item{
    margin-bottom:0;
    border-top-width: 0;
}


.price-box input[type=radio] {
    position: relative;
    top: 1px;
}

.price-box .list-group-item .row div {
    padding-left: 7px;
    padding-right: 7px;
}

.price-box small {
    display: block;
    color: #444;
    padding-top: 3px;
}

.price-box-periods .list-group-item:first-child {
    border-radius: 0;
    border-top-width: 0;
}

.price-box .text-helper {
    margin-top: 0;
    margin-bottom: 0;
}

.full-price{
    font-size: 90%;
    color:red;
    position: relative;
    padding: 0 .25rem;
    display: inline-block;
}
.full-price span{
    color:#666;
}
.full-price:before {
    position: absolute;
    content: "";
    left: 0;
    top: 50%;
    right: 0;
    border-top: 1px solid;
    border-color: inherit;
    opacity: .6;

    -webkit-transform:rotate(-6deg);
    -moz-transform:rotate(-6deg);
    -ms-transform:rotate(-6deg);
    -o-transform:rotate(-6deg);
    transform:rotate(-6deg);
}
.company-switch .btn-secondary:not(:disabled):not(.disabled){
    color: gray;
    background-color: white;
    border-color:gray;
}
.company-switch .btn-secondary:not(:disabled):not(.disabled).active{
    color: white;
    background-color: gray;
}

.company-switch .btn-sm {
    font-size: .775rem;
}
.company-switch>.btn:not(:first-child) {
    margin-left: -7px;
}





.list-group-item {
    border-color: #ddd;
}

.list-group-item div div label {
    margin-bottom: 0;
}

.list-group .list-group-item label {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: .4rem;
}

.form-control {
    padding: .15rem .4rem;
    border-color: #ddd;
    border-radius: 3px;
    height: calc(1.85rem + 2px);
    font-size: .9rem;
}

.form-control[readonly] {
    background-color: #f6f6f6;
}

input.form-control[name=issue] {
    background-color: #fff;
}

textarea.form-control {
    height: 5rem;
}

.address-box{
    border:1px solid #ddd;
    padding:15px 15px 15px 15px;
    border-radius: 3px;
}
.address-box h2{
    font-size:.85rem;
    font-weight: bold;
}

a.btn{
    text-decoration: none;
}
.btn-primary{
    background-color: #666;
}
.btn-primary:hover{
    background-color: #444;
    border-color: #222;
}
.col-form-label {
    font-weight: bold;
}

.col-form-label span {
    font-weight: normal;
}

label {
    margin-bottom: 0;
    cursor: pointer;
}

input[type=radio] {
    cursor: pointer;
}
input[type=checkbox]{
    display: inline-block;
    margin-right:7px;
    position: relative;
    top:2px;
}
input[name=submitOrder] {
    margin-top: 1em;
    margin-bottom: 2em;
}


.terms label{
    margin-bottom:.5em;
}
.terms label:last-child{
    margin-bottom:0;
}


.payments input[type=radio] {
    position: relative;
    top: 1px;
    left: -4px;
}

input[name=issue] {
    /*
    width: calc(100% - 30px); !important;
    display: inline-block;
    margin-right: .5em;
    */
}

.nav-tabs .nav-item {
    margin-right: 5px;
}

.nav-tabs .nav-item a {
    background-color: #edf1f5;
    position: relative;
    top: -1px;
}

.nav-tabs .nav-item a.active {
    background-color: white;
    position: relative;
    top: 0px;
}

.nav-tabs .nav-item a:hover {
    background-color: white;
    position: relative;
    top: 0px;
}

.payment-description {
    padding-left: 17px;
    display: none;
    margin-top: 3px;
    max-width: 30em;
}

.payment-description p {
    font-size: 85%;
    color: #666;
    margin-bottom: 0;
}

.payment-description a {
    text-decoration: underline;
}

.payment-free{
    background-color: #e0f7d7;
}

.ui-datepicker-trigger {
    /*
    position: relative;
    top: -2px;
    cursor: pointer;
    */
    display:none;
}

code{color:#bd0d0b;}

p.code{
    border:1px solid #bd0d0b;
    padding:.5em 1em;
    background-color: rgba(189,13,11,0.06);
}

.text-helper {
    color: gray;
    font-size: .7rem;
    margin-top: .3rem;
    font-weight: normal;
    display: inline-block;
}

.notice-counter {
    text-align: right;
    display: none;
}

.custom-control-label:before,
.custom-control-label:after {
    top: .1rem;
}





.form-box {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 3px;
    margin-bottom:15px;
}





.homepage td.link {
    position: relative;
}

.homepage i {
    display: block;
    position: absolute;
    top: 3px;
    right: 8px;
    color: #c2af00;
    cursor: pointer;
    border: 1px solid #e0cf5a;
    background-color: #f9ee7a;
    padding: 1px 4px;
}

.homepage i:hover {
    color: gray;
}



.table-publisher th {
    background-color:#fafafa;
}
.table-publisher td,
.table-publisher th{
    padding: .4rem .75rem;
    white-space: nowrap;
}

button[name=codeClear]{
    display:none;
}

.mt-1 {
    margin-top: 20px !important;
}

.col-form-label {
    padding-bottom: calc(.07rem + 1px);
}

footer svg,
.payments svg{
    fill:#555;
    position: relative;
    top:-5px;
}

.logged-in{
    position: relative;
}
.logged-in svg{
    position: absolute;
    top:-4px;
    left:0;
}
.logged-in p{
    padding-left:32px;
}

.label-certificate{
    border: 1px solid #ddd;
    border-radius: 3px;
    overflow: hidden;
    padding: 5px 10px 3px 5px;
}
.label-certificate img{
    margin-bottom:.3rem;
}
.certificate .active{
    background-color: #eee;
}

.certifikate-paper-zahradkar{
    background: url(../images/certificate/certificate-zahradkar.jpg) no-repeat top left;
    background-size: 120px 60px;
    padding-left: 130px;
    min-height: 57px;
}


/* Checkbox move left from text */

.checkbox label {
    position: relative;
    padding-left: 1.2rem;
}

.checkbox input[type=checkbox] {
    position: absolute;
    top: .1rem;
    left: 0;
}

