@bg_color_even: #e9e9e9;
@bg_color_even_hover: #c4c4c4;
@bg_color_odd: #ffffff;
@bg_color_odd_hover: #c4c4c4;

@assignment_init_blue_color: #f9f7f8;
@assignment_init_color: #f9f7f8;
@assignment_accept_color: #effee7;
@assignment_maybe_color: #fffbb4;
@assignment_reject_color: #ffeced;

@assignment_dark_init_blue_color: #f9f7f8;
@assignment_dark_init_color: #f9f7f8;
@assignment_dark_accept_color: #d2fbbb;
@assignment_dark_maybe_color: #fef78a;
@assignment_dark_maybe_color: #fef78a;
@assignment_dark_reject_color: #fdbdc0;

@default_border_color: #C3C7CA;

@mainwidth: 958px;
@calendarheight: 620px;


html, body{
  min-height: 100%;
}
body{
  position: relative;
}
.overlay{
  display:none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  background-color: rgba(0,0,0,0.5); /*dim the background*/
}

.input_readonly {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}


input[type=time] {
  width: 90px;
}

a.viewable {
  text-decoration: underline;
}

.text_shadow {
  text-shadow: #000000 2px 2px 2px;
}

.rounded_corners(@radius: 5px ) {
  border-radius: @radius;
  -webkit-border-radius: @radius;
  -moz-border-radius: @radius;
}

.default_border {
  border: 1px solid @default_border_color;
}

.odd, .odd .label, .odd .field, .odd td, tr.odd td {
  background-color: @bg_color_odd !important;
}

.even, .even .label, .even .field, .even td {
  background-color: @bg_color_even;
}

#header {
  z-index: 10; /* set from 0 to 10 because otherwise navigation would be behind content */
}

#header #header_separator {
  background-color: #FE0000;
  height: 3px;
  position: relative;
  top: 90px;
}

#header_bar {
  text-align: right;
}

#event_edit #person label {
  margin-right: 0px;
}

#event_edit .invitation_headline, .role_type_headline {
  padding: 10px;
  width: 197px;
  float: left;
  margin: 5px 5px;
  background-color: #FFFBB4;
}

.assignment_form {
  .delete_link {
    padding-top: 14px;
  }

}

.assignment_form .invitation {
  margin-bottom: 10px;


  border-bottom: 1px solid #c3c7ca;
  border-top: 1px solid #c3c7ca;


}

.assignment_form .absences .invitation {
  border: 0px;
}

.invitation_state_init {
  background-color: @assignment_init_color;
}

.invitation_state_accept {
  background-color: @assignment_accept_color !important;
}

.invitation_state_maybe {
  background-color: @assignment_maybe_color;
}

.invitation_state_reject {
  background-color: @assignment_reject_color;
}

tr.invitation_state_init td {
  background-color: @assignment_init_color !important;
}

tr.invitation_state_accept td{
  background-color: @assignment_accept_color !important;
}

tr.invitation_state_maybe td {
  background-color: @assignment_maybe_color !important;
}

tr.invitation_state_reject td {
  background-color: @assignment_reject_color !important;
}


.assignment_form, #event_show .invitations {
  .upper_row {
    height: 95px;
  }
  .lower_row {
    height: 40px;
  }

  .radio_group {
    text-align:left;
    margin: 0px auto;
  }

  .datetime1 .middled, .datetime2 .middled {
    width: 110px;
  }


  .submit_event, .submit_all {
    width:200px;
    .rounded_corners(2px);
    line-height:27px;
    background-color: #ececec;
    border:1px solid #666666;
    height: 27px;
    text-align:center;
    font-weight:bold;
    cursor:pointer;
    display:none;
  }

  .middled_container {

    height:60px;


  }
  //
  //.middled_container:before {
  //  content: '';
  //  display: inline-block;
  //  height: 100%;
  //  vertical-align: middle;
  //  margin-right: -0.25em; /* Adjusts for spacing */
  //
  //  /* For visualization
  //  background: #808080; width: 5px;
  //  */
  //}

  .middled {
    display: inline-block;
    vertical-align: middle;
  }
}

.assignment_form .section.upper_row {

    padding-top: 10px;

}

.assignment_form .section {

  border-right: 1px solid #D3D3D3;

  text-align: center;




  input {
    float:none;
  }
}

.assignment_form .section .error {
  text-align: center;
  padding-top: 3px;
}



.assignment_form .section .section_header {
  font-size: 14px;
  font-weight: bold;
  height: 25px;
}



.assignment_form .static_invitation_state {
  margin: 15px auto;
  text-align: center;
}

.submit_error {
  float: right;
  margin-right: 20px;
  line-height: 30px;
  color: #b3092b;
  display: none;
}

.double_column {
  float: left;
  width: 49.5%;
}

.double_column_spacer {
  float: left;
  width: 1%;
}

.double_second {
  margin-left: 30px;
}

.third_column {
  float: left;
  width: 32%;
}

.two_third_column {
  width: 623px;
  float: left;
}

.third_content_box {

  width: 301px;
  float: left;
}

.two_third_content_box {

  width: 603px;
  float: left;
}

.third_column_middle {
  margin: 0px 2%;
}

#header #menu ul li {
  border-left: 1px solid #D6D5DA;
  display: inline-block;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: 150px !important;
  z-index: 1000;

}

#submenu ul {
  list-style-type: none;
}

#submenu li {
  float: left;
}

.error ul li {
  float: none !important;
}

.invalid {
  border: 1px solid red;
}

#organization_seasons {

  table {
    width: 100%;
  }

  padding: 10px;

  tr {
    height: 45px;
  }

  .team_name {
    text-align: left;
    width: 30%;
  }

  .next_season {
    text-align: left;
    width: 70%;
  }

  .name {
    width: 250px;
    text-align: left;

    input {
      width: 230px;
    }
  }

  .dateStart, .dateEnd {
    padding: 0px 25px;
    width: 200px;
    text-align: center;

    input {
      width: 200px;
      text-align: center;
    }
  }

  .feedback {
    display: none;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    margin: 10px 0px;

    h4 {
      margin: 15px 0px;
    }

    .sub_headline_1 {
      margin-bottom: 10px;
    }

    .sub_headline_2 {
      margin-bottom: 10px;
      text-decoration: underline;
    }

    tr {
      height: 25px;
    }
  }

}

