/* 
Theme Name: OpinKerfi
Text Domain: OpinKerfi
Version: 1.0
Description: Custom Theme for new Opin Kerfi site
Author: Patrick Puelmanns, Tansu Elias Iliyaz
Author URI: https://ok.is
*/
.elementor-nav-menu__text-align-center .elementor-nav-menu--dropdown .elementor-nav-menu a {
    justify-content: space-between!important;
}
.post-password-form {
margin-left:150px;  
color: black;
}

ul {
  list-style-type: none;
}

.long-word {
  word-break: break-word;
}

/* header menu */
.header {
  background-color: #00263c;
}
#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item
  > a.mega-menu-link {
  text-transform: none !important;
  font-family: 'Poppins' !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  outline: none;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-flyout
  ul.mega-sub-menu
  li.mega-menu-item
  a.mega-menu-link {
  font-family: 'Poppins' !important;
  padding: 10px 20px 10px 20px;
}

#mega-menu-wrap-primary
  #mega-menu-primary
  > li.mega-menu-item.mega-toggle-on
  > a.mega-menu-link {
  font-weight: bold;
  text-decoration: none !important;
}

#logo {
  height: 100px;
  width: auto;
}

/* main menu */
#topMenu,
#mainMenu {
  width: 100%;
}

#mainMenu {
  justify-content: center;
}

.top-nav {
  padding: 2% 5%;
  font-weight: 700;
}

.top-nav a {
  text-decoration: none;
  color: white;
}

.menu-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vefverslun {
  background-color: #ffcc00;
  border-radius: 10px;
  width: 135px;
  height: 35px;
  margin: 2% 5%;
  padding: 0;
}

.vefverslun a {
  color: black;
  font-weight: 700;
  text-decoration: none;
}

.vefverslun a:hover {
  text-decoration: underline;
}

/* header search */
#searchform {
  position: relative;
}

#searchbar {
  width: 200px;
  background-color: transparent;
  border-radius: 25px;
  border: 1px solid white;
  height: 45px;
  color: white;
}

#searchbar::placeholder {
  color: white;
  opacity: 1;
}

#searchsubmit {
  position: absolute;
  background-color: transparent;
  border: none;
  top: 7px;
  right: 10px;
}

#searchIcon {
  height: 25px;
  width: auto;
  line-height: 25px;
}

#loginIcon {
  height: 42px;
  width: auto;
  line-height: 42px;
  cursor: pointer;
  margin-left: 20px;
}

/* footer */
@media only screen and (max-width: 768px) {
  #menu-footer ul.elementor-nav-menu {
    align-items: center;
    flex-direction: column;
  }
}

/* form */
.with_frm_style input[type='text']::placeholder,
.with_frm_style input[type='password']::placeholder,
.with_frm_style input[type='email']::placeholder,
.with_frm_style input[type='number']::placeholder,
.with_frm_style input[type='url']::placeholder,
.with_frm_style input[type='tel']::placeholder,
.with_frm_style input[type='phone']::placeholder,
.with_frm_style input[type='search']::placeholder,
.with_frm_style select::placeholder,
.with_frm_style textarea::placeholder,
.frm_form_fields_style::placeholder,
.with_frm_style .frm_scroll_box .frm_opt_container::placeholder,
.frm_form_fields_active_style::placeholder,
.frm_form_fields_error_style::placeholder,
.with_frm_style .frm-card-element.StripeElement::placeholder,
.with_frm_style .chosen-container-multi .chosen-choices::placeholder,
.with_frm_style .chosen-container-single .chosen-single::placeholder {
  color: #ffcc00 !important;
}

.with_frm_style input[type='text'],
.with_frm_style input[type='password'],
.with_frm_style input[type='email'],
.with_frm_style input[type='number'],
.with_frm_style input[type='url'],
.with_frm_style input[type='tel'],
.with_frm_style input[type='phone'],
.with_frm_style input[type='search'],
.with_frm_style select,
.with_frm_style textarea,
.frm_form_fields_style,
.with_frm_style .frm_scroll_box .frm_opt_container,
.frm_form_fields_active_style,
.frm_form_fields_error_style,
.with_frm_style .frm-card-element.StripeElement,
.with_frm_style .chosen-container-multi .chosen-choices,
.with_frm_style .chosen-container-single .chosen-single,
.frm_style_formidable-style.with_frm_style
  .form-field
  input:not([type='file']):focus,
