
/*********************************************************************************************************
// Global
**********************************************************************************************************/

body {
  font: 14px Arial, sans-serif;
  background-color: #00b0bd;
  margin: 0;
  padding: 0;
  position: relative;
}
a {
  text-decoration: none;
}
p {
  margin: 0;
}
.clearfix::after { 
    content: "."; 
    visibility: hidden; 
    display: block; 
    height: 0; 
    clear: both;
 }

/* Input fileds */
.input_field {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  text-align: center;
  width: 100%;
  height: 3.5rem;
  font-size: 1.2rem;
  border-radius: 1.75rem;
  border-color: transparent;
  border-width: 1px;
  padding: 0;
}
.input_field:invalid { /* Mozzila, clear default red box-shadow on input validation */
    box-shadow: none;
}
.input_field::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8a8b8e;
    opacity: 1; /* Firefox */
}

.input_field:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #8a8b8e;
}

.input_field::-ms-input-placeholder { /* Microsoft Edge */
    color: #8a8b8e;
}
.input_field[disabled] {
  opacity: 0.5;
}
.input_field:focus,
.btn:focus {
  outline: none;
}
.input_field.input_field_large {
  margin: 1.2rem 0;
}
.input_field_small {
  width: 143.5px;
  display: inline-block;
}
input.input_field.input_field__left {
    margin-right: 17px;
    margin-left: -2px;
}
input.input_field.input_field__right {
    margin-right: -16px;
}
@media screen and (max-width: 460px) {
    .input_field.input_field_small {
        width: 110px;
    }
    input.input_field.input_field__right {
        margin-right: -5px;
    }
    input.input_field.input_field__left {
        margin-right: 14px;
    }
}
label {
  font-size: 1rem;
}

/* Buttons */
button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
} 
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.75rem;
  border-color: transparent;
  border-width: 1px;
  cursor: pointer;
}
.btn.btn_large {
     width: 100%;
     height: 3.5rem;
     font-size: 1.2rem;
     margin: 1.2rem 0;
}
.btn.btn_medium {
    width: 100%;
    height: 40px;
    font-size: 1.2rem;
    margin: 1.2rem 0;
}
.btn.btn_small {
  display: inline-flex;
  width: 143.5px;
  min-height: 40px;
  font-size: 1rem;
  margin: 0.4rem 0;
  vertical-align: middle;
}
@media screen and (max-width: 460px) {
  .btn.btn_small {
    width: 110px;
  }
}
.btn.color-yellow {
  background-color: #ffc80a;
  color: black;
}
.btn.color-blue {
    background-color: #5284ec;
    color: white;
}
.btn.color-purple {
  background-color: #0098c6;
  color: white;
}
.btn.color-red {
  background-color: #e54233;
  color: white;
}
.btn.color-red:hover {
  background-color: white;
  color: #00b0bd;
}
.btn.color-transparent {
  background-color: transparent;
  color: white;
}
.btn.color-transparent:hover {
  background-color: white;
  color: #00b0bd;
}
.btn.border {
  border: 1px solid white;
}
.google-sign-in-icon {
    background-image: url('../img/google_sign-in-white.png');
    background-color: transparent;
    background-size: cover;
    background-position: center;
    height: 20px;
    width: 20px;
    vertical-align: -3px;
    margin-right: 7px;
}
.btn.color-red:hover .google-sign-in-icon {
  background-image: url('../img/google-sign-in.png');
}

/* Screen container, header and footer */
.screen_container {
  position: relative;
  width: 85%; 
  max-width: 1280px;
  min-width: 280px;
  margin: 2rem auto;
  padding: 0 0.5rem;
}
.screen_container.menu-visible {
    position: fixed;
    z-index: 0;
}
header {
    position: relative;
    z-index: 1;
}
.screen_container header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.app_logo {
  width: 160px;
  position: relative;
  top: -10px;
}
.app_logo > img {
  width: 100%;
}
.info-pages__footer {
  text-align: center;
}
.info-pages__footer img {
  width: 200px;
}
footer {
    position: relative;
}
footer nav {
    width: fit-content;
    margin: auto;
    padding-top: 30px;
    text-align: center;
}
footer nav > a {
    margin: 15px;
    color: black;
}

/* Language switcher */
.language-switcher {
  float: right;
}
.language-switcher > a,
.language-switcher > span {
  color: black;
}
.language-switcher > .language-active {
  color: white;
}
span.language_switcher_divider {
    margin: 0 7px;
    color: grey;
}

