/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700');
.parent-wrap .infoBox {
  display: none;
}
.parent-wrap .left-map {
    width: 60%;
}
.parent-wrap .left-map #map {
    height: 580px;
    padding: 15px;
}
.parent-wrap {
	background-color: #fff;
    display: table;
    height: 100% !important;
    position: relative;
    width: 100%;
    z-index: 999;
}
.parent-wrap .left-map,
.parent-wrap .infoBox {

    height: 100%;
    float: left;
    vertical-align: top;
}
.parent-wrap .left-map {
    width: 100%;
}
.parent-wrap .left-map #map {
    height: 580px;
    padding: 15px;
}

.parent-wrap .infoBox {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    font: 14px/16px Arial, Helvetica, sans-serif;
    height: 580px;
}

.parent-wrap .infoBox .infobox-inner .subs .content dl dd {
   margin: 0;
   line-height: 24px;
}
.parent-wrap .infoBox .infobox-inner .subs > .content > p {
  line-height: 24px;
}

.parent-wrap .infoBox .infobox-inner #description h5 {
 font-size: 16px;
}

.parent-wrap .infoBox .infobox-inner {
    height: 580px;
    overflow: auto;
    padding: 15px;
    background: #fff;
}

.parent-wrap .infoBox .infobox-inner #description {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

#infoWindow {
    font-family: 'Roboto', sans-serif;
    position: relative;
    width:90%;
    padding-top: 60px;
}

#infoWindow div.content {
    padding: 20px 20px 30px;
    background: white;
}

#infoWindow h3 {
    margin-bottom: 10px;
}

#infoWindow h4 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

#infoWindow h4:nth-of-type(2) {
    margin-top: 10px;
}

#infoWindow p {
    margin-top: 0;
    font-size: 15px;
    line-height: 20px;
}

#infoWindow dl {
    margin: 0;
}

#infoWindow dl:after {
    content: "";
    clear: both;
    display: block;
}

#infoWindow dl dt {
    clear: left;
    float: left;
    width: 20%;
    margin: 0 10px 0 0;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    bottom:-4px;
}

#infoWindow dl dd {
    float: left;
    width: 190px;
    margin: 0 0 5px;
    font-size: 15px;
}

#infoWindow dl dd.address {
    width: auto;
    margin-bottom: 10px;
}

#infoWindow dl dd a {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    top: 3px;
}

#infoWindow.subs:before {
    content: "";
    position: absolute;
    bottom: -23px;
    right: 0;
   
    height: 50px;
    background: url("../../images/interface/sprite.png") -28px -748px;
}

#infoWindow.subs dt:first-of-type {
    width: auto;
}

#infoWindow.sales:before {
    content: "";
    position: absolute;
    bottom: -23px;
    right: 0;
    
    height: 31px;
    background: url("../../images/interface/sprite.png") -39px -810px;
}

#infoWindow.agents:before {
    content: "";
    position: absolute;
    bottom: -23px;
    right: 0;
    width: 308px;
    height: 31px;
    background: url("../../images/interface/sprite.png") -39px -853px;
}

#infoWindow .reveal {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #19a474 50%, #17986c 100%) repeat scroll 0 0;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    margin: 0;
    padding: 1px 8px;
    position: relative;
    right: -20px;
    top: -2px;
    line-height: 1.2;
}

#infoWindow .reveal:after {
    border-color: transparent #19a474 transparent transparent;
    border-style: solid;
    border-width: 8px;
    content: "";
    height: 0;
    left: -16px;
    position: absolute;
    top: 0;
    width: 0;
}

#infoWindow .reveal:hover {
    background-color: #00795e;
}

.subIcon {
  /*background: url('../../images/Factory-icon_5.png') no-repeat 0 6px / 24px auto;*/
  padding-left:30px;
  padding-bottom: 5px;
  background-position: 0 -1px;
}

.parent-wrap .infoBox .infobox-inner #description .local-subsidary {
    /*background: #fff url('../../images/Factory-icon_5.png') no-repeat 0 6px / 24px auto;*/
    /*font-size: 18px;*/
    margin-bottom: -15px;
    padding: 14px 0 14px 0;
    position: relative;
    font-size:18px;
}

.parent-wrap .infoBox .infobox-inner #salesInfo .srepresentatives {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

#salesInfo a, #description a {
  color: #000;
  font: 14px/16px Arial, Helvetica, sans-serif;
}

#map {
  background: url('../../images/sea_bg.jpg') repeat;
}

.parent-wrap .infoBox .infobox-inner #salesInfo .srepresentatives .sales-representative {
    /*background: #fff url('../../images/russellfinex-sales-representative.png') no-repeat 0 center / 15px auto; */
    font-size: 18px;
    margin-bottom: -15px;
    padding: 14px 0 14px 0;
    position: relative;
}