.frm_style_formidable-style.with_frm_style textarea:focus,
.frm_style_formidable-style.with_frm_style select:focus {
  border-top: unset !important;
  border-left: unset !important;
  border-right: unset !important;
  border-bottom: 1px solid #ffcc00 !important;
  background-color: transparent;
  border-radius: 0;
}

#field_iuxoa option {
  background-color: #ffffff00 !important;
  color: #ffcc00 !important;
}

#field_iuxoa {
  color: #ffcc00;
}

.elementor-nav-menu--dropdown {
  background: red;
}

/* staff search */
#starfsfolkTop,
#starfsfolkArea {
  display: none;
}

#search-staff {
  display: flex;
  width: 100%;
  border: none;
  position: relative;
  height: 50px;
  background: #fff;
  border-radius: 30px;
  color: #02263c;
  font-weight: 400;
  font-family: 'Poppins', Sans-serif !important;
  cursor: text;
  border: 2px solid #ffcc00;
  padding-left: 20px;
  padding-right: 20px;
}

input::placeholder {
  color: #ccc;
}

#starfsfolkTable .nafn {
  width: 30%;
}

#starfsfolkTable .starfsheiti {
  width: 40%;
}

#starfsfolkTable .netfang {
  width: 30%;
}

#starfsfolkTop {
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  color: #02263c;
  font-family: 'Poppins', Sans-serif !important;
  font-size: 14px;
  font-weight: 400;
}

#starfsfolkArea {
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

#starfsfolkTable .starf-person {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

#starfsfolkTable .person-result {
  background: #edf0f0;
  border-top: 0.3rem solid #fff;
  border-right: 0.3rem solid #fff;
  padding: 10px 0 10px 20px;
  font-family: 'Poppins', Sans-serif !important;
  font-size: 14px;
  font-weight: 400;
  color: #00263c8f;
  height: 100%;
  text-align: left;
}

input:focus {
  border-color: #6dd8ef;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset,
    0 0 8px rgba(102, 175, 233, 0.6);
  outline: 0 none;
}

@media only screen and (max-width: 768px) {
  #starfsfolkTop {
    display: none !important;
  }

  .starf-person {
    background: #edf0f0;
    border-top: 0.3rem solid #fff;
    border-right: 0.3rem solid #fff;
    padding: 10px 0 10px 20px;
    font-family: 'Poppins', Sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    color: #00263c8f;
    height: 100%;
    text-align: left;
    flex-direction: column !important;
  }

  #starfsfolkTable .person-result {
    background: transparent;
    border-top: unset !important;
    border-right: unset !important;
    width: 100%;
    padding: 5px 0;
  }
}

/* cookie consent */
.cky-notice .cky-title {
  font-family: 'Poppins', Sans-serif !important;
  font-size: 24px !important;
}

.cky-consent-bar button,
.cky-modal.cky-modal-open button,
.cky-consent-bar button,
.cky-modal.cky-modal-open button {
  border-radius: 30px !important;
}