.a_login {
  form {
    width: 300px;
    margin: 80px auto;
    text-align: center;

    input[type=text], input[type=password] {
      width: 200px;
      float: none;
    }

    .small_label {
      width: 157px;
      text-align: left;
      margin-left: 50px;

      color: #666;
    }
  }

}

#locations_filter {
  margin-right:10px;
  margin-bottom:10px;
}

#location_edit {
  textarea {

    height: 100px;
  }
}

#main_listing_staff_overview {
  .name {
    width: 600px;
  }
}

.first_steps {

  table {
    margin: 0px auto;
    border-spacing: 20px;
  }
  td {

  }
}

.first_steps_button {
  width: 400px;
  height: 40px;
  display: block;
  font-size: 16px;
  padding: 10px;
  text-align: center;
}

.big_button_grey {
  background: rgb(252, 252, 252);
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZmNmYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, rgb(252, 252, 252) 0%, rgb(204, 204, 204) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(252, 252, 252)), color-stop(100%, rgb(204, 204, 204)));
  background: -webkit-linear-gradient(top, rgb(252, 252, 252) 0%, rgb(204, 204, 204) 100%);
  background: -o-linear-gradient(top, rgb(252, 252, 252) 0%, rgb(204, 204, 204) 100%);
  background: -ms-linear-gradient(top, rgb(252, 252, 252) 0%, rgb(204, 204, 204) 100%);
  background: linear-gradient(to bottom, rgb(252, 252, 252) 0%, rgb(204, 204, 204) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#cccccc', GradientType=0);

}

.big_button_grey:hover {
  background: rgb(234, 234, 234);
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VhZWFlYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjY2NjY2MiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, rgb(234, 234, 234) 0%, rgb(204, 204, 204) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(234, 234, 234)), color-stop(100%, rgb(204, 204, 204)));
  background: -webkit-linear-gradient(top, rgb(234, 234, 234) 0%, rgb(204, 204, 204) 100%);
  background: -o-linear-gradient(top, rgb(234, 234, 234) 0%, rgb(204, 204, 204) 100%);
  background: -ms-linear-gradient(top, rgb(234, 234, 234) 0%, rgb(204, 204, 204) 100%);
  background: linear-gradient(to bottom, rgb(234, 234, 234) 0%, rgb(204, 204, 204) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaeaea', endColorstr='#cccccc', GradientType=0);
}

.gradient_light_grey {
  background: rgb(255, 255, 255);
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmYyZjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(255, 255, 255)), color-stop(100%, rgb(242, 242, 242)));
  background: -webkit-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 100%);
  background: -o-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 100%);
  background: -ms-linear-gradient(top, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 100%);
  background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgb(242, 242, 242) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f2f2f2', GradientType=0);

}

.imprint table td {
  padding: 20px;
}

.privacy h4 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.privacy ul {

  padding-left: 20px;
}

.privacy ul li {
  list-style-type: disc;

}

table.referees {
  td, th {
    padding: 10px;
  }
}

#contact_table {
  th, td {
    padding: 10px;
  }
}

.subteam_container {

  h4.subteams {
    margin: 5px;
  }

  table.subteams td {
    padding: 5px;

    .all, .no_one {
      cursor: pointer;
      text-decoration: underline;
    }
  }
}

.attendance_detail_table, .attendance_detail_legend {
  td.init, div.init {
    background-color: @assignment_dark_init_color !important;
  }

  td.accept, div.accept {
    background-color: @assignment_dark_accept_color  !important;
  }

  td.reject, div.reject {
    background-color: @assignment_dark_reject_color  !important;
  }

  td.maybe, div.maybe {
    background-color: @assignment_dark_maybe_color  !important;
  }

  //  td.init {
  //    background-color: @assignment_init_color;
  //  }
  //
  //  td.accept {
  //    background-color: @assignment_accept_color;
  //  }
  //
  //  td.reject {
  //    background-color: @assignment_reject_color;
  //  }
  //
  //  td.maybe {
  //    background-color: @assignment_maybe_color;
  //  }

  td.uninvited, div.uninvited {
    background-color: gray  !important;
  }
}

.centered_message {
  width: 100%;
  text-align: center;
  height: 500px;
  padding-top: 200px;
  font-size: 16px;
  color: #666;
}

#mobile_menu_icon {
  display:none;
}

#navi_arrow {
  padding-top:5px;
}

#mmmenu {
  background-color: #e0e0e0;
}


@media only screen and (max-device-width: 480px),
only screen and (max-device-width: 768px),
only screen and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape)
{

  nav#mmenu {
    display:none;
  }
  #mobile_menu_icon {

    display: inline-block;
    width: 50px;
    height: 50px;
    margin: 5px;
    padding: 9px;
    border: 1px solid black;
    border-radius: 2px;

    img {
      width: 30px;
      height: 30px;

    }
  }

  #header #menu #middle {
    text-align:left;
  }

  #header #logo {
    left: 99px;
    width: 80px;
    height: 80px;

  }

  #header #logo img {
    max-width: 91%;
    max-height: 91%;
  }

  #header #title {
    width: 450px;
    left: 210px;
  }

}

.show_page {
  .topic {

    border-top: 1px solid #bbb;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #eee;

  }
}

body.c_location {
  #locations a {
    text-decoration: underline;
  }
}

#location_show .columns {
  padding:10px 25px;
}


#location_delete_box {
  position:fixed;
  display:none;
  background-color: #fff;
  top:200px;

  z-index: 100;
  top: 50%;
  left: 50%;
  margin-top: -100px;
  margin-left: -250px;


  border: 2px solid rgb(187, 187, 187);
  width: 500px;
  height: 300px;
  .content_box {
    background-color: #fff;
    margin-bottom: 0px;
  }
}

.delete_confirm_close {
  position:absolute;
  top: 10px;
  right: 10px;
  display:block !important;
}

#delete_confirm_select {
  text-align:center;
}

#delete_confirm_replace {
  margin: 20px 0px;
  width: 90%;
}

#delete_location_final {
  margin:20px auto;
}

#location_error {
  width:80%;
  color: #b3092b;
  margin:0px auto;
}

.green {
  color: green;
}

