@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

html, body {
	margin: 0;
	color: #333333;
	background: #fff;
	font-family: sans-serif;
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body>.container {
    flex: 1;
}

header.etk-header {
    padding-bottom: 80px;
}
@media (max-width: 992px) {
    header.etk-header {
        padding-bottom: 0px;
        padding-top: 10px;
    }
}

header.etk-header img {
    min-width: 250px;
    max-width: 788px;
}

.login-link {
	text-align: right;
}

.vaativuustaso-image img:hover {
    cursor: pointer;
}

/* Add some space on top of modals */
.modal {
    margin-top: 20px;
}






/* ================================= Footer ================================= */

/* hide empowered by CiviCRM message */
.crm-public-footer {
    display: none;
}

.etk-footer {
    margin-top: 30px;
    background-color: #0356B5;
    color: white;
}

.etk-footer h3 {
    padding-bottom: 15px;
}

.etk-footer p {
    margin-top: -5px;
    font-size: 16px;
    line-height: 21px;
}

.etk-footer li a {
    line-height: 24px;
    font-size: 16px;
}

.etk-footer .copyright {
    font-size: 16px;
}

@media (max-width: 576px) {
    .etk-footer {
        margin-left: 0px;
        margin-right: 0px;
    } 
}

.etk-footer {
    background-color: #0356B5 !important;
}
  
footer h5 {
    font-size: 1.25rem;
    font-weight: bold;
}
  
footer p, footer ul, footer li, footer a {
    font-size: 1rem;
}
  
footer a:hover {
    text-decoration: underline;
}
  
.fa-brands {
    font: normal normal normal 1.5rem / 1 FontAwesome !important;
    font-size: 1.5rem;
}
  
.fa-brands:hover {
    color: #ddd;
}

.footer-links {
    text-decoration: underline;
}
  
footer ul {
    padding: 0;
}
  
footer ul li {
    list-style: none;
    margin-bottom: 0.5rem;
}
  







/* ================================= ETK Fonts ================================= */
body {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: normal !important;
	background-color: white;
    Size: 18px;
    line-height: 21px;
}

h1 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: bold !important;
    font-size: 42px !important;
    background-color: transparent !important;
    line-height: 52px;
}

h2 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: bold !important;
    font-size: 25px !important;
    background-color: transparent !important;
    line-height: 24px;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: bold !important;
    font-size: 22px !important;
    background-color: transparent !important;
    line-height: 24px;
}

h4 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: bold !important;
    font-size: 20px !important;
    line-height: 24px;
    background-color: transparent !important;
}

h5 {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: bold !important;
    font-size: 18px !important;
    line-height: 21px;
    background-color: transparent !important;
}

#wpadminbar a {
    font-family: Arial, sans-serif !important;
    font-weight: normal !important;
    font-size: 13px !important;
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 28px !important;
        line-height: 35px;
    }
    
    h2 {
        font-size: 25px !important;
        line-height: 35px;
    }

    h3 {
        font-size: 20px !important;
        line-height: 35px;
    }
}

a:not(#wpadminbar a) {
    text-decoration: none;
    color: #0356B5;
}

a:not(#wpadminbar a):hover {
    color: #03407C;
}





