#mortgage-products-tool {
    margin-right: 1rem;
}

.selection-box {
    margin-bottom: 1rem;
}

.selection-row {
    background-color: #eee;
    padding-bottom: 2rem;
    padding-left: 1rem;
    justify-content: flex-start;
}

.selection-button {
    height: 3rem;
    display: flex;
    align-items: center;
    margin-top: 1rem;
    justify-content: center;
    border: 1px solid #515151;
    color: #515151;
    margin-left: 1rem;
    font-weight: 700;
}

.selection-query {
    margin-top: 2rem;
}

#default {
    display: none;
}

.active-selection {
    background-color: #D81E05;
    border-color: #D81E05;
    color: white;
}

.more-stuff {
    display: flex;
    flex-direction: row;
}

.checkbox {
    width: 0.9rem;
    height: 0.9rem;
    border: grey solid 1px;
    margin-right: 0.25rem;
    margin-left: 0.3rem;
}

.checkedbox {
    border: transparent 1px solid;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='0.847cm' height='0.706cm'%3E%3Cpath fill-rule='evenodd' fill='rgb%28216, 30, 5%29' d='M23.368,3.459 L9.397,16.557 L9.519,16.698 L6.481,19.302 L0.481,12.302 L3.519,9.698 L6.791,13.517 L20.632,0.541 L23.368,3.459 Z'/%3E%3C/svg%3E");
    background-size: cover;
    background-position-y: 1rem;
}

#grey-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #eee;
    margin-left: 10%;
}

.products-row {
    justify-content: space-around;
}

.product-columns {
    border: 1px solid #515151;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.product-columns:first-child {
    border: 1px solid #D81E05;
}

.product-columns:last-child {
    margin-right: 0rem;
}

.product-icon {
    background-image: url(/ca/common/mortgage_centre/images/icon_mortgage.png);
    width: 0.25rem;
    height: 3.5rem;
    background-repeat: no-repeat;
    margin-left: 1rem;
}

.product-class {
    margin-top: 1rem;
    padding-left: 0rem;
}

.products-row:first-child .product-columns:first-child .product-class-row .product-icon {
    background-image: url(/ca/common/mortgage_centre/images/icon_bestfit_mortgage.png);
}

.products-row:first-child .product-columns:first-child .product-class-row {
    color: #D81E05;
}

.product-title-row {
    font-weight: 700;
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.product-columns:first-child .product-title-row {
    color: #D81E05;
}

.product-list {
    list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='0.423cm' height='0.353cm'%3E%3Cpath fill-rule='evenodd' fill='rgb%28216, 30, 5%29' d='M11.319,2.039 L4.928,8.430 L4.970,8.472 L3.588,9.853 L3.547,9.812 L3.505,9.853 L2.123,8.472 L2.165,8.430 L0.170,6.435 L1.551,5.054 L3.547,7.049 L9.937,0.658 L11.319,2.039 Z'/%3E%3C/svg%3E") !important;
    list-style-position: inside !important;
}

.product-list-item {
    margin-bottom: 0.35rem;
    padding-right: 1.5rem;
}

.buttons-row {
    margin-bottom: 1rem;
}

.apply-details-buttons {
    display: flex;
    flex-direction: row;
}

.btn {
    box-shadow: none;
    text-shadow: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    margin-right: 1rem;
    text-decoration: none;
}

.btn:hover{
    text-decoration: none;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.15), 0 2px 2px rgba(0, 0, 0, 0.075);
}

.btn-secondary {
    color: #D81E05 !important;
    text-shadow: none;
    background: #fff !important;
    border-color: #ccc !important;
}

.btn-primary {
    color: #fff !important;
    background: #D81E05 !important;
    border-color: #D81E05 !important;
}

.btn-hide {
    visibility: hidden;
}

.feature-column {
    height: 10rem;
    border: 1px solid #d7d7d7;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.feature-column:last-child {
    margin-right: 0rem;
}

.feature-row {
    height: 100%;
}

.feature-data-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.feature-data-header {
    display: flex;
    flex-direction: row;
}

.feature-icon {
    width: 1.5rem;
    height: 2rem;
    background-size: cover;
}

.video-icon {
    background-image: url('/ca/common/mortgage_centre/images/icon_video.png');
}

.article-icon {
    background-image: url('/ca/common/mortgage_centre/images/icon_article.png');
}

.tool-icon {
    background-image: url('/ca/common/mortgage_centre/images/icon_tool.png');
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: 200%;
    display: flex;
    background-position: 50%;
    align-items: center;
    justify-content: center;
}

.btn-play {
    background-image: url('/ca/common/mortgage_centre/images/btn-play.png');
    width: 1.75rem;
    height: 1.75rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.feature-image-column {
    padding: 0rem;
}

.feature-header {
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    color: #808080;
}

.feature-column.tools {
    height: 11rem;
}

.tools .feature-data-title {
    margin-bottom: 1rem;
}

.grey-btn {
    width: 5rem;
    height: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 767px) {
    #mortgage-products-tool {
        margin-right: 0rem;
    }
    .selection-query {
        margin: 2rem 0;
    }
    .selection-row {
        padding-left: 0rem;
    }
    .selection-button {
        margin: 0 auto;
        margin-bottom: 1rem;
    }
    .product-columns {
        margin-right: 0rem;
    }
    .row {
        max-width: 100vw;
    }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1366px) {
    #mortgage-products-tool {
        margin-right: 1rem;
        margin-left: 1rem;
    }
}