/*
base-color: #c0273c
darker-color: #b00711
lighter-color: #ea2d49
rgb-base: 234,45,73
rgb-light: 192,39,60
 */

/* base: elements */
a {
  color: #c0273c;
}
a:hover,
a:focus,
a:active {
  color: #ea2d49;
  text-decoration: none !important;
}
pre {
  border-left-color: #ea2d49;
}
.sidebar h2.title,
#page .block-views h2.title {
  border-bottom-color: #c0273c;
}

/* base: layout */
#pre-header,
#header-top {
  background-color: #ea2d49;
}
#header {
  background-color: #c0273c;
  border-bottom-color: #b00711;
}

/* components: accordion */
.panel-title a,
.panel-heading a:hover {
  background-color: #ea2d49;
}

/* components: block */
.sidebar .block > h2,
#page .block-views > h2 {
  border-bottom-color: #c0273c;
}

/* components: buttons */
a.button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  background-color: #c0273c;
}
.pre-header-area a.button,
.pre-header-area input[type="submit"],
.header-top-area a.button,
.header-top-area input[type="submit"] {
  background-color: #c0273c!important;
}
.pre-header-area a.button:hover,
.pre-header-area input[type="submit"]:hover,
.header-top-area a.button:hover,
.header-top-area input[type="submit"]:hover {
  background-color: #ea2d49!important;
}
a.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
a.button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
a.button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  background-color: #ea2d49;
}

/* components: dropdown-blocks */
.dropdown .trigger {
  color: #ea2d49;
}
.colored-area .dropdown .trigger {
  color: #ffffff;
}
.colored-area .dropdown-menu > li {
  color: #3f3f3f;
}
.colored-area .dropdown-menu > li a {
  color: #c0273c;
  text-decoration: none;
}
.colored-area .dropdown-menu > li a:hover,
.colored-area .dropdown-menu > li a:active,
.colored-area .dropdown-menu > li a:focus {
  color: #ea2d49;
  text-decoration: none;
}

/* components: fields */
.field--entity-reference-target-type-taxonomy-term ul.links li a:hover {
  background-color: #ea2d49;
}

/* components: flexslider-internal-banner */
#internal-slider-carousel ul.slides > li.flex-active-slide,
#internal-slider-carousel ul.slides > li:hover {
  border-color: #ea2d49;
}
@media (max-width: 767px) {
  #internal-slider-carousel .flex-direction-nav a {
    border-color: #ea2d49;
    color: #ea2d49;
  }
}

/* components: flexslider-main */
.flex-direction-nav a  {
  color: #ea2d49;
}
.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
  background-color: #ea2d49;
}
@media screen and (max-width: 860px) {
  .flex-control-paging li a:hover,
  .flex-control-paging li a.flex-active {
    background-color: #ea2d49;
  }
}

/* components: forms */
input.form-text:focus,
textarea:focus {
  border-color: #ea2d49;
}

/* components: image-overlay */
.overlay {
  background-color: #ea2d49;
  background-color: rgba(234,45,73,0.3);
}
.overlay i {
  background-color: #ea2d49;
}

/* components: menu */
ul.menu li a:hover {
  background-color: #ea2d49;
}
ul.menu li a.is-active {
    text-decoration: underline;
}
ul.menu li.menu-item--collapsed > a:before,
ul.menu li.menu-item--expanded > a:before,
.subfooter-area ul.menu li a:hover {
  color: #ea2d49;
}

