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

    #body {
        width:100%;
        position:relative;
        margin-top: 50px;
    }

    #container{
        overflow:hidden;
        margin-top: 0px;
    }

    #header{
        display:none;
    }   

    #header-tablet{
        display:block;
        position: fixed;
        top:0;
        z-index:2;

    }

    #container.disablePage{
        position: fixed;
    }

    #container.search.disablePage{
        position: relative;
    }
    #header-tablet #header-tablet-navigation{
        left: 0px;
        position: fixed;
        width:0px;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        background: #28282d;
    }

    #header-tablet ul {
        list-style: none;
        margin: 0;
        padding: 0;
        font-weight: 400;
        font-size: 20px;

    }

    #header-tablet ul.header-sections {
        margin-top: 48px;
        margin-bottom: 77px;
    }

    #header-tablet ul a{
        color:#ffffff;
        display: block;
    }

    #header-tablet .ok span.logo-home-button {
        margin-top: 8px;
        margin-left: 8px;
    }

    #header-tablet ul.header-sections li{
        width:100%;
        background-color: #3b3c41;
        border-top: 2px solid #28282d;
        line-height: 48px;
        min-width: 200px;
        color: white;
    }

    #header-tablet ul.header-sections li span.label{
        padding-left: 12px;
        display: inline-block;
    }

    #header-tablet ul.header-sections li.hov ul.submenu{
        display:none;
    }

    #header-tablet ul.header-sections li.hov ul.submenu li{
        width:100%;
        background-color: #28282d;
        border-top: 2px solid #3b3c41;
        line-height: 48px;
    }

    #header-tablet ul.header-sections li ul.submenu li:hover{
        background-color:#c80000;
    }

    #header-tablet .ok{
        position: fixed;
        top:0;
        left:0;
        background: rgb(202,0,0);
        border:none;
        width:100%;
        height: 48px;
        padding: 0px 12px;
        z-index:3;
    }

    #header-tablet .search-box {
        position: fixed;
        bottom: 0;
        left: 0;
        height: 77px;
        background-color:#28282d;
        width:0px;
        overflow: hidden;
    }

    #header-tablet .search-box input{
        border-radius:6px;
        width: 90%;
        padding-left: 7px;
        margin-top: 10px;
        display: block;
        margin-left: auto;
        margin-right: auto;
        height: 28px;
        border: none;
        font-size:20px;
        font-family: 'Open Sans', sans-serif;
        border:none;
        padding-bottom: 2px;
        padding-top: 0px;
        padding-right: 0px;
    }

    #header-tablet .search-box a{
        position: absolute;
        right: 4%;
        top: 12%;
    }

    #header-tablet .search-box input::-ms-input-placeholder {
        color:#28282d;
    }

    #header-tablet .search-box input::-webkit-input-placeholder {
        color:#28282d;
    }

    #header-tablet ul.header-sections li.hov .arrow-down-white{
        float: right;
        margin-top: 20px;
        margin-right: 14px;
    }

    #header-tablet ul.header-sections li.facebook{
        background-color: #3b5998;
        border-top:none;
    }

    #header-tablet ul.header-sections li.facebook .fb-icon{
        vertical-align: bottom;
        margin-left: 14px;
        margin-bottom: 5px;
    }

    #header-tablet ul.header-sections li.twitter{
        background-color: #00aced;
    }

    #header-tablet ul.header-sections li.twitter a{
        display:inline-block;
        width: 100%;
    }

    #header-tablet ul.header-sections li.facebook a{
        display:inline-block;
        width: 100%;
    }

    #header-tablet ul.header-sections li.twitter .twitter-icon{
        vertical-align: bottom;
        margin-bottom: 12px;
        margin-left: 11px;
    }

    #header-tablet ul.header-sections li.facebook .share, 
    #header-tablet ul.header-sections li.twitter .share{
        width: 45px;
        float:right;
        border-left: 2px solid #28282d;
        cursor:pointer;
    }

    #header-tablet ul.header-sections li.hov .arrow-right-white{
        float: right;
        margin-top: 15px;
        margin-right: 16px;
    }

    #header ul.header-sections li.facebook{
        position: absolute;
        top: 0px;
        left: 0px;
    }

    #header ul.header-sections li.twitter{
        position: absolute;
        top: 48px;
        left: 0px;
    }

    #burger{
        position:relative;
        float:right;
        padding-right: 36px;
        padding-top:15px;
    }

    #burger span{
        cursor: pointer;
    }

    .center-content {
        width: 100%;
    }

    .col-left {
        width: 67.9%;
        margin-right:0px;
    }

    .col-right {
        width: 30.9%;
        float: right;
    }

    .horoswipe-widget{
        width: 98%;
        overflow: hidden;  
    }

    .promo-tile-slot{
        width:100%;
        height:auto;
        margin-bottom: 40px;
        position:relative;
    }

    .section-horoscopes-widget .section-article .img-wrapper, 
    .section-articles-widget .section-article .img-wrapper {
        width:100%;
        height:auto;
        margin-bottom: 40px;
        position:relative;
    }

    .promo-tile-slot .info-bar {
        bottom: -39px;
    }

    .promo-tile-slot img, .section-article img, 
    .section-horoscopes-widget .section-article, 
    .section-articles-widget .section-article{
        width:100%;
        height:auto;
        display: block;
        max-height: 44vw;
        object-fit: cover;
    }

    .section-articles-widget{
        overflow: hidden;
        height: auto;
        margin-bottom: 9px;
    }

    .section-horoscopes-widget .section-article-link{
        margin-bottom: 9px;
    }

    .promo-tile-slot .text-bottom {
        width:89%;
        padding: 1% 6% 2% 5%;
        bottom: 0px;
    }

    .section-horoscopes-widget .section-article .text-bottom, 
    .section-articles-widget .section-article .text-bottom  {
        width:89%;
        padding: 1% 6% 2% 5%;
        bottom: 46px;
    }

    .section-horoscopes-widget .section-article .info-bar, 
    .section-articles-widget .section-article .info-bar{
        bottom: 7px;
    }

    .section-horoscopes-widget .border-bottom-gradient, 
    .section-articles-widget .border-bottom-gradient, 
    .result .border-bottom-gradient {
        bottom: 3px;
    }

    .promo-link,
    .section-article-link {
        width:47%;
    }

    .section-articles-widget  div.section-article-link.section-article {
        width: 47% !important;       
    }

    .promo-link.last {
        margin: 20px 0 0 0;
    }

    .col-right .promo-link{
        width: 100%;
    }

    .entity-results-list {
        width: 98%;
    }

    .promo-tile-slot .text-bottom .main-title, 
    .promo-tile-slot .text-top, 
    .section-horoscopes-widget .section-article .text-bottom .text, 
    .section-articles-widget .section-article .text-bottom .text {
        font-size: 3vw;
        line-height: 100%;
        padding-top: 3px;
    }

    .promo-tile-slot .text-top{
        height: 35px;
        line-height: 35px;
        font-size: 3.5vw;
    }
    .promo-tile-slot .text-bottom .blurb {
        font-size: 1.3vw;
        line-height: 100%;
    }

    .col-right .promo-tile-slot{
        margin-bottom: 0;
    }

    .col-right .text-bottom{
        bottom: 40px;
    }

    .col-right .info-bar{
        bottom: 0;
    }


    #footer .footer-top .btn-to-top, 
    #footer .footer-top .btn-more-stories, 
    #footer .footer-top .search-ok {
        width: 29.2%;
        margin-left: 25px;
    }

    #footer .footer-bottom ul{
        width: 29.7%;
    }


    .search-results-content .search-results-header .search-wrapper .btn-search {
        position: absolute;
        right: 0;
        left: auto;
    }

    .search-results-content .search-results-header .search-wrapper input {
        width:90%;
    }

    .search-results-content .search-results-body .entity-result .entity-result-left, 
    .search-results-content .search-results-body .entity-result .entity-result-middle, 
    .search-results-content .search-results-body .entity-result .entity-result-right{
        width: 31%;
    }

    .search-results-content .search-results-body .entity-result .entity-result-right{
        float:right;
    }

    .search-results-content .search-results-body .entity-result .entity-result-right .img-wrapper{
        width:100%;
        margin: 0px;
        height: auto;
    }

    .entity-results-list .result .result-title, 
    .search-results-content .search-results-body .entity-result .entity-result-left .title {
        font-size: 32px;
    }

    .search-results-content .search-results-body .entity-result .entity-result-left .description, 
    .entity-results-list .result .result-blurb {
        font-size: 17px;
    }

    .search-results-content .search-results-body .entity-result .entity-result-right .img-wrapper img{
        width: 100%;
        height: auto;
    }


    .entities-list-wrapper table.entities-list td{
        width:15%;
    }

    .entities-list .entity-item-link{
        width:90%;
    }

    .entities-list .entity-item-link .entity-item .img-wrapper {
        width:100%;
        height:135px;
    }

    .search-box span.search-icon-black{
        position: absolute;
        top: 8px;
        right: 8px;
    }
    /* Embeded gallery */

    #gallery-main div.top, 
    .gallery-main div.top {
        width: 40%!important;
    }

    #gallery-aside {
        width: 30.6%!important;
    }

    .around:not(.fullscr-view) #gallery {
        width: 150% !important;
        overflow: hidden;
    }

    #gallery-main, 
    .gallery-main {
        width:67% !important;
    }
    #gallery-main-photo, 
    .gallery-main-photo{
        width:100% !important;
    }

    .section-content .section-header .entities-by-letter {
        font-size: 16px;
    }

    .middle span.arrow-right-white{
        display: none;
    }
    .entities-list .entity-item-link {
        margin-right: 20px;
        font-size: 13px;
    }

    #gallery-main header h1, 
    #gallery-main.light h1, 
    .gallery-main header h1, 
    .gallery-main.light h1{
        font-size: 18px;
        line-height: 22px;
    }
    /* End of embeded gallery */

    div.section-article-link.section-article a.str-adunit.section-article-link {
        width: 100%;
    }

    #nse-widget {
        float: right;
        margin-right: 10px;
    }

    #nse-widget .nse_guest .nse_widget-list {
        list-style: none;
        padding: 0;
        font-size: 0;
        cursor: pointer;
    }

    #nse-widget .nse_guest .nse_widget-list .nse_login .nse_login-link {
        display: block;
        height: 100%;
    }

    #nse-widget .nse_guest .nse_widget-list .nse_register {
        display: none;
    }

    #nse-widget .nse_known-user span.nse_name-container {
        font-size: 0;
        display: inline-block;
        vertical-align: top;
    }

    #nse-widget .nse_known-user {
        position: relative;
        margin-top: 7px;
    }

    #nse-widget .nse_known-user ul.nse_widget-list {
        list-style: none;
        padding: 0;
        right: 0;
        background: rgb(202,0,0);
        position: fixed;
        width: 100%;
        top: 48px;
    }

    #nse-widget .nse_known-user ul.nse_widget-list li {
        padding: 5px 15px;
    }

    #nse-widget .nse_known-user ul.nse_widget-list li:hover {
        background: white;
    }

    #nse-widget .nse_known-user ul.nse_widget-list,
    #nse-widget .nse_known-user img.nse_profile-photo {
        display: none;
    }
}

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

    .cc-inner {
        padding-left:18px;
        padding-right:18px;
    }

    .section-horoscopes-widget .section-article-link, 
    .section-articles-widget .section-article-link,
    .promo-link, 
    .section-article-link {
        margin-right: 20px;
    }

    .promo-tile-slot .text-bottom .blurb {
        font-size: 10px;
        line-height: 8px;
    }


    #burger {
        padding-right: 32px;
    }

    #header-tablet .ok span.logo-home-button {
        margin-left: 5px;
    }

    #footer .footer-top .btn-to-top, 
    #footer .footer-top .btn-more-stories, 
    #footer .footer-top .search-ok{
        width: 29.1%;
    }

    #footer .footer-bottom ul{
        width: 29.1%;
    }

    #gallery-main-photo, 
    .gallery-main-photo {
        height: 385px;
    }

    #gallery-main-photo img, 
    .gallery-main-photo img {
        max-height: 380px;
    }

    .section-articles-widget .section-article .info-bar .time-stamp {
        margin-top: 0px;
        width: 50%;
    }

    .search-results-content .search-results-body .entity-result .entity-result-left, 
    .search-results-content .search-results-body .entity-result .entity-result-middle{
        width: 30.9%;
    }

    .section-horoscopes-widget .section-article .info-bar .text {
        font-size: 16px;
    }

    .entity-results-list {
        margin-top: -13px;
        margin-right: 10px;
    }

    .entities-list .entity-item-link .entity-item .img-wrapper {
        height:123px;
    }

    #footer .footer-top .btn-to-top, 
    #footer .footer-top .btn-more-stories, 
    #footer .footer-top .search-ok{
        width: 29.1%;
        margin-left: 18px;
    }

    #footer .footer-top .search-ok{

        margin-right: 18px;
    }

    #footer .footer-bottom ul{
        padding-left: 18px;
    }

    .cookie-div .message {
        font-size: 14px;
        width: 60%;
        display: inline-block;
        line-height: 26px;
        padding-top: 7px;

    }
    .cookie-div .button {
        margin-left: 0;
        vertical-align: top;
    }

}

@media only screen and (min-width:900px) and (max-width: 1024px)  {
    #gallery-main-photo, 
    .gallery-main-photo {
        height: 385px;
    }

    #gallery-main-photo img, 
    .gallery-main-photo img {
        max-height: 380px;
    }

}

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

    .section-articles-widget .section-article .info-bar .time-stamp {
        margin-top: 0px;
        width: 50%;
    }


}

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

    #footer .footer-top .search-ok .search-loop {
        right: -13px;
    }


    .promo-tile-slot .text-bottom .main-title, 
    .promo-tile-slot .text-top, 
    .section-horoscopes-widget .section-article .text-bottom .text, 
    .section-articles-widget .section-article .text-bottom .text {
        font-size: 20px;

    }

    .entity-results-list .result .result-title, 
    .search-results-content .search-results-body .entity-result .entity-result-left .title {
        font-size: 30px;
    }

    .section-horoscopes-widget .section-article .info-bar .text {
        font-size: 14px;
    }


}

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

    #container{
        min-width:680px;
        overflow-x:auto;
    }
}