/*
 Theme Name:   HOLD - Child Theme
 Theme URI:    http://hold.mx/
 Description:  HOLD Products Theme
 Author:       Félix Meléndez
 Template:     hold
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  hold-child
*/
html {
    width: auto;
    height: auto;
}

body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
}
header {
    font-size: 18px;
    border-bottom: 1px solid #DDD;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}
.bg-gray {
    background: #FCFCFC;
}
header > .container {
    position: relative;
}
header #header-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
}
header #header-top ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}
header ul li {
    display: inline-block;
}
header ul li a {
    padding: 0px 0px;
    margin: 0px 5px;
    display: inline-block;
    color: #FFF;
}
header ul li.link-cursos a {
    background: #83b238;
    padding: 3px 20px;
    border-radius: 8px;
}
header ul li.link-cursos a:hover {
    text-decoration: none;
    background: #79a533;
    color: #FFF;
}
header ul li.link-contacto a {
    background: #1d618d;
    padding: 3px 20px;
    border-radius: 8px;
}
header ul li.link-contacto a:hover {
    text-decoration: none;
    background: #165076;
    color: #FFF;
}
.title h2 {
    position: relative;
    display: inline-block;
    font-size: 26px;    
    color: #333;
}
.title.border-b h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    width: 70px;
    height: 5px;
    margin: 0 auto;
    background: #1d618d;
}
.subtitle h3 {
    position: relative;
    font-size: 16px;
    color: #333;
}
.title.border-left h2:after {
    right: auto;
}
.noticia .title h4 {
	position: relative;
	font-size: 16px;
    margin: 0px;
}
.noticia .title h4:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 90px;
    height: 3px;
    background: #8dba60;
}
.noticia .content {
    font-size: 14px;
}
.noticia .link a {
    background: #0f82ad;
    padding: 9px 40px 9px 20px;
    font-size: 10px;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 5px;
    color: #FFF;
    line-height: normal;
    text-decoration: none;
}
.noticia .link a:hover {
	background: #165076;
}
#notas .noticia .link a {
    padding-right: 100px;
}
#blog strong{
	font-size: 1.5rem;
	font-weight: bold;
	margin: 1rem 0;
	color: #265072;
}

#blog h5{
	font-size: .8rem;
	margin: 1rem 0;
	font-weight: normal;
	font-style: italic;
}
#blog blockquote{
	margin: 1rem 0;
}
#intro p {
    font-size: 18px;
    white-space: pre-line;
}
#contacto {
    background: #F4F4F4;
}
#contacto form .form-control {
    border-radius: 8px;
    border: 1px solid #AAA;
    color: #000;
}
#contacto form .btn {
    border-radius: 8px;
    border: 1px solid #AAA;
    background: #0f82ad;
    color: #FFF;
    text-transform: uppercase;
    padding: 5px 40px;
}
#post .content p {
    white-space: pre-line;
}
#post #share a:not(.share):hover {
    color: #333;
}
#post #share a {
    padding: 15px 15px;
    color: #999;
    text-decoration: none;
}
#post #share a.share {
    background: #DDD;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
}
#post #share a.share i {
    padding-right: 10px;
    font-size: 18px;
    vertical-align: middle;
}
#cursos .curso h4 {
    background: #8dba60;
    color: #FFF;
    font-weight: 400;
}
#cursos .curso h5 {
    border-bottom: 1px solid #8dba60;
    position: relative;
}
#cursos .curso h5 i {
    position: absolute;
    right: 10px;
    font-size: 30px;
    color: #8dba60;
    top: 5px;
}
#cursos .curso .post-title:nth-child(2) h5 {
    border-top: 1px solid #8dba60;
}
#cursos .curso a {
    color: #333;
    text-decoration: none;
}
#cursos .curso a:hover {
    color: #666;
}
#quiz {
    font-size: 14px;
    line-height: 18px;
}
.quiz {
    border: 1px solid #DDD;
    background: #FFF;
}
.quiz .head {
    border-bottom: 1px solid #DDD;
}
.quiz > .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.quiz > .row:not(.head):nth-child(odd) {
    background: #F5F5F5;
}
.quiz > .row:not(.head):hover {
    background: #f5faff !important;
}
#quiz .submit {
    background: #0f82ad;
    padding: 9px 30px 9px 30px;
    font-size: 10px;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 5px;
    color: #FFF;
    line-height: normal;
    text-decoration: none;
}
#quiz .title h2 {
    font-size: 20px;
}
#quiz .question.error {    
    background: rgba(255, 0, 0, 0.1) !important;
}

