@media all
{

  body * {
    font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif;
  }

  h1 {
  
    font-size:200%;
  }

  h2 {
  
    font-size:150%;
  }

  h3 {
  
    font-size:120%;
  }

  h4 {
  
    font-size:110%;
  }

  h5 {
  
    font-size:100%;
  }

  h6 {
  
    font-size:100%;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin:0 0 0.5em 0;
/*    white-space:nowrap;*/
  }

  a, a:visited {
    color:#444444;
    background-color:transparent;
  }
        
  a:hover, a:focus, a:active {
    color:#666666;
    background-color:transparent;
    text-decoration:none;
  }
  
  /* chapter form */
  input,
  select,
  textarea {
    border: 1px solid #DDDDDD;
  }
  
  input:hover,
  select:hover,
  textarea:hover {
    border: 1px solid #888888;
  }

  /* hide banner per default */
  #banner {
    display:none;
  }


  /* uploader */

  #uploader .consolewrapper {
  
    border:1px solid #cccccc;
    margin-left: 30em;
    overflow:hidden;
    width:auto;
    padding:1em;
  }

  #uploader .queue-wrapper {

    width:26em;
    float:left;
    border:1px solid #cccccc;
    overflow:hidden;
    padding:1em;
  }


  #uploader .controls {
  
    height: 11em;
    overflow:hidden;
    margin:0 0.5em;
  }

  #uploader .buttons {
    float:left;
    width:11.5em;
  }

  #uploader .buttons button {
    
    width:100%;
  }

  #uploader .currentfile {
  
    float:right;
    width:12em;
  }

  #uploader .maxuploadsize {
    margin-bottom:0.5em;
  
  }

  #uploader .fileinfo,
  #uploader .status {
    margin-bottom:0.5em;
    overflow-x:hidden;
    white-space:nowrap;
  }

  #uploader .controls label {
  
    display:block;
    font-size:80%;
  }

  #uploader .progresswrapper {

    border:1px solid #000000;
    background:#550000;
    height:1.5em;
    width:auto;
  }

  #uploader .progressbar {
    
    background:#990000;
    width:0;
    height:1.5em;
    position:relative;
  }

  #uploader .progresstext {
  
    top:-1.5em;
    height:1.5em;
    color:#AAAAAA;
    text-align:center;
    background: transparent;
    position:relative;
  }

  #uploader .queue {

    height:24em;
    overflow-y:auto;
  }

  #uploader .queue .entry {

    background: #CCCCCC;
    padding: 0.25em;
    margin: 0 0.25em 0.25em;
    border: 1px solid #555555;
    width:auto;
  }

  #uploader .queue .entry:hover {

    background: #EEEEEE;
    border: 1px solid #555555;
  }

  #uploader .queue .entry .filename {
    width:22em;
    overflow:hidden;
    white-space:nowrap;
  }

  #uploader .queue .entry .filesize {
  }
  
  #uploader .queue .entry .button {
    float:right;
  }


  #uploader .console {

    height:35em;
    overflow-y:auto;
  }

 #uploader form {

    visibility:hidden;
    margin:0;
    width:0;
    height:0;
    overflow:hidden;
  }
  
  #uploader input {
    display:block;
  }


/* videogroup_view */  

  #videogroup_view #comment {
    min-height: 9em;
    text-align:justify;
    margin-bottom:1em;
  }

  #videogroup_view #comment img {

    margin-top:0;
    margin-right: 1em;
    margin-bottom: 0.25em;
    float:left;
  }

  

  #videogroup_view #tree {
    
    width:35%;
    overflow:hidden;
    float:right;
    margin-left:1em;
    padding-left:1em;
    margin-bottom:1em;
  }

  #videogroup_view #tree ul {
