/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/* Desktop / TV */
@media (min-width: 768px) {
    html, body {
        width: 100vw;
        height: 100vh;
        margin: 0 auto;
        overflow-x: hidden;
        overflow-y: scroll;
        /* transform-origin: top left;
        transform: scale(calc(100vw / 1920)); */
    }
}


html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'FuturaCondensed';
    src: url("../fonts/futurastd-condensedbold.eot") format("embedded-opentype"), url("../fonts/futurastd-condensedbold.woff") format("woff"), url("../fonts/futurastd-condensedbold.ttf") format("truetype"), url("../fonts/futurastd-condensedbold.svg#FuturaStdBoldCondensed") format("svg");
}
	
@font-face {
    font-family: 'FuturaHeavy';
    src: url("../fonts/futurastd-heavy.eot") format("embedded-opentype"), url("../fonts/futurastd-heavy.woff") format("woff"), url("../fonts/futurastd-heavy.ttf") format("truetype"), url("../fonts/futurastd-heavy.svg#FuturaStdHeavy") format("svg");
}

@font-face {
    font-family: 'FuturaMedium';
    src: url("../fonts/futurastd-medium.eot") format("embedded-opentype"), url("../fonts/futurastd-medium.woff") format("woff"), url("../fonts/futurastd-medium.ttf") format("truetype"), url("../fonts/futurastd-medium.svg#FuturaStdMedium") format("svg");
}

@font-face {
    font-family: 'FuturaLight';
    src: url("../fonts/futurastd-light.eot") format("embedded-opentype"), url("../fonts/futurastd-light.woff") format("woff"), url("../fonts/futurastd-light.ttf") format("truetype"), url("../fonts/futurastd-light.svg#FuturaStdLight") format("svg");
}

body {
	font-family: 'FuturaLight';
	background-color: #eeeeee;
}

.medium {
	font-family: 'FuturaMedium';
}	

.heavy {
	font-family: 'FuturaHeavy';
}	

header {
	padding: 0 30px;
	height: 90px;
	background: url(../img/logo.png) 30px center no-repeat #414a51;
}

header p {
	margin: 0;
	padding: 0;
	text-align: right;	
	color: #fff;
	font-size: 27px;
	line-height: 90px;
}

#container {
float: left;
position: relative;
width: 100%;
}

#container .inner {
	padding: 20px 1% 0px;	
    width: 100%;
    float: left;
    box-sizing: border-box;
}

#container .latest_news
{
float: left;
width: 100%;
color: white;
min-height: 202px;
}

#container .latest_news .news
{
width: 100%;
padding: 0px !important;
}

#container .latest_news .news.hideTable
{
background: #eeeeee;
top: -3px !important;
left: -3px !important;
width: calc(100% - 34px);
min-height: 274px;
background: #6744b6;
padding: 20px !important;
}

.brand_news
{
float: left;
width: 15%;
}

.brand_news p
{
font-size: 45px;
font-weight: bold;
text-align: right;
margin: 0px;
}

.brand_news span
{
font-size: 32px;
font-weight: bold;
text-align: right;
margin-left: 5px;
float: left;
}

.brand_news img
{
position: absolute;
bottom: 20px;
left: 30px;
opacity: 0.2;
}

#container .latest_news .logo
{
float: left;
}

#container .latest_news .body
{
float: right;
width: 83%;
}


#container .latest_news .logo img
{
max-width: 200px;
margin-top: 10px;
}

#container .latest_news .text
{
  width: 67%;
float: left;
font-size: 18px;
}

#container .latest_news .text .inner_text
{
display: none;
}

#container .latest_news .text .inner_text p
{
float: left;
width: 50%;
font-size: 19.5px;
}

#container .latest_news .text .inner_text ul
{
float: right;
width: 43%;
font-size: 19.5px;
}

#container .latest_news .title
{
float: left;
width: 100%;
}

#container .latest_news .title ul
{
visibility: hidden;
margin: 0px;
padding: 0px;
}

#container .latest_news .title h1
{
  font-size: 28px;
font-weight: bold;
margin-top: 20px;
font-style: italic;
margin-top: 0px;
margin: 0px;
}

