
/* Styling for EntryWizard Admin function only, not EWZ-Rating-specific items or any front-end */

/* to fix an issue with some themes/plugins that set box-sizing: border-box */
.ewz-dialog::before, .ewz-dialog, .ewz-dialog::after{
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
}
/* to get the resize icon in the se position */
.ewz_hidden .ui-resizable-se {  position:absolute; }

.ewz_help .d1{margin-left:10px; }
.ewz_help    .d2{margin: 10px; padding: 10px;margin-left:30px; border: 1px solid black;}
.ewz_help    .d3{margin-left:50px;  }
.ewz_help    .d4{margin: 10px;  padding: 10px;margin-left:75px;border: 1px dotted black;}
.ewz_help    .d5{margin-left:100px;}
.ewz_help     H1{text-align:center;}
.ewz_help     H2{text-align:center;}
.ewz_help     H4{text-align:center;}
.ewz_help     hr.ewzhelpdiv{ margin-top: 10px; margin-bottom: 10px;  border: 1px solid #AAAAAA; width: 50%;}
.ewz_help     p.ewzheader{text-align:center; padding: 10px; font-size:110%;}
.ewz_help     ul.ewz_inline{ text-align: center; line-height: 50px; }
.ewz_help     ul.ewz_inline li{ display: inline; margin: 20px; }

html, body {position: relative}

#ewz_actions{display: inline-block; width: 100%; }
#ewz_all_check{display: inline-block; padding-top: 10px;}
#ewz_all_check input{background: #f7f7f7;}
#ewz_bulk{ display: inline-block; float:right;}
#ewz_sel_all{display: inline-block;}

div.ewz_series { padding-top: 10px;  padding-bottom: 10px; }

div.ewz_series input[id$='optset_1']{ width: 4em; }
div.ewz_series input[id$='optset_2']{ width: 4em; }
div.ewz_series input[id$='optset_3']{ width: 4em; }

ul.ewz_lpad{ padding-left: 50px; }

div.ewzform div[id^='open_for']{white-space: pre; font-size:1.2em;}

div.ewz_order{ padding:10px; border: 1px solid black; width: fit-content; }
div.ewz_hidden{ padding:10px;  width: fit-content; margin-bottom: 10px; margin-left: -10px; float: right;}

#ewz_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    z-index:50;
}
#ewz_overlay img {
    margin-left: 45%;
    margin-top: 20%;
}
.ewz_spacer{ margin-top: 10px !important; margin-bottom: 10px !important; }
.ewz_padded td { padding: 20px 10px 20px 10px !important;}
.ewz_pcentre {
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}
.ewz_scrollx{ overflow-x: auto; }

.ewz_right{
    width: 100%;
    text-align: right;
}
.ewz_waitmessage{
    text-align: center;
    margin: auto;
    padding: 10px;
    font-size: 120%;
    font-weight: bold;
}

.ewz_ihelp { padding-right: 2px; }

.ewz_border{
    padding: 2.5px;
    border: 1px solid #ccc;
}

.ewz_buttonrow {
    clear: both;
    padding: 15px;
}
.ewz_padded10 {
    padding: 10px;
}

