* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto';
    background-color: #ffffff;
    /* background-color:blue; */
    overflow-x: hidden;
}

.backbutton {
    background-color: #68b2f8;
    border: none;
    color: white;
    padding: 14px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
}

.backbutton:hover {
    background-color: #3c98ee;
    color: white;
    transition: .5s;
    text-shadow: 1px 1px 2px black;
    -webkit-appearance: none;
}

/* Esta es la barra de navegacion. */

.navbar {
    font-family: 'Lato';
    background-color: #f6f6f6;
    overflow: hidden;
    height: 63px;
    text-align: right;
}

.logomcg {
    width: 400px;
    float: left;
    padding: 20px 0 0 50px;
    transition: 1s;
}

/* Este es el menu hamburguesa. */

.navbar a {
    float: left;
    display: block;
    color: #888888;
    text-align: center;
    padding: 16px 16px;
    text-decoration: none;
    font-size: 18px;
}

/* Lista no ordenada de links */

.navbar ul {
    margin: 4px 100px 0 0;
    list-style: none;
}

/* Mouseover links */

.navbar a:hover {
    /* background-color: #ddd;
color: #68b2f8; */
    /* text-decoration: underline; */
    /* text-underline-position: under; */
}

.navbar ul li a:hover {
    /* background-color: rgba(221, 221, 221, 0.146); */
    color: #68b2f8;
    text-decoration: underline;
    /* border-radius: 50%; */
    box-shadow: 10 10 10 10 black;
    backface-visibility: hidden;
    transition: 1s;
    text-shadow: 1px 1px 2px white;
    /* border-bottom: dashed 1px rgba(0, 0, 0, 0.515); */
}

.underlined_text {
    border-bottom: solid 1px #000;
    display: inline;
    padding-bottom: 3px;
}

.hamburger:hover {
    background-color: #ddd;
    transition: .2s;
}

/* aqui empieza el scroll */

#scroll {
    position: fixed;
    right: 20px;
    /* bottom: 20px; */
    bottom: 85%;
    height: 40px;
    width: 40px;
    background-color: rgba(97, 97, 97, 0.666);
    opacity: 0.9;
    border-radius: 60px;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    z-index: 3;
}

#scroll span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -12px;
    border: 8px solid transparent;
    border-bottom-color: white;
}

#scroll:hover {
    background-color: var(--blue);
    opacity: 0.7;
    filter: "alpha(opacity=100)";
    -ms-filer: "alpha(opacity=100)";
}

/* aqui termina el scroll */

/* Lista de links */

.navbar ul li {
    display: inline-block;
}

.side-nav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    opacity: 0.9;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.side-nav a {
    padding: 10px 10px 10px 30px;
    text-decoration: none;
    font-size: 22px;
    color: #ccc;
    display: block;
    transition: 0.3s;
}

.side-nav span {
    padding: 10px 10px 10px 30px;
    text-decoration: none;
    font-size: 22px;
    color: #ccc;
    display: block;
    transition: 0.3s;
}

.side-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.side-nav span:hover {
    color: #fff;
    text-decoration: underline;
}

.side-nav .btn-close {
    position: absolute;
    top: 0;
    right: 22px;
    font-size: 36px;
    margin-left: 50px;
}

/* Este es el boton de English */

input[class=english] {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 63px;
    background-color: #68b2f8;
    border: none;
    color: rgba(255, 255, 255, 0.796);
    padding: 16px 20px;
    text-decoration: none;
    margin: 0px;
    cursor: pointer;
    transition: .5s;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

input[class=english]:hover {
    background-color: #3c98ee;
    color: white;
    transition: .5s;
    text-shadow: 1px 1px 2px black;
    -webkit-appearance: none;
}

.mlink {
    display: none;
}

/* esta transicion se requiere para que el menu responsivo empuje todo a la derecha al abrirse */

#main {
    transition: margin-left 0.5s;
    padding: 0px;
    overflow: hidden;
    width: 100%;
    background-color: white;
}

/* esto contiene el image slider */

