
@media (min-width: 401px) and (max-width: 650px) {
	#quick-reply {
	    position: fixed !important;
	    top: 43px !important;
	    left: 0 !important;
	    width: 100% !important;
	    height: 250px !important;
	    background: #222 !important;
	    border-top: 3px solid #555 !important;
	    z-index: 9999 !important;
	}
	#quick-reply th:has(span.handle) {
		position:fixed;
		top:297px;;
		background-color:#525252!important;
		width:100%!important;
	}
    /* Close button */
    #quick-reply .close-btn {
		background-color:red!important;
        position: absolute !important;
		display:inline!important;
        top: 0 !important;
		left: 0px !important;
		width:30px;
		z-index:999999!important;
    }



    /* Inner scrollable content area */
    #quick-reply > table {
        display: block !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Hide scrollbar completely */
    #quick-reply > table::-webkit-scrollbar {
        display: none !important;
    }
    #quick-reply > table {
        -ms-overflow-style: none !important;      /* IE/Edge */
        scrollbar-width: none !important;         /* Firefox */
    }

    /* Full width safety */
    #quick-reply table,
    #quick-reply tbody,
    #quick-reply tr,
    #quick-reply td {
        width: 100% !important;
    }
	
    #quick-reply tr:has(input[name="name"]) {
		width:49%!important;
		display:flex!important;
		float:left!important;
	}
    #quick-reply tr:has(input[name="email"]) {
		width:50%!important;
		display:flex!important;
		float:right!important;
	}
    #quick-reply tr:has(input[name="embed"]) {
		width:51%!important;
		display:flex!important;
		float:right!important;
		height:25px!important;
	}
    #quick-reply input[name="embed"] {
			padding-top:0px!important;
	}
    #quick-reply tr:has(input[name="password"]) {
		display:none!important;
	}
    #quick-reply tr:has(input[name="file"]) {
		width:51%!important;
		display:flex!important;
		float:right!important;
	}
    #quick-reply tr:has(input[name="file"]) .add_image{
		display:none!important;
	}
    #quick-reply input[name="file"] {
		height:26px!important;
		padding-top:0px!important;
	}
    #quick-reply tr:has(input[name="subject"]) {
		width:100%!important;
	}
    #quick-reply input[name="subject"] {
		width:100%!important;
	}
    #quick-reply tr:has(textarea[name="body"]) {
		width:100%!important;
		display:flex!important;
	}
    #quick-reply textarea[name="body"] {
		resize: none!important;
	}
    #quick-reply textarea[name="body"]:focus {
		outline:none!important;
		box-shadow:none!important;
	}
    #quick-reply input[name="name"]:focus {
		outline:none!important;
		box-shadow:none!important;
	}
	#quick-reply input[name="email"]:focus {
		outline:none!important;
		box-shadow:none!important;
	}
	#quick-reply input[name="subject"]:focus {
		outline:none!important;
		box-shadow:none!important;
	}
	#quick-reply input[name="embed"]:focus {
		outline:none!important;
		box-shadow:none!important;
	}
    /* Captcha */
    #quick-reply .captcheck_container {
		position:fixed;
		top:245px;
		left:29px;
		z-index:100!important;
		max-width:50%!important;
    }
    #quick-reply .captcheck_container .captcheck_box {
		border-top-left-radius:1px!important;
		border-bottom-left-radius:1px!important;
		border-top-right-radius:1px!important;
		border-bottom-right-radius:1px!important;
		height:20px!important;
		background-color:#ff000000!important;
		border-left-style:none!important;
		border-right-style:none!important;
		border-top-style:none!important;
		border-bottom-style:none!important;
		border-left-color:#ff000000!important;
		border-right-color:#ff000000!important;
		border-top-color:#ff000000!important;
		border-bottom-color:#ff000000!important;
    }

    #quick-reply .captcheck_answer_images img {
        width: 30px !important;
        height: 30px !important;
    }
    #quick-reply .captcheck_container .captcheck_box .captcheck_label_message {
		font-size:10px!important;
		height:10px!important;
		margin-top:-3px!important;
		margin-bottom:3px!important;
    }
    #quick-reply .captcheck_container .captcheck_box .captcheck_label_message .captcheck_question_image {
		font-size:10px!important;
    }


	
	#quick-reply .submit {
	    display: none!important;
	}
	#quick-reply .submit input {
		border-top-left-radius:1px!important;
		border-bottom-left-radius:1px!important;
		border-top-right-radius:1px!important;
		border-bottom-right-radius:1px!important;
	}
	
    #quick-reply:has(.captcheck_box) .submit {
		display:block!important;
        position: fixed !important;
        top: 298px !important;
        left: 50px !important;
        padding: 0 !important;
		max-width:100px!important;
    }
    #quick-reply .captcheck_container .captcheck_box .captcheck_alt_question_button {
		display:none;
    }
}
