/*
    Fonts
 */
@import url('https://fonts.googleapis.com/css?family=Open+Sans');

body {
    padding-right: 0 !important;
}

.font-open-sans {
    font-family: 'Open Sans', sans-serif;
}

/*
    Text colors
 */
.color-pink {
    color: #F3BdBC;
}

.color-pink-medium {
    color: #FF007D;
}

.color-pink-dark {
    color: #BF0076;
}

.color-gray {
    color: #56534C;
}

.color-red {
    color: #A60029;
}

.color-green {
    color: #29A695;
}

.color-blue {
    color: #262476;
}

/*
    Backgrounds
 */
.background-blue-light {
    background: #9CE0FF;
}

/*
    Buttons
 */
.btn-primary,
.btn-primary:active:focus,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    color: #FFF;
    background: #29A695;
    border-color: #29A695;
    cursor: pointer;
    outline: none;
}

/*
    Navbar
 */
.navbar {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
}

.navbar-beltran {
    margin-top: 100px;
    float: right;
}

.navbar-home {
    position: relative;
}

.navbar-home .btn-visit {
    position: absolute;
    bottom: 120px;
    left: 70px;
}

.navbar-home .btn-appointment {
    position: absolute;
    bottom: 40px;
    left: 70px;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px 5px;
}

.navbar-specialties .navbar-nav {
    float: none;
}

.navbar-specialties .nav {
    display: inline-block;
}

.navbar-specialties {
    color: #FFF;
}

.navbar-specialties .dropdown-menu {
    width: 100%;
}

.navbar-specialties .navbar-item {
    padding: 0 15px 0 15px;
}

.navbar-specialties .navbar-item > a {
    color: #a1fdee !important;
    font-weight: bold;
    border-bottom: 2px solid #a1fdee;
    letter-spacing: 2px;
}

.navbar-specialties .navbar-item > a:hover {
    border-bottom: 2px solid #FF007D;
    text-decoration: none !important;
}

.navbar-item-xs > a {
    color: #FFF !important;
    font-weight: bold;
}

.navbar-specialties .nav-active > a {
    /*padding: 0 20px 0 20px;*/
    border-bottom: 2px solid #FF007D;
}

#drabeltran-navbar .nav-active > a {
    /*padding: 0 20px 0 20px;*/
    border-bottom: 2px solid #a1fdee !important;
}

.navbar-home-xs {
    position: relative;
}

.navbar-home-xs .btn-visit-xs {
    position: absolute;
    left: 10%;
    bottom: 10px;
}

.navbar-home-xs .btn-appointment-xs {
    position: absolute;
    right: 10%;
    bottom: 10px;
}

/***********************************************/
/** Vertical navigation menu (Services & menu) */
.vertical-navbar .vertical-navbar-link-wrapper {
    margin-top: 16px;
}

.vertical-navbar .vertical-navbar-link,
.vertical-navbar .vertical-navbar-link:hover {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    color: #FFF;
    font-family: 'Old Press';
    font-size: 2em;
    margin-top: 500px;
    padding: 8px;
    text-transform: uppercase;
}

.vertical-navbar .vertical-navbar-side-menu-open {
    background: #FFF;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
    color: #29a695;
    font-size: 2em;
    font-weight: bold;
    /*margin-right: -15px;*/
    padding: 0 16px;
}

.vertical-navbar .vertical-navbar-side-menu-close {
    background: #FFF;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    color: #29a695;
    font-size: 1.5em;
    padding: 0 8px;
}

.vertical-navbar .vertical-navbar-xs-wrapper {
    position: fixed;
    height: 100%;
    right: 0;
    top: 0;
    overflow: auto;
    width: 280px;
    z-index: 3;
    background: #FFF;
    opacity: 0.9;
}

/*
    Footer
 */
footer {
    background: #D4EADE;
}

footer .footer-links {
    border-top: 1px solid #56534C;
    border-bottom: 1px solid #56534C;
}

/********************************************************
    Google Map
 */
#map {
    height: 500px;
    width: 100%;
}

/*
    Specialties containers
 */
.general-surgery-container {
    background: #FAF1D2;
    border-left: 50px solid #A65D2A;
}

.minimum-surgery-container {
    background: #F9D9E4;
    border-left: 50px solid #BF0076;
}

.integral-container {
    background: #D5F8EF;
    border-left: 50px solid #29A695;
}

.heridas-container {
    background: #FAF1D2;
    border-left: 50px solid #A68E2A;
}

h2.specialty-text:before {
    content:"\A \A";
    width: 10px;
    height: 10px;
    border-radius:50%;
    background: #b83b3b;
    display:inline-block;
    margin:0 10px 5px 0;
}

/*
    About
 */
.about-container {
    position: relative;
}

.about-container .about-img {
    position: absolute;
    top: 50%;
    left: 15%;
}

.about-container .about-text {
    position: absolute;
    left: 50%;
    top: 10%;
    z-index: 100;
    max-width: 500px;
}

.about-container .about-text-xs {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    padding: 0 16px 0 16px;
    /*max-width: 300px;*/
}

/* Modal styles */
.modal-content .control-label {
    letter-spacing: 1px;
}