/* employee testimonial slider */
@media only screen and (max-width: 767px) {
  .elementor-testimonial--layout-image_left .elementor-testimonial {
    align-items: center;
    justify-content: center;
    flex-flow: column-reverse !important;
  }

  .elementor-testimonial__image {
    margin-bottom: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /* .elementor-testimonial--layout-image_left .elementor-testimonial {
    align-items: center;
    justify-content: center;
    flex-flow: column-reverse !important;
  } */

  .elementor-66
    .elementor-element.elementor-element-37ae6c3d
    > .elementor-widget-container {
    padding: 0px 50px !important;
  }
}

/* +++++++++++++++++++++++++++++++++++ */
/*  */
/* burger menu */
/*  */
/* +++++++++++++++++++++++++++++++++ */

/* .light,
.light:after,
.light:before {
  color: #002339;
} */
/* dark */
/* .dark,
.dark:after,
.dark:before {
  color: white;
}

.open-burger-menu {
  margin: 10px;
  font-size: 30px;
  position: relative;
  bottom: 60px;
  left: 154px;
}
.close-burger-menu {
  margin: 40px 0 0 20px;
  color: #333;
  font-size: 30px;
  position: relative;
  left: 316px;
  bottom: 8px;
}

.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(230, 230, 230, 0.344);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-container.show {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  background: white;
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  overflow: scroll;
} */

/* within the menu wrapper */

/* .mobile-menu-wrapper {
  width: 100%;
  margin-top: 100px;
}
.mobile-menu-wrapper > h5 {
  color: #333;
  padding: 10px;
  font-size: 1.2rem;
}
.mobile-menu-wrapper > div {
  color: #333;
  font-size: 1.2rem;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}
.mobile-menu-wrapper > h5 > a {
  color: #333;
}

.sub-menu-items {
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}
.sub-menu-items > h5 {
  border-bottom: 2px #00263c solid;
  font-size: 1rem;
  padding: 5px;
  color: #00263c;
}
.sub-menu-items > ul > li {
  padding: 10px;
}
.sub-menu-items > ul > li > a {
  color: #333;
}

.sub-menu-items.show {
  opacity: 1;
  pointer-events: auto;
}
/* hiding the burger menu in desktop*/
/* @media (min-width: 768px) {
  #open {
    display: none;
  }
} */

/* Vefpostur login */
#vefposturLogin input.webmail-lookup__input {
  border-radius: 30px;
  border: 2px solid #fc0;
  height: 100%;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 20px;
  margin-right: 5%;
  width: 300px;
}

#vefposturLogin button.webmail-lookup__button {
  border: 2px solid #fc0;
  border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 20px;
  width: 250px;
}

#vefposturLogin button.webmail-lookup__button:hover {
  border-color: #00263c;
  background-color: #00263c;
  color: #ffcc00;
}

#vefposturLogin {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: row;
  width: 100%;
}

@media only screen and (max-width: 768px) {
  #vefposturLogin {
    align-items: center;
    flex-direction: column;
  }

  #vefposturLogin input.webmail-lookup__input {
    margin-right: 0;
  }

  #vefposturLogin button.webmail-lookup__button {
    margin-top: 10%;
  }

  .vefpostur-container {
    padding: 0 20px !important;
  }
}

/* prentlausnir image hot spot cards */
.hotspot-card {
  width: 300px;
  height: 350px;
  border-radius: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
  background-position: top;
  background-size: cover;
  padding: 25px;
  z-index: 10000;
  position: relative;
}

.hotspot-text {
  height: auto;
  width: 100%;
  white-space: normal;
}

.e-hotspot {
  z-index: 200 !important;
}

/* logo page images */
.gallery-item img {
  border: 0 !important;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15) !important;
}

/* newsletter signup */
#field_2kuwj_label {
  display: none !important;
}

.elementor-popup-modal .elementor {
  padding: 2.5rem !important;
}

.frm_style_formidable-style.with_frm_style .form-field {
  margin-bottom: 10px !important;
}

#elementor-popup-modal-8322 .dialog-widget-content {
  border-radius: 30px !important;
}

.with_frm_style .frm_form_fields > fieldset {
  padding: 0 !important;
}

.frm_style_formidable-style.with_frm_style
  #form_newsletter
  .frm_submit
  button:hover {
  background: #00263c !important;
  border-color: #00263c !important;
}

.frm_style_formidable-style.with_frm_style #form_newsletter .frm_submit button {
  font-weight: 600 !important;
  padding: 10px 30px !important;
}

.frm_style_formidable-style.with_frm_style #form_newsletter .frm_error_style {
  font-family: 'Arial', sans-serif !important;
  font-size: 18px !important;
}

@media only screen and (max-width: 768px) {
  .elementor-popup-modal .elementor {
    padding: 1rem !important;
  }
}

/* newsletter page */
#postlistContainer #field_2kuwj {
  border-bottom: 1px solid #00263c !important;
}

#postlistContainer
  .frm_style_formidable-style.with_frm_style
  #form_newsletter
  .frm_submit
  button:hover {
  background: white !important;
  border-color: white !important;
  color: #00263c !important;
}

#postlistContainer
  .frm_style_formidable-style.with_frm_style
  #form_newsletter
  .frm_submit
  button {
  background: #00263c !important;
  border-color: #00263c !important;
  color: #ffcc00 !important;
}

#postlistContainer .with_frm_style input[type='email'] {
  color: #00263c !important;
}