.container {
    margin: 0;
    margin-top: 0px;
    position: relative;
    width: 100vw;
    height: 600px;
    max-height: 600px;
    padding-bottom: 0%;
    background: #4c4c4c;
    border: none;
}

.slide_img {
    position: absolute;
    width: 100%;
    height: 100%;
    max-height: inherit;
    max-width: inherit;
    object-fit: cover;
    overflow: hidden;
}

/* Esta es la propiedad que cambia el tama;o de la imagen con el resize del browser. */

.slide_img img {
    width: 100%;
    height: 100%;
    max-height: inherit;
    max-width: inherit;
    object-fit: cover;
    opacity: 0.8;
}

/* estos son los radio selectors del slider */

#i1, #i2, #i3 {
    display: none;
}

.pre, .nxt {
    width: 50%;
    height: 100%;
    align-content: center;
    position: absolute;
    top: 0;
    background: transparent;
    z-index: 99;
    cursor: pointer;
}

.pre {
    left: 0;
}

.nxt {
    right: 0;
}

.slide_img h1 {
    font-family: 'Lato';
    font-size: 400%;
    color: rgba(255, 255, 255, 0.913);
    text-shadow: 1px 1px 300px black;
    padding-top: 150px;
    padding-right: 100px;
}

.behindtxt p {
    font-size: 150%;
    font-family: 'Roboto';
    /* background-color: rgba(72, 72, 72, 0.721); */
    text-align: justify;
    color: #ffffffd7;
    padding-top: 10px;
    padding-left: 30px;
    text-shadow: 1px 1px 100px black;
}

.behindtxt {
    background-color: rgba(204, 204, 204, 0.166);
    width: 430px;
    height: 30%;
    border-radius: 10px;
    padding-top: 0px;
    padding-right: 50px;
}

.slidernav {
    width: 100%;
    height: 10px;
    bottom: 2%;
    position: absolute;
    text-align: center;
    z-index: 99;
}

/* Los puntos inferiores del image slider */

.dots {
    top: -10px;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    position: relative;
    border-radius: 50%;
    display: inline-block;
    background: rgba(67, 67, 67, 0.666);
}

.slide_img {
    z-index: -1;
}

#i1:checked~#one, #i2:checked~#two, #i3:checked~#three {
    z-index: 9;
}

#i1:checked~.slidernav #dot1, #i2:checked~.slidernav #dot2, #i3:checked~.slidernav #dot3 {
    background: #fff;
    /* border: 0px solid rgba(0, 0, 0, 0.33); removed because it didnt look good. */
}

/* las flechas que todavia no funcionan como links porque son divs */

/* .arrows {
width: 20px;
height: 20px;
border-color: rgb(0, 0, 0);
position: absolute;
top: 50%;
margin-top: -31px;
align-content: center;
z-index: 99;
cursor: pointer;
}

.prev {
border-bottom: 6px solid #68b2f8;
border-left: 6px solid #68b2f8;
transform: rotate(45deg);
left: 40px;
z-index: 99;
}

.next {
border-bottom: 6px solid #68b2f8;
border-left: 6px solid #68b2f8;
transform: rotate(-135deg);
right: 40px;
z-index: 99;
} */

