/* we are mainly trying to get rid of using tables (from legacy)
 * and inlined styles for html layout so are coping styles
 * XXX we sould like to use the wonderful layout template 'blueprint'
 * unfortunetly, so far we have found that to be impossible!
 * */

/* a common legacy table width */
.w600 {
    width: 600px
}

.w155 {
    width: 155px
}

.w175 {
    width: 175px
}

.w350 {
    width: 350px
}
.ctr {

    margin-left: auto;
    margin-right: auto;
    width: 6em;
    /*margin:0 auto;*/
}

/* new */
.w_100p {
    width: 100%
}

.disp_yes {
    display: block
}

.disp_no {
    display: none
}

.no_break {
    white-space: nowrap
}


.valign {
    /*
    display: table-cell;
    vertical-align: middle;
    min-height: 10em;
    */
    /*
    position: absolute; 
    left: 25%; 
    top: 25%;
     position: relative; 
     top: 15px;
     left: 150px;
     */
     line-height:4em
}

.b_i_green {
    font-family: "Verdana", "Arial", "Helvetica", "sans-serif";
    font-weight: bold;
    font-style: italic;
    color: #008000;
}

/*
.href_tmpl_link_green {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #008000;
    text-decoration: none;
}

.href_tmpl_link_green:link {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #008000;
    text-decoration: none;
}

.href_tmpl_link_green:visited {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #008000;
    text-decoration: none;
}

.href_tmpl_link_green:active {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #008000;
    text-decoration: none;
}        

.href_tmpl_link_green:hover {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #008000;
    text-decoration: underline;
}
*/

.notice {
    font-family: "Arial", "Geneva", "Verdana", "sans-serif";
    font-size: 12px;
    text-decoration: none;
    font-weight: normal;
    color: green;
}

.success {
    font-family: "Arial", "Geneva", "Verdana", "sans-serif";
    font-size: 18px;
    text-decoration: none;
    font-weight: normal;
    color: blue;
}

.mv_right {
  text-align: right;
}

/* 
  just using these as jquery identifiers as id/name are being used 
*/
.tt {}
.cust_tmpl {}
/* used for links in views/partner/settings.html.erb */
.jui_link_with_hover {}

/* find 'sane'/quick alternative to table layout - no more tables!
   http://www.w3schools.com/css/tryit.asp?filename=trycss_float6
*/

/* end alt table layout */



/* XXX this is not working!  wrap jqGrid table text */
/*
.ui-jqgrid, tr.jqgrow td {white-space: normal}
table.scroll tbody td  {
    white-space: normal;
}
*/

.sm-div {
    margin-top: 5px;
    margin-bottom: 2px;
    padding: 3px;
    height: 25px;
    font-family: "Verdana", "Arial", "Geneva", "Verdana", "sans-serif";
    font-size: 10px;
    font-weight: normal;
    width: auto
}

.pos-rel {
    position:relative;
}

.pos-raise {
    position:absolute;
    top:-23px;
    z-index: 150;
}

.f_left {
        float: left;
}

.f_right {
        float: right; 
}

.f_clear {
        clear: both;
}

.a_left {
    text-align: left;
}

.a_right {
    text-align: right;
}

/*
.clearbox-no-margin {
        margin: 5px;
        padding: 8px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #666666;
        border: 1px solid #CCCCCC;
}
*/

/* http://realworldstyle.com/forms.html */
div.row {
  clear: both;
  padding-top: 5px;
}

div.row span.label {
  float: left;
  width: 100px;
  text-align: right;
}

div.row span.formw {
  float: right;
  width: 235px;
  text-align: left;
}

div.spacer {
  clear: both;
}


/* works with jquery-ui theme 'start' */
table.start-theme, td.start-theme
{
    border-color: #2191C0;
    border-style: solid;
    width: 155px
}

table.start-theme, tr.start-theme
{
    border-width: 1px 1px 1px 1px;
    border-spacing: 1px;
    border-collapse: collapse;
}

td.start-theme
{
    margin: 0;
    padding: 4px;
    /*border-width: 1px 1px 0 0;*/
    border-width: 1px 1px 1px 1px;
    /*background-color: #4297D7;*/
    background-color: #ffffff;
}


td.start-theme-hdr
{
    margin: 0;
    padding: 4px;
    border-width: 1px 1px 1px 1px;
    /*background-color:#006699; */
    /*background-color:#77d5f7;*/
    background-color:#0078ae;
    font-weight:bold;
    color:"#fff";

    border-color: #ccc;
    border-style: solid;
    /*width: 155px */
}

td.start-theme-hdr-lite
{
    margin: 0;
    padding: 4px;
    border-width: 1px 1px 1px 1px;
    /*background-color:#87CEFA;*/
    /*background-color:#c4e3ff;*/
    /*background-color:#d9e9f9;*/
    background-color:#ebf5ff;
    font-weight:bold;
    /*color:"#fff";*/
    border-color: #ccc;
    border-style: solid;
    /*width: 155px */
    /*padding: 6px;*/
}

.middle-align {
    vertical-align: middle;
}

td.blue
{
    background-color: #e3f0f7;
}

.simple-indent {
  margin-top: 3px;
  margin-right: 10px;
  margin-bottom: 3px;
  margin-left: 20px;
}

.contactinfo {
        margin: 5px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
}

/*
.contactHeaderBlue {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
        font-weight: bold;
        color: #fff;
        background-color: #0078AE;
        padding: 3px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #666666;
}
*/

/* add to/override some blueprint styles */
/*
#adminbod {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}
*/

/* http://www.davidjrush.com/blog/2011/12/simple-jquery-tooltip/ */
span.question {
  cursor: pointer;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #89A4CC;
  line-height: 16px;
  color: White;
  font-size: 13px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  position: relative;
}
span.question:hover { background-color: #3D6199; }
div.tooltip {
  background-color: #3D6199;
  color: White;
  position: absolute;
  left: 25px;
  top: -25px;
  z-index: 1000000;
  width: 250px;
  border-radius: 5px;
}
div.tooltip:before {
  border-color: transparent #3D6199 transparent transparent;
  border-right: 6px solid #3D6199;
  border-style: solid;
  border-width: 6px 6px 6px 0px;
  content: "";
  display: block;
  height: 0;
  width: 0;
  line-height: 0;
  position: absolute;
  top: 40%;
  left: -6px;
}
div.tooltip p {
  margin: 10px;
  color: White;
}

/* control the width through text_field_tag size attribute */
.is_readonly_no_width {
  font-family: "Verdana", "Arial", "Geneva", "Verdana", "sans-serif";
  font-size: 11px;
  font-weight: normal;
  background-color: #F2F3A8;
}

.is_readonly {
    font-family: "Verdana", "Arial", "Geneva", "Verdana", "sans-serif";
    font-size: 11px;
    font-weight: normal;

     /*border: 1px solid #666666;
     padding-right: 5px;
     padding-left: 5px; 
     color: #ccc;
     */
     background-color: #F2F3A8;
     width: 125px;
}

.network_class, .service_class {
  margin-top: 20px;
}

.zendesk_status_icon {
    cursor: pointer;
    cursor: hand;
}

.zd_status_red {
    color: red;
}

.zd_status_green {
    color: green;
}