/**
 * @file
 * Node Styling
 *
 * Style anything that isn't in the $content variable.
*/


.node /* Node wrapper */ {
}

.node-sticky /* A sticky node (displayed before others in a list) */ {
}

.node-unpublished /* Unpublished nodes */ {
  /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
}



.node-unpublished div.unpublished,
.comment-unpublished div.unpublished /* The word "Unpublished" displayed underneath the content. */ {
  height: 0;
  overflow: visible;
  color: #d8d8d8;
  font-size: 75px;
  line-height: 1;
  font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  word-wrap: break-word; /* A very nice CSS3 property */
}

.node-by-viewer /* A node created by the current user */ {
}


/* All nodes are given a node-type-FOO class that describes the type of
 * content that it is. If you create a new content type called
 * "my-custom-type", it will receive a "node-type-my-custom-type" class.
*/
.node-type-page /* Page content node */ {
}

.node-type-story /* Story content node */ {
}


.node h2.title /* Node title */  {
margin-bottom: 5px;
max-width: 275px;
}



.node .title a:link,
.node .title a:visited {
  color: #C53512;
}

.activity span[class*='node-type-']:before,
.node .title:before {
  font-family: 'iconfonts', 'info';
  margin-right: 4px;
  content: '\f4d6';
  font-size: 20px;
  margin-right: 7px;
  position: relative;
  top: 1px;
  color: #C53512;
}

.activity span.node-type-blog:before,
.node.node-type-blog .title:before {
  content: '\f4d6';
}
.activity span.node-type-videocomment:before,
.node.node-type-videocomment .title:before {
  content: '\f3ac';
}
.comment .node-content .title.content-comment:before {
  content: '\e719';
}


.activity span.node-type-cmap:before,
.node.node-type-cmap .title:before {
  content: '\f4ce';
}

.activity span.node-type-external-content:before,
.node.node-type-external-content .title:before {
  content: '\f08e';
}

.activity span[class*='node-type-']:before {
  color: #646464;
}


.marker /* "New" or "Updated" marker for content that is new or updated for the current user */ {
  color: #c00;
}

.node .picture /* The picture of the node author */ {
}

.node.node-unpublished .picture,
.comment.comment-unpublished .picture {
  position: relative; /* Otherwise floated pictures will appear below the "Unpublished" text. */
}

.node .meta /* Wrapper for submitted and terms data */ {
}

.node .submitted /* The "posted by" information */ {
  color: #646464;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
}

.node .terms /* Node terms (taxonomy) */ {
}

/*
.node-content /* Node's content wrapper  {
  padding: 4px;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
background-color: #FEFEFE;
}
*/

.node-content {
   min-height:90px;
}

.node ul.links /* Node links. See also the ul.links declaration in the pages.css. */ {
}

.preview .node /* Preview of the content before submitting new or updated content */ {
  /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
}

div.panel-pane div.node.node.node-no-author, .node.node-no-author {
  /* border-bottom: 1px dashed #C8C8C8; */
  /* margin-bottom: 20px; */
  padding: 0 0 0px 0px;

}

div.panel-pane div.node.node,
.node {
  /* border-bottom: 1px dashed #C8C8C8; */
  /*    margin-bottom: 20px; */
  padding: 0 0 0px 100px;
  position: relative;
  width: auto;
  min-height: 90px;
}
div.panel-pane div.node.node-type-peer-feedback.node-teaser{

  min-height: 130px;
}

/* no padding for thsi nodes */
div.panel-pane div.node.node-type-page,
.node-type-multichoice.build-mode-full,
.node-type-video.build-mode-full,
div.panel-pane div.node.node-type-book-page,
div.panel-pane div.node.node-type-book  {
  padding: 0;
}

.node-type-video.build-mode-full{
  display: flex;
  flex-direction: column;
}



.panels_pane.panel-pane.pane-custom.pane-1.edubreak-visibility-info-wrapper{
  position: absolute;
  right: 0;
  margin: 0;
  margin-top: -60px;
  padding: 0;

}

.node-type-video.build-mode-full .node-content-video-details {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
}

.node-type-video.build-mode-full .picture,
.node-type-video.build-mode-full span.timestamp{
  position: relative;
}

.node-type-video.build-mode-full .edubreak_player_wrapper {
  background: black;
}

.node-type-video.build-mode-full .edubreak_player_wrapper .edubreakplayer {
  margin: auto;
}


div.panel-pane div.node.node-type-videocomment {
   min-height: 154px;;
}

.node:last-child {
  border: none;
}

.node .node-info {
  display: block;
  font-style: normal !important;
  margin-bottom: 2px;
  font-size: 13px;
  color: #BEBEBE;
}

.node img {
  /*border: 1px solid #C8C8C8;*/
}

.node .picture {
  position: absolute;
  top: 4px;
  left: 0px;
  width: 80px;
  height: 80px;
}

.node .picture img {
  max-width: 80px;
}

.node .picture .username {
  display: block;
}

.node p img {
  margin-right: 15px;
  margin-bottom: 12px;
}

.node h3 {
  font-size: 14px;
  color: #bebebe;
  font-weight: bold;
  margin: 0 0 2px 0;
}