.parent-wrap .infoBox .infobox-inner #salesInfo .soffices {
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.parent-wrap .infoBox .infobox-inner #salesInfo .soffices .sales-office {
    /*background: #fff url('../../images/russellfinex-sales-office.png') no-repeat 0 center / 15px auto; */
    font-size: 18px;
    margin-bottom: -15px;
    padding: 14px 0 14px 0;
    position: relative;
}


/*search too styling*/
.parent-wrap .left-map #map .leaflet-control-container .leaflet-control-search,
.parent-wrap #findbox .leaflet-control-search {
    background-color: #2d9e6f;
    display: block;
    float: left;
    height: 50px;
    position: relative;
    width: 260px;
    box-shadow: none;
}
.parent-wrap .left-map #map .leaflet-control-container .leaflet-control-search input,
.parent-wrap #findbox .leaflet-control-search input {
    border-color: #2d9e6f;
    display: block;
    float: left;
    height: 18px;
    left: 4px;
    padding: 8px;
    position: relative;
    top: 4px;
    width: calc(100% - 70px);
}
.parent-wrap .left-map #map .leaflet-control-container .leaflet-control-search .search-tooltip,
.parent-wrap #findbox .leaflet-control-search .search-tooltip {
    width: 260px;
    background: #fff;
}
.parent-wrap .left-map #map .leaflet-control-container .leaflet-control-search .search-tooltip .search-tip,
.parent-wrap #findbox .leaflet-control-search .search-tooltip .search-tip {
    background: transparent;
    padding: 4px 14px;
}
.parent-wrap .left-map #map .leaflet-control-container .leaflet-control-search .search-button,
.parent-wrap #findbox .leaflet-control-search .search-button {
    position: relative;
    top: 2px;
    left: 6px;
    padding: 4px;
    background-color: #2d9e6f;
    background-image: none;
    cursor: default;
}
.parent-wrap .left-map #map .leaflet-control-container .leaflet-control-search .search-button:before,
.parent-wrap #findbox .leaflet-control-search .search-button:before {
    color: #fff;
    content: "";
    font-family: "Fontawesome";
    font-size: 24px;
    font-style: normal;
    font-weight: normal;
    left: 4px;
    position: relative;
    text-decoration: inherit;
    top: 0;
}
 .parent-wrap .infoBox .infobox-inner{
  position: relative;
 }
  .parent-wrap .infoBox .infobox-inner .closetrigger{
     background: #00795e none repeat scroll 0 0;
    color: #fff;
    cursor: pointer;

    padding: 5px 10px;
    position: absolute;
    z-index: 11;
    right: 0;
    margin-right: 15px;
  }

@media screen and (max-width: 1200px) {
	.no-infobox .left-map {
	  width: 100% !important;
	}
}

@media screen and (max-width: 991px) {
	#infoWindow {
		width: 100% !important;
	}
   .parent-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
   .parent-wrap .left-map {
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
    -ms-flex: 0 0 auto;
  -webkit-flex: 0 0 auto;
  height: 330px;
  }
   .parent-wrap .left-map #map {
    height: 300px;
    padding: 15px;
  }
   .parent-wrap .infoBox {
    height: auto;
    max-height: 300px;
    width: 100%;
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
  }

   .parent-wrap .infoBox .infobox-inner {
    height: auto;
    max-height: 220px;
    overflow: auto;
    padding: 15px;
  }

   .parent-wrap .infoBox .infobox-inner #description {
      padding-left: 0;
  }
  .parent-wrap .left-map #map .leaflet-control-container  .leaflet-control-search {
    display: none;
  }

  .parent-wrap #findbox .leaflet-control-search {
      width: 100%;
  }
  .parent-wrap  #findbox .leaflet-control-search .search-tooltip {
      width: 100%;
  }
  .parent-wrap  #findbox .leaflet-control-search .search-button {
      top: 6px;
  }
  .no-infobox .left-map {
	  width: 100% !important;
  }

}


@media screen and (max-width: 480px) {
	.parent-wrap {
	display: none;
	}
   .parent-wrap .left-map {
    height: 230px;
  }
   .parent-wrap .left-map #map {
    height: 200px;
  }
   .parent-wrap .left-map #map .leaflet-popup-pane {
    display: none;
  }
   .parent-wrap .infoBox .infobox-inner {
    padding: 5px 10px;
  }
   .parent-wrap .infoBox .infobox-inner #description h5 {
    margin-bottom: 10px;
    margin-top: 15px;
  }
  .parent-wrap .infoBox .infobox-inner #description dl dd {
   line-height: normal;
 }
   .parent-wrap .infoBox .infobox-inner .subs > .content > p {
    line-height: normal;
  }
   .parent-wrap .infoBox .infobox-inner .subs > .content > dl {
    margin: 10px 0;
  }


}