#container .latest_news .body img
{
float: left;
width: 31%;
}

#container .latest_news .body img:first-child
{
  margin-right: 2%;
}

#container .inner .boxes {
	width: 17%;
	height: 140px;
	float: left;
	color: #fff;
}

#container .inner .lg {
	font-size: 40px;
	float: right;
	padding: 30px 7% 0 0;
	line-height: 50px;
	width: 93%;
	text-align: right;
}

#container .inner .sm {
	font-size: 30px;
	float: right;
	padding: 0 7% 0 0;
	line-height: 30px;
	width: 93%;
	text-align: right;
}


#container .inner .sales {
	background: url(../img/sales-icon.png) 10px 26px no-repeat #44b6ae;	
	margin: 0 3% 20px 0;
}

#container .inner .target {
	background: url(../img/target-icon.png) 10px 26px no-repeat #e35b5a;	
	margin: 0 3% 20px 0;
}

#container .inner .achieved {
	background: url(../img/achieved-icon.png) 10px 26px no-repeat #578ebe;	
	margin: 0 3% 20px 0;
}

#container .inner .successes {
    background:#6744b6;
	width: 40%;
	float: left;
	margin: 0 0 20px 0;
	font-size: 22px;
	overflow: hidden;
}

#container .inner .successes h2 {
	margin: 0;
	padding: 15px 30px 0px;
	font-size: 25px;
}

#container .inner .successes .ticker {
	margin: 0;
	padding: 5px 30px 0;	
}

.table-box {
	margin: 0 0 20px 0;
	border: 3px solid;
	padding: 0 10px;
}

.table-box:last-child {
margin-bottom: 0px;
}

.red {
	border-color: #e35b5a;
	background: url(../img/red-header.png) top left repeat-x;
}

.blue {
	border-color: #578ebe;
	background: url(../img/blue-header.png) top left repeat-x;
}

#table-red thead tr th {
	font-family: 'FuturaMedium';
	color: #fff;
	line-height: 33px;
}

#table-red > thead > tr > th, #table-red > tbody > tr > th, #table-red > tfoot > tr > th, #table-red > thead > tr > td, #table-red > tbody > tr > td, #table-red > tfoot > tr > td {
    padding: 7px;
    vertical-align: top;	
	text-align: left;
	font-size: 21px;
}

#table-red > tbody > tr {
	border-top: 1px solid #dddddd;
}

#table-red > tbody > tr:first-child {
	border: none;
}

#table-red > tbody > tr:last-child {
	border-top: 1px solid #e35b5a;
}

#table-blue thead tr th {
	font-family: 'FuturaMedium';
	color: #fff;
	line-height: 33px;
}

#table-blue > thead > tr > th, #table-blue > tbody > tr > th, #table-blue > tfoot > tr > th, #table-blue > thead > tr > td, #table-blue > tbody > tr > td, #table-blue > tfoot > tr > td {
    padding: 7px;
    vertical-align: top;	
	text-align: left;
	font-size: 18px;
}

#table-blue > tbody > tr {
	border-top: 1px solid #dddddd;
}

#table-blue > tbody > tr:first-child {
	border: none;
}

.red-text {
	color: #ff1d00;	
}

.greener-text {
	color: #22ec27;		
}

.green-text {
	color: #5ea029;	
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}




/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* Mobile Styling */
@media all and (max-width: 767px) {
    html,
    body {
        width: 100vw;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
    }

    header.header_new {
        flex-direction: column !important;
        gap: 20px;

        h2.update_time {
            text-align: center;
        }
    }

    .container_new {
        max-width: 100%;
        overflow-x: hidden;

        .sales_container {
            flex-direction: column;
            z-index: 60;
            position: relative;
        }

        .tableContainer {
            display: block;
            min-height: 350px;
            width: 100%;
            overflow-x: scroll;
            overflow-y: hidden;
        }

        table {
            width: max-content;
        }

        .sales_container {
            .box::before {
                right: -135px;
            }
        }
    }
}