body{
	
    margin: 0 auto !important;
    line-height: inherit;
    /* box-shadow: 1px 1px 16px #00000030;
    max-width: 1200px; */
    padding: 0;
    background: linear-gradient(149deg, rgba(255,255,255,1) 0%, rgba(159,127,174,0.5) 32%, rgba(255,255,255,1) 100%);
}

header{
	max-width: 1120px;
	margin:0 auto;
	height: 140px;
}

header .top-nav a{
	background-color: #74568f;
    color: white;
    padding: 2px 10px 4px;
    font-size: 1.1em;
}



header .top-nav a:first-child{
	border-radius: 0 0 0 10px;
}

header .top-nav a:last-child{
	border-radius: 0 0 10px 0;
}


header .main-nav a{
	color: #74568f;
	font-size:1.2em;
	display: inline-block;
	font-weight: bold;
}

header .main-nav a.active{
	border-bottom: 3px solid #74568f;
}

header .phone{
	margin-right: 1.8em;
    color: #306593 !important;
    font-size: 1em !important;
    font-weight: bold;
    background-color: #d0e9ff !important;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px !important;
    box-shadow: 4px 2px 7px #00000042;
}

nav.top-nav {
    display: flex;
    gap: 2px;
    align-items: center;
}

.topphone{
	margin-right: 3em;
    color: #666;
    font-size: 1.2em;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

nav.main-nav {
    margin-top: 49px;
}

.mobile-menu-toggle {
    display: none;
}



.cta-copy {
    font-size: 1.3em;
    color: white;
    padding: 0 5em;
    text-shadow: 1px 1px 4px #854a17;
}

#orange-stripe{
	background-color: #f5821f;
}

#orange-stripe .inner{
	max-width: 1440px;
	margin:0 auto;
	position: relative;
}

#orange-stripe img.anshadow {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

#home-services{
	max-width: 1120px;
    margin: 0 auto;
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 49% 49%;
    grid-gap: 3% 2%;
    margin-bottom: 3em;
}

#home-services .homeserv{
	padding: 4% 6%;
    box-sizing: border-box;
    text-align: center;
    font-size: 1.2em;
    border: 1px solid #745195;
    border-radius: 1em;
    position: relative;
    background: white;
}

.homeserv img {
    width: 200px;
    height: auto;
    margin:0 auto;
    display: inline-block;
}

.homeserv h3 {
    color: #745195;
    font-weight: bold;
    position: relative;
    font-size: 1.4em;
    font-style: italic;
    top: -0.5em;
    line-height: 1em;
}

.homeserv a{
	color: #745195;
}

.homeserv::after {
    display: inline-block;
    background-image: url(/assets/analizarveterinario/img/shadow.png);
    height: 1em;
    content: ' ';
    position: absolute;
    bottom: -1em;
    left: 0;
    width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

div#muestras {
    text-align: center;
    color: #745195;
    font-weight: bold;
    position: relative;
    top: 2em;
}

div#muestras img {
    width: 580px;
    display: inline-block;
    border-bottom: 5px solid #745195;
    padding-bottom: 1em;
}


#horarios{
	max-width: 1120px;
    margin: 0 auto;
    background-color: aliceblue;
    padding: 3em 4em;
    font-size: 1.1em;
    padding-bottom: 5em;
    position: relative;
    border-radius: 1em;
}


#disclaimer{
	max-width: 1440px;
    margin: 0 auto;
    background-color: #664387;
    color: white;
    padding: 2em;
    text-align: center;
}

img.lab1{
	width: 300px;
    border-right: 13px solid white;
    border-left: 13px solid white;
}

.bottomimg{
	margin: 0 auto;
	width:100%;
	max-width: 1200px;
	height: auto;
	position: relative;
}



#banner {
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #9f7fae;
    background: linear-gradient(149deg, rgb(230 219 236) 0%, rgb(158 126 173) 32%, rgb(202 184 210) 100%);
}

#banner img {
    width: 1120px;
}

.banner-copy {
    position: absolute;
    color: black;
    font-size: 28px;
    width: 450px;
    line-height: 29px;
    left: 50%;
    top: 85px;
    transform: translate(-506px, 0);
    color: white;
    text-shadow: 1px 1px 1px #421b5c;
}

.banner-copy h2 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 74px;
}

.hoursimg {
    width: 170px;
    float: right;
}

#hometeam{
    background-color: #efecfd;
    margin: 0 auto;
    padding: 0 1em;
}

#hometeam .inner{
	max-width: 1120px;
    padding: 1em 0 2em;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

#hometeam h2 {
    font-size: 2em;
    padding-top: 0.5em;
    text-align: center;
    color: #745195;
    font-style: italic;
}

.floatws{
	width:60px;
	height:60px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
	font-size:30px;
	box-shadow: 2px 2px 3px #999;
	z-index:100;
}

.my-float {
    margin-top: 16px;
}

#social-bottom{
    position: absolute;
    left: 50%;
    transform: translate(-142px, 20px);
    display: flex;
    gap: 30px;
    z-index: 1000;
}

.main-internal {
    background-color: white;
    padding: 4em;
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 1em;
}

.main-internal h1 {
    margin-bottom: 1em;
    color: #74568f;
    font-size: 3em;
    border-bottom: 2px solid #74568f;
}

.main-internal p {
    margin: 1em 0;
}

.main-internal h2 {
    color: #74568f;
    font-size: 1.5em;
}

