/*
Theme Name: Dra. Nora Hernandez®
Author: Pedro Borunda
Description: Tema para el sitio de Dra. Nora Hernandez®.
Version: 1.0
Text Domain: Dra. Nora Hernandez®
*/





/***** FONTS *****/
@font-face {
    font-family: 'Montserrat Regular';
    src: url(fonts/Montserrat_Regular.otf);
}
@font-face {
    font-family: 'Montserrat Bold';
    src: url(fonts/Montserrat_Bold.otf);
}
@font-face {
    font-family: 'Montserrat Light';
    src: url(fonts/Montserrat_Light.otf);
}
@font-face {
    font-family: 'Helvetica Bold';
    src: url(fonts/HelveticaNeueBd.ttf);
}
@font-face {
    font-family: 'Noctado';
    src: url(fonts/Noctado.otf);
}
@font-face {
    font-family: 'Cocogoose';
    src: url(fonts/Cocogoose.ttf);
}





/***** GENERAL STYLES *****/
* {
    font-family: 'Montserrat Regular', sans-serif;
}

h1, h2, h3, p, a {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 28px;
}

p, a, li {
    font-size: 18px;
}

a,
button,
input,
select,
textarea {
    text-decoration: none!important;
    outline: none!important;
}

.regular {
    font-family: 'Montserrat Regular', sans-serif;
}

.bold {
    font-family: 'Montserrat Bold', sans-serif;
}

.light {
    font-family: 'Montserrat Light', sans-serif;
}

.title-fnt {
    font-family: 'Noctado', sans-serif;
}

.title2-fnt {
    font-family: 'Cocogoose', sans-serif;
}

.text-fnt {
    font-family: 'Helvetica Bold', sans-serif;
}

.white {
    color: #FFFFFF;
}

.black {
    color: #000000;
}

.grey {
    color: #404142;
}

.light-grey {
    color: #888A8C;
}

.blue {
    color: #175B76;
}

.dark-blue {
	color: #268BAD;
}

.yellow {
	color: #FEDE1D;
}

.aqua {
	color: #37B8A7;
}

.spacing {
    padding: 100px 10px;
}

.light-spacing {
    padding: 50px 10px;
}

.thin-spacing {
    padding: 25px 10px;
}

.clearfix {
    display: inline-block;
    width: 100%;
    margin: 0;
}

.clearfix.spacing-lg {
    margin: 25px 0px;
}

.clearfix.spacing-md {
    margin: 15px 0px;
}

.clearfix.spacing-sm {
    margin: 5px 0px;
}

.vertical-align {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.horizontal-align {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.vert-hor-align {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.transition {
    transition: all 350ms ease;
    -webkit-transition: all 350ms ease;
    -moz-transition: all 350ms ease;
    -ms-transition: all 350ms ease;
    -o-transition: all 350ms ease;
}

.wrapper {
    max-width: 100vw;
    overflow: hidden;
}

.content {
    position: relative;
    overflow: hidden;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.abs-pos {
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.bg-cover {
    background-size: cover!important;
}

.bg-contain {
    background-size: contain!important;
}


/* MENU ICON RESPONSIVE */
#nav-icon {
    height: 15px;
    width: 25px;
    position: relative;
    margin: 8px auto;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: .5s ease-in-out;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    cursor: pointer;
}

#nav-icon span {
    position: absolute;
    display: block;
    height: 3px;
    width: 100%;
    left: 0;
    border-radius: 3px;
    background: #000;
    opacity: 1;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: .25s ease-in-out;
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
}

#nav-icon span:nth-child(1) {
    top: 0px;
}

#nav-icon span:nth-child(2),
#nav-icon span:nth-child(3) {
    top: 6px;
}

#nav-icon span:nth-child(4) {
    top: 12px;
}

#nav-icon.open span:nth-child(1) {
    top: 6px;
    width: 0%;
    left: 50%;
}

#nav-icon.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

#nav-icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#nav-icon.open span:nth-child(4) {
    top: 6px;
    width: 0%;
    left: 50%;
}





