/*!
Theme Name: Congresos Red Funiber
Theme URI: http://underscores.me/
Author: Erika Avila
Author URI: http://funiber.org
Description: A theme for Congress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-theme-congreso

Congresos Red Funiber is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

*/

/* light-gray: #f5f5f5*/
:root {
  --color-primary: #1e9bd6;
}

/* BASE */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color:#333333;
  background-color: #ffffff;
  line-height: 2;
}

a {
  color: #333333;
}

a:hover {
  color: #00aeef;
  text-decoration: none;
}

h1, .h1 {
  font-size: 22px;
  color: var(--color-primary);
}

h2, .h2 {
  font-size: 20px;
}

h3, .h3 {
  font-size: 18px;
}

h4, .h4 {
  font-size: 16px;
}

h5, h6, .h5, .h6 {
  font-size: 15px;
}

h1, h2, h3, .h1, .h2, .h3 {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/*Boostrap Override*/
.page-link {
  color: #419bd9;
}
.page-item.active .page-link {
  background-color: #419bd9;
  border-color: #419bd9;
}

/* social */

.fa-linkedin:before {
    content: '\f08c' !important;
}

.icon--social {
    cursor: pointer;
}

.icon--social i {
    font-size: 25px
}

.icon--social i[class*='facebook'] {
    color: #3b5998;
}

.icon--social i[class*='facebook']:hover, .icon--social i[class*='facebook']:focus {
    color: #263a63
}

.icon--social i[class*='twitter'] {
    color: #00aced;
}

.icon--social i[class*='twitter']:hover, .icon--social i[class*='twitter']:focus {
    color: #00709a;
}

.icon--social i[class*='google'] {
    color: #dd4b39;
}

.icon--social i[class*='google']:hover, .icon--social i[class*='google']:focus {
    color: #9a291a;
}

.icon--social i[class*='linkedin'] {
    color: #007bb6;
}

.icon--social i[class*='linkedin']:hover, .icon--social i[class*='linkedin']:focus {
    color: #005076;
}

.icon--social i[class*='envelope'] {
    color: #b00;
}

.icon--social i[class*='envelope']:hover, .icon--social i[class*='envelope']:focus {
    color: #7a0000;
}

.icon--social i[class*='whatsapp'] {
    color: #128c7e;
}

.icon--social i[class*='whatsapp']:hover, .icon--social i[class*='whatsapp']:focus {
    color: #075e54;
}


/* MENU */

.main-navigation .nav-item > a {
  position: relative;
  text-transform: uppercase;
}

.main-navigation ul.navbar-nav:not(.dropdown-menu) .nav-item > a:after {
  content: '';
  border-bottom: 4px solid #47cdff;
  display: inline-block;
  position: absolute;
  z-index: 1;
  /*width: calc(100% - 16px);*/
  width: 100%;
  bottom: -4px;
  /*left: 8px;*/
  left: 0;
  transition: all .2s ease-in-out 0s;
  opacity: 0;
  transform: scaleX(0);
}

.main-navigation .nav-item > a.dropdown-toggle:after {
    border-top: 0;
    border-right: 0;
    border-left: 0;
} 

.main-navigation ul.navbar-nav .nav-item > a:not(.dropdown-item):hover:after {
  opacity: .5;
  transform: scaleX(1);
}
.main-navigation ul.navbar-nav .nav-item.active > a:not(.dropdown-item):after {
  opacity: 1;
  transform: scaleX(1);
}
.main-navigation .navbar-toggler {
  padding: 12px 10px 10px 10px;
}



/* CONTENT */

form[name="search-course"] .search-course-input {
  padding: .375rem .75rem !important;
}

.site-header{
  background-color: #f7f7f7;
}

.site-branding-group {
  width: 100%;
}

.site-branding{
  float: left;
  width: 345px;
  padding: 20px 0 15px 0;
  margin-bottom: 0;

}

.box-share--position{
	float: right;
}

.sponsor{
  font-size: 12px;
  max-width: 400px;
  float: right;
  overflow: hidden;
  padding: 15px 0 0 0;
}

.sponsors__row{
  align-items: flex-end;
}

.menu {
  border-bottom: 4px solid var(--color-primary);
  background-color: #ffffff;
}

.navbar {
  padding: 0;
}

.nav--content{
  font-size: 12px;
  padding-left: 1rem;
}

.nav--link {
  display: block;
  padding-right: 15px;
}

.banner {
  width: 100%;
  height: 100%;
/*  background-image: url("/wp-content/themes/congreso/img/banner.jpg");*/
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;
  background-position-y: center;
  background-size: cover;
  position: relative;
}

.btn {
    white-space: normal;
}

.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #177baa;
    border-color: #177baa;
}

.btn-link {
    color: #333333;
}

.btn-link:hover {
    color: #1d9bd6;
    text-decoration: none;
}

.btn-link.focus, .btn-link:focus {
    text-decoration: none;
}

