/**
 * Copyright (c) 2010 onwards - The Sakai Foundation
 *
 * Licensed under the Educational Community License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *             http://www.osedu.org/licenses/ECL-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/** -------------------------------------------- */

/** --- Content & Toolbar ---------------------- */

/** -------------------------------------------- */

#bbb_container {
  margin: 5px;
}

.bbb_even_row {
  background-color: #FFFFC0;
}

/** -------------------------------------------- */

/** --- Images --------------------------------- */

/** -------------------------------------------- */

.bbb_preview_images {
  display: inline-block;
}

a[href].preview {
  text-decoration: none;
  display: inline-block;
}

.thumbnails {
  border: 2px solid black;
  border-radius: 2px;
}

#previewImage {
  border-radius: 7px;
  padding: 5px 5px;
  background: black;
}

#preview {
  position: absolute;
  display: none;
}

/** -------------------------------------------- */

/** --- Meeting List --------------------------- */

/** -------------------------------------------- */

.bbb_sortable_table_header {
  background-image: url(../images/bg.gif);
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center right;
}

.bbb_sortable_table_header_sortup {
  background-image: url(../images/asc.gif);
}

.bbb_sortable_table_header_sortdown {
  background-image: url(../images/desc.gif);
}

.bbb_meeting_wait_message {
  display: none;
}

.bbb_invisible {
  background-color: orange !important;
}

th.bbb_name {
  text-align: left;
  width: 40%;
  max-width: 40%;
}

th.bbb_startDate, th.bbb_endDate {
  width: 140px;
  max-width: 140px;
}

td.bbb_startDate, td.bbb_endDate {
  text-align: center;
}

th.bbb_owner {
  text-align: left;
  width: 15%;
}

th.bbb_recStatus {
  width: 100px;
  max-width: 100px;
  text-align: left;
}

th.bbb_recStartDate {
  width: 200px;
  max-width: 200px;
  text-align: left;
}

th.bbb_recLength {
  width: 70px;
  max-width: 70px;
  text-align: center;
}

th.bbb_recPreview {
  width: 180px;
  max-width: 180px;
}

div.bbb_end_meeting_hidden {
  display: none;
  margin: 0;
  padding: 0;
}

div.bbb_end_meeting_shown {
  display: inline;
  margin: 0;
  padding: 0;
}

.search {
  position: absolute;
  right: 0;
  top: 4px;
  margin-right: 0;
  padding: 2px 3px;
  width: 200px;
}

/** -------------------------------------------- */

/** --- Create/Update Meeting ------------------ */

/** -------------------------------------------- */

#bbb_name_label {
  margin-right: 5px;
}

.bbb_role_selection {
  font-weight: bold;
}

.bbb_role_selection_as {
  font-style: italic;
  padding-left: 10px;
  padding-right: 10px;
}

/* Form: */

.bbb_form_container {
  padding-left: 2px;
  margin: 0;
}

table.bbb_form_container {
  margin: 12px 0 12px 0;
  padding-left: 0px;
}

.bbb_form_container td {
  display: table-cell;
  line-height: 24px;
  margin: 0;
  padding: 2px 0px 2px 0px;
}

.bbb_form_container td.bbb_lbl {
  padding: 0px 16px 0px 0px;
  font-weight: bold;
  text-align: right;
  width: 185px;
  vertical-align: top;
}

.bbb_form_container select {
  margin: 0.1em 0.3em;
  border: 1px solid #888888;
  width: auto !important;
  min-width: 120px;
}

.bbb_form_container input[type="text"], .bbb_form_container textarea {
  padding: 0.1em 0.3em;
  margin: 0.1em 0.3em;
  border: 1px solid #888888;
  width: 300px;
}

.bbb_form_container textarea {
  height: 50px;
}

/** -------------------------------------------- */

/** --- Meeting Details ------------------------ */

/** -------------------------------------------- */

table#bbb_meeting_info_table td {
  vertical-align: top;
  padding-bottom: 10px;
  padding-left: 15px;
}

table#bbb_meeting_info_table td h5 {
  vertical-align: top !important;
  margin-top: 0 !important;
}

/** -------------------------------------------- */

/** --- Meeting Status ------------------------- */

/** -------------------------------------------- */

.bbb_status_notstarted {
  color: #777;
}

.bbb_status_joinable_available {
  color: #087817;
}

