/*
    Clear all unpop style:
*/
.unpop_box, .unpop_box_content, .unpop_box_title, .unpop_box input[type=submit], div.j001_button a, .unpop_box_content div.j001_button a, .unpop_box_content div.j001_button, #unpop_email_form input, .unpop_box_content div.j001_button input, .unpop_box_content div#linkarea a{
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    border-radius: none;
    color: #303233;
    height: auto;
}
.unpop_box td{
    padding: 5px 2px;
}
.unpop_box .unpop_box_html #unpop_email_form input[type='text'], .unpop_box .unpop_box_html #unpop_email_form input[type='email']{
    background: #fff !important;
    border: 1px solid #ccc !important;
    padding: 4px 0px !important;
}
.unpop_box .unpop_box_html #unpop_email_form .moonray_input, .unpop_box .unpop_box_html #unpop_email_form .moonray-form-input{
   margin-left: 5px;
   margin-bottom: 5px;
}
.unpop_box .unpop_box_html #unpop_email_form .unpop_email_send_office_auto_pilot_smart_forms{
    margin-left: 10px;
}
.unpop_box .unpop_box_html #unpop_email_form select{
    width: 100px;
    clear: both;
    float: right;
}
.unpop_box .unpop_box_html #unpop_email_form label{
    display: inline !important;
}
#unpop_email_form  .wp_unpop_element{
    float: left;
    padding-top: 10px;
    clear: left;
}
.unpop_box{ 
    padding: .2em; 
    width: 310px;
    background: url(http://www.historyireland.com/wp-content/uploads/2014/07/popupBGNew.png) no-repeat !important;
    line-height: 18px;
    position: fixed;
    right: 20px;
    width: 280px;
    display: block;
    max-height: 500px;
    outline: 0px; 
    z-index: 9999; 
    bottom: 0px;
    display: none;
}
.bold_theme{
    font-weight: bold !important;
} 
.italic_theme{
    font-style: italic !important;
} 
.underline_theme{
    text-decoration: underline !important;
} 
.unpop_box_content {
   color:#323232;
   font-family: Arial, sans-serif;font-size: 11px;               
   padding: 10px 35px 20px 25px;overflow: hidden;text-align:left;
}
.unpop_box_title {
    font-size: 16px;
    padding: 15px 0 5px 0;
    color: #323232;
}
.unpop_box input[type=submit], div.j001_button a {    
    background: #868787 !important;
    width: auto !important;
    padding: 5px 10px 5px 10px !important;
    height: auto !important;
    color: white !important;
    border: 0px solid black !important;
    float: right !important;
    margin-right: 39px !important;
}
.unpop_box_content div.j001_button a {
    color: white !important;
    text-decoration: none;
    text-align: center;
    padding-top: 5px;
    display: block;
    padding-left: 10px;
    padding-right: 10px;
}

.unpop_box_content div.j001_button{
    background: url(images/arrow_unbox.png) no-repeat 246px 0;
    width: 276px;
    height: 40px;
    padding-top: 30px;
    margin-left: -28px;
    text-align: right;
    margin-top: 0px;
}

.unpop_box_content div#linkarea{ 
    padding-top: 5px;
}
.unpop_box_content div.unpop_box_html p{
    margin:none !important;
    color: #323232 !important;
}

/* states and images */
.unpop_box .unpop_close {
    background: url(images/controll_iso.png) 0px -10px no-repeat;
    display: block;
    height: 10px;
    width: 10px;
    margin: 5px 0 0 127px;
}
.unpop_box .unpop_close.unpop_box_close{
    background-position: 0 0;
}
.unpop_box .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }
.unpop_box .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }
.unpop_box .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }
.unpop_box .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.unpop_box .ui-draggable .ui-dialog-titlebar { cursor: move; }
.j001_mc_input{width: 95%;}

#oap_smart_forms{
    margin: 0;
}
#oap_smart_forms label{
    clear: left !important;
    display: block !important;
    float: left !important;
    height: 26px  !important;
    padding-top: 6px  !important;
    min-width: 50px  !important;
}
#oap_smart_forms .moonray-form-input{
    width: 153px;
}
#oap_smart_forms .j001_button .moonray-form-input{
    width: auto;
}
#oap_smart_forms input[type="text"],#oap_smart_forms input[type="password"],
#oap_smart_forms input[type="email"], #oap_smart_forms input[type="tel"]
{
    display: inline-block !important;
    padding: 4px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    color: #808080 !important;
    border: 1px solid #ccc !important;
    -webkit-border-radius: 3px !important;
    -moz-border-radius: 3px !important;
    border-radius: 3px !important;
}

div#optin_form input[type="text"],div#optin_form input[type="password"],
div#optin_form input[type="email"], div#optin_form input[type="tel"]{ width:120px;}
.unpop_box_html form input{
    
}
#time_start_block, #current_unpop_box_effects{
    display: none;
}
.unpop_clear{
    clear: both;
}
.required{
    color: red;
}
#unpop_box{
    display: none;
}
.default_content{
    width: 220px;
}
.wp_unpop_widget input{
    margin:0 5px 5px 5px;
}
.questionnair_step{
    display: none;
}
#wp_questionnair .questionnair_step.show_step{
    display: block;
}
#wp_questionnair .show_step .answer{
    display: block;
    padding: 5px 5px 10px 5px;
    font-size: 13px;
    background: #ffebe8;
    margin: 2px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
}
#wp_questionnair #questionnair_send_data{
    float: none;
    margin: 5px 0;
}
#wp_questionnair #questionnair_form .errorInput{
    border: 1px solid red;
}
#unpop_please_wait{
    display: block !important;
    height: 16px !important;
    width: 16px !important;
    background: url( '../img/wpspin_light.gif' ) no-repeat !important;
}

/*
    Widget style:
*/
#unpop_widget .unpop_box{
    position: relative;
}
#unpop_widget .unpop_box{
    display: block;
}
#unpop_widget .unpop_close{
    display: none;
}
#unpop_widget .unpop_box_content .unpop_box_title, #unpop_widget .botton_html, #unpop_widget .unpop_box_content .unpop_box_html .top_html, #unpop_widget .unpop_box_content .unpop_box_html{
    width: auto !important;
}

.unpop_options_select{
    display: none;
}
#unpop_slide_box .unpop_box_title{
    line-height: 20px;
}
.unpop_box_content div.j001_button input{
    position: relative;
    background: #868787;
    padding: 5px 10px;
    margin-right: 35px;
    margin-top: -8px;
    color: #fff;
    font-size: 12px;
}
#unpop_form_text_for_message{
    display: none;
}

/*
    Moonray forms style :
*/
.unpop_box .unpop_box_html #unpop_email_form div.moonray_forms .moonray_input,
.unpop_box .unpop_box_html #unpop_email_form div.moonray_forms .moonray_cc_expire_month,
.unpop_box .unpop_box_html #unpop_email_form div.moonray_forms .moonray_cc_expire_yearrequired{
    width: 100px !important;
}
.unpop_box .unpop_box_html #unpop_email_form div.moonray_forms .moonray_fieldname{
    clear: both !important;
    font-size: 12px;
    display: inline-block;
}
.unpop_box div.moonray_forms fieldset label{
    width: auto !important;
}
.unpop_box .moonray-form{
    background: none !important;
    border: none !important;
    border-color: none !important;
    width: 235px !important;
}
.unpop_box #unpop_email_form .moonray-form-input{
    width: 160px ;
}
.unpop_box #unpop_email_form .moonray_input{
    width: 200px;
}