.checkmark {
  font-size:20px;
}
#community_sms,
#community_email {

  .team_box {

    margin-bottom: 10px;

    .description {

      //      background-color: #f9f7f8;
      padding: 10px;

      .team {
        float: left;
      }

      .fold_link, .no_persons {
        float: right;
        cursor: pointer;
      }

    }



  }
  .error a {
    text-decoration:underline;
    font-weight: bold;
  }

  .person_box_headline {
    font-weight: bold;
    margin: 5px;
  }

  #characters_left {
    width: 30px;
  }

  .person_box_container {
    padding: 10px;
    display: none;
  }

  .person_box {
    float: left;
    width: 222px;
    margin: 2px 5px;

  }

  .field {
    width: 780px;
    height: auto;

    .hint {
      font-size: 10px;
      padding-left: 20px;
    }

    textarea,
    input {
      width: 390px;
    }

    textarea {
      height: 50px;
    }
  }

  #sms_description .label {
    width: 200px;
    line-height: 1.3em;
  }

  #sms_description .field {
    width: 500px;

  }

}

.file_element {

  height: 20px;
  padding: 5px 0px;

  .filename {
    float: left;
    width: 400px;
  }

  .delete_file {
    float: right;
    width: 100px;
    text-align: center;
    cursor: pointer;

    img {
      height: 20px;
      width: 20px;
    }
  }

  .preview {
    float: left;
  }

}

#teaser {
  table {
    margin: 10px 0px;
    width: 100%;

    td {
      padding: 5px;
    }

    tr {
      height: 30px;
    }

    tr#create td {
      padding-bottom: 20px;
    }

    a {
      text-decoration: underline;
    }

    .add {
      position: relative;
      top: 4px;
      margin-right: 5px;
    }

  }

}

#teaser_form,
#article_form {

  .label {
    width: 200px;
  }
  .hint {
    font-size: 10px;

  }

  .team_label {
    line-height: 1.3em;

    label {
      width: 150px;
    }
  }

  .field {
    width: 250px;
  }

  .fullwidth {
    .field {
      width: 622px;

      input {
        width: 612px;
      }
    }
  }

  input[type="checkbox"] {
    position: relative;
    top: 5px;
  }

  .preview {
    position: relative;
  }

  .preview img {
    width: 30px;
    height: 30px;
  }

  .big_preview {

    display: none;
    position: absolute;
    border: 4px solid #fff;
    top: 0px;
    left: 0px;
  }

  .big_preview:hover {
    display: block;
  }

  .preview .big_preview img {
    width: 300px;
    height: auto;
    z-index: 100;

  }

  #files {
    .file_element {

      .filename, preview, delete_file {

      }

      .filename {
        width: 300px;
        float: left;

      }
      .preview {
        width: 60px;
        float: left;
        position: relative;
        z-index: 1;
      }

      .delete_file {
        width: 120px;
        float: left;
      }
    }
  }

}

#teaser_form .error {

  color: #b3092b;


}

#teaser_form .double_form_column_element select#teaser_teams {
  height: 100px;
  background-color: #fff;
}

.main_listing {

  margin-bottom: 20px;

  .header {

    font-size: 17px;

  }

  table {

    width: 100%;
  }

  .header {
    padding: 5px 20px;
  }

  .separator {
    height: 2px;
  }

  table tr td {
    padding: 8px;
    padding-left: 20px;
  }

}

#main_listing_training_overview {
  .name {
    width: 300px;
  }

  .location {
    width: 200px;
  }

  .time_start {
    width: 150px;
  }
}

#non_logged_in label {
  white-space: normal;
  line-height: 1.2em;
  display: block;
}

#articles {
  width: 100%;

  .article_edit_link, .article_show_link, .article_delete_link {
    text-align: center;
    width: 15%;
  }
}

#teasers {

  .teaser_edit_link, .teaser_delete_link {
    text-align: center;
    width: 15%;
  }

}


#personal_assignment {
  position: relative;
}

#personal_assignment .tab_content {
  padding: 10px 0px;
}

#assignment_search, #overview_search {
  position: absolute;
  top: 0px;
  right: 10px;
  z-index: 1;
}

div.table.absences {

  .date_start, .date_end {
    width: 15%;
  }

  .message {
    width: 30%;
  }

  .save {
    width: 20%;
  }

  .delete {
    width: 20%;
  }

  .multilogin {
    .person {
      width: 20%;
    }

    .message {
      width: 20%;
    }

    .save {
      width: 15%;
    }

    .delete {
      width: 15%;
    }
  }

  .delete_link {
    height: 28px;
    line-height: 39px;

  }

  .submit_loading {
    top: 8px;
    position: relative;
    margin: 0px auto;
    margin-top: 5px;
  }

  .td, .th {
    padding: 10px;

    input[type=text] {
      float: none;
    }
  }

  .ajax_submit {
    width: 120px;
  }
}

#tabs ul.subevents li {
  float: none;
  margin-bottom: 10px;

  .field:first-child {
    margin-right: 0px;
  }

  .field input {
    margin: 0px 5px;
  }
}

#tabs #column_header .field:first-child {
  margin-right: 21px;
  margin-left: 5px;
}

#tabs #column_header .input_text_xl,
#tabs #column_header .input_text_m,
#tabs #column_header .input_text_s,
#tabs #column_header .input_text_xs,
#tabs #column_header .input_text_xxs {

  margin-right: 8px;

}

#score_we {
  position: relative;
  left: -5px;
  margin-right: 10px;
}

#automatic_reminder {
  margin-top: 0px;
  background: #fff;
}

#manual_reminder {
  background: #fff;
}

#automatic_reminder table {

  .who {
    width: 190px;
    text-align: left;
  }

  .activate {
    width: 100px;
    text-align: center;
  }

  .days {
    width: 150px;
    text-align: center;
  }

  .options {
    width: 300px;
    text-align: left;
  }
}

#notification_persons {
  width: 350px;
  float: left;

  h4 {

  }

  .label {
    height: 1em;
    line-height: 1.6em;
  }

  .widget {
    width: 30px;
    margin-left: 5px;
    float: left;
  }

  hr {
    width: 207px;
    position: relative;
    top: 10px;
    margin-bottom: 20px;
    margin-left: 5px;

  }
}

