html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

input[type='number'] {
    -moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

nav {
  /*min-height: 2rem;*/
  background-color: #A12026;
  /*width: 100%;*/
  margin: 0;
  padding: 0;
}

.manage-contacts-btn:focus{
  outline: none !important;
}

.btn:focus {
outline: none !important;
box-shadow: none !important;
}

.grecaptcha-badge { visibility: hidden; }

.nav-row{
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.logo{
  height: 1rem;
}

.logout a{
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

.logout a:hover{
  text-decoration: underline;
  color: white;
}

.logout img{
  padding-bottom: 1px;
}
#main-container{
  margin: 0;
  padding: 0;
  min-height: 100%;
  padding-bottom: 10rem;
}

.muni-form-div{
  padding: 3rem 5rem;
  background-color: #EAEDF2;
  margin-bottom: 3rem;
}

.sms-form-div{
  padding: 3rem 5rem;
  background-color: #EAEDF2;
  margin: 3rem 0;
}

#submit_button{
  background-color: #1D3E6D;
  border: none ;
}

.change_template_button{
  background-color: #1D3E6D;
  border: none ;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

.delete_template_button{
  background-color: #A12026;
  border: none ;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

#create_message_template{
  background-color: #1D3E6D;
  border: none ;
  color: white;
  padding: 0.5rem 2rem;
  font-weight: bold;
}

#create_message_template:hover{
  background-color: #132A4A;
  color: white;
}

#update_message_template{
  background-color: #fff;
  color: #1D3E6D;
  border: 2px solid #1D3E6D;
  border-radius: 4px;
  margin-left: 1rem;
  padding: 0 1.5rem;
  font-weight: bold;
}

#update_message_template:hover {
  color: white;
  background-color: #132A4A;
}

#create_template{
  display: none;
}

.template_table{

}

.template_row > td{
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  vertical-align: middle;
}

#id_csv_file{
  display: none;
}

label[for=id_csv_file]{
  border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
  background-color: #1D3E6D;
  color: white;
  border-radius: 0.125rem;
}

footer{
  padding: 0;
  margin: 0;
  position: relative;
  height: 10rem;
  margin-top: -10rem;
  font-size: 0.8rem;
  clear: both;
  text-align: center;
  color: white;
}

.contacts{
  height: 6rem;
  background-color: #1D3E6D;
  border-bottom: 1px #707070 solid;
}

.support{
  text-decoration: none;
  color: white;
}

.support:hover{
  text-decoration: underline;
  color: white;
}

.copyright{
  padding-top: 0.75rem;
  height: 4rem;
  background-color: #132A4A;

}


.phone-number{
  margin-left: 3rem;
  float: left;
}

.delete-contact{
  margin-right: 3rem;
}

.delete-contact:hover{
  text-decoration: underline;
  cursor: pointer;
}


.login-block{
  margin: 7% 22% 5% 22%;
  min-height: 32rem;
}

.login-block-content{
    overflow: hidden;
}

.login-form-block{
  border: 1px solid #D9DFE7;
  border-left: none;
  border-radius: 0 5px 5px 0;
  min-height: 100%;
  right: 0;
  top: 0;
}

.login-image{
  background-color: #D9DFE7;
  border-radius: 5px 0 0 5px;
  min-height: 100%;
  right: 0;
  top: 0;

}

.help-link-block{
  position: relative;
}

.help-link{
  position: absolute;
  top: 1rem;
  right: 0.5rem;
}

.help-link > a{
  text-decoration: none;
  color: #1e347b;
}

.login-form{
  padding: 20% 25% 20% 25%;
}

.xevos-logo{
  padding: 20% 3%;
  width: 70%;
}

.login-logo{
  width: 70%;
  padding: 3%;
}

@media (max-width: 1000px) {

  .message_template_buttons{
    flex-direction: column;
    align-items: center;
  }

  .message_template_buttons button{
    /*margin: 0;*/
    width: 15em;
  }

  #update_message_template{
    margin-top: 1em;
    margin-left: 0;
    padding: 0.4em 1.2em;

  }

  .muni-form-div{
    margin-bottom: 0;
  }
  .sms-form-div{
  margin: 0;
}

  .logo{
    margin-left: 1rem;
  }
  .logo-logout{
    margin-left: 0.125rem;
  }

.contacts{
  height: 4rem;
  background-color: #1D3E6D;
  border-bottom: 1px #707070 solid;
}
.copyright{
  padding-top: 0.75rem;
  height: 6rem;
  background-color: #132A4A;

}

#nav-icon{
  display: block;
}

.topnav {
  z-index: 5;
  background-color: #A12026;
  position: relative;
}

.topnav .logout{
  display: none;

}

.logout{
  position: absolute;
  /*right: 0;*/
  top: 2.5rem;

  width: 100%;
    background-color: #A12026;
}

.topnav .logout a {
  color: white;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  right: 0;
}
.topnav a.icon {
  background: #A12026;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}
.topnav a:hover {
  background-color: #A12026;
  color: black;
}
.active {
  background-color: #1D3E6D;
  color: white;
}


}

@media (max-width: 960px) {
  .login-block{
  margin: 7% 2% 5% 2%;
  min-height: 32rem;
}

.login-form-block{
  border: 1px solid #1e347b;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.login-image{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.login-form{
  padding: 20% 3%;
}

.help-link{
  text-align: center;
  position: relative;
  padding-left: 8px;
}
.xevos-logo{
  padding: 3%;
}
}

@media (max-width: 450px) {

  .phone-number{
    float: none;
  }

  .phone-number, .delete-contact{
  margin-left: 0;
  font-size: 1rem;
}
  .phone-info{
    display: none;
  }

}