.modal-content {
    color: #56534C;
    border-radius: 0;
}

.datepicker-days {
    background-color: #f6f6f6;
}

.datepicker-switch {
    text-align: center;
    color: #3e3e3e;
}

.active {
    background-color: #29A695;
    font-weight: bold;
    color: #f6f6f6;
}

.dow {
    background-color: #29A695;
    font-weight: bold;
    color: #f6f6f6;
}

.table-condensed thead {
    background-color: #29A695;
}

.table-condensed td,
.table-condensed th {
    cursor: pointer;
}

.modal-appotinment-title {
    font-size: 1.3em;
    letter-spacing: 3px;
    font-weight: bold;
    padding-top: 16px;
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .modal-dialog {
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner-left {
        width: 100%;
        height: 620px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    .banner-left {
        width: 100%;
        height: 650px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 690px) {
    .banner-left {
        width: 100%;
        height: 600px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 600px) {
    .banner-left {
        width: 100%;
        height: 500px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .banner-left {
        width: 100%;
        height: 450px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {
    .banner-left {
        width: 100%;
        height: 420px;
    }
}

#facebook-icon {
	position: absolute;
    right: 10px;
    top: 15px;
}

/** Blog main **/
#blog-main {
    display: grid;
    grid-template-rows: 360px 1fr;
    margin-bottom: 24px;
    justify-items: center;
}
@media only screen and (max-width : 768px) {
    #blog-main {
        grid-template-rows: 142px 1fr;
        grid-template-columns: 100%;
    }
}

#blog-main-img {
    width: 100%;
    overflow: hidden;
}

#blog-main-img img {
    width: 100%;
}

.main-blog-container {
    display: grid;
    width: 100%;
    grid-template-rows: 85px 1fr;
}
@media only screen and (max-width : 768px) {
    .main-blog-container {
        display: grid;
        width: 100%;
        grid-template-rows: auto;
    }
}

.blog-main-title {
    font-weight: bold;
    font-style: italic;
    margin: 32px 0 24px 0;
    color: #29A695;
    text-align: center;
}

.blog-container {
    display: grid;
    grid-template-columns: 43% 57%;
    margin-top: 20px;
}
@media only screen and (max-width : 768px) {
    .blog-container {
        grid-template-columns: 100%;
    }
}

.blog-post-wrapper {
    padding: 10px;
    display: grid;
    grid-template-columns: 150px 1fr;
    height: 160px;
    width: 95%;
    border: 1px #d0d0d0 solid;
    margin-bottom: 20px;
    -webkit-box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
}

@media only screen and (max-width : 768px) {
    .blog-post-wrapper {
        width: 90%;
        margin-left: 10px;
    }
}

.post-img-wpr, .post-img {
    height: 130px;
    width: 130px;
    overflow: hidden;
    display: grid;
    justify-content: center;
    align-content: center;
}

.post-img img {
    max-height: 130px;
}

.post-content {
    overflow: hidden;
}
.post-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
}

@media only screen and (max-width : 768px) {
    .post-title {
        font-size: 14px;
    }
}

.post-title-link, .post-title-link:hover, .post-title-link:visited {
    color: #FF007D;
    text-decoration: none;
}

.post-text {
    height: 80px;
    overflow: hidden;
    display: block;
    margin-bottom: 8px;
    line-height: 25px;
    font-size: 14px;
}

@media only screen and (max-width : 768px) {
    .post-text {
        height: 40px;
        line-height: 20px;
    }
}

.post-read-more {
    float: right;
}

.post-read-more, .post-read-more:hover, .post-read-more:visited {
    color: #FF007D;
    text-decoration: none;
}

.pagination li.disabled span, .pagination li.active span, .pagination li a {
    border: none;
    color: #fff;
    font-weight: bold;
    width: 45px;
    text-align: center;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    margin: 0 8px;
}

.pagination li.active span, .pagination li.active span:hover, .pagination li.active span:visited {
    background-color: #92B7AF;
}

.pagination li.disabled span, .pagination li.disabled span:hover, .pagination li.disabled span:visited, 
.pagination li a, .pagination li a:hover, .pagination li a:visited {
    background-color: #FF007D;
    color: #fff;
}

/** Blog subscription **/
@media only screen and (max-width : 768px) {
    #blog-subscription {
        grid-area: 2 / 1 / 3 / 2;
        margin-top: 24px;
    }
    .pagination-wrapper {
        width: 90%;
        margin-left: 10px;
    }
}

.blog-subscription-container {
    padding: 5vmin;
    display: grid;
    grid-template-rows: 70px 125px 1fr;
    height: 520px;
    width: 90%;
    border: 1px #d0d0d0 solid;
    margin-bottom: 20px;
    margin-left: 10px;
    -webkit-box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
}

.subscription-title {
    color: #FF007D;
    font-weight: bold;
    text-align: center;
    margin-top: 0px;
}

.subscription-text {
    font-weight: bold;
    font-size: 20px;
    text-align: justify;
}

.form-group {
    position: relative;
}

.form-control {
    height: 42px;
    font-size: 16px;
    padding-left: 35px;
}

