label {
    font-weight: 600
}

label span {
    font-weight: 300
}

#warning {
    color: red
}

#box>.math:focus {
    outline: none
}

#MathJax-Span-35 {
    font-size: 24px;
}

.lh-n {
    line-height: normal
}

.warning {
    color: #a73809
}

.minput {
    position: relative
}


.label-sm {
    font-size: 12px !important;
    white-space: nowrap
}

.load-ex {
    border-radius: 2px 4px;
    font-size: 10px;
    float: right;
    cursor: pointer
}

.pl-sm {
    padding: 0
}

.form-check-inline {
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    margin-right: .75rem
}

.form-check {
    position: relative;
    vertical-align: middle
}

.form-check-inline .form-check-input {
    outline: none;
    position: static;
    margin-top: 0;
    margin-right: .3125rem;
    margin-left: 0
}

input[type=radio] {
    box-sizing: border-box;
    padding: 0
}

/* .collapsible{width: fit-content;max-width:650px;min-width: 500px} */
.answer {
    color: #16a085;
    font-size: 18px;
    margin-top: 20px;
}

span.mord.mathrm.sizing.reset-size8.size5 {
    font-size: 16px !important;
}

details .def {
    line-height: 3
}

/* .mfrac{font-size:20px} */
.steps .text-dark {
    text-align: center
}

.MathJax_Display:not(.output .MathJax_Display) {
    text-align: left !important
}

.load-ex-box {
    position: relative;
    float: right;
}

#exLoad {
    border-radius: 4px 4px 0 0;
    border-bottom: none;
    font-size: 10px;
    cursor: pointer
}

#exLoad:focus {
    outline: none
}

.steps {
    line-height: 2.5
}

details {
    border: 1px solid #16a085 !important;
}

.mob-block {
    display: none;
}

.card-home {
    border: none !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: none !important;
}

.card-home .ul-diamond-green {
    padding: 8px 24px;
}

pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: "Courier New", monospace;
}

code {
    font-size: 14px;
    display: block;
}

@media(max-width: 800px) {
    details img {
        max-width: unset !important
    }

    details {
        border: 1px solid #16a085 !important;
        border-radius: 4px;
        padding: .5em .5em 0;
        display: block;
        margin: 10px auto;
        width: 600px;
        max-width: 100%;
        overflow: auto;
    }

    .collapsible h2 {
        width: unset;
        min-width: 800px;
    }

    .collapsible ol {
        min-width: 800px;
    }

    [data-tooltip]:hover:after,
    [data-tooltip]:hover:before {
        display: none
    }
}

@media(max-width: 576px) {
    .mob-block {
        display: block;
    }

    .tool_tip_integrate {
        display: none;
    }

    .pl-sm {
        padding: 0 15px
    }


    #MathJax-Span-35 {
        font-size: 18px;
    }
}

.big-font-size {
    font-size: 16px;
    color: black;
    background: #fff;
}

.label_for_inf_pi .MathJax_Display {
    margin-bottom: 0px;
    margin-top: 5px
}

summary details {
    border: 1px solid #16a085 !important;
}

.MathJax_Display:not(.output .MathJax_Display) {
    text-align: right !important
}

.g-recaptcha {
    width: 230px !important;
    height: 78px !important;
    margin: 0 auto !important;
}

.div_b_cap {
    padding-left: 0px;
}

.div_button_b_cap {
    padding-left: 40px
}

@media(max-width: 1200px) {
    .div_button_b_cap {
        padding-left: 50px
    }
}

@media(max-width: 1000px) {
    .flex_dir_colum {
        flex-direction: column
    }
}

@media(max-width: 780px) {
    .div_b_cap {
        width: 100% !important;
    }

    .flex_dir_colum {
        align-items: center;
    }

    .div_button_b_cap {
        text-align: center;
        padding-left: 0px
    }
}

.result-sec h3 {
    font-weight: 600;
    text-align: left;
    font-size: 18px;
    color: #16a085;
    padding-left: 20px;
}

.brb {
    font-size: 15px;
    color: #7c7575 !important;
    font-weight: 600;
}

#demo-output {
    line-height: 4;
    font-size: 18px;
    text-align: left;
    padding-left: 20px;
}

span.mord {
    font-size: 19px;
}