.card.card-style-2 {
  margin: 35px 0;
  background-color: #f7f7f7;
  border-bottom: 0;
  border-left: 0;
  border-right: 0;
  border-top: 3px solid var(--color-primary);
  border-radius: .15rem;
}

.card-align{
	text-align: right;
}

.heading--border{
  border-bottom: 2px solid var(--color-primary);
}

.site-footer {
  font-size: 12px;
  padding: 0.5rem 0 0.5rem 0;
  background-color: #6b6b6b;
  color: #ffffff;
}

.copyright {
  text-align: left;
  vertical-align: middle;
}

.social {
  text-align: right;
  vertical-align: middle;
}


.bg-lighten-blue {
  background-color: #e4eef8;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*Utils*/
.color-blue {
  color: #00aeef;
}

/*Layout*/

.full-width #secondary, .no-sidebar #secondary {
	display: none;
}

.main-content-area {
	padding-top: 30px;
	padding-bottom: 30px;

}
.main-content-area .sidebar-left{
	float: right;
}

.main-content-area .sidebar-right {
	float: left;
}

.main-content-area .no-sidebar {
	float: none;
	margin: 0 auto;
}

.main-content-area .full-width {
	width: 100%;
}

.fa-angle-up:before {
    content: "\f106";
}

.btn--solid {
    color: #fff;
    background-color: #1e9bd6;
    border-color: #1e9bd6;
}

.scroll-top {
  display: none;
  position: fixed;
  bottom: 0;
  right: 45px;
  padding: 10px 12px;
  border-radius: 4px 4px 0 0;
  z-index: 2;
}

.course-excerpt-loop {
  padding-top: 20px;
  line-height: 1.5;
}

/* LEARNPRESS OVERRIDE */

.learnpress ul.learn-press-courses .course {
    width: 100%;
}
.learnpress ul.learn-press-courses .course .course-title {
  line-height: 1.2;
}
.learnpress ul.learn-press-courses .course .course-thumbnail img {
    float: right;
    width: 230px;
    height: auto;
    margin-bottom: 15px;
    margin-top: 28px;
}

.learnpress.learnpress-page .lp-button:not(.search-course-button) {
  line-height: 38px;
  height: 38px;
}

.learnpress.learnpress-page .lp-button.button-complete-lesson,
#profile-content-settings button {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  white-space: normal;
}

.learnpress ul.learn-press-courses .course .lp-course-buttons form button {
    width: auto;
    float: left;
}

.learnpress .learnpress-page .lp-button {
    line-height: 1.5;
    padding: .375rem .75rem;
    height: auto;
}

.learnpress ul.learn-press-courses .course .lp-course-buttons form {
    margin-bottom: 10px;
    width: auto;
}

.learnpress form.customize-unpreviewable,
      form.customize-unpreviewable input,
      form.customize-unpreviewable select,
      form.customize-unpreviewable button,
      a.customize-unpreviewable,
      area.customize-unpreviewable {
    cursor: pointer !important;
}

.learnpress a.course-view-resume {
    margin-right: 15px;
    float: left;
}
.learnpress.single-lp_course a.course-view-resume {
  display: none;
}

.learnpress .btn-primary {
    color: #fff;
    background-color: #1e9bd6;
    border-color: #1e9bd6;
}

.learnpress .btn-primary:hover {
    background-color: #177baa;
    border-color: #177baa;
}

.learnpress .btn-outline-primary {
    color: #1e9bd6;
    background-color: transparent;
    background-image: none;
    border-color: #1e9bd6;
}

.learnpress .btn-outline-primary:hover {
    color: #fff;
    background-color: #177baa;
    border-color: #177baa;
}

.learnpress ul.learn-press-courses .course .course-info .course-price {
    display: none;
}

.learnpress ul.learn-press-courses .course .course-info .course-instructor {
    float: left;
}



.learnpress ul.learn-press-nav-tabs {
  border-bottom-width: 2px !important;
}
.learnpress ul.learn-press-nav-tabs .course-nav.active:after, ul.learn-press-nav-tabs .course-nav:hover:after {
  height: 2px !important;
  bottom: -2px !important;
}

.learnpress ul.learn-press-nav-tabs .course-nav.course-nav-tab-instructor,
.learnpress .single-lp_course .course-view-resume,
.learnpress .course-curriculum ul.curriculum-sections .section-content .course-item .course-item-meta .item-meta.duration {
  display: none;
}



.learnpress #course-item-content-header .course-title {
  width: calc(100% - 52%);
  height: auto;
  line-height: 1.2;
  font-size: 14px;
  margin-top: 6px;
  min-height: 54px;
  display: flex;
  align-items: center;
}

