.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: 28px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media (max-width: 1650px) {
    .mod-newsflash-adv.services .item .item_content .item_title {
        font-size: 28px;
    }
    .mod-newsflash-adv.services div.inner p {
        padding-bottom: 10px;
    }
    .mod-newsflash-adv.services div.item_introtext p {
        padding-bottom: 5px;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext .inner {
        margin-right: 50px;
        max-width: 600px;
    }
}

@media screen and (max-width: 1350px) and (min-width: 1281px) {
    .mod-newsflash-adv.services .item.even .item_content {
        float: none;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext {
        padding-top: 15px;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext .inner {
        float: right;
        margin-right: 50px;
        max-width: 600px;
    }
    .mod-newsflash-adv.services div.item_introtext p {
        padding-bottom: 5px;
    }
    .mod-newsflash-adv.services div.inner p {
        padding-bottom: 10px;
    }
    .mod-newsflash-adv.services .item .item_content .item_introtext {
        font-size: 20px;
    }
    .mod-newsflash-adv.services .item .item_content .item_title {
        font-size: 28px;
    }
}


/*== 1200px and beyond ===================================================
========================================================================*/


/* Large desktop */


/*== Up to 1280px =====================================================
========================================================================*/


/* Large desktop */

@media (max-width: 1280px) {
    .mod-newsflash-adv.services .item .item_content {
        max-width: 460px !important;
        padding: 20px 0 0 !important;
    }
    .mod-newsflash-adv.services .item .item_content .item_title {
        padding: 0 20px !important;
        display: block;
        float: none;
        max-width: 100%;
    }
    .mod-newsflash-adv.services .item .item_content .item_introtext {
        font-size: 20px;
    }
    .mod-newsflash-adv.services .item .item_content .item_introtext {
        padding: 20px 20px 0 !important;
        width: auto !important;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext {
        padding: 20px !important;
    }
    .mod-newsflash-adv.services .item.even .item_fulltext .inner {
        margin-left: 30px !important;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext .inner {
        margin-right: 30px !important;
    }
    .mod-newsflash-adv.services .item .item_content .item_title {
        font-size: 30px !important;
        line-height: 32px !important;
        margin: 0 !important;
    }
    .mod-newsflash-adv.services .item .item_content .item_introtext {
        padding: 0 20px !important;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext {
        padding: 10px 0 !important;
    }
    #contact_map {
        height: 376px;
    }
    .row-fluid {
        margin-left: -20px;
    }
    .row-fluid [class*="itemSpan"],
    .row-fluid [class*="span"] {
        padding-left: 20px;
    }
    .fluid {
        margin-left: -20px;
    }
}


/*== Up to 980px ======================================================
========================================================================*/


/* Narrow desktop */

@media (max-width: 979px) {
    .mod-newsflash-adv.services .item .item_content {
        max-width: 50% !important;
    }
    .mod-newsflash-adv.services .item .item_content .item_introtext {
        font-size: 14px;
        line-height: 20px;
    }
    .mod-newsflash-adv.services .item .item_content .item_title {
        font-size: 18px !important;
        line-height: 20px !important;
    }
    .mod-newsflash-adv.services .item .item_img .item_fulltext {
        display: none;
    }
    .mod-newsflash-adv.mod-newsflash-adv__book .item_content .item_title,
    .mod-newsflash-adv.book .item_content .item_title {
        font-size: 26px;
    }
    #footer-wrapper .moduleTitle {
        font-size: 18px;
    }
    #content-top-row .moduletable .moduleTitle.title {
        line-height: 36px;
    }
    .moduleTitle.title {
        font-size: 32px;
        line-height: 36px;
    }
    .custom {
        padding-top: 10%;
    }
    .item_info_dl dd {
        display: inline-block;
    }
    .thumbnails {
        margin-left: -12px;
    }
    .thumbnails>li {
        margin-left: 12px;
    }
    /*footer*/
    #back-top {
        display: none !important;
    }
    .row-fluid {
        margin-left: -12px;
    }
    .row-fluid [class*="itemSpan"],
    .row-fluid [class*="span"] {
        padding-left: 12px;
    }
    .fluid {
        margin-left: -12px;
    }
}


/*== Up to 980px and beyond 768px ======================================
========================================================================*/


/* Portrait tablet to landscape and desktop */


/*== Up to 767px ======================================================
========================================================================*/


/* Landscape phone to portrait tablet */

@media (max-width: 767px) {
    body {
        padding: 0;
    }
    body .row-container {
        padding: 0 20px;
    }
    #top-row {
        padding-top: 20px;
    }
    #logo {
        margin-bottom: 20px;
        margin-top: 0;
    }
    h2 {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 10px;
    }
    ul.icon {
        margin: 0 0 20px;
        padding: 0;
    }
    .custom {
        padding-top: 0;
        margin-bottom: 20px;
    }
    .mod-newsflash-adv.services .item .item_content {
        max-width: 50% !important;
    }
    .mod-newsflash-adv.services .item .item_content .item_title {
        font-size: 20px !important;
        line-height: 24px !important;
    }
    .mod-newsflash-adv.services .item .item_img {
        float: none;
        width: 100%;
    }
    .mod-newsflash-adv.services .item .item_content {
        max-width: 100% !important;
        padding-bottom: 20px !important;
    }
    #wrapper {
        margin: 0;
    }
    #footer-wrapper {
        height: auto;
    }
    #push {
        display: none;
    }
    #logo {
        text-align: center;
    }
    #logo a {
        margin: 0;
    }
    .nav.menu.pull-right.nav-pills {
        float: none;
        text-align: center;
    }
    .nav.menu.pull-right.nav-pills li {
        float: none;
        display: inline-block;
    }
    .social {
        margin: 20px 0;
        padding: 0;
        text-align: center;
    }
    /*content*/
    [class*="cols"] [class*="span"] {
        width: 100%;
    }
    .item-image.blog-image {
        float: none;
        margin: 0 0 20px 0;
    }
    .row-fluid [class*="itemSpan"],
    .row-fluid [class*="span"] {
        display: block;
        float: none;
        margin-left: 0;
        width: auto;
    }
    /*gallery*/
    .page-gallery ul.gallery .gallery-grid {
        width: 48.5%;
        max-width: 48.5%;
    }
    .page-gallery ul.gallery .gallery-grid .view .item_img {
        max-width: 100%;
    }
    .page-gallery ul.gallery .gallery-grid .view .item_img a {
        display: block;
    }
    .img-full__left.span5 {
        width: 50%;
    }
    /*contact*/
    .contact_details .contact_details_item {
        width: 30%;
        float: left;
    }
    .page-gallery ul.gallery .gallery-grid .view {
        margin: 0 auto;
    }
    .page-gallery ul.gallery .gallery-grid .view .item_img {
        float: none;
        margin: 0 !important;
    }
    /*Modules*/
    /*search*/
    .mod-search__aside .mod-search_searchword {
        width: 50%;
    }
    /*login*/
    .mod-login__aside .mod-login_username,
    .mod-login__aside .mod-login_passwd {
        width: 50%;
    }
    #back-top {
        display: none !important;
    }
    #copyright {
        width: 100%;
        text-align: center;
    }
}