.ans_caption {
    caption-side: bottom;
    font-size: large !important;
    cursor: pointer;
    text-decoration: underline
}

.text-gray {
    color: gray;
    font-size: 18px;
}

.text-orange {
    color: #16a085
}

#MathInput .mq-root-block {
    max-width: 100%;
    /* Ensure it respects the container width */
    min-height: 60px;
    /* Ensure enough vertical space */
    font-size: 18px;
}

/* Apply wrapping only to text-mode content */
#MathInput .mq-text-mode {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word;
    line-height: 1.5;
    /* Improve readability with line spacing */
}

/* Ensure math-mode content does not wrap */
#MathInput .mq-math-mode {
    white-space: nowrap !important;
    /* Prevent wrapping of math expressions */
}

#MathInput {
    min-height: 100px;
    /* Ensure enough space for multiple lines */
    padding: 10px 10px 0px;
    /* Add padding for better appearance */
    border: 1px solid #7F7F7F;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-sizing: border-box;
    /* Include padding in width/height calculations */
    overflow: auto;
    /* Add scroll if content exceeds height */
}

.math-input-box {
    height: 140px;
    display: block;
    width: 100%;
    border: 1px solid #7F7F7F;
    padding: 5px 5px 40px;
    min-height: 100px;
    border-radius: 12px;
    border-top-right-radius: 0px;
}

/* Default Math Input style */
#MathInput {
    border: 1px solid #7F7F7F;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus effect (when clicked or typing) */
#MathInput:focus,
#MathInput:focus-within {
    border: 1px solid #000 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
    outline: none !important;
}

/* When not focused — restore default look */
#MathInput:not(:focus):not(:focus-within) {
    border: 1px solid #7F7F7F !important;
    box-shadow: none !important;
}

#MathInput .math-card-image {
    cursor: pointer;
    border: 1px solid #d1c5c5;
    border-radius: 10px;
    max-width: 150px;
    height: 62px;
    max-height: 70px;
    object-fit: contain;
    border-radius: 8px;
    display: inline-block;
}

#MathInput::-webkit-scrollbar,
#output::-webkit-scrollbar {
    width: 0.275em;
}

#MathInput::-webkit-scrollbar-thumb,
#output::-webkit-scrollbar-thumb {
    background-color: #16a085;
    outline: 1px solid #16a085;
    border-radius: 20px;
}

#MathInput::-webkit-scrollbar-track,
#output::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgb(52 20 119 / 22%);
}

.flex-c {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    margin-top: -50.5px;
    /* background: #f7f7f7; */
    width: 99%;
    border-radius: 5px;
    padding: 10px;
    margin-left: 2.4px;
    gap: 10px;
}

.flex-c img {
    cursor: pointer;
}

.flex-c .keys {
    width: 24px;
    height: 22px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 13px;
    color: #666;
    border: 1px solid #d3cdcd;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 0px;
    margin: 0px 4px;
    cursor: pointer;
}

.form-control:focus {
    box-shadow: none !important;
    border: none !important;
}

.calculator-section .form-control {
    font-size: 16px;
}

#steps {
    text-align: left;
    padding: 0px 20px;
    line-height: 3;
    display: inline-block;
    width: 100%;
}

.katex .sizing.reset-size3.size1 .mord.mtight {
    font-size: 15px;
}

.katex .op-limits>.vlist-t {
    text-align: left;
    font-size: 22px;
}

span.mord.mtight span.mord.mtight {
    font-size: 12px;
}

.block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1px;
    font-size: 12px;
}

sup.nthroot {
    margin-top: -6px;
    margin-right: -6px;
    font-size: 8px;
}

.mathquill-embedded-latex.mathquill-rendered-math {
    display: flex;
    font-size: 14px;
    margin-left: 3px;
}

span.mbin.mtight {
    font-size: 9px;
    font-weight: 600;
}

span.mbin {
    font-size: 15px;
}

@media(max-width:780px) {
    .flex-c {
        margin-left: 1px;
    }
}

.katex .delimsizing.size1 {
    font-size: 30px;
}

.katex .sizing.reset-size6.size6,
.katex .fontsize-ensurer.reset-size6.size6 {
    line-height: 2.2;
    font-size: 1.25rem !important;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-size: 15px !important;
}


.calculator-section label {
    margin-bottom: 0px !important;
}