/*
    overflow-x:hidden;
    overflow-y:scroll;
    height:15em;
*/
  }
  
  #videogroup_view #tree ul li {
    list-style-type: none;
    overflow-x:hidden;
  }

  #videogroup_view #tree ul li.current {
    font-weight: bold;
  }

  #videogroup_view #tree ul li.inactive {
  
    color:#909090;
    font-style:italic;
  }


  #videogroup_view #tree ul li .controls {
    visibility: hidden;
  }

  #videogroup_view #tree ul li:hover .controls {
    visibility: visible;
  }


  #videogroup_view #videos 
  {
    margin-top:2em;
  }
  
  #videogroup_view #videos .video
  {
    height:14em;
    display:inline-block;
    overflow:hidden;
    margin-bottom:1em;
    margin-right:0.5em;
  }
  
  #videogroup_view #videos .video .comment {

    width:160px;
    overflow:hidden;
    display:inline;
    float:left;
  }

  #videogroup_view #videos .video .controls {
    float:right;
    width:20px;
    margin-left:4px;
    visibility:hidden;
  }

  #videogroup_view #videos .video:hover .controls {
    display:inline;
    visibility:visible;
  }

/* video_view */

  #video_view .controls {
  
    float:right;
  }
 
  #video_view #player_wrapper {
    width: 100%;
  }

  #video_view #player_aspect_box {
    position:relative;
    border: none;
  }

  #video_view #player {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:100%;
    border: none;
    padding:0;
    margin:0;
  }

  #video_view #download {
    float:right;
    margin-bottom:1em;
    margin-left:2em;
  }

  #video_view #details .tabbody {

    margin:1em;
  }

  #video_view #embed_wrapper textarea {
    width:100%;
    margin-right:0em;
    height:7em;
  }

  #video_view #embed_wrapper form {
    font-size:80%;
  }

  #video_view #embed_wrapper form input {
    width: 4em;
  }

  #video_view #embed_wrapper form  input[type=submit] {
    width: 8em;
  }


  #video_view #embed_wrapper form label {
    display:block;
  }

  #video_view #embed_wrapper form label[for=autoplay] {
    display:block;
  }

  #video_view #embed_wrapper form #autoplay {
    width:auto;
    margin-right:0.5em;
    float:left;
  }

  form  .disabled {
    background-color:#BBBBBB !important;
  }
 
  /* video_chapter */
  #video_chapter .controls {
    float:right;
  }

  #video_chapter #player_wrapper {
    margin-right: 40%;
  }
  
  #video_chapter #player_aspect_box {
    position:relative;
    border: none;
  }

  #video_chapter #player {
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width:100%;
    height:100%;
    border: none;
    padding:0;
    margin:0;
  }


    #video_chapter .sf_admin_form_row input[type="text"],
    #video_chapter .sf_admin_form_row textarea {
        min-width: 100%;
    }

    #video_chapter .sf_admin_form form {
        border: 0;
        padding-top: 0;
    }
    #video_chapter td.thumb {
    }
    #video_chapter td.thumb img {
        height: 2em;
    }

  /* home */
  #index_home .ym-grid {
    margin-top: 2em;
  }

  #index_home .ym-gbox div {
    margin-bottom: 1em;
  }

  /* backend home */
  #backend_index_home #credentials .ym-gbox {
	text-align:center;
  }

  #backend_index_home #credentials .ym-grid {
    margin-top:2em;
  }

  #backend_index_home #image {
    margin-left:1em;
  }
  
  #backend_index_home #text {
    text-align: justify;
  }
  
 
  /* about */
  #index_about #licence {
    
    margin-top:5em;
    font-size:80%;
    color:#999999;
  }

  #index_about #licence a {
    
    color:#999999;
    text-decoration: underline;
  }

  /* frontpage */
  #auth_index #banner {
    display:block;
  }

  #auth_index #banner img {
    width:100%;
    height: auto;
  }

  #auth_index #frontpage_text {
    text-align: justify;
    margin-right:1em;
  }

