.page-template-koda-estimates-template-php #submit_estimate h4 {
	color: #004B8D;
	font-size: 24px;
}
.page-template-koda-estimates-template-php #submit_estimate .form_elem,
.page-template-koda-estimates-template-php #submit_estimate .form_elem label {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
}
.page-template-koda-estimates-template-php #submit_estimate .form_elem input[type=text],
.page-template-koda-estimates-template-php #submit_estimate .form_elem input[type=number],
.page-template-koda-estimates-template-php #submit_estimate .form_elem input[type=email],
.page-template-koda-estimates-template-php #submit_estimate .form_elem textarea {
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	-moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #cccccc #e7e7e7 #e7e7e7 #cccccc;
    border-image: none;
    border-style: solid;
    border-width: 1px;
    box-sizing: border-box;
    color: #5f5f5f;
    display: block;
    margin-bottom: 15px;
    margin-top: 5px;
    outline: 0 none;
    overflow: hidden;
    padding: 8px;
}
.page-template-koda-estimates-template-php #submit_estimate .form_elem input[type=submit] {
	text-transform: uppercase;
	margin-top: 30px;
}

.page-template-koda-estimates-template-php #submit_estimate .form_elem input[type=number]::-webkit-inner-spin-button, 
.page-template-koda-estimates-template-php #submit_estimate .form_elem input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.page-template-koda-estimates-template-php #submit_estimate .form_elem label.error {
	background: #ff2222 none repeat scroll 0 0;
    color: #ffffff;
    display: block;
    height: 22px;
    line-height: 20px;
    margin-top: -14px;
	margin-bottom: 10px;
    min-width: 100%;
    padding-left: 10px;
    position: relative;
    width: 100%;
}

#submit_estimate {
	position: relative;
}
#msg_submitting {
	display: none;
    height: 100%;
    position: relative;
    text-align: center;
    width: 100%;
    z-index: 100;
}
#msg_submitted {
	/*display: none;*/
	text-align: center;
	background-color: #d7f8cf;
    border: 2px solid #b0cbaa;
    color: #4f5f39;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
	padding: 18px;
}

.page-template-koda-estimates-template-php #errors {
	background: #FF2222 none repeat scroll 0 0;
    color: #ffffff;
    display: block;
    line-height: 20px;
    margin-top: -14px;
    min-width: 100%;
    padding-left: 10px;
    position: relative;
    width: 100%;
	display: none;
}
.page-template-koda-estimates-template-php #errors p {
    padding-bottom: 3px;
}

.wp_spinner {
	background: url(../../../../wp-admin/images/spinner.gif);
	background-size: cover;
	width: 40px;
	height: 40px;
	margin: 100px auto;
}











/*  Post Gallery */
#estimates_gallery_meta_box .inside,
#estimates_gallery_meta_box .inside #post_images_container,
#estimates_gallery_meta_box .inside #post_images_container ul {
	height: auto !important;
	padding: 0px !important;
	min-width: 100%;
	display: inline-block;
	clear: both;
}
#estimates_gallery_meta_box .inside #post_images_container ul {
	height: 100% !important;
}
#estimates_gallery_meta_box .inside #post_images_container ul li, 
#estimates_gallery_meta_box .inside #post_images_container ul li.add, 
#estimates_gallery_meta_box .inside #post_images_container ul li.wc-metabox-sortable-placeholder {
	-moz-box-sizing: border-box;
	background: none repeat scroll 0 0 #F7F7F7;
	border: 1px solid #D5D5D5;
	border-radius: 2px;
	/*cursor: move;*/
	float: left;
	height: auto;
	margin:7px 7px 0 0;
	overflow: hidden;
	position: relative;
	width: 135px;
	display: block;
	overflow: hidden !important;
}
#estimates_gallery_meta_box .inside #post_images_container ul li {
	height: 135px;
}
#estimates_gallery_meta_box .inside #post_images_container ul li.image img, 
#estimates_gallery_meta_box .inside #post_images_container ul li.add img, 
#estimates_gallery_meta_box .inside #post_images_container ul li.wc-metabox-sortable-placeholder img {
	display: block;
	height: auto;
	width: 100%;
}

#estimates_gallery_meta_box .inside #post_images_container {
	padding: 0 0 0 9px;
}
#estimates_gallery_meta_box .inside #post_images_container .post_images {
	margin: 0px !important;
}
#estimates_gallery_meta_box .inside .add_post_images {
	padding: 10px 9px !important;
	margin: 0px !important;
	width: auto !important;
	clear: both;
}

