.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hide-text {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@media only screen and (min-width: 801px) {
  .documentByLine {
    margin-bottom: 5px;
    -webkit-transition: opacity .2s linear .5s;
    -moz-transition: opacity .2s linear .5s;
    -o-transition: opacity .2s linear .5s;
    transition: opacity .2s linear .5s;
    opacity: 0;
  }
  .documentByLine:hover {
    -webkit-transition: opacity .2s linear .0s;
    -moz-transition: opacity .2s linear .0s;
    -o-transition: opacity .2s linear .0s;
    transition: opacity .2s linear .0s;
    opacity: 1;
  }
}
@media only screen and (min-width: 481px) and (max-width: 800px) {
  .tablet-right-down #portal-column-main {
    margin-right: 0;
  }
  .tablet-right-down #portal-column-wrapper {
    margin-right: 0;
  }
  .tablet-right-down #portal-column-one {
    padding-left: 0;
  }
  .tablet-right-down #portal-column-two {
    float: none!important;
    clear: both;
    margin-left: 0;
    width: 100%;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
  .tablet-right-down #portal-column-two .portletWrapper {
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
  }
  .tablet-right-down #portal-column-two .managePortletsLink {
    clear: both;
  }
  .tablet-left-down #portal-column-wrapper {
    margin-left: 0;
  }
  .tablet-left-down #portal-column-one {
    float: none!important;
    clear: both;
    margin-left: 0;
    width: 100%;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
  .tablet-left-down #portal-column-one .portletWrapper {
    display: inline-block;
    margin-bottom: 20px;
    width: 100%;
  }
  .tablet-left-down #portal-column-one .managePortletsLink {
    clear: both;
  }
  .sidebars-right .tablet-right-down #portal-column-wrapper {
    margin-left: 0;
    margin-right: 280px;
  }
  .sidebars-right .tablet-right-down #portal-column-main {
    margin-right: -280px;
  }
  .sidebars-right .tablet-left-down #portal-column-wrapper {
    margin-left: 0;
    margin-right: 280px;
  }
  .sidebars-right .tablet-left-down #portal-column-main {
    margin-right: -280px;
  }
  .sidebars-right .tablet-left-down #portal-column-one {
    margin-left: 0;
  }
  .sidebars-right .tablet-left-down #portal-column-two {
    margin-left: 30px;
  }
  .sidebars-right .no-right-column .tablet-left-down #portal-column-wrapper {
    margin-right: 0;
  }
  .sidebars-right .no-right-column .tablet-left-down #portal-column-main {
    margin-right: 0;
  }
  .sidebars-right .no-right-column .tablet-left-down #portal-column-one {
    margin-left: 0;
  }
  .sidebars-right .no-left-column .tablet-right-down #portal-column-wrapper {
    margin-right: 0;
  }
  .sidebars-right .no-left-column .tablet-right-down #portal-column-main {
    margin-right: 0;
  }
  #dashboard {
    float: left;
    width: 100%;
    display: block;
    position: relative;
  }
  #dashboard-portlets1,
  #dashboard-portlets2,
  #dashboard-portlets3,
  #dashboard-portlets4 {
    position: relative;
    float: left;
    left: 100%;
    width: 47.75%;
  }
  #dashboard-portlets1,
  #dashboard-portlets3 {
    clear: both;
    margin-left: -98.875%;
  }
  #dashboard-portlets2,
  #dashboard-portlets4 {
    margin-left: -48.875%;
  }
}
@media only screen and (max-width: 480px) {
  body,
  #container {
    width: 100%;
  }
  #portal-column-main,
  #portal-column-one,
  #portal-column-two {
    display: block;
    float: none!important;
    position: relative;
    width: 100%;
  }
  #portal-column-main {
    margin-right: 0!important;
  }
  #portal-column-wrapper {
    margin-right: 0!important;
    margin-left: 0!important;
  }
  #portal-column-one {
    margin-left: 0!important;
    padding-left: 0!important;
  }
  #portal-column-two {
    margin-left: 0!important;
  }
  #mobile-menu {
    display: block!important;
    visibility: visible!important;
  }
  #mobile-globalnav {
    outline: none;
  }
  .navbar,
  .navbar.affix {
    display: none;
    visibility: hidden;
    position: absolute;
    left: auto;
    right: 0;
    top: 94px;
  }
  .navbar .navbar-inner,
  .navbar.affix .navbar-inner {
    padding: 0;
    border: 1px solid #2c373d;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
  }
  #portal-globalnav {
    min-width: 224px;
    width: 100%;
    margin: 0 auto;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  #portal-globalnav:before {
    content: "";
    position: absolute;
    right: 50px;
    top: -13px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #FFF;
  }
  #portal-globalnav:after {
    content: "";
    position: absolute;
    right: 54px;
    top: -9px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ccc;
    border-bottom: 8px solid rgba(0, 0, 0, 0.2);
  }
  #portal-globalnav > li {
    display: block;
    float: none;
    width: 100%;
  }
  #mobile-search {
    outline: none;
  }
  #search-and-links {
    right: 0;
  }
  #portal-searchbox {
    display: none;
    visibility: hidden;
    position: absolute;
    right: 0;
    background: #FFF;
    margin-top: 7px;
    padding: 20px 10px 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  #portal-searchbox:before {
    content: "";
    position: absolute;
    right: 7px;
    top: -13px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #FFF;
  }
  #portal-searchbox:after {
    content: "";
    position: absolute;
    right: 11px;
    top: -9px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ccc;
    border-bottom: 8px solid rgba(0, 0, 0, 0.2);
  }
  #LSResult,
  .LSResult {
    margin-top: 15px;
  }
  .LSRow,
  #LSNothingFound {
    width: auto;
  }
  #mobile-page-settings {
    display: block!important;
    visibility: visible;
    cursor: pointer;
    color: #999;
    text-align: center;
    padding: 5px;
    margin: 10px 0;
    border: 1px dashed #eee;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
  }
  #mobile-page-settings.selected {
    background: #eee;
  }
  #edit-bar {
    display: none;
    visibility: hidden;
    border: 1px dashed #eee;
    *zoom: 1;
  }
  #edit-bar:before,
  #edit-bar:after {
    display: table;
    content: "";
    line-height: 0;
  }
  #edit-bar:after {
    clear: both;
  }
  .contentViews,
  #contentActionMenus {
    margin-left: 0;
  }
  .contentViews > li,
  #contentActionMenus > li {
    margin-bottom: 0;
  }
  .contentViews > li a,
  #contentActionMenus > li a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
  }
  .contentViews .selected a,
  #contentActionMenus .selected a,
  .contentViews .selected a:hover,
  #contentActionMenus .selected a:hover {
    border: 1px solid #ddd;
  }
  .contentActions {
    background: none;
    position: relative;
    height: auto;
    width: auto;
    visibility: visible;
    clear: both;
  }
  .contentActions:hover #contentActionMenus {
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
  #contentActionMenus {
    border: 0;
    opacity: 1;
    position: relative;
    visibility: visible;
    width: auto;
  }
  #contentActionMenus > li {
    float: none;
  }
  #contentActionMenus > li a {
    clear: both;
  }
  #plone-contentmenu-workflow.actionMenu.activated dd {
    right: auto;
  }
  #dashboard-portlets1,
  #dashboard-portlets2,
  #dashboard-portlets3,
  #dashboard-portlets4 {
    float: none;
    width: 97.75%;
  }
  #viewlet-below-content-title {
    opacity: 1;
  }
}
