/* delivery.css */

@font-face {
     font-family: 'chunk_rethunkregular';
     font-display: 'fallback';
     src: url('../fonts/chunk-rethunk-webfont-en.woff2') format('woff2'),
     url('../fonts/chunk-rethunk-webfont-en.woff') format('woff'),
     url('../fonts/chunk-rethunk-webfont-en.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }

 @font-face{
     font-family:'Proxima Nova W08 Reg';
     src:url("../fonts/26D7F7_0_0.eot");
     src:url("../fonts/26D7F7_0_0.eot?#iefix") format("embedded-opentype"),
     url("../fonts/26D7F7_0_0.woff") format("woff"),
     url("../fonts/26D7F7_0_0.ttf") format("truetype")}

 * {
     box-sizing: border-box;
     /*color: #fff;*/
 }

html {
    font-size: 62.5%;
}

 body {
     margin: 0px;
     min-height: 400px;
     font-family: 'Proxima Nova W08 Reg',Helvetica,Arial,sans-serif;
 }

.forms-poi-box {
	box-shadow: 0 2px 2px rgba(0,0,0,.2);
}

 form#locator_search {
	/*border-bottom: 1px solid black;*/
	/*box-shadow: 0 2px 2px rgba(0,0,0,.2);*/
	display: inline-block;
	/*left: -20px;*/
	margin-top: 20px;
	position: relative;
	text-align: center;
 }

 #locator_search strong {
 	color: #000;
 	display: block;
 	font-family: 'chunk_rethunkregular';
 	font-size: 18px;
 	margin: 0 auto 10px;
 	-webkit-font-smoothing: antialiased;
 }

 div.locator-wrapper {
	background-color: #c8e4fc;
	padding-bottom: 20px;
 	text-align: center;
 }

 div.poi {
     text-align: center;
 }

.content-list.poi-result {
	margin: 0;
	padding:0;
}

li.poi_wrapper {
    font-size: 1.6rem;
    margin: 0 auto;
}

li.poi_wrapper:nth-of-type(even) {
    background-color: #c8e4fc;
}

@media (min-width: 500px) {
    li.poi_wrapper {
        max-height: 87px;
    }
}

 ul {
    -webkit-appearance: none;
    list-style: none;
 }

 li {
    /*display: block;*/
    display: flex;
    justify-content: space-between;
    margin: 20px auto;
    max-width: 580px;
    width: 100%;
 }

li:after {
    clear: both;
    content: '';
    display: block;
    height: 0;

}


 li > div:first-of-type {
    /*float: left;*/
    height: 87px;
    position: relative;
    width: 140px;
 }

 li > div:nth-of-type(2) {
    /*float: left;*/
    height: 87px;
    max-width: 187px;
    position: relative;
    width: 100%;
}

li > div:nth-of-type(2) > span {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
 }

 li > div:last-of-type {
    /*float: right;*/
    align-items: center;
    display: flex;
    height: 87px;
 }

 a {
     color: #000;
 }

button {
    -webkit-appearance: none;
    background-color: #fff;
    border: none;
    /*box-shadow: 1px 2px 2px rgba(0,0,0,0.3);*/
    font-size: 20px;
    height: 40px;
    right: 0;
    position: absolute;
    width: 40px;
    z-index: 2;
    bottom: 0;
 }

input#search_input {
	border: none;
	border-radius: 0;
    box-shadow: 1px 2px 2px rgba(0,0,0,0.3);
    box-sizing: border-box;
    font-size: 14px;
    height: 40px;
    padding: 0 0 0 10px;
    /*width: 240px;*/
    width: 300px;
    -webkit-appearance: none;
    z-index: 1;
}

a.image-link {
	cursor: pointer;
	display: block;
	margin: 0 auto;
	/*padding: 25px 0;*/
    position: relative;
    top: 50%;
    transform: translateY(-50%);
	width: 80%;
}

a.image-link img {
    height: auto;
	width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.name_distance {
    /*position: relative;
    top: 50%;
    transform: translateY(-50%);*/
}

a.text-link {
    -webkit-appearance: none;
    background: #0576A2;
    border: 0;
    box-shadow: 1px 2px 2px rgba(0,0,0,0.3);
    color: #fff;
    cursor: pointer;
    display: block;
    font-family: 'Proxima Nova W08 Reg',Helvetica,Arial,sans-serif;
    font-size: 2rem;
    height: 37px;
    line-height: 1.2;
    padding: 7px 12px 2px;
    text-decoration: none;
    text-transform: uppercase;
    top: 50%;
    -o-transform: rotate(-0.5deg);
    -webkit-transform: perspective(1px) rotate(-0.5deg);
    -moz-transform: perspective(1px) rotate(-0.5deg);
    -ms-transform: rotate(-0.5deg);
    transform: perspective(1px) rotate(-0.5deg);
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    width: auto;
}

a.text-link:hover {
    border-bottom-color: #003e55;
    /*color: #0475a1;*/
    -o-transform: rotate(0.5deg);
    -webkit-transform: perspective(1px) rotate(0.5deg);
    -moz-transform: perspective(1px) rotate(0.5deg);
    -ms-transform: rotate(0.5deg);
    transform: perspective(1px) rotate(0.5deg);
	/*height: 37px;
	line-height: 37px;*/
	/*margin-top: 3px;*/
    top: calc(50% + 3px);
}

a.text-link span {
    display: inline;
    margin-left: 3px;
}

.poi {
	padding-top: 20px;
}

@media (max-width: 500px) {

    li > div:nth-of-type(2) {
        padding: 0 10px;
    }
 

    li > div:nth-of-type(2) > span span {
        display: none;
    }

    a.text-link {
        /*min-width: 110px;*/
        width: 100%;
    }

    a.text-link span {
        display: inline;
        margin-left: 3px;
    }

    li > div:first-of-type {
        max-width: 140px;
        width: 30%;
    }
}

@media (max-width: 400px) {
    @supports (-webkit-overflow-scrolling: touch) {
        button {
            right: 20px;
        }        
    }

    /*li > div:first-of-type {
        width: calc(100% - 210px);
    }
*/
    li > div:first-of-type a {
        width: 100%;
    }

    li {
        padding: 0 10px;
    }
}