/* qtip2 tooltip */

  .qtip .qtip-content ul {
    margin-left:0;
  }

  .qtip .qtip-content ul li {
    list-style-type: none;
    margin-left:0;
    font-size:90%;
  }

  .qtip .qtip-content ul li img {
    float:left;
    margin-right:1em;
    margin-bottom:1em;
    width:80px;
    height:60px;
  }

  .qtip .qtip-content ul li label {
    float:left;
    width:10em;
  }

  .qtip .qtip-content ul li.comment {
    text-align:justify;
  }
 

  /* statistics */
  #statistics_index select[disabled],
  #backend_statistics_index select[disabled],
  #statistics_index select[disabled]:hover,
  #backend_statistics_index select[disabled]:hover {
    border: 1px solid #ddd;
    background: initial;
  }
  #statistics_index h2,
  #backend_statistics_index h2 
  {
    margin-top: 20px;
  }
  
  #statistics_index .ym-wrapper,
  #backend_statistics_index .ym-wrapper 
  {
    min-width: 80em;
  }
  
  #statistics_index .statistic_information .ym-clearfix,
  #backend_statistics_index .statistic_information .ym-clearfix 
  {
    line-height: 20px;
    padding: 8px 5px;
    margin-right: 200px;
  }
  
  #statistics_index .statistic_information .ym-clearfix:nth-child(odd),
  #backend_statistics_index .statistic_information .ym-clearfix:nth-child(odd) 
  {
    background-color: #F5F5F5;
  }
  
  #statistics_index .statistic_information .ym-clearfix:nth-child(even),
  #backend_statistics_index .statistic_information .ym-clearfix:nth-child(even) 
  {
    background-color: #E9E9E9;
  }
  
  #statistics_index .statistic_information .ym-gl,
  #backend_statistics_index .statistic_information .ym-gl
  {
    font-weight: bold;
    text-align: right;
  }
  
  #statistics_index .statistic_information .ym-gr div,
  #backend_statistics_index .statistic_information .ym-gr div 
  {
    margin-left: 20px;
  }
  
  #statistics_index form,
  #backend_statistics_index form 
  {
    margin-top: 0px;
  }
  
  #statistics_index form select,
  #backend_statistics_index form select 
  {
    width: 100%;
  }
  
  #statistics_index form label,
  #backend_statistics_index form label 
  {
    line-height: 20px;
  }
  
  #statistics_index form .ym-grid,
  #backend_statistics_index form .ym-grid 
  {
    padding: 8px 0px;
  }
  
  #statistics_index form .ym-clearfix,
  #backend_statistics_index form .ym-clearfix 
  {
    padding: 0px 8px;
  }
  
  #statistics_index form .ym-message,
  #backend_statistics_index form .ym-message 
  {
    margin-left: 0.8em;
  }
  
  #statistics_index form .ym-message,
  #backend_statistics_index form .ym-message 
  {
    margin-bottom: 10px;
    color: #FF3333;
  }
  
  #statistics_index form input[type="submit"],
  #backend_statistics_index form input[type="submit"] 
  {
    display: block;
    width: 100%;
    margin: 10px 0px 0px;
  }
  
  #statistics_index #statisticsfilter_start_date,
  #statistics_index #statisticsfilter_end_date,
  #backend_statistics_index #statisticsfilter_start_date,
  #backend_statistics_index #statisticsfilter_end_date 
  {
    display: inline-block;
    width: 100px;
  }
  
  #statistics_index .ui-datepicker-trigger,
  #backend_statistics_index .ui-datepicker-trigger 
  {
    margin-left: 5px;
  }

  /* flot statistics tooltip */
  .statistics #tooltip,
  .backend_statistics #tooltip
  {
      position: absolute;
      display: block;
      border: 1px solid #666666;
      padding: 4px;
       background-color: white;
        border-style:solid;
        border-width:1px;
	font-size: 70%;
  }
    
  .statistics #tooltip table,
  .backend_statistics #tooltip table 
  {  
      margin-top: 5px;
  }
    
  .statistics #tooltip table tr, #tooltip table td, #tooltip table th, #tooltip table,
  .backend_statistics #tooltip table tr, #tooltip table td, #tooltip table th, #tooltip table 
  {  
      border: 0;
      padding: 2px;
  }
    
  .statistics #tooltip table th,
  .backend_statistics #tooltip table th 
  {  
      color: #666666;
  }
    
  /* flot chart styles */
  .statistics div.legend table,
  .backend_statistics div.legend table 
  {
	  margin: 0;
	  width: auto;
	  padding: 0;
	  border: 0;
  }
  
  .statistics div.legend tbody td,
  .backend_statistics div.legend tbody td 
  {
	  border: 0;
	  font-size: 80%;
  }
    
  /* embed form */
  div.embed-form .ym-fbox {
      padding: 0 0 0 1em;
      margin: 0.5em 0 0.5em 0;
  }
  
  #chapterlist tr.active, #video_view #chapterlist div.chapterlist_item.active a {
      color: red;
  }
  
  #sf_admin_container thead img, #sf_admin_container tfoot img {
	  margin: -2px -2px 0 -2px;
	  vertical-align: middle;
  }
  