form#event_edit #event_notification_invitation_group_selection_notify_group .expanded_choice_item {

  margin-left: 0px;

  input, label {
    float: left;
    margin-top: 3px;
  }
  label {
    width: 150px;
    line-height: 20px;
  }
}

#invited_persons {
  .label, label {
    width: 220px;
  }

  .widget {
    width: 30px;
  }
}

form#event_edit {

  #master select {
    width: 280px;
  }

  input[type=time] {
    width: 90px;
    margin-right: 10px;
  }

  #base_data_date_time input[type=time] {

    margin-left: 50px;

  }
  .time_field_group label {
    line-height: 30px;
  }

  .time_suffix {
    line-height: 30px;
  }

  .time_suffix .error {
    line-height: normal;
  }

  .meetreturn_time {
    margin-right: 30px;
  }

  .double_second .input_text_xl {
    margin-right: 15px;
  }

  .expanded_choice_item {
    input, label {
      float: left;
      line-height: 30px;
    }

    input {
      margin-top: 7px;
    }

  }

  #subevents {

    #add_link, tr.subevent_row {
      height: 40px;
    }

    .identifier {
      width: 120px;
    }

    .date {
      width: 120px;
    }

    .time {
      width: 120px;
    }

    .team {
      width: 120px;
    }

    .opponent {
      width: 180px;
    }

    .homefield {
      width: 40px;
    }

    th.score {
      width: 100px;
      text-align: center;
    }

    td.score, td.score_opponent, .sub_score {
      width: 50px;
      text-align: center;

      input {
        float: none;
        margin: 0px;
      }
    }

    .delete {
      width: 100px;
    }
  }

  .training_time input {
    float: none;
  }

  .valid_with_open input[type=text] {
    float: none;
    margin-left: 55px;
  }
}

#notification {
  padding: 10px;
}

#notification_options {
  width: 530px;
  float: left;
}

#notification_type {

}

form#event_edit #notification_type .expanded_choice_item {
  width: 120px;
  margin-left: 0px;
  margin-right: 10px;

}

#notification_text {

  padding-top: 20px;

  textarea {
    width: 530px;
    height: 200px;
  }

}

// mce box
.defaultSkin table.mceToolbar, .defaultSkin tr.mceFirst .mceToolbar tr td, .defaultSkin tr.mceLast .mceToolbar tr td,
#notification_text .defaultSkin .mceStatusbar {
  background-color: #fff !important;
}

/** Event overview **/

.event_overview_block {
  margin-bottom: 20px;
}

table.event_overview {

  .nothing_available {
    text-align: center;
    height: 120px;
  }

  margin-bottom: 20px;
  width: 100%;

  td.headline {
    border: none;

    font-size: 14px;
  }

  th.team, td.team {
    text-align: center;
  }

  .multi_user {

    th.datetime1, th.datetime2,
    td.datetime1, td.datetime2 {
      width: 130px;
    }

    th.team, td.team {
      width: 70px;
      text-align: center;
    }

    th.name, th.location {
      width: 200px;
    }

    th.details, td.details {
      width: 100px;
    }

    th.person, td.person {
      width: 210px;
    }
  }

  .single_user {
    th.datetime1, th.datetime2,
    td.datetime1, td.datetime2 {
      width: 150px;
    }

    th.team, td.team {
      width: 100px;
      text-align: center;
    }

    th.name, th.location {
      width: 250px;
    }

    th.details, td.details {
      width: 10px;
    }

    th.person, td.person {
      width: 00px;
    }
  }

  td, th {
    padding: 10px;

  }

  td {

  }

  th {
    text-align: left;

  }

  tr.placeholder {
    height: 50px;

    td, th {
      border-bottom: none;
    }
  }

  #future_trainings_placeholder {
    height: 20px;
  }

  #load_more_row td {
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
  }

  .loading {
    display: none;
    height: 25px;
  }

}

#event_show {

  .all_link {
    width: 100%;
  }

  .full_width_information {
    padding: 10px;
  }

  .topic div {
    float: left;
  }
  #first_topic {

    border-top: none;
  }
  #enable_assignment, #enable_attendance, #enable_score_editing, #enable_training_day_edit,  #enable_single_event_edit {
    float: right;
    text-decoration: underline;
    cursor: pointer;

  }

  #invitation_summary {
    margin-left: 100px;
  }

  .label {
    padding-left: 10px;

  }

  .widget {
    font-weight: bold;
    line-height: 1.5em;
    border-bottom: 10px;
  }

  .subevents {

    width: 100%;
    margin-bottom: 20px;
    padding-left: 10px;

    tr {
      height: 40px;
    }

    .date, .time {
      width: 120px;
    }

    .opponent, .subteam {
      width: 200px;
    }

    .subteam {
      font-weight: bold;
    }

    .score {
      width: 50px;
    }

    .score input {
      width: 40px;
      text-align: center;

    }

    .score_separator {
      width: 30px;
      text-align: center;
    }

    .align_right {
      padding-right: 10px;
    }

  }

  .table {
    display: table;

    .tr {
      display: table-row;
    }

    .td, .th {
      display: table-cell;

    }
  }

  .invitations {

    width: 100%;

    margin-bottom: 20px;
    .tr {
      height: 40px;
    }

    .tr.header {
      height: 55px;
    }

    .th, .td {
      padding-left: 10px;
      border-bottom: 1px solid #ccc;
      line-height: 25px;
      vertical-align: middle;

    }

    .person, .message {
      text-align: left;

    }

    .person {
      width: 200px;
    }

    .message {
      width: 220px;
    }

    .state, .car, .seats {
      width: 100px;
      text-align: center;
    }

    .attendance {
      width: 200px;
      text-align: center;
    }

    .seats input {
      width: 60px;
      float: none;
      text-align: center;
    }

    .align_right {
      padding-right: 10px;
    }

    .save_column {
      width: 120px;
      text-align: center;
    }

    .submit_event, .submit_all {
      width: 98px;
      text-align: center;
      margin-right: 10px;
    }

  }

  .write {
    display: none;
  }

  .button {
    text-align: right;
  }

  .hidden {
    visibility: hidden;
  }



}

#main_listing_event_overview {
  .name {
    width: 350px;
  }

  .location {
    width: 250px;
  }

  .time_start, .time_end {

    width: 150px;
  }

}

