/*
 Theme Name:   CONCORD Theme 2020
 Theme URI:    http://concordeurope.org/
 Description:  CONCORD Theme 2020
 Author:       Diego Andrés Ramírez Aragón
 Author URI:   http://europe.somosmas.org
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Colors */
/*
C - Brown:	#8e3e30
O - Brown:	#b6593a
N - Orange:	#d9a938
C - Red:	#ab2f46
O - Yellow:	#cba232
R - Red: 	#be3931
D - Orange:	#d9a938
*/

.et_section_regular {
  background-color: transparent;
}

/* Full width title */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.left .header-content {
  margin-left: 0;
}
.et_pb_fullwidth_header .header-content {
  padding: 0;
}

/* Main menu */
#menu-main-menu .social-icon {
  padding-left: 0;
  padding-right: 7px;
}
#menu-main-menu .social-icon-spacer {
  padding-left: 2em !important;
}
#menu-main-menu .social-icon a {
  color: rgb(38, 38, 38) !important;
}
#information-menu .et-menu.nav li {
  flex-basis: 100%;
}
/* Mega menu */
.et_fullwidth_nav #top-menu li.mega-menu > ul {
  width: 45%;
  left: 55% !important;
}
#top-menu .menu-item-has-children > a:first-child:after {
  color: #edb059;
}
#top-menu li.mega-menu.no-clear > ul > li:nth-of-type(4n + 1) {
  clear: none;
}
#top-menu li.mega-menu > ul > li > a:first-child {
  font-weight: normal;
  border-bottom: none;
}
#top-menu .sub-menu li a {
  text-transform: none;
}
#top-menu li.mega-menu > ul > li.menu-item-has-children > a:first-child {
  color: #edb059;
  font-weight: 700;
  text-transform: uppercase;
}

#top-menu li.mega-menu > ul,
#top-menu li.mega-menu.mega-menu-parent li > .sub-menu {
  background-color: #f4f4f4;
}
#top-menu li.mega-menu > ul > li > a:first-child:hover,
#top-menu li.mega-menu li > a:hover {
  background-color: #00000008 !important;
  opacity: 0.7;
}

/* Mega menu priorities */
.et_fullwidth_nav #top-menu li.mega-menu.priorities > ul > li {
  width: 45%;
}

#top-menu li.mega-menu.priorities > ul,
#top-menu li.mega-menu.priorities.mega-menu.priorities-parent li > .sub-menu {
  background-color: #f4f4f4;
}
#top-menu li.mega-menu.priorities > ul > li > a {
  width: 100%;
}
#top-menu li.mega-menu.priorities > ul > li > a {
  padding: 6px 20px !important;
}
#top-menu li.mega-menu.priorities > ul > li > a:first-child:hover,
#top-menu li.mega-menu.priorities li > a:hover {
  padding: 6px 20px !important;
}

/* Our Members */
.member-list h4 {
  text-align: center;
  height: 36px;
}
.member-list .et_pb_team_member_description p {
  padding-top: 0.5em;
}
.member-list h4.et_pb_module_header {
  font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;
  font-weight: normal !important;
  margin-bottom: 2em;
}
.member-list .et_pb_team_member_description p {
  font-size: 13px;
}

/* Staff page*/
#staff .et_portfolio_image img {
  border-radius: 50%;
}
#staff .post-meta-Position {
  color: #aaa;
  font-size: 15px;
  padding-bottom: 0;
}
#staff .et_pb_portfolio_item ul {
  font-size: 15px;
}

/* News */
/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {
  background: none;
}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px) {
  #left-area {
    width: 100%;
    padding: 23px 5em 0px !important;
    float: none !important;
  }
}

/*** Hide Sidebar ***/
#sidebar {
  display: none;
}

/* Portfolio unit*/
.portafolio-unit {
  padding-top: 0;
  padding-bottom: 1em;
}
.portafolio-unit .et_pb_row {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
.portafolio-unit .et_pb_with_border.et_pb_text {
  border-bottom-width: 1px;
  border-bottom-color: #e7b20b;
}
.portafolio-unit .et_pb_text h1 {
  color: #e7b20b !important;
  font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 300;
  font-size: 40px;
}

/* Resources related posts */
.single-project.et-db #et-boc .et-l .et_pb_row,
.single-resource.et-db #et-boc .et-l .et_pb_row {
  width: 100%;
}
.single-project #jp-relatedposts,
.single-resource #jp-relatedposts {
  width: 60%;
  margin: 1em auto;
}
.single-project .et-l #jp-relatedposts,
.single-resource .et-l #jp-relatedposts {
  width: 100%;
  margin: 1em auto;
}

