body {
    padding: 0 !important;
    margin: 0 !important;
}

#map {
    width: 100vw !important;
    height: 100vh !important;
}

.mdl-progress {
    color: var(--primary) !important;
    width: calc(100vw - 1px) !important;
    position: fixed !important;
    bottom: 0;
    left: 0;
}

.mdl-progress .progressbar {
    background-color: var(--primary) !important;
}

.hide {
    display:none;
}

.button-home {
    position: fixed;
    top: 20px;
    left: 90px;
    z-index: 100;
}

.button-home .btn--medium {
    background-color: var(--primary);
    color: white;
}

.button-mon-compte {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    z-index: 100;
}

.button-mon-compte .btn--medium {
    width: 50px !important;
    background-image: url(../images/icon_account.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--primary);
    color: white;
}

.button-list {
    position: fixed;
    top: 20px;
    right: 120px;
    /* width: 50px; */
    z-index: 100;
}

.button-list .btn--medium {
    background-color: var(--primary);
    color: white;
}

.button-filter {
    position: fixed;
    top: 20px;
    right: 20px;
    /* width: 50px; */
    z-index: 100;
}

.button-filter .btn--medium {
    background-color: var(--primary);
    color: white;
}

/* .button-filter .btn--medium {
    width: 50px !important;
    background-image: url(../images/icon_filter.svg);
    background-repeat: no-repeat;
    background-position: center;
} */

.filter-dialog {
    background: rgba(255, 255, 255, 0.9);
    font-family: 'Raleway', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: black;
    margin: 10px;
    top: 15px;
    right: 65px;
    left: auto;
    padding-top: 40px;
}

.button-close {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}

.filter-dialog .mdl-dialog__title {
    padding: 0;
    font-size: 1.3rem !important;
    position: absolute;
    top: 0px;
}

