/* BOD Responsive Update */

/* Responsive Adjustments */


@media (max-width: 1200px) {
  .table ul li.event {
    width: 160px;
  }

  .content header h2 {
    max-width: 980px;
  }

  .footer {
    /* width: 100%; */
    /* margin-left: -50%; */
  }

  .row.meta {
    margin: 0;
  }
  .col-md-12,
  .col-md-7,
  .col-md-5,
  .event-signup .col-md-5 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .container {
    min-width: 100%;
    padding: 0;
  }

  .content header .content h2 {
    text-align: left;
    display: block;
    line-height: 1.6em;
    margin-left: 162px;
  }

  .home .logo {
    margin: 0;

  }
  .home .row.content {
    margin: 0;
  }
  .home h2 {
    margin-left: 0 !important;
    text-align: center;
  }

  .signup form.signup .col-md-push-1 {
    margin: 0;
  }

  .logo {
    /* position: relative; */
    /* top: -40px; */
    /* right: 0; */
    /* margin-bottom: 40px; */
    /* padding-top: 19px; */
  }
  .logo img {
    /* height: 110px; */
  }
  h1.headline {
    margin-left: 159px;
  }

  .event-signup .col-md-5 {
    border-bottom: 2px solid #aaa;
  }

  .table.border-right {
    border-right: none;
  }

  .table.events .tbody .tr {
    padding: 5px 10px 5px;
    margin: 0 -10px;
    border-bottom: 2px solid #aaa;
  }
  .table.events .tbody .tr li {
    min-height: 50px;
    line-height: 1.4em;
  }
  .table.events .tr li {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }

  .table.events .avatar,
  .table.events .thead .accept,
  .table.events .thead .details {
    display: none;
  }

  .table.events .tbody .accept,
  .table.events .tbody .details {
    width: 49%;
    text-align: center;
    box-sizing: border-box;
    border-top: 2px dotted #aaa;
    padding: 12px 0 10px;
  }
  .table.events .tbody .accept button,
  .table.events .tbody .details button {
    width: 50%;
    min-width: 86px;
    text-transform: uppercase;
  }

  .table .thead li {
    padding-right: 6px;
  }

  .table.events .name {
    width: 20%;
  }
  .table.events .thead .name {
    margin-left: 0;

  }
  .table.events .date-of-birth {
    width: 18%;
  }
  .table.events .certificates {
    width: 20%;
  }
  .table.events .experience {
    width: 18%;
  }
  .table.events .comments {
    width: 20%;
  }

  .table .event-form {
    padding-right: 20px;
    margin-right: -7px;
  }

  .my-events .table li {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
  }
  .my-events .table .date {
    width: 18%;
  }
  .my-events .table .event {
    width: 26%;
  }
  .my-events .table .role {
    width: 15%;
  }
  .my-events .table .contact-person {
    width: 30%;
  }
  .my-events .table .contact-person {
    width: 30%;
  }

  /* Rotated table headers */
  .th-rotated {
    border-collapse: collapse;
  }
  /*.th-rotated td {
    width: 30px;
  }*/
  /*.th-rotated td {
    padding: 10px 5px;
    border: 1px solid #ccc;
  }*/
  .th-rotated tr.rotate > th {
    height: 80px;
    white-space: nowrap;
    vertical-align: top;
  }
  .th-rotated tr.rotate > th div {
    -webkit-transform: translate(-12px, 54px) rotate(315deg);
    -ms-transform: translate(-12px, 54px) rotate(315deg);
    transform: translate(-12px, 54px) rotate(315deg);
    width: 30px;
  }
  .th-rotated tr.rotate > th span {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px 1px;
  }


  .form input[type="checkbox"] {
    margin-left: 0;
  }

  .pure-table-horizontal td, .pure-table-horizontal th {
    padding-right: 15px;
  }

}

@media (max-width: 980px) {

  .content {
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  #rolefilter {
    margin-bottom: 0;
  }

  .pure-table-horizontal select {
    width: 70px;
  }
  .pure-table-horizontal td:first-child,
  .pure-table-horizontal td:nth-child(2) {
    padding-right: 2px;
    width: 100px;
    vertical-align: top;
  }
  .pure-table-horizontal td:first-child {
    width: 60px;
  }

}

@media (max-width: 700px) {

  body {
    background: #fff;
  }

  body:before,
  .bg-img {
    display: none;
  }

  .container {
    margin: 0;
  }

  .form .pure-table-horizontal th {
    padding-right: 4px;
  }

  h1.headline {
    margin: 0 0 6px;
  }

  .avatar {
    float: none;
    margin: 0 !important;
  }

  .metaData {
    float: left;
    margin-bottom: 22px;
  }

  .footer {
    display:none;
    
  }

  .footer .col-md-12 {
    margin-left: 0;
  }

  .footer-links {
    padding-left: 0;
  }
}

@media (max-width: 500px) {
  .avatar {
    margin-left: 0;
    margin-top:40px;
  }
  .headline{
    font-size:29px!important;
  }
}

@media (max-height: 510px) {
  .footer {
    position: relative;
    left: auto;
    bottom: auto;
    text-align: center;
    display: block;
    margin-left: auto;
    width: 100%;
    margin-top: 50px;
  }
}