.random_examples {
    font-size: 12px;
    border: 1px solid #6e6e6e;
    position: inherit;
    color: #6e6e6e;
    border-radius: 2px;
    cursor: pointer;
    padding: 2px 6px;
    font-weight: 300;
    top: 1px;
}

[data-tooltip]:after {
    font-weight: 100 !important;
}

.katex .katex-html>.newline {
    /* display: block;
                 border-top: 1px solid #b6b6b65e; */
    margin-top: 8px;
}

.btn_c_p_d {
    padding: 5px 5px;
    font-size: 14px;
    background: #6d8983 !important;
    width: 38px;
    height: 33px;
    display: unset;
}

/* .op-not-allowed {
        color: red;
    } */

#error-div {
    text-align: center;
    color: red;
    border: 1px solid #cc00001c;
    padding: 2px;
    background: #cc000014;
    border-radius: 4px;
    height: 25px;
    visibility: hidden;
    font-size: 13px;
}

.mq-math-mode .mq-root-block,
.mq-root-block {
    min-height: 50px;
}

@media(max-width: 450px) {
    #fin_ans_ .katex .katex-html {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}

.random_examples {
    font-size: 12px;
    border: 1px solid #6e6e6e;
    position: inherit;
    color: #6e6e6e;
    border-radius: 2px;
    cursor: pointer;
    padding: 2px 6px;
    font-weight: 300;
}

.mq-math-mode i,
.mq-math-mode i.mq-font,
.mq-math-mode var {
    font-style: normal !important;
}

.ai-search .content {
    width: 100%;
    margin: 0px 0 0 0;
    font-size: 16px;
}

.ai-search .ai-input-box .ai-search-icon {
    bottom: 15px;
    right: 10px;
}

.ai-search .ai-input-box {
    width: 75%;
}

.mq-math-mode .mq-text-mode.mq-hasCursor {
    box-shadow: none !important;
}

.mq-math-mode .mq-binary-operator {
    padding: 0 0 !important;
}

.mq-math-mode var.mq-operator-name.mq-last {
    padding: 0 !important;
}

/* example box css */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    margin: 30px auto;
    width: 75%;
}

.title-line {
    height: 1px;
    background-color: #e0e0e0;
    flex-grow: 1;
}

.title {
    color: #7F7F7F;
    padding: 0 20px;
    font-weight: normal;
    font-size: 16px;
}

.cards-ai-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.cards {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    width: 260px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.cards-label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    color: #16A085;
    background-color: #D7ECE8;
    padding: 4px 12px;
    border-top-left-radius: 9px;
    border-bottom-right-radius: 10px;
    font-weight: 600;
}

.cards-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1.5;
    /* padding: 40px 20px 20px; */
    background-color: #f9f9f9;
}

/* Targets the first child element inside .cards-content */
/* .cards-content> :first-child {
        padding: 40px 20px 20px;
    } */

.cards-text {
    background: white;
    padding: 10px;
    border-radius: 10px;
}

/* .math-equation {
        font-size: 24px;
        text-align: center;
        background: white;
        padding: 20px;
    } */





/* .delete-btn {
    font-size: 16px;
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    transition: all 0.2s;
}

.delete-btn:hover {
    transform: scale(1.1);
    color: darkred !important;
} */

.katex .cancel-wrapper {
    margin: 0 2px;
    padding: 2px;
    border-radius: 4px;
    background-color: #f5f5f5;
}

/* Ensure proper image display */
#MathInput img {
    max-height: 80px;
    display: block;
    /* margin: 0 auto; */
}

/* Hide MathQuill cursor when showing images */
/* .mq-hasCursor .mq-cursor {
    display: none !important;
} */

/* Crop Modal Styles */
.modal {
    z-index: 1050;
    display: none;
    overflow: hidden;
}

.modal-dialog {
    max-width: 800px;
}

.img-container {
    max-height: 70vh;
    overflow: auto;
}

/* Make sure modal appears on top of everything */
.modal-backdrop {
    z-index: 1040;
}

.cropper-modal {
    background: rgba(255, 255, 255, 0.8);
}

.cropper-view-box {
    outline: 2px solid #16a085;
    outline-color: rgba(22, 160, 133, 0.5);
}

.cropper-line {
    background-color: #16a085;
}

.cropper-point {
    background-color: #16a085;
    opacity: 0.8;
    width: 8px;
    height: 8px;
}