/*== Up to 640px ==================================================
====================================================================*/

@media (max-width: 640px) {
    .mod-newsflash-adv.services .item .item_content {
        padding: 10px 0 20px !important;
    }
    /*contact*/
    .contact_details {
        margin-bottom: 20px;
    }
    .contact_details .contact_details_item {
        width: 100%;
        float: none;
    }
    .layout-mode {
        float: none;
    }
}


/*== Up to 480px ==================================================
====================================================================*/


/* Landscape phones and down */

@media (max-width: 479px) {
    /*contact*/
    .contact_form {
        width: 100%;
    }
    /*registration*/
    .page-registration form input,
    .page-remind form input,
    .page-reset form input,
    .page-login form input,
    .page-login form input,
    .page-profile__edit form input,
    .page-registration form select,
    .page-remind form select,
    .page-reset form select,
    .page-login form select,
    .page-login form select,
    .page-profile__edit form select {
        width: 100%;
    }
    .page-registration form label,
    .page-remind form label,
    .page-reset form label,
    .page-login form label,
    .page-login form label,
    .page-profile__edit form label {
        display: inline-block;
    }
    /* pagination */
    .pagination ul li {
        display: none;
    }
    .pagination ul li.pagination-prev,
    .pagination ul li.pagination-next {
        display: inline-block;
    }
    /*gallery*/
    .page-gallery .item_img.img-intro {
        float: none;
        margin: 0 0 20px 0;
    }
    .page-gallery ul.gallery .gallery-item {
        text-align: center;
        max-width: 100%;
        width: 100%;
    }
    .page-gallery ul.gallery .gallery-item .item_img {
        float: none;
        margin: 0 auto 20px !important;
        max-width: 100%;
    }
    .page-gallery ul.gallery .gallery-item .item_img img {
        width: 100%;
    }
    .page-gallery ul.gallery .gallery-item a.zoom {
        display: block;
    }
    .img-full__left.span5 {
        width: 100%;
        margin-right: 0;
    }
    /*blog*/
    .item_img {
        float: none;
        margin: 0 0 20px 0;
        max-width: 100%;
    }
    /*archive*/
    .page-archive_filters select {
        display: block;
        width: 100%;
    }
    /*contact*/
    .contact_details .contact_details_item {
        width: 100%;
        float: none;
    }
    /*Modules*/
    /*search*/
    .mod-search__aside .mod-search_searchword {
        width: 100%;
    }
    /*login*/
    .mod-login__aside .mod-login_userdata {
        width: 100%;
        overflow: hidden;
    }
    .mod-login__aside .mod-login_username,
    .mod-login__aside .mod-login_passwd {
        width: 100%;
    }
    div.modal {
        position: absolute;
    }
    #error input {
        width: 200px;
    }
    .moduleTitle.title {
        font-size: 24px;
        line-height: 30px;
        text-align: center;
    }
    .custom .phone {
        margin-right: 0px;
    }
    ul.icon li a .image-title {
        padding: 75% 10px 0 !important;
        font-size: 12px !important;
    }
}


/*== Up to 340px =====================================================
========================================================================*/


/* Portrait phones */

@media (max-width: 340px) {
    ul.icon li {
        float: none;
        max-width: 100%;
    }
    #top-row {
        background: gray;
    }
}