/* Top links and fly out menu */
.hamburger-menu {
  width: 28px;
  height: 21.17px;
  background-color: transparent;
  background-image: url('/img/menu.svg');
  background-size: contain;
  border: none;
  cursor: pointer;
  outline: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu {
    display: none;
}
.mobile-menu a {
    display: block;
    text-align: left;
}
.mobile-menu a:hover {
    background-color: #0098c6;
}
.mobile-menu > nav > a {
    margin: 0;
}
.mobile-menu-header {
    width: 70%;
    margin: auto;
    padding-top: 32px;
    text-align: center;
}
.mobile-menu-header > .user-card-name {
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
}
.mobile-menu-header > .card-img-top {
    width: 45%;
}
.mobile-menu-header > * {
    margin-top: 32px;
}
.mobile-menu-header > .user-card-name {
    color: white;
    font-size: 36px;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    margin-top: 70px;
    margin-left: 55px;
}
.mobile-menu-links a {
    color: black;
    font-size: 28px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 28px;
}
.mobile-menu-links .language-active {
    color: #ffc80a;
}
.close-mobile-menu {
    float: right;
    margin-right: 5px;
    margin-top: 1.5rem;
}
.close-mobile-menu > button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}
.close-mobile-menu > button > img {
    width: 25px;
}

/* Page title */
.page__page-title {
  margin-top: 1.5em;
  margin-bottom: 1.2em;
  text-align: center;
  font-size: 3rem;
  color: white;
}

/* Validation error message */
.validation_error_message {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    height: 3.5rem;
    border-radius: 1.75rem;
    background-color: #e54233;
    border: 2px solid white;
    color: white;
    margin: 1.2rem 0 0 0;
    font-size: 20px;
}