.filter-dialog .mdl-dialog__content {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

.filter-dialog .mdl-dialog__actions {
    padding: 8px;
}

.filter-dialog .select--custom {
    width: 100% !important;
    margin-left: 0px !important;
}

.filter-dialog .select--custom select {
    border: none !important;
    outline: none !important;
    padding-left: 10px;
    font-family: 'Raleway', sans-serif;
}

.filter-dialog .valid {
    width: 100%;
}

.filter-dialog .bloc-icons {
    /* height: 50px; */
    display: flex;
    padding-top: 5px;
    flex-direction: column;
    align-items: flex-start;
}

.filter-dialog .picto-infos-supp {
    height: 32px;
    display: flex;
    justify-content: flex-start;
    font-family: 'Raleway';
    font-weight: 700;
    color: var(--dark-grey);
    /* padding: 0px 0px 0px 10px; */
}

.filter-dialog .picto-infos-supp p {
    padding-left: 10px;
    line-height: 32px;
    font-size: 13px;
    font-weight: 400 !important;
    height: 100%;
}

.filter-dialog .bloc-icons span {
    font-size: 35px;
    flex: 1;
    text-align: center;
    color: #999999;
    cursor: pointer;
}

.srch-wrapper {
    position: fixed;
    top: 25px;
    right: 90px;
    width: 44px;
    height: 40px;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    box-shadow: 0px 4px 40px -5px rgb(0 0 0 / 25%);
}
.srch-wrapper.open {
    width: 200px;
}

.srch-input {
    position: relative;
    background-color: transparent;
    height: 43px;
    line-height: 26px;
    padding: 5px 10px 5px 40px;
    box-sizing: border-box;
    background-color: var(--white);
    margin: 0;
    width: 100% !important;
    border: none;
    font-family: 'Raleway', normal;
    font-size: 16px;
    line-height: 21px;
}
.srch-input::placeholder {
    color: var(--placeholder);
    font-family: 'Raleway', normal;
    font-size: 15px;
    line-height: 21px;
}

.srch-input:focus {
    outline: none;
    border: none;
}

.srch-button {
    position: absolute;
    top: 0;
    left: 3px;
    border: 0;
    padding: 0;
    margin: 0;
    background-color: transparent;
    color: black;
    width: 44px;
    height: 43px;
    text-align: center;
    padding-top: 2px;
    cursor: pointer;
}
.srch-button:focus {
    outline: none;
}

.srch-input:focus + .srch-button,
.srch-button:hover {
    color: black;
}

.srch-button .material-icons {
    color: black;
}

.bloc-annonces {
    max-height: 400px;
    overflow-x: auto;
    width: 100vw;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.container-annonces {
    background: transparent;
    /* pointer-events: none; */
    height: max-content;
    /* height: 320px; */
    overflow-y: hidden;
    overflow-x: scroll;
    width: auto;
    white-space: nowrap;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.annonce-wrapper {
    position: relative;
    display: inline-block;
    width: 300px;
    min-width: 230px;
    /* height: 300px; */
    background: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
    box-shadow: 0px 4px 40px -10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
    margin: 0 20px;
    padding: 40px 20px;
    border: 2px solid transparent;
}

.selected {
    border: 2px solid #ED0F8B;
}

.annonce-wrapper .icon-arrow {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
}

.annonce-wrapper h3 {
    margin: 10px 0;
    white-space: normal;
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    text-transform: capitalize;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: black;
}

.annonce-wrapper .nom-cabinet {
    max-width: 350px;
    white-space: normal;
    height: 56px;
    word-break: break-word;
}

.ellipsis:before {
	content:"";
	float: left;
	width: 5px; height: 56px; 
}

.ellipsis > *:first-child {
	float: right;
	width: 100%;
	margin-left: -5px; 
}		

.ellipsis:after {
	content: "\02026";  

	box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;

	float: right; position: relative;
	top: -25px; left: 100%; 
	width: 2em; margin-left: -2em;
	padding-right: 5px;
	
	text-align: right;

  
    background-size: 100% 100%;
    /* 512x1 image, gradient for IE9. Transparent at 0% -> white at 50% -> white at 100%.*/
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAABCAMAAACfZeZEAAAABGdBTUEAALGPC/xhBQAAAwBQTFRF////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wDWRdwAAAP90Uk5TgsRjMZXhS30YrvDUP3Emow1YibnM9+ggOZxrBtpRRo94gxItwLOoX/vsHdA2yGgL8+TdKUK8VFufmHSGgAQWJNc9tk+rb5KMCA8aM0iwpWV6dwP9+fXuFerm3yMs0jDOysY8wr5FTldeoWKabgEJ8RATG+IeIdsn2NUqLjQ3OgBDumC3SbRMsVKsValZplydZpZpbJOQco2KdYeEe36BDAL8/vgHBfr2CvTyDu8R7esU6RcZ5ecc4+Af3iLcJSjZ1ivT0S/PMs3LNck4x8U7wz7Bv0G9RLtHuEq1TbJQr1OtVqqnWqRdoqBhnmSbZ5mXapRtcJGOc4t2eYiFfH9AS7qYlgAAARlJREFUKM9jqK9fEGS7VNrDI2+F/nyB1Z4Fa5UKN4TbbeLY7FW0Tatkp3jp7mj7vXzl+4yrDsYoVx+JYz7mXXNSp/a0RN25JMcLPP8umzRcTZW77tNyk63tdprzXdmO+2ZdD9MFe56Y9z3LUG96mcX02n/CW71JH6Qmf8px/cw77ZvVzB+BCj8D5vxhn/vXZh6D4uzf1rN+Cc347j79q/zUL25TPrJMfG/5LvuNZP8rixeZz/mf+vU+Vut+5NL5gPOeb/sd1dZbTs03hBuvmV5JuaRyMfk849nEM7qnEk6IHI8/qn049hB35QGHiv0yZXuMdkXtYC3ebrglcqvYxoj1muvC1nDlrzJYGbpcdHHIMo2FwYv+j3QAAOBSfkZYITwUAAAAAElFTkSuQmCC);
  
	background: -webkit-gradient(linear, left top, right top,
		from(rgba(255, 255, 255, 0)), to(var(--white)), color-stop(50%, var(--white)));
	background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), var(--white) 50%, var(--white));			
	background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), var(--white) 50%, var(--white));
	background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), var(--white) 50%, var(--white));
	background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--white) 50%, var(--white));
}