#attendance_overview {

  .name {
    width: 200px;
  }

  .value {
    width: 100px;
  }

  .percentage {
    width: 80px;
  }

  .expanded_choice_item {
    width: 446px;
    .person, .attended, .invited, .percentage {
      float: left;
    }

    .person {
      width: 280px;
    }

    .attended, .invited {
      width: 50px;
      text-align: right;
    }

    .percentage {

      width: 100px;
      text-align: center;
    }
  }
}

#event_overview .team_events {
  .ui-tabs-panel {
    padding: 0px;
  }

  tr.canceled td {
    text-decoration: line-through;
  }
}

.all_link {
  text-decoration: underline;
  float: right;
  cursor: pointer;
  font-weight: normal;

}

form#event_show .label {
  width: 200px;
}

#event_attendance, #training_attendance, #event_attendance_detail, #training_attendance_detail {
  padding: 0px;
}

div.frozen_table_container {
  width: 696px;
  overflow-x: hidden;
  margin-left: 232px;
  overflow-y: visible;
  padding-bottom: 1px;
}

.frozen_table td, .frozen_table th {
  width: 150px;
  border-right: 0px none black;
  border-top-width: 3px; /*only relevant for first row*/
  margin-top: -3px; /*compensate for top border*/
  text-align: center;
  position: relative;

}

.frozen_table td {

  padding: 0px;
}

.frozen_table tr.header {
  height: 29px;

}

.frozen_table tr {
  height: 35px;
}

.frozen_table tr:last-child td.firstcol {
  border-bottom: 1px solid #ccc;
}

.frozen_table th {
  background-color: #ffffff;

}

.frozen_table tr:first-child th.firstcol {

  border: 0px;
  //    height: 100%;

}

.frozen_table td.firstcol, .frozen_table th.firstcol {
  position: absolute;
  width: 230px;
  left: 10px;
  top: auto;
  text-align: left;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  margin-top: -1px;
  padding: 10px 5px;

}

.frozen_table tr.header td {
  background-color: gray;
  color: white;
}

.slider {
  width: 698px;
  margin-left: 230px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.attendance_icon {
  width: 30px;
  height: 30px;
  margin: 0px auto;

  div {
    width: 40px;
    height: 30px;
  }
}

.attended_1 {
  background-image: url("/images/check_square_30x34.png");
  background-repeat: no-repeat;
}

.attended_0 {
  background-image: url("/images/uncheck_square_30x30.png");
  background-repeat: no-repeat;
}

.attendance_detail_table {
  .message_container {

    font-size: 13px;

    //    font-family: "Times New Roman", serif;
    color: gray;
    position: absolute;
    top: 0px;
    right: 0px;

    .message {

      font-family: "Arial", sans-serif;
      font-size: 12px;
      position: absolute;

      display: none;
      width: 146px;
      right: 0px;
      top: 0px;

      padding: 5px 10px;
      text-align: center;
      border: 1px solid #333;
      z-index: 1000;
      background-color: #eee;
    }

  }

  .message_container:hover {

    cursor: pointer;
    .message {
      display: block;

    }
  }

}

.attendance_detail_legend {
  .spacer {
    width: 50px;
  }

  .color {
    height: 20px;
    width: 20px;
    border: 1px solid #ccc;
  }
  .label {
    padding-left: 20px;
  }

  tr {
    height: 40px;
  }

  td {
    height: 30px;
    margin: 5px;
  }
}

.ical_export {
  font-size: 12px;

  padding-top: 10px !important;
  position: relative;
  cursor: pointer;

  #export_hidden {
    cursor: default;
    display: none;
    position: absolute;
    //    height: 80px;
    width: 500px;
    border: 2px solid #555;
    background: #ffffff;
    z-index: 100;
    right: -3px;
    text-align: left;
    padding: 10px;

    a {
      text-decoration: underline;

    }
    a:hover {
      font-weight: bold;
    }
  }
}


#open_invitation_log,#open_email_log {
  cursor: pointer;
  margin-left: 20px;
//  text-decoration: underline;
}

.overlay_content_container {
  position: fixed;
  border: 2px solid #bbb;
  width: 960px;

  z-index: 50;
  display: none;
  background-color: #fff;
  top: 100px;
  overflow-y: scroll;

  .content_box {
    background-color: #fff;
    margin-bottom: 0px;

  }

  table {
    width: 100%;
    tr {
      height: 30px;
      td, th {
        border-bottom: 1px solid #dddddd;
        padding:0px !important;

      }
      td:first-child {

        border-left: 1px solid #dddddd;

      }
      td:last-child {

        border-right: 1px solid #dddddd;
        padding-right:3px;
      }

    }

    thead tr {
      /* fallback */
      width: 97%;
      /* minus scroll bar width */
      width: -webkit-calc(100% - 16px);
      width: -moz-calc(100% - 16px);
      width: calc(100% - 16px);
    }

    thead, tbody {
      display: block;
    }

    tbody {
      height: 400px; /* Just for the demo          */
      overflow-y: auto; /* Trigger vertical scroll    */
      overflow-x: hidden;
    }
  }

  .overlay_content_table {
    margin: 10px 0px;
    //      height:480px;
    //      overflow-y:scroll;
  }

}

.overlay_content_close {

  position: absolute;
  top: 10px;
  right: 10px;
  display: block !important;
  z-index:100;

}

.invited_teams_headline {
  font-weight:bold;
  margin: 24px 0px 10px 0px;
}

.multi_team_entry:after {
  clear:both;
}

.multi_team_entry:before, .multi_team_entry:after {
  content: " ";
  display: table; }

.multi_team_entry {
  border-bottom: 1px solid grey;
  padding: 11px 0px;

  .col {
    float:left;
  }

  .team_col {
    width: 30%;
  }

  .feedback_col {
    width:70%;
    display:none;
  }

  .checkbox {
    width: 18px;
  }

  label {
    display: block;
    padding-left: 15px;
    text-indent: -15px;
  }

  input {
    width: 13px;
    height: 13px;
    padding:0;
    margin:0px;
    margin-right:5px;
    vertical-align: bottom;
    position:relative;
    top: -1px;
    *overflow: hidden;
  }
}

