html{
     min-height: 100%;
  box-sizing: border-box;
}

body{
    line-height: initial;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

#pagecontainer, #maincontent, .user-content{
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    text-align:center;
    background-color:transparent;
}
.user-content:before,
.user-content:after{
    display: none;
}

#sy-content{
    background-image:url('background.jpg');
    background-repeat:no-repeat;
    background-size: cover;
    background-position: bottom center;
    background-color:#385FA4;
    width: 100%;
    min-height: 100vh;
}

.info-text1,#resultTitle,#resultHours{
  color: #fff;
  font-size: 64px;
  line-height: 100px;
  /*text-shadow: 1px 1px #1414A1;*/
  font-weight: 300;
}
#resultTitle,#resultHours{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 25px;
}

#resultHours{
  font-weight: bold;
  font-size: 50px;
}

.fiftydegrees{
    font-size: 0.75em;
    color: #ddd;
}

#gadres{  
  height: 50px;
  padding: 5px;
  border: 1px solid #999;
  width: 100%;
  box-sizing: border-box;
  max-width: 500px;
  font-size: 22px;
  color:#999;
}

.btnFind, .btnBack{
  position: relative;
  height: 50px;
  padding: 5px 20px;
  border: 1px solid #fff;
  box-sizing: border-box;
  font-size: 22px;
  width: 130px;
  margin-left: 10px;
  cursor: pointer;
  background-color: #5C82C3;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  color: #fff;
  font-weight: 300;
  transition:all 0.3s;
}

.btnBack{
  display: inline-block;
  width: auto;
  margin-top: 50px;
}

.btnFind:hover, .btnBack:hover{
    background-color:#3A61AC;
}

.loading::before{  content: " "; position: absolute; background-color: #000; width: 100%; height: 100%; top: 0;left: 0; opacity: 0.1;}
.loading::after{content:" ";position: absolute; width: 100%; height: 100%; top: 0;left: 0;background-image:url('loading.gif'); background-repeat:no-repeat; background-position: center center;}

#googleMap{
  overflow: hidden;
  transform: translateZ(0px);
  background-color: rgb(229, 227, 223);
  width:100%;
  height:100px;
  opacity: 0;
  margin-bottom: 10px;
}
#resultView {
    display: none;
    color: #fff;
    min-height: 300px;
}

#resultView a {
  color: #fff;
  text-decoration: underline;
  margin:0 10px;
}

#sy-footer{
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
}

#sy-footer-inside{
    width: 900px;
    margin: 20px auto 0 auto;
    color: #47479b;
    font-size: 14px;
}

.sy-logo{
    position: absolute;
    bottom: 0;
    left: 20px;
}

.large_button {
    display: inline-block;
    border: 1px solid #47479b;    
    color: #47479b;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    padding: 15px 20px;
}

.large_button:hover {
    background-color: #627AAC;
    border: 1px solid #29447E;
    color: #FFF;
}

@media screen and (min-width: 900px) {
    #resultView{ width: 900px; margin: auto;}
    #latlongform{ padding-top: 40px; }
    #sy-footer-inside { text-align: center; }
    #sy-footer-inside span{ display: inline-block;  }
    #sy-footer-inside span + span{ margin-left: 1em; }
    .info-text1,#resultTitle,#resultHours{ margin-bottom: 35px; }
}

@media screen and (max-width: 899px), screen and (max-height: 670px) {
  #resultHours{font-size:36px;line-height:36px;}
  #resultView{  padding: 0 10px;  box-sizing: border-box;}
  #sy-content { padding-bottom: 20px; }
  #sy-footer { position: initial; display: block; background: #242424; border-top: 1px solid #666; }
  .large_button { border: 1px solid #fff; color: #fff; }
  .sy-logo { position: initial; }
  #sy-footer-inside { width: 100% !important; color: #fff; }
  #sy-footer-inside span{ display: block; text-align: center; }
  #sy-footer-inside span { margin-bottom: 1em; }
}

@media screen and (max-width: 700px) {
  #gadres{max-width:400px;}
  #latlongform{ padding-top: 0; }
  .info-text1, #resultTitle {font-size:32px;line-height:36px;}  
}

@media screen and (max-width: 580px) {
  .btnFind{width:100px;display:block;margin:10px auto 0;}
  .btnFind, .btnBack{font-size:16px;  }
}

@media screen and (max-width: 480px) {
 #resultView a {margin:0;display:block;background:rgba(0,0,0,0.7);}
 #resultView .dot{display:none;}
 .btnBack{margin-top:25px;  font-size: 12px;}
 #gadres{max-width:300px;}
}

/* iPad Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
  #latlongform{ padding-top: 60px; }
}

/* A day with no UVB: the #resultHours slot carries a sentence instead of a
   time range, so it cannot stay at 50px bold. Higher specificity than the
   plain #resultHours rules, so it wins inside the media queries too. */
#resultHours.no-uvb{
    font-size: 24px;
    line-height: 1.45;
    font-weight: 300;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 899px), screen and (max-height: 670px) {
    #resultHours.no-uvb{ font-size: 20px; line-height: 1.45; }
}
