body {
    min-height: 100%;
    overflow: hidden;
}

header {
    background-color: #fff;
}

header .header-inner {
    height: 90px;
    z-index: 3;
    position: relative;
    -webkit-box-shadow: 0px 1px 3px rgba(87,93,114,0.35);
    -moz-box-shadow: 0px 1px 3px rgba(87,93,114,0.35);
    box-shadow: 0px 1px 3px rgba(87,93,114,0.35);
    padding-left: 15px;
    padding-right: 15px;
}

header .header-inner .header-container {
    width: 100%;
    max-width: 1172px;
    margin-right: auto;
    margin-left: auto;
}

.skip-to-content {
    font-size: 1.4rem;
    position: absolute;
    left: -999em;
    background-color: #fafafb;
    border: 1px solid #fff;
    box-shadow: inset 0 0 0 1px #c4c8cc;
    padding: 3px 6px;
}

.skip-to-content:focus {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -60px;
}

header .header-inner .logo img {
    width: 182px;
    height: 50px;
    margin-top: 15px;
}

main {
    height: calc(100% - (102px + 90px));
}

.container-left {
    float: left;
    width: 37%;
    position: absolute;
    height: 100%;
    height: calc(100% - (102px + 90px));
    overflow: hidden;
    background-image: url(../images/rentvsbuy_image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 30% 20%;
}

.container-right {
    float: right;
    width: 63%;
    left: 37%;
    position: absolute;
    height: 100%;
    height: calc(100% - (102px + 90px));
    overflow: auto;
}

.container-right .container-right-inner {
    margin-left: 70px;
    margin-right: 15px;
    position: relative;
    max-width: 700px;
    padding-top: 30px;
    padding-bottom: 60px;
}

.container-right .container-right-container {
    margin-top: 76px;
}

.language-dropdown {
    align-self: flex-end;
}

.language-dropdown a.dropdown-text {
    color: #006AC3;
    margin-right: 5px;
    margin-left: 15px;
}

.language-dropdown .dropdown-content a {
    color: #006AC3;
}

.language-dropdown .dropdown-content {
    position: absolute;
    margin-top: 5px;
    border: 1px solid #fff;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.1);
    background-color: #f5f5f5;
    padding: 15px;
}

.language-dropdown .dropdown-content li {
    list-style-type: none;
}

.language-dropdown a.dropdown-text:before,
.language-dropdown .dropdown-content a:before {
    content: "";
    display: inline-block;
    width: 22px;
    vertical-align: top;
    margin-top: 9px;
    margin-right: 5px;
    background: url(/dvl/v1.0/assets/images/icons/icon-flag-Canada.svg) no-repeat left center;
    height: 11px;
}

.language-dropdown a.dropdown-text:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #006AC3;
    margin-bottom: 4px;
    margin-left: 5px;
}

.language-dropdown.desktop-hidden {
    margin-top: 18px;
}

.language-dropdown.desktop-hidden a.dropdown-text:before,
.language-dropdown.desktop-hidden .dropdown-content a:before {
    margin-top: 7px;
}

input[type=checkbox].disabled+label:before {
    content: "";
    background: #eeeeee;
}

input[type=tel] {
	padding: 10px 10px;
	border: 1px solid #c4c8cc;
	outline: 0 !important;
	border-radius: 0;
	border-collapse: collapse;
	min-height: 50px;
	width: 0;
	min-width: 130px;
	color: #252525;
	line-height: 1.6rem;
	font-size: 1.4rem;
	font-family: Roboto;
	font-weight: 300;
	font-style: normal;
}

input[type=tel]:focus {
	font-size: 1.6rem;
	line-height: 1.6rem;
	box-shadow: inset 0 0 0 1px #006ac3 !important;
	border: 1px solid #006ac3 !important;
	outline: 1px dotted;
	outline-offset: 1px;
}

.field-error input[type=tel] {
	box-shadow: inset 0 0 0 1px #bd0000;
	border: 1px solid #bd0000;
}

.carousel-wpr .carousel-inner .carousel-item.display-none {
    display: none !important;
}

.carousel-prev.slick-arrow.slick-disabled,
.carousel-next.slick-arrow.slick-disabled {
    visibility: hidden;
}

.snipe span {
    padding-right: 2px;
}

.snipe:after {
    margin-left: -2px;
}

#minDownPaymentError.notice.info .notice-title:before {
    display: none !important;
}

.grey-gradient {
    background: linear-gradient(180deg, #f3f4f5 160px, #FFF 0%);
}

#minDownPaymentError {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

#minDownPaymentError .error-msg {
    padding-top: 10px;
}

.purchase-banner {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-justify-content: space-around;
    -ms-flex-pack: space-around;
    justify-content: space-around;
}

.snipe {
    min-width: 141px;
    margin-right: 30px;
}

.snipe-cell {
    width: 171px;
}

.table-divider {
    border-top: 1px solid #c4c8cc;
}

.text-large {
    font-size: 5rem;
    line-height: 3.8rem;
}

.text-grey {
    color: #585858;
}

.bg-lightgrey {
    background-color: rgba(231, 238, 241, 0.4);
}

.bg-customgrey {
    background-color: #f3f4f5;
}