.main-internal a {
    color: #7b4ea4;
    text-decoration: underline;
}

.main-internal input {
    border: 1px solid #74568f;
    padding: 3px 5px;
    font-family: Kanit;
    font-size: 1em;
}

.main-internal  button {
    color: white;
    background-color: #74568f;
    padding: 10px 20px;
    border-radius: 5px;
}

.main-internal ul,.main-internal ol {
    margin-left: 2em;
}

.main-internal ul li {
    list-style: disc;
}

.main-internal ol li {
    list-style: auto;
}

div#bottom-stripe {
    position: relative;
}

.bottom-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 5px;
}

@media screen and (max-width: 900px) {
    body {
        min-width: 0;
        overflow-x: hidden;
    }

    img,
    iframe {
        max-width: 100%;
        height: auto;
    }

    header.site-header {
        display: block;
        height: auto;
        max-width: none;
        margin: 0;
        padding: 0.75rem 1rem 1rem;
        box-sizing: border-box;
        background: rgba(255, 255, 255, 0.85);
    }

    .site-header-main {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .site-logo-wrap {
        max-width: calc(100% - 115px);
    }

    .site-logo {
        left: 0 !important;
        width: min(260px, 100%);
        height: auto;
    }

    /* Tailwind preflight loads after site.css and resets button backgrounds */
    header.site-header button.mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4em;
        margin: 0;
        cursor: pointer;
        font-family: Kanit, sans-serif;
        font-size: 1rem;
        font-weight: bold;
        line-height: 1.2;
        color: #ffffff !important;
        background-color: #74568f !important;
        border: 1px solid #5c4370 !important;
        border-radius: 8px;
        padding: 0.6rem 0.8rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
        -webkit-appearance: none;
        appearance: none;
    }

    header.site-header button.mobile-menu-toggle .fa {
        color: #ffffff !important;
    }

    .site-main-nav-wrap {
        order: 3;
        display: block !important;
        flex: 0 0 100%;
        width: 100%;
    }

    nav.main-nav {
        display: none !important;
        flex-direction: column;
        gap: 0 !important;
        margin-top: 0.75rem;
        background: white;
        border: 1px solid #74568f;
        border-radius: 10px;
        overflow: hidden;
    }

    .site-nav-open nav.main-nav {
        display: flex !important;
    }

    header .main-nav a {
        display: block;
        padding: 0.85rem 1rem;
        font-size: 1.05em;
        border-bottom: 1px solid rgba(116, 86, 143, 0.2);
    }

    header .main-nav a:last-child {
        border-bottom: 0;
    }

    header .main-nav a.active {
        border-bottom: 1px solid rgba(116, 86, 143, 0.2);
        background-color: #f1eaf7;
    }

    nav.top-nav {
        position: static !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.4rem;
        width: 100%;
        margin-top: 0.75rem;
    }

    header .top-nav a,
    header .top-nav a:first-child,
    header .top-nav a:last-child {
        border-radius: 8px !important;
        text-align: center;
        font-size: 0.95em;
        padding: 0.55rem 0.35rem;
    }

    header .phone {
        grid-column: 1 / -1;
        margin-right: 0;
        padding: 0.65rem 0.5rem;
        box-shadow: 2px 2px 5px #0000002b;
    }

    #banner {
        display: block;
        overflow: hidden;
    }

    #banner img {
        width: 100%;
        min-height: 250px;
        object-fit: cover;
        object-position: center;
    }

    .banner-copy {
        position: static;
        transform: none;
        width: auto;
        padding: 1.25rem;
        background: #74568f;
        font-size: 1.15rem;
        line-height: 1.35;
        text-align: center;
    }

    .banner-copy h2 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
    }

    .banner-copy p[style] {
        margin-top: 1.5rem !important;
    }

    #home-services {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: none;
        margin: 1.5rem 1rem 2rem;
    }

    #home-services .homeserv {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .homeserv img {
        width: 150px;
    }

    .homeserv h3 {
        font-size: 1.25em;
    }

    #hometeam .inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }

    #hometeam h2 {
        font-size: 1.75em;
    }

    #horarios {
        max-width: none;
        margin: 1rem;
        padding: 1.5rem;
        font-size: 1rem;
    }

    .hoursimg {
        float: none;
        display: block;
        width: 120px;
        margin: 0 auto 1rem;
    }

    .main-internal {
        margin: 1rem;
        padding: 1.5rem;
        max-width: none;
        border-radius: 0.75em;
    }

    .main-internal h1 {
        font-size: 2em;
    }

    .main-internal table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }

    .main-internal input,
    .main-internal textarea,
    .main-internal select {
        max-width: 100%;
        box-sizing: border-box;
    }

    #social-bottom {
        position: static;
        transform: none;
        justify-content: center;
        margin: 1rem 0;
    }

    div#bottom-stripe {
        background-color: #74568f;
    }

    .bottom-info {
        position: static;
        color: white;
        padding: 0.75rem 1rem 1rem;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 520px) {
    .site-logo-wrap {
        max-width: calc(100% - 95px);
    }

    .site-logo {
        width: min(220px, 100%);
    }

    header.site-header button.mobile-menu-toggle {
        font-size: 0.9rem;
        padding: 0.55rem 0.65rem;
    }

    #hometeam .inner {
        grid-template-columns: 1fr;
    }

    .main-internal {
        margin: 0.75rem;
        padding: 1rem;
    }
}
