@charset "UTF-8";
/*
 Theme Name:     Suomen Ravitsemustieteen Yhdistys Ry
 Theme URI:      https://tovari.fi
 Description:    Suomen Ravitsemustieteen Yhdistys Ry:n nettisivut by Markkinointitoimisto Tovari
 Author:         Markkinointitoimisto Tovari
 Author URI:     https://tovari.fi
 Template:       Divi
 Version:        1.1.0
*/
.pagination {
  width: intrinsic;
  width: -moz-max-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  width: -webkit-max-content;
}

#main-header {
  background-color: #6b8f2d !important;
}

#main-header .container {
  width: 93%;
  max-width: 1920px;
}

#main-header .container .logo_container {
  display: none;
}

#main-header .container #top-menu li {
  padding-right: 5px;
}

#main-header .container #top-menu li a {
  color: white;
  font-family: "Roboto", serif;
  font-weight: 400;
  font-size: 22px;
  padding: 20px;
}

#main-header .container #top-menu li a::after {
  position: inherit;
}

#main-header .container #top-menu li li a {
  padding: 10px 20px !important;
}

#main-header .container #top-menu li .sub-menu {
  background-color: #ec861a;
  border-top: none;
  padding: 0px;
}

#main-header .container #top-menu li .sub-menu .menu-item {
  padding: 0px;
  width: 100%;
}

#main-header .container #top-menu li .sub-menu .menu-item a {
  width: 100%;
  border-top: 1px solid white;
}

#main-header .container #top-menu .nav-kieli a {
  font-size: 14px;
  padding: 20px 5px;
}

#main-header .container #et_top_search #et_search_icon::before {
  color: white;
}

#main-header .et_search_outer .et-search-form .et-search-field {
  top: 0% !important;
  color: white !important;
}

#main-header .et_search_outer .et-search-form .et-search-field::-webkit-input-placeholder {
  color: #e6e6e6;
}

#main-header .et_search_outer .et-search-form .et-search-field:-ms-input-placeholder {
  color: #e6e6e6;
}

#main-header .et_search_outer .et-search-form .et-search-field::-ms-input-placeholder {
  color: #e6e6e6;
}

#main-header .et_search_outer .et-search-form .et-search-field::placeholder {
  color: #e6e6e6;
}

#main-header .et_search_outer .et_close_search_field {
  top: 0% !important;
}

#main-header .et_search_outer .et_close_search_field::after {
  color: white;
}

#frontpage-header .header-content-container .header-content {
  max-width: 1000px !important;
}

#frontpage-header .header-content-container .header-content h1 {
  color: black !important;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 45px;
  font-weight: bold;
  overflow-wrap: break-word;
}

#frontpage-header .header-content-container .header-content p {
  color: black;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 300;
  overflow-wrap: break-word;
}

#frontpage-header .header-content-container .header-content .et_pb_button {
  padding: 20px 50px;
  border-radius: 0px !important;
  text-transform: uppercase;
  font-family: "Roboto", serif;
  background-color: #ec861a !important;
  border: 1px solid #ec861a !important;
  color: white;
}

#frontpage-header .header-content-container .header-content .et_pb_button:hover {
  background-color: #c36c10 !important;
  border-color: #c36c10 !important;
  color: white;
}

#frontpage-header .header-content-container .header-content .header-logo {
  max-width: 180px !important;
}

#subpage-header {
  padding-bottom: 0px;
}

#subpage-header h1 {
  color: black !important;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 45px;
}

#subpage-header p {
  color: black;
}

#subpage-header .et_pb_button {
  padding: 20px 50px;
  border-radius: 0px !important;
  text-transform: uppercase;
  font-family: "Roboto", serif;
  background-color: #ec861a !important;
  border: 1px solid #ec861a !important;
  color: white;
}

#subpage-header .et_pb_button:hover {
  background-color: #c36c10 !important;
  border-color: #c36c10 !important;
  color: white;
}

#subpage-header .header-logo {
  max-width: 180px !important;
}

.subpage-header-sub h1 {
  padding-bottom: 0 !important;
  font-size: 45px;
}

.subpage-header-sub span {
  color: black !important;
  font-family: "Source Serif Pro", serif;
  font-size: 22px;
}

* {
  font-family: "Roboto", sans-serif;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Source Serif Pro", serif;
}