.node-teaser .btn-group.node-links {
  position: absolute;
  top: 10px;
  right: 10px;
  display:none;
}
.node-teaser:hover .btn-group.node-links {
  display:block;
}

.node-teaser .btn-group.node-links .title:before {
  font-family: 'iconfonts', 'info';
  content: '\e804';
  font-size: 20px;
  color: #646464;
  display: inline-block;
  margin-right: 4px;
}

.node .node-links {
  float: right;
  bottom: -36px;
  position: absolute;
  right: 10px;
  padding-top:10px;
  padding-left:40px;
  z-index:1;
  background-color: transparent;
  min-width: 160px;
  text-align: right;
}
.node .node-links a {
  font-weight: normal;
  color: #C53512;
  font-size: 13px;
  display: none;
  margin-left: 12px;
}

.node-view:hover .node-links a,
.node-content:hover .node-links a
/*.views-row:hover .node-links a  */
{
  display: inline-block;
}

.node .terms .item-list,
.node .terms ul,
.node .terms ul li {
  display: inline;
}

#content-area .node .terms ul {
  margin-left: 2px;
}

.node .node-footer{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  padding: 10px 0;
  color: #BEBEBE;
  font-size: 13px;
}

.node .node-footer .last-edit:only-child{
  margin-left: auto;
}

.node .last-edit {
  text-align: right;
  flex: 1 0 auto;
  margin-left: 10px;
}

.node span.timestamp{
  position: absolute;
  right: 0px;
  top: 0px;
  display: inline-flex;
}

.node span.timestamp a:link,
.node span.timestamp a:visited
{
  color: #BEBEBE;
  display: block;
  font-size: 13px;
  font-style: normal !important;
  font-weight: normal;
}

/** Node view **/
.node-view  .node-view-left {
  width: 12px;
  float: left;
  display: block;
  padding: 4px;
}

.node-view .node-view-middle {
  width: 675px;
  float:left;
  border-right: 1px dashed rgb(200, 200, 200);
  padding-right: 4px;
}
.node-view .node-view-right {
  width: auto;
  float:left;
  margin-left:0px;
}



/* ICON FOR NDOE LINKS
.node .links a:before,
.edubreak_comments .links a:before {
  content: "✕";
  color: #C53512;
  display: inline-block;
  font-family: 'iconfonts';
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -2px;
  font-size: 13px;
}
*/
a.comment_delete_ajax:before,
.node .node-links a.delete-icon-after:before {
  font-family: 'iconfonts', 'info';
  content: '\2715';
  display: inline-block;
  margin-right: 3px;
}

.node .node-links a.edit-icon-after:before {
  font-family: 'iconfonts', 'info';
  content: '✎';
  display: inline-block;
  margin-right: 3px;
}

.node-teaser-dashboard {
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  padding: 4px;
  min-height: 180px;
  overflow: hidden;
}

.node-teaser-dashboard:hover {
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}



.node-teaser-dashboard  .teaser-left {
  float:left; width:290px;
}


.node-teaser-dashboard  .teaser-right {
  float:left; width:226px;
}


.node .node-content .field-field-videocomment-rating {
  position: absolute;
  /*top: 55px;*/
  right: 0px;
}


.node .field-field-videocomment-previewimage {
  float: left;
  margin-right: 4px;
}

#content-area .node-type-videocomment .group-player-details {
  float: left;
  margin-right:10px;
  margin-bottom: 0;
}
#content-area .node-type-videocomment p {
  margin-top: 20px;
  min-height: 112px;
}


.node .field-field-cmap-file {
  float: left;
  min-height: 86px;
  margin-right: 20px;
}

.page-error-404 .node img, .page-error-403 .node img  {
  border: none!important;
}


/** memo **/

.node-view .node-type-memo .node,
div.panel-pane div.node.node-type-memo.build-mode-teaser {
  padding:0;
}

.page div.node.node-type-memo{
  padding: 0;
}

.page.node-type-memo .node-view-left {
  width: 442px;
  padding-right: 14px;
}
.page.node-type-memo .node-view-right {

  overflow-y: auto;
  float: left;
  width: 454px;
}

.page.node-type-memo .node-view-right .node {
  padding: 0 0 20px 0;
}
/*
.page.node-type-memo .node-view-right .comment_add_ajax {
  display: none;
}
*/

.page.node-type-memo .node-view-right .node > .picture {
  display:none;
}

.page.node-type-memo .edubreak_comments {
  margin-left: 0;
  max-width: 452px;
}


.page div.node.node-type-memo .picture{
  position: relative;
  float: left;
  display: block;
    margin-right: 14px;
  margin-bottom: 14px;
}


/** memo teaser **/

.node-teaser.node-type-memo .body-left {
  float: left;

}
.node-teaser.node-type-memo .body-right {
  float: left;
  min-height: 1px;
  margin-left: 20px;
}

.node-view .node-type-memo .edubreak_comments {
  margin-left:0px;
}

/** context help **/
.node-type-contexthelp h1.title {
  margin-left: 98px;
}