#quiz .question i {
    position: absolute !important;
    right: 0;
    top: calc(50% - 12px);
    padding: 5px 10px;
    transition: 0.5s;
}

#quiz .question.open i {
    transform: rotate(180deg);
    
}

#cuestionario #contacto {
    display: none;
}
#validate .message i {
    font-size: 36px;
    vertical-align: middle;
    color: #17a2b8;
}
#graphic .bar {
    height: 250px;
}
#graphic .bar:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 0%;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid #FFF;
    z-index: 9;
    -webkit-transition: .8s;
    -moz-transition: .8s;
    -o-transition: .8s;
    transition: .8s;
}
#graphic .bar:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;-webkit-transition: .8s;
    -moz-transition: .8s;
    -o-transition: .8s;
    transition: .8s;
}
#graphic .bar.loading:before {
    height: 0% !important;
}
#graphic .bar.loading:after {
    opacity: 0;
    margin-bottom: -100%;
}
#share a:not(.share):hover {
    color: #333;
}
#share a {
    padding: 15px 15px;
    color: #999;
    text-decoration: none;
    display: inline-block;
}
#share a.share {
    background: #DDD;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: 600;
}
#share a.share i {
    padding-right: 10px;
    font-size: 18px;
    vertical-align: middle;
}

.link-cuestionario {
    background: #83b238;
    padding: 3px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: auto;
    color: #fff;
    text-align: center;
}


footer {
    background: #1d6e44;
    color: #FFF;
    font-size: 12px;
    line-height: normal;
}
footer a {
    color: #FFF;
}
footer a:hover {
    color: #EEE;
}
footer .social a {
    font-size: 20px;
    padding-right: 8px;
}

#banner.home {
    position: relative;
}

#banner_text {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 100px;
    max-height: 60%;
}

@media (min-width: 1440px) {
    #banner.home {
        max-height: 500px;
        overflow: hidden;
    }
    #banner_text {
        left: 50px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 100%;
    }
    #banner_text {
        left: 50px;
    }
}
@media (max-width: 991px) {
    .container {
        max-width: 100%;
    }
    #quiz .table-resp {
        width: 100%;
        display: block;
        overflow-x: scroll;
        overflow-y: hidden;
    }
    #quiz .quiz {
        width: 991px;
    }
    #banner_text {
        left: 50px;
    }
}
@media (min-width: 1100px) {
    .container {
        max-width: 1100px;
    }
}
@media (max-width: 860px) {
    .nav-link {
        font-size: 15px;
    }
}
@media (min-width: 768px) {	

}

@media (max-width: 767px) {	
    .navbar-brand img {
        max-height: 60px;
    }
    header {
        border-bottom: 1px solid #DDD;
    }
    .que-hacemos > .row > .image {
        order: 0;
    }
    .que-hacemos > .row > .content {
        order: 1;
    }
    #post .content p iframe {
        max-height: 360px;
    }
    #graphic > .row > .col {
        max-width: 14.2%;
    }
    #banner_text {
        left: 30px;
    }    
}

@media (max-width: 575px) {
    .title h2 {
        font-size: 22px;
    }
    #intro p {
        font-size: 16px;
    }
    #post .content p iframe {
        max-height: 230px;
    }
    #quiz .quiz {
        width: 100%;
    }
    #graphic .bar:after {
        font-size: 14px;
    }
    #graphic .name {
        transform: rotate(-90deg);
    }
    #graphic .name span {
        display: none;
    }
    #graphic .name:before {
        content: '';
        position: absolute;
        right: 40px;
        line-height: normal;
        top: 0px;
        font-size: 14px;
    }
    #graphic #orgullo .name:before {
        content: 'Orgullo';
    }
    #graphic #emociones .name:before {
        content: 'Emociones Positivas';
        top: -10px;
    }    
    #graphic #tristeza .name:before {
        content: 'Tristeza';
    }
    #graphic #miedo .name:before {
        content: 'Miedo';
    }
    #graphic #afecto .name:before {
        content: 'Afecto';
    }
    #graphic #enojo .name:before {
        content: 'Enojo';
    }
    #graphic #ansiedad .name:before {
        content: 'Ansiedad';
    }
    #share a.share {
        padding: 10px 15px;
    }
    #share a {
        padding: 15px 10px;
    }
}

@media (max-width: 375px) {
    #share a {
        padding: 15px 7px;
    }
    #share a.share {
        padding: 15px 20px;
    }
    #post .content p iframe {
        max-height: 200px;
    }
    #graphic .name:before {
        right: 30px;
    }
}

@media (max-width: 330px) {

}