#estimates_gallery_meta_box .inside #post_images_container ul {
	margin: 0;
	overflow: hidden !important;
	padding: 0;
}
#estimates_gallery_meta_box .inside #post_images_container ul .actions {  
	padding: 0px;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	overflow: hidden !important;
}
#estimates_gallery_meta_box .inside #post_images_container ul .actions a {
	/*
	background: none repeat scroll 0 0 #EEEEEE;
	border: 1px solid #DDDDDD;
	border-radius: 2px;
	*/
	float: none;
    height: 23px;
    margin: 0;
    padding: 0;
	background: none !important;
	border: 0px !important;
	border-radius: 0px !important;
	box-shadow: none !important;
}

#estimates_gallery_meta_box .inside #post_images_container ul .actions a.delete {
	/*background: url(../img/delete_10.png);
	background-image: url("<?php echo get_stylesheet_directory_uri() . '/img/delete_10.png' ?>") !important;*/
	/*display: none;*/
}
#estimates_gallery_meta_box .inside #post_images_container .post_images .image:hover .delete {
	display: block;
}
#estimates_gallery_meta_box .inside #post_images_container ul .actions a {
	display: block;
	margin: 0;
	overflow: hidden;
	width: 10px;
}
#estimates_gallery_meta_box .inside #post_images_container ul .actions a.delete::before {
    background-color: #dd4f3e;
    border: 1px solid #a61d05;
    border-radius: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    color: #fff;
    content: "X";
    font-variant: normal;
    font-weight: 400;
    left: 0;
    line-height: 1;
    margin: 0;
    position: absolute;
    text-align: center;
    text-indent: 0;
    text-transform: none;
    top: 0;
    width: 100%;
	font-family: Helvetica, Arial, sans-serif;
	padding: 2px;
}
#estimates_gallery_meta_box .inside #post_images_container ul .actions a.delete {
    font-size: 1.4em;
    position: absolute;
    right: 1px;
    text-indent: -9999px;
    top: 1px;
    width: 25px;
	height: 26px;
	overflow: hidden !important;
}


#estimates_gallery_meta_box .inside #post_images_container ul .actions a.view {
	background: rgba(50, 50, 50, 0.2) none repeat scroll 0 0 !important;
    display: block;
    height: 100%;
    position: absolute;
    text-align: center;
    width: 100%;
}
#estimates_gallery_meta_box .inside #post_images_container ul .actions a.view span {
    color: #eeeeee;
    font-size: 36px;
    height: 40px;
    margin-top: 20%;
    width: 40px;
	text-decoration: none;
}




#est_image_files {
	width: 100%;
	height: 0px;
	display: block;
	position: relative;
}

.active_img {
	display: none;
}
.file {
	display: none;
}
#est_images {
	opacity: 0;
	width: 0px !important;
	height: 0px !important;
	margin: 0px !important;
	padding: 0px !important;
	border: 0px !important;
	background: none !important;
	box-shadow: none !important;
}









.page-template-koda-estimates-template-php #TB_window {
    background: #fff none repeat scroll 0 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    height: auto !important;
    left: 50%;
    margin-left: -300px !important;
    max-width: 600px;
    min-height: 300px;
    position: fixed;
    text-align: left;
    top: 35%;
    visibility: hidden;
    width: 80% !important;
    z-index: 100050;
}
@media only screen and (max-width: 768px) {
	.page-template-koda-estimates-template-php #TB_window {
		left: 50%;
		margin-left: -190px !important;
		max-width: 380px;
		min-height: 200px;
		top: 45%;
	}
}
@media only screen and (max-width: 660px) {
	.page-template-koda-estimates-template-php #TB_window {
		left: 50%;
		margin-left: -150px !important;
		max-width: 300px;
		min-height: 100px;
		top: 50%;
	}
}
@media only screen and (max-width: 320px) {
	.page-template-koda-estimates-template-php #TB_window {
		left: 50%;
		margin-left: -130px !important;
		max-width: 100%;
		top: 55%;
	}
}

.page-template-koda-estimates-template-php #TB_window #TB_title {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;
    border-bottom: 0 solid #dfdfdf;
    height: 0;
}
.page-template-koda-estimates-template-php #TB_window #TB_title .tb-close-icon {
    color: #ffffff !important;
    height: 30px;
    line-height: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 34px;
}
.page-template-koda-estimates-template-php #TB_window #TB_title .tb-close-icon:before {
    font-size: 40px !important;
}
.page-template-koda-estimates-template-php #TB_window #TB_ajaxContent {
    clear: both;
    height: auto !important;
    line-height: 1.4em;
    overflow: auto;
    padding: 0 !important;
    text-align: left;
    width: 100% !important;
}
.page-template-koda-estimates-template-php #TB_window #TB_ajaxContent img {
    width: 100% !important;
}
