*,
*::before,
*::after {
    box-sizing: border-box;
}
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #F8FBFB;
    color: #101010; 
    font-size: 16px;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { 
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.2;
    color: #151d39; 
}
p {
    line-height: 1.5;
    margin: 0;
}
p+p {
    margin-top: 10px;
}
ul {
    /*list-style: none;*/
    line-height: 1.5;
    padding: 0 0 0 20px;
    margin: 0 0 10px;
}
ul li {
    margin: 5px 0;
}
a {
    text-decoration: none;
    color: #151d39; 
}
hr {
    margin: 15px 0;
    border: 0;
    height: 1px;
    background-color: #7fc6d6;
}
/** header **/
.header {
    padding: 10px 0;
    background-color: #F8FBFB;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #151d39;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo {
    max-width: 140px;
    display: block;
}
.header-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.header-menu li {
    margin-left: 24px;
}
.header-menu li a {
    font-weight: 600;
    font-size: 14px;
}
@media screen and (min-width: 992px) {
    .menu-toggle {
        display: none;
    }
    #SideBar {
        margin-left: auto;
    }
}
@media screen and (max-width: 991px) {
    .menu-toggle {
        padding: 0;
        line-height: 1;
        border: none;
        cursor: pointer;
        background: none;
    }
    .bar-rows {
        width: 30px;
        height: 3px;
        background-color: #151d39;
        display: block;
        border-radius: 10px;
    }
    .bar-rows+.bar-rows {
        margin-top: 5px;
    }
    .bar-rows:nth-of-type(2) {
        width: 25px;
    }
    #SideBar {
        background-color: #000000;
        padding: 15px 15px 30px;
        width: 18em;
        height: 100%;
        text-align: left;
        position: fixed;
        top: 0;
        left: -18em;
        transform: translate3d(0px, 0px, 0px);
        transition: .3s;
        z-index: 1000;
        transition: left 0.3s ease-in-out 0s;
        -webkit-transition: left 0.3s ease-in-out 0s;
        -moz-transition: left 0.3s ease-in-out 0s;
        -o-transition: left 0.3s ease-in-out 0s;
    }
    #SideBar.active {
        visibility: visible;
        transform: translate3d(0px, 0px, 0px);
        left: 0;
    }
    .bgBlack {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.85);
        z-index: 999;
        display: none;
        cursor: pointer;
    }
    .bgBlack.active {
        display: block;
    }
    /*** Close Menu **/
    .close-menu {
        position: absolute;
        right: 5px;
        top: 10px;
        cursor: pointer;
        padding: 5px;
        display: inline-block;
    }
    .close-menu:before,
    .close-menu:after {
        content: '';
        display: block;
        height: 2px;
        background: white;
        position: relative;
        transition: transform .2s ease;
        width: 25px;
    }
    .close-menu:before {
        top: 4px;
        transform: rotate(135deg);
    }
    .close-menu:after {
        top: 2px;
        transform: rotate(45deg);
    }
    .header-menu {
        margin: 20px 0 0;
    }
    .header-menu li {
        flex: 0 0 auto;
        width: 100%;
        margin: 5px 0;
    }
    .header-menu li a {
        color: #fff;
    }
}
.hero { 
    background-color: #151d39; 
    padding-top: 20px; 
    padding-bottom: 20px;
    color: white; 
}
.hero h1 {
    font-size: 24px;
    color: #F7D720;
    margin-bottom: 5px;
}
.hero h2, .hero h3 { 
    color: #fff; 
}
.container,
.container-small { 
    margin-left: auto; 
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px; 
}
.container { 
    max-width: 768px; 
}
.container-small { 
    max-width: 480px; 
}
.tools { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    margin-top: 20px;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.tools li { 
    flex: 0 0 auto;
    width: calc(50% - 5px);
    margin: 0;
}
.tools li a { 
    text-decoration: none; 
    color: #151d39; 
    font-weight: bold; 
    line-height: 1.25;
    background: white; 
    border: 1px solid #ccc; 
    padding: 15px; 
    border-radius: 5px; 
    text-align: center; 
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
}
@media(max-width: 767px){
    .tools li { 
        width: calc(50% - 5px);
    }
}
.content {
    margin-top: 30px;
    margin-bottom: 30px;
}
.check-list li {
    position: relative;
    list-style: none;
}
.check-list li::before {
    content: '\2713';
    position: absolute;
    left: -20px;
    color: green;
    font-size: 16px;
    font-weight: bold;
    top: -2px;
}
.label {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 5px;
    display: inline-block;
    color: #151d39;
}
.label small {
    font-size: 12px;
}
input,
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
}
.input, .textarea, .submit, .reset {
    font-family: Verdana, Geneva, Tahoma, sans-serif; 
    border-radius: 5px;
    box-shadow: none;
    display: block;
    box-sizing: border-box;
    outline: none;
    padding: 10px;
}
.input, .textarea {
    width: 100%;
    font-size: 16px;
    border: 1px solid #7fc6d6;
    resize: none;
    outline: none;
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}
.submit, .reset {
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}
.submit {
    background-color: #151d39;
    color: #F7D720;
}
.submit:hover { 
    opacity: 0.8; 
}
.buton-group {
    position: relative;
    margin: 15px auto;
}
.submit-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.form-box .reset,
.form-box .submit {
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
}
.form-box .reset {
    background-color: transparent;
    color: #151d39; 
    border: 2px solid #151d39;
}
#result {
    display: none;
}
.result {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.result-text {
    font-size: 18px;
    font-weight: 600;
    color: #151d39;
}
.result-copybtn {
    position: relative;
    border: none;
    box-shadow: none;
    background: none;
    margin-left: 15px;
    padding: 0;
    top: 2px;
    cursor: pointer;
}
.result-copybtn::before {
    position: absolute;
    left: -4px;
    top: -4px;
    content: '';
    width: 12px;
    height: 14px;
    border-width: 2px 0 0 2px;
    border-color: #151d39;
    border-style: solid;
    display: block;
    border-radius: 2px;
    line-height: 1;
}
.result-copybtn::after {
    content: '';
    width: 12px;
    height: 16px;
    border: 2px solid #151d39;
    display: block;
    border-radius: 2px;
    position: relative;
}
.form-field {
    position: relative;
}
.base-field {
    margin-top: 1rem;
}
.round-field {
    margin-top: 10px;
}
.base-field,
.round-field {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.25;
    color: #151d39;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: end;
}
.base-span,
.round-span {
    display: inline-block;
}
.base-input,
.round-input {
    font-weight: 600;
    border: 1px solid transparent;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
    padding: 2.5px;
    outline: none;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    border: 1px solid #7fc6d6;
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    width: 50px;
    height: 30px;
    text-align: center;
    margin-left: 10px;
}
.result-copybtn-model {
    display: none;
    border: 1px solid #7fc6d6;
    font-size: 12px;
    color: #252525;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    font-weight: 600;
    position: absolute;
    left: 50%;
    top: 100%;
}
strong {
    font-weight: 600;
}

.faq { 
    margin-top: 20px; 
}
.faq p { 
    margin-bottom: 20px; 
}

.base-content h1,.base-content h2,.base-content h3,.base-content h4 {
    margin-top: 30px;
}

/** contact **/
.contact-form {
    margin-top: 20px;
}
.contact-form form {
    max-width: 600px;
}
.contact-form form .submit {
    margin-top: 20px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    min-width: 100px;
}
.contact-form .input,
.contact-form .textarea {
    margin-bottom: 10px;
}
.success-message {
  color: green;
  font-size: 16px;
  margin-top: 15px;
}
.error-message {
  color: red;
  font-size: 16px;
  margin-top: 15px;
}
#form-message {
  margin-top: 20px;
}