#delete_multiple_team_event {
  .delete_row {

    border-top: 1px solid #666;
    padding:10px 0px;

    .columns {
      line-height:25px;
      vertical-align: middle;
    }
  }

  .delete_row:first-child {
    border: none;
  }

  .delete_event_team {
    cursor:pointer;
  }
}
@background_color: #F9F7F8;

@bg_color_even: #e9e9e9;
@bg_color_even_hover: #c4c4c4;
@bg_color_odd: #ffffff;
@bg_color_odd_hover: #c4c4c4;


.odd, .odd .label, .odd .field {
  background-color: @bg_color_odd;
}

.even, .even .label, .even .field {
  background-color: @bg_color_even;
}


.rounded_corners (@radius: 5px ) {
  border-radius: @radius;
  -webkit-border-radius: @radius;
  -moz-border-radius: @radius;
}

.default_border {
  border: 1px solid #C3C7CA;
}

#header #header_separator {
  background-color: #000000;
  height: 3px;
  position: relative;
  top: 90px;
}

.description {
  line-height: 2em;
}

#header #logo {

  width: 150px;

}

#header #logo img {
  position: relative;
}

#header #title {
  left: 210px;
  width: 310px;
}

.craue_formflow_steplist {
  margin: 0px;
  padding: 0px;
  margin-bottom: 10px;
  clear: both;
  padding: 10px;
}

.craue_formflow_steplist li {
  list-style: none;
  display: block;
  float: left;
  width: 150px;
  height: 30px;
  line-height: 30px;
  vertical-align: middle;
  .rounded_corners;
  .default_border;
  margin-right: 20px;
  text-align: center;

  background-color: @background_color;
  color: #bbbbbb;
}

.craue_formflow_steplist li.craue_formflow_current_step {

  background-color: white;
  color: #000;
}

.craue_formflow_buttons button.float_left {
  float: left;
}

#setup_step_headline {
  .rounded_corners;
  .default_border;
  padding: 10px;
  margin-bottom: 10px;
}

.info_maincontent .field {
  height: 30px;
  line-height: 30px;
  vertica-align: center;
}

#domain_identifier_feedback {
  margin-top: 10px;

}

#domain_identifier_feedback div {
  .rounded_corners;
}

#setup_gender .expanded_choice_item {
  float: left;
}

.single_form_column_element {
  width: 100% !important;
}

.error {
  color: #b3092b;
  line-height: 30px;
}

#setup_city {
  margin-left: 16px;
}

.expanded_choice_item input {
  float: left;
  position: relative;
  top: 6px;
}

.nivoSlider {
  position: relative;
  background: url(../../../../app/Resources/public/less/images/loading.gif) no-repeat 50% 50%;
}

.nivoSlider img {
  position: absolute;
  top: 0px;
  left: 0px;
  display: none;
}

.nivoSlider a {
  border: 0;
  display: block;
}

#header #menu ul li {
  width: 125px;
}

#demo_table,
#price_table {
  width: 60%;
  background: #ccc;
  border-spacing: 1px;
  margin: 30px auto;

  td, th {
    background: #fff;
    padding: 10px;
    text-align: center;
  }

  tr {
    height: 50px;
  }
}

.green_hook {
  width: 30px;
  height: 30px;
}

#imprint_table {
  td {
    padding: 10px;
  }
}

.infobox {

  padding: 20px;

  h3 {
    margin-bottom: 20px;
    color: #006300;
  }
  ul {

    margin-left: 15px;

    li {
      list-style: disc;
      line-height: 1.8em;
    }
  }

  .message {
    margin-bottom:9px;
  }

  .date {
    text-decoration:underline;



    margin-bottom: 5px;
  }
}


#accounting_overview, #accounting_organization {
  margin:10px 0px;
  width: 100%;

  th {
    background-color: @bg_color_even;
  }

  border-top: 1px solid #bbbbbb;
  border-bottom: 1px solid #bbbbbb;

  tr {
    height:30px;
  }

  td {
    padding: 2px 5px;

  }

  a {
    text-decoration: underline;
  }


}

#admin_organization_header_nav {

  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  font-size:0px;

  .nav_item {
    display:inline-block;
    width:150px;
    background-color: #fafafa;
    padding:5px;
    font-size:12px;
    text-align: center;
    border-right:1px solid #cccccc;


    a {
      display:block;
      text-decoration: underline;
    }
  }

  .nav_item:hover {
    background-color:#f3f3f3;
  }

  .active {
    background-color:#dfdfdf;
    font-weight:bold;
  }
}


.admin form {

  padding: 10px;

  input {
    float:none;
  }

  label {
    display: inline-block;
    width:180px;
  }

  .row {
    margin-bottom:5px;
  }
}

#new_customer_overview {
  width: 100%;
  tr {
    height: 50px;
  }

  a {
    text-decoration: underline;
  }
}

#admin_communication {
  input[type=text], textarea {
    width:100%;
  }

  textarea {
    height: 200px;
  }

  .crm_entry {
    border: 1px solid grey;
    margin-bottom:20px;
    margin-left:10px;
    margin-right: 10px;

    .header {
      background-color: #006600;
      .from {
        text-align: right;
      }


      color: white;
      padding: 5px 0px;
      border-bottom:1px solid grey;
    }

    .message {
      padding:5px 0px;
    }
  }
}


#manage_members {
  .widget label {
    height:30px;
    line-height: 30px;
    vertical-align:middle;
  }

  h4 {
    margin-bottom: 10px;
  }
}

#year_preview {
  height:30px;
  line-height: 30px;
  vertical-align:middle;
}

#year_slider {
  margin-bottom:20px;
}

#search_result img.loading {
  margin-top: 30px;
  margin-left: 180px;
  display:none;

}

#result, .player_box, #delete {
  min-height: 150px;
}



.person_id {
  display:none;
}

.person_box {

  background-color: white;
  padding:5px;
  margin-bottom:5px;
  border:1px solid #bbb;

}

.person_box:hover {
  cursor: pointer;
}

#no_contact_data_message {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #efefef;
  padding: 10px;
}

table.referees {
  width: 100%;

  th.name {
    text-align:left;
    width:80%;
  }

  td.delete {
    text-align:center;
  }


  td {
    border-top: 1px solid #ccc;
  }
}