/*Pagina de curso*/
.lp-single-course .course-meta {
  display: none;
}
.lp-single-course .learn-press-course-results-progress {
  display: none;
}
.lp-single-course .course-remaining-time {
  display: none;
}
.lp-single-course .course-curriculum ul.curriculum-sections .section-header .section-meta .section-progress,
.lp-single-course .course-tab-panel-curriculum .learn-press-progress + .step {
  display: none;
}

.lp-single-course .course-curriculum ul.curriculum-sections .section-content .course-item:not(.item-locked) .course-item-meta {
  display: none;
}

.course-item-lp_lesson .course-curriculum ul.curriculum-sections .section-header .section-meta,
.course-item-lp_lesson .course-curriculum ul.curriculum-sections .section-content .course-item:not(.item-locked) .course-item-meta {
  display: none;
}

.learnpress.learnpress-page .form-button .lp-button.button-complete-lesson {
  display: none;
}

.learn-press-form.completed {
  display: none;
}

.single-lp_course .course .entry-title {
  margin-bottom: 5px;
}

.post-type-archive-lp_course .lp-course-buttons .enroll-course {
  display: none;
}

.lp_course .learn-press-message {
  display: none;
}

body.single-lp_course.course-item-popup #course-item-content-header .course-item-search {
  display: none;
}

/*Perfil Usuario*/
.learnpress .lp-user-profile .profile-name {
  width: 189px;
  text-align: left;
}
.learnpress #learn-press-profile-header {
  background: #e1eef1;
}
.learnpress #learn-press-profile-nav .tabs li.courses,
.learnpress #learn-press-profile-nav .tabs li.quizzes,
.learnpress #learn-press-profile-nav .tabs li.orders,
.learnpress #learn-press-profile-nav .tabs li.publicity,
.learnpress .lp-tab-sections .section-tab.publicity {
  display: none;
}

.learnpress .become-teacher-form {
  width: 100%;
  max-width: 100%;
}

#learn-press-content-item .course-item-nav {
  display: none;
}
.learnpress #course-item-content-header .course-title a {
  color: #00aeef;
}
.learnpress #course-item-content-header {
  background: #eeeef0;
}
.learnpress #course-item-content-header .toggle-content-item {
  color: #9c9c9c;
}
.learnpress .course-curriculum ul.curriculum-sections .section-header .section-title {
  font-size: 16px;
}

.learnpress ul.learn-press-courses .course .lp-course-buttons .continue-course {
  display: none;
}

/* THEME MY LOGIN OVERRIDE */
.tml-login .tml-button {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  color: #fff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  white-space: normal;
}
.tml-login .tml-button:hover,
.tml-login .tml-button:active,
.tml-login .tml-button:focus {
  background-color: #177baa;
  border-color: #177baa;
}

.tml-login .tml-links {
  padding-left: 0;
  list-style: none;
}
.tml-login .tml-lostpassword-link a {
  color: #00aeef;
}

body:not(.logged-in) #custom_html-12 {
  display: none;
}
body.logged-in #custom_html-13,
body.post-type-archive-lp_course #custom_html-13,
body.lp_course-template-page-course #custom_html-13,
body.tml-action-login #custom_html-13 {
  display: none;
}

/* MEDIA QUERIES*/


@media all and (max-width: 768px) {
  .copyright {
    text-align: center;
  }

  .social {
    text-align: center;
  }

  .navbar {
    padding: 0 1rem;
  }

  .card-align {
  text-align: center;
  }

  .card-text {
  text-align: center;
  }

  .card.card-style-2 {
    margin-bottom: 0;
  }

  .box-share--position{
  float: none;
  text-align: center;
  }
  .main-content-area {
    padding-bottom: 0;
  }
}

@media (min-width: 768px){
  .site-branding-group {
      float: left;
  }
}
@media screen and (max-width: 575.98px) {
  .single-lp_course #course-item-content-header .form-button.lp-button-back button {
    font-size: 10px;
    padding-left: 3px;
    padding-right: 3px;
  }
}

@media (min-width: 992px) {
  .main-navigation .nav-link {
    padding: 10px 10px 10px 10px;
  }
}

@media all and (max-width: 992px) { 
  .sponsor {
    float: initial;
    padding: 6px 0;
    margin: 4px auto;
    clear: both;
  }
}

@media (max-width: 991.98px) {
  .site-branding {
    text-align: center;
    width: 100%;
	margin-bottom: 10px;
    border-bottom: 1px solid #d2d2d2;
  }
  .nav-item {
    padding-left: 10px;
    border-bottom: 1px dotted #d2d2d2;
  }
  .nav-item:last-child {
    border-bottom-color: transparent;
  }
  .main-navigation .nav-item > a:after {
    bottom: -10px;
    /*left: 0;*/
    /*width: 100%;*/
  }
  .banner {
    background-position-x: calc(100% - 50%);
  }
}

@media (max-width: 767.98px) {
  .learnpress ul.learn-press-courses .course .course-thumbnail img {
    float: none;
    width: 99%;
  }
  img.custom-logo {
    width: 99%;
  }
}