/* ================================= ETK Buttons ================================= */
.etk-button-white {
    font-size: 16px;
    padding: 12px 40px;
    background-color: white; 
    border-radius: 0px;
    color: #0356B5 !important;;
    border: 1px solid #0356B5;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}
@media (max-width: 767px) {
    .etk-button-white {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

.etk-button-white:hover {
    background-color: #0356B5; 
    color: white !important;;
}

.etk-button-blue {
    font-size: 16px;
    padding: 12px 40px;
    background-color: #0356B5; 
    border-radius: 0px;
    color: white !important;
    border: 1px solid #0356B5;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}
@media (max-width: 767px) {
    .etk-button-blue {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

.etk-button-blue:hover {
    background-color: #03407C; 
    color: white !important;
}


.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-back,
.CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-back,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-back {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 15px;
    padding: 12px 40px;
    background-color: white; 
    border-radius: 0px;
    color: #0356B5 !important;;
    border: 1px solid #0356B5;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-shadow: none;
}
@media (max-width: 767px) {
    .CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-back,
    .CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-back,
    .CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-back {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-back:hover,
.CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-back:hover,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-back:hover {
    background-color: #0356B5; 
    color: white !important;;
}


.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-next,
.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-upload,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-next,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-upload,
.CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-next {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-size: 15px;
    padding: 12px 40px 10px 40px;
    background-color: #0356B5; 
    border-radius: 0px;
    color: white !important;
    border: 1px solid #0356B5;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-shadow: none;
}
@media (max-width: 767px) {
    .CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-next,
    .CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-upload,
    .CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-next,
    .CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-upload,
    .CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-next {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-next i,
.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-upload i,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-next i,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-upload i,
.CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-next i,
.CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-back i {
    display: none;
}

.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-next:hover,
.CRM_Event_Form_Registration_Register #crm-submit-buttons .crm-button-type-upload:hover,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-next:hover,
.CRM_Event_Form_Registration_AdditionalParticipant #crm-submit-buttons .crm-button-type-upload:hover,
.CRM_Event_Form_Registration_Confirm #crm-submit-buttons .crm-button-type-next:hover {
    background-color: #03407C; 
    color: white !important;
}


.etk-event-button {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 8px 15px;
    background-color: #0356B5; 
    border-radius: 0px;
    color: white !important;
    border: 1px solid #0356B5;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a.etk-event-button {
    color: white !important;
}

.etk-event-button:hover {
    background-color: #03407C;
}

.etk-filter-button {
    font-size: 16px;
    padding: 10px 25px;
    background-color: white;
    border-radius: 0px;
    color: #0356B5 !important;
    border: 1px solid #0356B5;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-right: 10px;
}
@media (max-width: 576px) {
    .etk-filter-button {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.etk-filter-button:hover {
    background-color: #0356B5; 
    color: white !important;
}

.etk-filter-button.active {
    background-color: #0356B5; 
    color: white !important;
}

.btn {
    font-size: 14px;
    line-height: 12px;
    padding: 8px 13px;
    background: transparent;
    color: #333;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border: 1px solid #02b7fa;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 12px;
    -webkit-border-top-left-radius: 12px;
    -webkit-border-top-right-radius: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -webkit-border-bottom-left-radius: 12px;
    -moz-border-radius-topleft: 12px;
}

.btn-primary:hover {
    background: #02b7fa;
    border: 1px solid #02b7fa;
}

#event-buttons {
    text-align: right;
    margin-top: -120px;
    margin-bottom: 50px;
}
@media screen and (max-width: 992px) {
    #event-buttons {
        text-align: left;
        margin-top: 40px;
        margin-bottom: 15px;
    }
}

#etk-calendar-button {
    border-radius: 0px;
    background: white;
    color: #0356B5 !important;
    border: 1px solid #0356B5;
    font-weight: bold;
    padding: 12px 12px;
}

#etk-calendar-button:hover {
    background: #0356B5;
    color: white !important;
}






/* =========================== ETK Visuals for events ========================== */
#map {
    height: 100%;
    height: 500px;
}

/* Hide radio select reset button */
.crm-clear-link {
    display: none !important;
}

/* remove civicrm padding */
.crm-container h3 {
    padding: 0px !important;
}

.etk-title-border {
    border-bottom: 2px solid #0356B5;
    padding-bottom: 10px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    width: 100%;
}

.event-info-contact-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}

.event-ask-more-container {
    margin-bottom: 50px;
}

.event-ask-more-email {
    text-decoration: underline;
    font-size: 18px;
}

.event-equal-height-columns {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.event-equal-height-columns .d-flex.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 12px 8px;
}

.event-equal-height-columns .etk-event-info-block {
    background: #F7F7F7;
    border: 1px solid #E6EEF8;
    padding: 20px;
    height: 100%;
}

.crm-section.crm-socialnetwork {
    margin-top: 30px !important;
    background-color: #E6EEF8;
    border: 1px solid #0356B5;
    padding: 10px;
}

.crm-section.crm-socialnetwork button {
    background: #0356B5;
    border-color: #03407C;
    padding: 5px 10px;
}
@media screen and (max-width: 500px) {
    .crm-section.crm-socialnetwork button {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

.crm-section.crm-socialnetwork p.clear {
    word-break: break-all;
}

.crm-section.crm-socialnetwork button:hover {
    background: #03407C;
}

.crm-container .help, .crm-container #help {
    background-color: #E6EEF8 !important;
    border: none !important;
    font-size: 17px !important;
    padding: 25px !important;
}

.event-top-info {
    margin: 30px 0px 0px 0px;
    background: #E6EEF8;
    padding: 15px;
}

.event-top-info .fas,
.event-participant-count .fas {
    color: #0356B5;
    font-size: 1rem;
    padding-right: 5px;
}

.event-top-info .event-item {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 18px;
}
@media screen and (max-width: 1420px) {
    .event-top-info .event-item {
        font-size: 16px;
    }
}
@media screen and (max-width: 1200px) {
    .event-top-info .event-item {
        text-align: left;
    }
}
@media screen and (min-width: 1200px) {
    .event-top-info .event-item:not(:last-child) {
        border-right: 1px solid #0356B5;
    }
}

.etk-event-page-description {
    padding-top: 10px;
    padding-bottom: 20px;
}

.etk-event-page-description .col-md-6 {
    padding-top: 20px;
}

.etk-event-page-description p {
    font-size: 18px;
}

.etk-event-page-description img {
    width: 100%;
}

.crm-container .status {
    background-color: #E6EEF8 !important;
    border: none !important;
    font-size: 17px !important;
    padding: 25px !important;
}

.crm-container .status p {
    margin-bottom: 0px !important;
}

.event-info-contact-fields span {
    font-size: 18px !important;
    line-height: 24px !important;
}

.event-info-contact-fields span.contact-fields-name {
    font-size: 18px !important;
}

.event-info-expert-block {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.event-info-contact-fields span.contact-fields-employer {
    font-size: 15px !important;
}

.CRM_Event_Form_Registration_Register .crm-profile legend,
.CRM_Event_Form_Registration_AdditionalParticipant .crm-profile legend {
    display: none;
}


.CRM_Event_Form_Registration_Register .crm-profile div.crm-section .label,
.CRM_Event_Form_Registration_AdditionalParticipant .crm-profile div.crm-section .label {
    text-align: left;
    font-size: 16px !important;
}

select#additional_participants {
    border-radius: 0px !important;
}

.CRM_Event_Form_Registration_Register .crm-profile div.crm-section .content input[type="text"],
.CRM_Event_Form_Registration_AdditionalParticipant .crm-profile div.crm-section .content input[type="text"] {
    border-radius: 0px !important;
    width: 500px;
}

.CRM_Event_Form_Registration_Register div.crm-section .content .help,
.CRM_Event_Form_Registration_AdditionalParticipant div.crm-section .content .help {
    margin-top: 20px;
}

.CRM_Event_Form_Registration_Register .crm-profile div.crm-section .content textarea,
.CRM_Event_Form_Registration_AdditionalParticipant .crm-profile div.crm-section .content textarea {
    border-radius: 0px !important;
    width: 512px;
    padding: 8px 5px 5px 5px;
    min-height: 40px;
    overflow: hidden;
}

.CRM_Event_Form_Registration_Register .crm-profile div.crm-section .crm-marker,
.CRM_Event_Form_Registration_AdditionalParticipant .crm-profile div.crm-section .crm-marker {
    padding-left: 4px;
}

.editrow_custom_298-section span {
    display: none;
}

.crm-container fieldset {
    border: none !important;
}

#register-required-fields-info {
    padding-bottom: 5px;
    padding-top: 15px;
}

@media (max-width: 767px) {
    .event-info .crm-actionlinks-bottom {
        padding-bottom: 90px;
    }
}

.crm-container .crm-section .content {
    font-size: 16px !important;
}

@media (max-width: 1000px) {

    .crm-container .crm-section .label {
        width: 100% !important;
        margin-left: 0px !important;
        text-align: left !important;
        clear: both !important;
    }

    .crm-container .crm-section .content {
        margin-left: 0px !important;
        clear: both !important;
    }

    .CRM_Event_Form_Registration_Register .crm-profile div.crm-section .content textarea,
    .CRM_Event_Form_Registration_AdditionalParticipant .crm-profile div.crm-section .content textarea {
        width: 97%;
    }

    .CRM_Event_Form_Registration_Register .crm-profile div.crm-section .content input[type="text"],
    .CRM_Event_Form_Registration_AdditionalParticipant .crm-profile div.crm-section .content input[type="text"] {
        width: 95%;
    }
}

.card-event-difficulty {
    border: 1px solid gray;
    border-radius: 8px;
    padding: 5px 15px;
    margin-bottom: 10px;
    margin-right: 3px;
    font-size: 15px;
    display: inline-block;
}

.card-event-difficulty img {
    margin-right: 6px;
    margin-left: -7px;
}

.card-event-type {
    border: 1px solid gray;
    border-radius: 8px;
    padding: 5px 15px;
    margin-bottom: 10px;
    margin-right: 3px;
    font-size: 15px;
    display: inline-block;
    text-transform: capitalize;
}

/*
.card-event-type-1 {
    background-color: #a199db;
    border-color: #a199db;
}

.card-event-type-2 {
    background-color: #b999db;
    border-color: #b999db;
}

.card-event-type-3 {
    background-color: #9ae2fd;
    border-color: #9ae2fd;
}

.card-event-type-4 {
    background-color: #9fdb99;
    border-color: #9fdb99;
}

.card-event-type-5 {
    background-color: #db99ce;
    border-color: #db99ce;
}

.card-event-type-6 {
    background-color: #99dbc1;
    border-color: #99dbc1;
}

.card-event-type-7 {
    background-color: #fdca9a;
    border-color: #fdca9a;
}

.card-event-type-8 {
    background-color: #db9999;
    border-color: #db9999;
}
*/

.event-page-card-labels {
    padding-bottom: 30px;
}

.event-page-title {
    padding-bottom: 10px;
}

.event-confirmation-event-info {
    background: #F7F7F7;
    border: 1px solid #E6EEF8;
    border-radius: 0px;
    padding: 20px;
}

.event-confirmation-event-info .event-item {
    padding-top: 10px;
    padding-bottom: 10px;
}

.event-confirmation-event-info .event-item span {
    padding-left: 8px;
}

#event-map-location-text {
    text-decoration: underline;
    cursor: pointer;
    color: #0356B5;
}

.asiantuntijat-section.hide-empty-data {
    display: none !important;
}


/* ============================= Event Breadcrumbs ============================= */
/* Basic styling for the breadcrumb container */
.breadcrumb {
    font-family: "Source Sans Pro";
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-bottom: 20px;
}

.breadcrumb-link {
    color: #0356B5 !important;
    text-decoration: underline !important;
}

.breadcrumb-link:hover {
    color: #03407C !important;
}

.breadcrumb-separator {
    font-size: 22px;
    color: #333;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}





















/* =============================== Print styling =============================== */
/* Hide CiviCRM default print button */
#printer-friendly {
    display: none;
}

/* override styles when printing */
@media print {
    #etk-event-table thead th {
        font-size: 15px;
    }

    .vaativuustaso {
        display: none !important;
    }

    .etk-event-name td {
        font-weight: normal !important;
    }

    img {
        display: none !important;
    }

    button {
        display: none !important;
    }

    .crm-button {
        display: none !important;
    }

    .has-search {
        display: none !important;
    }

    a {
        text-decoration: none !important;
        color: #333 !important;
    }

    .login-link {
        display: none;
    }

    #map {
        display: none !important;
    }

    .help {
        display: none !important;
    }
}