/* arifhasan.org site styles */

/* Lightbox (replaces FancyBox) */
.ahs-lb { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(30, 30, 30, .85); }
.ahs-lb.open { display: flex; }
.ahs-lb-inner { position: relative; max-width: 92vw; max-height: 92vh; background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 10px 25px rgba(0, 0, 0, .5); }
.ahs-lb-img { display: block; max-width: calc(92vw - 30px); max-height: calc(92vh - 70px); width: auto; height: auto; margin: 0 auto; }
.ahs-lb-cap { font: 13px/1.4 Lato, sans-serif; color: #333; padding-top: 8px; text-align: center; }
.ahs-lb-cap:empty { display: none; }
.ahs-lb button { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(0, 0, 0, .55); font: 32px/1 sans-serif; width: 40px; height: 40px; border-radius: 50%; padding: 0; }
.ahs-lb button:hover { background: rgba(0, 0, 0, .8); }
.ahs-lb-close { top: -18px; right: -18px; font-size: 26px !important; }
.ahs-lb-prev, .ahs-lb-next { top: 50%; margin-top: -20px; }
.ahs-lb-prev { left: -20px; }
.ahs-lb-next { right: -20px; }
.ahs-lb.single .ahs-lb-prev, .ahs-lb.single .ahs-lb-next { display: none; }
html.ahs-lb-lock { overflow: hidden; }

/* Contact form (same look as the old appsys form) */
.ahs-contact .ahs-input { width: 100%; height: auto; padding: 15px; border: 1px solid #CCD6E0; border-radius: 4px; box-sizing: border-box; }
.ahs-contact .ahs-textarea { border: 1px solid #CCD6E0; border-radius: 4px; height: 200px; width: 100%; box-sizing: border-box; }
.ahs-contact .ahs-submit { background: #336600; border: none; border-radius: 3px; color: #CCC; cursor: pointer; margin: 20px 0; padding: 5px 25px 5px 22px; position: relative; }
.ahs-contact .ahs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* YARPP 5 adds .yarpp-related to the sidebar widget too; restore YARPP 4's widget look */
.yarpp-related.yarpp-related-widget { padding-left: 16px; margin-top: 0; margin-bottom: 0; }
.yarpp-related.yarpp-related-widget a { font-weight: normal; }