.annonce-wrapper .domaine {
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 15px;
    color: var(--primary);
    text-overflow: ellipsis;
    overflow: hidden;
}

.annonce-wrapper .typeStructure {
    font-family: Raleway;
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 13px;
    color: #999999;
    margin-bottom: 0px;
}

.annonce-wrapper .nbMedecins {
    font-family: Raleway;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 13px;
    color: #999999;
    margin-bottom: 4px;
}

.annonce-wrapper .container-options {
    color: #373737;
    height: 30px;
    margin-bottom: 10px;
}

.annonce-wrapper .adresse {
    font-family: Raleway;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 15px;
    color: #000000;
    margin-bottom: 0px;
}

.annonce-wrapper .button-card-map {
    color: var(--white) !important;
    background-color: var(--primary) !important;
    font-weight: 600 !important;
    margin-top: 10px;
    width: 100%;
}
 
.label-select {
    margin: 0;
}


#filter-dialog {
    overflow: hidden;
}

.select--custom--multiple {
    height: 43px;
    /* for Firefox */
    -moz-appearance: none;
    /* for Chrome */
    -webkit-appearance: none;
    background-color: white;
    box-sizing: border-box;
    outline: none;
    margin: 5px 0;
    /* border: none; */
    border: 1px solid var(--primary);
    padding-bottom: 1px;
}

.select--custom--multiple .ms-options-wrap {
    height: 100%;
    border: none !important;
}

.select--custom--multiple .ms-options-wrap button {
    height: 100%;
    border: none !important;
}

.checkmark {
    background-color: var(--primary);
}

.select--custom--multiple .ms-options {
    max-height: 300px !important;
    min-height: 150px !important;
}

.select--custom--multiple button span {
    font-family: 'Raleway', sans-serif;
    color: var(--placeholder);
    font-size: 0.87rem;
    font-weight: 700;
}

.ms-selectall {
    text-transform: none !important;
    color: var(--primary);
}

ul .selected {
    border: none !important;
    color: var(--primary) !important;
    font-weight: bold !important;
}

.filter-dialog .mdl-switch {
    margin-top: 15px !important;
    height:32px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.filter-dialog .mdl-switch .mdl-switch__label {
    font-size: 13px;
}

@media screen and (max-height: 800px) {
    /* .button-filter {
        top: 80px;
        right: 10px;
    } */
    .srch-wrapper {
        top: 85px;
    }
    /* .button-home {
        right: 10px;
        left: inherit;
    }
    .button-mon-compte {
        right: 120px;
        left: inherit;
    } */

    #filter-dialog {
        right: 0;
        left: 0;
        margin: auto;
    }

    .container-annonces {
        height: 230px;
        padding-bottom: 0;
    }

    .annonce-wrapper {
        width: 200px;
        height: 220px;
        padding: 10px;
    }

    .annonce-wrapper .icon-arrow {
        height: 35px;
    }

    .annonce-wrapper h3 {
        font-size: 1.2em !important;
        line-height: 1.2em;
    }

    .annonce-wrapper .nom-cabinet {
        height: 40px;
    }

    .annonce-wrapper .domaine {
        font-size: 9.5px;
        margin-bottom: 5px;
    }

    .annonce-wrapper .nbMedecins {
        font-size: 9.5px;
    }

    .annonce-wrapper .typeStructure {
        font-size: 9.5px;
    }

    .annonce-wrapper .container-options {
        margin-bottom: 5px;
    }

    .annonce-wrapper .adresse {
        font-size: 11px;
    }

    .annonce-wrapper .button-card-map {
        height: 30px;
        font-size: 12px;
        margin-top: 4px;
        line-height: 20px;
    }
}

@media screen and (max-height: 800px) {
    .button-home .btn--medium {
        padding: 10px;
    }

    .button-list {
        right: 110px;
    }

    .button-list .btn--medium {
        padding: 10px 16px;
    }

    .button-filter .btn--medium {
        padding: 10px 16px;
    }
}