/*************************************************************************** 
	Common 
***************************************************************************/
/*******
	outer wrapper (thickbox|shortcode) 
*******/
.wppizza_dbp_content {
	position:relative;
    /*border: 1px solid green;*/
    padding: 0;
    width: 100%;
}
/*******
	inner wrapper (thickbox|shortcode) 
*******/
.wppizza_dbp_wrap {
	position:relative;
	border: 1px solid #d1d1d1;
	text-align: center;
    margin: 20px;
    padding: 0px;
}
/*******
	label (thickbox|shortcode) 
*******/
.wppizza_dbp_label{
	background-color: #eeeeee;  
    font-size: 100%; 
    font-weight:600; 
    display: block;
    margin:0;
    padding:5px;  
}
/******* 
	input / checkbox / button wrapper (thickbox|shortcode) 
*******/
.wppizza_dbp_widget{
	position:relative;
	/*border: 1px solid red;*/
	margin:0;	
	padding:5px 10px;
}
/* input (dropdown|textbox) */
.wppizza_dbp{
	width:100%;
	margin:10px auto;
}
/******* 
	self pickup checkbox/label wrapper (thickbox|shortcode) (dropdown|textbox) 
*******/
.wppizza_dbp_spu_lbl{
	margin:5px auto 10px;
	padding:0;
}
/* self pickup checkbox */
.wppizza_dbp_spu_lbl > input#wppizza_dbp_spu {
	margin:0 5px;
	vertical-align:text-top;
}
/******* 
	using dropdown (default)
	error wrapper (thickbox|shortcode) 
*******/
.wppizza_dbp_error{
    position: absolute;
    z-index: 1000;
    background-color: #ffffff;	
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding:10px;
    font-weight:600;
    overflow:auto;
    display: table;   
    /*border:1px dotted blue;*/
    height:100%;
    width:100%;
    display:none;
    
}
/* error text */
.wppizza_dbp_error > p{
    border-left: 5px solid red;
	text-align: center;
    vertical-align: middle;
    display: table-cell;
    margin: 10px;
	padding: 10px !important;
}
/*************************************************************************************
#
#	smart autocomplete only
#
*************************************************************************************/
/* override */
.wppizza_dbp_autocomplete .wppizza_dbp{
	margin-top:0px;
}
.wppizza_dbp_autocomplete .wppizza_dbp_widget{
	padding-top:0px;
}
/******* 
	error/info wrapper (thickbox|shortcode) 
*******/
.wppizza_dbp_autocomplete_info{
    /*border:1px solid blue;*/
    /*position: absolute;*/
    left:0;
    right:0;
    top: 30px;
    z-index: 1000;
    background-color: transparent;	
    justify-content: center;
    align-items: center;
    margin: 0px;
    padding:0px;
}
.wppizza_dbp_autocomplete_info >p{
	padding:3px !important;
	margin:0 !important;
	font-weight:600;
}

/* error/info messages */
.wppizza_dbp_msg_001,.wppizza_dbp_msg_002, .wppizza_dbp_msg_004, .wppizza_dbp_msg_005{
	color:red;
}
.wppizza_dbp_msg_003{
	color:blue;
}


/* dropdowns container */
ul.wppizza_dbp_ac_res {
	padding: 0;
    background-color: #dFdFdF;
    overflow: auto;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 165px;
    margin: 1px 0px 10px 0px;	/* on checkout . TB SC will be overridden*/	
}
/* using shortcode */
#wppizza_dbp_sc ul.wppizza_dbp_ac_res {
	margin: -10px 10px 10px 10px;
}

