/* Header styles */
.project-overview-head {
    text-align: center;
}

.project-overview-head h1 {
    text-transform: none !important;
}

.entry_title_headline {
    text-align: center;
}

.entry_title_headline h1 {
  font-size: 50px;
  line-height: 56px;
  letter-spacing: 0.2px;
  margin-top: 45px;
}

/* Project map area */

div.projects-overview-selection-area {
    -webkit-box-shadow: 0px 3px 5px 0px rgba(219,219,219,1);
    -moz-box-shadow: 0px 3px 5px 0px rgba(219,219,219,1);
    box-shadow: 0px 3px 5px 0px rgba(219,219,219,1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 110px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

div.projects-map,
div.project-details {
    box-sizing: border-box;
    width: 50%;
    height: 560px;
    float: left;
}

.leaflet-marker-icon-selected {
    x-transition: all 1s ease-in-out;
    animation: ani 1.0s infinite;
}

@keyframes ani {
  0% {
    top: 0px;
  }
  50% {
    top: -5px;
  }
  100% {
    left: 0px;
  }
}

/* Project details area */

div.project-details {
    padding: 35px 45px 20px 45px;
    font-family: "Montserrat-Light";
    font-size: 14px;
    color: #3d3d3d;
     overflow: auto;
}

.project-title {
    font-size: 26px;
    margin-bottom: 25px;
    font-family: "Montserrat-SemiBold";
}

.project-next-event,
.project-contacts-head,
.project-contact-row[data-type=external],
.project-contact-row[data-type=internal] {
    margin-top: 35px;
    margin-bottom: 5px;
}

.project-next-event-prefix,
.project-contacts-head {
    text-transform: uppercase;
}

.project-contact-row[data-type=mail] img,
.project-contact-row[data-type=external] img,
.locations-list-item-mail img {
    display: block;
    float: left;
    margin-right: 5px;
}

/* .project-contact-row[data-type=mail] img, */
.project-contact-row[data-type=address] img,
.project-contact-row[data-type=phone] img {
    margin-right: 4px;
    height: 12px;
}

.project-contact-row[data-type=mail] img{
    margin-right: 7px !important;
    height: 14px;
    margin-top: 5px;
}

#project-contact-mail,
#project-contact-external,
#project-contact-internal,
.locations-list-items .locations-list-item-mail {
    font-family: Montserrat-SemiBold;
    text-transform: uppercase;
}

.project-contact-row-social {
    float: left;
    margin-right: 15px;
}

.project-contact-row-social img {
    width: 40px;
    height: 40px;
}

/* Locations list */

div.locations-list {
    font-family: "Montserrat-Light";
    font-size: 14px;
    color: #3d3d3d;
}

div.locations-list-controls {
    float:left;
    width:100%;
    overflow:hidden;
    position:relative;
    margin-bottom: 30px;
}

div.locations-list-controls-search {
    display: flex;
}

div.locations-list-controls .locations-list-controls-items {
   clear:left;
   float:left;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
   left:50%;
}
div.locations-list-controls .locations-list-controls-item {
   display:block;
   float:left;
   list-style:none;
   margin:0;
   padding: 0 20px 20px 0;
   position:relative;
   right:50%;
   width: 25%;
   height: 70px;
}

div.locations-list-item-head {
    padding-bottom: 20px;
}
div.locations-list-item {
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid #cccccc !important;
}

div.locations-list-item-data {
    float: left;
}

div.location-search.locations-list-controls-item {
    width: 50% !important;
}

input#location-search-input {
    margin-bottom: 0px !important;
    width: 100%;
    height: 40px;
    color: #323232  !important;
    font-family: "Montserrat-SemiBold"  !important;
    padding-left:5px  !important;
    background-color: #fcfcfc;
    border: 1px solid #e1e1e1;
    font-size: 18px;
}

#location-search-input::placeholder {
    font-family: "Montserrat-SemiBold";
    color: #323232;
    padding-left: 5px;
    opacity: 1;
}

.location-category {
    float: left;
    padding: 7px 5px;
}

.location-category label {
    display: block;
    margin-left: 35px;
    margin-top: -30px;
    font-weight: normal !important;
    font-family: "Montserrat-Light" !important;
}