.justify-center {
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.overflowy-auto {
    overflow-y: auto;
}

.height-auto {
    height: auto;
}

.mar-auto {
    margin: 0 auto;
}

.mar-r-10 {
    margin-right: 10px !important;
}

.mar-b-20 {
    margin-bottom: 20px;
}

.mar-b-10 {
    margin-bottom: 10px;
}

.pad-t-10 {
    padding-top: 10px;
}

.pad-r-10 {
    padding-right: 10px;
}

.pad-l-10 {
    padding-left: 10px;
}

.pad-b-10 {
    padding-bottom: 10px;
}

.pad-b-20 {
    padding-bottom: 20px;
}

ul.slick-dots li{
    display: none;
}

ul.slick-dots li.slick-active {
    display: block;
}

#dp-tooltip2_wrapper, #amort-tooltip2_wrapper {
    z-index: 999999 !important;
}

@media (max-width: 1200px) and (min-width: 639px) {
    .container-left, .container-right {
        height: calc((100vh - 182px) + (-10) * ((100vw - 639px) / (1200 - 639)));
    }

    .text-large.mobile-light {
        font-size: calc(3rem + (50 - 30) * ((100vw - 639px)/ (1200 - 639)));
    }
}

@media (min-width: 639px) {
    .purchase-banner { min-height: 114px; }
}

@media (min-width: 640px) {
    .max-w-225 {
        max-width: 225px;
    }

    .max-w-255 {
        max-width: 255px;
    }

    .max-w-480 {
        max-width: 480px;
    }

    .mar-b-40 {
        margin-bottom: 40px !important;
    }

    #homeSearchForm .table-wpr .table-row {
        max-width: 563px;
    }
}

@media (max-width: 639px) {
    header .header-inner {
        height: 60px;
    }

    header .header-inner .logo img {
        width: 127px;
        height: 42px;
        margin-top: 9px;
    }

    body {
        overflow: auto;
    }

    main {
        height: auto;
    }

    .container-left {
        display: none;
    }

    .container-right {
        float: none;
        width: 100%;
        position: relative;
        left: 0;
        height: 100%;
        overflow: auto;
    }

    .container-right .container-right-inner {
        margin: 0;
        padding: 30px 15px 30px 15px;
    }

    .container-right .container-right-container {
        margin-top: 0;
    }

    .snipe {
        min-width: 131px;
        margin-right: 30px;
    }

    .snipe-cell {
        width: 161px;
    }

    .mob-text-center {
        text-align: center;
    }

    .mob-mar-b-20 {
        margin-bottom: 20px !important;
    }

    .mob-mar-b-40 {
        margin-bottom: 40px;
    }

    .text-large.mobile-light {
        font-size: 3rem;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .text-large.mobile-medium {
        font-size: calc(2.4rem + (50 - 24) * ((100vw - 639px)/ (1200 - 639)));
    }
}

@media (min-width: 769px) {
    .carousel-wpr .carousel-ctrl {
        display: none;
    }

    .flex-carousel {
        width: 100% !important;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        transform: none !important;
    }

    .flex-carousel-item {
        width: 50% !important;
    }

    .slick-list {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    .carousel-wpr .carousel-ctrl {
        -webkit-justify-content: space-between;
        -ms-flex-pack: space-between;
        justify-content: space-between;
        padding: 0 7.5px;
        margin-bottom: 20px;
    }

    .carousel-wpr .carousel-ctrl .carousel-prev,
    .carousel-wpr .carousel-ctrl .carousel-prev:before,
    .carousel-wpr .carousel-ctrl .carousel-next,
    .carousel-wpr .carousel-ctrl .carousel-next:before {
        width: 10px;
        height: 18px;
    }

    .carousel-wpr .carousel-ctrl .carousel-prev.slick-disabled:before,
    .carousel-wpr .carousel-ctrl .carousel-next.slick-disabled:before {
        display: none;
    }

    .text-large.mobile-medium {
        font-size: 3.6rem;
        font-weight: 500;
    }
}

@media (min-width: 381px) and (max-width: 420px) {
    .text-large.mobile-medium {
        font-size: calc(2.4rem + (36 - 24) * ((100vw - 381px)/ (420 - 381)));
    }
}

@media (max-width: 380px) {
    .text-large.mobile-medium {
        font-size: 2.4rem;
    }
}

@media (min-width: 981px) {
    .cust-nowrap {
        white-space: nowrap;
    }
}

@media (min-width: 769px) and (max-width: 1050px) {
    .table-wpr .table-cell.snipe-cell, .snipe-cell + .table-cell {
        display: block;
        width: 100%;
    }

    .table-wpr .table-cell.snipe-cell + .table-cell h4 {
        text-align: center !important;
    }
}

@media (min-width: 960px) {
	input[type=tel] {
		line-height: 2.4rem;
		font-size: 1.6rem;
	}
}

@media (max-width: 960px) and (min-width: 639px) {
	input[type=tel] {
		line-height: calc(2.1rem + (24 - 21) * ((100vw - 639px)/ (960 - 639)));
		font-size: calc(1.4rem + (16 - 14) * ((100vw - 639px)/ (960 - 639)));
	}
}

/* DVL MODAL FIX FOR IPHONE X */
@media (max-width: 823px) and (orientation: landscape) {
    .modal {
        height: 100%;
    }
    .modal .modal-inner {
        max-height: calc(100% - 40px);
        min-height: 0;
        margin-right: 0;
        padding-right: 40px;
    }
    .modal .close {
        position: absolute;
        right: 20px;
        top: 20px;
        width: 15px;
        z-index: 300;
        cursor: pointer;
    }
    .modal .close:before {
        content: url(/dvl/v1.0/assets/images/ui/ui-close-blue.svg);
        display: inline-block;
        height: 15px;
        width: 15px;
        line-height: 0;
        font-size: 0;
    }
}

ol.roman-list > li::marker {
	content: "("counter(list-item, lower-roman)")  ";
}