/* components: menu: superfish */
#main-navigation .sf-menu ul {
  background-color: #ea2d49;
  background-color: rgba(234,45,73,0.9);
}
#pre-header .sf-menu ul,
#header-top .sf-menu ul {
  background-color: #c0273c;
  background-color: rgba(192,39,60,0.9);
}
#main-navigation .sf-menu > li.sfHover > a {
  background-color: #ea2d49;
}
#pre-header .sf-menu > li.sfHover > a,
#pre-header ul.menu li a:hover,
#header-top .sf-menu > li.sfHover > a,
#header-top ul.menu li a:hover,
#main-navigation .sf-menu ul li.sfHover>a,
#main-navigation .sf-menu ul li a:hover {
  background-color: #c0273c;
}
#pre-header .sf-menu ul li.sfHover>a,
#pre-header .sf-menu ul li a:hover,
#header-top .sf-menu ul li.sfHover>a,
#header-top .sf-menu ul li a:hover {
  background-color: #b00711;
}

/* components: node-links */
ul.links li.statistics-counter {
  color: #c0273c;
}
ul.links li a:hover,
.more a:hover {
  background-color: #ea2d49;
}

/* components: node */
.post-progressbar {
  background-color: #ea2d49;
}
.node-info-item .field--entity-reference-target-type-taxonomy-term ul.links li a,
.node-info-item-term .field--name-field-mt-post-categories a {
  color: #c0273c;
}
.node-info-item .field--entity-reference-target-type-taxonomy-term ul.links li a:hover,
.node-info-item-term .field--name-field-mt-post-categories a:hover {
  color: #ea2d49;
}

/* components: pager */
li.pager__item > a:hover,
li.pager__item.is-active > a {
  background-color: #ea2d49;
}
li.pager__item > a:focus {
  color: #ea2d49;
}

/* components: primary-menu */
body:not(:target) .region-navigation .menu-toggle:hover,
body:not(:target) .region-navigation .menu-toggle--hide {
  background-color: #EA2D49;
}
@media all and (min-width: 768px) and (max-width: 991px) {
  .region-navigation .menu-item,
  body:not(:target) .region-navigation .menu-item,
  .region-navigation .menu .menu-item a:hover {
    background-color: #EA2D49;
  }
  .region-navigation .menu-item a,
  body:not(:target) .region-navigation .menu-item a {
    background-color: #C0273C;
  }
}

/* components: social-links */
.header-area ul.social-bookmarks li a:hover,
.header-area ul.brands li a:hover,
ul.user-social-bookmarks li a:hover {
  background-color: #ea2d49;
}
ul.user-social-bookmarks li a:hover {
  color: #ea2d49;
}

/* components: tables */
table th {
  background-color: #c0273c;
}

table {
    border: 5px solid #EEE;
}

