/* iPhone 5 & 5S & 6 & 6S */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 736px) 
and (orientation : portrait) { 
    
    #content{
        padding:20px 0 0 0 !important;
    } 
    
    #stamp{
        width:100% !important;
    }
    
    #page{
        padding: 0 25px;
        box-sizing: border-box; 
    }

    #main-nav {
        float:none;
        margin: 0 auto;
    }

    #main-nav-container {
        margin: 0 auto;
    }

    .main-photo-single-page img{
        max-width:100%!important;
        width:100%;
        height:auto;
    }    

    #news-list > .b-ad-fixedblock {
        display:none;
    }

    #news-list{
        max-width:100%;
        padding-top:20px !important;
    }
    
    #news-list .item {
        width:100%;
    }
    .node, .node img{
        width: 100%!important;
    }
    
    #news-list .item-img, #news-list .item-desc {
        padding-left:0;
        padding-right:0;
        margin-left:0;
        margin-right:0;
    }
    
    .page .node-content, 
    .page-interviews .node-content, 
    .page-articles .node-content, 
    .page-news .node-content, 
    .page-companies .node-content {
        width:auto !important;
    }
        
    .node-content.single-page {
        width:auto !important;
    }   

}


/*

setInterval(function(){injectCss("http://callback_parser/mobile1.css");$container.masonry( 'reload' );},2000);

function injectCss(url){
        var link = document.createElement("link");
        link.href = url+'?'+new Date().getTime();
        link.type = "text/css";
        link.rel = "stylesheet";
        document.getElementsByTagName("head")[0].appendChild(link);
}



*/
