@media screen and (max-height: 639px) {
  .modal-dialog {
    bottom: 0;
    top: 0;
    transform: translate(-50%, 0%);
  }
}

@media (max-width: 979px) {
  .thumbnails {
    margin-left: -12px;
  }
  .thumbnails > li {
    margin-left: 12px;
  }
  #back-top {
    display: none !important;
    filter: alpha(opacity=0) !important;
    opacity: 0 !important;
  }
  .nav-collapse .nav > li > a,
  .nav-collapse .dropdown-menu a {
    font-weight: inherit;
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .fullwidth ul.icesubMenu.sub_level_1 > li {
    padding-left: 0;
    padding-right: 0;
  }
  .fullwidth ul.icesubMenu.sub_level_1 .iceCols > ul {
    padding: 0 15px;
  }
}
@media (max-width: 800px) {
  .img-full__left.span5 {
    width: 50%;
  }
}

@media (max-width: 767px) {
  body {
    padding: 0;
  }
  .icemegamenu {
    display: none;
  }
  .icemega_modulewrap .icemega_cover_module {
    padding-left: 20px;
    padding-right: 20px;
  }
  #logo {
    text-align: center;
  }
  #logo a {
    margin: 0;
  }
  
  .item_introtext dl.table {
    display: block;
  }
  .item_introtext table {
    display: none;
  }
}

@media (max-width: 639px) {
  ul#order {
    float: none;
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .mod-newsflash-adv__progbars_circle .row-fluid .span3 {
    width: 50%;
    float: left;
  }
  .mod-newsflash-adv__progbars_circle .row-fluid .span3:nth-child(2n-1) {
    clear: both;
  }
}

@media (max-width: 479px) {
  .modal-dialog {
    left: 0;
    transform: translate(0%, 0%);
  }
  .alert {
    padding: 28px 58px 28px 70px;
  }
  .alert:before {
    left: 10px;
    font-size: 40px;
  }
  .img-full__left.span5 {
    margin-right: 0;
    width: 100%;
  }
  
  .item_img {
    float: none;
    margin: 0 0 20px 0;
    max-width: 100%;
  }
  .portfolio-thumbs {
    float: none;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }
  .portfolio-thumbs ul {
    margin-right: 0;
    overflow: hidden;
  }
  .portfolio-thumbs ul li {
    padding-right: 0;
  }
  .data-table dl {
    float: none;
    width: 100%;
  }
  .data-table dl + dl {
    border-left: 1px solid #29293a;
    border-top: none;
  }
  
  .mod-search__aside .mod-search_searchword {
    width: 100%;
  }
  
  .mod-login__aside .mod-login_username,
  .mod-login__aside .mod-login_passwd,
  .mod-login__aside .mod-login_userdata {
    width: 100%;
  }
  .mod-login__aside .mod-login_userdata {
    overflow: hidden;
  }
  div.modal {
    position: absolute;
  }
  #error input {
    width: 200px;
  }
  .jg_photo {
    width: 100%;
  }
  
  .item_introtext table tr td:before,
  .item_fulltext table tr td:before {
    font-size: 15px;
    padding: 10px;
  }
  .item_introtext table tr td + td,
  .item_fulltext table tr td + td {
    border-left: none;
  }
  .chzn-container {
    width: 100% !important;
    min-width: 200px;
  }
  #habla_beta_container_do_not_rely_on_div_classes_or_names {
    display: none !important;
  }
}
@media (max-width: 320px) {
  #style_switcher {
    width: 220px !important;
    padding: 20px !important;
  }
  #style_switcher ul {
    padding: 0 0 13px !important;
  }
  #style_switcher ul li {
    margin-right: 5px !important;
  }
}