@import "omo3.css";

@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;
}


[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:130px;
  bottom:0;
  right:335px;
  width:660px;
  background: var(--background);
  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;

  display: flex;
  flex-direction: column;
}

#popup_static, #popup_iframed {
  overflow-y: auto;
}
#popup h1{
  color: var(--titles);
  font-size: 22px;
  font-weight: 500;
  margin:60px 40px 65px 40px;
  letter-spacing: normal;
  white-space: normal;
}
#popup p{display: block;}
#popup a{color: #ae1600; text-decoration: underline;}
#popup a:hover{text-decoration: underline;}
#popup_gr_link {margin-left:8px;}
#popup_template_content{
  padding:62px 0;
  background:#E9E3D9;
  min-height:300px;
  max-height: 400px;
  margin-bottom: 20px;
}
#popup_description_container {
  max-height: 200px;
  overflow: auto;
}

@media (max-width: 1000px){
  body:not(.iframed) #popup_template_content {
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }

  body:not(.iframed) #popup_description_container {
    max-height: unset;
    overflow: initial;
  }
}

@media (max-width: 400px){
  #popup_template_content {
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
  }
  
  #popup_description_container {
    max-height: unset;
    overflow: initial;
  }
}

#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: 7px;
}
.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;
}
.maptiler-cloud { text-align:center; font-size:12px !important;}

@media (max-width: 1000px){
  body:not(.iframed) #popup_template_adsense {
    margin: 0px 4% 0px 4%;
  }
  
  body:not(.iframed) .maptiler-cloud {
    margin-bottom: 44px;
  }
}

.maptiler-cloud a {color: #ae1600;}
.shere{text-align: center; font-size: 16px; line-height: 20px; vertical-align: top;}
/* Social buttons */
.omo-social{display: flex; justify-content: center; margin-top: 6px;}
.omo-social a {margin: 0 10px; height: 28px; width: 28px; text-decoration: none;}
#welcome .omo-social a:hover rect, #popup .omo-social a:hover rect{text-decoration: none; fill: #A39A8C;}


#results_header .share{float: right; margin: 0 20px; font-size: 16px;}
#popup p.share {display: flex; justify-content: center; align-items: center; gap: 18px;}
/* 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){
  #navbar-top {
    display: none;
  }
  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;
  }
}
