
@media (min-width: 1401px){
	.modal-body{
		min-height: 400px;
	}
	.modal-body > div{
		display: block;
	}
	div#guestbook .modal-body {
		min-height: 350px;
	}
}
@media (max-width: 1400px){
	.modal-header p {
		font-size: 23px;
	}
	.modal-dialog {
		overflow-y: initial !important;
		margin: auto;
	}
	.modal-body{
		overflow-y: auto;
	}
	#changePass .modal-dialog {
		width: 40% !important;
		top: 20px;
	}
	div#myModal{
		top: 10px;
	}
}

@media (max-width: 1200px){
	#changePass .modal-dialog {
		width: 60% !important;
	}
}
@media (min-width: 1025px){
	div#page-wrap article#post-28 .booklet {
		transform: scale(.8);
	}
}
@media (max-width: 1024px) {
	div#page-wrap header nav#header-nav ul#menu-primary-1 li.menu-item {
	        padding: 15px 0px;
	    width: 19%;
	    font-size: 15px;
	}
	

	div#page-wrap header #sticky-menu .menu .menu-item {
	    padding: 5px 5px;
	    width: 17%;
	    font-size: 13px;
	}

	.train_form li#field_3_6 {
	    transform: scale(.87);
	    transform-origin: 0 0;
	}
	div#page-wrap article#post-28 .booklet {
	    transform: scale(0.8);
	    transform-origin: 25%;
	}
	.modal-dialog {
		width: 75%;
	}
	div#page-wrap article#post-28 .booklet {
	    transform: scale(.9);
	    transform-origin: initial;
	}

}
@media (max-width: 992px){
	#guestbook .modal-body {
	    padding: 0 15px !important;
	}
	#guestbook .guestform {
	    width: 100%;
	}
	.guestbooks{
		width: 600px;
	}

}

@media (max-width: 960px) {
	div#page-wrap article#post-28 .booklet {
	    transform: scale(0.6);
	    transform-origin: 10%;
	}
	.modal-header img {
		width: 50%;
		margin: auto;
	}
	.modal-header a {
		width: 100%;
	}
	.modal-header div > p {
		text-align: center;
	}
	div#customer_login > div {
		width: 50%;
	}
	.guestbooks{
		margin:15px auto;
	}
	.postguest{
		max-height: 3500px;
	}
	#changePass .modal-dialog {
		width: 70% !important;
	}
	.modal-dialog {
		width: 70%;
	}
	div#page-wrap article#post-28 .booklet {
	    transform: scale(.8);
	    transform-origin: initial;
	}
}




@media (max-width: 768px) {
	main#main article#post-18 .entry .ownr_pic a.foobox img {
	    width: 550px;
	    height: auto;
	    margin-bottom: 20px;
	}
	.modal-dialog {
		width: 90%;
	}
	p.abt_img_caption {
		font-size: 20px;
    	margin-bottom: 25px;
	}
}

@media (max-width: 736px) {
	.post-type-archive-testimonial .contxt a {
	    width: 100%;
	}
	.post-type-archive-testimonial .contxt a img {
	    margin: 0 auto;
	}
	article#post-15 img {
	    width: 200px;
	}
	article#post-15 p.news_source,
	article#post-15 p.news_title {
	    font-size: 15px;
	}

	article#post-30 .entry {
	    margin-bottom: 20px;
	}

	article#post-30 .c_map {
	    box-shadow: 0px 0px 10px;
	    padding: 5px;
	}
	article#post-22 .train_info,
	article#post-22 .train_form {
	    margin-bottom: 15px;
	}
	#changePass .modal-dialog {
		width: 95% !important;
		top: 50px;
	}
	div#changePass .modal-body > div{
		display: flex !important;
	}
	input#gform_submit_button_7{
		padding: 10px;
	}
	.guestbooks{
		width: 100%;
	}
	.postguest {
	    width: 100%;
	    margin: 0 auto;
	    padding: 0 15px;
	}
}


@media (max-width: 667px) {
	div#page-wrap article#post-28 .booklet {
	    transform: scale(0.8);
	}
	div#page-wrap article#post-28 .booklet .b-arrow {
	    top: 23%;
	}
	form#wpmtst-submission-form {
		column-count: initial;
	}
	.guestform{
		width: 100%;
	}
	.strong-form-inner {
		padding: 0;
	}

}

@media (max-width: 600px) {
	article#post-30 div#gform_wrapper_2 {
	    transform: scale(.95);
	    transform-origin: 0 0;
	}
	div#myModal {
		top: 50px;
	}
	.modal-body {
		height: 430px !important;
	}
	div#changePass .modal-body {
		height: 485px !important;
	}
	

}

@media (max-width: 568px) {
	.tea_box.fr, .tea_box.sc {
	    width: 50%;
	    margin-bottom: 15px;
	}

	.tea_box.th {
	    width: 100%;
	    margin-bottom: 15px;
	}
	input#gform_submit_button_8 {
		padding: 7px;
	}

	div#page-wrap article#post-28 .booklet {
	    transform: scale(0.85);
	}

	div#page-wrap article#post-28 .booklet .b-arrow {
	    top: 65%;
	}
	div#page-wrap article#post-28 .booklet .b-arrow-next {
		right: -85px;
	    z-index: 99999;
	}

	.page-id-30 .owl-carousel .owl-dots .owl-dot span {
	    margin: 5px!important;
	}
	.page-id-968 .inner-page .container{
		margin-right: 15px;
    	margin-left: 15px;
	}
	.postguest{
		display: block;
		max-height: initial;
	}
	.guestbooks{
		margin: 10px 0 !important;
		width: 100%;
	}
	input#gform_submit_button_8{
		width: 50%;
	}
}


