/*** === FONTS ===*/
@font-face {
  font-family: 'OpenSans';
  src: url('fonts/open_sans/opensans-regular.ttf') format('truetype'),
       url('fonts/open_sans/opensans-regular.woff') format('woff')
}

*,
*:before,
*:after {
  box-sizing: inherit;
}
:root {
  /*--primary-color: #95CCD4;*/
  --primary-color: #69c5ec;
  --secondary-color: #6B8797; 
  --third-color: #00c7e4;
  --dark-color: #277292;
}

html, body { height: 100%; }
html { font-size: 14px; font-family: OpenSans;}
html {
  box-sizing: border-box;
}
body{
  margin: 0;
}

body{
  overflow-x: hidden;
}

header{
  background-color: var(--primary-color);
  color: #fff;
  border-bottom: 1px solid  var(--primary-color);
  position: fixed;
  z-index: 1002;
  width: 100%;
  line-height: 40px;
}

header .pure-g > div:nth-child(1){
  display: none;
}

header .pure-g .pure-u-1:nth-child(1) img {
  float: right;
}

header .pure-g .pure-u-1:nth-child(2) img {
  float: left;
}

.app-title{
  font-weight: bold;
  text-align: center;
}

footer{
  background-color: #363636;
  color: #e0e0e0;
  padding:4px 10px;
  position: fixed;
  z-index: 1002;
  width: 100%;
  bottom: 0;
}

footer img{
  height: 20px;
  display: block;
} 

.by {
  font-size: 15px;
  text-align: center;
  line-height: 20px;
  display: none !important;
}

.by .pure-g div:nth-child(1) {
  padding-right: 5px;
}

.by .pure-g div:nth-child(1) img {
  float: right;
}

.by .pure-g div:nth-child(2) {
  border-left: 2px solid #fff;
}

.by div:nth-child(2){
  font-size: 11px;
}

footer .links{
  text-align: center;
}

footer .links div{
  display: inline-block;
}

footer .links div img{
  height: 30px;
}

.by-dreamsys{
  text-align: center;
  padding-top: 10px;
  font-size: 8px;
}

.by-dreamsys img{
  height: 30px;
  margin-top: 10px;
  margin-left: 5px;
  margin: 0 auto;
}

.link-dsys a{
  color: #5eb3f3;
  text-decoration: none;
  font-size: 11px;
}

.by-dreamsys img{
  display: none;
}

@media (min-width: 780px) {
  header{
    line-height: 60px;
    background-color:#fff;
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
  }
  
  header img{
    padding-top: 10px;
    height: 50px;
    display: block;
  }  
  header .pure-g > div:nth-child(1){
    display: block;
  }
  header .pure-g > div:nth-child(1) img{
    margin: 0 auto;
  }
  header .pure-g .pure-u-1:nth-child(2) img{
    float: left;
  }  
  .app-title{
    text-align: left;
    margin-left: 70px;
    font-size: 1.2em;
  }
  footer img{
    height: 50px;
  }
}