#search_members {
  .widget {
    width:150px;
  }

  .addendum {
    width: 125px;
    float:left;
  }
}
#person_gender .expanded_choice_item {
  float:left;
  padding-top: 6px;
}

ul.contact_datas ,
.contact_datas li {
  margin:0px;
  padding:0px;
}

ul.contact_datas   {
  list-style-type: none;
}


#person_form #person_gender  {

  label {
    line-height: 1.5em;
  }


  input {
    float:left;
  }
}


#upload_person_table {

  background-color:white;
  border-left: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
  margin:0px;

  border-spacing:0px;

  td, th {
    width:148px;
    padding:5px;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
  }

  th {
    border-right: 1px solid #cccccc;
    border-bottom: 2px solid #aaa;
  }

  td.first, th.first {
    width:40px;
  }

  tr {
    height: 28px;
  }
}

.link_import_person {
  text-decoration: underline;
}

#person_import {

  .description {
    margin-bottom:20px;
  }
  .label, .widget  {
    width:450px;
  }

  .single_form_column_element {
    margin-bottom:20px;
  }
}

h3#contact_data_headline {
  margin-top:30px;
}

.contact_datas {

  margin-top:10px;
  margin-left: 10px;
  margin-right: 10px;

  tr {
    height:35px;
  }

  .contactType {
    width: 180px;

    select {
    width: 150px;
    }
  }

  .value {
    width: 250px;

  }

  .teamlist {
    width:50px;
    text-align: center;
  }

  th.contactType, th.value {
    text-align:left;
  }
}

.fos_user_resetting_reset {

  margin-top: 30px;


  label {
    width:200px;
    display:block;
    float:left;
  }

  .description {
    margin-bottom:20px;
  }
}

#reset_link_invalid {
  .description {
    margin-top:30px;
  }

  a {
    text-decoration: underline;
  }
}



#add_funds .six {


  margin-top:30px;
  text-align:center;

  table {
    margin: 0px auto;
  }

  h4 {
    margin-bottom:15px;
  }

  input, select {
    margin-bottom:10px;
  }

  .account_balance {
    margin: 0px auto;
    border: 1px solid #bbb;
    padding:20px;
    background-color: #fbfbfb;
    width: 250px;
  }
}


#person_form .tab_content {
  padding: 0px;
}

#person_form label {
  line-height: 28px;
}

#person_form #settings {
  .label {
    width: 80%;
  }
  .field {
    width: 20%;
  }
}


.a_manageAdmin #tabs .tab_content {
  padding: 0px;

  h2, h3 {
    padding:10px;
  }

  table.overview {

    width: 100%;
    margin-bottom:20px;

    td {
       padding: 5px 10px;
    }

    a {
      text-decoration: underline;
    }

    td.links {
      width: 150px;
      text-align:center;
    }

    tr:hover td {
      background-color:#ddd;
    }
  }
}

.a_manageAdmin .roles_link:hover {
  cursor:pointer;
}

.a_manageAdmin .roles_window {
  position:absolute;  width:300px;
  background-color: white;
  border: 1px solid rgb(51, 51, 51);
  z-index: 1000;
  padding: 10px;
  display: none;
  right:200px; top:-20px;

  table {
    border-color: white;
    tr:hover td,  tr td {
      background-color:#fff !important;
    }
  }

  td {
    background-color:#fff;
  }
}

#multilogin {
  .loading {
    height:30px;
    width:30px;
    display:none;
  }

  .row {
    height: 30px;
  }

  .invalid_feedback, .valid_feedback {
    padding:4px;
  }
}

#multi_login_table {
  width: 100%;

  tr {
    height:32px;
  }

  td.username, td.password  {
    width: 25%;
  }

  .button {
    width: 200px;
    text-align:left;

    img {
      display:none;
      height:30px;
      width:30px;
    }
  }

}

#person_form  h3 {
  padding-left:10px;
}


table#invitation_change_email_config {
  width:100%;


  thead tr:first-child {
    height:30px;
  }

  tr.even td {
    background-color:#fafafa;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  thead tr {
    th {

      text-align:center;

    }

    th:first-child {
      text-align:left;
    }


  }
  td:first-child, th:first-child {
    text-align:left;
    padding-left:10px;
    width:auto;
  }

  td {
    text-align:center;
    width:70px;
  }

  th.active, th.seats {
    margin-right:20px;
  }
}

#refresh_div {
  padding:10px;
  color: #0000ff;
}

#multi_logins a {
  line-height: 2.5em;
}

#export_button {
  position:absolute;
  right: 10px;
  top:-4px;
}
//#person_overview {
//
//
//}
//
//
//.person_overview_box {
//  width:161px;
//  float:left;
//  margin:5px;
//}
//
//.person_overview_box .image_container {
//
//  width:150px;
//  height: 205px;
//  text-align:center;
//  margin:0px auto;
//
//}
//
//.person_overview_box .image_container img {
//
//  width:100%;
//
//}
//
//
//.person_overview_box .name_container  {
//
//  height:35px;
//
//}
//
//
//
//
//.person_overview_box_big {
//  width:290px;
//  float:left;
//}
.records_list {

  width: 956px;
  cell-spacing: 0px;
  border-spacing:0;
  border-collapse:collapse;
}

.records_list th {
  text-align:left;
  padding:10px;
}

.records_list th.align_center {
  text-align:center;

}

.records_list td {
  padding: 10px;
  margin:0px;

}


.records_list ul li {
  float:left;
  list-style-type: none;
}

.records_list .actions span {
  margin: 0px 10px;
}
.rom_entity_add_box {
  position:absolute;
  background-color: #fff;
  border: 2px solid #444;
  width:500px;
  height:300px;
/*  display:none;*/
  left:225px;
  bottom:0px;

}

.rom_container_close {
  position:absolute;
  top: 10px;
  right: 10px;
  display:block !important;
  z-index: 100;
}

.rom_form_container {
  position:fixed;
  display:none;
  background-color: #fff;
  top:200px;
  margin: 0px auto;
  z-index: 100;

  .content_box {
    background-color: #fff;
    margin-bottom: 0px;


  }


}