.et-db #et-boc .et-l .et_pb_blog_0_tb_body .pagination a {
  color: white !important;
}
.pagination .et_pb_button:after {
  content: "";
}

/* Widgets & Sidebars*/
.widget_categories .screen-reader-text,
.widget_archive .screen-reader-text {
  display: none;
}

.et_pb_widget > h4 {
  color: #c91910;
  font-size: 1.8em;
}
.et_pb_widget a {
  color: #d9a938 !important;
}

/* Page portafolio */
.post-meta-Position {
}

/* Footer */
footer .et_builder_inner_content {
  z-index: 0 !important;
}
.footer-eu {
}

/* pagenavi pagination */
.wp-pagenavi {
  text-align: right !important;
  margin-top: 2em;
}
.wp-pagenavi a,
.wp-pagenavi span {
  font-weight: 500 !important;
  font-size: 16px !important;
}
.pagination-button {
  font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;
  padding: 0.5em 1em !important;
  color: #fff !important;
  background-color: #848689 !important;
  display: inline-block;
}
.wp-pagenavi a:hover,
.pagination-button:hover {
  color: #fff !important;
  font-weight: bold !important;
}
.pagination-selected {
  color: #cb190f !important;
  padding: 0.5em 1em !important;
  border-width: 2px;
  border-color: #cb190f !important;
}

.et_pb_post a {
  text-decoration: underline;
}
/* Buttons a buttons links*/
a.et_pb_button,
.form-submit .et_pb_button {
  color: #fff;
}
/* Helper styles */
.red {
  color: #cb190f;
}
.red-highlight {
  background-color: red;
  font-size: 16px;
  margin-top: -1em;
  padding: 0.5em 1em;
}
.red-highlight > a {
  padding-bottom: 0 !important;
}
.red-highlight i {
  position: relative;
  top: -1px;
}
.expert .et_pb_team_member_description {
  text-align: center;
  margin-top: 1em;
}
.expert .et_pb_team_member_image {
  margin: 0 auto;
}
.expert img {
  border-radius: 50%;
}

/* Tribe Events */
:root {
  --tec-font-family-sans-serif: "Raleway", Helvetica, Arial, Lucida, sans-serif;
  --tec-color-text-events-title: #d9a938;
}
.tribe-events-schedule {
  margin-bottom: 0;
}
.tribe-events-event-image {
  display: none;
}
.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
  background-color: #cb190f;
}
.tribe-common .tribe-common-c-btn:focus,
.tribe-common .tribe-common-c-btn:hover,
.tribe-common a.tribe-common-c-btn:focus,
.tribe-common a.tribe-common-c-btn:hover {
  background-color: #cb190f94;
}

.tribe-common .tribe-common-anchor-thin-alt {
  border-bottom: 1px solid #cb190f94;
}
.tribe-common .tribe-common-c-svgicon {
  color: #cb190f;
}
.tribe-events-content a {
  border-bottom: none;
}
.tribe-events-cal-links .tribe-events-gcal,
.tribe-events-cal-links .tribe-events-ical,
.tribe-events-content a:active,
.tribe-events-content a:focus,
.tribe-events-content a:hover,
.tribe-events-event-meta a:focus,
.tribe-events-event-meta a:hover,
.tribe-events-event-meta a,
.tribe-events-event-meta a:visited {
  color: #d9a938;
  border-bottom: none;
  text-decoration: none;
}
.tribe-common a,
.tribe-common a:active,
.tribe-common a:focus,
.tribe-common a:hover,
.tribe-common a:visited {
  color: #d9a938;
  border-bottom: none;
  text-decoration: none;
}
.tribe-common .tribe-common-anchor-thin,
.tribe-common .tribe-common-anchor-thin:active,
.tribe-common .tribe-common-anchor-thin:focus,
.tribe-common .tribe-common-anchor-thin:hover {
  border-bottom: 0;
}
.tribe-events-single-event-title {
  font-weight: 300;
  font-size: 52px !important;
  color: #d9a938 !important;
}
.tribe-events-schedule .recurringinfo,
.tribe-events-schedule h2,
.tribe-related-event-info .recurringinfo,
.tribe-events-content,
.single-tribe_events .tribe-events-single .tribe-events-event-meta,
.tribe-events-meta-group .tribe-events-single-section-title {
  color: #666;
  font-size: 17px;
}
.tribe-events-content ol,
.tribe-events-content p,
.tribe-events-content ul {
  font-size: 17px;
}
.tribe-events .tribe-events-c-ical__link {
  color: #cb190f;
  border-color: #cb190f;
}
.tribe-events .tribe-events-c-ical__link:active,
.tribe-events .tribe-events-c-ical__link:focus,
.tribe-events .tribe-events-c-ical__link:hover {
  background-color: #cb190f;
}
.tribe-common .tribe-common-b2 {
  color: #666;
}
/* Old styles - deprecated */
#footer-widgets {
  padding: 3% 0 0;
}
.footer-widget {
  margin: 0 5.5% 2% 0;
}
.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(odd) {
  width: 63.833%;
}
.et_pb_gutters3.et_pb_footer_columns_2_3__1_3 .footer-widget:nth-child(even) {
  width: 30.666%;
}
/* Library Feed RSS*/
.library-feed-icon {
  float: left;
  margin-right: 7px;
}
.et_pb_widget_area .widget_library-rss .rsswidget-more {
  color: #d9a938;
}
.rss-body {
  margin-left: 2em;
}
.rssSummary {
}