.doctordescription {
    width: 1125px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.doctordescription h1 {
    font-size: 250%;
    padding-top: 35px;
    color: #77b9f8;
}

.doctordescription h2 {
    font-size: 180%;
    color: #68b2f8;
    padding: 0;
}

.doctordescription p {
    color: #898989;
    padding-top: 30px;
    margin-right: 50px;
    font-size: 21px;
    letter-spacing: 0.01em;
}

.doctordescription a {
    color: #68b2f8;
    text-decoration: none;
}

.doctordescription a:visited {
    color: #68b2f8;
    text-decoration: none;
}

.doctordescription a:hover {
    color: #77b9f8;
}

.doctordescription a:active {
    color: #68b2f8;
    text-decoration: none;
}

input[class=vermas] {
    position: relative;
    font-size: 15px;
    top: 0px;
    right: 0px;
    /* height: 63px; */
    color: #68b2f8;
    background-color: white;
    border: 2px solid #68b2f8;
    padding: 10px 20px;
    text-decoration: none;
    margin: 30px 0 30px 50px;
    cursor: pointer;
    transition: .5s;
    border-radius: 30px;
    float: left;
    margin-right: 200px;
    margin-bottom: 55px;
    -webkit-appearance: none;
}

input[class=vermas]:hover {
    background-color: #3c98ee;
    color: white;
    transition: .5s;
    /* text-shadow: 1px 1px 2px black; */
}

.clear {
    clear: both;
}

/* .procedurescont {
width: 100%;
margin-left: auto;
margin-right: auto;
background-color: purple;
height: auto;
overflow: hidden;
text-align: justify;
} */

.procedurestext h1 {
    font-size: 250%;
    padding-top: 60px;
    color: #77b9f8;
    text-align: center;
}

.procedurestext hr {
    margin: 20px;
    height: 1px;
    color: #77b9f8;
    background-color: #77b9f8;
    width: 10%;
    margin-left: auto;
    margin-right: auto;
    border: 0 none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.procedurestext p {
    font-size: 120%;
    padding-top: 0;
    margin-bottom: 50px;
    text-align: center;
    /* margin-bottom: 55px; */
}

.proceduresbar {
    background-color: #77b9f8;
    color: white;
    text-align: justify;
    /* text-overflow: ellipsis; */
    /* overflow: hidden; */
    /* height: 90px; */
    /* padding-top: 33px; */
    padding: 10px 0;
    /* margin-top: 40px; */
    /* font-size: 18px; */
}

.proceduresbar li {
    display: inline-block;
    text-align: center;
    padding: 10px;
}

.proceduresbar p {
    display: inline;
    color: white;
    font-weight: bold;
}

.proceduresbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
}

.proceduresbar a:hover {
    color: #484848;
    text-decoration: underline;
    /* box-shadow: 10 10 10 10 black; */
    backface-visibility: hidden;
    transition: 1s;
    /* text-shadow: 1px 1px 2px #888888; */
}

.proceduresbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    /* float: right; */
    text-align: center;
    font-family: verdana;
    position: relative;
    /* bottom: 10px; */
}

.proceduresdivs {
    padding-top: 30px;
    background-color: black;
    max-width: 1125px;
}

/* 
.procedures {
    background-color: blue;
} */

.proceduresgallery {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    grid-gap: 20px;
}

.facialsurgery {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
grid-gap: 20px; */
    /* align-self: center; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    margin-bottom: 0px;
    padding-bottom: 50px;
    padding-top: 30px;
    background-color: white;
}

.facialsurgery h1 {
    color: #2685dd;
    /* margin-left: 5%; */
    /* padding: 30px 0 0 50px; */
    padding-bottom: 10px;
    /* padding: 0 0 0 50px; */
    /* max-width: 1200px; */
    /* grid-column: auto / span 1; */
    /* grid-area: hd; */
}

.pic {
    /* background-color: red; */
}

.bodysurgery {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
grid-gap: 20px; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    margin-bottom: 0px;
    padding-bottom: 50px;
    /* padding-top: 50px;  */
    background-color: white;
}

.bodysurgery h1 {
    color: #2685dd;
    /* margin-left: 15%; */
    padding-bottom: 10px;
    /* max-width: 1200px; */
}

.malesurgery {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
grid-gap: 20px; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    margin-bottom: 0px;
    padding-bottom: 50px;
    padding-top: 30px;
    background-color: white;
}

.malesurgery h1 {
    color: #2685dd;
    /* margin-left: 15%; */
    padding-bottom: 10px;
}

.nonsurgical {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
grid-gap: 20px; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    padding-bottom: 0px;
    margin-bottom: 50px;
    background-color: white;
}

.nonsurgical h1 {
    color: #2685dd;
    /* margin-left: 15%; */
    padding-bottom: 10px;
}

.facialrejuvenation {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
grid-gap: 20px; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    margin-bottom: 0px;
    padding-bottom: 50px;
    padding-top: 30px;
    background-color: white;
}

.facialrejuvenation h1 {
    color: #2685dd;
    /* margin-left: 15%; */
    padding-bottom: 10px;
}