/** percentage calculator **/
.form-box {
    position: relative;
    margin-bottom: 15px;
    /*border: 1px solid #7fc6d6;*/
    border: 1px solid #7fc6d6;
    padding: 15px;
    border-radius: 5px;
    /*background-color: #cde4f0;*/
    background-color: #E9F0F7;
}
.form-box h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.form-row {
    display: flex;
    gap: 0 10px;
    align-items: end;
}
.percent-result {
    position: relative;
}
.result_percent {
    position: absolute;
    right: 10px;
    top: 13px;
    z-index: 10;
}
.percent-result .input {
    padding-right: 30px;
    background-color: #E9F0F7;
}
.round-input::placeholder,
.input::placeholder {
    font-size: 14px;
    color: #3a3a3a;
}

.field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    align-items: end;
}
.field-col {
    flex: 1;
    width: 33.33%;
}
@media(max-width: 991px){ 
    .form-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .form-col,
    .form-button-col {
        flex: 0 0 auto;
        width: 100%;
    }
}
@media(max-width: 767px){
    .field-row {
        gap: 10px;
    }
    .field-col {
        flex: 0 0 auto;
        width: 100%;
    }
}

/** unit css **/
.tools.cssunit-tools {
    gap: 10px;
    list-style: none;
    padding: 0;
}
.tools.cssunit-tools li {
    margin: 0;
}
.tools li.active a,
.tools a:hover {
    background-color: #E9F0F7;
    border: 1px solid #7fc6d6;
}

