:root{
  --theme-color:  #00aeef;
  --theme-secondary-color:  #40c2f3;
}
/* General typography */
.portlet-boundary_fi_kiha_content_web_portlet_ContentPortlet_ a {
  color: #00aeef;
}

.liferay-ddm-form-field-paragraph a,
.liferay-ddm-form-field-tip a {
  color: #00aeef;
}
.btn-primary
{ 
  color: #fff !important; 
  background-color: #00aeef !important;
  border-color: #00aeef !important;
}
.btn-primary a,
.btn-primary h1,
.btn-primary h2,
.btn-primary h3,
.btn-primary h4,
.btn-primary h5,
.btn-primary h6 {
  color: #fff !important;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #40c2f3; border-color: #40c2f3;
}
.btn.btn-big
{ background: #40c2f3; }

/* Utils */
.lukkari-color, .color--primary
{ color: #00aeef !important; }

.lukkari-hover:hover, , .hover--primary:hover
{ color: #00aeef !important; }

.lukkari-background-color, .bg--primary { 
  background-color: #00aeef !important; 
  color: #fff !important; 
}
.lukkari-background-color a .bg--primary a {
  color: #fff !important;
}

.lukkari-background-hover:hover, .hover-bg--primary
{ background-color: #00aeef !important; color: #fff !important; transition:all .2s}

.lukkari-border-color, .border-color--primary
{ border-color: #00aeef !important;}

.lukkari2-color, .color--secondary
{ color: #40c2f3 !important; }

.lukkari2-hover:hover, .hover--secondary:hover
{ color: #40c2f3 !important; }

.lukkari2-background-color, .bg--secondary
{ background-color: #00aeef !important; }

.lukkari2-border-color, .border-color--secondary
{ border-color: #40c2f3 !important; }

.lukkari3-color, .color--tertiary
{ color: #d9f3fd !important; }

.lukkari3-hover:hover, .hover--tertiary:hover
{ color: #d9f3fd !important; }

.lukkari3-background-color, .bg--tertiary
{ background-color: #d9f3fd !important; }

.lukkari3-border-color, .border-color--tertiary
{ border-color: #d9f3fd !important; }

.lukkari-quote
{ border-left: 4px solid #00aeef; }

.lukkari-quote:before
{ color: #00aeef; }

.lukkari-fill path
{ fill: #00aeef; }

.lukkari-notice 
{ background: #d9f3fd; padding: 25px; margin-bottom: 50px; }

.lukkari-lead 
{}

.heading--boxed {
  background: #d6d5d5; text-align: center; padding: 1rem 0; margin: 0; 
}

/* Sub navigation */
#main-content .portlet-navigation .list-menu ul li.selected > a {
  background-color: #00aeef !important;
}

#main-content .portlet-navigation .list-menu ul li.open a {
  border-left: 5px solid #00aeef !important;
}

/* Frontpage layout */
body.frontpage-scheme .hero-area .portlet-boundary {
  border-color: #00aeef !important;
}

/* Datepicker */
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
  background: #f6f6f6;
  color: inherit;
}
.multi-datepicker__highlight {
  border: 0px !important;
  border: 1px solid #00aeef !important;
}
.multi-datepicker__highlight a,
.multi-datepicker__highlight span {
  background-color: #00aeef !important;
  color: #fff !important;
}

.fotorama .fotorama__nav__frame.fotorama__active .fotorama__dot,
.fotorama .fotorama__nav__frame .fotorama__dot:hover
{ background-color: #00aeef !important; }

/* Pagination */
.pagination .page-item .page-link {
  color: inherit;
}
.pagination .page-item.active .page-link {
  color: #fff !important;
  background-color: #00aeef !important;
  border-color: #00aeef !important;
}

/* Events and News */
.event-view-portlet a,
.portlet-ambnews-article a {
  color: #00aeef;
}


.aui .form-control:focus,
.aui input[type="text"]:focus,
.aui input[type="password"]:focus,
.aui input[type="file"]:focus,
.aui textarea:focus,
.aui .textarea:focus,
.aui-field-input-text:focus
{ border-color: rgba(0,174, 239, 0.7); outline: 0; -webkit-box-shadow:  0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(250, 237, 226, 1.0); box-shadow:  0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(250, 237, 226, 1.0); }

.aui input[type="submit"],
.aui input[type="button"],
.aui input[type="reset"],
.aui button
{ background-color:  #00aeef; border-color:  #00aeef; font-family: 'Open Sans', Arial, Sans-serif;; }

.aui input[type="submit"]:hover,
.aui input[type="button"]:hover,
.aui input[type="reset"]:hover,
.aui button:hover
{ background-color: #1ab6f1; border-color: #1ab6f1; }

.aui input[type="submit"]:focus,
.aui input[type="button"]:focus,
.aui input[type="reset"]:focus,
.aui button:focus
{ background-color: #1ab6f1; border-color: #1ab6f1; }


/* Accordion */
.aui .ceremonies-nav#accordion .panel-collapse
{	background: #d9f3fd; }

.aui .ceremonies-nav#accordion .open-2 .panel-heading
{	background: #00aeef !important;	}


/* Bootstrap */
.aui .btn-primary
{ color: #fff; background-color: #00aeef; border-color: #40c2f3;
  background: -moz-linear-gradient(top,  #40c2f3 0%, #00aeef 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#40c2f3), color-stop(100%,#00aeef));
  background: -webkit-linear-gradient(top,  #40c2f3 0%,#00aeef 100%);
  background: -o-linear-gradient(top,  #40c2f3 0%,#00aeef 100%);
  background: -ms-linear-gradient(top,  #40c2f3 0%,#00aeef 100%);
  background: linear-gradient(to bottom,  #40c2f3 0%,#00aeef 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40c2f3', endColorstr='#00aeef',GradientType=0 );
}

.aui .btn-primary.disabled,
.aui .btn-primary[disabled],
.aui fieldset[disabled] .btn-primary,
.aui .btn-primary.disabled:hover,
.aui .btn-primary[disabled]:hover,
.aui fieldset[disabled] .btn-primary:hover,
.aui .btn-primary.disabled:focus,
.aui .btn-primary[disabled]:focus,
.aui fieldset[disabled] .btn-primary:focus,
.aui .btn-primary.disabled:active,
.aui .btn-primary[disabled]:active,
.aui fieldset[disabled] .btn-primary:active,
.aui .btn-primary.disabled.active,
.aui .btn-primary[disabled].active,
.aui fieldset[disabled] .btn-primary.active {
  background-color: #40c2f3; border-color: #40c2f3;
}


.aui .dropdown-menu > li > a:hover,
.aui .dropdown-menu > li > a:focus,
.aui .dropdown-submenu:hover > a,
.aui .dropdown-submenu:focus > a,
.aui .btn-primary:hover,
.aui .btn-primary:focus,
.aui .btn-primary:active,
.aui .btn-primary.active,
.aui .open .dropdown-toggle .btn-primary,
.aui .invisible-page .btn-primary
{ color: #fff !important; background-color: #00aeef; border-color: #00aeef; background-image: none; }

.aui .nav-tabs > li > a:hover
{ background: #00aeef; color: #fff; }

.aui .nav-tabs > li.active > a,
.aui .nav-tabs > li.active > a:hover,
.aui .nav-tabs > li.active > a:focus
{ color: #fff; cursor: default; background-color: #00aeef; border-bottom-color: transparent; }


/* Google Search Portlet  */
.aui #google-search-portlet input.gsc-search-button,
.aui #google-search-portlet input.gsc-search-button:hover,
.aui #google-search-portlet input.gsc-search-button:focus
{ background-color: #00aeef; border-color: #00aeef; }

.aui .gsc-cursor .gsc-cursor-current-page,
.aui .gsc-cursor .gsc-cursor-current-page:focus,
.aui .gsc-cursor .gsc-cursor-current-page:hover
{ background-color: #00aeef !important; border-color: #00aeef !important; }


/* General styles, layouts */
.aui .portlet-journal-content a,
.aui .places-portlet a,
.aui .event-portlet a,
.aui .content-portlet a,
.aui .entryContent a,
.contact-info__email a
{ color: #00aeef; font-weight: bold; }

.aui .alert-info
{ background-color:  #d9f3fd !important; border-color: #d9f3fd !important; color: #333333 !important; }

.aui .frontpage #column-2 .portlet-column-content
{ overflow: hidden; }

.aui .frontpage #column-2 .portlet-column-content .highlight-list-portlet .lift-item-container-wrapper
{ background: #eaeaea; padding: 10px; }

.aui .events #column-2 > .clearfix
{ background: #eaeaea; }


/* Share */
.aui .share .copy-url-icon:hover,
.aui .share .twitter-icon:hover,
.aui .share .googleplus-icon:hover,
.aui .share .facebook-icon:hover
{ background-color: #4b4b4b; }


/* Artikkelinosto */
.aui .lift-item-container .articles span
{ color: #00aeef; }


/* Sub navigation portlet */
.aui .nav-menu ul ul
{ border-bottom: 0; background: #eaeaea; padding-bottom: 10px; }

.aui .nav-menu li.selected
{ background: #00aeef; border: none; }

.aui .nav-menu li.selected.open
{ background: #00aeef; }

.aui .nav-menu li.open
{ background: $color6; padding-bottom: 0; }


@media (max-width: 767px) {
  .aui .nav-menu ul ul
  { border-bottom: 0; background: #fff; padding-bottom: 0; }

  .aui .nav-menu li.selected.open ul li
  { background: #d9f3fd; }

  .aui .nav-menu li.open
  { background: #fff; }
}

/*LINK LISTS */
/* Content-pick.ftl */
.content-pick__link
  { color: #00aeef; }  

.content-pick__link:hover
  { color: #00aeef; }  

.content-pick .ext-link:after
  { color: #40c2f3; }  

/* simple-list.ftl */
.simple-list__link
  { color: #00aeef; }  

.simple-list__link:hover
  { color: #00aeef; }  

.simple-list__link .ext-link:after
  { color: #40c2f3; }  

/* simple-list.with-icons.ftl  spesific */
.simple-list-with-icons .glyphicon
  { color: #40c2f3; }  


/* Main navi */
.aui .content-navigation
{ background: #00aeef; border-bottom: 6px solid #40c2f3; margin: 5px 0 0 0; padding: 0; float: left; width: 100%; }

.aui .content-navigation .selected,
.aui .content-navigation a:hover,
.aui .content-navigation .yui3-dd-dragging,
.aui .content-navigation .lfr-navigation-proxy
{ color: #fff; background-color: #40c2f3 !important; outline: 0; text-shadow: none; }

.aui .content-navigation a:focus
{ background-color: transparent; }


/* Fact navi */
.aui .fact-navigation a.selected, .fact-navigation a:hover
{ color: #00aeef !important; }


/* Navigation controls on mobile view */
.aui .navbar-toggle.btn-default:hover,
.aui .navbar-default .navbar-toggle:hover
{ background: #00aeef; border-color: #fff; color: #fff; }

.aui .search-toggle,
.aui .navbar-default .navbar-toggle
{ background: #00aeef; }


/* Pagination */
.aui .pagination > .active > a,
.aui .pagination > .active > span,
.aui .pagination > .active > a:hover,
.aui .pagination > .active > span:hover,
.aui .pagination > .active > a:focus,
.aui .pagination > .active > span:focus
{ z-index: 2; color: #ffffff; cursor: default; background-color: #00aeef !important; border-color: #00aeef !important; }


/* Notice */
.notice
{ background: #d9f3fd; padding: 25px; margin-bottom: 50px; }

/* Events */


.event-categories-list-small img
{ background: #4b4b4b; color: #fff; padding: .4rem; }

/*.event-categories-list-small img.current-day
{ background: #00aeef; }*/

.event-categories-list a.active .img-wrapper,
.event-categories-list a:hover .img-wrapper
{ background: #40c2f3 !important; }

/* Blogs */
.blog-article-content a {
  color: #00aeef;
  font-weight: bold;
}

/* Ceremonies and Single-Theme-Links-Highlight */
.aui .ceremonies-highlight a:hover div,
.aui .single-theme-links-highlight a:hover
{ background: #d9f3fd; }

.aui .thumbnail-highlight a.image-text-link:hover
{ border-color: #d9f3fd; }

.aui .frontpage-event-wrapper .event-item.current-day,
.aui .parish-event-wrapper .event-item.current-day
{ background: #d9f3fd; }

.aui .frontpage-event-wrapper .event-item.current-day:hover,
.aui .parish-event-wrapper .event-item.current-day:hover
{ background: #d9f3fd;-webkit-box-shadow: 0 1px 8px 0 #ccc; box-shadow: 0 1px 8px 0 #ccc; }

.aui .event-filter a
{ color: #00aeef; }

.aui .event-filter .show-event
{ background: #00aeef; padding: 4px 10px; color: #fff; }

.aui .event-filter .arrow-right
{ width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 15px solid #00aeef; }

.aui .parish-filter .show-event
{ background: #40c2f3; padding: 4px 10px; color: #fff; }

.aui .parish-filter .arrow-right
{ width: 0; height: 0; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 15px solid #40c2f3; }

.aui .url-copy-area
{ border-color: #00aeef; }

.aui .nav-tabs.event-tabs li
{ background-color: #eaeaea; }

.aui .nav-tabs.event-tabs li.active a,
.aui .nav-tabs.event-tabs li a:hover
{ background: #00aeef; }

.aui .tabs-wrapper
{ border-bottom: 6px solid #00aeef; margin-bottom: 15px; }

.aui .arrow-down
{ border-top: 12px solid #d9f3fd !important; }

.aui .arrow-down-2
{ border-top: 13px solid #40c2f3; }

.aui .group-link span
{ color: #00aeef !important; }

.aui .category-info.active a
{ color: #00aeef !important; }

.aui .event-categories-list
{ background: #d9f3fd; border: 1px solid #40c2f3; }

.aui .event-categories-list .img-wrapper img
{ max-width: 100%; background: #4b4b4b; }

.aui .event-categories-list a.active,
.aui .event-categories-list a:hover
{ color: #00aeef !important; }

.aui .event-categories-list a.active h2,
.aui .event-categories-list a:hover h2
{ color: #00aeef !important; }

.aui .event-categories-list .categories-filter
{ background: #d9f3fd; text-align: left; padding: 15px 20px; }

.aui .event-categories-list .categories-filter span
{ color: #00aeef; }

.aui .advanced-search .form-control.active
{ background: #d9f3fd !important; border: 1px solid #00aeef !important; }

.aui .event-signup-label { background: #00aeef; }

.aui .event-single a { color: #00aeef; font-weight: bold; }

/* Contact List */
.aui h3.letter
{ font-size: 200%; color: #00aeef !important; }

.aui .contact-list-portlet .info-description
{ display: none; padding-left: 15px; padding-right: 15px; border-left: 1px solid $color6; }

.aui .contact-list-portlet .collapse-info-btn
{ margin-top: 5px; color: #00aeef; cursor: pointer; font-weight: 600; font-size: 16px; }


/* Aluemenu */
.aui .aluemenu-toggle-close
{ position: absolute; right: 10px; background: #00aeef; color: #fff; border: none; top: 10px; height: 54px; width: 54px; border-radius: 0; z-index: 100; }

.aui .open-aluemenu-btn
{ font-family: "MarttiDisplay"; font-size: 86.7%; font-weight: bold; color: #fff; background-color: #00aeef; display: inline-block; margin-left: auto; margin-right: auto; border-bottom: 3px #00aeef solid; padding-left: 10px; padding-top: 3px; line-height: 2em; border-radius: 0px 0px 3px 3px; text-transform: uppercase; }

.aui .open-aluemenu-btn:hover, .open-aluemenu-btn:focus
{ background-color: #00aeef; border-bottom: 3px #00aeef solid; }

.aui .aluemenu-container .aluemenu-hide hr
{ background-color: #40c2f3; border-bottom: 3px #00aeef solid; }

.aui .aluemenu-container .highlight-list-portlet span
{ color: #00aeef; }

.aui .aluemenu-container .aluemenu-show
{ background-color: #eaeaea; border-bottom: 3px #00aeef solid; }


/* Contact Higlight Portlet // .contacts-highlight-portlet  */
.aui .contact-info .contact-info--email a,
.aui .contact-info .contact-info--mobile a,
.aui .contact-info .contact-info--phone a
{ color: #00aeef; }
.contact-info .contact-info__email,
.contact-info .contact-info__mobile {
  color: #00aeef;
}
.contact-info a {
  color: #00aeef;
  font-weight: bold;
}
.contact-info__department a {
  color: #111;
  font-weight: bold;
}
.contact-info__department-name a {
  color: #111;
  font-weight: bold;
}

/* Places */

.place-single__main a {
  color: #00aeef;
  font-weight: 700;
  transition: all .15s ease-in;
}

.place-single a:hover {
  text-decoration: underline;
}

.places-single__features svg.icon *[fill] {
  fill: #00aeef;
}

.places-single__features svg.icon *[stroke] {
  stroke: #00aeef;
}

.all-places__link a {
  color: #00aeef;
  font-weight: 700;
  transition: all .15s ease-in;
}

.all-places__link a:hover {
  text-decoration: underline;
}

/* Similar places */
.aui .places-similiar-portlet .similar-place:nth-child(2n)
{ border-left: 1px solid $color6; }

.aui .places-similiar-portlet .similar-place a:hover img
{ background: $color6; }

.aui .places-similiar-portlet .similar-place span
{ color: #00aeef; }


/* News portlet */
.aui .portlet-ambnews .portlet-ambnews-more span {
color: #00aeef; }

/* Language Selection Portlet */
#language-selection a { 
  color: #00aeef;
  font-weight: bold;
}

#language-selection .inline-hidden-xs {
  display: none;
}

/* Embedding -portlet  // .embedding-portlet */
.aui .embedding-portlet .icon-big:hover {
color: #00aeef; }

.aui .embedding-portlet #embed-editor-body .selected {
border: 1px dashed #ccc;
color: #00aeef;
padding: 12px 10px 8px 10px; }

/* Misc */
.aui .panel-default > .panel-heading.edited {
background-color: #00aeef;
border-color: #00aeef;
color: #fff; }

.aui .lukkari-gallery > a:active,
.aui .lukkari-gallery > a:focus,
.aui .lukkari-gallery > a:hover
{ background: #d9f3fd; -webkit-box-shadow: 0 1px 8px 0 #ccc; box-shadow: 0 1px 8px 0 #ccc; }


.aui .single-urban-parish-frontpage .contact-wrapper-highlight .lift-item  a h3 span,
.aui .single-urban-parish-frontpage .link-more a span { color: #00aeef; }

#main-content.dragging .portlet-column {
  border: 3px dashed #00aeef;
}


/* Tiles colors */
.aui #wrapper .tile:nth-child(odd) {
    background: #40c2f3;
}

.aui #wrapper .tile:nth-child(even) {
    background: #4b4b4b;
}
/*  */
.aui .tiles-wrapper .tiles .tile a span {
  color: #fff;
}
.aui .tiles-wrapper .tiles .tile a:hover span {
  color: #333;
}

@media (min-width: 768px) {

/* Main navigation */
.aui .main-navigation ul li {
	border-right: 1px solid #40c2f3;
}

.aui .main-navigation ul li:hover {
	background: #40c2f3;
	}
}

/* parish navigation desktop */
.parish-navigation .fas { background-color: #40c2f3 !important;}
.parish-navigation .nav-link { background-color: #00aeef !important; color: #fff;}
.parish-navigation ul .nav-link { background-color: transparent !important; color: #000;}
.parish-navigation ul li a { background-color: transparent !important; color: #000;}

@media (max-width: 767px) {
  .aui .content-navigation
  { margin: 0; }

  .aui .content-navigation li
  { border-bottom: 1px solid #40c2f3; }

  .aui .wrapper-content-navi
  { background: #00aeef; }

  .aui .sub-navi-button
  { background: #00aeef; }

  /* erillisosio-theme spesific */
  .aui .erillisosio-main-navigation .selected ul {
    background-color: #00aeef;
  }
}

/* Breadcrumbs */
.portlet-breadcrumb .breadcrumb li:not(.active) * {
  color: #00aeef;
}

.portlet-breadcrumb .breadcrumb li.active {
  color: #222;
}

.portlet-breadcrumb .breadcrumb a:hover {
  text-decoration: underline;
}

/** 
* vaalit 
*/
.kdrpQb{
  background-color: #00aeef !important;
}

.hVqjkU{
  color: #00aeef !important;
  fill: #00aeef !important;
}

.jrUYsB{
  background-color: #00aeef !important;
  border-color: #00aeef !important;
}

.crIMIZ.sc-dkzDqf{
  color: #00aeef !important;
}
.crIMIZ .sc-dkzDqf{
  color: #00aeef
}
.parish_union > .crIMIZ .sc-dkzDqf{
  color: white !important;
}

.bSLETF {
  color: #ffffff !important;
  background-color: #00aeef !important;
  border-color: #00aeef !important;
}