.reconstructivesurgery {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
grid-gap: 20px; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    margin-bottom: 0px;
    padding-bottom: 50px;
    padding-top: 30px;
    background-color: white;
}

.reconstructivesurgery h1 {
    color: #2685dd;
    /* margin-left: 15%; */
    padding-bottom: 10px;
}

.femalegenitalsurgery {
    /* width: 1125px; */
    /* max-width: 1125px; */
    margin-left: auto;
    margin-right: auto;
    /* display: grid;
grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
grid-gap: 20px; */
    /* display: flex;
justify-content: space-between;
flex-wrap: wrap; */
    overflow: hidden;
    margin-bottom: 0px;
    padding-bottom: 50px;
    padding-top: 30px;
    background-color: white;
}

.femalegenitalsurgery h1 {
    color: #2685dd;
    /* margin-left: 15%; */
    padding-bottom: 10px;
}

.pic {
    height: 300px;
    width: 540px;
    flex: 1;
    margin-top: 0px;
    margin-bottom: 20px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.pic-hover-text-container>a {
    height: 100%;
    width: 100%;
    display: inline-block;
}

.pic-hover-text-container {
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 3;
}

/*
+
~
*/

.pic-hover-text {
    position: absolute;
    font-weight: bold;
    font-family: "Roboto";
    font-size: 2.5em;
    z-index: 2;
    top: 50%;
    /* position the top  edge of the element at the middle of the parent */
    left: 50%;
    /* position the left edge of the element at the middle of the parent */
    transform: translate(-50%, -50%);
    color: #484848;
    text-align: center;
    line-height: 1;
}

.pic-hover-text-container:hover {
    opacity: 1;
    transition: .5s;
}

.pic>img {
    z-index: 1;
    width: 100%;
    height: 100%;
}

.pic>* {
    position: absolute;
}

.src2 {
    width: 535px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: 1s;
}

.src2-hovered {
    opacity: 0.4;
    transition: 1s;
    /* border: 2px solid var(--blue); */
}

.certifications {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    height: auto;
    overflow: hidden;
}

.certifications {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.certxt {
    width: 1125px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
}

.certifications h1 {
    font-size: 250%;
    padding-top: 0px;
    color: #77b9f8;
}

.certifications h2 {
    font-size: 180%;
    color: #898989;
}

.certifications p {
    color: #898989;
    padding-top: 60px;
    margin-right: 50px;
    font-size: 21px;
    letter-spacing: 0.01em;
}

.certimages {
    width: 1125px;
    background-color: white;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 0px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    padding: 2rem;
    justify-content: center;
    align-items: center;
}

/* .cambio {
    inexistente
} */

.src3 {
    /* display: inline-block;
    align-content: center; */
}

.picA {
    /* flex: 1; */
    display: grid;
    justify-content: center;
    align-content: center;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    align-self: center;
    justify-content: center;
}

.picB {
    /* flex: 1; */
    display: grid;
    justify-content: center;
    align-content: center;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    align-self: center;
    justify-content: center;
}

.picC {
    display: grid;
    justify-content: center;
    align-content: center;
    /* flex: 1; */
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    align-self: center;
    justify-content: center;
}

.picD {
    display: grid;
    justify-content: center;
    align-content: center;
    /* flex: 2; */
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    align-self: center;
    justify-content: center;
}

.space {
    width: 100%;
    height: 100px;
    background-color: white;
}

.map {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0px;
    background-color: white;
    color: white;
    height: 400px;
    overflow: hidden;
}

.footer {
    background-color: #f6f6f6;
    height: 450px;
}

.footer1 {
    width: 1125px;
    margin-left: auto;
    margin-right: auto;
    background-color: #f6f6f6;
    height: auto;
    overflow: hidden;
    color: black;
    display: flex;
    justify-content: space-between;
    /* margin-top: 20px;
position: relative; */
}

.footer p {
    text-align: left;
    color: rgb(56, 55, 55);
    padding: 5px;
    padding-left: 30px;
}

.footer h3 {
    text-align: left;
    padding: 30px 0px 10px 30px;
    /* margin-bottom: 50px; */
}

.socialmedia {
    flex: 1;
    width: 270px;
    margin-bottom: 50px;
    height: 500px;
}

/* .footer {
    background-color: black;
    height: 500px;
    } */

.nothing {
    /* height: 40px; */
}

.officeinfo {
    flex: 1;
    width: 270px;
    height: 500px;
}

.contactus {
    flex: 1;
    margin-left: 50px;
    width: 270px;
    height: 500px;
}

.txtinput {
    width: 220px;
    height: 30px;
    border: 2px solid rgb(228, 228, 228);
}

.txtinput2 {
    width: 220px;
    height: 90px;
    resize: none;
    border: 2px solid rgb(228, 228, 228);
}

.btn5 {
    background: #68b2f8;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px 10px;
    margin-top: 10px;
    position: absolute;
    align: right;
    margin-bottom: 50px;
}

.contactus h3 {
    padding-left: 30px;
    margin-left: -25px;
}

.contactus input[type="text"] {
    width: 300px;
}

:root {
    --blue: #68b2f8;
}

article {
    color: #898989;
    font-family: 'Roboto, Georgia, 'Times New Roman', Times, serif';
    font-size: 20px;
    padding: 0;
    margin: 0;
}

article p {
    line-height: 1.8;
}

article img {
    max-width: 100%;
}

article a {
    color: blue;
    text-decoration: underline wavy var(--blue);
}

article h1, h2 {
    color: var(--blue);
    font-size: 80px;
    font-style: italic;
    font-weight: 100;
    margin-top: 10px;
    margin-bottom: 10px;
}

.src4 {
    border-radius: 50px;
    height: 125px;
}

.doctordescription hr {
    border: .5px solid var(--blue);
    width: 40%;
}

.post {
    display: grid;
    max-width: 1400px;
    margin: 0px auto 50px auto;
    grid-gap: 10px 50px;
    grid-template-columns: 3fr 3fr 12fr 3fr 5fr;
}

.post>* {
    grid-column: 1 / -2;
}

.post>figure {
    margin: 0;
    grid-column: 2 / -2;
    margin-top: 30px;
}

figcaption {
    font-size: 10px;
}

.post>blockquote {
    color: var(--blue);
    grid-column: 1 / -2;
    font-size: 60px;
    font-style: italic;
    text-align: left;
    margin-bottom: 20px;
}

.tip {
    background: #f6f6f6;
    padding: 30px;
    grid-row: span 5;
    align-self: start;
}

.tip p {
    line-height: 1.5;
    color: black;
}

.tip-left {
    grid-column: 1 / span 1;
    text-align: right;
    border-right: 2px solid var(--blue);
}

.tip-right {
    grid-column: span 1 / -1;
    border-left: 2px solid var(--blue);
}

@media( max-width:1059px) {
    .navbar-nav {
        display: none;
    }
    .logostw {
        padding: 18px 0 0 0;
        width: 400px;
    }
    .slide_img img {
        width: 100%;
        height: 100%;
        max-height: inherit;
        max-width: inherit;
        object-fit: cover;
    }
    .doctordescription {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .doctordescription h1 {
        font-size: 180%;
        padding-top: 50px;
        color: #77b9f8;
        padding: 30px 0 0 50px;
    }
    .doctordescription h2 {
        font-size: 120%;
        color: #898989;
        padding: 0 0 0 50px;
    }
    .doctordescription p {
        color: #898989;
        padding: 30px 50px 0px 50px;
    }
    /* .proceduresimagesdiv {
    width: 580px;
    margin-left: auto;
    margin-right: auto; */
    /* display: flex;
    justify-content: space-between;
    flex-wrap: wrap; */
    /* overflow: hidden;
} */
    .certxt {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 30px;
    }
    .certifications h1 {
        margin-left: 30px;
        font-size: 250%;
        padding-top: 75px;
        color: #77b9f8;
    }
    .certifications h2 {
        font-size: 180%;
        color: #898989;
    }
    .certifications p {
        color: #898989;
        padding-top: 60px;
        margin-right: 50px;
        margin-left: 30px;
        font-size: 21px;
        letter-spacing: 0.01em;
    }
    .footer1 {
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        background-color: #f6f6f6;
        height: 370px;
        overflow: hidden;
        color: black;
        display: flex;
        justify-content: space-between;
        /* margin-top: 20px;
    position: relative; */
    }
    .certimages {
        width: 800px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 0px;
        display: flex;
        flex-wrap: wrap;
        align: center;
        justify-content: center;
        align-content: center;
    }
    .contactus {
        margin-left: 50px;
    }
    .contactus input[type="text"] {
        width: 250px;
    }
    .slide_img h1 {
        font-family: 'Lato';
        font-size: 250%;
        color: rgba(255, 255, 255, 0.913);
        text-shadow: 1px 1px 300px black;
        padding-top: 150px;
        padding-right: 100px;
    }
    .behindtxt p {
        font-size: 130%;
        font-family: 'Roboto';
        /* background-color: rgba(72, 72, 72, 0.721); */
        text-align: justify;
        color: #ffffff;
        padding-top: 10px;
        padding-left: 30px;
        text-shadow: 1px 1px 100px black;
    }
    .behindtxt {
        background-color: rgba(204, 204, 204, 0.166);
        width: 340px;
        height: 27%;
        border-radius: 10px;
        padding-top: 0px;
        padding-right: 40px;
    }
    .facialsurgery h1 {
        color: #2685dd;
        margin-left: 30%;
        /* padding: 30px 0 0 50px; */
        padding-bottom: 10px;
        /* padding: 0 0 0 50px; */
        /* max-width: 1200px; */
        /* grid-column: auto / span 1; */
        /* grid-area: hd; */
    }
    .bodysurgery h1 {
        color: #2685dd;
        margin-left: 30%;
        padding-bottom: 10px;
        /* max-width: 1200px; */
    }
    .malesurgery h1 {
        color: #2685dd;
        margin-left: 30%;
        padding-bottom: 10px;
    }
    .nonsurgical h1 {
        color: #2685dd;
        margin-left: 30%;
        padding-bottom: 10px;
    }
    .facialrejuvenation h1 {
        color: #2685dd;
        margin-left: 30%;
        padding-bottom: 10px;
    }
    .reconstructivesurgery h1 {
        color: #2685dd;
        margin-left: 30%;
        padding-bottom: 10px;
    }
    .femalegenitalsurgery h1 {
        color: #2685dd;
        margin-left: 30%;
        padding-bottom: 10px;
    }
}

@media(min-width: 1156px) {
    .open-slide {
        display: none
    }
}

@media(min-width: 800px) {
    /* .footer {
    height: 500px;
} */
    /* .proceduresgallery {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        grid-gap: 20px;
    
} */
}

/* .plink {
    display: none;
} */

@media(max-width:580px) {
    .plink {
        display: none;
    }
    .mlink {
        display: inline;
    }
    .logomcg {
        padding: 22px 0 0 0;
        width: 240px;
    }
    /* .prev {
    border-bottom: 6px solid #68b2f8;
    border-left: 6px solid #68b2f8;
    transform: rotate(45deg);
    left: 10px;
    z-index: 99;
}
.next {
    border-bottom: 6px solid #68b2f8;
    border-left: 6px solid #68b2f8;
    transform: rotate(-135deg);
    right: 10px;
    z-index: 99;
} */
    .doctordescription {
        margin-bottom: 55px;
    }
    .doctordescription h1 {
        font-size: 180%;
        padding-top: 50px;
        color: #77b9f8;
        padding: 30px 0 0 30px;
    }
    .doctordescription h2 {
        font-size: 120%;
        color: #898989;
        padding: 0 0 0 30px;
    }
    .doctordescription p {
        color: #898989;
        padding: 30px 10px 0px 40px;
    }
    input[class=vermas] {
        position: relative;
        font-size: 15px;
        /* top: 0px; */
        right: 0px;
        color: #68b2f8;
        background-color: white;
        border: 2px solid #68b2f8;
        padding: 10px 30px;
        text-decoration: none;
        margin: 60px 0 0 0;
        cursor: pointer;
        transition: .5s;
        border-radius: 30px;
        float: left;
        margin-right: 50px;
        margin-bottom: 55px;
        margin-left: 50px;
        -webkit-appearance: none;
    }
    /* .proceduresimagesdiv {
    width: 350px;
    margin-left: auto;
    margin-right: auto; */
    /* display: flex;
    justify-content: space-between;
    flex-wrap: wrap; */
    /* overflow: hidden;
} */
    .pic1 {
        height: 200px;
        width: 350px;
        flex: 1;
        margin-top: 0px;
        margin-bottom: 20px;
        x;
    }
    .pic2 {
        height: 200px;
        width: 350px;
        flex: 1;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .pic3 {
        height: 200px;
        width: 350px;
        flex: 1;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .pic4 {
        height: 200px;
        width: 350px;
        flex: 1;
        margin-top: 0px;
        margin-bottom: 20px;
    }
    .pic {
        width: 350px;
        height: 200px;
    }
    .src2 {
        /* width: 350px; */
        /* height: 200px; */
        object-fit: cover;
        border-radius: 10px;
    }
    .footer1 {
        width: 550px;
        margin-left: auto;
        margin-right: auto;
        background-color: #f6f6f6;
        height: 370px;
        overflow: hidden;
        color: black;
        display: flex;
        justify-content: space-between;
        /* margin-top: 20px;
    position: relative; */
    }
    .certifications {
        width: 450px;
        height: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .certimages {
        width: 100%;
        display: inline;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 0px;
    }
    .picA {
        /* flex: 1; */
        width: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
        margin-bottom: 50px;
        align-self: center;
    }
    .picB {
        /* flex: 1; */
        width: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
        margin-bottom: 20px;
        align-self: center;
    }
    .picC {
        /* flex: 1; */
        width: 250px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
        margin-bottom: 50px;
        align-self: center;
    }
    .picD img {
        height: 120px;
        /* flex: 2; */
        /* margin-left: auto;
        margin-right: auto;
        margin-top: 0px;
        margin-bottom: 50px;
        align-self: center;
        border-radius: 20px; */
    }
    .footer1 {
        width: 400px;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        height: auto;
        overflow: hidden;
        color: black;
        display: block;
        justify-content: space-between;
        /* margin-top: 20px;
    position: relative; */
    }
    .contactus {
        padding-left: 0px;
    }
    .contactus h3 {
        padding-left: 0px;
    }
    .slide_img h1 {
        font-family: 'Lato';
        font-size: 200%;
        color: rgba(255, 255, 255, 0.913);
        text-shadow: 1px 1px 300px black;
        padding-top: 150px;
        padding-right: 100px;
    }
    .behindtxt p {
        width: 240px;
        font-size: 100%;
        font-family: 'Roboto';
        /* background-color: rgba(72, 72, 72, 0.721); */
        text-align: justify;
        color: #ffffff;
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 70px;
        text-shadow: 1px 1px 100px black;
    }
    .behindtxt {
        background-color: rgba(204, 204, 204, 0.166);
        width: 180px;
        height: 32%;
        border-radius: 10px;
        padding-top: 0px;
        padding-right: 40px;
    }
    .slide_img img {
        position: absolute;
        width: 100%;
        height: 100%;
        max-height: inherit;
        max-width: inherit;
        object-fit: cover;
        overflow: hidden;
        object-position: 0 50%;
    }
    .proceduresgallery {
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        grid-gap: 20px;
    }
    .proceduresdivs {
        /* padding-top: 30px; */
        /* background-color: black; */
    }
    .proceduresbar {
        display: grid;
        grid-template-columns: 200px, 200px;
        background-color: #77b9f8;
        color: white;
        text-align: justify;
        /* text-overflow: ellipsis; */
        /* overflow: hidden; */
        /* height: 90px; */
        /* padding-top: 33px; */
        padding: 10px 0;
        /* margin-top: 40px; */
        /* font-size: 18px; */
    }
}

/* @media(max-width:500px) {
    .proceduresgallery {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        grid-gap: 20px;
    
    } */

}