#cropButton {
    background-color: #16a085;
    border-color: #16a085;
}



/* how to use ai math solver */

.title-how-to-use {
    display: flex;
    align-items: center;
    margin: 30px 0;
    font-size: 24px;
    font-weight: 700;
    justify-content: center;
}


.cards-ai-container-use {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.cards-ai-container-use .cards-use {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    width: 260px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    background: #F2F9F7;
    padding: 20px 0px;
}

.cards-ai-container-use .cards-use .ai-math-heading {
    font-size: 14px;
    font-weight: 600;
}


.cards-ai-container-use .cards-use .ai-math-text {
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
}





/* Custom Modal Styles */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.custom-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.2s;
}

.custom-modal-close:hover {
    color: #333;
}

.custom-modal-body {
    padding: 20px;
    overflow: auto;
    flex-grow: 1;
}

.img-container {
    max-height: 60vh;
    display: flex;
    justify-content: center;
}

.custom-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.custom-modal-btn {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.custom-modal-btn-cancel {
    background-color: #f0f0f0;
    color: #333;
}

.custom-modal-btn-cancel:hover {
    background-color: #e0e0e0;
}

.custom-modal-btn-primary {
    background-color: #16a085;
    color: white;
}

.custom-modal-btn-primary:hover {
    background-color: #138a72;
}

/* Make sure modal appears on top of other elements */
#cropModal {
    z-index: 9999;
}

.ai-search {
    background: #ffffff;
    padding: 5px 0;
    margin-bottom: 33px;
}

/* Cross button styles with hover effect */
.image-wrapper .delete-cross {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: #fff;
    padding: 2px 5px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.image-wrapper .delete-cross:hover {
    background-color: #ff0000 !important;
    color: white !important;
    border-color: #ff0000;
}

.bg-warning.calculator-section {
    background: none !important;
}

.card {
    padding: 10px 0px;
}

.top_content_box {
    padding: 0 1.5rem !important;
    margin: 0 0.5rem;
}

.math-ai-result {
    padding: 20px 40px;
    max-height: 550px;
    overflow: auto;
}

.ai-action-btn {
    position: relative;
    gap: 5px;
    justify-content: space-between;
    padding: 0px 10px 0 55px;
    top: 0px;
}

.ai-validate-msg {
    position: absolute;
    bottom: -40px;
    left: 15px;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.ai-validate-msg img {
    vertical-align: middle;
    margin-right: 8px;
}

#MathInput.ai-validate {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
}


.question-display {
    display: flex;
    padding: 10px 20px;
    border-radius: 8px;
    flex-direction: column;
    border: none;
}

.question-label {
    font-weight: 600;
    font-size: 14px;
    background-color: #fff;
    padding: 20px 20px 10px;
}

.question-label-text {
    color: #16A085;
    background: #D7ECE8;
    padding: 10px;
    border-radius: 20px;
}

.question-content {
    flex-grow: 1;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    padding: 5px 25px;
    border: none;
    min-height: 30px;
    max-width: 100%;
    display: flex;
    align-items: center;
    font-family: Arial, sans-serif;
    /* Readable font */
    line-height: 1.6;
    /* Improve line spacing */
    white-space: normal;
    /* Allow text wrapping */
    overflow-wrap: break-word;
    /* Ensure long words break */
}

/* Ensure MathQuill renders properly in the question field */
#question-content .mq-root-block {
    max-width: 100%;
    min-height: 50px;
    white-space: normal !important;
}

/* Prevent cursor and editing in the question field */
#question-content {
    pointer-events: none;
}


.btn {
    color: white;
    border: 1px solid #fff;
}

.btn:hover {
    color: #fff;
    border: 1px solid #fff;
}

.feedback-section {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    /* background-color: #f9f9f9; */
    border-top: 1px solid #eee;
    margin-top: -10px;
    font-size: 14px;
    color: #333;
    min-height: 35px;
    /* Fixed minimum height to match the success message */
    justify-content: center;
}

.feedback-section span:first-child {
    margin-right: 10px;
    font-weight: 700;
    font-size: 16px;
}

.feedback-section .star {
    margin: 0 2px;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

#rating-text {
    margin-left: 10px;
    font-size: 16px;
}

.text-center {
    text-align: center;
}