.ewz_settings_tbl td{
    padding: 15px;
}
.ewz_buttonrow td {
    padding-right: 10px;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.ewz_disabled{
    border: 1px dotted red;
    padding: 7px 2px 8px 2px;
    text-align: center;
    vertical-align:middle;
}
.ewz_info{ padding: 10px;
           margin: 0px;
           font-style: italic;
           border: 1px solid #DFDFDF;
         }
.ewz_csv_upload {
    border-spacing: 10px;
}
.ewz_csv_upload td{
    border: 1px solid #ccc;
    border-radius: 5px 5px 5px 5px;
    padding: 10px;
}
.ewz_border{ border-collapse: collapse;
             border: 1px solid black;
             font-size: 90%;
             margin: 20px;
           }
.ewz_file{
    background: #f0f0f0;
}
.ewzform div[id^="restricts_f"]{
    padding-bottom: 7px;
}
.ewz_centered
{
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding: 7px;
    border: 0px;
}
.ewz_field{
    background: white;
    border: 1px;
    border-style: solid;
    border-color:  #DFDFDF;
    width: 95%;
    margin: auto;
}
.ewz_field_opts td{ padding-left: 15px;
                    padding-right: 15px;}
.ewz_field_opts { margin-left: 20px;
                  padding-top: 20px;}

.ewz_field > tbody > tr > td {   padding: 10px;
                                 vertical-align:middle;
                             }
.ewz_shaded{
    vertical-align:middle;
    background: #F5F5F5;
    border-color: #EEEEEE;
}
.ewz_itemlist_opts{
    vertical-align:middle;
    background: #F5F5F5;
}
.ewz_itemlist_opts td{
    padding: 5px;
}

.ewz_data {
    background: #ffffff;
    padding: 15px;
    margin: 15px 5px 15px 5px;
    border: 1px solid #DFDFDF;
    border-radius: 5px 5px 5px 5px;
}
.ewz_boxed { padding: 5px 25px 5px 15px;
             border: 1px dotted #BBBBBB;
             width: 90%;
           }
.ewz_sect_title{ font-weight: bold;
               }
.ewz_95 { display: block; width: 90%;
          margin-left: auto;
          margin-right: auto;
           }

.ewz_warn{ font-weight: bold;
           text-align: center;
           vertical-align: top;
           padding: 15px;
           float: right;
           margin-right: 15px;
           border: 1px solid red;
         }
.ewz_inotes{ font-size: 90%;
             font-style: italic;
             padding-bottom: 15px;
           }
.ewz_subpost { margin-left: 40px; }

.ewz_wnotes{ font-size: 90%;
             font-style: italic;
             text-align: center;
           }

.ewz_wfs_footer{ clear: both; text-align: left; padding: 10px; }
#ewz_layouts .inside,
#ewz_management .inside {
    padding-bottom: 15px !important;
}

#ewz_layouts .inside  .inside,
#ewz_management .inside  .inside {
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    background: #EEEEEE; }

.ewz_expand { display:block;
              float:right;
              clear:right;
              margin-right:10px;
            }
.ewz_params { display:block;
              float:right;
              margin-right:15px;
              margin-bottom:15px;
            }

.ewz-dialog .ui-dialog-content {  font-size:1em; font-weight: normal;}
.ewz-dialog  ul { padding-left: 10px;
                            list-style: disc; }

.ewz-dialog ul ul {
    list-style: circle;
}

.ewz_b{  border: 1px solid black;
           padding: 5px;
        }

