header {
    background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre.png');
}

h1 {
    margin-left: auto;
    margin-right: auto;
}

#secondChoice {
    display: none;
}

.reassurance {
    background: #00505D;
	padding:2em 0;
}
.reassurance .bloc-3{
    margin:1.5em 0;
}

.reassurance h3, .reassurance p{
    color: #E8AC28;
}
.reassurance p{
    color: #fff;
}
.reassurance img{ 
    float:left;
}

.gerer {
    text-align: center;
}
.gerer p{
    text-align: left;
}
#vendre .bloc-4 p {
    padding: 10px 30px;
}

.estime {
    position: relative;
}
.reassurance .bloc-3.estime{
    display: flex;
}
.contact2 {
    width: max-content;
    align-self: center;
    margin: auto;
}
.contact2 a {
    text-transform: uppercase;
    font-size: 16px;
    padding: 10px 60px;
    font-weight: 600;
    background: #E8AC28;
    color: #fff;
}

.contact2 a:hover {
    background: #fff;
    color: #E8AC28;
}

.name a {
    background-color: #E8AC28;
    background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAOqrAP///yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=='), url('data:image/gif;base64,R0lGODlhAQABAPAAAOqrAP///yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw=='),
        url('data:image/gif;base64,R0lGODlhAQABAPAAAP///////yH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==');
    background-repeat: no-repeat;
    background-size: 0 2px, 0 100%, 0% 2px;
    background-position: top center, top center, bottom center;
    -webkit-animation: drawBorderFromCenter 1.3s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes drawBorderFromCenter {
    0% {
        background-size: 0 2px, 0 0, 100% 100%;
    }

    20% {
        background-size: 100% 2px, 100% 0, 100% 100%;
    }

    66% {
        background-size: 100% 2px, 100% 98%, 100% 100%;
    }

    99% {
        background-size: 100% 2px, 100% 98%, 0 2px;
    }
}




@media only screen and (max-width: 479px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-480.png') no-repeat center center;
    }

    .gerer .name {

        margin: 0px 0 50px;

    }


}

@media only screen and (max-width: 540px) {
    h1 {
        font-size: 40px;
    }

}

@media only screen and (min-width: 480px) and (max-width: 599px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-600.png') no-repeat center center;


    }
}

@media only screen and (min-width: 600px) and (max-width: 799px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-800.png') no-repeat center center;

    }
}

@media only screen and (max-width: 767px) {
    iframe {
        width: 320px !important;
    }

}

@media only screen and (min-width:768px) and (max-width: 900px) {
    iframe {
        width: 768px !important;
    }

}

@media only screen and (min-width:541px) and (max-width: 1199px) {
    h1 {
        font-size: 60px;
    }

}

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


    .estime {
        display: none;
    }

    .paul img {
        max-width: 30px;
    }

    .john {
        color: #E8AC28;
        font-size: 1.6em;
    }

    .sousSoif {
        display: flex;
        flex-direction: column;
        margin: 50px auto;
        background: #00505D;
    }

    .shaq {
        position: relative;
        margin: 30px 0;
    }

    #ven1>div:nth-child(2),
    #ven4>div:nth-child(2) {
        margin-left: 33px
    }

    #pop1,
    #pop2,
    #pop3,
    #pop4,
    #pop5 {
        /* margin-left: 22px; */
        display: block;
    }

    .vendu .bloc-3 {
        -webkit-box-flex: initial;
        -ms-flex: initial;
        flex: initial;
        max-width: initial;
    }

    #vendu {
        padding: 1em;
        justify-content: initial;
    }

}

@media only screen and (min-width:480px) and (max-width: 799px) {
    .gerer .name {
        margin: -50px 0 50px;
    }
}

@media only screen and (min-width: 800px) and (max-width:1199px) {
    .gerer .name {
        margin: 0 0 50px;
    }
}

@media only screen and (min-width: 1200px) {


    #ven1:hover h3,
    #ven2:hover h3,
    #ven3:hover h3,
    #ven4:hover h3,
    #ven5:hover h3 {
        color: #fff;
        cursor: pointer;
    }

    #ven1:hover p,
    #ven2:hover p,
    #ven3:hover p,
    #ven4:hover p,
    #ven5:hover p {
        display: block;
        color: #fff;
    }

    .vendu {
        height: 130px;
    }

    .vendu .bloc-3 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 130px;
        position: relative;
    }

}

@media only screen and (min-width: 800px) and (max-width: 1023px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-1024.png') no-repeat center center;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-1280.png') no-repeat center center;
    }
}

@media only screen and (min-width: 1280px) and (max-width: 1499px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-1500.png') no-repeat center center;
    }
}

@media only screen and (min-width: 1500px) and (max-width: 1679px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre-1680.png') no-repeat center center;
    }
}

@media only screen and (min-width: 1680px) {
    header {
        background: url('https://immozel.com/wp-content/themes/immozelV2/img/vendre/fondVendre.png') no-repeat center center;
    }
}

/* OUTIL D'ESIMATION */
.modal-window {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.25);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  .modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .modal-window > div {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    padding: 2em;
    background: #ffffff;
  }
  .modal-window header {
    font-weight: bold;
  }
  .modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
  }
  
  .modal-close {
    color: #aaa;
    line-height: 1;
    font-size:2em;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px;
    text-decoration: none;
  }
  .modal-close:hover {
    color: black;
  }

.grille .bloc {
    width: max-content;
    background: #00505D;
    color: #fff;
    text-transform: uppercase;
    margin: 1em 0;
    margin-left: 0.9375em;
    display: flex;
	padding:.5em 1em;
}
.grille .bloc p{
    align-self: center;
	color: #fff;
	font-size:18px;
}
.grille .bloc img{
    padding-left:1em;
}
#pop {
    display: flex;
}
#honoraires h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 0.5em;
}
#honoraires table {
    margin-bottom: 1rem;
	background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 2px 6px #00000029;
}
#honoraires table caption {
    margin-bottom: 1em;
}
#honoraires table thead th {
    background: #00505D;
    color: #fff;
    padding: 1em;
    border: 10px solid;
}
/*#honoraires table tbody tr:first-child td {
    padding-top: 10px;
}*/
.overlay {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.7); 
	transition: opacity 500ms;
	visibility: hidden;
	opacity: 0;
	z-index:99;
	display: none;
}
.overlay.open {
	display: inherit;
} 
.overlay:target {
  visibility: visible;
  opacity: 1;
}
.popuphono {
    padding: 2%;
	width: 620px;
    max-width: 80%;
	transition: all 1s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}
.popuphono .close {
  position: absolute;
  top: 0;
  right: 10px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}
.popuphono .close {
	color:#00505D;
	cursor:pointer;
}
.popuphono .close:hover {
    color: #E6AB17;
}
.popuphono .content {
    width: 85%;
    max-width: 470px;
    margin: 1em auto 0;
}
@media only screen and (max-width: 480px) {
.popuphono {
  max-width: 95%;
}
}

@media only screen and (min-width: 481px) and (max-width: 800px) {
	.grille .bloc p {
		font-size: 16px;
		margin: 0;
		}
}
@media only screen and (max-width: 480px) {
	.grille .bloc {
		margin-left: 0;
	}
	
	.grille .bloc p {
		font-size: 14px;
		margin: 0;
	}
}