html,
body {
  min-width: inherit;
}
#footer {
  min-width: 1042px;
}
/* ############################ */

/* --------------- reset.css --------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, em, img, strong, sub, sup, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, table, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  font-size: 100%;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td,
img {
  vertical-align: middle;
}
input, select, button, textarea {
  margin: 0;
  font-size: 100%;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea {
  padding: 0;
}
input[type="checkbox"] {
  vertical-align: bottom;
}
input[type="radio"] {
  vertical-align: text-bottom;
}
sub {
  vertical-align: sub;
  font-size: smaller;
}
sup {
  vertical-align: super;
  font-size: smaller;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
nav ul {
  list-style: none;
}
blockquote {
  margin: 0;
}
/* --------------- /reset.css --------------- */

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix {
  display: inline-block;
}
/*_\*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}

html,
body {
  height: 100%;
}

.ag-w-header_top {
  padding: 15px 0;
  background: #304ffe;
}
.ag-w-logo {
  min-width: 370px;
}
.ag-w-logo__pos {
  float: left;
  margin: 0 0 0 20px;
}
.ag-w-logo_img {
  float: left;
  height: 31px;
  width: 164px;
}
.ag-w-logo_tagline {
  padding: 0 0 0 10px;
  border-left: 1px solid #FFF;

  text-transform: uppercase;
  font-style: italic;
  font-family: 'Exo', sans-serif;
  font-size: 16px;
  color: #FFF;
}
.ag-w-logo_tagline__pos {
  float: left;
  margin: 0 0 0 10px;
}

.ag-w-menu_list {
  float: right;
  padding: 12px 0 0;
}
.ag-w-menu_list li {
  display: inline-block;
  margin: 0 20px 0 0;
}
.ag-w-menu_list li a {
  text-transform: uppercase;
  text-decoration: none;
  font-family: Poppins, sans-serif !important;
  font-size: 14px;
  color: #FFF;
}
.ag-w-menu_list li a:hover {
  text-decoration: underline;
  color: #FFF;
}

.ag-webtrader-body {
  height: calc(100% - 90px);
  /*position: absolute;*/
  /*top: 85px;*/
  /*left: 0;*/
  /*right: 0;*/
  /*bottom: 10px;*/
}

@media only screen and (max-width: 767px) {
  .ag-w-logo__pos {
    display: table;
    float: none;
    min-width: 300px;
    margin: 0 auto;
  }
  .ag-w-menu_list {
    float: none;
    padding: 15px 0;

    text-align: center;
  }
  .ag-webtrader-body {
    height: calc(100% - 150px);
    /*top: 125px;*/
  }
}
@media only screen and (max-width: 479px) {
  .ag-w-logo_img {
    display: block;
    float: none;
    margin: 0 auto;
  }
  .ag-w-logo_tagline {
    display: none;
  }
  .ag-w-menu_list li {
    margin: 0 10px;
  }
}