@media (max-width: 480px) {	
	div#customer_login > div:last-child {
		top: 30px!important;
	}
	.sldr_b0x {
	    padding: 0;
	}

	.page-id-20 .theme-default .nivo-controlNav a {
	    width: 12px;
	    height: 15px;
	    background-position: top;
	}

	.page-id-20 .theme-default .nivo-controlNav a.active {
	    background-position: -5px -24px;
	}

	div#page-wrap article#post-28 .booklet {
	    transform: scale(0.8);
	}
	div#page-wrap article#post-28 .booklet .b-arrow {
	    top: 100%;
	}
	article#post-15 p.news_source,
	article#post-15 p.news_title {
		font-size: 12px;
	}

	ul.news_list {
	    margin: 0;
	    padding: 0px 0px 0px 30px;
	}
	.modal-header p {
		font-size: 12px;
	}
	.modal-body > div{
		display: block !important;
	}
	input.woocommerce-Button.button,
	div#customer_login > div,
	input#gform_submit_button_8,
	a.btn.change-pass  {
		width: 100% !important;
	}
	.guestbutton a,
	.form-field.wpmtst-submit label,
	input#wpmtst_submit_testimonial,
	input#backButton,
	input#viewButton,
	input#signButton {
	    position: relative;
	    display: block;
	    width: 100%;
	}
	input#signButton {
	    margin-bottom: 10px;
	}
	div#guestbook .strong-form .form-field {
	    margin-bottom: 10px;
	}
	input#wpmtst_client_location, input#wpmtst_post_title, input#wpmtst_client_address, textarea#wpmtst_post_content {
	    padding: 0px !important;
	}
	.guestbutton ul li strong {
	    font-size: 15px;
	}
	.guest .read-more {
	    width: 100%;
	    margin: 0 auto;
	    right: 0;
	}
	.guestbooks{
		height: 460px;
	}
	
}


@media (max-width: 414px) {
	p.abt_img_caption {
		font-size: 16px;
	}
	.tea_box.fr, .tea_box.sc {
	    width: 100%;
	}


	article#post-28 .gllry_box h3 {
	    margin-top: 0;
	}

	.page-id-30 .owl-carousel .owl-dots .owl-dot span {
		width: 7px;
	    height: 7px;
	    margin: 3px!important;
	}

	ul.news_list {
	    margin: 0;
	    padding: 0px 0px 0px 45px;
	}
	.home div#content-wrap section#home-mid-content .dogs {
	    position: relative;
	}

}

@media (max-width: 375px) {

	article#post-30 li#field_2_5,
	.train_form li#field_3_6 {
	    transform: scale(.8);
	    transform-origin: 0 0;
	}

}

@media (max-width: 365px) {
	.train_info img.sib_husk {
	    float: none;
	    width: 75%;
	}
	.guestbutton ul li strong {
	    font-size: 12px;
	}
	#guestbook .wpmtst-captcha{
		transform: scale(0.79);
		transform-origin: 0 0;
	}
} 

@media (max-width: 320px) {

	div#page-wrap article#post-28 .booklet .b-arrow {
	    top: 150%;
	}
	.modal-body {
		height: 290px !important;
	}
	div#changePass .modal-body {
		height: 350px !important;
	}
}

@media only screen  and (max-device-width : 812px) and (orientation : landscape){
	div#myModal {
		top: 50px;
	}
	.modal-header p {
		font-size: 12px;
	}
	.modal-header img{
		width: 30%;
	}
	.modal-body{
		height: 200px;
	}
	.modal-body > div{
		align-items: initial;
	}
	#changePass .modal-dialog {
		width: 70% !important;
		top: 20px;
	}
	div#changePass .modal-body {
		height: 285px;
	}

	.guestbook{
    margin: 0 auto!important;
}
}

/*@media only screen and (max-width:812px;) and (orientation:landscape;){
	.row.postguest{
    margin: 0 auto!important;
}
}
*/
/*** Browser Compatibility ***/

/*
* Mozilla
*/

@-moz-document url-prefix() { /*ANY FIREFOX VERSION*/
    
} 


/*
* MS Edge
*/
@supports (-ms-ime-align:auto){
    
}


/*
* Internet Explorer
*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){
    .modal-header img{
		width: 100%;
	}
	.gform_wrapper input:not([type=radio]):not([type=file]):not([type=image]):not([type=button]):not([type=submit]):not([type=checkbox]){
		padding: 8px 10px 16px !important;
	}
	input#username, input#password{
		padding: 8px 10px 16px !important;
	}
}

/* MIN HEIGHT PROPERTIES */
@media (min-height: 666px){
	.modal-body{
		min-height: 500px;
	}
}

/* LANDSCAPE PROPERTIES */
@media only screen  and (max-device-width : 640px) and (orientation : landscape){
	.modal-body {
		height: 150px !important;
	}
	.modal-body > div{
		display: block !important;
	}
	div#customer_login > div{
		width: 100%;
	}
	div#changePass .modal-body {
		height: 250px !important;
	}
}
@media (orientation: landscape) and (max-width: 992px){
	#guestbook .modal-dialog {
	    width: 100%;
	    height: 400px;
	}
	#guestbook .modal-body {
	    height: 100% !important;
	}
	#guestbook .modal-header {
	    padding: 5px !important;
	}
	#guestbook .modal-header {
	    height: 73px;
	}
	#guestbook .modal-dialog{

	}
	input#wpmtst_client_location, input#wpmtst_post_title, input#wpmtst_client_address, textarea#wpmtst_post_content {
	    padding: 0px !important;
	    font-size: 15px;
	}
	div#guestbook .strong-form .form-field {
	    margin-bottom: 10px;
	}
	div#guestbook ul > li {
	    margin: 6px 0;
	}
}