/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
#cboxWrapper {
    max-width: none;
    height: auto !important;
    width: max-content !important;
}

#cboxContent {
    padding: 10px 25px 0px 20px !important
}

#cboxContent, #cboxLoadedContent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px !important;
    height: auto !important;
    padding-bottom: 13px;
    box-sizing: border-box !important;
    border-radius: 20px;
}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

p.error_form {margin: 5px 0 0 0 ;}

/* 
    User Style:
    Change the following styles to modify the appearance of Colorbox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {backdrop-filter: blur(10px);}
#colorbox {
    outline: 0;
    justify-content: center;
    width: 530px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

#colorbox label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

#colorbox label.custom-control-label {
    color: #000 !important
}

#colorbox input:not(input[type="button"]) {
    background: #E9E9E9;
    border: none;
    font-weight: 400;
    font-size: 16px;
    width: 100%;
    height: 39px;
}

#colorbox input[type="button"] {
    width: 150px;
    text-align: center;
    height: 40px;
    padding: 0px 0px !important;
}

#colorbox input.input_b.btn {
    background: #2E6C1C;
    text-align: center;
    margin: 0 auto;
}

#colorbox input.input_b.btn:disabled {
    background-color: #CCC;
}

form.find_price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.col-12.error_form {
    font-size: 14px;
    position: absolute;
    top: 125px;
    left: 50%;
    transform: translateX(-50%);
    color: red;
    width: 100%;
    text-align: center;
}


div#pop_up_auth_new {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0; display: none;}
    #cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px; display: none;}
    #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0; display: none;}
    #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 -25px; display: none;}
    #cboxBottomCenter{height:25px; background:url(images/border1.png) repeat-x 0 -75px; display: none;}
    #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px -25px; display: none;}
    #cboxMiddleLeft{width:25px; background:url(images/border2.png) repeat-y 0 0; display: none;}
    #cboxMiddleRight{width:25px; background:url(images/border2.png) repeat-y -25px 0; display: none;}
    #cboxContent{background:#fff; overflow:hidden;}
    body.dark #cboxContent {background: #2E2E2E;}
    body.dark #cboxContent .form-control, body.dark #cboxContent form.ajax-form .custom-select {background: #191919; color: #fff;}
    #cboxContent .row {
        display: grid;
        grid-template-columns: 100%;
        width: 100%;
    }
        /*#cboxContent .col-sm-4 {display: none;}*/
        .cboxIframe{background:#fff;}
        #cboxError{padding:50px; border:1px solid #ccc;}
        #cboxLoadedContent {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #cboxLoadedContent h2, .h2 {text-align: center; font-size: 20px; line-height: 15px;}

        #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;}
        #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;}
        #cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; }
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;}
        #cboxPrevious{
            position: absolute;
            display: block;
            font-size: 18px;
            color: #999;
            cursor: pointer;
            bottom: 0px;
            right: 33px;
            background: #fff;
            outline: none;
            padding: 4px;
            padding-top: 6px;
        }
        #cboxNext{
            position: absolute;
            display: block;
            font-size: 18px;
            color: #999;
            cursor: pointer;
            bottom: 0px;
            right: 0px;
            background: #fff;
            outline: none;
            padding: 4px;
            padding-top: 6px;
        }
        #cboxClose {
            position: absolute;
            display: block;
            font-size: 22px;
            color: #999;
            cursor: pointer;
            top: 10px;
            right: 6px;
            background: #fff;
            outline: none;
        }
        body.dark #cboxClose,body.dark .icon-cancel-1:before {background: #2E2E2E;}

        body.dark #cboxContent h2, 
        body.dark #pop_up_feedback .col-sm-4 label,
        body.dark label.custom-control-label,
        body.dark .old_auth,
        body.dark label.reg-field
        {color: #fff}

/*
  The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
  when an alpha filter (opacity change) is set on the element or ancestor element.  This style is not applied to or needed in IE9.
  See: http://jacklmoore.com/notes/ie-transparency-problems/
*/
.cboxIE #cboxTopLeft,
.cboxIE #cboxTopCenter,
.cboxIE #cboxTopRight,
.cboxIE #cboxBottomLeft,
.cboxIE #cboxBottomCenter,
.cboxIE #cboxBottomRight,
.cboxIE #cboxMiddleLeft,
.cboxIE #cboxMiddleRight {
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
}

.old_auth {cursor: pointer; transition: 0.3s}
.old_auth:hover {text-decoration: underline; color: #2E6C1C;}

div#cboxWrapper {
    box-shadow: 0 0 10px #ccc;
    border-radius: 12px;
    top: 23px;
    left: 10px;
}

#cboxContent, #cboxLoadedContent, div#colorbox {border-radius: 12px;}
form.ajax-form {
    display: flex;
    flex-direction: column;
    gap: 0.65em;
}

form.ajax-form .custom-select {
    border: none;
    background: #E9E9E9;
    height: 45px;
    font-weight: 400;
    font-size: 16px;
    padding: 5px 10px;
    border-radius: 8px;
    width: 100%;
}

form.ajax-form textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0 10px;
    background: #E9E9E9;
    border: none;
    font-size: 16px;
    padding: 5px 15px !important;
    border-radius: 8px !important;
}


label.custom-control-label:before {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    border-radius: 2px;
    background-color: #fff;
    border: solid 1px #a7a7a7;
    left: 0;
    top: 0px;
}
.custom-control.custom-checkbox.form-check input:checked + label.custom-control-label::after {
    position: absolute;
    content: '';
    top: 7px;
    left: 1px;
    border-left: 3px solid #2E6C1C;
    border-bottom: 3px solid #2E6C1C;
    width: 10px;
    height: 5px;
    margin-left: 6px;
    margin-bottom: 4px;
    transform: rotate(-45deg);
}

@media screen and (max-width: 767px) {
    #cboxContent, #cboxLoadedContent, div#colorbox {width: 400px !important}
    div#colorbox {
        left: 50% !important; 
        transform: translateX(-50%); 
        overflow: scroll !important; 
        height: 100% !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    div#colorbox::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
}

@media screen and (max-width: 480px) {
    #cboxContent, #cboxLoadedContent, div#colorbox {width: 350px !important}
    div#colorbox {left: 50% !important; transform: translateX(-50%);}
}