/**********************************************************************************************************
// Media queries
*/
@media screen and (max-width : 1370px) {
    .screen_container {
        width: 95%;
    }
}
@media screen and (max-width: 786px) {
    .top_links {
        display: none;
    }
    .language-switcher {
        float: none;
    }
    .language_switcher_divider {
        display: none;
    }
    .app_logo {
        top: 0;
        order: 2;
    }
    .hamburger-menu {
        display: block;
        order: 1;
    }
    .mobile-menu {
        display: block;
        position: absolute;
        z-index: 2;
        flex-direction: column;
        align-content: left;
        left: -88vw;
        top: 0;
        width: 80vw;
        min-height: 100vh;
        background-color: #00b0bd;
        transition: left 0.4s;
    }
    .mobile-menu.menu-visible {
        left: -8px;
    }
    .mobile-menu-overlay {
        position: fixed;
        z-index: 1;
        background-color: black;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s;
    }
    .mobile-menu-overlay.menu-visible {
        visibility: visible;
        opacity: 0.6;
    }
}
@media screen and (max-width: 595px) {
    .screen_container {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}
@media screen and (max-width: 420px) {
    footer nav {
        width: 300px;
        height: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
}


/*********************************************************************************************************
// Wellcome page
**********************************************************************************************************/
.wellcome_page__content_container {
  width: 85%;
  min-width: 750px;
  margin: auto;
}
.wellcome_page__main_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  
  margin-bottom: 8.5em;

  color: white;
}
.wellcome_page__main_container p {
  font-size: 20px;  
}
.wellcome_page__app_image_and_description {
  width: 50%;
  max-width: 480px;
  min-width: 250px;
}
.wellcome_page__app_image_and_description img {
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 5rem;
  padding-bottom: 1.5rem;
  width: 100%;
}
.wellcome_page__text_below_image {
    font-size: 20px;
}
.wellcome_page__gap {
  width: 8%;
}
.wellcome_page__sign_in_form {
  width: 360px;
  min-width: 205px;
  align-self: flex-end;
}
.wellcome_page__sign_in_form a {
  color: white;
  font-size: 16px;
}
.wellcome_page__sign_in_form__sign_up {
  text-align: center;
  margin-top: 1rem;
}
.wellcome_page__footer {
  position: absolute;
  top: 10px;
    right: 0;
  text-align: right;
  color: white;
}
p.wellcome_page__form_label {
  text-align: center;
  font: 14px Arial, sans-serif;
}
.wellcome_page__form_input_wrapper {
  max-height: 0;
  overflow: hidden;
}
.input_wrapper_animation {
  -webkit-transition: max-height 0.25s ease-in;
  -o-transition: max-height 0.25s ease-in;
  transition: max-height 0.25s ease-in;
}
.wellcome_page__button_login {
  display: none;
}
.wellcome_page__form_button_wrapper .btn.btn_large {
  margin: 1.2rem auto;
  width: 60%;
  font-size: 1rem;
}
.brought_to_you_by {
  display: inline-block;
  white-space: pre;
}
.brought_to_you_by img {
  margin-left: 15px;
  position: relative;
  top: 7px;
  width: 98px;
}

/**********************************************************************************************************
// Media queries
*/
@media screen and (max-width: 1279px) {
    .wellcome_page__sign_in_form {
        width: calc(88% - 450px);
    }
}
@media screen and (max-width: 1050px) {
  .wellcome_page__main_container {
    margin-bottom: 6rem;
  }
  .wellcome_page__content_container {
    width: 100%;
    min-width: 304px;
  }
}
@media screen and (max-width: 915px) {
  .wellcome_page__content_container {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
  }
  .wellcome_page__main_container {
    margin-bottom: 3rem;
  }
  .wellcome_page__app_image_and_description,
  .wellcome_page__sign_in_form {
    width: 100%;
    min-width: 304px;
  }
  .wellcome_page__sign_in_form {
    margin-top: 20px;
  }
  .wellcome_page__gap {
    display: none;
  }
  .wellcome_page__sign_in_form__sign_up {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    height: 3rem;
  }
  .wellcome_page__footer {
    float: none;
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    flex-wrap: wrap;
    margin-top: -10px;
  }
  .send-to-friend-card-social-share-buttons {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
  }
  .wellcome_page__footer .brought_to_you_by {
      left: 0;
      margin-left:0;
  }
  .wellcome_page__footer .brought_to_you_by img {
      display: block;
      transform: scale(1.3);
  } 
} 
@media screen and (max-width: 595px) {
  .wellcome_page__footer {
    justify-content: center;
  }
  .page__page-title {
      font-size: 2rem;
  }
  .wellcome_page__content_container {
    width: 100%;
  }
  .wellcome_page__app_image_and_description > img {
      padding: 0 0 35px 0;
  }
}


/*
// Dashboard page
*/
.sign_out_link {
  float: right;
  color: black;
  margin-left: 2rem;
}
.dashboard_page__content_container {
  width: 90%;
  margin: auto;
}
.dashboard_page__wellcome_message {
  margin-top: 1em;
  margin-bottom: 1.2em;
  text-align: center;
  font-size: 3rem;
  color: white;
}
.dashboard_page__main_container {
  height: 35rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;

  color: black;
}
.flex-address-container {
    height: 34rem;
}
.card {
  width: 350px;
  border-radius: 15px 15px;
  background-color: white;
  margin-left: 16px;
  margin-right: 16px;
}
.card * {
  text-align: center;
}
.card-content-box {
  padding: 20px;
}
.user-card {
  height: 18rem;
  margin-bottom: 32px;
}
.add_address_button {
    width: 45px;
    margin-top: 10px;
}
.edit-adress-card {
    height: 25rem;
    margin-bottom: 32px;
}
.adress-card {
    align-self: top;
}
.adress-card--hidden {
    display: none;
}
.adress-card:not(.adress-card--hidden) + .adress-card {
    margin-top: 32px;
}
#empty-adress.card {
    cursor: default;
}
.card-img-top {
  width:80px;
  border-radius: 50% 50%;
}
.user-card-email {
  margin-bottom: 30px;
}
.send-to-friend-card {
  height: 15rem;
}
.send-to-friend-card-title {
  margin: 0 0 25px 0;
}
.send-to-friend-card-main-buttons {
  margin-top: 20px;
}
.send-to-friend-card-social-share-buttons {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  text-align: left;
}
.send-to-friend-card-social-share-buttons  * {
  text-align: left;
}
.fb-share-button {
    margin-right: 10px;
}
.adress-card-title {
  margin: 0 0 0.5rem 0;
}
.new-adress-card {
    display: none;
}
.edit-adress-card {
  display: none;
}
.adress-remove-edit-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
.adress-card-adress {
  color: grey;
}
.gmap_holder {
  margin-top: 15px;
  overflow: hidden;
}
.google-map-img {
  width: 100%;
}
.input_field_dashboard {
  border: 1px solid rgb(84, 83, 83);
  margin: 0.5rem 0;
  font-size: 1rem;
    height: 40px;
}
@media screen and (max-width: 871px) {
    .input_field_dashboard {
        height: 40px;
    }
}
.card .address_input_field_notice {
    display: block;
    text-align: left;
}
.street-number-fieldset,
.edit-street-number-fieldset {
  border: none;
  padding: 0;
  margin: 0;
    position: relative;
}
.street-number-fieldset[disabled] > *,
.edit-street-number-fieldset[disabled] > * {
  opacity: 0.5;
}
#edit-adress-form-title {
  margin: 0;
}
.checkbox_container {
    position: relative;
    left: -10px;
}
@media screen and (max-width: 460px) {
    .checkbox_container {
        width: 120px;
        left: -7px;
    }
}
input[type="checkbox"] {
  visibility: hidden;
}
.checkbox_label {
    position: relative;
    left: -25px;
    cursor: pointer;
}
.check_marker {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    color: white;
    margin-right: 20px;
}
.checkbox_label::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -8px;
  width: 1.8rem;
  height: 1.8rem;
  background-color: white;
  border: 2px solid #0098c6;
  border-radius: 7px 7px;
  cursor: pointer;
}
.input_checkbox_checked + .checkbox_label::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -8px;
  width: 1.8rem;
  height: 1.8rem;
  background-color: #0098c6;
  border-radius: 7px 7px;
  cursor: pointer;
}
.dashboard_submit_form_buttons {
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
}
button[disabled] {
  opacity: 0.5;
  cursor: initial;
}
.add-adress-button {
  margin-top: 57px;
}
.dashboard_page__footer {
  margin-top: 100px;
}
.dashboard_page__footer > nav {
  width: 180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
}
.dashboard_page__footer > nav > a {
  color: black;
}