/***** PARALLAX *****/
.parallax-container {
    position: relative;
    height: auto;
    min-height: 200px;
    overflow: hidden;
}

.parallax {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.parallax img {
	width: 120vw;
    position: absolute;
    display: none;
    bottom: 0;
    background-position: center;
}





/***** CAROUSEL FADE AND TOP TRANSITION *****/
/* FADE */
.carousel-fade .carousel-inner .carousel-item {
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

.carousel-fade .carousel-inner .active.carousel-item-left,
.carousel-fade .carousel-inner .active.carousel-item-right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
}

@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .carousel-item.carousel-item-next,
    .carousel-fade .carousel-inner > .carousel-item.active.carousel-item-right {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .carousel-item.carousel-item-prev,
    .carousel-fade .carousel-inner > .carousel-item.active.carousel-item-left {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .carousel-item.carousel-item-next.carousel-item-left,
    .carousel-fade .carousel-inner > .carousel-item.carousel-item-prev.carousel-item-right,
    .carousel-fade .carousel-inner > .carousel-item.active {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
    }
}


/* TOP */
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-top .carousel-inner > .carousel-item.active,
    .carousel-top .carousel-inner > .carousel-item.carousel-item-next.carousel-item-left,
    .carousel-top .carousel-inner > .carousel-item.carousel-item-prev.carousel-item-right {
        top: 0;
        left: auto;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
    }

    .carousel-top .carousel-inner > .carousel-item.active.carousel-item-right,
    .carousel-top .carousel-inner > .carousel-item.carousel-item-next {
        top: 0;
        left: auto;
        transform: translate3d(0, 100%, 0);
        -webkit-transform: translate3d(0, 100%, 0);
        -moz-transform: translate3d(0, 100%, 0);
        -ms-transform: translate3d(0, 100%, 0);
        -o-transform: translate3d(0, 100%, 0);
    }

    .carousel-top .carousel-inner > .carousel-item-next.carousel-item-left,
    .carousel-top .carousel-inner > .carousel-item-prev.carousel-item-right {
        top: 0;
        left: auto;
    }

    .carousel-top .carousel-inner > .carousel-item.active.carousel-item-left,
    .carousel-top .carousel-inner > .carousel-item.carousel-item-prev {
        top: 0;
        left: auto;
        transform: translate3d(0, -100%, 0);
        -webkit-transform: translate3d(0, -100%, 0);
        -moz-transform: translate3d(0, -100%, 0);
        -ms-transform: translate3d(0, -100%, 0);
        -o-transform: translate3d(0, -100%, 0);
    }

    .carousel-top .carousel-inner >.active.carousel-item-left {
        top: -100%;
    }

    .carousel-top .carousel-inner > .carousel-item-next {
        top: 100%;
        left: auto;
    }

    .carousel-top .carousel-inner > .carousel-item-next,
    .carousel-top .carousel-inner > .carousel-item-prev {
        position: absolute;
        top: 0;
        left: auto;
        width: 100%;
    }

    .carousel-top .carousel-inner > .carousel-item-prev {
        top: -100%;
        left: auto;
    }
}


/* CONTROLS/INDICATORS */
[class*="carousel-control-"] {
    width: 30px;
    background: none!important;
    text-shadow: none;
}

[class*="carousel-control-"] i {
    position: absolute;
    display: block;
    font-size: 36px;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.carousel-indicators {
    position: relative;
    height: 35px;
    width: auto;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding-top: 10px;
}

.carousel-indicators li {
    position: relative;
    cursor: pointer;
    background-color: #383838;
}

.carousel-indicators.circle li {
    height: 15px;
    width: 15px;
    margin: 0 2px!important;
    border: none;
    border-radius: 100%;
}

.carousel-indicators.white li.active {
    background-color: #FFFFFF;
}

.carousel-indicators.black li.active {
    background-color: #000000;
}

.carousel-indicators.blue li.active {
    background-color: #005B7F;
}

.carousel-indicators.yellow li.active {
    background-color: #FEDE1D;
}

[class*="carousel-control-"],
[class*="carousel-control-"] i,
.carousel-indicators li {
    transition: all 350ms ease;
    -webkit-transition: all 350ms ease;
    -moz-transition: all 350ms ease;
    -ms-transition: all 350ms ease;
    -o-transition: all 350ms ease;
}





/***** NAVBAR *****/
.navbar {
    position: absolute;
    width: 100%;
    left: 0;
    padding: 10px 15px;
    background-color: #268BAD;
	opacity: 100%;
    z-index: 9999;
    transition: background 500ms ease, height 500ms ease;
    -webkit-transition: background 500ms ease, height 500ms ease, opacity 1600ms ease;
    -moz-transition: background 500ms ease, height 500ms ease, opacity 1600ms ease;
    -ms-transition: background 500ms ease, height 500ms ease, opacity 1600ms ease;
    -o-transition: background 500ms ease, height 500ms ease, opacity 1600ms ease;
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    opacity: 90%;
}

.navbar .container {
    height: 100%;
}

.navbar .navbar-brand {
    height: 70px;
    width: 150px;
}

.navbar .navbar-brand img {
    max-height: 100%;
}

.navbar .navbar-nav {
    width: 100%;
}

.navbar .navbar-nav li {
    position: relative;
}

.navbar .navbar-nav .nav-link {
    font-size: 18px;
    color: #000000;
}

.navbar .navbar-nav > li.active .nav-link,
.navbar .navbar-nav > li.show .nav-link,
.navbar .navbar-nav > li:hover .nav-link,
.navbar .navbar-nav > li:focus .nav-link,
.navbar .navbar-nav > li .nav-link:hover,
.navbar .navbar-nav > li .nav-link:focus {
    color: #FEDE1D;
}





/***** INDEX *****/
/* BANNER */
#index #banner {
    height: calc(100vh - 90px);
    margin-top: 90px;
}

#index #banner .container {
    z-index: 1;
}

