html, body, .maincontainer{
    position: relative;
    height: 100%;
    width: 100%;
    margin: 0;
}

html *{
  box-sizing: border-box;
}

html{
    font-family: 'Roboto', san-serif
}

.maincontainer{
    position: relative;
    display: block;
}
 
.navbar{
    position: fixed;
    display: flex;
    width: 100%;
    height: 20mm;
    border-bottom: 1px solid;
    padding: 5mm 20mm;
    justify-content: space-between;
    align-items: center;
    background-color: #1d1d1d;
    flex-flow: row;
    flex-wrap: nowrap;
    z-index: 1;
}

.navbar > div{
    display: flex;
    position: relative;
    height: 100%;
    width: auto;
    justify-content: center;
    align-items: center;
}

.navbar .logo-container .logo{
    width: 15mm;
    height: 100%;
    margin-right: 5mm;
    background-color: #2196F3;
}

.navbar .logo-container > label{
    color: white;
    font-weight: bolder;
    text-transform: uppercase;
}

.navbar .menu-container a{
    color: white;
    text-decoration: none;
    margin: 0 5mm;
}

.navbar .menu-container img{
    width: 23px;
    height: 23px
}

.navbar .menu{
    display: none;
}

.content-container{
    padding: 7mm 40mm;
    position: relative;
    display: flex;
    flex-direction: column;
    top: 20mm;
    height: auto;
    width: 100%;
    /* overflow: hidden; */
}

.content-container .header{
    display: block;
    height: auto;
}

.content-container .header .article-info label:first-child{
    display: inline-block;
    background-color: #2196F3;
    padding: 1mm 2mm;
    border-radius: 2px;
    color: white;
}

.content-container .header .article-info label{
    margin-right: 3mm;
}

.content-container .header .article-info label:not(:first-child){
    font-style: italic;
    color: #818181;
}

.content-container .content-body {
    display: flex;
    
}

.content-container .article{
    position: relative;
    display: inline-block;
    width: 70%;
    height: auto;
    padding-right: 10mm;
}

.content-container .article .article-tb,
.content-container .side-articles .per-article .article-tb{
    position: relative;
    display: inline-block;
    height: auto;
    width: 100%;
/*     object-fit: cover; */
}

.content-container .side-articles .per-article .article-tb{
    max-height: 50mm;
}

.content-container .article .article-tb img,
.content-container .side-articles .per-article .article-tb img{
    position: relative;
    height: 100%;
    width: 100%;
}

.content-container .article .article-tb img{
    min-height: 375px;
    object-fit: cover;
}

.content-container .side-articles .per-article > label{
    font-weight: 500;
    padding-top: 1mm;
    display: block;
    color: #404040;
}

.content-container .side-articles{
    display: flex;
    flex-direction: column;
    width: 30%;
    padding: 0 4mm;
    /* justify-content: center; */
    /* float: right; */
}

.content-container .side-articles .ad{
    margin: 3mm 0;
}

.content-container .side-articles .header{
    margin-bottom: 5mm;
}

.content-container .side-articles .header h3{
    margin: 0;
}

.content-container .side-articles .header h3:after{
    content: "";
    display: inline-block;
    width: 35%;
    height: 2mm;
    margin-left: 5mm;
    background-color: black;
}

.content-container .side-articles .ad IFRAME{
    margin: unset;
}

.content-container p{
    color: #404040;
}

.content-container .side-articles .per-article{
    /* margin-bottom: 5mm; */
    width: 100%;
}

.content-container .side-articles .articles-container{
    width: 336px;
    margin: 5mm 0;
}

.content-container .bottom-ad{
    width: 100%;
    border-top: 1px solid #cecece;
    height: 50mm;
    margin-top: 5mm;
    padding-top: 10mm;
}

.content-container .bottom-ad .ad{
    position: relative;
    width: 100%;
    border-radius: 2px;
    background: url(images/flatad.jpg) no-repeat 50% 50%;
    height: 100%;
    background-size: cover;
}

.content-container .bottom-ad .ad:before{
    content: "Sample Advertisement";
    position: absolute;
    font-family: inherit;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    
}

.footer{
    position: relative;
    height: 50mm;
    width: 100%;
    top: 20mm;
    display: block;
    background-color: black;
    padding: 10mm 20mm;
}

.footer .logo-container{
    width: auto;
    height: 10mm;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer .logo{
    display: inline-block;
    width: 15mm;
    height: 100%;
    margin-right: 5mm;
    background-color: #2196F3;
}

.footer .logo-container label{
    color: white;
    font-weight: bolder;
    text-transform: uppercase;
}
@media screen and (max-width:1280px) {
    .content-container {
        padding: 5mm;
    }
    .content-container .content-body {
        flex-direction: column;
    }
    .content-container .article {
        width: 65%;
    }
    .content-container .side-articles {
        width: 35%;
    }
}

@media screen and (max-width:980px) {
    .navbar {
        padding: 5mm;
    }
    .navbar .logo-container > label{
        font-size: 13px
    }
    .navbar .logo-container .logo{
        width: 10mm;
    }
    .navbar a, .navbar img{
        display: none;
    }
    .navbar .menu{
        display: block;
    }
    .content-container {
        padding: 5mm;
    }
    .content-container .header label {
        font-size: 12px;
    }
    .content-container .header h1 {
        font-size: 26px;
    }
    .content-container .article {
        width: 100%;
        padding: 0;
    }
    .text-container p {
        font-size: 14px;
    }
    .content-container .side-articles {
        width: 100% !important;
        padding-bottom: 5mm;
        padding: 0;
        float: unset;
    }
    .content-container .side-articles .articles-container {
        width: 100%;
    }
    .content-container .side-articles .per-article .article-tb img{
        margin: 0 auto;
    }
    .content-container .side-articles .per-article {
        text-align: center;
    }
    .content-container .side-articles .header h3 {
        font-size: 20px;
    }
    .content-container .side-articles .header h3:after{
        display: none;
    }
    .content-container .side-articles .per-article > label {
        font-size: 12px;
    }
    .content-container .side-articles .ad IFRAME {
        margin: 0 auto;
    }
    .footer {
        /* display: none; */
    }
}

@media screen and (max-width:480px){

}

@media screen and (max-width:350px) {
    
}