body#page-front-body.anon{
  background-image: url(images/bkg.svg), url(images/fade.svg), url(images/bkg_stripes.svg);
  background-size: 34vw, 100%, 380px;
  background-repeat:repeat-y, no-repeat, repeat;
  background-position: 0% 0%,350px center,0% 0%;
  background-color: #fff;
  color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
}

body.anon div#topheader section img {
    width:70%;
    margin-left:40px;
    margin-top:30px;
    display:block;
}

body.anon label{
  font-weight: 500;
}


body.anon .page_header {
    display:none;
}
body.anon div.navbar {
    display:none;
}

body.anon div.logo {
    display: block;
    position: relative;
    z-index: 100;
    display: none;
}

body.anon div.logo img.logo {
    width: 18vw;
}

body.anon h1#site-name a,
h1#site-name a span,
body.anon h1#site-name
{
    float: none !important;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    font-family: 'Avenir Next',sans-serif;
    font-size: 5vw;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0;
    margin: 0;
    display: block;
}

body.anon div#name-slogan {
    display: none;
    position: relative;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    /*     color: #fff; */
}


body.anon div.mainpage {
    margin:0;
    padding:0;
}


body.anon .container.container_body {
    background:transparent;
}

body.anon footer.footer {
    background-color: #0e2444;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

body.anon .span12.main-content {
    border-radius: 12px;
    -moz-border-radius: 6px;
    width: 100%;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color:#000;
}
body.anon .span12.main-content div#contentheader {
    /* width: 100%; */
    max-width: 700px;
}

body.anon .span12.main-content .row-fluid {
    display: flex;
    flex-grow: 1;
    height: 100%;
}
body.anon div.container div.row {
    /* width: 100%; */
}


body.anon form#user-login-form {
    padding: 0px;
    margin: 0px;
    text-align: center;
}


body.anon .span12.main-content a{
    color: #f1e391;
    font-size: 14px;
    text-transform: uppercase;
}
body.anon .span12 {
    width:100%;
    margin-left: 0;
    margin-right: 0;
}

body.anon form a{
    text-align: right;
}

div#edit-name-wrapper {
    margin-top: 60px;
}

body.anon .form-item {
  display: block;
}

body.anon .form-item label {
    color: #fff;
}

body.anon.sidebar-none .container.container_body {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-grow: 1;
    width:100%;
}


.span6.contentleft section{
  max-width: 350px;
  padding-left:20px;
}

body.anon .span6.contentleft section.block-block {
    text-align: center;
    margin-top:20px;
    margin-bottom:10px;
    letter-spacing: .5px;
    font-size: 12px;
}

body.anon h1.title {
    color: #fff;
    margin-bottom:0;
    /* display:none; */
    grid-area: right;
    align-self: start;
    z-index: 99;
    font-size: 24pt;
}

body.anon .span12 {
    text-align: left;
}
#user-login-form {
    text-align: left;
}
body.anon form#user-login-form input#edit-submit {
    /* margin-left: -58px; */
    margin-top: 16px;
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    /* padding: 10px; */
    text-indent: 9999px;
    background-color: transparent;
    background-image: url(images/login_submit_btn.svg);
    background-position: center;
    background-repeat: no-repeat;
    border-style: none;
    /* position: relative; */
    z-index: 1000;
    /* margin-left: -40px; */
    outline:none;
}
body.anon form#user-login-form input#edit-submit:hover {
    background-image: url(images/login_submit_btn_hover.svg);
}
body.anon input#edit-name {
    background-color: #fff;
    border-style: none;
    border-radius: 7px;
    width: 300px;
    padding: 10px;
    margin-left:4px;
    margin-right:4px;
}
body.anon input#edit-pass {
    background-color: #fff;
    border-style: none;
    border-radius: 7px;
    width: 300px;
    padding: 10px;
    margin-left:4px;
    margin-right:4px;
}
body.anon form#user-login-form label {
  display: none;
  text-transform:uppercase;
  font-size:12px;
  color:#f2e1a4;
}

body.anon input::placeholder {
    font-weight:500;
    font-family: 'Avenir Next',Sans-Serif;
    color:#a1a1a1;
    letter-spacing:-.5px;
}


body.anon div#topheader section .content .login-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 860px;
    position: absolute;
    right: 0;
    top: 400px;
}
body.anon div#topheader section .content .login-logos img {
    display: block;
    width: 360px;
}
body.anon div#topheader section .content .login-logos img.ma_logo {
    width: 500px;
}