#index #banner .info {
    height: max-content;
}

#index #banner .info h1 {
	font-size: 46px;
}

#index #banner .info p {
    max-width: 650px;
	font-size: 24px;
}

#index #banner .carousel-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 75%;
}

#index #banner .row,
#index #banner .carousel,
#index #banner .carousel .carousel-inner,
#index #banner .carousel .carousel-item {
    height: 100%;
    width: 100%;
}

#index #banner .carousel .carousel-indicators {
    bottom: 35px;
}

/* NOSOTROS */
#index #nosotros h1:after {
    content: '';
    position: absolute;
    top: 45px;
    left: 0;
    height: 7px;
    width: 100%;
    background-color: #FEDE1D;
    border-radius: 20px;
}

#index #nosotros .img-bg {
    height: calc(100% + 200px);
    width: 50vw;
    top: -100px;
    left: auto;
    right: 0;
    clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
}

#index #nosotros p {
    font-size: 16px;
}

/***** CONTACTO *****/
#index #contacto h1:after {
    content: '';
    position: absolute;
    top: 45px;
    left: 0;
    height: 7px;
    width: 100%;
    background-color: #FEDE1D;
    border-radius: 20px;
}

#index #contacto a {
    color: #000000;
}

#index #contacto a > i {
    font-size: 22px;
	padding-right: 10px;
}

#index #contacto a > i.fa-square-facebook {
    color: #3B5998;
}

#index #contacto a > i.fa-square-whatsapp {
    color: #075E54;
	font-size: 24px;
}

#index #contacto a > i.fa-square-instagram {
    color: #DD2A7B;
}

#index #contacto a > i.fa-envelope {
    color: #4371DE;
}

#index #contacto a:hover,
#index #contacto a:focus {
    color: #37B8A7;
}

#index #contacto .img-bg {
    height: calc(100% + 200px);
    width: 50vw;
    top: -100px;
    left: 0;
    right: auto;
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 10% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% 100%, 10% 100%);
}

/***** UBICACION *****/
#index #ubicacion .col-md-6 > .row {
    height: 300px;
}

#index #ubicacion .img-bg,
#index #ubicacion .map {
	height: calc(100% + 200px);
    width: 50vw;
    top: -100px;
}