/** (memo) mini teaser posts **/
.mini-teaser .videocomment-previewimage-fid,
.mini-teaser .views-field-field-videocomment-previewimage-fid {
  float: left;
  margin-right: 4px;
}

.mini-teaser .selector-info {
  display: inline-block;
  max-width: 300px;
  min-height: 32px;
}

.nodereference_previewselect_preview_item .edubreak_comments {
  display: none;
}

.nodereference-previewselect-preview-item-header .caret {
  border-width: 8px;
}

.nodereference-previewselect-preview-item-header:hover .caret, .open .caret {
  opacity: 1;
  filter: alpha(opacity=100);
}

.nodereference-previewselect-preview-item-header .preview-subject {
  float: left;
  max-width: 250px;
  font-size: 16px;
  text-align: left;
}

.nodereference-previewselect-preview-item-header .preview-date {
  font-style: italic;
  font-size: 13px;
}

.nodereference_previewselect_preview_item .panel-flexible  {
  margin-top:0px;
}

.nodereference-previewselect-preview-item-header .icon-cancel-circle {
  color:#fff;
  cursor: pointer;
}

.nodereference_previewselect_preview_item .node-content h2.title,
.nodereference_previewselect_preview_item .node-content > .timestamp {
  display:none;
}

.nodereference_previewselect_preview_item .node-content fieldset{
    margin: 0px;
}

.nodereference-previewselect-preview-item-header{
  background-color: #ccc;
  padding: 4px;
  text-align: right;
  height: 24px;
  color: #ffffff;
  text-align:right;
}

.nodereference-previewselect-preview-item-header .remove,
.nodereference-previewselect-preview-item-header .toggle{
  padding: 1px;
}
.nodereference-previewselect-preview-item-header .toggle{
  float:left;
}

.nodereference_previewselect_preview_item{
  -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  margin-left: 2px;
  margin-bottom: 10px;
  margin-right: 2px;
}
.block-nodereference_previewselect {
  height: 1px;
}

/**
 * Feedback contributions: Hide pciture and stuff;
 */

.feedback_contributions .node {
  padding: 0;
}
.feedback_contributions .node .picture {
  display:none;
}
.feedback_contributions .edubreak_comments {
  margin-left: 0px;
}

/** SHARE Feedback **/

.feedback_contributions .field-field-exercise-videos .field-item {
  display: inline-block;
}

.feedback_contributions {
  border-bottom: 1px dashed rgb(200, 200, 200);
}


#content-area .feedback_contributions .node-type-videocomment .group-player-details {
  float:none;
}

.book-navigation .page-links {
  border-top: 1px dashed #C8C8C8;
  border-bottom: none;
  text-align: center;
  padding: 0.5em;
}


.node-type-book-page .edubreak_comments,
.node-type-book .edubreak_comments {
margin-left: 0px;
max-width: 100%;
font-size: 13px;
clear: left;
}

.node-type-exercise h2 {
    font-size: 17px;
}

.node.node-type-quiz {
  padding: 0;
}

.node.node-type-quiz .quiz-no-assigment {
  color: red;
}

.modal-body div.panel-pane div.node.node,
.modal-body .node{
  padding: 0;
}

body.modal-body.admin-menu  {
      margin-top: 0 !important;
}

/** edubreakSHARE exercise teaser **/


.node.node-type-share-teaser {
  padding: 4px !important;
}

.node.node-type-share-teaser .node-links {
  display: flex;
  place-content: flex-end;
  bottom: 0;
  position: relative;
  margin: 0 4px 4px 0;
}

.node.node-type-share-teaser .node-links a {
  display: block;
  font-size: 14px;
}

.view-exercises-share .cockpit-table td.views-field-title {
  max-width: 240px;
}

.view-exercises-share .cockpit-table tr.cockpit_selector >td {
  padding:2px !important;
  min-height: 40px;
}

.view-exercises-share th.views-field {
  padding-left: 0px !important;
}

html.js fieldset.collapsible {
  margin-top: 0;
}

html.js fieldset.collapsible legend.comment_original_node_legend{
  margin-left: -6px;
}

html.js fieldset.collapsible legend.comment_original_node_legend a{
  font-weight: normal;
  font-size: 14px;
}

.comment_original_node h2.title,
.comment_original_node .node-content > .timestamp
{
  display: none;
}

.comment_original_node hr {
  margin: 5px 0;
}

div[class^="node-type-"] .node-view .node-view-middle .timestamp{
  float: right;
}

.edubreak-access-info .popover-content{
  width: max-content;
  max-width: 500px;
  display: block;
  min-width: 150px;
  padding: 5px 10px 20px 10px;
  -webkit-box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  color: #646464;
}

.edubreak-access-info .popover .item-list ul li {
  margin: 0 0 0.25em 1.5em;
  list-style-type: inherit;
}
.edubreak-access-info .popover h3{
  margin: 0 0 0 0;
  font-weight: bold;
  font-size: 14px;
  color: #646464;
}

.edubreak-access-info .icon-user,
.edubreak-access-info .icon-users-1,
.edubreak-access-info .icon-globe{
  font-size: 15px;
  color: #646464;
}

.feedback_contributions div.capty-wrapper {
   height: 304px !important;

}