tr:nth-child(even) {background: #EEE}
tr:nth-child(odd) {background: #FFF}

/* components: tabs */
.nav-tabs {
  border-bottom-color:#ea2d49;
}
.nav-tabs > li > a:hover {
  border-color: #ea2d49;
  background-color: #ea2d49;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  background-color: #ea2d49;
  border-color: #ea2d49;
}
@media (min-width: 481px) {
  .nav-tabs > li.active > a:after {
    color: #ea2d49;
  }
}

/* components: teaser-listings */
.view-feed .promoted-posts .view-header span {
  background-color: #ea2d49;
}

/* components: to-top */
#toTop {
  color: #ea2d49;
}

/* components: view-breaking-slider */
.view-titles .more-link a {
  background-color: #ea2d49;
  border-bottom: 6px solid rgba(192,39,60,0.65);
}

/* components: view-most-popular */
.view-popular-objects .views-row:hover {
  border-color: #ea2d49;
}
.view-popular-objects .views-row:hover .views-field-field-mt-post-categories a {
  background-color: #ea2d49;
}

/* components: views */
.views-field-title a:hover {
  color: #ea2d49;
}
.views-field-field-mt-post-categories a:hover {
  background-color: #ea2d49;
}

/* Components: view-tags-cloud */
.view-mt-tags-cloud .views-row a:hover {
  background-color: #ea2d49;
}

/*-------------------------------------------*/


.page-title {
font-size: 22px;
border-bottom: 1px solid #c0273c;
text-transform: uppercase;
margin-top: 7px;
}

.erkka {
    text-align: center;
}

.iucn {
    text-align: center;
    align-items: center;
}

p.iucn {
    font-weight: 700;
    padding: 5px;
}

h4.iucn {
    margin: 0;
}

.iucn_uhex_re {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #000;
    font-weight: bold;
    color: #fff;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_cr {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #600;
    font-weight: bold;
    color: #fff;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_en {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #ff0000;
    font-weight: bold;
    color: #fff;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_vu {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #e65c00;
    font-weight: bold;
    color: #fff;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_nt {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #f2da30;
    color: #000;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_dd {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #bfbfbf;
    font-weight: bold;
    color: #000;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_lc {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #8fcc00;
    font-weight: bold;
    color: #000;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

.iucn_uhex_na {
    font-size: 80%;
    border-radius: 5px;
    text-align: center;
    background-color: #fff;
    font-weight: bold;
    color: #000;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    border: 1px solid #DDD;
    margin: .7em;
    padding: 1.2em 0;
    width: 8em;
    min-height: 8em;
}

table {
margin: 25px 0px;
}

table th, table td {
font-size: 16px;
padding: 10px;
}

@media screen and (max-width: 768px) {
    body {
    font-size: 14px;
    }
    .site-name a {
        font-size: 30px;
    }
    .page-title {
        font-size: 16px;
    }
    table h3 {
    font-size: 18px;
    }
    table th, table td {
    font-size: 12px;
    padding: 5px 10px;
    }
    .block-quicktabs-blockelinymparisto {
    display: none;    
    }
    .taxonomy-term.vocabulary-kasvit {
    font-size: 14px;    
    }
    .table-notice {
    font-size: 14px;
    }
    h4 {
    font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .site-name a {
        font-size: 20px;
    }
    table {
        border-collapse: separate;
        border-spacing: 0;
        width:100%;
        margin: 25px 0 40px;
        display: block;
        overflow-x: auto;
        overflow-y: hidden;
    }
}

@media all and (min-width: 768px) {
  .region-navigation .menu-item,
  body:not(:target) .region-navigation .menu-item {
    width: auto;
    height: auto;
    overflow: visible;
  }
  .featured .region-navigation .menu-item a:active,
  .featured .region-navigation .menu-item a.is-active {
  }
  body:not(:target) .region-navigation .menu-toggle {
    display: none;
  }
  .block-quicktabs-blockmobile {
  display: none;
  }
}

@media all and (min-width: 768px) and (max-width: 991px) {
    .region-navigation .menu a {
    margin-bottom: 0px;
  }
}

.material-tabs ul.quicktabs-tabs {
    background-color: #c0273c !important;
}

.block-quicktabs-blockelinymparisto h2 {
    font-size: 18px;
    border-bottom: 1px solid #c0273c;
    text-transform: uppercase;
    font-weight: bold;
}


.form-type-textarea label {
    text-transform: uppercase !important;
}

fieldset legend {
    border: 0px solid #c5c5c5 !important;
}

.progress-step.is-active .progress-marker::before {
    background-color: #c0273c !important;
}

.webform-progress-tracker .progress-title[role="link"] {
    color: #c0273c !important;
}

.webform-progress-tracker .progress-title[role="link"]:hover,
.webform-progress-tracker .progress-title[role="link"]:focus {
  text-decoration: underline;
  color: #ea2d49 !important;
}

.webform-progress-tracker .progress-step.is-complete:hover .progress-marker[role="link"]:before {
  background-color: #c0273c !important;
}

.panel-title a {
  display: inline-block;
  width: 100%;
  color: #ffffff;
  font-size: 16px;
}

.panel-title a::after {
  float: right;
  display: inline-block;
  content: ' \25B4';
  background-color: transparent;
  color: inherit;
  font-weight: 900;
  background: url(/sites/default/files/table-twistie-up.svg) no-repeat right #c0273c !important;
    background-position-x: 98% !important;
    background-position-y: center !important;
}

.panel-title a.collapsed::after {
    float: right;
    display: inline-block;
  content: ' \25BE';
  font-weight: 900;
  background: url(/sites/default/files/table-twistie-down.svg) no-repeat right #c0273c !important;
    background-position-x: 98% !important;
    background-position-y: center !important;
}

.panel-title a, .panel-heading a:hover {
    background-color: transparent !important;
}

.panel-default > .panel-heading {
    color: #fff !important;
    background-color: #c0273c !important;
    border-color: #ea2d49 !important;
}

.panel-heading {
  padding: 10px 10px;
}

h4.panel-title a:hover, h4.panel-title a:focus, h4.panel-title a:active {
    color: #fff !important;
}

h4.panel-title a:active {
    text-decoration: none !important;
}

.tablesort--asc {
    background-image: url(/sites/default/files/table-twistie-down.svg) !important;
}

.tablesort--desc {
    background-image: url(/sites/default/files/table-twistie-up.svg) !important;
}

.table-notice, .vocabulary-kasvit {
    background-color: #efefef;
    border: 1px solid #DDD;
    padding: 5px;
}

.vocabulary-kasvit .field__label {
    font-weight: normal !important;
} 

.vocabulary-kasvit .field__item {
    font-weight: bold !important;
    font-weight: 700 !important;
} 

.vocabulary-kasvit .field__item a {
    font-weight: normal !important;
}

.vocabulary-kasvit .field__item a:hover {
    text-decoration: underline !important;
    color: #ea2d49 !important;
}

fieldset {
    width: 100%;
}

.uhex_re {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #000;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_re .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -75px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_re .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_re:hover .tooltiptext {
  visibility: visible;
}

.uhex_cr {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    background-color: #600;
    font-weight: bold;
    color: #fff;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_cr .tooltiptext {
  visibility: hidden;
  width: 170px;
  background-color: #600;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -85px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_cr .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_cr:hover .tooltiptext {
  visibility: visible;
}

.uhex_en {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    background-color: #ff0000;
    font-weight: bold;
    color: #fff;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_en .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: #ff0000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -75px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_en .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_en:hover .tooltiptext {
  visibility: visible;
}

.uhex_vu {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    background-color: #e65c00;
    font-weight: bold;
    color: #fff;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_vu .tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: #e65c00;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_vu .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_vu:hover .tooltiptext {
  visibility: visible;
}

.uhex_nt {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #f2da30;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_nt .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: #f2da30;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -75px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_nt .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_nt:hover .tooltiptext {
  visibility: visible;
}

.uhex_dd {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #bfbfbf;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_dd .tooltiptext {
  visibility: hidden;
  width: 170px;
  background-color: #bfbfbf;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -85px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_dd .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_dd:hover .tooltiptext {
  visibility: visible;
}

.uhex_lc {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #8fcc00;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_lc .tooltiptext {
  visibility: hidden;
  width: 130px;
  background-color: #8fcc00;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_lc .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_lc:hover .tooltiptext {
  visibility: visible;
}

.uhex_na {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #fff;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;
    border: 1px solid #DDD;
}

.uhex_na .tooltiptext {
  visibility: hidden;
  width: 150px;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -75px;
  font-size: 11px;
  border: 1px solid #000;
}

.uhex_na .tooltiptext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.uhex_na:hover .tooltiptext {
  visibility: visible;
}

.form--inline.clearfix {
    padding: 5px;
    background: #DDD;
    border: 1px solid #C0C0C0;
}

.details-wrapper {
  padding: 0.5em 0.5em !important;
  background: #fff;
  color: #000;
}

summary {
    background: #fff;
    color: #000;
    padding: 10px 5px 10px 15px;
    min-width: 175px;
}

span.summary::after {
    content: "\f107";
    font-family: 'FontAwesome';
    margin-left: 5px;
    float: right;
}

select {
    color: #000 !important;
    background: #fff !important;
    font-size: 100%;
}

details {
    border: 2px solid #c5c5c5 !important;
    margin: 10px 0;
}

.details-description {
    padding: 0 0 0 20px;
    font-style: italic;
    font-size: 12px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin-bottom: 5px;
    background: #EEE;
}

select option {
    font-size: 14px;
}

.moreinfo {
    background: #e9e9ed;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    margin: 10px 0;
}

.field.field--name-field-lisaa-tietoa .field__item {
  clear: both;
}

.field__label {
    color: #777;
}

.form-checkboxes.bef-checkboxes.bef-nested ul {
    margin-left: -20px;
    font-size: 14px;
}



.field.field--name-field-lisaa-tietoa {
    margin: 10px 0;
    background: #e9e9ed;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}

h4.line {
    text-decoration: underline;
}

.form-checkboxes ul {
    list-style-type: none !important;
}

.form-checkboxes ul li {
    padding-right: 10px !important;
}

.form-checkboxes 
input[type="checkbox"] {
    margin: 0px 5px 3px !important;
}

.form-item-field-ely-alueet-target-id,
.form-item-field-kasvilaji-target-id,
.form-item-field-tn-title-value,
.form-item-title,
.form-item-field-perhonen-sv-value,
.form-item-field-kasvit-tiet-nimi-value,
.form-item-name,
.form-item-field-kasvit-sv-value,
.form-item-field-suodatintitle-value,
.form-item-combine,
details {
    width: 100%;
}

.form-item-field-erkkalist-value {
    width: 100%;
    margin-bottom: 8px !important;
}

.form-item-field-tn-title-value input {
    font-style: italic;
}

.form-checkboxes.bef-checkboxes.bef-nested {
    display: table-cell;
}

.form-checkboxes.bef-checkboxes.bef-nested label.option {
  display: table-cell;
}

.bef-exposed-form .form--inline .form-item {
  display: inline-table;
}

.form--inline .form-actions {
  text-align: center;
}

.select-wrapper {
  width: 100%;
}

button, select {
  cursor: pointer;
}

input[type="submit"], input[type="reset"], input[type="button"] {
  margin-right: 0;
  width: 100%;
}

input[type="submit"] {
    margin-top: 20px;
}

.form-item {
  margin: 5px 0;
}

.ajax-throbber.sk-wave .sk-rect {
  background-color: #000 !important;
}

.collapsiblock h2.title::before {
    content: ' \2713';
    margin-right: 5px;
}

.collapsiblock h2.title {
    text-transform: inherit !important;
    padding: .5em .5em .5em .7em !important;
    color: #fff !important;
    border: 1px solid !important;
    border-color: #ea2d49 !important;
    font-weight: normal !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.collapsiblockCollapsed h2.title {
    text-transform: inherit !important;
    padding: .5em .5em .5em .7em !important;
    color: #fff !important;
    border: 1px solid !important;
    border-color: #ea2d49 !important;
    font-weight: normal !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.collapsiblock {
    background: url(/sites/default/files/table-twistie-up.svg) no-repeat right #c0273c !important;
    background-position-x: 98% !important;
    background-position-y: center !important;
}

.collapsiblockCollapsed {
    background: url(/sites/default/files/table-twistie-down.svg) no-repeat right #c0273c !important;
    background-position-x: 98% !important;
    background-position-y: center !important;
}

.ui-state-active {
    border: 1px solid #ea2d49 !important;
    background: #c0273c !important;
}

.form-item-field-suodatintitle-value input, .form-item-title input {
    display: none;
}

.form-item-title label {
    font-size: 12px !important;
    font-weight: normal !important;
    margin: 0 0 5px 0;
    font-style: italic;
    background: #EEE;
    text-align: center;
}

.total {
    background: #efefef;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
    padding: 2px 5px;
}

.haas {
    width: auto;
    height: 40px;
    text-align: center;
    margin: auto;
    position: relative;
    display: inline-grid;
    vertical-align: middle;
    align-items: center;
    cursor: help;

}

.haas .tooltiphaas1 {
  visibility: hidden;
  width: 130px;
  background-color: #efefef;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -105%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.haas .tooltiphaas1::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  white-space: pre-wrap;
}

.haas:hover .tooltiphaas1 {
  visibility: visible;
}

.haas .tooltiphaas2 {
  visibility: hidden;
  width: 130px;
  background-color: #efefef;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -145%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.haas .tooltiphaas2::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  white-space: pre-wrap;
}

.haas:hover .tooltiphaas2 {
  visibility: visible;
}

.haas .tooltiphaas3 {
  visibility: hidden;
  width: 130px;
  background-color: #efefef;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -195%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.haas .tooltiphaas3::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  white-space: pre-wrap;
}

.haas:hover .tooltiphaas3 {
  visibility: visible;
}

.haas .tooltiphaas4 {
  visibility: hidden;
  width: 130px;
  background-color: #efefef;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -230%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.haas .tooltiphaas4::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  white-space: pre-wrap;
}

.haas:hover .tooltiphaas4 {
  visibility: visible;
}

.haas .tooltiphaas5 {
  visibility: hidden;
  width: 130px;
  background-color: #efefef;
  color: #000;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -65%;
  left: 50%;
  margin-left: -65px;
  font-size: 11px;
  border: 1px solid #000;
}

.haas .tooltiphaas5::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
  white-space: pre-wrap;
}

.haas:hover .tooltiphaas5 {
  visibility: visible;
}

/* components: tabs */
.nav-tabs {
  border-bottom-color: #c0273c;
}
.nav-tabs > li > a:hover {
  border-color: #ea2d49;
  background-color: #ea2d49;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  background-color: #c0273c;
  border-color: #c0273c;
}
@media (min-width:541px) {
  .nav-tabs > li.active > a:after {
    color: #c0273c;
  }
}

@media (min-width: 541px) {
.nav-tabs > li.active > a:after {
    content: "\f0d7";
    font-family: "FontAwesome";
    position: absolute;
    bottom: -18px;
    text-align: center;
    width: 100%;
    left: 0;
    font-size: 20px;
    line-height: 20px;
    }
}


@media (max-width: 540px) {
.nav-tabs > li {
  width: 100%;
  margin: 0 0 5px 0 !important;
    }
  .nav-tabs {
  border-bottom: none !important;
  }
  .havainto {
      margin-top: -20px;
  }
}

.nav-tabs li a i {
    padding-right: 10px !important;
    font-size: 20px;
}

.nav-tabs > li {
    float: left;
    margin-bottom: 0;
    padding: 0;
    margin-left: 0;
    border-bottom: none;
}

.nav-tabs {
    border-bottom: 3px solid #c0273c;
    margin: 10px 0;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    cursor: default;
    border: 1px solid #fff;
    color: #ffffff;
    border-bottom: 3px solid #c0273c !important;
}

.nav-tabs > li > a {
    margin-right: 2px;
    padding: 10px 20px;
    display: block;
    text-transform: uppercase;
    color: #464646;
    border-radius: 0;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    transition: none;
    font-size: 14px;
    background-color: #dadada;
    position: relative;
    border: 1px solid #fff;

    border-bottom: 3px solid #fff;
}

.nav-tabs > li > a:hover {
    color: #ffffff;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  cursor: default;
  border: 1px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-color: currentcolor;
  color: #ffffff;
  border-bottom: 3px solid #c0273c;
    border-bottom-color: currentcolor;
}

p.navtabs {
    padding: 5px;
    border: 1px solid #ddd;
    background: #efefef;
}

.field--name-field-kasvit-tiet-nimi .field__item {
    font-style: italic;
}

em {
    font-style: italic;
}

b.colored {
    background: #008000;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
}

b.transparent {
    padding: 2px;
    border-radius: 5px;
}

b.colored-table {
    background: #008000;
    color: #fff;
    padding: 3px;
    border-radius: 3px;
    font-size: 12px;
}

b.transparent-table {
    padding: 2px;
    border-radius: 3px;
    font-size: 12px;
}

.area {
    display: inline-block;
    padding: 5px 0;
}

.area-table {
    display: inline-block;
    padding: 2px 0;
    position: relative;
    cursor: help;
}

.menu-toggle::after {
  right: 20px !important;
}

.area-table .tttext {
  visibility: hidden;
  width: 120px;
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: -100%;
  left: 50%;
  margin-left: -60px;
  font-size: 11px;
  border: 1px solid #000;
}

.area-table .tttext::after {
  content: "";
  position: absolute;
  top: 103%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

.area-table:hover .tttext {
  visibility: visible;
}

.ely-area {
  font-style: italic;
  font-size: 12px;
  margin-bottom: 5px;
  margin-top: 5px;
}

.table-uhex{
    background-color: #fff;
    border: 1px solid #DDD;
    padding: 5px;
}

.uhex-md-4 {
  width: 40%;
  float: left;
  padding: 0 15px;
  text-align: center;
}

.uhex-md-8 {
  width: 60%;
  float: left;
  padding: 0 15px;
  border-left: 1px solid #efefef;
  height: 150px;
}

.uhex-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.erkkalist-center {
  height: 100px;
  display: table-cell;
  vertical-align: middle;
}

.erkkalist-center ul {
  font-size: 14px;
  margin: initial;
  margin-left: -15px;
  font-weight: bold;
}

.formtip {
  background-color: #c0273c;
  border: 2px solid #c0273c;
  cursor: pointer !important;
}

.formtip:hover {
  background-color: #ea2d49;
  border: 2px solid #ea2d49;
  cursor: pointer !important;
}

.help-tip{
    text-align: center;
    background-color: #c0273c;
    border: 2px solid #c0273c;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    line-height: 13px;
    cursor: help;
    float: left;
    margin: 3px 5px 0px 0;
    position: relative;
}

.help-tip:before{
    content:'?';
    font-weight: bold;
    color:#fff;
}

.help-tip:hover p{
    display:block;
    transform-origin: 100% 0%;

    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;
}

.help-tip p{    /* The tooltip */
    display: none;
    text-align: left;
    background-color: #1E2021;
    padding: 20px;
    width: 250px;
    height: auto;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    color: #FFF;
    font-size: 12px;
    line-height: 1.4;
    top: 150%;
    left: -60%;
    z-index: 10;
}

.help-tip p:before{ /* The pointer of the tooltip */
    position: absolute;
    content: '';
    width:0;
    height: 0;
    border:6px solid transparent;
    border-bottom-color:#1E2021;
    left:10px;
    top:-12px;
}

.help-tip p:after{ /* Prevents the tooltip from being hidden */
    width:100%;
    height:40px;
    content:'';
    position: absolute;
}

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% { 
        opacity:0; 
        transform: scale(0.6);
    }

    100% {
        opacity:100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% { opacity:0; }
    100% { opacity:100%; }
}

.copy {
    font-size: 12px;
}

a:link.copy, a:visited.copy, a:hover.copy {
    color: #000;
}

.havainto {
    width: 100%;
}


.havainto h5 {
    margin-top: 7px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 5px;
    border-bottom: 1px solid;
    border-bottom-color: #c0273c;
    text-align: left;
}

.map-text {
    margin-top: -10px;
    font-size: 12px;
    text-align: left;
}


@media (max-width: 767px) {
    .dirlogo {
    float: none;
    margin-right: 0;
    text-align: center;
    width: 100%;
    }
    .map {
    width: 100%;
    margin: 0 auto !important;
    text-align: center;
}
}

li.pager__item > a {
  color: #fff;
  background-color: #c0273c !important;
  border-bottom-color: #b00711 !important;
  font-weight: bold;
}