.bbb_status_joinable_inprogress {
  color: #087817;
  font-style: italic;
}

.bbb_status_joinable_unavailable {
  color: #EE9A00;
}

.bbb_status_joinable_unreachable {
  color: #FF0000;
}

.bbb_status_finished {
  color: #777;
  font-style: oblique;
}

/** -------------------------------------------- */

/** --- Util/Common ---------------------------- */

/** -------------------------------------------- */

/* Messages shown to the user: */

#bbb_messages {
  overflow: auto;
}

.bbb_message {
  margin-bottom: 5px;
  font-weight: normal;
}

/* Ajax indicator (image): */

.bbb_imgIndicator {
  margin: 5px;
  vertical-align: middle;
}

/* Textarea: inline editor */

.bbb_inlineFCKEditor {
  width: 480px;
  min-height: 80px;
  height: auto !important;
  height: 80px;
  position: relative;
  border: 1px solid #DDD;
  margin: 0.1em 0.3em;
}

.bbb_inlineFCKEditorInstr {
  position: relative;
  top: 0;
  right: 0;
  background-color: #EEEEEE;
  color: #333;
  border-left: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  display: none;
  padding: 0px 7px;
  float: right;
}

/** -------------------------------------------- */

/** --- 3rd Party Plugins ---------------------- */

/** -------------------------------------------- */

/* Date picker: */

.date-picker-field {
  width: 80px !important;
  min-width: 80px !important;
  text-align: center;
}

.datepick-trigger {
  position: relative;
  bottom: 2px;
}

/* Time picker: */

.time-picker-field {
  width: 40px !important;
  min-width: 40px !important;
  text-align: center;
}

.time-picker {
  -moz-background-clip: border;
  -moz-background-inline-policy: continuous;
  -moz-background-origin: padding;
  background: #FFFFFF none repeat scroll 0 0;
  border: 1px solid #000000;
  height: 200px;
  overflow: auto;
  position: absolute;
  width: 4em;
}

.time-picker-12hours {
  width: 6em;
}

.time-picker ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.time-picker li {
  cursor: pointer;
  padding: 1px;
}

.time-picker li.selected {
  -moz-background-clip: border;
  -moz-background-inline-policy: continuous;
  -moz-background-origin: padding;
  background: #316AC5 none repeat scroll 0 0;
  color: #FFFFFF;
}

/* TipTip */

#tiptip_holder {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999;
}

#tiptip_holder.tip_top {
  padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
  padding-top: 5px;
}

#tiptip_holder.tip_right {
  padding-left: 5px;
}

#tiptip_holder.tip_left {
  padding-right: 5px;
}

#tiptip_content {
  font-size: 11px;
  padding: 4px 8px;
  border: 1px solid #333;
  color: #333;
  background-color: #eee;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  box-shadow: 0 1px 3px #777;
  -webkit-box-shadow: 0 1px 3px #777;
  -moz-box-shadow: 0 1px 3px #777;
}

#tiptip_arrow, #tiptip_arrow_inner {
  position: absolute;
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
  height: 0;
  width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
  border-top-color: #333;
}

#tiptip_holder.tip_bottom #tiptip_arrow {
  border-bottom-color: #333;
}

#tiptip_holder.tip_right #tiptip_arrow {
  border-right-color: #333;
}

#tiptip_holder.tip_left #tiptip_arrow {
  border-left-color: #333;
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
  margin-top: -7px;
  margin-left: -6px;
  border-top-color: #eee;
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
  margin-top: -5px;
  margin-left: -6px;
  border-bottom-color: #eee;
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -5px;
  border-right-color: #eee;
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
  margin-top: -6px;
  margin-left: -7px;
  border-left-color: #eee;
}

/* TipTip: Webkit Hacks  */

@media screen and (-webkit-min-device-pixel-ratio:0) {
  #tiptip_content {
    padding: 4px 8px 5px 8px;
    background-color: #eee;
  }
  #tiptip_holder.tip_bottom #tiptip_arrow_inner {
    border-bottom-color: #eee;
  }
  #tiptip_holder.tip_top #tiptip_arrow_inner {
    border-top-color: #eee;
  }
}

.fa-bbb:before, .icon-sakai-bbb:before {
  content: "\f03d";
}

.portletBody .icon-sakai-bbb {
  background-image: url(/library/image/silk/video_cam_available.png) !important;
}
