html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
/*  margin-bottom: 60px;*/
}

.maxw250 {
    max-width: 250px;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.g-col-6 {
    padding: 5px;
}

.card-body {
    padding: 0;
}

.ballot {
    max-width: 36rem;
    margin: 5px auto 15px auto;
    border-radius: 5px;
    min-height: 80px;
    display: flex;
    align-items: center;
    padding: 5px;
    position: relative;
}

.ballot .btn-sm {
/*    border: solid*/
}

.ballot.voted {
    border-color: #1987546b !important;
}

.ballot.cancelled {
    border-color: #dc354563 !important;
}

.ballot.voted::after {
    content: "";
    background: url(/images/votat.png) no-repeat;
    opacity: 0.2;
    bottom: 5px;
    right: 10%;
    position: absolute;
    z-index: 1;
    height: 64px;
    width: 64px;
}

.ballot.cancelled::after {
    content: "ANULAT";
    opacity: 0.2;
    bottom: 20px;
    right: 10%;
    position: absolute;
    z-index: 1;
    height: 32px;
    width: 76px;
    color: red;
    border: red solid 3px;
    border-radius: 5px;
    transform: rotate(-30deg);
    font-weight: bold;
    font-size: 16px;
}

.ballot-option {
    max-width: 36rem;
    margin: 5px auto;
    border-radius: 5px;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.ballot-option input {
    border: 1px solid #0d6efd;
}

.ballot-option.voted {
    border-color: #1987546b !important;
}

.ballot-option.cancelled {
    border-color: #dc354563 !important;
}

.ballot-option.active {
    cursor: pointer;
}

.ballot-option.voted::after {
    content: "";
    background: url(/images/votat.png) no-repeat;
    opacity: 0.2;
    bottom: 5px;
    right: 10%;
    position: absolute;
    z-index: 1;
    height: 64px;
    width: 64px;
}

.ballot-option.cancelled::after {
    content: "ANULAT";
    opacity: 0.2;
    bottom: 20px;
    right: 10%;
    position: absolute;
    z-index: 1;
    height: 32px;
    width: 76px;
    color: red;
    border: red solid 3px;
    border-radius: 5px;
    transform: rotate(-30deg);
    font-weight: bold;
    font-size: 16px;
}

.sequence-no {
    border: 1px solid #0d6efd;
    border-radius: 20px;
    padding: 0;
}

.col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.header-info {
    max-width: 36rem;
    margin: 0 auto;
    margin-top: 5px;
    position: relative;
}

.header-error {
    max-width: 36rem;
    margin: 0 auto;
    margin-top: 5px;
    position: relative;
    border-radius: 5px;
    color: #df1717;
    background-color: antiquewhite;
}

.header-info.voted::after {
    content: "";
    background: url(/images/votat.png) no-repeat;
    opacity: 0.5;
    bottom: 0px;
    right: 15%;
    position: absolute;
    z-index: 2020;
    height: 64px;
    width: 64px;
}

.header-info.cancelled::after {
    content: "ANULAT";
    opacity: 0.5;
    bottom: -10px;
    right: 15%;
    position: absolute;
    z-index: 2020;
    height: 32px;
    width: 76px;
    color: red;
    border: red solid 3px;
    border-radius: 5px;
    transform: rotate(-30deg);
    font-weight: bold;
    font-size: 16px;
}

.bottom-info {
    max-width: 36rem;
    margin: 0 auto;
    margin-top: 5px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    align-items: center;
}

.bottom-buttons {
    max-width: 36rem;
    margin: 0 auto;
    padding-top: 5px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sticky-bottom {
    background-color: white;
    padding-top: 10px;
    margin-top: 10px;
}

.btn {
    font-weight: bold;
}

.left {
    position: absolute;
    left: 0;
}

.right {
    position: absolute;
    right: 0;
}

.info-icon {
    color: #0d6efd;
    margin-right: 5px;
}

.error-icon {
    color: #df1717;
    margin-right: 5px;
}
