/* This file is used by the 'Data Service/API Endpoint' Plugin */
* {box-sizing: border-box;}

/* -------------- specific to datatables & calendar -------------- */
#table_info { display: inline-block;}
.dataTable td, .custom_dataTable td {
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
}

.custom_dataTable tbody td {
    border-top: 1px solid #ddd;
}
.custom_dataTable tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}
.custom_dataTable tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.status_RS .datespan, .status_RL .location { font-weight:bolder; }

.datespan { white-space: nowrap; }
.status_C .datespan, .status_P .datespan,
.status_C .location, .status_D .location {
    color:#700; text-decoration:line-through; font-size:90%
}

.results_items td, .custom_dataTable td {
    padding: 0.36rem 0.18rem;
    vertical-align: text-top;
}
#filters_wrapper .zero_matches {
    color:#777; opacity:0.72;
}
#filters_wrapper .dropdown-item.hover, #filters_wrapper .dropdown-item:hover {
    color: #000; text-decoration: none; background-color: #e8e9ea;
}
#filters_wrapper .dropdown-item.active, #filters_wrapper .dropdown-item:active {
    color: #fff; text-decoration: none; background-color: #89a;
}
#filters_wrapper, .dropdown-item { cursor: pointer; }

.filter-group { margin-bottom: 15px; }
.filter-group select { max-width: 175px;}
.filter-group .form-control { background-color: white;}
.filter-group .zero_matches {
    color:#777; opacity:0.72;
}

/* these lines set the url used by the below discipline icons, which is then used as a background, making the icon appear */
.icon.technical_discipline {
    min-width:18px;
    height:18px;
    display: inline-block;
    margin: 0 4px 0 0;
}
.hidden_filter_text {
    display: none;
}

.icon.technical_discipline.d, .icon.technical_discipline.DRILLING_ONLY {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_1d_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.c, .icon.technical_discipline.COMPLETIONS {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_2c_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.f, .icon.technical_discipline.PROJECTS {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_3f_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.p, .icon.technical_discipline.PRODUCTION {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_4p_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.r, .icon.technical_discipline.RESERVOIR {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_5r_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.h, .icon.technical_discipline.HEALTH {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_6h_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.i, .icon.technical_discipline.DSEA {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_7i_32x.png') no-repeat center/contain;
}
.icon.technical_discipline.m, .icon.technical_discipline.MANAGEMENT_ONLY {
    background: url('https://m.specdn.net/img/tech_disciplines/tdi_8m_32x.png') no-repeat center/contain;
}


.results_items td.metadata_attribute_indicators {
    padding: 0.27rem 0.54rem;
}
/* these lines set the url used by the below attribute icons, which is then used as a background, making the icon appear */
.icon.attribute_indicator {
    min-width:20px;
    height:20px;
    display: inline-block;
    margin: 0 4px 0 0;
}
/* these were previously used to display the event calendar's attribute icons, keeping them here just in case. */
.icon.attribute_indicator.CP {
    background: url('https://m.specdn.net/img/eva/attr_cp_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.RE {
    background: url('https://m.specdn.net/img/eva/attr_re_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.RO {
    background: url('https://m.specdn.net/img/eva/attr_ro_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.RC {
    background: url('https://m.specdn.net/img/eva/attr_rc_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.TC {
    background: url('https://m.specdn.net/img/eva/attr_tc_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.PS {
    background: url('https://m.specdn.net/img/eva/attr_ps_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.SO {
    background: url('https://m.specdn.net/img/eva/attr_so_24x.gif') no-repeat center/contain;
}
.icon.attribute_indicator.EO {
    background: url('https://m.specdn.net/img/eva/attr_eo_24x.gif') no-repeat center/contain;
}

/* -------------- specific to rates -------------- */
.ds_rates_container .results_items {
    background-color:#fff; min-width:72%
}
.ds_rates_container .results_items tbody td {
    border:1px solid #dde; border-right:none;
    border-left:none; padding:.54rem 0 .72rem .9rem;
}
.ds_rates_container .results_items td.rate input {
    border:1px solid #fff
}

.ds_rates_container .results_items tr.specified {
    background:#ffc;
    background: -moz-linear-gradient(left, #ffffcc 36%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #ffffcc 36%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #ffffcc 36%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#ffffcc", endColorstr="#ffffff",GradientType=1 ); /* IE6-9 */
}

/* -------------- specific to events tagged -------------- */
.ds_events_tagged_container { font-size:81% }
.ds_events_tagged_container {
    margin-bottom:0.9em; min-height:1.26rem
}
.ds_events_tagged_container UL.results_items { list-style-type:none }
.ds_events_tagged_container UL.results_items { margin-left:-1rem; padding-left:1rem }
.ds_events_tagged_container .results_items .sBegins { display:block }
.ds_events_tagged_container  .results_items LI { margin-bottom:0.9rem }
.ds_events_tagged_container .results_items LI:hover {
    background-image:url('/img/wcg/1pixel_24bit.png'); background-repeat:repeat;
}
.ds_events_tagged_container.id_and_code, .results_items .id_and_code { display: none; }

/* -------------- specific to events -------------- */
.ds_events_container_header { display:none }
.ds_events_container { font-size:81% }
.ds_events_container { margin-bottom:0.9em;min-height:1.26rem }
.ds_events_container UL.results_items { list-style-type:none }
.ds_events_container UL.results_items  { margin-left:-1rem; padding-left:1rem }
.ds_events_container .results_items .sBegins { display:block }

.ds_events_container .results_items LI { margin-bottom:0.9rem }
.ds_events_container .results_items LI:hover {
    background-image:url('/img/wcg/1pixel_24bit.png'); background-repeat:repeat;
}