body.anon .login-logos{
    display: flex;
    flex-grow: 1;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    margin-top: 10vh;
    align-content: center;
    align-items: center;
    gap: 10px;
}
body.anon .login-logos img{
    max-width: 40%;
    width: 40%;
}
body.anon .login-logos img.ma_logo{
    max-width: 60%;
    width: 60%;
    padding-bottom: 5%;
}
body.anon img.fm_logo {
    padding-right: 10vw;
}


body.anon .contentleft{
    padding-top: 50px;
    width: 40%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-content: center;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
}
body.anon .contentright{
    display: flex;
    flex-grow: 1;
    width: 60%;
}
body.anon div.contentright section.block {
    display: flex;
    flex-grow: 1;
}
body.anon div.contentright section.block .content{
    display: flex;
    flex-grow: 1;
}


@media (max-width: 800px) {
  body.anon div.logo img.logo {
      width: 40vw;
  }
  body.anon h1#site-name a,
  h1#site-name a span,
  body.anon h1#site-name 
  {
      font-size: 10vw;
  }
  .ma-pa-fmt-logos {
      justify-content: center !important;
      align-items: center;
      gap: 5px;
      padding-right: 0;
      padding-bottom: 0;
      padding-top:30px;
      align-content: center;
  }
}

#page-front-body.anon form#user-pass {
    max-width: 400px;
    margin-left: 20px;
    padding-bottom:30px;
    grid-area: right;
    /* background-color: #fff; */
    z-index: 99;
    align-self: start;
    padding-top: 30px;
}

#page-front-body.anon form#user-login {
    max-width: 100%;
    width: 100%;
    text-align: center;
    grid-area: right;
    align-self: start;
    z-index: 99;
    margin-top: 120px;
}
#page-front-body.anon form#user-login div.description {
    display:none;
}
#page-front-body.anon form#user-login label{
    display:none;
}
#page-front-body.anon form#user-login input#edit-submit {
    /* margin-left: -58px; */
    width: 50px;
    height: 50px;
    text-indent: 9999px;
    background-color: transparent;
    background-image: url(images/login_submit_btn.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-style: none;
    position: relative;
    z-index: 1000;
    /* margin-left: -40px; */
    outline: none;
}
#page-front-body.anon form#user-login input#edit-submit:hover {
    background-image: url(images/login_submit_btn_hover.svg);
    cursor: pointer;
}

body.anon .login-help {
    min-width: 300px;
    text-align: center;
    font-size: 10px;
}

div#contentfooter {
    width: 100%;
    display: flex;
    flex-grow: 1;
    align-items: center;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}
div#contentfooter section{
    flex-grow: 1;
}
.ma-pa-fmt-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 3px;
    padding-right: 10px;
    padding-bottom: 10px;
}
.ma-pa-fmt-logos div {
    background-color: #0e2444;
    width: 90px;
    height: 90px;
    padding: 10px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}


#page-front-body div.mainpage.container {
  display: grid;
  grid-template-columns: 1fr; /* Example: three columns */
  grid-template-rows: 1fr 10fr 1fr;
  grid-template-areas:
    "header"
    "main"
    "footer";
}


body#page-front-body.anon .span12.main-content {
  display: grid !important;
  grid-template-columns: 1fr; /* Example: three columns */
  grid-template-rows: 1fr;
  grid-template-areas:
    "left right";
  grid-area: main;
  grid-gap: 40px;
  /* width: 100%; */
  justify-content: center;
  justify-items: stretch;
  align-content: center;
  align-items: center;
}

body#page-front-body.anon .span12.main-content section{
  display: flex;
  flex: 1;
  padding: 1%;
  /* padding-right:5%; */
  justify-content: center;
  flex-direction: column;
  align-items: center;
  width: 90%;
}
body#page-front-body.anon .span12.main-content section .content{
  display: flex;
  flex: 1;
  /* width: 100%; */
}

body.front.anon .logo-name-slogan{
  grid-area: header;
/*   display:none; */
}
#page-front-body footer.footer{
 grid-area: footer;
 align-self: end;
}
#contentheader {
  grid-area: left;
}

#contentheader svg {
    max-width: 500px;
}

div#contentfooter {
  grid-area: right;
  background-color: #00263dff;
  height: 80vh;
  max-height:700px;
  width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  border-radius: 20px;
  box-shadow: 0px 0px 16px #0000008a;
}

@media (max-width: 900px) {
#page-front-body div.mainpage.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 20fr 1fr;
    grid-template-areas:
        "header"
        "main"
        "footer";
}
  body#page-front-body.anon .span12.main-content {
    display: grid !important;
    grid-template-columns: 1fr; /* Example: three columns */
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "left"
      "right";
    grid-area: main;
    grid-gap: 40px;
    height:140vh;
  }
  div#contentheader {
      width: 80vw;
      height:50vh;
  }
  div#contentfooter {
      width: 80vw;
  }
}