@import url('https://fonts.googleapis.com/css?family=Open+Sans');

h1,h2,h3,h4,h5,h6{
  color:white;
}

.grid-card{
  min-height: 365px;
  max-height:365px;
  background-color: white;
  box-shadow: 0px 0px 60px 10px rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  transition: all 0.5s cubic-bezier(.39,.58,.57,1);
  position: relative;
  vertical-align: top;
}
.grid-card:hover{
}
.grid-card button{
  width:100%;
}
.grid-card p {
  color: black;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 21px;
}

a.button.btn-highlight {
    width: calc(100% - 60px);
    position: absolute;
    bottom: 15px;
    text-align: center;
}

#login-form{
  position:absolute;
  bottom:15px;
  padding-right:60px;
  margin-bottom:0;
  overflow:auto;
  width:100%;
}

#login-form > button{
  width:100%;
}

.grid-card h2 {
  text-align: center;
  font-size: 18px;
  color: #DC3726;
}

.action-grid{
  position: relative;
}

main{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

main > h3{
  width: 100%;
  margin-top: 80px;
  margin-bottom: 0; 
  text-shadow: 0px 3px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Open Sans', sans-serif;
  color: white;
  text-align: center;
}

main > h1{
  max-width: 850px;
  margin: 0 auto 60px auto;
  text-shadow: 0px 3px 25px rgba(0, 0, 0, 0.1);
  font-family: 'Open Sans', sans-serif;
  color: white;
  text-align: center;
}

.progressive-image {
  position: relative;
  overflow: hidden;
  height:100%;
  box-shadow:0px 1px 1px rgba(0,0,0,0.5);
  color:white;
  background-color:#dccec3;
  position:relative;
}
.progressive-image-container.overlay{
 position:fixed !important;
  height: 100% !important;
}
.progressive-image .progressive-image-container {
  width: 100%;
  background-size: cover!important;
  background-position: center top!important;
  background-repeat: no-repeat;
  position: relative;
}

.logotop{
  position:absolute;
  z-index:9;
  max-width:48px;
  max-height:48px;
  box-shadow:0px 0px 25px rgba(0,0,0,0.5);
  cursor:pointer;
}

.progressive-image .loadingImage {
  filter: blur(2px);
  position:fixed;
  height:100%;
}

.progressive-image .overlay {
  position: absolute;
  top: 0;
  opacity: 0;
  transition: opacity 200ms ease-in;
}

@media screen and (max-width:1150px){
  .grid-card p {
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 18px;
  }
}

@media screen and (max-width: 1015px){
  .grid-card p {
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 17px;
  }
}

@media screen and (max-width: 900px){
  .grid-card{
    width:40% !important;
    margin:0 4% 30px 4% !important;
  }
  .grid-card p {
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 18px;
  }
  
  main > h1{
    font-size:40px;
  }
}

@media screen and (max-width: 706px){
  .grid-card{
    width:100% !important;
    margin:0 0.25% 30px 0.25% !important;
    min-height:initial !important;
    max-height:initial !important;
    padding-bottom:75px !important;
  }
  .grid-card p {
    color: black;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 21px;
  }
}

@media screen and (max-width: 445px){
 
  .action-grid{
    padding:0 10px !important;
  }
  main > h1{
    font-size:36px;
    padding:0 15px;
    margin-bottom:40px !important;
  }
  
  main > h3{
    font-size:20px;
    padding: 0 15px;
  }
  
  .progressive-image .overlay{
    filter: blur(2.5px);
  }
}

@media screen and (max-width: 315px){
  .grid-card{
    padding-bottom:90px !important;
  }
}