/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    margin:0;
    color:#C271C2;
    font-weight:200;
}

h2 {
    font-size:32px;
}

h3 {
    font-size:21px;
    margin:10px 0;
}

h4 {
    color:#48B0C4;
}

h5  {
    color:#666;
    font-size:12px;
}

ul {
    padding:0;
    margin:0;
}

li {
    list-style-type: none;
    font-weight:200;
}

a {
    text-decoration:none;
}

p {
    color:#666;
    font-weight:200;
}

/* structure */
html, body {
    margin:0;
    font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;

}

body {
    background:url(../img/main/header.png) top no-repeat;
    margin: auto;
    min-width:960px;
}

/* header */
header {
    width:960px;
    padding:10px;
    margin:0 auto;
}
.logo {
    margin-left:12px;
}
.title {
    display:inline-block;
    vertical-align:bottom;
}
.main-title h1{
    font-size:44px;
    font-weight:100;
    color:#fff;
}
.slogan {
    margin:0;
    color:#fff;
    font-weight:200;
    -webkit-box-reflect:below -4px -webkit-gradient(linear, left bottom, left top, from(white),color-stop(60%, transparent));
}
.phone {
    margin:0;
    clear:right;
    float:right;
    color:#C271C2;
    font-size:14px;
    font-style:italic;

}
.phone a {
    color:#C271C2;
}
.language {
    clear:right;
    float:right;
    color:#C271C2;
    font-size:18px;
    font-style:italic;
}
.language li {
    list-style-type: none;
    display:inline;
    margin-left:10px;
}
.language ul {
    margin:10px 0;
}

/* main navigation */
.nav-main {
    position: relative;
    width:960px;
    height:30px;
}
.nav-main li {
    list-style-type: none;
    position:absolute;
}
.nav-main li a {
    font-size:16px;
    color:#48B0C4;
}
.nav-main li a:hover {
    font-size:21px;
    color:#C271C2;
}
.selected {
    font-size:21px;
    color:#C271C2;
}
#inicio {
    left:200px;
    top:50px;
}
#nosotros {
    left:260px;
    top:40px;
}
#consultas {
    left:340px;
    top:25px;
}
#medicina-estetica {
    left:425px;
    top:5px;
}
#cirugia-estetica {
    left:530px;
    top:-25px;
}
#ginecologia-estetica-laser {
    left:630px;
    top:-55px;
}

/* content */
main {
    position:relative;
    width:960px;
    margin:40px auto;
    min-height:450px;
}
section {
    position:relative;
    width:800px;
    margin:auto;
}

/* social */
aside {
    position:absolute;
    right:0;
    top:30px;
    z-index:9999;
}
.icon {
    padding-top:5px;
    list-style-type: none;
}
.text-center {
    text-align:center;
}

/* footer */
footer {
    clear:both;
    width:960px;
    margin:auto;
    text-align:center;
    padding:20px;
}
footer li {
    list-style-type:none;
    font-size:14px;
    color:#666;
}

/* Grid */
.row:after,
.row:before,
.col:after,
.col:before {
    display: table;
    content: " ";
    clear: both;
}
.col {
    vertical-align:top;
    float:left;
    padding:1%;

}
.col-12 {
    width:98%;
}
.col-9 {
    width:73%;
}
.col-8 {
    width:58%;
}
.col-7 {
    width:56.33333333%;
}
.col-6 {
    width:48%;
}
.col-5 {
    width:39.66666667%;
}
.col-4 {
    width:31.33333333%;
}
.col-3 {
    width:23%;
}
.col-2 {
    width:14.66666667%;
}
.col-1 {
    width:6.33333333%%;
}

/* UI elements */
.input {
    border-radius:10px;
    border:1px solid #48B0C4;
    padding:5px;
    color:#C271C2;
    margin:5px;
}
.profile {
    width:18%;
    vertical-align:top;
    text-align:center;
}
.image {
    border-radius:100%;
    width:250px;
    height:250px;
    display:inline-block;
    margin:20px;
    border:solid 3px #48B0C4;
}
.profile-image {
    border-radius: 100%;
    width:100px;
    height:100px;
    display:inline-block;
    margin:20px;
    border:solid 3px #999;
}
.profile-description {
    color:#666;
    font-size:12px;
}
.tovar {
    background: url(../img/nosotros/profile.jpg) center;
}
.person1{
    background: url(../img/nosotros/person1.jpg) center top;
}
.person2{
    background: url(../img/nosotros/person2.jpg) center top;
}
.person3{
    background: url(../img/nosotros/person3.jpg) center top;
}
.person4{
    background: url(../img/nosotros/person4.jpg) center top;
}
.hint {
    font-style:italic;
    padding:10px;
}
.buble {
    border:1px solid #999;
    border-radius:25px;
    padding:5px 15px;
    margin:10px 0;

}
.gb-back{
    background: url(../img/consultas/bg-back.jpg) center top;
}
.green {
    background:#48B0C4;
}
.button {
    background:#48B0C4;
    display:block;
    margin:10px 0;
    border-radius:15px;
    padding:10px 10px;
    text-align:center;
    text-decoration:none;
    color:#fff;
}
.button-round {
    background:#48B0C4;
    display:table;
    margin:10px 0;
    border-radius:100%;
    padding:10px 10px;
    text-align:center;
    text-decoration:none;
    color:#fff;
    width:150px;
    height:150px;
    font-size:18px;
}
.valign {
    display:table-cell;
    vertical-align:middle;
}
.button-round:hover {
    background:#C271C2;
    cursor:pointer;
}
.button:hover {
    background:#C271C2;
    cursor:pointer;
}
.center {
    display:table;
    margin:10px auto;
}
.small {
    height:0;
    overflow: hidden;
}
.big {
    height:auto;
}
.toggledivs {
    height:52px;
    overflow:hidden;
    }
.max {
    height:auto;
}

/* Google Maps */
#viewmap {
    position:relative;
    width:auto;
    display:none;
}
#map_canvas {
    position:relative;
    width:auto;
    height:500px;
}
#directionsPanel {
    overflow:auto;
    height:390px;
    position:absolute;
    width:350px;
}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