.other-h1 h1 {
  color: black !important;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 4vw;
  text-align: center;
}

.p-v1 {
  color: black;
  font-size: 18px;
  line-height: 2;
  font-weight: 300;
}

.p-v1 a {
  color: black;
  text-decoration: underline;
}

.notice-text p {
  font-size: 30px;
  color: black;
  line-height: 1.5;
}

.subheader-v1 h2, .subheader-v2 h2, .subheader-v3 h2, .subheader-v4 h2 {
  font-size: 40px;
  font-weight: bold;
}

.subheader-v1 h2 {
  color: #c74d47;
}

.subheader-v2 h2 {
  color: #6b8f2d;
}

.subheader-v3 h2 {
  color: #ec861a;
}

.subheader-v4 h2 {
  color: grey;
}

.a-v1 a {
  color: #c74d47 !important;
}

.a-v2 a {
  color: #6b8f2d !important;
}

.a-v3 a {
  color: #ec861a !important;
}

.button-primary {
  background-color: #c74d47 !important;
  border: 1px solid #c74d47 !important;
  color: white;
}

.button-primary:hover {
  background-color: #a83933 !important;
  border-color: #a83933 !important;
  color: white;
}

.button-secondary {
  background-color: #6b8f2d !important;
  border: 1px solid #6b8f2d !important;
  color: white;
}

.button-secondary:hover {
  background-color: #4e6821 !important;
  border-color: #4e6821 !important;
  color: white;
}

.button-tertiary {
  background-color: #ec861a !important;
  border: 1px solid #ec861a !important;
  color: white;
}

.button-tertiary:hover {
  background-color: #c36c10 !important;
  border-color: #c36c10 !important;
  color: white;
}

.tapahtuma-ilmoittautumislinkki {
  background-color: #ec861a !important;
  border: 1px solid #ec861a !important;
  color: white !important;
  padding: 10px 40px;
  border-radius: 5px;
  font-size: 18px;
  text-align: center;
}

.tapahtuma-ilmoittautumislinkki:hover {
  background-color: #c36c10 !important;
  border-color: #c36c10 !important;
  color: white !important;
}

.pagination {
  margin: auto;
}

.pagination .page-numbers {
  background-color: #ec861a;
  border-radius: 100%;
  width: 38px !important;
  display: inline-block;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
  font-family: "Roboto", serif;
  font-weight: bold;
  color: black;
  border: 2px solid #ec861a;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
  width: 100px !important;
  border-radius: 14px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.pagination .page-numbers.current {
  background-color: white;
  color: black;
}

@media all and (max-width: 479px) {
  .pagination .page-numbers {
    font-size: 14px;
    width: 30px !important;
    padding-top: 1px;
    padding-bottom: 1px;
  }
  .pagination .page-numbers.next,
  .pagination .page-numbers.prev {
    width: 80px !important;
    border-radius: 14px;
    padding-top: 1px;
    padding-bottom: 1px;
  }
}

.row-width1 {
  max-width: 100%;
}

.row-width2 {
  max-width: 1600px;
}

.row-width3 {
  max-width: 400px;
}

.border-right {
  border-right: 1px solid black;
}

.background1 {
  background-color: #f9f9f9;
}

.background2 {
  background-color: #6b8f2d;
}

.vaalennus {
  background-blend-mode: overlay;
  background-color: rgba(255, 255, 255, 0.7) !important;
}

.ff-item {
  border: 1px solid black !important;
}

#etusivu-event-calendar .tribe-events-page-title {
  display: none;
}

#etusivu-event-calendar .tribe-events-list .tribe-events-loop .tribe-events-event-image {
  width: 100% !important;
}

#etusivu-event-calendar .tribe-events-list-photo-description.tribe-events-content {
  display: none !important;
}

#etusivu-event-calendar .tribe-event-schedule-details {
  color: #6b8f2d;
}

.most-event-calendars .categorybar {
  text-align: right;
  display: block;
  margin-bottom: -28px;
}

.most-event-calendars .categorybar span {
  padding: 0px 5px;
  display: inline-block;
  background-color: white;
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
  border: 1px solid black;
  border-top: 0px;
  margin-right: 2px;
  font-family: "Roboto", sans-serif;
}

