/* --------------- Topfaida Pro Normalize style----------------  */


/* Reset and Box Sizing
--------------------------------------------- */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Typography
--------------------------------------------- */

html {
    font-family: var(--tf-theme-font);
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100% !important;
    height: auto !important;
    margin: 0px !important;
    padding: 0px !important;
    font-family: var(--tf-theme-font);
    background-color: rgb(241, 242, 242);
}

address,
dd,
dl,
dt,
iframe,
legend {
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

figcaption {
    text-align: center;
    font-size: 15px;
    color: #9d9d9d;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

ul,
ol {
    padding-left: 20px;
}


/* Misc
--------------------------------------------- */

template,
[hidden] {
    display: none;
}


/* Links
--------------------------------------------- */

a {
    background-color: transparent;
    color: #2d3d78c7;
    font-family: var(--tf-theme-font);
    text-decoration: none;
    font-weight: 700;
}

a:visited {
    color: #800080;
}

a:hover,
a:focus,
a:active {
    color: #191970;
}


/* Heading and Text
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
    font-family: var(--tf-theme-font);
    margin-bottom: 10px;
}

h1 {
    font-size: 40px;
    line-height: 1.3;
}

h2 {
    font-size: 32px;
    line-height: 1.3;
}

h3 {
    font-size: 28px;
    line-height: 1.3;
}

h4 {
    font-size: 24px;
    line-height: 1.3;
}

h5 {
    font-size: 20px;
    line-height: 1.3;
}


/* Add this block for responsive image styles */

img {
    max-width: 100%;
    height: auto;
}


/* Forms */

form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="tel"],
input[type="search"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea,
select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
    font-family: var(--tf-theme-font);
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: var(--tf-theme-bg-1);
}

textarea {
    resize: vertical;
}

input[type="file"] {
    padding: 20px 15px;
    box-shadow: var(--tfpro-shadow-dark);
    margin: 5px;
    border-radius: 6px;
    border: 2px dashed #d1d1d1;
}

input[type="file"]:hover {
    border: 2px dashed #9b9b9b !important;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
}


/* Buttons */

button,
input[type='submit'],
button[type="submit"],
.button,
.post-edit-link {
    background: var(--tf-theme-bg-clr);
    color: var(--tf-theme-txt-clr);
    border: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: var(--tf-theme-font);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

button:hover,
input[type='submit']:hover,
button[type="submit"]:hover,
.button:hover,
.post-edit-link:hover {
    box-shadow: var(--tfpro-shadow-dark);
    color: var(--tf-theme-txt-clr);
}


/* Responsive Embeds
--------------------------------------------- */

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-4by3::before {
    padding-top: 75%;
}


/* Print
--------------------------------------------- */

@media print {
    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }
    a,
    a:not(.btn) {
        text-decoration: underline;
    }
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #adb5bd;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
    @page {
        size: a3;
    }
    body {
        min-width: 992px !important;
    }
    .container {
        min-width: 992px !important;
    }
    .navbar {
        display: none;
    }
    .badge {
        border: 1px solid #000;
    }
    .table {
        border-collapse: collapse !important;
    }
    .table td,
    .table th {
        background-color: #fff !important;
    }
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #dee2e6 !important;
    }
    .table-dark {
        color: inherit;
    }
    .table-dark th,
    .table-dark td,
    .table-dark thead th,
    .table-striped tbody tr:nth-of-type(odd) {
        background-color: #b9bbbe !important;
    }
    .table .thead-dark th {
        color: inherit;
        background-color: #343a40 !important;
    }
}


/* Table
--------------------------------------------- */

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media (max-width: 767px) {
    th,
    td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    th {
        display: none;
    }
    tr {
        position: relative;
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }
    td::before {
        content: attr(data-header);
        display: block;
        font-weight: bold;
        margin-bottom: 8px;
        float: left;
        margin: 0 20px 0 0;
    }
}