/*
// Media queries
*/
@media screen and (max-width : 1500px) {
    .dashboard_page__content_container {
        width: 100%
    }
} 
@media screen and (max-width : 1190px) {
  .dashboard_page__main_container {
    height: 55rem;
    width: 800px;
    margin: auto;
    align-items: center;
  }
  .flex-address-container {
      height: auto; 
  }
  .card {
    margin-bottom: 32px;
  }
} 
@media screen and (max-width : 871px) {
    .dashboard_page__main_container {
      height: auto;
      width: 400px;
      margin: auto;
      align-items: center;
    }
    .user-card {
      margin-bottom: 0;
    }
    .card {
      margin-bottom: 10px;
    }
    .send-to-friend-card {
      height: 18rem;
    }
    .new-adress-card {
      height: 25rem;
    }
    .edit-adress-card {
      height: 26rem;
    }
    .dashboard_page__footer {
      margin-top: 50px;
    }
  }
@media screen and (max-width: 786px) {
.sign_out_link {
    float: none;
    color: black;
    margin-left: 0;
  }
}
@media screen and (max-width : 460px) {
    .dashboard_page__content_container {
        width: 100%;
    }
    .dashboard_page__main_container {
        width: 280px;
    }
    .card {
        width: 280px;
    }
    .checkbox_label {
        font-size: 12px;
        left: -15px;
    }
    .input_checkbox_checked + .checkbox_label::after {
        top: -12px;
    }
    .dashboard_page__wellcome_message {
        font-size: 2rem;
    }

} 



/*
// Sign up page
*/
.sign_up__form_container {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 150px;
}

/*
// Media queries
*/
@media screen and (max-width: 786px), screen and (min-width: 787px) and (max-aspect-ratio: 1/1) {
    .sign_up__form_container {
        margin-bottom: 70px;
    }
}
@media screen and (max-width: 410px) {
    .sign_up__form_container {
        width: 300px;
    }
}


/*
// Info pages
*/
.info_pages__content_container {
  width: 70%;
  min-width: 55rem;
  margin: auto;
  color: white;
}
.info_pages__main_container {
  margin-bottom: 5em;
}
.info_pages__paragraph {
  margin-bottom: 1em;
}
.FAQ__top-margin {
  margin-top: 2em;
}
.info_pages__main_container a {
  color: white;
  font-weight: bold;
}
.info_pages__main_container li {
  margin-bottom: 0.5em;
}
/*
// Media queries
*/
@media screen and (max-width: 1050px) {
  .info_pages__main_container {
    margin-bottom: 6rem;
  }
  .info_pages__content_container {
    width: 100%;
    min-width: 304px;
  }
}


/*
// Forgot password - enter email form
*/
.forgot_password_page__form {
    width: 360px;
    margin: auto;
}


/*
// Notice page
*/
.notice_page__container header {
    justify-content: center;
}
.notice-title {
    font-size: 2rem;
    font-weight: bold;
    color: #124767;
}
.notice_page__container .iskljucenja_logo {
    width: 35%;
    margin: 40px auto;
}
.notice {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}
.notice_page__footer {
    display: flex;
    justify-content: space-between;
}
.cr_logo {
    width: 150px;
}
.notice_page__container .iskljucenja_graphic {
    width: 60%;
    opacity: 0.5;
    margin: 30px auto;
}
.notice_page__container .iskljucenja_graphic img {
    width: 100%;
    opacity: 0.5;
}
.notice_page__footer .links {
    text-decoration: underline;
    color: white;
    font-weight: bold;
}

/*
// Popup message window
*/

.popupMask {
  position: fixed;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: rgba(0,0,0,.7);
  z-index: 3;
  width: 100%;
  height: 100%;
}
.popupWindow {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 1rem;
  width: 320px;
  padding: 4rem 2rem;
  max-height: 60%;
  background-color: #00b0bd;
  text-align: center;
  overflow: auto;
  position: relative;
}
.popupWindow__btnClose {
  position: absolute;
  width: 1.8rem;
  height: 1.8rem;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}
.popupWindow__heading {
  color: #ffc80a;
  font-weight: bold;
  margin-top: 0;
}
.popupWindow__content {
  color: white;
}
@media screen and (max-width: 460px) {
  .popupWindow {
    max-width: 90%;
    max-height: 90%;
  }
}