/**
 * 2007-2017 PrestaShop
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to http://www.prestashop.com for more information.
 *
 * @author    EnvoiMoinsCher <api@boxtal.com>
 * @copyright 2007-2017 PrestaShop SA / 2011-2015 EnvoiMoinsCher
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 * International Registred Trademark & Property of PrestaShop SA
 */

.emcW200{
  width: 200px;
}

.emcW400{
  width: 400px;
}

.emcFl{
  float: left;
}

.emcM0{
  margin:0;
}

.emcP5{
  padding:5px;
}

.emcListPoints > *{
  min-width:320px;
}
.emcListPoints .emcMobile{
  display:none;
}

.emcMb15{
  margin-bottom: 15px;
}

.emcMt15{
  margin-top: 15px
}

.emcPt5 {
    padding-top:5px;
}

.hook_extracarrier {margin:0; padding:0;}

.emcTextAlignLeft {
text-align:left;
}

.emcPoint {
    padding-top:5px;
    padding-bottom:5px;
    border-top:1px none #d6d4d4;
    border-style:solid;
    padding-left: 5px;
    border-left:0;
    border-right:0;
    border-bottom:0;
}
.emcPoint:hover {
    background-color:#d6d4d4;
    color:white;
}
.emcPoint.selected {
    background-color:#5bc0de;
    color:white;
}

/* map */
#emcMap {
    width:80%;
    max-width:1200px;
    height:auto;
    display:none;
    position: absolute;
    top:100px;
    padding:10px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index:11111;
    background: #f9f9f9;
    box-shadow:3px 3px 30px rgba(0, 0, 0, 0.4), 3px 3px 30px rgba(0, 0, 0, 0.4);
}
#mapHeader{
    margin: 0 auto;
    display: table;
}
#mapHeaderContainer{
    height:70px;
    vertical-align:middle;
    display:table-cell;
}
.emcTextInput{
    height: 30px;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    box-sizing:border-box;
}
.emcTextInput:focus{
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
.emcTextInput:disabled{
    background: #fafafa;
}
#mapHeaderContainer .emcTextInput{
    margin-right:40px;
}
#mapHeaderContainer .emcTextInput:first-of-type{
    width:150px;
}
#mapHeaderContainer .emcTextInput:nth-last-of-type(1){
    width:250px;
}
#emcGeolocate {
    display:inline-block;
    background-image: url("../img/location-icon.png");
    background-repeat:no-repeat;
    background-size: 100%;
    height: 50px;
    width: 40px;
    cursor:pointer;
    vertical-align:middle;
    margin-right:40px;
}
#emcGeolocate:hover {
    background-image: url("../img/location-icon-hover.png");
}
#emcSearch {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    width: 160px;
    border: 1px solid transparent;
    text-transform:uppercase;
}
#emcSearch:hover {
    background-color: #286090;
    border-color: #204d74;
}
#emcSearch .mobileTitle{
    display:none;
}
#emcLoadingPoints{
    display:inline-block;
    vertical-align:middle;
    width: 160px;
}
#emcMapInner {
    background: #ffffff;
}
#emcMap .emcClose {
    background-image: url("../img/icon-close.png");
    height:40px;
    width:40px;
    cursor:pointer;
    top:-20px;
    right:-20px;
    position:absolute;
    z-index: 11222;
}
#emcMap #mapContainer {
    float:left;
    width:100%;
    padding-right:268px;
    box-sizing:border-box;
}
#emcMap #prContainer {
    overflow-y:scroll;
    height:500px;
    padding:0px 10px;
    width: 268px;
    margin-left:-268px;
    float:right;
    box-sizing:border-box;
}
#emcMap #prContainer td {
    border-top: 1px solid #dddddd;
    padding: 9px 10px;
    text-align:left;
    color: #777;
    font-size:13px;
    line-height:20px;
}
#emcMap #prContainer td a {
    color: #337ab7;
}
#emcMap #prContainer td a:hover {
    text-decoration:none;
}
#emcMap #mapCanvas {
    overflow:hidden;
    height:500px;
    position:relative;
}
#emcMap .emcMarker {
    max-height:30px;
    margin-right:5px;
    vertical-align:middle;
}
#emcMap .emcPointTitle {
    text-overflow:ellipsis;
    overflow:hidden;
    white-space:nowrap;
    width:180px;
    display:inline-block;
    vertical-align:middle;
}
#emcMap .emcMakerPopup {
    width:250px;
    color:#777777;
    line-height:20px;
}
#emcMap a:hover {
    text-decoration:none;
}
#emcMap .emcSchedule {
    font-size:11px;
}
.emcPointer {
    cursor: pointer;
}
#emcMap .parcelButton {
    width: 190px;
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
    color: #ffffff !important;
    background-color: #5bc0de;
    border: 1px solid #46b8da;
    display:inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align:center;
    vertical-align:middle;
}

#mapCanvas img.loader {
    position:absolute;
    top:45%;
    left:50%;
}

.emcLink{
    text-decoration: underline;
    font-weight : bold;
    color: #333;
    cursor:pointer;
}
.emcLink:focus{
    outline:0;
}
.emcHidden{
	opacity:0.7;
}

.emcHidden .emcWarning{
	color:red;
    padding:10px 0 0 30px;
}
.emcCarrier .best_grade,
.emcCarrier .delivery_option_best{
    display: none;
    visibility: hidden;
}

.delivery_option_best, .best_grade{
    display:none;
}

.emcCarrier .delivery_option_logo img{
    max-width: 65px;
    max-height: 65px;
}