#iframe_page {
  width: 560px !important;
  background-color: #fff !important;

  em, .expanded_choice_item {
    float: left;

    label {
      float:none;
    }

  }

  em {
    color: #b3092b;
    padding-top: 8px;
    float:none;
    margin-left: 150px;
  }

  .field {
    width: 300px;
  }

  .default_border  {
    border:none !important;
  }

  .content_box, .maincontent {
    background-color: #fff !important;
    border:none !important;
    box-shadow: none !important;
  }

  .loading {
    display:none;
    margin: 0px auto;
    height: 30px;
  }

  background-color: #fff !important;

  .maincontent {
    box-shadow: none;
    border: none;
    background-color: #fff;
  }

  h2 {
    margin-left: 10px;
  }
}


#startpage_events {
  padding:0px;
  border-left: 1px solid #bbb;

  .header {
    padding: 5px 10px;
  }

  .title {
    font-size:14px;
    font-weight: bold;
  }

  .event {
    border-bottom: 1px solid #bbb;
  }

 .main {
    padding: 3px 10px;
  }

  .separator {
    height: 2px;
  }


  table tr td:first-child {
    width:100px;
  }

  table tr td {
    padding:5px 0px;
  }

  table tr td.label {
    vertical-align: top;
  }



  tr.subevent {
    display:none;
  }

  .detail_link {
    cursor: pointer;
  }

  .team {
    width: 20%;
    padding-left:10px;
  }

  .time {
    width:30%;
  }

  .detail_link {
    text-align:right;

    text-decoration: underline;
    padding-right: 10px;
  }


}



.teasers {

  border-right:  1px solid #bbb;


  .teaser {
    position:relative;
    z-index:0;
    border-bottom: 1px solid #bbb;
    margin-top: 10px;
    padding-bottom: 10px;

    .teaser_headline {
      font-weight: bold;
      font-size: larger;
    }

    .separator {
      height:1px;
      background-color: #000;
      width: 100%;
      margin-top:10px;
    }

    .teaser_date{


    }

    .image {
      width: 200px;
      margin-right: 20px;
      float:left;



      img {
        border: 1px solid #bbb;
        width:130px;
        height: 130px;
        margin: 10px;
        box-shadow: 0px 1px 5px #888888;

      }
    }

    .content {

      float:left;
      position:relative;
      z-index:0;
      padding: 20px;
      width: 100%;
    }

    .article_link {
      text-align:right;
      text-decoration: underline;
      margin-right:10px;
//     position:absolute;
//      right: 10px;
//      bottom: 10px;
    }
  }
}

#manage_subteams .input_text_l,
#manage_subteams .input_text_xs {
  margin-right:30px;

}


.delete_link {
  padding-top:7px;
}

.delete_link span {
  position:relative;
  top: -3px;
  padding-left:5px;
}

 ul.subteams li {
  margin-bottom:10px;
}

#manage_subteams #column_header {
  margin-bottom:20px;
}

#manage_subteams .manage_members_link {
  margin-right:50px;
}

#manage_subteams .person_names {
  width:310px;
}



#manage_subteams .person_name,
#manage_subteams .person_names label{
  width:300px;
  padding-left:10px;
}
#manage_subteams .person_names label {
  font-weight: bold;
}


#manage_subteams .subteam_checkboxes,
#manage_subteams .subteam_checkboxes label {
  text-align:center;

  margin:0px;
}

#manage_subteams  .subteam_checkboxes .odd,
#manage_subteams .subteam_checkboxes .even {
  padding:0px 20px;
}





#team_form {
  #preview_row {
    height: 120px;
  }

  .expanded_choice {

  }
  .expanded_choice_item {

    label {
      line-height: 1.5em;
    }

    margin-bottom: 10px;

    input {
      float: left;
    }
  }

  #team_headcoach_control_group {
    display: none;

    .label {
      white-space: normal;
      line-height: 1.2em;
    }
  }

}

.description_headline {
  border-top: 1px solid #bbb;
  padding-left: 10px;
  margin-bottom: 20px;
}

#settings {
  .person_property_checkbox {
    line-height: 32px;
    vertical-align: middle;
  }

  #initial_state_addendum {
    display: none;
    height: 70px;

    .label {
      font-size: 12px;
      white-space: normal;
      height: 70px;
      line-height: 20px;
    }

    .field {
      margin-top:8px;
    }
  }
}

#settings, #permissions {

  padding: 0px;

  .description {
    border-top: 1px solid #bbb;
    padding-left: 10px;
    margin-bottom: 20px;
  }

  #first_description {
    border-top: 0px;
  }

  .label {
    width: 70%;
    padding-left: 10px;
  }

  .field {
    width: 30%;
    line-height: 30px;
  }

  select {
    width: 180px;
  }
}

#main_listing_team_overview {
  .team_box {

    margin: 5px;
    float: left;
    padding: 10px;
    width: 290px;

    img {
      box-shadow: 0px 1px 5px #888888;
    }

  }

  .first {
    margin-left: 33px;
  }

  .third {
    margin-right: 0px;
  }

  .footer {
    text-align: center;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
  }
}

table#team {
  td {
    padding: 17px;
  }

  img {
    width: 120px;
  }
}


#reaction_forbidden_message {
  height:66px;
  line-height: 66px;
}

#reaction_forbidden_message label {
  height:66px;
  line-height: 66px;
}

@team_list_column_height: 350px;

#team_list .box_headline {
  margin-bottom: 10px;
  font-weight: bold;
  height:20px;
}
//
//#team_list .third_column {
//  height:@team_list_column_height;
//  position:relative;
//}
//
//#pdf {
//  position:absolute;
//  bottom:10px;
//  left:10px;
//}

//
//#excel {
//
//  position:absolute;
//  bottom:10px;
//  right:62px;
//}

#team_list .third_column .content_box {
  height:(@team_list_column_height - 22); /* minus padding and border */
}
//
//#team_list_button_box {
//  text-align:center;
//  height:80px !important;
//  width:286px;
//  position:absolute;
//
//  bottom:-10px;
//}

.sortable {
    height:(@team_list_column_height - 30);
}

.sortable li {
  background-color: #fff;
  width:100%;
  height:25px;
  line-height:20px;
  vertical-align: middle;
  margin-bottom:3px;
  text-align:center;
  border:1px solid #bbb;


  cursor:pointer;
}

.sortable li:hover {
  cursor: pointer;
}


