
@media only screen and (max-width: 900px) {

    body, div, p, a, table, td {
        -webkit-text-size-adjust: none;
        letter-spacing: .015em;
    }

    body {

        overflow-x: hidden;
        overflow-y: auto;
    }

    .boxed {
        float:right;
    }
    .themenumobile {
        text-align:right;
    }
    body.menu-active {
        overflow: hidden;
        position: relative;
        height: 100%;
    }

    .menu-active .boxed {
        margin-right: 50%;
        overflow: hidden;
    }

    .boxed {
        z-index: 2;
        position: relative;
        width: 100%;
        transition: margin 0.2s;
        -moz-transition: margin 0.2s;
        -webkit-transition: margin 0.2s;
        -o-transition: margin 0.2s;
        height: 100%;
    }

    .wrapper {
        width: 90%;
    }

    .ad-link.top {
        display: none;
    }

    .ad-banner img {
        max-width: 100%;
        height: auto;
    }

    .header .header-menu {
        /*width: 100%;*/
        /*margin: 30px 0px 0px 0px;*/
        margin-right: 10px;
        /*clear: both;
        float: none;*/
        float:right;
        display: block;
    }

    .header .header-addons {
        float: none;
        display: block;
        width: 100%;
        clear: both;
        text-align: center;
        padding-top: 20px;
        padding-bottom: 20px;
        border-top: 1px solid rgba(0,0,0,0.1);
        margin-top: 25px;
        margin-bottom: -10px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .header .header-addons > div {
        display: inline-block!important;
        text-align: right;
    }

    .header .header-addons .header-weather {
        margin-top: 3px;
        margin-left: 20px;
        margin-bottom: 7px;
    }

    /* ?? ADDED*/
    .header-wrapper {
        height: auto;
    }
    a.mobile-menu {
        display: block!important;
        position: absolute;
        font-size: 30px;
        left: 0px;
        top: 30px;
        width: 30px;
        line-height: 100%;
        padding: 5px;
        background: #fff;
        color: #652816;
        text-align: center;
    }

    .header .header-logo {
        /*margin-left: 0px;*/
        display: block;
        /*float: none;*/
    }

    .secondary-menu,
    .main-menu {
        display: none;
    }

    .search-button {
        margin-top: 0px;
        height: 100%;
    }

    body.menu-active .themenumobile {
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        opacity: 1;
    }

    .themenumobile {
        display: block;
        z-index: 1;
        background: #232323;
        width: 50%;
        position: absolute;
        top: 0px;
        right: 0px;
        height: 100%;
        box-shadow: inset -60px 0px 60px -70px rgba(0,0,0,0.3);
        overflow-x: hidden;
        overflow-y: auto;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        opacity: 0;
    }

    .themenumobile strong {
        display: block;
        margin: 20px 15px -15px 15px;
        border-bottom: 2px solid rgba(255,255,255,0.1);
        text-align: center;
        font-size: 18px;
        color: #ccc;
        padding-bottom: 20px;
    }

    .themenumobile > ul {
        display: block;
        margin: 15px;
    }

    .themenumobile > ul ul {
        border-right: 4px solid rgba(255,255,255,0.05);
    }

    .themenumobile ul li {
        display: block;
    }

    .themenumobile ul li a {
        display: block;
        padding: 12px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-weight: bold;
        color: #ccc;
    }

    .themenumobile ul li a:hover {
        background: rgba(255,255,255,0.05);
    }

    .escape-mobile-menu {
        display: block;
        position: absolute;
        height: 100%;
        top: 0px;
        left: 0px;
        width: 50%;
        z-index: 1;
        background: #232323;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        opacity: 0;
        box-shadow: inset 30px 0px 30px -40px #000, inset 1px 0px 0px rgba(255,255,255,0.3);
    }

    body.menu-active .escape-mobile-menu {
        z-index: 3;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
        filter: alpha(opacity=50);
        opacity: 0.5;
    }

    body.menu-active .escape-mobile-menu:hover {
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        opacity: 0.4;
    }

    body.menu-active .demo-settings {
        display: none;
    }

    .article-block-big li {
        width: 28.85%;
        margin-left: 2.17%;
    }

    .article-block-big li .article-photo img,
    .article-block-big li .article-photo {
        width: 100%!important;
        height: auto!important;
    }

    .double-block .content-block,
    .double-block .content-block.main {
        display: block;
        width: 100%;
        margin: 0px;
        float: none;
    }

    .footer ul {
        display: block;
        float: none;
        width: 100%;
        clear: both;
        margin-bottom: 15px;
    }

    .footer ul li:first-child {
        margin-right: 0px;
    }

    .footer ul:after {
        display: block;
        content: '';
        clear: both;
    }

    .main-content .main-page {
        float: none!important;
    }


    .double-block .content-block .featured-block img {
        width: 100%;
        height: auto;
    }

    .double-block .content-block:not(.main) .featured-block {
        display: none;
    }

    .single-block .content-block {
        display: block;
        width: 100%;
    }

    #writecomment {
        width: 70%;
    }

    #writecomment p label {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        text-align: right;
        line-height: 130%;
    }

    .article-title h1 {
        line-height: 110%;
    }

    .article-title h1,
    .article-tags,
    .article-title .author {
        margin-left: 0px;
        margin-top: 20px;
        clear: both;
    }

    .article-title .author:after {
        display: block;
        clear: both;
        content: ''
    }

    .article-title .share-block {
        float: none!important;
        position: relative;
        display: block;
        width: 100%;
        clear: both;
        padding-right: 0px;
    }

    .article-title .share-block:before {
        display: none;
    }

    .full-width .article-title h1 {
        margin-top: 0px;
    }

    .full-width .article-title .share-block {
        display: none;
    }

    .gallery-preview {
        width: 100%;
        max-width: 450px;
    }

    .photo-gallery-grid {
        width: 109.8%;
    }

    .photo-gallery-grid .photo-gallery-block {
        width: 28.85%;
        margin-left: 2.17%;
    }

    .block-content.archive > .block:nth-child(4n),
    .block-content.archive > .block:nth-child(5n),
    .block-content.archive > .block {
        width: 30%;
        margin-left: 5%;
    }

    .block-content.archive > .block:nth-child(3n) {
        margin-left: 0px;
    }

    .gallery-photo .hover-effect,
    .gallery-photo .hover-effect .cover img {
        width: 100%;
    }

    .gallery-photo {
        width: 100%;
    }

    .article-block li:last-child {
        border-bottom: 1px dotted #c0bfbf;
    }
    .list-images .items {
        width: 100%;
    }
    ol.footer-block {
        width: 50%;
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    .footer-pages li {
        list-style: none;
        margin-right: 0px;
    }
    .footer-bottom .wrapper .left,.footer-bottom .wrapper .right  {
        float:none!important;
        margin-right:0px;
        margin-left:0px;
        text-align: center;
    }
    .footer .logo-footer,.footer ul li {
        float: none;
        margin-right:auto;
        margin-left:auto;
    }
    
    .article-block-big li .article-photo img.slideshowOverlay, .article-photo img.slideshowOverlay {
        bottom: 0!important;
        height: 21px!important;
        right: 0!important;
        position: absolute!important;
        width: 83px!important;
    }
}