/* dropdowns list item */
ul.wppizza_dbp_ac_res>li {
	text-align:left; 
	list-style: none; 
	cursor: pointer;
	padding:3px 5px ;
	margin:1px;
	background-color: #FEFEFE;
	font-size:90%;
	color:#333333;
	line-height:160%;
}
ul.wppizza_dbp_ac_res>li:nth-child(odd){background:#fafafa;}
ul.wppizza_dbp_ac_res>li:nth-child(even){background:#FFFFFF;}
/* Our Delivery Areas Label */
ul.wppizza_dbp_ac_res>label.wppizza_dbp_ac_res_label{
	background-color: #dFdFdF;
    text-align: center;
    color: #333333;
    width: 100%;
    margin: 0;
    padding: 5px 0;
}

/* dropdowns list item highlighted*/
ul.wppizza_dbp_ac_res>li.smart_autocomplete_highlight {
	background-color: #EFEFEF; 
	color:#333333
}
/* checkmark right of input field*/
.wppizza_dbp_input_valid:after {
	margin: 1px 10px 0 0;
	padding: 0;
	content: "\2705";
	position: absolute;
	top: 0px;
	right: 0px;
	font-size:15px;	
}
/*************************************************************************************
#
#	maps only
#
*************************************************************************************/

.wppizza_dbp_map_legend {
    font-size: 80%;
    text-align: center;
    font-style: italic;
    margin: 0;
    padding: 0;
}

.wppizza_dbp_bymap .wppizza_dbp_widget{	
	padding-top:0;
	padding-bottom:0;
}
/* text input indented right */
.wppizza_dbp_bymap .wppizza_dbp_input{
	/*border:1px solid blue; */
	padding: 0 60px 0 0;
}
/* ok button right of input */
.wppizza_dbp_bymap .wppizza_dbp_submit{
	position: absolute;
	margin: 10px 0 10px 5px;
	min-width: 50px;	
}

.wppizza_dbp_map_wrap {
    position: relative;
    height: 350px;/* widget | popup */
    margin: 0 0 0 0;
    padding: 0;
    border: 1px solid #eeeeee;
    z-index: 0;
}
/* checkout map - a bit smaller */
#wppizza-send-order .wppizza_dbp_map_wrap {
	height: 250px;
}

#wppizza_dbp_map {
    overflow: hidden;
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    z-index: 1;
    background-color: #fafafa;
}
/* map debug */
.wppizza_dbp_map_debug {
    position: relative;
    z-index: 2;
    border: 1px solid red;
    margin: 10px 0;
    padding: 5px;
    background-color: #ffffff;
    text-align:center;
}
.wppizza_dbp_map_debug > label {
    /* color: red; */
    font-weight: bold;
    text-align: center;
    display:block;
}
.wppizza_dbp_map_debug > input {
    width: 45% !important;
    display:inline-block !important;
    margin:3px;
}

/* address autocomplete */
/* z-index must be higher than TB_window z-index (@ 100050 )*/
.pac-container{z-index:110000}
/** 
	map - error 
**/
.wppizza_dbp_map_error {
    display: none;
    font-size: 90%;
    font-weight: 600;
    border-left: 5px solid #dd3d36;
    background: #efefef;
    -webkit-box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
    position: absolute;
    z-index: 5;
    left: 2px;
    right: 2px;
    top: 0;
    /*bottom: 0;*/
    margin: 123px auto 0 auto;    
    padding: 20px 12px;
    text-align:center;
}
/* checkout page override */
#wppizza-personal-details .wppizza_dbp_map_error{
	margin-top: 18px;
	left: 3px;
	right: 3px;
}

/*************************************************************************************
#
#	maps - marker bounce
#	5 bounces , one time over 0.7 secs
*************************************************************************************/
.wppizza_dbp_marker_bounce {
    animation: bounce 0.6s ease-in 1;
    -webkit-animation: bounce 0.6s ease-in 1;
    -moz-animation: bounce 0.6s ease-in 1;
    -o-animation: bounce 0.6s ease-in 1;
}
 
@-webkit-keyframes bounce {
    0%, 33%, 66%, 100% {transform: translateY(0);}
    16% {-webkit-transform: translateY(-40px);}
	50% {-webkit-transform: translateY(-25px);}
    79% {-webkit-transform: translateY(-7px);}   
}
 
@-moz-keyframes bounce {
    0%, 33%, 66%, 100% {transform: translateY(0);}
    16% {-webkit-transform: translateY(-40px);}
	50% {-webkit-transform: translateY(-25px);}
    79% {-webkit-transform: translateY(-7px);}
}
 
@-o-keyframes bounce {
    0%, 33%, 66%, 100% {transform: translateY(0);}
    16% {-webkit-transform: translateY(-40px);}
	50% {-webkit-transform: translateY(-25px);}
    79% {-webkit-transform: translateY(-7px);}   
}
@keyframes bounce {
    0%, 33%, 66%, 100% {transform: translateY(0);}
    16% {-webkit-transform: translateY(-40px);}
	50% {-webkit-transform: translateY(-25px);}
    79% {-webkit-transform: translateY(-7px);}

}




/*************************************************************************** 
	Thickbox Only Overrides
***************************************************************************/
#TB_ajaxContent .wppizza_dbp_content {
	position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;	
}
#TB_ajaxContent .wppizza_dbp_wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;	
}
/* autocomplete dropdown margins */
#TB_ajaxContent ul.wppizza_dbp_ac_res {
margin: -10px 10px 10px 10px;	/* margin l/r should be the same as l/r padding .wppizza_dbp_widget margin top negative of margin bottom .wppizza_dbp */
}

/* maps error div*/
#TB_ajaxContent .wppizza_dbp_map_error{
    margin-top: 128px	
}