#seminaarit-event-calendar .tribe-events-page-title {
  display: none;
}

#seminaarit-event-calendar .tribe-events-list .tribe-events-loop .tribe-events-event-image {
  width: 100% !important;
}

#seminaarit-event-calendar .tribe-events-list-photo-description.tribe-events-content {
  display: none !important;
}

#seminaarit-event-calendar .tribe-event-schedule-details {
  color: #6b8f2d;
}

#seminaarit-event-calendar .tribe-events-nav-pagination {
  display: none;
}

#tribe-events .tribe-events-nav-pagination a {
  color: black;
}

#tribe-events .tribe-events-ical {
  display: none !important;
}

#tribe-events #tribe-events-footer {
  display: none !important;
}

#tribe-events .tribe-paged {
  text-transform: uppercase;
}

#tribe-events .cc-sry,
#tribe-events .cc-fens,
#tribe-events .cc-iuns {
  background-color: white;
  border-color: #cccccc !important;
  color: black;
}

#tribe-events .cc-vieras {
  background-color: black;
  border-color: #333333 !important;
  color: white;
}

#tribe-events .cc-kongressi {
  background-color: #c74d47;
  border-color: #a83933 !important;
  color: white;
}

#tribe-events .cc-seminaari {
  background-color: #ec861a;
  border-color: #c36c10 !important;
  color: white;
}

#tribe-events .cc-vaitostilaisuus {
  background-color: #6b8f2d;
  border-color: #4e6821 !important;
  color: white;
}

#tribe-events .cc-tyopaja {
  background-color: #2C7279;
  border-color: #1e4f54 !important;
  color: white;
}

#tribe-events .cc-konferenssi {
  background-color: #C7AF47;
  border-color: #a89233 !important;
  color: white;
}

.tribe-events-photo-event-wrap {
  display: block;
  float: left;
}

.tribe-events-photo-event-wrap .tribe-events-event-meta {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #f9f9f9 !important;
  padding: 10px 10px 5px 10px !important;
  color: #6b8f2d;
}

.tribe-events-photo-event-wrap .tribe-events-event-meta .tribe-event-schedule-details {
  width: 100%;
  color: #6b8f2d !important;
}

.tribe-events-photo-event-wrap .tribe-events-list-event-title {
  max-width: 100% !important;
  width: 100%;
  background-color: #f9f9f9;
  padding: 10px !important;
  padding-top: 0 !important;
}

.tribe-events-photo-event-wrap .tribe-events-list-event-title a {
  display: inline-block;
  width: 100%;
  font-size: 18px;
  line-height: 1;
  color: black;
  text-align: center;
}

.tribe-events-notices {
  background-color: #eee;
  color: black;
  border-color: #d2d2d2;
  text-shadow: none;
  text-align: center;
  line-height: 1.2;
  font-size: 18px;
}

.tribe-events-notices ul {
  padding-bottom: 10px !important;
  padding-top: 10px !important;
}

.tribe-events-schedule {
  text-align: center;
}

.single-tribe_events .container::before {
  display: none;
}

.single-tribe_events .container #left-area {
  width: 100%;
  padding-right: 0;
}

.single-tribe_events .tribe-events-single-event-title,
.single-tribe_events .tribe-events-schedule h2 {
  max-width: 900px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.tribe-events-single-event-description {
  color: black;
  line-height: 2;
}

.single-tribe_events a {
  color: #ec861a;
}

.tribe-events-meta-group-venue {
  margin-top: 30px;
  margin-bottom: 30px;
}

.tribe-events-venue a {
  color: #6b8f2d !important;
}

.blog1 article {
  margin-bottom: 10px;
}

.blog1 article .entry-title {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  color: black;
  padding-bottom: 0px;
}

.blog1 article .post-content {
  display: none;
}

.blog2 article {
  border: 1px solid black !important;
  padding: 0 !important;
}

.blog2 article .et_pb_image_container {
  margin: 0px !important;
}

.blog2 article .entry-title {
  margin: 20px 20px 5px 20px !important;
}

.blog2 article .entry-title a {
  color: #ec861a;
  font-family: "Source Serif Pro", serif !important;
}

.blog2 article .post-meta {
  margin: 5px 20px;
}

.blog2 article .post-meta span {
  color: black;
}

.blog2 article .post-meta a {
  color: black !important;
}

.blog2 article .post-content {
  margin: 5px 20px 20px 20px !important;
}

.blog2 article .post-content p {
  color: black;
}

.blog2 article .post-content .more-link {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
  background-color: #ec861a !important;
  border: 1px solid #ec861a !important;
  color: white;
}

.blog2 article .post-content .more-link:hover {
  background-color: #c36c10 !important;
  border-color: #c36c10 !important;
  color: white;
}

.archive .entry-title a,
.search .entry-title a {
  font-family: "Source Serif Pro", serif;
}

.archive img,
.search img {
  display: none;
}

.hero-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  background-position: top center;
}

