
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,500,700&subset=latin-ext');

:root {
    --main-bg-color: #0b0b0c;
    --main-theme-color: #a9cf46;
	--main-inactive-color: #979daa;
  }
  


* {
    margin: 0;
    padding: 0;
    line-height: 1;
}
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
img { box-sizing: content-box; }

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    background: var(--main-bg-color);
    background-image: url(images/space.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    color: #979daa;
}

/* LAYOUT SYSTEM */

.section {
    position: relative;
    width: 100%;
    height: auto;
    margin: 50px 0;
}
.container {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 0 auto;  
}
.flexCol {
    flex-direction: column;
}
.flexCol > div {
    width: 100%;
}
.col2 {
    width: 49%;
    margin: 10px 0;
}
.col3 {
    width: 32%;
    margin: 10px 0;
}
.col4 {
    width: 24%;
    margin: 10px 0;
}
.col5 {
    width: 19%;
    margin: 10px 0;
}
.centerCenter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.v-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}



/* HEADER */

header {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}




.navTop {
    width: 100%;
    height: 50px;
	display: flex;
    justify-content: flex-end;
    align-items: center;
}
.navTop a{
    margin: 0 0 0 30px;;
	font-size: 13px;
	color: #979daa;
	text-decoration: none;
}
.navTop a:hover {
    color: var(--main-theme-color);
	text-decoration: none;
    cursor: pointer;
}


.header-logo {
    width: 160px;
    height: 160px;
    background-image: url(images/trisat_logo.png);
    background-position: top left;
    background-repeat: no-repeat;
}

.header-nav {
    font-size: 16px;
    font-weight: 300;
    color: #6b7177;
    padding: 22px;
    text-decoration: none;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-nav a {
    padding: 20px;
    color: #6b7177;
    text-decoration: none;
}
.header-nav a.current {
    color:var(--main-theme-color);
    border-top: 1px solid var(--main-theme-color);
}
.header-nav a.inactive {
    color:var(--main-inactive-color);
    border-top: 1px solid var(--main-theme-color);
}
.header-nav a:hover {
    color: var(--main-theme-color);
	text-decoration: none;
    cursor: pointer;
}
.header-icons {
    display: none;
}


h1 {
    font-size: 3em;
    font-weight: 100;
    color: var(--main-theme-color);
    margin: 10px 0;
}
h2 {
    font-size: 2em;
    font-weight: 100;
    color: var(--main-theme-color);
    margin: 10px 0;
}
h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin: 10px 0;
}
p {
    margin: 10px 0;
    line-height: 1.5em;
}
a {
    color: var(--main-inactive-color);
    text-decoration: none;
}

.panel {
    background: #151e2d;
    border-radius: 8px;
    padding: 20px;
}
.carts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cart,
.cart2,
.cart-img {
    position: relative;
    background: #151e2d;
    border-radius: 8px; 
    margin-bottom: 20px;
    padding: 20px 10px 10px 52px;
    background-position: 10px 10px;
    background-repeat: no-repeat;
    text-transform: uppercase;
    font-size: 12px;
    color: #979daa;
    min-height: 100px;
}
.cart {
    width: 48%;
}
.cart2 {
    width: 100%;
    min-height: 200px;
}
.cart-status {
    background-image: url(images/icon-satellite2.png);
}
.cart-battery {
    background-image: url(images/icon-battery.png);
}
.cart-temperature {
    background-image: url(images/icon-temperature.png);
}
.cart-calendar {
    background-image: url(images/icon-calendar.png);
}
.cart-dish {
    background-image: url(images/icon-dish.png);
}
.cart-globe {
    background-image: url(images/icon-globe.png);
    margin-bottom: 0;
}
.cart span.val {
    position: absolute;
    right: 15px;
    bottom: 15px;
    color: #FFF;
    font-size: 26px;
}
.cart2 .cart-globe-label {
    position: absolute;
    right: 215px;
    bottom: 15px;
    color: rgba(256,256,256,.7);
    font-size: 16px;
}
.cart2 .cart-globe-value{
    position: absolute;
    right: 25px;
    bottom: 15px;
    color: #FFF;
    font-size: 16px;
}
.cart-globe-text{
    position: absolute;
    right: 25px;
    left: 25px;
    bottom: -20px;
    color: rgba(256,256,256,.4);
    font-size: 12px;
    font-style: italic;
    text-transform: none;
}
.earthWebgl{
    height: 100%;
    position: relative;
    background: #151e2d;
    border-radius: 8px; 
    margin-bottom: 20px;
    padding: 10px;
}
.cart-sub {
    position: relative;
    background: #151e2d;
    border-radius: 8px; 
    margin-bottom: 20px;
    padding: 10px;
    font-size: 12px;
    color: #979daa;
    min-height: 100px;
}
.cart-sub img {
    width: 100%;
    height: auto;
}

footer {
    display: block;
    position: relative;
    width: 100%;
    margin: 30px 0;
    padding: 40px 0;
    background-color: #151e2d;
}

footer a {
    color: #979daa;
}
.language-select {}

.lang {
    cursor: pointer;
}

.lang.active {
    color: #a9cf46;
}

.gallery img {
    width: 100%;
    height: auto;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0px;
}
.video iframe{
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
}
.btn {
    margin-top: 30px;
}
.btn a{
    display: inline;
    padding: 10px 40px;
    border: 1px solid #a9cf46;
    border-radius: 6px;
    color: #a9cf46;
}

@media screen and (max-width: 799px) {
    body {
        font-size: 12px;
    }
    .container {
        width: 90%;
        flex-direction: column;
    }
    .col2 {
        width: 98%;
    }
    .col3 {
        width: 98%;
    }
    .col4 {
        width: 98%;
    }
    .col5 {
        width: 98%;
    }
    header {
        margin-bottom: 0;
    }
    .header-logo {
        margin: 10px auto;
        width: 100px;
        height: 100px;
        background-position: center;
        background-size: cover;
    }
    .header-nav {
        justify-content: center;    
    }
    .navTop {
        justify-content: center;
    }
    .navTop a{
        margin: 0 15px;
    }
    .section {
        margin: 20px 0;
    }
    .centerCenter img {
        width: 65%;
    }
    .cart, .cart2 {
        margin-bottom: 12px;
        padding: 14px 10px 10px 52px;
        font-size: 12px;
    }
    .cart span.val {
        right: 15px;
        bottom: 15px;
        font-size: 20px;
        text-align: right;
    }
    .cart2 .cart-globe-label {
        left: 51px;
    }
    #tm_updated, #tm_status, #t_uptime {
        font-size: 16px;
    }
    .cart-globe {
        margin-bottom: 22px;  
    }
    .cart-globe-text {
        bottom: -32px;
    }
    table tbody tr td span{
        line-height: 1.3;
    }
    #logo-um, #logo-feri {
        width: 45%;
    }
    #logo-leis {
        width: 25%;
    }
}


@media screen and (max-width: 1200px) and (min-width: 800px) {

    .container {
        width: 90%;
    }
    
    h1 {
        font-size: 2.4em;
    }
    .cart span.val {
        right: 10px;
        bottom: 10px;
        font-size: 18px;
    }
}


@media screen and (max-width: 799px) {
    #earth_div {
        width:100%;
        height: 80vw;
    }
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
    #earth_div {
        width:100%;
        height: 40vw;
    }
}

@media screen and (min-width: 1201px) {
    #earth_div {
        width:100%;
        height: 500px;
    }
}
