html.popupMode{overflow:hidden;}
body.popupMode{overflow:hidden;}
body.popupMode.scroll div#content{margin-left:-509px;}
body.popupMode.scroll div#top_bar{margin-left:-509px;}
body.popupMode.scroll div#home_ad{margin-left:-9px;}
.castingPopupWrapper{top:0;left:0;position:fixed;overflow-x:auto;overflow-y:scroll;height:100%;width:100%;z-index:400;}
.castingPopupWrapper.transparent{background:transparent;}
.castingPopupWrapper.black_65{background:url(/img/default/bg_black_65.png);}
.castingPopupWrapper.black_70{background:url(/img/default/bg_black_70.png);}
.castingPopupWrapper.black_80{background:url(/img/default/bg_black_80.png);}
.castingPopupWrapper.black_90{background:url(/img/default/bg_black_90.png);}
.castingPopupWrapper.white_70{background:url(/img/default/bg_white_70.png);}
.castingPopupWrapper.white_80{background:url(/img/default/bg_white_80.png);}
.castingPopupWrapper.white_90{background:url(/img/default/bg_white_90.png);}

.castingPopupWrapper h2{
  height: 26px;
  margin-bottom: 5px;
  background: #dce0e6;
  padding: 6px 6px 0 8px ;
}
.castingPopupWrapper h2 span{
  display: inline-block;
  background: #fff;
  color: #000000;
  font-size: 18px;
  height: 26px;
  line-height: 26px;
  vertical-align: middle;
  padding: 0 12px;
  text-transform: uppercase;
  font-weight: normal;
}
/** dialog **/
.castingPopupWrapper > div.dialog{
  position: absolute;
  background: #fff;
  border:1px solid #c0c0c0;
  width:470px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
.castingPopupWrapper > div.dialog h5{height:35px;font-weight:normal;padding: 0 5px;margin: 5px 10px; border-bottom: 1px solid #e0e0e0;}
.castingPopupWrapper > div.dialog h5 span.title{
  line-height:35px;
  vertical-align:middle;
  color:#555;
  text-shadow:0px 1px 1px rgba(0,0,0,0.1);
  font-size: 14px;
  font-weight:bold;
  float:left;
}
.castingPopupWrapper > div.dialog h5 span.closePopup{
  display: block;
  float: right;
  font-size: 11px;
  font-weight:bold;
  height:18px;
  line-height: 18px;
  vertical-align: middle;
  padding-right: 14px;
  background: url(/img/default/icon_close.png) 100% 50% no-repeat ;
  margin: 8px 0 0;
  cursor:pointer;
}
.castingPopupWrapper > div.dialog h5 span.closePopup:hover{background-image:url(/img/default/icon_close_over.png);color:#ff2b04;}
.castingPopupWrapper > div.dialog p.dialogContent{margin: 5px 0; font-size: 12px; color: #555; padding: 10px; font-weight: bold;}
.castingPopupWrapper > div.dialog div.buttons{
  background: #f0f0f0;
  padding: 8px 10px;
  text-align:right;
  border-top:1px solid #e0e0e0;
  margin-top: 10px;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  -o-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
}
.castingPopupWrapper > div.dialog div.buttons input.cancel,
.castingPopupWrapper > div.dialog div.buttons input.confirm{
  border: 1px solid #fff;
  padding: 0 20px;
  height: 25px;
  line-height: 23px;
  vertical-align: middle;
  background: url(/img/default/bg_btn_orange_4.png) 0 -29px repeat-x;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
}
  
.browserIE7 .castingPopupWrapper > div.dialog div.buttons input.cancel,
.browserIE7 .castingPopupWrapper > div.dialog div.buttons input.confirm{
  line-height:20px;
}

.castingPopupWrapper > div.dialog div.buttons input.cancel{background-position: 0 -1px;border-color: #9ea1a2;color:#000;text-shadow: 0px -1px 0px rgba(255,255,255,0.7);}
.castingPopupWrapper > div.dialog div.buttons input.cancel:hover{background-position: 0 -29px;border-color: #fff;text-shadow: 0px -1px 0px rgba(0,0,0,0.3);color:#fff;}
.castingPopupWrapper > div.dialog div.buttons input.confirm:hover{background-position: 0 -1px;border-color:#9ea1a2;text-shadow: 0px -1px 0px rgba(255,255,255,0.7);color:#000;}
.castingPopupWrapper > div.dialog div.buttons span.loading{
  display: inline-block;
  height: 25px;
  line-height: 25px;
  vertical-align: middle;
  padding: 0 10px 0 25px;
  background: url(/img/default/ajax-loader-gray.gif) 0 50% no-repeat;
  font-weight: bold;
  color: #333;
  font-style: italic;
  text-shadow: 0px -1px 0px rgba(255,255,255,0.5);
}
.castingPopupWrapper > div.dialog.form_dialog div.row{
  margin: 10px;
  overflow:auto;
}
.castingPopupWrapper > div.dialog.form_dialog div.row label{
  float: left;
  width: 135px;
  text-align: right;
  padding: 2px 15px 0 0;
  line-height: 18px;
  vertical-align: middle;
  font-size: 13px;
  font-style: italic;
}
.castingPopupWrapper > div.dialog.form_dialog input[type=text],
.castingPopupWrapper > div.dialog.form_dialog input[type=password]{
  padding: 3px 5px;
  width: 200px;
  font-size: 14px;
  height: 16px;
  color: #484b4c;
  border: 1px solid #bec1c4;
}
.castingPopupWrapper > div.dialog.form_dialog input[type=checkbox]{margin-top:4px;}
.castingPopupWrapper > div.dialog.form_dialog textarea{width: 280px;height:65px;}
.castingPopupWrapper > div.dialog.form_dialog div.row_value{
  float: left;
  line-height: 18px;
  vertical-align: middle;
}
form.default_form .row_textarea textarea{
  width: 270px;
  border: 1px solid #b5b5b5;
  padding: 2px 4px;
  outline: none;
}
.castingPopupWrapper > div.dialog.success-dialog h5,
.castingPopupWrapper > div.dialog.error-dialog h5,
.castingPopupWrapper > div.dialog.confirm-dialog h5{
  padding-left: 30px;
  background-position: 3px 50%;
  background-repeat: no-repeat;
}
.castingPopupWrapper > div.dialog.success-dialog h5{background-image:url(/img/default/dialog_picto_success.png);}
.castingPopupWrapper > div.dialog.error-dialog h5{background-image:url(/img/default/dialog_picto_error.png);}
.castingPopupWrapper > div.dialog.confirm-dialog h5{background-image:url(/img/default/dialog_picto_info.png);}

.castingPopupWrapper > div.dialog.form_dialog div.row a.selectBox span.selectBox-label{width:180px;}

/** custom_popup **/
.castingPopupWrapper > div.custom_popup_container{
  position: absolute;
  top: 30px;
  padding-bottom: 30px;
}
.castingPopupWrapper > div.custom_popup_container > div.custom_popup{
  background: #fff;
  border:1px solid #e0e0e0;
  width:745px;
  padding:10px;
  filter:progid:DXImageTransform.Microsoft.Shadow(color='#444444', Direction=135, Strength=10);
  -moz-box-shadow: 0 0 20px rgba(0,0,0,0.8) ;
  -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.8) ;
  box-shadow: 0 0 20px rgba(0,0,0,0.8) ;
}
.castingPopupWrapper > div.custom_popup_container > div.custom_popup h5{height:25px;font-weight:normal;margin: 0 0 5px;position:relative;}
.castingPopupWrapper > div.custom_popup_container > div.custom_popup h5 span.closePopup{
  display: block;
  float: right;
  font-size: 11px;
  font-weight:bold;
  height:25px;
  line-height: 25px;
  vertical-align: middle;
  padding-right: 14px;
  background: url(/img/default/icon_close.png) 100% 7px no-repeat ;
  margin: 0;
  cursor:pointer;
}
.castingPopupWrapper > div.custom_popup_container > div.custom_popup h5 span.closePopup:hover{background-image:url(/img/default/icon_close_over.png);color:#ff2b04;}
.castingPopupWrapper > div.custom_popup_container > div.custom_popup h5 span.title{
  display: block;
  position: absolute;
  height:45px;
  line-height:45px;
  vertical-align: middle;
  padding: 0 45px 0 20px;
  background:url(/img/default/bg_popup_title.png) repeat-x;
  border: 1px solid #f6ab9e;
  color: #ffffff;
  font-size: 22px;
  font-weight: normal;
  top: -32px;
}
.castingPopupWrapper > div.custom_popup_container > div.custom_popup h5 span.title span{display:inline-block;margin-right:20px;vertical-align:middle;}