.location-category-checkbox {
    margin-left: 0px;
    border: 1px solid #cccccc;
    width: 25px;
    height: 25px;
    appearance: initial;
    -webkit-appearance: none;
    display: inline-block !important;
    position: relative;
}

.location-category-checkbox:checked {
    background-color: #0D7093;
}

.locations-list-header .locations-list-item-data {
    text-transform: uppercase;
}

.locations-list-item-name,
.locations-list-item-event,
.locations-list-item-address {
    width: 280px;
    padding-right: 15px;
}

.locations-list-item-event {
    display: none;
}


.locations-list-item-mail {
    width: 120px;
}

.locations-list-item-social {
    width: 220px;
}

.locations-list-items .locations-list-item-social {
    margin-top: -6px;
    display: list-item;
    list-style-type: none;
    list-style-image: url();
    margin-left: -2px;
    min-height: 30px;
}


.locations-list-item-link {
    width: 190px;
}

.locations-list-item-link a {
    width: 100%;
    display: block !important;
    height: 40px;
    margin-top: -6px;
    background-color: #0d7093;
    color: white !important;
    text-align: center;
    padding-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Montserrat-SemiBold";
}

.locations-list-item-link a:hover {
    text-decoration: none;
}

.locations-list-item-social img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.locations-list-footer-pagination-link.list-pagination-link.active {
  color: #000 !important;
  background-color: #f1f1f1;
}

/* Counter */
.counter_locations_container {
    margin-bottom: 40px;
    font-size: 32px;
    font-family: Montserrat-Light;
}

.counter_locations {
    font-family: Montserrat-SemiBold;
}


@media only screen and (max-width: 1189px) {

    .locations-list-item-name,
    .locations-list-item-address {
      width: 200px;
    }
}

@media only screen and (max-width: 1030px) {
    .locations-list-item-social {
        width: 170px;
    }
}

@media only screen and (max-width: 980px) {

    .entry_title_headline {
      margin-top: 40px;
    }

    div.locations-list-controls {
      margin-bottom: 50px;
    }

    div.locations-list-controls .locations-list-controls-item {
      width: 100% !important;
      padding: 0 0 10px 0;
      height: auto !important;
    }

    .locations-list-item-mail {
      width: 105px;
    }

    .locations-list-item-social {
        width: 155px;
        height: 50px
    }

    .location-search.locations-list-controls-item {
      max-width: 450px;
    }

    .location-category {
      max-width: 100%;
    }

    .location-category-checkbox {
      margin-left: 0px;
    }

    .location-category label {
      margin-left: 30px;
      margin-top: -30px;
    }

    div.locations-list-item:first-child {
      border-top: 0px !important;
    }
}

@media only screen and (max-width: 950px) {
    .locations-list-item-link {
      width: 100%;
    }

    .locations-list-item-link a {
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
      width: 190px;
    }

    #project-details #project-title {
      word-wrap: break-word;
    }
}

@media only screen and (max-width: 768px) {

  .projects-overview {
    display: none;
  }

  .entry_title_headline h1 {
    font-size: 32px;
    line-height: 40px;
    word-wrap: break-word;
  }

  .projects-list {
    padding-top: 30px;
  }

  div.locations-list-controls {
    margin-bottom: 20px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 40px;
  }

  .location-search.locations-list-controls-item {
    max-width: 98%;
  }

  .locations-list-header {
    display: none;
  }

  .locations-list-item-data {
    width: 100%;
  }

  .locations-list-item:first-child .locations-list-item-name {
    padding-top: 15px;
  }

  .locations-list-item-name {
    font-family: Montserrat-SemiBold;
  }

  .locations-list-item-address {
    display: block;
  }

  .locations-list-item-event {
      display: block;
      margin-top: 15px;
  }

  .locations-list-items .locations-list-item-social {
    margin-top: 15px;
  }

  .locations-list-item-link a {
    margin-top: 30px;
    margin-left: 0px;
    width: 170px;
  }

  .location-list-item-social-empty {
    height: 0;
    min-height: 0 !important;
  }

  .counter_locations_container {
      margin-bottom: -20px;
  }
}

@media only screen and (max-width: 525px) {
  div.list-footer .list-pagination .list-pagination-prev-link, div.list-footer .list-pagination .list-pagination-next-link {
    width: 90px;
  }

  .locations-list-footer.list-footer {
    margin-left: -25px;
    width: 110%;
  }
}
