@font-face {
  font-family: 'omo';
  src:url('../font/omo.eot?fcdfq7');
  src:url('../font/omo.eot?#iefixfcdfq7') format('embedded-opentype'),
    url('../font/omo.woff?fcdfq7') format('woff'),
    url('../font/omo.ttf?fcdfq7') format('truetype'),
    url('../font/omo.svg?fcdfq7#omo') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Droid Sans";
  src: url("../font/droidsans.ttf");
}

[class^="icon-omo-"], [class*=" icon-omo-"], #search_input:before {
  font-family: 'omo';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  vertical-align: middle;
  text-align: center;
  line-height: 1.6rem;
  font-size: 1.6rem;
  /* Better Font Rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a img {border:none;}
/* Popup */
#popup_background {display:none; position: absolute;top: 0;left: 0;width: 100%;height:100%;z-index:15;background: rgba(0,0,0,0.5);}
#popup_template iframe {width:100%;height:100%;border:none;}
#popup_wrap {
  position:absolute;
  top:105px;
  bottom:0;
  right:335px;
  width:660px;
  background: #fbf7ec;
  overflow:hidden;
  z-index:21;
  display:none;
}
#popup {
  position: absolute;
  font-family: 'Droid Sans', sans-serif;
  font-size: 14px;
  color: #635f5c;
  top:0;
  bottom:0;
  left:0;
  right:0;
}
#popup_topbar{
  background-color: rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 35px;
}
/* Popup content */
#popup_template, #popup_static{
  position: absolute;
  top: 0; bottom:0;
  left:0; right:0;
  z-index: 30;
}
#popup_static, #popup_iframed {
  overflow-y: auto;
}
#popup h1{
  color: #000;
  font-size: 18px;
  font-weight: normal;
  margin:40px 40px 25px 40px;
  letter-spacing: normal;
  white-space: normal;
}
#popup p{display: block !important;}
#popup a{color: #ae1600; text-decoration: underline;}
#popup a:hover{text-decoration: underline;}
#popup_gr_link {margin-left:8px;}
#popup_template_content{
  padding:40px 0;
  background:#e4e0d7;
  min-height:300px;
  margin-bottom: 20px;
}
#popup_template_thumbnail{
  position:absolute;
  max-width: 320px;
  max-height:300px;
  padding-left:30px;
  margin-bottom: 20px;
}
#popup_template_thumbnail img {
  max-height: 300px;
  max-width: 300px;
}
#popup_template_info{float:right;padding-right:40px;width:260px;}
#popup_template_info p{margin: 10px 0 10px 0;}
.btn_red, .btn_gray{
  display: inline-block;
  padding: 12px 10px;
  margin-bottom: 15px;
  background-color: #ae1600;
  background-image: linear-gradient(#ae1600, #6d0019);
  font-weight: bold;
  font-size: 13px;
  text-decoration: none !important;
  color: #fff !important;
  border-radius: 5px;
}
.btn_red:hover{text-decoration: none !important;background: #ae1600;}
.btn_gray{
  background-color: #5f5a57;
  background-image: linear-gradient(#5f5a57, #433a37);
}
.btn_gray:hover{text-decoration: none !important;background: #5f5a57;}
#popup_template_adsense{
  padding: 20px 0 20px 0;
  margin: 25px 4% 30px 4%;
  text-align: center;
}
.shere{text-align: center; font-size: 16px; line-height: 20px; vertical-align: top;}
/* Social buttons */
.social{display: inline-block !important;}
.social{white-space: nowrap !important; font-size: 20px; font-family: "omo"; letter-spacing: -2px; padding-right: 5px;}
.social a{color: #635f5c; text-decoration: none !important;}
.social a:hover{color: #A39A8C !important}
.social .fb{color: #3B5998 !important;}
.social .tw{color: #55ACEE !important;}
.social .gp{color: #d34836 !important;}
.social .pi{color: #C92228 !important;}
#results_header .share{float: right; margin: 0 20px; font-size: 16px;}
/* responsive popup */
@media (max-width: 1000px){
  #popup_wrap{
    width: 400px;
  }
  #popup_template_thumbnail{
    display: inline-block;
    position: relative;
    padding: 0 20px 0 25px;
  }
  #popup_template_info{
    display: inline-block;
    margin: 0;
    padding: 0 20px 0 25px;
  }
}
@media(max-width: 801px){
  .iframed #popup_wrap{
    top:0; bottom:0;
    left: 0; right: 0;
    width: 100%;
  }
  .iframed #popup_template_thumbnail, .iframed #popup_template_info{
    position: relative;
    display: inline-block;
    padding: 0 3%;
    width: 44%;
    float: left;
  }
}
@media(max-width: 401px){
  .iframed #popup_template_content{
    display: inline-block;
    width: 100%;
  }
  .iframed #popup_template_thumbnail, .iframed #popup_template_info{
    display: inline-block;
    padding: 0 6%;
    width: 88%;
  }
}
/* mobile */
#mobile{display: none;}
.mobile-min a{text-decoration: none;}
.store-logo{width: 190px; height: 66px;}

@media(max-width: 800px){
  body:not(.iframed){
    overflow: hidden;
  }
  body:not(.iframed) #mobile{
    display: block;
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 25;
    background-color: #fbf7eb;
    padding: 40px;
    text-align: center;
  }
  body:not(.iframed) .btn_gray, body:not(.iframed) .btn_red{
    width: 100px;
    margin-top: 20px;
  }
  body:not(.iframed) #header, body:not(.iframed) #results_header,
  body:not(.iframed) #overview_map, body:not(.iframed) #map,
  body:not(.iframed) .mapcontrol, body:not(.iframed) #footer_area,
  body:not(.iframed) #button_help, body:not(.iframed) #popup_background,
  body:not(.iframed) #popup_wrap, body:not(.iframed) #toolbar,
  body:not(.iframed) #welcome_background, body:not(.iframed) #welcome,
  body:not(.iframed) #results, body:not(.iframed) #getinvolved{
    display: none;
  }
  body:not(.iframed) #navigation{
    top: 0;
  }
}