/** converter **/
.label.space-top {
  margin-top: 12px;
}
.unit-swap {
    display: block;
    width: 30px;
    height: 20px;
    font-size: 24px;
    text-align: center;
    line-height: 20px;
    color: #151d39;
    position: relative;
    margin-left: auto;
    top: 12px;
}
.cssunit-form {
    margin-top: 30px;
    margin-bottom: 30px;
}
.cssunit-form .form-box {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    border: none;
    background: none;
    padding: 0;
}
.cssunit-form .label {
    font-size: 18px;
}
@media(max-width: 767px){ 
    .cssunit-form .label {
        font-size: 16px;
    }
}
.cssunit-form .input {
    height: 45px;
    font-size: 18px;
    border-color: #7fc6d6;
}
.cssunit-form .input::placeholder {
    font-size: 18px;
    color: #757575;
}
.cssunit-form .submit {
    font-size: 16px;
    height: 45px;
    width: 130px;
    margin: 15px auto;
}
.cssunit-form .base-field,
.cssunit-form .round-field {
    justify-content: center;
}
.cssunit-form .base-input {
    margin-right: 10px;
}
.conversion-table {
    width: 100%;
    overflow-x: auto; 
    margin-bottom: 30px;
}
.conversion-table table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.conversion-table th, .conversion-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #7fc6d6;
}
.conversion-table th {
    background-color: #151d39;
    color: #F7D720;
    font-size: 16px;
    width: 50%;
}
.conversion-table td {
    background-color: #f9f9f9;
    font-size: 14px;
}
.conversion-table tr:nth-child(even) td {
    background-color: #ecf0f1;
}
.conversion-table tr:hover td {
    background-color: #E9F0F7;
}

/** footer **/
footer { 
    margin-top: 30px; 
    text-align: center; 
    font-size: 14px; 
    padding: 30px 20px; 
    color: #fff;
    background-color: #151d39;
}
footer a { 
    color: #fff; 
    text-decoration: none; 
}
footer p {
    margin-top: 5px;
}
.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 768px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
}
.footer-column {
    flex: auto;
}
.footer-column h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #ffffff;
    text-align: left;
}
.footer-column ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}
.footer-column ul li {
    margin: 5px 0 0;
    text-align: left;
}
.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}
.footer-column ul li a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 14px;
}

.faq-item {
    margin-top: 15px;
}
.faq-item h4 {
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}