div[id^="ewz_postbox-layout"]{
    background: -webkit-linear-gradient(   top, #E7E7E7, #CCCCCC);
    background:    -moz-linear-gradient(   top, #E7E7E7, #CCCCCC);
    background:     -ms-linear-gradient(   top, #E7E7E7, #CCCCCC);
    background:      -o-linear-gradient(   top, #E7E7E7, #CCCCCC);
    background:         linear-gradient(to bottom, #E7E7E7, #CCCCCC);
}
.ewz_box { margin-bottom: 5px; }
#ewz_layouts .ewz_box{  padding: 2px;  margin: 2px; }


.ewz_leftpad{ padding-left:30px !important;}
.ewz_bottompad{ padding-bottom:15px !important;}

#ewz_page_sel { max-width: 450px; }

/* Setup of webform header line */
#ewz_management input[id^="self"]{ display: inline-block; background: #f7f7f7;}
#ewz_management div[id^="wf_title"]{ display: inline-block;}
div.ewz_wfstatus{ display: inline-block; float: right; }


#ewz_management div[id^="tpg_header_"]{
    display: inline-block;
    width: 95%;
    /* background-image: url('../images/gray-grad.png'); */
    background:-webkit-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:   -moz-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:    -ms-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:     -o-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:        linear-gradient(to bottom, #F0F0F0, #CCCCCC);
    background-position: top left;
    background-repeat: repeat-x;
    padding: 10px 10px;
    font-size: 1.3em;
    font-weight: 600;
}


/* h3 only used for layout, not webform */
.ewz_box h3{
   background:-webkit-linear-gradient(   top, #F0F0F0, #CCCCCC);
   background:   -moz-linear-gradient(   top, #F0F0F0, #CCCCCC);
   background:    -ms-linear-gradient(   top, #F0F0F0, #CCCCCC);
   background:     -o-linear-gradient(   top, #F0F0F0, #CCCCCC);
   background:        linear-gradient(to bottom, #F0F0F0, #CCCCCC);
    background-position: top left;
    background-repeat: repeat-x;
    margin: 0px;
    padding: 8px 8px;
}

span.ewz_indicator.ewz_open{ display: inline-block; height: 20px; width: 20px;   background-image:url('../images/ewz_open.png') ;}
span.ewz_indicator:not(.ewz_open){ display: inline-block; height: 20px; width: 20px;  background-image:url('../images/ewz_closed.png') ; }

#ewz_management .metabox-holder[id^="ewz_admin"]{padding-top:1px;}
#ewz_layouts .metabox-holder[id^="ewz_admin"]{padding-top:1px;}

#ewz_management h3[id^="tpg_header_"]{
    /* background-image: url('../images/gray-grad.png'); */
    background:-webkit-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:   -moz-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:    -ms-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:     -o-linear-gradient(   top, #F0F0F0, #CCCCCC);
    background:        linear-gradient(to bottom, #F0F0F0, #CCCCCC);
    background-position: top left;
    background-repeat: repeat-x;
}

#ewz_list_form  select[name="action"]{
    max-width: 30em;
}
#ewz_layouts .inside h3, #ewz_management .inside h3{
    /* background-image: url('../images/gray-grad.png'); */
    background:-webkit-linear-gradient(   top, #FFFFFF, #EEEEEE);
    background:   -moz-linear-gradient(    top, #FFFFFF, #EEEEEE);
    background:    -ms-linear-gradient(    top, #FFFFFF, #EEEEEE);
    background:     -o-linear-gradient(    top, #FFFFFF, #EEEEEE);
    background:        linear-gradient(to bottom, #FFFFFF, #EEEEEE);
    background-position: top left;
    background-repeat: repeat-x;
}
table.ewz_field select[id$="_maxnum_"] option[value="0"]{
    font-style: italic !important;
}
table.ewz_field input[id$="__msg_"] {
    width: 30em;
}
table.ewz_field input[id$="_layout_name_"] {
    width: 25em;
}
table.ewz_field input[id$="_field_header_"] {
    width: 12em;
}
table.ewz_field input[id$="field_ident_"] {
    width: 9em;
}
table.ewz_field input[id$="_label_"] {
    width: 9em;
}
table.ewz_field input[id$="_value_"] {
    width: 5em;
}
table.ewz_field input[id$="_max_img_w_"] {
    width: 5em;
}
table.ewz_field input[id$="_max_img_h_"] {
    width: 5em;
}
table.ewz_field input[id$="_max_img_size_"] {
    width: 5em;
}
table.ewz_field input[id$="_min_img_area_"] {
    width: 5em;
}
table.form-table{ width: auto; }
table.form-table th { padding-left: 20px; }
#ewz_btitle {
    width: 15em;
}
#ewz_bexcerpt {
    width: 15em;
}
#ewz_bcontent {
    width: 20em;
}
#ewz_btag {
    width: 8em;
}

.ewzform input[id^="webform_title"] {
    width: 20em;
}
table.ewz_field input[id^="webform_ident"] {
    width: 12em;
}
.ewzform input[id^="prefix_"] {
    width: 15em;
}
.ewzform input[id^="auto_date"] {
    width: 12em;
}
.ewzform select[id^="auto_time"] option {
    padding: 3px;
}
.ewzform {
    font-size: 90%;
}
.ewzform .ui-widget {
    font-family: "Helvetica Neue","Trebuchet MS",Tahoma,Verdana,Arial,sans-serif;
    background: #fff;
}

table[id^="ewz_spr_col"]{ width: 100%; background: #f5f5f5; }


/* Force datepicker prev/next month links to show: */
.ui-icon-circle-triangle-e { background: #f0f0f0; text-indent: 5px !important;}
.ui-icon-circle-triangle-w { background: #f0f0f0; text-indent: 5px !important;}
.ui-datepicker .ui-icon {  text-indent: 5px !important;}




/* Corner radius */
.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
        border-top-left-radius: 5px;
}
.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
        border-top-right-radius: 5px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
        border-bottom-left-radius: 5px;
}
.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
        border-bottom-right-radius: 5px;
}

/* Overlays */
.ui-widget-overlay {
        background: #aaaaaa;
        opacity: .3;
}
.ui-widget-shadow {
        -webkit-box-shadow: 0px 0px 5px #666666;
        box-shadow: 0px 0px 5px #666666;
}

.ewz-dialog .ui-widget-header{
        border: 1px solid #dddddd;
        background: #e9e9e9;
        color: #333333;
        font-weight: bold;
}
.ewz-dialog .ui-widget-header a {
        color: #333333;
}
