/* AvaTax Button on Cart Page and Checkout */
.button.button-orange {
    background: #fa641d;
}
.button.button-orange:hover,
.button.button-orange:active,
.button.button-orange:focus {
    background-color: #e65000;
}
#shopping-cart-totals-table .a-right > td {
    padding: 10px 0 15px;
}
@media (max-width: 766px) {
    tr.a-right td.avatax-button.last {
        width: 100%;
    }
    .button.button-orange {
        width: 100%;
    }
}

/* AvaTax Pop-up on Store Front */

#avatax_certcapture_table_content.dialog_content {
    background-color: #fff;
}
#avatax_certcapture_content.dialog_content {
    background-color: #fff;
    min-height: 100px;
    height: auto !important;
}
#avatax_certcapture_form_container {
    display: block;
    padding: 10px 20px;
}
#overlay_modal.overlay_dialog {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#avatax_certcapture {
    border: solid 1px #cccccc;
    display: block;
    position: absolute;
    background: white;
    top: 30vh !important;
    left: 50% !important;
    margin-left: -392px;
}
.avataxar2-popup-login-message {
    margin-top: 40px;
}
.avataxar2-popup-login-message .page-head {
    margin-bottom: 30px;
}
#avatax_certcapture .top.table_window {
    color: #50A4CF;
    font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.4;
    padding: 5px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0px;
    background-color: #fff;
}

#avatax_certcapture .dialog_close {
    position: relative;
    width: 15px;
    float: right;
    display: block;
    margin-right: 30px;
    top: 17px;
    color: #636363;
    text-decoration: none;
    font-weight: normal;
    font-size: 25px;
    background: transparent;
}
#avatax_certcapture .dialog_close:before {
    content: '×';
    display: block;
    width: 15x;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 15px;
}
#avatax_certcapture .dialog_sw,
#avatax_certcapture .dialog_sw,
#avatax_certcapture .dialog_sw,
#avatax_certcapture .dialog_nw,
#avatax_certcapture .dialog_n,
#avatax_certcapture .dialog_ne,
#avatax_certcapture .dialog_sw,
#avatax_certcapture .dialog_s,
#avatax_certcapture .dialog_se {
    background: transparent;
    width: auto;
}
#avatax_certcapture .dialog_w,
#avatax_certcapture .dialog_e {
    width: 0;
}
#avatax_certcapture_form_container .field {
    margin-bottom: 15px;
}
#avatax_certcapture_form_container .field {
    display: flex;
    flex-direction: row;
}
#avatax_certcapture_form_container .field input {
    padding-left: 10px;
    padding-right: 10px;
    width: 280px;
    height: 25px;
    -webkit-appearance: none;
    border-radius: 2px;
    border: 1px solid silver;
    background: #FFFFFF;
    font-size: 14px;
    font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
}
#avatax_certcapture_form_container .field label {
    color: #333 !important;
    font-family: Arial, sans-serif;
    font-size: 14px;
    width: 140px;
    font-weight: normal !important;
    position: relative;
    line-height: 25px;
}

#avatax_certcapture .dialog_title {
    color: #50A4CF;
    font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    padding: 5px;
    height: auto;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0px;
}
.avataxar2-popup-gencert .field:nth-child(2) {
    margin-bottom: 20px;
}

@media (max-width: 766px) {
    #avatax_certcapture,
    #avatax_certcapture_content {
        width: 100% !important;
    }
    #avatax_certcapture {
        left: 0 !important;
        top: 10vh !important;
        margin-left: 0;
    }
    #avatax_certcapture_form_container .field {
        flex-direction: column;
    }
    #avatax_certcapture_form_container .field input,
    #avatax_certcapture_form_container .field label {
        width: 100%;
    }
}

#avatax_certcapture_customer_form div.input-box {
    width: 80%;
    display: inline-block;
}

#avatax_certcapture_customer_form input.input-text {
    width: 55%;
}

#avatax_certcapture_customer_form div.actions {
    width: 20%;
    float: right;
    display: inline-block;
}

.overlay_dialog {
	background-color: #666666;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
}

.overlay___invisible__ {
  background-color: #666666;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}

.dialog_nw {
	width: 9px;
	height: 23px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/top_left.gif) no-repeat 0 0;		
}

.dialog_n {
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/top_mid.gif) repeat-x 0 0;	
	height: 23px;
}

.dialog_ne {
	width: 9px;
	height: 23px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/top_right.gif) no-repeat 0 0;		
}

.dialog_e {
	width: 2px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/center_right.gif) repeat-y 0 0;	
}

.dialog_w {
	width: 2px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/center_left.gif) repeat-y 0 0;		
}

.dialog_sw {
	width: 9px;
	height: 19px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/bottom_left.gif) no-repeat 0 0;			
}

.dialog_s {
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/bottom_mid.gif) repeat-x 0 0;		
	height: 19px;
}

.dialog_se {
	width: 9px;
	height: 19px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/bottom_right.gif) no-repeat 0 0;			
}

.dialog_sizer {
	width: 9px;
	height: 19px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/sizer.gif) no-repeat 0 0;	
	cursor:se-resize;	
}

.dialog_close {
	width: 14px;
	height: 14px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/close.gif) no-repeat 0 0;			
	position:absolute;
	top:5px;
	left:8px;
	cursor:pointer;
	z-index:2000;
}

.dialog_minimize {
	width: 14px;
	height: 15px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/minimize.gif) no-repeat 0 0;			
	position:absolute;
	top:5px;
	left:28px;
	cursor:pointer;
	z-index:2000;
}

.dialog_maximize {
	width: 14px;
	height: 15px;
	background: transparent url(https://www.ace-ace.de/js/prototype/windows/themes/default/maximize.gif) no-repeat 0 0;			
	position:absolute;
	top:5px;
	left:49px;
	cursor:pointer;
	z-index:2000;
}

.dialog_title {
	float:left;
	height:14px;
	font-family: Tahoma, Arial, sans-serif;
	font-size:12px;
	text-align:center;
	width:100%;
	color:#000;
}

.dialog_content {
	overflow:auto;
	color: #DDD;
	font-family: Tahoma, Arial, sans-serif;
	font-size: 10px;
	background-color:#123;
}

.top_draggable, .bottom_draggable {
  cursor:move;
}

.status_bar {
  font-size:12px;
}
.status_bar input{
  font-size:12px;
}

.wired_frame {
	display: block;
  position: absolute;
  border: 1px #000 dashed;
}

/* DO NOT CHANGE THESE VALUES*/
.dialog {
	display: block;
	position: absolute;
}

.dialog table.table_window  { 
  border-collapse: collapse; 
  border-spacing: 0; 
  width: 100%;
	margin: 0px;
	padding:0px;
}

.dialog table.table_window td , .dialog table.table_window th { 
  padding: 0; 
}

.dialog .title_window {
  -moz-user-select:none;
}                                                    


