/* Variables */

:root {
    /*--primary-blue-color: #044c86;*/
    --primary-blue-color: #081045;
    --primary-green-color: #198754;
    --primary-white-color: white;
    --primary-light-color: rgba(255, 255, 255, 0.7);
    --primary-grey-color: #dbdbdb;
    --primary-mid-grey-color: #f1f1f1;
    --primary-light-grey-color: #f3f3f3;
    --primary-dark-color: #212529;
    --primary-border-radius-size: 6px;
}

/* End Variables */

/* Lib */

::-moz-selection {
    color: var(--primary-white-color);
    background: var(--primary-blue-color);
}

::selection {
    color: var(--primary-white-color);
    background: var(--primary-blue-color);
}

body {
    line-height: 1.7;
    word-break: break-word;
    background-color: var(--bs-gray-300);
}

.img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

input {
    border-width: 2px !important;
}

label {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    line-height: 1.5;
}

.primary-color {
    color: var(--primary-blue-color);
}

.bg-primary-color {
    background: var(--primary-blue-color);
}

.br-radius {
    border-radius: var(--primary-border-radius-size);
}

.form-control, .form-select {
    padding: 10px 16px;
    border: 2px solid var(--primary-grey-color);
    color: var(--primary-blue-color);
    font-weight: 500;
    font-size: 16px;
    caret-color: var(--primary-green-color);
    transition: none;
}

.form-control::placeholder {
    color: var(--primary-blue-color);
    font-weight: 300;
}

.form-control:focus, .form-select:focus {
    box-shadow: none;
    border-color: var(--primary-blue-color);
    color: var(--primary-blue-color);
}

.border-red {
    border-color: red;
}

.btn-pr {
    background-color: var(--primary-blue-color);
    border-color: var(--primary-blue-color);
    color: var(--primary-white-color);
}

.btn-pr:hover,
.btn-pr:focus {
    background-color: var(--primary-blue-color);
    border-color: var(--primary-blue-color);
    color: var(--primary-white-color);
}

.messages.alert {
    list-style: none;
    margin: 16px 0;
}

.loader {
    max-width: 50px;
    width: 100%;
    height: 50px;
    margin: 0 auto;
}

.loader svg {
    width: 100%;
    height: 100%;
}

.errorlist {
    background-color: var(--bs-danger);
    border-radius: 4px;
    color: white;
    font-weight: bold;
    list-style: none;
    margin-bottom: 8px;
    padding: 2px 8px;
    font-size: 14px;
}

.form-check-input:checked {
    background-color: var(--primary-blue-color);
    border-color: var(--primary-blue-color);
}

/* End Lib */

/* Glow animation */