i.fa {
    position: absolute;
    top: 10px;
    font-size: 20px;
    left: 10px;
    color: #92B7AF;
}

.form-btn-sub {
    width: 70%;
    margin: 0 15%;
    border: none;
    padding: 12px;
    color: #fff;
    background-color: #FF007D;
    font-size: 24px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/** Form handling **/
.loading-container {
    display: grid;
    justify-items: center;
    margin: 1vmin;
    align-items: center;
    font-weight: bold;
    grid-row-gap: 5px;
}

.has-error label, .has-error .help-block {
    color: #a94442;
    font-weight: bold;
    font-style: italic;
}
.has-error .help-block {
    display: inline-block;
    width: calc(100% - 15px);
    padding: 5px 0 0 15px;
    margin-bottom: 0;
}
.has-error input {
    border-color: #a94442 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075) !important;
}

.success {
    text-align: justify;
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.hidden {
    display: none;
}

.close-response {
    position: absolute;
    right: 8px;
    top: 0px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
}

/** Blog interior **/
.blog-container-insider {
    width: 100%;
    padding-top: 24px;
}

.main-post-img {
    height: 430px;
    margin-bottom: 32px;
    display: inline-block;
    justify-content: center;
    width: 100%;
    text-align: center;
}

@media only screen and (max-width : 768px) {
    .main-post-img {
        width: calc(100% - 8px);
        height: 370px;
        overflow: hidden;
    }
}

.main-post-img img {
    height: 100%;
    padding: 10px;
    -webkit-box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 8px 8px 5px 0px rgba(0,0,0,0.25);
    border: 1px #d0d0d0 solid;
}

@media only screen and (max-width : 768px) {
    .main-post-img img {
        height: 360px;
    }
}

.blog-post-title {
    text-align: center;
    font-size: 30px;
    color: #FF007D;
    font-weight: bold;
    margin-top: 48px;
    display: inline-block;
    width: 100%;
}

.blog-tag-title {
    text-align: center;
    font-style: italic;
    color: #FF007D;
    margin-top: 0;
    margin-bottom: 16px;
}

.blog-share-done-data {
    width: 80%;
    margin: 0 10%;
    border-top: #d0d0d0 dashed 1px;
    border-bottom: #d0d0d0 dashed 1px;
    display: grid;
    grid-template-columns: 50% 50%;
}

@media only screen and (max-width : 768px) {
    .blog-share-done-data {
        width: 100%;
        grid-template-columns: 100%;
        margin: 0;
    }
}

.blog-datetime-author {
    list-style: none;
    padding: 8px;
    margin: 0;
}

@media only screen and (max-width : 768px) {
    .blog-datetime-author {
        margin-bottom: 10px;
    }
}

.blog-datetime-author li {
    display: inline-block;
    padding: 0 7px 0 5px;
    border-right: 1px solid #444444;
}

@media only screen and (max-width : 768px) {
    .blog-datetime-author li {
        display: block;
        font-size: 18px;
        border-right: none;
    }
}

.blog-datetime-author li:last-child {
    border-right: none;
}

.blog-share-this {
    justify-self: end;
    padding: 2px 8px;
}

@media only screen and (max-width : 768px) {
    .blog-share-this {
        justify-self: flex-start;
    }
}

.sharethis-inline-share-buttons {
    border-left: 1px solid #444;
    padding-left: 10px;
}

.blog-post-content {
    color: #646363;
    line-height: 2rem;
    text-align: justify;
    padding: 4vmin 6vmin;
    display: inline-block;
    width: 100%;
}

.tags-wrapper {
    padding: 0 6vmin;
    display: inline-block;
    width: 100%;
}

.tags-title {
    font-style: italic;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

.blog-related-tags {
    list-style: none;
    padding-left: 0px;
}

.blog-related-tags li {
    display: inline-block;
    padding: 6px 20px;
    color: #fff;
    background-color: #FF007D;
    font-size: 14px;
    font-weight: bold;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin-right: 15px;
    margin-bottom: 10px;
}

.rel-blog-posts, .comments-wrapper {
    padding: 2vmin 6vmin;
    display: inline-block;
    width: 100%;
}
@media only screen and (max-width : 768px) {
    .rel-blog-posts, .comments-wrapper {
        padding: 2vmin;
    }
}

.rel-title, .comments-title {
    font-style: italic;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 16px;
}

.rel-blog-posts-wrapper {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    justify-items: flex-start;
}

@media only screen and (max-width : 768px) {
    .rel-blog-posts-wrapper {
        grid-template-columns: auto;
    }
}

.rel-blog-posts-wrapper .post-img {
    height: 150px;
    width: 270px;
}

.rel-blog-posts-wrapper .post-img img {
    max-height: 150px;
}

.rel-post-img-wpr {
    padding: 5px;
    border: 1px #d0d0d0 solid;
}

.rel-post-content .post-title {
    font-size: 20px;
    width: 270px;
    padding: 5px;
}

.specialty-link,
.specialty-link:visited,
.specialty-link:active,
.specialty-link:hover {
    color: #A60029;
    text-decoration: none;
}