.p-2 {
    padding: 0.5rem;
}

.feedback_mark {
    color: #16A085;
}

.feedback-success {
    min-height: 30px;
    /* Same fixed height as feedback-section */
    visibility: visible;
    /* Default state is visible */
    font-size: 16px;
    ;
}

.feedback-section[style*="visibility: hidden"] {
    visibility: hidden;
    /* Apply visibility: hidden when set via JavaScript */
}

@media (max-width: 768px) {
    .cards-ai-container {
        flex-direction: column;
        align-items: center;
    }

    .cards-ai-container-use {
        flex-direction: column;
        align-items: center;
    }

    .cards,
    .cards-ai-container-use .cards-use {
        width: 100% !important;
        max-width: 400px;
    }

    .container,
    .container-fluid {
        padding-right: 7px;
        padding-left: 7px;
    }

    .card-home {
        padding: 24px 5px !important;
    }

    .question-display {
        padding: 10px 15px;
    }

    .math-ai-result {
        padding: 15px 30px;
    }

    .ai-action-btn {
        padding: 0px 10px 0 45px;
    }
}

@media (max-width: 576px) {
    .question-display {
        padding: 8px 15px;
    }

    .question-label {
        padding: 15px 15px 8px;
    }

    .question-content {
        font-size: 14px;
        /* Slightly smaller on mobile */
        padding: 5px 15px;
    }

    .math-ai-result {
        padding: 20px 20px;
    }

    .ai-action-btn {
        padding: 0px 10px 0 35px;
    }

    .cards {
        min-height: 175px;
    }

    .math-equation img {
        width: 310px;
        height: 200px;
        padding-top: 37px;
    }
}

@media (max-width: 460px) {
    #feedback-section {
        flex-direction: column;
        gap: 10px;
        min-height: 63px;
    }

    .feedback-success {
        min-height: 63px;
    }
}


/* input question show in response causing issue */

#question-content-response-0,
.question-content {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    display: block !important;
    line-height: 1.6;
}

.katex,
.katex .katex-html,
.katex .base,
.katex .mord,
.katex .mspace,
.katex .mbin,
.katex .mrel,
.katex .mop,
.katex .mopen,
.katex .mclose,
.katex .mord.mathnormal {
    display: inline !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.question-content img {
    max-width: 100%;
    height: auto;
}

/* loader css */

.scanner {
    position: relative;
    width: 72%;
    height: 2.5px;
    background: #ddd;
    overflow: hidden;
    border-radius: 2px;
    margin: 0 auto;
    top: -7px;
}

.scan-line {
    position: absolute;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, #16A085, #D7ECE8);
    animation: scan 1.5s linear infinite;
}

@keyframes scan {
    0% {
        left: -30%;
    }

    100% {
        left: 100%;
    }
}

#random_captcha,
#random_captcha2 {
    top: unset;
    height: fit-content;
}

.model-bg,
.model-box {
    display: none;
    position: fixed
}

.model-bg {
    background: rgba(0, 0, 0, .4);
    height: 100%;
    width: 100%;
    z-index: 50;
    top: 0
}

.model-box {
    background: #fff;
    height: auto;
    left: 50%;
    width: 600px;
    margin: 0 auto 0 -300px;
    min-height: 200px;
    top: 100px;
    z-index: 60;
    border-radius: 10px;
    box-shadow: 0 0 50px -5px #3a3a3a;
    padding: 0;
    overflow: hidden
}

.model-box .model-heading {
    width: 100%;
    display: block;
    color: #000;
    border-bottom: 1px solid #929292;
    background: #fff;
    text-align: left;
    padding: 10px;
    font-size: 20px
}

.model-box .model-body {
    font-size: 16px;
    width: 100%;
    display: block;
    color: #6b6b6b;
    min-height: 150px;
    padding: 10px
}

.model-box .model-footer {
    width: 100%;
    display: block;
    background: #16a085;
    color: #fff;
    margin-bottom: 0;
    padding: 15px;
    text-align: center
}

.close-model {
    position: absolute;
    right: 14px;
    top: 10px;
    cursor: pointer;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    background: #e7e7e7;
    border-radius: 3px;
    padding: 0 8px;
    border: none
}

@media only screen and (max-width: 600px) {
    .model-box {
        left: auto;
        margin: 0 20px;
        width: auto;
    }
}