#index #ubicacion .img-bg {
    left: auto;
    right: 0;
}

#index #ubicacion .map {
    left: 0;
    right: auto;
	z-index: 1;
}

#index #ubicacion .map iframe {
    height: 100%;
    width: 100%;
}

/***** DESCANSO *****/
#descanso-1,
#descanso-2 {
    height: 300px;
}

#descanso-1:after,
#descanso-2:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 50%;
}




/***** FOOTER *****/
footer {
    background-color: #FFFFFF;
}

footer img {
    max-height: 130px;
}

.footer-top {
    padding: 50px 0;
    background-color: #191A1C;
}

.footer-rights {
    background-color: #005B7F;
}

.footer-rights p {
    font-family: 'Myriad Pro', sans-serif;
    font-size: 13px;
    color: #FFFFFF;
    margin: 0;
    padding: 10px 0;
}





/***** MEDIA QUERIES *****/
@media(max-width: 1199px) {

}

@media(max-width: 991px) {
	/***** PARALLAX *****/
	.parallax img {
		width: 140vw;
	}
	
	/***** NAVBAR *****/
    .navbar-light .navbar-toggler {
        border-color: #000;
    }
    .navbar .navbar-nav,
    .navbar .dropdown-menu {
        text-align: center;
    }
    .navbar .dropdown-menu .dropdown-divider {
        border-top: 1px solid transparent;
    }
    .navbar .navbar-nav .nav-link span,
    .navbar .navbar-nav .dropdown-item span {
        display: none;
    }
    .navbar .container:before {
        position: absolute;
        display: block;
        content: '';
        height: calc(100% - 90px);
        width: 100%;
        top: 90px;
        left: 0;
        background-color: rgba(245, 245, 245, 0.8);
    }
    .navbar #navbarSupportedContent {
        margin-top: 10px;
    }

    /***** INDEX *****/
    /* NOSOTROS */
	#index #nosotros {
        max-height: calc(100vh - 90px);
    }
	#index #nosotros p {
		font-size: 15px;
	}
    #index #nosotros #carousel-nosotros {
        height: 600px;
    }
    #index #nosotros #carousel-nosotros p {
        font-size: 16px;
    }
}

@media(max-width: 767px) {
	/***** GENERAL STYLES *****/
	.spacing {
		padding: 50px 10px;
	}
	
	/***** PARALLAX *****/
	.parallax img {
		width: 145vw;
	}
	
    /***** INDEX *****/
    /* NOSOTROS */
    #index #nosotros #carousel-nosotros {
        height: 435px;
    }
	#index #nosotros p {
		color: #FFF;
	}
	#index #nosotros .img-bg {
		height: 100%;
        width: 100vw;
        top: 0;
		left: 0px;
		clip-path: none;
		-webkit-clip-path: none;
	}
	#index #nosotros .img-bg:after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-color: #000;
		opacity: 50%;
	}
	
	/***** CONTACTO *****/
	#index #contacto .img-bg {
		height: 100%;
        width: 100vw;
        top: 0;
        left: 0px;
        clip-path: none;
        -webkit-clip-path: none;
	}
	#index #contacto .img-bg:after {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-color: #000;
		opacity: 55%;
	}
	#index #contacto h1,
	#index #contacto a {
		color: #FFF;
	}
	#index #contacto .fa-phone {
		color: #000;
	}
	
	/***** UBICACION *****/
	#index #ubicacion,
	#index #ubicacion .container,
	#index #ubicacion .container .row {
		padding-left: 0;
		padding-right: 0;
	}
	#index #ubicacion .container {
		max-width: 100vw;
	}
	#index #ubicacion .col-md-6 > .row {
		height: 225px;
	}
	#index #ubicacion .img-bg,
	#index #ubicacion .map {
		height: calc(100% + 100px);
		width: 100vw;
	}
	#index #ubicacion .img-bg {
		top: -100px;
	}
	#index #ubicacion .map {
		top: 0;
	}
	
	/***** DESCANSO *****/
	#descanso-1, #descanso-2 {
		height: 200px;
	}
	
}

@media(max-width: 575px) {

}