/* Escolas Medicas do Brasil | Home - etapa 1
   Exclusivo de index.php. Carregar apos template.css. */
.em-main { padding:0; }
.em-home { padding-bottom:42px; }
.em-ads { background:#f3f7f8; }
.em-ads-mobile { display:none; }
.em-ads .carousel-inner>.item>a { display:block; }
.em-ads .carousel-inner>.item>a>img { display:block; width:100%; height:auto; margin:0 auto; }
.em-ads .carousel-control { width:48px; height:48px; top:50%; bottom:auto; margin-top:-24px; border-radius:50%; background:#173d50; color:#fff; opacity:.85; text-shadow:none; display:flex; align-items:center; justify-content:center; font-size:30px; }
.em-ads .carousel-control.left { left:16px; }
.em-ads .carousel-control.right { right:16px; }
.em-ads .carousel-control:hover,.em-ads .carousel-control:focus { opacity:1; }
.em-ads-navigation { display:flex; justify-content:center; align-items:center; gap:12px; min-height:32px; background:#f3f7f8; }
.em-ads .carousel-indicators { position:static; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; width:auto; margin:0; line-height:1; }
.em-ads .carousel-indicators li,.em-ads .carousel-indicators li.active { display:block; width:28px; height:30px; margin:0; border:0; background:transparent; text-indent:0; }
.em-ads .carousel-indicators button { display:block; width:28px; height:30px; padding:0; border:0; background:transparent; }
.em-ads .carousel-indicators button:before { content:''; display:block; width:7px; height:7px; background:#8aa3ae; border-radius:50%; margin:auto; }
.em-ads .carousel-indicators li.active button:before { width:20px; border-radius:8px; background:#087e73; }
.em-ads-pause { background:transparent; color:#173d50; border:0; border-left:1px solid #cbd9df; padding:4px 12px; min-height:30px; min-width:40px; font-size:12px; }
.em-home-intro { position:relative; background:#f4faf9; overflow:hidden; }
.em-home-photo { position:absolute; top:0; right:0; bottom:0; width:46%; background:url('../images/home-medicina.jpg') center 43% / cover no-repeat; }
.em-home-photo:before { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#f4faf9 0%,rgba(244,250,249,.65) 12%,rgba(244,250,249,0) 40%); }
.em-home-intro-inner { position:relative; padding-top:26px; padding-bottom:19px; }
.em-home-copy { max-width:59%; }
.em-home-eyebrow { display:inline-block; border-radius:20px; padding:3px 13px; color:#076e66; background:#d9f1ed; font-size:11px; font-weight:700; letter-spacing:.6px; }
.em-home-copy h1 { margin:10px 0 10px; color:#173d50; font-size:40px; line-height:1.08; letter-spacing:-1.3px; border:0; padding:0; }
.em-home-copy h1:after { display:none; }
.em-home-copy p { font-size:15px; margin:0 0 17px; }
.em-home-search { display:flex; align-items:stretch; width:78%; max-width:1120px; padding:10px; background:#fff; border:1px solid #d5e1e3; border-radius:12px; box-shadow:0 4px 16px rgba(23,61,80,.1); }
.em-home-search>div { min-width:0; padding:0 13px; border-right:1px solid #dce6e8; }
.em-search-name { flex:1.4; }
.em-search-state { flex:1; }
.em-search-type { flex:1.1; }
.em-home-search label { display:block; font-size:11px; font-weight:700; color:#173d50; margin:0 0 3px; }
.em-home-search input[type=search],.em-home-search select { width:100%; min-width:0; height:31px; padding:0; color:#364b56; font-family:inherit; font-size:13px; border:0; border-radius:0; background:#fff; }
.em-home-search select { cursor:pointer; }
.em-home-search input:focus,.em-home-search select:focus { outline:2px solid #159b8e; outline-offset:2px; }
.em-search-input { display:flex; align-items:center; gap:9px; }
.em-search-input>.fa { font-size:17px; color:#087e73; }
.em-search-submit { align-self:stretch; margin-left:10px; padding:9px 18px; border:0; border-radius:8px; background:#087e73; color:#fff; font-family:inherit; font-size:13px; font-weight:700; white-space:nowrap; }
.em-search-submit:hover,.em-search-submit:focus { background:#173d50; color:#fff; }
.em-search-submit>.fa { margin-left:9px; }
.em-home-advanced { display:inline-block; font-size:11px; margin-top:8px; color:#176b64; }
.em-home-advanced>.fa { margin-left:5px; }
/* Bootstrap 3 clearfix must not become extra grid items. */
.em-home-shortcuts:before,.em-home-shortcuts:after { content:none; display:none; }
.em-home-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:22px; }
.em-home-shortcut { display:flex; align-items:center; gap:16px; padding:22px 20px; min-height:108px; border:1px solid #e0eeee; border-radius:12px; background:#f0f8f7; color:#173d50; transition:background .2s,border-color .2s; }
.em-home-shortcut:hover,.em-home-shortcut:focus { background:#e3f3ef; border-color:#159b8e; color:#173d50; text-decoration:none; }
.em-shortcut-icon { flex-shrink:0; width:36px; text-align:center; font-size:30px; color:#087e73; }
.em-home-shortcut>span { flex:1; min-width:0; }
.em-home-shortcut strong { display:block; font-size:16px; line-height:1.25; margin-bottom:6px; }
.em-home-shortcut>span>span { display:block; font-size:12px; line-height:1.45; color:#364b56; }
.em-shortcut-arrow { flex-shrink:0; font-size:21px; }
@media (min-width:1600px) { .em-home-intro-inner { padding-top:32px; padding-bottom:24px; } .em-home-copy h1 { font-size:46px; } }
@media (max-width:1199px) { .em-home-search { width:88%; } .em-home-shortcut { padding:18px 14px; gap:11px; } .em-home-shortcut strong { font-size:15px; } .em-shortcut-icon { font-size:27px; width:30px; } }
@media (max-width:991px) { .em-home-copy { max-width:65%; } .em-home-copy h1 { font-size:36px; } .em-home-search { width:100%; } .em-home-photo { width:45%; } .em-home-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) {
 .em-ads-desktop { display:none; } .em-ads-mobile,.em-ads-fallback { display:block; }
 .em-ads .carousel-control { width:36px; height:36px; margin-top:-18px; font-size:25px; }
 .em-ads .carousel-control.left { left:9px; } .em-ads .carousel-control.right { right:9px; }
 .em-home { padding-bottom:28px; }
 .em-home-photo { display:none; }
 .em-home-intro-inner { padding-top:24px; padding-bottom:22px; }
 .em-home-copy { max-width:none; }
 .em-home-copy h1 { font-size:32px; letter-spacing:-.7px; }
 .em-home-copy p { font-size:14px; max-width:330px; }
 .em-home-search { display:block; padding:15px; }
 .em-home-search>div { padding:0; border:0; margin-bottom:12px; }
 .em-home-search label { font-size:12px; margin-bottom:5px; }
 .em-home-search input[type=search],.em-home-search select { height:42px; font-size:14px; padding:0 10px; border:1px solid #bccdd3; border-radius:6px; }
 .em-search-input>.fa { display:none; }
 .em-search-submit { width:100%; min-height:46px; margin:0; font-size:14px; }
 .em-home-advanced { font-size:12px; margin-top:12px; }
 .em-home-shortcuts { gap:12px; margin-top:18px; }
 .em-home-shortcut { position:relative; display:block; padding:16px 12px; min-height:157px; }
 .em-shortcut-icon { display:block; margin-bottom:12px; text-align:left; font-size:27px; }
 .em-home-shortcut strong { font-size:14px; }
 .em-home-shortcut>span>span { font-size:12px; }
 .em-shortcut-arrow { position:absolute; top:19px; right:14px; }
}
@media (min-width:768px) { .em-ads-mobile.em-ads-fallback { display:block; } }
@media (prefers-reduced-motion:reduce) { .em-home-shortcut,.em-ads .carousel-inner>.item { transition:none!important; } }