.home .footer-band {
  display: none;
}

.footer-band {
  /*background-image: url('images/bannernuevo_2.png');*/
  background-position: 0px 0px, center;
  background-color: #d9a938;
  height: 2em;
}
/* Breadcrumbs*/
.breadcrumbs {
  margin: auto;
  max-width: 1080px;
  padding: 1em;
  background: #f4f4f4;
}
/*------------------------------------------------*/
/*------------
---[RESPONSIVE LAYOUTS]-------------*/
/*------------------------------------------------*/
@media only screen and (min-width: 981px) {
}

/*-------------------[960px]------------------*/
@media (min-width: 980px) {
  .et-db #et-boc .et-l .et_pb_newsletter.et_pb_subscribe .et_pb_newsletter_form,
  #footer-form .et_pb_newsletter_form {
    padding-top: 3em !important;
    width: 60%;
  }
  #footer-form .et_pb_newsletter_description > div {
    width: 40%;
    text-align: center;
    margin: 0 auto;
  }
  .et-db
    #et-boc
    .et-l
    .et_pb_newsletter
    .et_pb_newsletter_fields
    .et_pb_newsletter_button_wrap,
  #footer-form .et_pb_newsletter_fields .et_pb_newsletter_button_wrap {
    flex-basis: 50%;
  }
  #footer-form .et_pb_newsletter .et_pb_newsletter_fields {
    justify-content: space-evenly;
  }
}
@media only screen and (min-width: 981px) and (max-width: 1280px) {
  .et_fullwidth_nav #top-menu li.mega-menu > ul {
    width: 75%;
    left: 25% !important;
  }
}
@media only screen and (min-width: 981px) and (max-width: 1100px) {
}

/*-------------------[768px]------------------*/
@media only screen and (max-width: 980px) {
  .et_mobile_menu .social-icon {
    width: 33%;
    text-align: center;
    float: left;
  }
  .et_mobile_menu .social-icon.red-highlight {
    width: 100%;
    text-transform: uppercase;
    background-color: transparent;
    padding: 0em;
  }
  .et_mobile_menu .social-icon.red-highlight > a {
    padding-bottom: 10px !important;
  }
  .footer_inline_menu div.et_pb_menu__menu,
  .footer-inline-menu div.et_pb_menu__menu {
    display: block !important;
  }
  .footer_inline_menu div.et_mobile_nav_menu {
    display: none;
  }
  #information-menu .et-menu.nav li {
    justify-content: center;
  }

  .single-resource .et-l--post {
    padding: 0 1.5em;
  }
  .single-resource #jp-relatedposts {
    width: 90%;
    margin: 1em auto;
  }
}

@media only screen and (min-width: 768px) and (max-width: 980px) {
}

@media screen and (max-width: 782px) {
}

/*-------------------[480px]------------------*/
@media only screen and (max-width: 767px) {
  /*
	.footer-band{
		height: 50px;
		background-position: 0px -10px;
	}
	*/

  .et_pb_posts .et_pb_post a img {
    max-height: initial !important;
    float: none;
    width: initial;
    padding: initial;
    border: none;
    margin-left: initial;
  }
  .wp-pagenavi {
    text-align: center !important;
  }
  .wp-pagenavi .pages,
  .wp-pagenavi .extend {
    display: none;
  }
  .wp-pagenavi a,
  .wp-pagenavi span {
    font-size: 14px !important;
  }
  .pagination-button {
    clear: both;
  }
}

/*-------------------[320px]------------------*/
@media only screen and (max-width: 479px) {
}