.glow-animation {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    padding: 12px;
    text-align: center;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-animation:hover {
    color: var(--primary-light-color);
}

.glow-animation:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-animation:active {
    color: black;
}

.glow-animation:active:after {
    background: transparent;
}

.glow-animation:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* End Glow animation */

/* Button circle animation */

.button-circle-animation-block {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-circle-animation {
    min-width: 300px;
    min-height: 60px;
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #313133;
    background: #4FD1C5;
    background: linear-gradient(90deg, rgba(129, 230, 217, 1) 0%, rgba(79, 209, 197, 1) 100%);
    border: none;
    border-radius: 1000px;
    box-shadow: 12px 12px 24px rgba(79, 209, 197, .64);
    transition: all 0.3s ease-in-out 0s;
    cursor: pointer;
    outline: none;
    position: relative;
    padding: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.button-circle-animation::before {
    content: '';
    border-radius: 1000px;
    min-width: calc(300px + 12px);
    min-height: calc(60px + 12px);
    border: 6px solid #00FFCB;
    box-shadow: 0 0 60px rgba(0, 255, 203, .64);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease-in-out 0s;
}

.button-circle-animation:hover, .button-circle-animation:focus {
    color: #313133;
    transform: translateY(-6px);
}

.button-circle-animation:hover::before, .button-circle-animation:focus::before {
    opacity: 1;
}

.button-circle-animation::after {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 6px solid #00FFCB;
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ring 1.5s infinite;
}

.button-circle-animation:hover::after, .button-circle-animation:focus::after {
    animation: none;
    display: none;
}

@keyframes ring {
    0% {
        width: 30px;
        height: 30px;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* End Button circle animation */

/* Navbar */

.navbar {
    box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
    font-size: 14px;
    font-weight: bold;
    padding: 0;
}

.navbar-divider {
    height: 56px;
}

.navbar .navbar-brand {
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    max-width: 100px;
}

.navbar .navbar-brand .img {
    object-fit: contain;
    transform: translateY(3px);
}

.navbar-nav .nav-link {
    padding-left: 16px !important;
    padding-right: 16px !important;
    border-radius: var(--primary-border-radius-size);
    white-space: nowrap;
    word-break: keep-all;
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-white-color);
    color: var(--primary-blue-color) !important;
}

/* End Navbar */

/* Home */

.entity-card {
    transition: all 0.25s ease-in-out;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.entity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    border-color: #0d6efd;
}

.entity-card h5 {
    font-weight: 600;
    color: #0d6efd; /* Bootstrap primary blue */
}

.entity-card p {
    color: #444;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.entity-link {
    text-decoration: none;
    color: inherit;
}

/* End Home */


/* Blog */

.post-img {
    height: 300px;
    object-fit: contain;
    max-width: 480px;
}

/* End Blog */


/* Footer */

.footer {
    background-color: var(--primary-blue-color);
    padding: 32px 0;
    margin-top: 128px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul a {
    color: var(--primary-white-color);
    text-decoration: none;
}

.footer ul a:hover {
    text-decoration: underline;
}

/* End Footer */


/* tax_id_application form */

.tax_id_application-form-block {
    background-color: var(--primary-mid-grey-color);
    max-width: 1100px;
    border-radius: var(--primary-border-radius-size);
    box-shadow: 0 4px 16px 0 rgb(0 0 0 / 24%);
    margin: 32px auto 150px auto;
}

/*#vehicle_form .row:nth-of-type(1) .remove-vehicle-btn {*/
/*    display: none;*/
/*}*/

#tax_id_application-form .row {
    margin-left: -4px;
    margin-right: -4px;
}

#tax_id_application-form .row > * {
    padding-left: 4px;
    padding-right: 4px;
}

#request-info {
    font-size: 14px;
    border: 2px solid var(--primary-grey-color);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
    min-height: 75px;
}

.tax_id_application-form-block .btn-group a:hover {
    background-color: var(--primary-white-color) !important;
    color: var(--primary-dark-color);
}

.form-check-input {
    transition: all 0.05s ease-in-out;
    box-shadow: none !important;
    max-width: 30px;
    width: 100%;
    height: 30px;
    margin-right: 12px;
}

/*.tax_id_application-form-block button[type="button"] {*/
/*    max-width: 170px;*/
/*    width: 100%;*/
/*}*/


/* Start Canvas */
#canvas {
    position: relative;
}

canvas#newSignature,
canvas#canvas_hidden {
    background-color: white;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--bs-gray-400);
    max-height: 200px;
}

canvas#newSignature {
    z-index: 10;
}

canvas#canvas_hidden {
    z-index: -10;
    position: absolute;
    left: 0;
}

/* End Canvas */


/* Payment Form */
.cards-block {
    display: flex;
    /*align-items: center;*/
    /*justify-content: center;*/
    margin-bottom: 16px;
    border-bottom: 1px solid var(--bs-gray-400);
    padding-bottom: 8px;
    flex-wrap: wrap;
}

.cards-block .card-img-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cards-block .card-img-item {
    max-width: 80px;
    padding: 0 8px;
    width: 100%;
}

.cards-block .card-img-item:first-child {
    padding-left: 0;
}

.cards-block .card-img-item:not(:last-child) {
    border-right: 2px solid grey;
}

.cards-block .card-img-item .img {
    height: 22px;
    object-fit: contain;
}

.authorize-net-logo {
    max-width: 150px;
}

/* End Payment Form */

/* End tax_id_application form */

/* Thank you */

.thanks-block i {
    font-size: 100px;
    color: #009257;
    margin: 30px auto;
    text-align: center;
    display: block;
}

/* End Thank you */


/* START Pagination */

.page-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

.page-pagination li {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    margin: 5px 10px;
}

.page-pagination li a {
    color: var(--primary-blue-color);
    background-color: var(--primary-light-color);
    padding: 10px;
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
}

.page-pagination li a i {
    line-height: 24px;
}

.page-pagination li a:hover {
    color: var(--primary-white-color) !important;
    background-color: var(--primary-blue-color);
}

.page-pagination li.active a {
    color: var(--primary-white-color) !important;
    background-color: var(--primary-blue-color);
}

.page-pagination li:first-child a {
    color: var(--primary-blue-color);
    width: auto;
    padding: 10px 20px;
}

.page-pagination li:first-child a i {
    margin-right: 10px;
    float: left;
}

.page-pagination li.active a:hover {
    color: var(--primary-white-color);
    background-color: var(--primary-blue-color);
}

.page-pagination li:last-child a {
    width: auto;
    padding: 10px 20px;
    flex-direction: row-reverse;
}

.page-pagination li:last-child a i {
    margin-left: 10px;
    float: right;
}

/* End Pagination */


@media only screen and (max-width: 992px) {
    .container {
        max-width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    .w-sm-20 {
        width: 20% !important;
    }
}