.hero-section h1 {
  text-align: center;
  font-size: 4vw;
}

.hero-section .post-meta {
  text-align: center;
  color: black;
}

.hero-section .post-meta a {
  color: black;
}

.kannattajajasen-logorivi .kannattajajasen-logo {
  display: inline-block;
  margin-top: 1.5% !important;
  margin-bottom: 1.5% !important;
  margin-left: 0 !important;
}

.kannattajajasen-logorivi .kannattajajasen-logo .et_pb_team_member_description {
  display: block;
  text-align: center;
}

.kannattajajasen-logorivi .kannattajajasen-logo .et_pb_team_member_description h4 {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  font-size: 14px;
}

.kannattajajasen-logorivi .kannattajajasen-logo .et_pb_team_member_image {
  display: block;
  width: 100% !important;
  margin: 0 !important;
  margin-bottom: 10px !important;
}

.kannattajajasen-logorivi .kannattajajasen-logo .et_pb_team_member_image img {
  display: block;
  margin: auto;
  max-height: 80px;
}

@media all and (min-width: 981px) {
  .kannattajajasen-logorivi .kannattajajasen-logo {
    width: 10% !important;
    margin-right: 6.6% !important;
  }
  .kannattajajasen-logorivi .kannattajajasen-logo:nth-child(6n + 6) {
    margin-right: 0 !important;
  }
}

@media all and (min-width: 510px) and (max-width: 980px) {
  .kannattajajasen-logorivi .kannattajajasen-logo {
    width: 15% !important;
    margin-right: 12% !important;
  }
  .kannattajajasen-logorivi .kannattajajasen-logo:nth-child(4n + 4) {
    margin-right: 0 !important;
  }
}

@media all and (max-width: 509px) {
  .kannattajajasen-logorivi .kannattajajasen-logo {
    width: 39% !important;
    margin-right: 20% !important;
  }
  .kannattajajasen-logorivi .kannattajajasen-logo:nth-child(2n + 2) {
    margin-right: 0 !important;
  }
}

.et_password_protected_form {
  max-width: 1000px;
  margin: auto;
  margin-top: 20vh;
  margin-bottom: 20vh;
  padding-left: 10%;
  padding-right: 10%;
}

.et_password_protected_form p {
  font-family: "Roboto", sans-serif;
  color: black;
}

.et_password_protected_form button {
  background-color: #c74d47 !important;
  border: 1px solid #c74d47 !important;
  color: white !important;
}

.et_password_protected_form button:hover {
  background-color: #a83933 !important;
  border-color: #a83933 !important;
  color: white !important;
}

#sidebar .widget_search input[type="text"] {
  border: 1px solid #6b8f2d;
}

#sidebar .widget_search input[type="submit"] {
  border: 1px solid #6b8f2d;
  background-color: #6b8f2d;
  color: white;
}

.gform_body .gform_fields .gfield .gfield_label {
  font-family: "Source Serif Pro", serif;
}

.gform_body .gform_fields .gfield .ginput_container {
  margin-top: 0px !important;
}

.gform_body .gform_fields .gfield .ginput_container input[type="text"] {
  border: 1px solid black;
  border-radius: 5px;
}

.gform_body .gform_fields .gfield .ginput_container textarea {
  border: 1px solid black;
  border-radius: 5px;
}

.gform_body .gform_fields .gfield .ginput_container label {
  color: black !important;
}

.gform_body .gform_fields .gfield .gfield_label {
  color: black;
}

.gform_body .gform_fields .gfield .gsection_description {
  font-size: 14px;
  text-align: justify;
}