/* datepicker */
  .ui-datepicker .ui-datepicker-header {
    background-image: none;
    background-color: #15385F;
    border-color: #15385F;
  }
  
  .ui-state-default,
  .ui-widget-content .ui-state-default {
    color: #7AAED5;  
  }
  
  .ui-state-default.ui-state-active,
  .ui-widget-content .ui-state-default.ui-state-active,
  .ui-widget-content .ui-state-default.ui-state-hover,
  .ui-state-default.ui-state-highlight,
  .ui-widget-content .ui-state-default.ui-state-highlight {
    color: #CF112D;
    border-color: #CF112D;
    background-image: none;
    background-color: rgba(207,17,45,0.1);
  }
  
  .ui-widget-content .ui-datepicker-prev.ui-corner-all.ui-state-hover,
  .ui-widget-content .ui-datepicker-next.ui-corner-all.ui-state-hover {
    border-color: transparent;
    background-image: none;
    background-color: transparent;
  }
  
  /* from yaml removed css */
  .ym-form div.ym-fbox-text,
  .ym-form div.ym-fbox-select,
  .ym-form div.ym-fbox-check,
  .ym-form div.ym-fbox-button {
    padding: 0.3em 1em;
    margin-bottom: 0.5em;
  }
  
  .ym-form div.ym-fbox-button {
    background: #ececec;
    border-top: 1px #e0e0e0 solid;
    padding: 0 1em 1.5em 1em;
    margin: 0;
  }
  
  .ym-button,
  .ym-form button,
  .ym-form input[type="button"],
  .ym-form input[type="reset"],
  .ym-form input[type="submit"] {
    margin: 1.5em 0.75em 0 0;
  }
  
  ul, ol, dl {
    margin: 1.5em 0 0 1em; 
  }
  
  table {
    margin: 1.3571em 0 0 0;  
  }
  
  p {
    margin: 1.5em 0 0 0;
  }
  
  #video_view .jquery_tabs {
    margin: 1.5em 0 0;
  }
  
  div#player_aspect_box {
    margin: 0px !important;
    padding: 0px !important;
    position: relative !important;
  }

  div#player_aspect_box iframe {
    border: none !important;
    width: 100% !important;
    position: absolute !important;
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    height: 100% !important;
  }

  .label {
  
    background:#999;
  }

  .vms-chapter .thumb img:hover {
    -webkit-transform: scale(3);
    -moz-transform: scale(3);
    -o-transform: scale(3);
    transform: scale(3);
  }

  #chapterlist td.thumb {
      overflow: inherit;
      height: auto;
  }
  .vms-chapter .thumb img {
/*    margin:25px;*/
    margin: 0 auto;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
  }

  #video_chapter .sf_admin_form_row #timestring,
  #video_chapter .sf_admin_form_row #pos {
    min-width: 0;
    width: 5em;
    text-align: center;
  }
  #video_chapter .sf_admin_form_row #pos {
  }

  #video_chapter button#copybutton {
    width: calc(20% - 12px);
    border: none;
    margin: 0;
    padding: 0;
    display: inline;
  }

}
