
html {
  box-sizing: border-box;
}

body {
  background: #434343;
  font-family: Roboto, sans-serif;
  overflow-x: hidden;
  color: #FFFFFF;
  font-size: 18px;
  display: block;
}
header {
  display: block;
}
a {
  color:white;
  text-decoration: none;
}
main {
  max-width: 1200px;
  min-height: 60vh;
  margin: auto;
  text-align: center;
}
.header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 20px;
}

.header .call {
  flex: none;
  order: 2;
  flex-grow: 0;
  margin-right: 0px;
}

.header .call a {
  padding: 1.6vh 2.2vw;
  background-color: green;
  border-radius: 5vw;
}
.header .call-checkbox{
  display: none;
}
.header .call-number{
  display: none;
}

.header .slogan {
  flex: none;
  order: 1;
  flex-grow: 0;
  margin-right: auto;
}

.header .slogan p {
  display: flex;
  align-items: center;
  text-align: center;
}

.header .logo {
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-right: auto;
}

.header .logo img {
  position: relative;
  width: 120px;
  left: 0px;
  top: 5px;
}

footer {
  margin-top: 8vh;
}
.footer-container {
  display: flex;
  flex-direction: row;
  flex-wrap:wrap;
  justify-content: center;
  align-items: center;
  margin: 0vh 0px;
  height: 110px;
  font-size: 14px;
  text-align: center;
}

.footer-container a {
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 0px 0.5vw;
  font-size: inherit;
}

.footer-container p {
  order: 0;
  margin: 0px 0.5vw;
  font-size: inherit;
}

.callnowbutton{
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNjAgNjAiPjxwYXRoIGQ9Ik03LjEwNCAxNC4wMzJsMTUuNTg2IDEuOTg0YzAgMC0wLjAxOSAwLjUgMCAwLjk1M2MwLjAyOSAwLjc1Ni0wLjI2IDEuNTM0LTAuODA5IDIuMSBsLTQuNzQgNC43NDJjMi4zNjEgMy4zIDE2LjUgMTcuNCAxOS44IDE5LjhsMTYuODEzIDEuMTQxYzAgMCAwIDAuNCAwIDEuMSBjLTAuMDAyIDAuNDc5LTAuMTc2IDAuOTUzLTAuNTQ5IDEuMzI3bC02LjUwNCA2LjUwNWMwIDAtMTEuMjYxIDAuOTg4LTI1LjkyNS0xMy42NzRDNi4xMTcgMjUuMyA3LjEgMTQgNy4xIDE0IiBmaWxsPSIjNjVhODU2Ii8+PHBhdGggZD0iTTcuMTA0IDEzLjAzMmw2LjUwNC02LjUwNWMwLjg5Ni0wLjg5NSAyLjMzNC0wLjY3OCAzLjEgMC4zNWw1LjU2MyA3LjggYzAuNzM4IDEgMC41IDIuNTMxLTAuMzYgMy40MjZsLTQuNzQgNC43NDJjMi4zNjEgMy4zIDUuMyA2LjkgOS4xIDEwLjY5OWMzLjg0MiAzLjggNy40IDYuNyAxMC43IDkuMSBsNC43NC00Ljc0MmMwLjg5Ny0wLjg5NSAyLjQ3MS0xLjAyNiAzLjQ5OC0wLjI4OWw3LjY0NiA1LjQ1NWMxLjAyNSAwLjcgMS4zIDIuMiAwLjQgMy4xMDVsLTYuNTA0IDYuNSBjMCAwLTExLjI2MiAwLjk4OC0yNS45MjUtMTMuNjc0QzYuMTE3IDI0LjMgNy4xIDEzIDcuMSAxMyIgZmlsbD0iI2ZmZmZmZiIvPjwvc3ZnPg==);
  background-color: #40aa28;
  background-repeat: no-repeat;
  display: block;
  position: fixed;
  text-decoration: none;
  z-index: 2147483647;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  box-shadow: 0 3px 6px #000000;
  transform: scale(1);
  bottom: 15px;
  left: 20px;
}

.callnowbutton span{
  display: none;
}

.alert-success{
  border-radius: 10px;
  background: #449c41;
  color: #062c00;
  margin: 2px auto;
  padding: 12px 16px;
  max-width: 900px;
  text-align: center;
}
.alert-success ul{
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.alert-error{
  border-radius: 10px;
  background: #fd9e9e;
  color: #850000;
  margin: 2px auto;
  padding: 12px 16px;
  list-style: none;
  max-width: 900px;
  text-align: center;
}
.alert-error ul{
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.added-margin{
  margin: auto 20px;
}
.links{
  text-decoration: underline;
  color: #7d7dff;
  display: block;
}
.inline-links{
  text-decoration: underline;
  color: #7d7dff;
  display: inline-block;
  vertical-align: text-top;
}
.inline-links img{
  width: 50px;
  vertical-align: middle;
}

.suburbs{
  display: block;
  background: #2e2e2e;
  border-radius: 20px;
  padding: 20px 20px;
  margin: 20px auto;
  max-width: 800px;
}
.suburbs h3{
  text-align: left;
  margin: 0px 20px 0px 20px;
}
.suburbs ul{
  text-align: left;
  margin: 0px 20px 0px 20px;
}

.body-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  align-items: center;
  align-content: center;
  align-self: stretch;
  overflow: hidden;
}

.body-container img {
width: calc(52vw + 280px);
overflow: hidden;
}
.btn-container {
  display: flex;
  flex-direction: row;
  flex-wrap:wrap;
  justify-content: center;
  margin: 1vh 0px;
}
.btn-container > a {
  padding: 1.2vh 1.8vw;
  background-color: green;
  border-radius: 10px;
  margin: 1vh 3vw;
}

.shield-panel {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.shield-panel img {
  margin: 1vh 3vw;
  width: 160px;
}

.text-section {
  text-align: center;
  flex-grow: 0;
  margin: 4vw;
}

.button {
  font: inherit;
  color: inherit;
  font-size: inherit;
  background:#161549;
  padding: 6px 30px 6px 30px;
  border-radius: 12px;
  margin: 12px auto;
}
.spinner{
  display: none;
  position: relative;
  margin:auto;
  height: 60px;

}
@keyframes spinner {
  0% {
    transform: translate3d(-50%, -50%, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}

/* Mobile view */
@media screen and (max-width:600px){
  .header .slogan{
    display: none;
  }
  .header .logo{
    display: none;
  }
  .header .call{
    display: none;
  }
  .body-container > img{
    align-self: baseline;
    margin-left: -70px;
    width:780px;
  }
  .body-container{
    border-radius: 10px;
  }
}

/* Fold Screen Mobile view */
@media screen and (max-width:342px){
  .mob-tag{
    font-size: 16px;
  }
  .body-container > img{
    align-self: baseline;
    margin-left: -70px;
    width:700px;
  }
}


/* Desktop View */
@media screen and (min-width:600px){
  #call-checkbox:checked ~ label a.call-number{
    display: inline;
  }
  
  #call-checkbox:checked ~ label a.call-us{
    display: none;
  }
}