@font-face {
  font-family: "Graphik-Medium";
  src: url("../fonts/Graphik-Medium.woff2") format("woff2"),
    url("../fonts/Graphik-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "BentonSans";
  src: url("../fonts/BentonSans-Bold.woff2") format("woff2"),
    url("../fonts/BentonSans-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

html,
body {
  height: 100%;
}

img {
  width: 100%;
}

.titupais {
  border-top: dashed #3864a4 1px;
  border-bottom: dashed #3864a4 1px;
  font-family: "Graphik-Medium";
  font-size: 22px;
  margin-bottom: 30px;
  padding: 10px 0;
}

.navbar {
  padding: 0;
  background-color: white;
}

a {
  cursor: pointer;
}

p {
  text-align: justify;
}

header .container {
  background-color: white;
  padding: 5px 20px;
}

.navbar-nav .nav-link {
  padding-left: 10px;
  font-size: 13px;
  font-family: "Graphik-Medium";
}

header a,
.navbar-dark .navbar-nav .nav-link.disabled,
.navbar-dark .navbar-nav .nav-link,
.nav-link.disabled {
  color: #00163b;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show > .nav-link {
  color: #00163b;
}

header img {
  max-width: 110px;
}

.object-cover {
  object-fit: cover;
}

.navbar .login {
  background-color: #00163b;
}

.slideshow {
  height: 634px;
  overflow: hidden;
}

.navbar button {
  position: relative;
  right: 5px;
}

.president {
  background-color: #00163b;
  padding: 40px;
  color: white;
  font-family: "Graphik-Medium";
  position: relative;
  top: -137px;
  z-index: 100;
}

.president p {
  font-size: 14px;
}

.card {
  margin-bottom: 5px;
}

.card-header {
  background: #4a82c6;
  color: white;
  font-size: 14px;
}

.card-header a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: block;
}

.card-body a {
  color: #4a82c6;
}

.president-letter-titular h2 {
  font-family: "BentonSans";
  background-color: #00163b;
  color: white;
  margin: 0;
  padding: 20px 40px;
  z-index: 100;
  position: relative;
  top: 20px;
}

.white-separator {
  border-bottom: dashed rgba(255, 255, 255, 0.8) 1px;
  margin: 40px 0;
}

.president span {
  color: #4a82c6;
}

.president h3 {
  display: inline-block;
  border-bottom: solid #4a82c6 3px;
  padding-bottom: 10px;
}

.president img {
  max-width: 100%;
}

.iidm-world {
  padding: 60px;
  color: #00163b;
}

.new-president-letter {
  padding: 60px;
}

.new-president-letter .holder {
  background-color: #00163b;
  padding: 15px 40px;
  color: white;
  position: relative;
  top: -11px;
}

.new-president-letter img {
  max-width: 100%;
}

.new-president-letter h4 {
  color: #4a82c6;
  border-top: solid #4a82c6 2px;
  padding-top: 10px;
  font-family: "Graphik-Medium";
  font-size: 16px;
}

.iidm-world p {
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.iidm-world .iw-title,
.iidm-history .iw-title,
.ilb-content .iw-title {
  font-family: "BentonSans";
}

.iidm-history {
  background-color: #f2f2f2;
  padding: 60px 0;
  color: #00163b;
  font-family: "Graphik-Medium";
  font-size: 14px;
  position: relative;
  top: -87px;
}

.iidm-history-continuation {
  background-color: white;
  color: #00163b;
  font-family: "Graphik-Medium";
  font-style: italic;
  font-size: 14px;
  position: relative;
  padding-bottom: 80px;
  display: none;
}

.iidm-history-continuation p {
  font-size: 14px !important;
}

.iidm-history-continuation-gray {
  background-color: #f2f2f2;
  color: #00163b;
  padding: 60px 0;
  padding-bottom: 137px;
  display: none;
}

.iidm-history-continuation-gray p {
  font-size: 14px !important;
}

.iidm-history-continuation-gray h3 {
  font-family: "BentonSans";
}

.president-letters img {
  max-width: 100%;
}

.iidm-history-continuation-gray .pholder {
}

.iidm-history-continuation img {
  max-width: 100%;
}

.dropdown-menu,
.show {
  background-color: #00163b;
}

.dropdown-menu a,
.show a {
  color: white;
  font-size: 13px;
  font-family: "Graphik-Medium";
}

/*.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active,*/
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: white;
}

.read-more-holder {
  text-align: center;
  margin: 20px auto;
  margin-bottom: 0;
}

.blue-button {
  background-color: #00163b;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-family: "Graphik-Medium";
  display: inline-block;
  padding: 8px 20px;
}

.blue-button:hover {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.home-iidm-light-blue {
  background-color: #4a82c6;
  color: white;
  position: relative;
  top: -87px;
  padding: 10px 0;
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.home-iidm-light-blue img {
  max-width: 100%;
  position: relative;
  top: 30px;
  z-index: 100;
}

.ilb-content {
  padding: 60px;
}

.home-events .container {
  border-left: dashed #cecece 1px;
  border-right: dashed #cecece 1px;
  position: relative;
  top: -87px;
}

.events-title {
  padding: 40px;
  color: #00163b;
  font-family: "BentonSans";
  border-right: dashed #cecece 1px;
}

.bg-blue {
  background: #3864A4 !important;
}

.text-blue {
  color: #3864A4 !important;
}

.border-blue {
  border-color: #3864A4 !important;
}

.events-title p {
  font-size: 14px;
}

.events-filling {
  padding: 60px;
  color: #00163b;
  border-right: dashed #cecece 1px;
}

.event-image {
  height: 400px;
  background-size: cover;
}

.event-item {
  position: relative;
  font-family: "BentonSans";
  padding: 0;
}

.event-item .col-xs-8 {
  background: white;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 20px;
}

.event-item span {
  color: #4a82c6;
  font-size: 11px;
  margin-bottom: 10px;
}

.event-item a {
  color: #00163b;
  font-size: 13px;
}

footer {
  background-color: #00163b;
}

footer .container {
  text-align: center;
  color: white;
  font-family: "Graphik-Medium";
  font-size: 14px;
  padding: 20px;
}

footer .container p {
  text-align: center;
  margin: 0 auto;
}

#home_presentation,
#home_events {
  display: none;
}

.iidm-banner {
  height: 450px;
  background: url("../images/banner.jpg") no-repeat center top;
  background-size: cover;
}

.iidm-banner .container {
  position: relative;
  height: 100%;
}

.iidm-banner .container .row {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0;
}

.iidm-banner h2 {
  font-family: "BentonSans";
  background-color: #00163b;
  color: white;
  margin: 0;
  padding: 20px 40px;
  z-index: 100;
  position: relative;
  top: 20px;
}

.president-presentation {
  margin-top: 30px;
}

.presentation-blue {
  background-color: #00163b;
  padding: 40px;
  color: white;
  font-family: "BentonSans";
}

.presentation-blue p {
  font-size: 13px;
}

.presentation-blue h3 {
  display: inline-block;
  border-bottom: solid #4a82c6 3px;
  padding-bottom: 10px;
}

.presentation-blue span {
  color: #4a82c6;
}

.presentation-blue img {
  max-width: 100%;
}

.presentation-parr {
  padding: 60px;
  font-family: "Graphik-Medium";
  font-size: 14px;
  color: #00163b;
}

.president-bio {
  padding-top: 60px;
}

.president-bio p {
  color: #00163b;
  padding: 0 40px;
  font-family: "Graphik-Medium";
  font-size: 14px;
  padding-bottom: 40px;
}

.president-bio .iw-title {
  font-family: "BentonSans";
}

.president-complement {
  background-color: #f2f2f2;
  margin-bottom: 60px;
}

.president-complement img {
  max-width: 100%;
}

.president-complement .parr {
  padding: 60px 40px;
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.president-complement .parr .iw-title {
  font-family: "BentonSans";
}

.directory-content {
  padding: 60px 0;
}

.directory-content p,
.directory-content h2,
.all-events p,
.all-events h2 {
  font-family: "BentonSans";
  color: #00163b;
  margin: 0;
}

.directory-table {
  margin-top: 60px;
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.directory-table tbody {
  border-right: dashed #cecece 1px;
  border-left: dashed #cecece 1px;
}

.directory-table th {
  background-color: #4a82c6;
  color: white;
}

.directory-table td {
  color: #00163b;
}

.directory-table .sub-header {
  color: #a3a3a3;
}

.directory-content .blue {
  background-color: #e5e5e5;
  padding: 40px;
  margin: 10px;
}

.directory-content .lite-blue {
  background-color: #f4f4f4;
  padding: 40px;
  margin: 10px;
}

.directory-content h3 {
  color: #3864a4;
  margin: 0;
}

.directory-content .full-name {
  color: #00163b;
  margin-bottom: 40px;
}

.directory-content .parr {
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.main-event-item {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  height: 250px;
  margin: 40px 0;
}

.main-event-item .text {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: white;
  padding: 20px;
  font-size: 14px;
}

.all-events {
  background-color: #f4f4f4;
  color: #00163b;
  padding: 40px 0;
}

.all-event-item {
  font-family: "Graphik-Medium";
  font-size: 14px;
  padding: 5px;
}

.all-event-item div {
  background-color: white;
  padding: 40px;
}

.all-event-item div a {
  font-size: 12px;
  margin-top: 20px;
  display: block;
}

.pagination {
  margin: 10px auto;
}

.pagination a,
.pagination span {
  display: block;
  width: 25px;
  background-color: #f4f4f4;
  margin: 0 3px;
  padding: 5px;
  border-radius: 5px;
}

.paginator {
  text-align: center;
  padding-bottom: 60px;
}

.event-content {
  margin-top: 40px;
}

.event-content img {
  max-width: 100%;
}

.event-content h4,
.event-content span {
  color: #00163b;
  font-family: "Graphik-Medium";
}

.event-content h4 {
  font-size: 18px;
}

.event-content p {
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.event-content h3 {
  margin-top: 20px;
  font-family: "BentonSans";
}

#login_modal {
  font-family: "BentonSans";
}

#login_modal .modal-header {
  background-color: #00163b;
  color: white;
}

#login_modal .modal-body,
#login_modal .modal-footer {
  font-size: 14px;
}

.login-complement {
  color: #00163b;
  font-size: 12px;
  font-family: "Graphik-Medium" !important;
}

.select-country-body {
  /*height: 110%;*/
  background-color: #f4f4f4;
}

.countries {
  padding-top: 200px;
  text-align: center;
}

.pastbooks p {
  text-align: center;
  margin: 0 auto;
}

.countries h3 {
  font-family: "BentonSans";
  text-align: left;
  margin-bottom: 50px;
}

.countries a {
  display: inline-block;
  text-align: center;
  margin-bottom: 30px;
}

.countries img {
  max-width: 100%;
  margin-bottom: 20px;
  opacity: 0.7;
}

.countries a:hover img {
  opacity: 1;
}

.countries span {
  font-family: "Graphik-Medium";
  font-size: 13px;
  color: #00163b;
}

.iidm-banner a {
  display: inline-block;
  background-color: #00163b;
  color: white;
  padding: 10px 20px;
  height: 62px;
  border-left: dashed rgba(255, 255, 255, 0.7) 1px;
  border-right: dashed rgba(255, 255, 255, 0.7) 1px;
  font-family: "Graphik-Medium";
  font-size: 13px;
}

.iidm-banner .a-active {
  background-color: #3864a4;
}

.inner-section {
  padding: 50px 0;
}

.inner-titular {
  background: #3864a4;
  color: white;
  padding: 20px;
  font-family: "BentonSans";
  font-size: 18px;
}

.footcontact {
  text-align: center;
  font-size: 11px;
  margin: 0 auto;
}

.footcontact span {
  display: block;
  text-align: center;
  width: 100%;
  color: #4a82c6;
}

.directory-rules-table {
  margin: 20px 0;
}

.directory-rules-table td {
  background: #f4f4f4;
  color: #00163b;
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.directory-rules-table img {
  max-width: 60px;
}

.inner-event-item {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  /*margin: 40px 0;*/
}

.inner-event-item .text {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: white;
  padding: 20px;
  font-size: 14px;
  font-family: "BentonSans";
  color: #00163b;
}

.article-preview-item img {
  max-width: 100%;
}

.article-preview-item span {
  font-family: "Graphik-Medium";
  font-size: 14px;
  color: #676767;
  /*font-style: italic;*/
}

.article-preview-item p {
  margin-top: 20px;
  color: #00163b;
  font-family: "Graphik-Medium";
  font-size: 14px;
}

.article-preview-item {
  margin-bottom: 40px;
}

.publish-item {
  margin: 50px 0;
}

.publish-item img {
  max-width: 100%;
}

.publish-item strong {
  font-family: "BentonSans";
}

.publish-item p {
  color: #00163b;
  font-family: "Graphik-Medium";
  font-size: 14px;
  margin: 10px 0;
}

.main-publications {
  border-bottom: dashed #cecece 1px;
}

.inner-gray-section {
  background-color: #f2f2f2;
  padding: 50px 0;
}

.other-pubs-item {
  text-align: center;
}

.other-pubs-item img {
  max-width: 50%;
  margin-bottom: 20px;
}

.other-pubs-item p {
  color: #00163b;
  font-family: "Graphik-Medium";
}

.modal {
  background-color: transparent;
}

.modal a {
  color: #00163b;
}

.suscription-invitation {
  margin: 0 auto;
  text-align: center;
  color: #00163b;
  font-family: "Graphik-Medium";
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.suscription-invitation a {
  color: #3864a4;
}

#suscription_form label {
  color: #00163b;
  font-size: 14px;
  font-family: "BentonSans";
}

.iidm-finder {
  margin-bottom: 20px;
  border-bottom: dashed #3864a4 1px;
  padding-bottom: 20px;
}

.iidm-finder input {
  background-image: url("../images/find.png");
  background-repeat: no-repeat;
  background-position-x: 99%;
  background-size: contain;
}

.search-feedback {
  margin-top: 5px;
  color: #00163b;
  font-weight: bold;
}

/* responsive design  **************************************************************************************************/

@media screen and (max-width: 992px) {
  .dropdown-menu,
  .show {
    background-color: white;
  }

  .dropdown-menu a,
  .show a {
    color: #00163b;
  }

  .login a {
    color: #00163b;
  }
}

@media screen and (max-width: 768px) {
  .president,
  .iidm-history,
  .home-iidm-light-blue,
  .home-events .container {
    position: static;
  }
}

@media screen and (max-width: 576px) {
  .iidm-history {
    padding: 40px;
  }
}