.gform_body .gform_fields .gfield .gfield_radiu label {
  color: black !important;
}

.gform_body .gform_fields .gfield #gfield_description_1_13 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.gform_body .gform_fields .gfield .gfield_checkbox label a {
  color: #ec861a;
}

.gform_confirmation_message {
  text-align: center;
  font-size: 20px;
}

.gform_footer .gform_button {
  background-color: #ec861a !important;
  border: 1px solid #ec861a !important;
  color: white;
  padding: 15px 30px;
  font-weight: 500;
  font-size: 20px;
  border-radius: 3px;
}

.gform_footer .gform_button:hover {
  background-color: #c36c10 !important;
  border-color: #c36c10 !important;
  color: white;
}

.gform_footer .gform_button:hover {
  cursor: pointer;
}

.cust-searchbar {
  max-width: 300px;
  margin: auto;
}

.cust-searchbar input[type="text"] {
  border: 1px solid #6b8f2d;
}

.cust-searchbar input[type="submit"] {
  border: 1px solid #6b8f2d;
  background-color: #6b8f2d;
  color: white;
}

.align-bot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.vertical-align {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.saannot table {
  border: none !important;
}

.saannot table td {
  vertical-align: top;
  color: black;
  font-size: 18px;
  line-height: 1.2;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border: none !important;
}

#footer-img {
  max-width: 200px;
}

.footer-text {
  color: white;
}

.footer-text h3 {
  font-size: 40px;
  font-family: "Source Serif Pro", serif;
  color: white;
}

.footer-text p {
  font-size: 18px;
  font-family: "Roboto", sans-serif;
}

#footer-logo img {
  width: 180px !important;
}

@media all and (max-width: 1320px) {
  .subheader-v1 h2, .subheader-v2 h2, .subheader-v3 h2, .subheader-v4 h2 {
    font-size: 30px;
  }
  .tribe-events-list-event-title a {
    font-size: 18px !important;
  }
  #main-header .container #top-menu li a {
    padding: 20px 10px;
    font-size: 18px;
  }
}

@media all and (max-width: 980px) {
  #et_mobile_nav_menu {
    margin-top: 0px !important;
  }
  #et_mobile_nav_menu .mobile_nav {
    background-color: transparent !important;
    margin-top: 0px !important;
  }
  #et_mobile_nav_menu .mobile_nav .select_page {
    display: none !important;
  }
  #et_mobile_nav_menu .mobile_nav .mobile_menu_bar {
    position: relative;
    top: 0px;
    right: 0px;
    float: right;
  }
  #et_mobile_nav_menu .mobile_nav .mobile_menu_bar::before {
    color: white;
  }
  #et_mobile_nav_menu .mobile_nav #mobile_menu {
    top: 62px;
    border-top: none;
    padding: 0px;
  }
  #et_mobile_nav_menu .mobile_nav #mobile_menu .menu-item a {
    color: black;
  }
  #et_mobile_nav_menu .mobile_nav #mobile_menu .menu-item .sub-menu .menu-item a::before {
    content: "› ";
    display: inline-block;
    position: relative;
    margin-right: 4px;
  }
  .border-right {
    border-right: 0px;
  }
  .marg-bot-none {
    margin-bottom: 0px !important;
  }
  .pad-bot-none {
    padding-bottom: 0px !important;
  }
  .kattologot .et_pb_column {
    width: 50%;
    display: inline-block;
  }
}

@media all and (max-width: 750px) {
  .ff-header h1 {
    font-size: 22px !important;
  }
  #frontpage-header .et_pb_fullwidth_header_container,
  #subpage-header .et_pb_fullwidth_header_container {
    width: 100% !important;
  }
  #frontpage-header h1, #subpage-header h1 {
    font-size: 30px !important;
  }
  .tribe-events-event-meta {
    margin: 0px !important;
  }
}

@media all and (max-width: 479px) {
  .subheader-v1 h2, .subheader-v2 h2, .subheader-v3 h2, .subheader-v4 h2 {
    font-size: 22px;
  }
  .notice-text p {
    font-size: 20px;
  }
  .single-tribe_events .tribe-events-single-event-title {
    font-size: 6vw;
    line-height: 1.3;
  }
  .header-content {
    width: 100% !important;
  }
}
/*# sourceMappingURL=style.css.map */