﻿a:hover {
    text-decoration: none !important;
    border: 0px !important;
}

.main-center-block {
    top: 15vh;
    float: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: block;
    position: relative;
}

.green-widget {
    margin: 0 auto;
    margin-top: 100px;
}

#bgM {
    /*background-image: url("https://mortgagekeeper.org/MK30/bgM.png");*/
    border: 0 none;
    height: 486px;
    left: 50%;
    margin: auto auto auto -333px;
    padding: 0;
    position: absolute;
    top: 140px;
    width: 666px;
    z-index: 2999;
}

#bgMRoundPoint {
    background-image: url("bgMRoundPoint.png");
    border: 1px black;
    height: 486px;
    left: 50%;
    margin: auto auto auto -333px;
    padding: 0;
    position: absolute;
    top: 140px;
    width: 666px;
    z-index: 2999;
}

iframe#ifrm {
    border: 0 none;
    height: 430px;
    left: 50%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 184px;
    max-width: 614px;
    width: 100%;
    z-index: 2999;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transform: translateX(-50%);
}

#clB {
    /*background-image: url("../mkdirect/Codal/savemoney/modal-close.png");*/
    background-image: url('assets/images/close.png');
    background-color: transparent;
    border:none;
    cursor: pointer;
    height: 26px;
    left: 50%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 172px;
    width: 24px;
    height: 24px;
    z-index: 2999;
    transform: translateX(-50%);
    margin-left: 307px;
}

.clBada,.clBadawells {
    top: 0px !important;
    left:48% !important;
}
#ftM {
    border: 0 none;
    height: 30px;
    left: 48.4%;
    margin: auto auto auto -285px;
    padding: 0;
    position: absolute;
    top: 620px;
    width: 614px;
    z-index: 2999;
}

#bgCrt {
    background-color: #dfeef6;
    height: 100vh;
    left: 0;
    margin: 0;
    opacity: 0.8;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 99;
}

.zipcodebox {
    padding: 0;
    float: left;
    /* height: 200px; */
    /* margin: 30px 0 0 0; */
    /* padding-right: 14px; */
    /* padding-left: 14px; */
    text-align: center;
    line-height: 29px;
    max-width: 100%;
    width: 100%;
    padding: 32px 60px 0;
    box-sizing: border-box;
}

.pop-header {
    /*margin: 22px 0px 0px 22px;
    padding: 0;*/
    padding: 34px 60px 0;
    margin: 0;
}

.pop-logobox {
    float: left;
    width: 200px;
    height: 27px;
}

.pop-logotagline {
    float: left;
    width: 240px;
    height: 27px;
}

label {
    cursor: pointer;
}

.zText {
    font-size: 24px;
    color: #666666;
    float: none;
    padding-left: 0;
    font-size: 15px;
    font-weight: 600;
    margin-right: 29px;
}

#mWind {
    color: #444444;
    /*width: 510px;
    height: 180px;*/
    height: 200px;
    padding: 8px;
    margin: 0px 10px 0px 10px;
    overflow: auto;
    font-size: 14px;
    text-align: left;
    line-height: 16px;
    margin-bottom: 20px;
}

.zInput {
    width: 110px;
    border: 1px solid #CCCCCC;
    margin: 0 0 0 6px;
    padding: 6px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    color: #5391bd;
    font-size: 20px;
    line-height: 20px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    width: 200px;
}

.zBtn {
    max-width: 140px;
    float: left;
    font-size: 14px;
    width: 140px;
    font-weight: bold;
    border: solid 1px #06af6e;
    height: 38px;
    /*background-color: #06af6e;*/
    background: url(../mkdirect/Codal/savemoney/blue-gradient-bg.png) no-repeat;
    background-color: transparent;
    color: #FFFFFF;
    border: none;
    margin: 0;
    padding: 8px 13px 8px 13px;
    border-radius: 8px;
    -moz-border-radius: 4px;
    cursor: pointer;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}


/*.zBtn:hover {
        background-color: #ffffff;
        border: solid 1px #06af6e;
        color: #06af6e;
        -moz-transition: all ease-in-out 0.3s;
        -webkit-transition: all ease-in-out 0.3s;
        -ms-transition: all ease-in-out 0.3s;
        -o-transition: all ease-in-out 0.3s;
        transition: all ease-in-out 0.3s;
    }*/

.smallFont {
    font-size: 10px;
}

.mediumFont {
    font-size: 12px;
}

.mkAlertArea {
    color: #434343;
    height: 22px;
    min-height: 22px;
    font-size: 14px;
    font-weight: bold;
    margin: -10px 0 0 0;
}


.mkAlertAreanew {
    color: #434343;
    height: 22px;
    min-height: 22px;
    font-size: 12px;
    font-weight: bold;
    margin: -9px 0 0 0;
    line-height: 19px;
    /* padding-top: 2px; */
}
    .mkAlertAreanew b {
        color: #9e0000;
    }
    .mkAlertArea b {
        color: #9e0000;
    }

.mkFunctionsOff {
    opacity: 0.4;
    filter: alpha(opacity=40);
}

.mkFunctionsOn {
    opacity: 1;
    filter: alpha(opacity=100);
}

.hMKlogo {
    position: absolute;
    max-width: 180px;
    max-height: 50px;
}
.OnlyhMKlogo {
    position: relative;
    max-width: 240px;
  /*  max-height: 50px;*/
}
.hMKlogocapital {
    position: absolute;
    max-width: 300px;
    /*max-height: 40px;*/
}
.hMKheader {
    margin: 6px 0 0 0;
    max-width: 280px;
    max-height: 40px;
}

.aSMsg {
    height: 26px;
}

.mkCatHeader {
    text-decoration: underline;
    font-size: 17px;
    margin: 0 0 2px 0;
}

.opt-table {
    margin-top: 30px !important;
    width: 100%;
}

    .opt-table tbody tr td {
        text-align: right;
    }

.pop-footer {
    /*margin: 0px 0px 0px 22px;*/
    margin: 0;
    padding: 0 60px;
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.f-logo {
    float: left;
    width: 150px;
    margin-top: 22px;
}

    .f-logo img {
        width: 120px;
    }

.footer-box1 {
    float: right;
    width: auto;
    text-align: right;
}

.pop-footer .nxt-btn {
    float: right;
    margin-top: 17px;
    top: 0px;
}

.result-tabs {
    border: 0 none;
    border-bottom: 2px solid transparent;
    color: #333;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
    line-height: 14px;
    padding: 0 0 2px;
}

    .result-tabs:active,
    .result-tabs:focus,
    .result-tabs.active {
        border-bottom: 2px solid #65b282;
        color: #4eab73;
    }

.result-row {
    background-color: #f6f7f9;
    border-radius: 6px;
    display: block;
    font-size: 14px;
    padding: 16px 18px 12px;
}

    .result-row span.mediumFont {
        font-weight: 100;
        font-size: 14px;
    }

    .result-row span.smallFont {
        color: #4eab73;
        font-size: 12px;
    }

.opt-table .label-block,
.opt-table .radio-opt-box {
    float: none;
    width: auto;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    padding-bottom: 1rem;
    text-align: left;
    font-family: 'Lato', sans-serif;
}

.opt-table .radio-opt-box {
    /*padding-left: 40px;*/
    padding-left: 35px;
    text-align: right;
}

    .opt-table .radio-opt-box label {
        position: relative;
        font-weight: 600;
        font-size: 13px;
        line-height: 17px;
        font-family: ‘Lato’, sans-serif;
        margin-right: 20px;
        line-height: 20px;
        display: inline-block;
        padding-left: 25px;
    }

        .opt-table .radio-opt-box label:before {
            border: 2px solid #bfbfbf;
            border-radius: 50%;
            content: " ";
            display: inline-block;
            margin-right: 6px;
            position: absolute;
            top: 50%;
            width: 15px;
            height: 15px;
            transform: translateY(-50%);
            left: 0;
        }

    .opt-table .radio-opt-box input[type="radio"] {
        /*display: none;*/
        /*added this for keyboard access*/
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap; /* added line */
    }

        .opt-table .radio-opt-box input[type="radio"]:checked + label:after {
            background-color: #5391bd;
            border-radius: 50%;
            content: " ";
            position: absolute;
            width: 15px;
            height: 15px;
            top: -3px;
            left: 2px;
            top: 50%;
            transform: translateY(-50%);
        }

    .opt-table .radio-opt-box label:nth-child(1) {
        margin-right: 18px;
    }

#mkFunctionsOff {
    top: 0;
    float: left;
    width: auto;
}

    #mkFunctionsOff a img,
    .footer-box1 a img {
        margin-top: 20px !important;
        margin-right: 30px !important;
        max-width: 30px;
    }

#oWind {
    position: absolute;
    max-width: 479px;
    width: 100%;
    /*height: 228px;
    margin: 11px 0 0 19px;*/
    height: 242px;
    margin: 11px 0 0 58px;
    padding: 10px 10px 0px 10px;
    line-height: 16px;
    display: none;
    z-index: 9999;
    background-color: #f7f9fa;
    border: 1px solid #e7e9ea;
    overflow: auto;
    font-size: 11px;
    /*9-17-19 adjustments to move this down    */
    height: 225px;
    margin-top: 22px;
}


/*.result-box {
    margin: 30px 0 0 0;
    padding-right: 14px;
    padding-left: 14px;
    text-align: center;
}*/

.result-box {
    margin: 30px auto 0 auto;
    /*padding-right: 14px;
    padding-left: 14px;*/
    text-align: center;
    width: 85%;
    /*Below Code is added for same footer*/
    margin-bottom: -10px;
}

.srch-list-box-1 {
    float: left;
    width: 48%;
    line-height: 25px;
}

.allcategoryheader {
    float: left;
    margin: 0 0 0 16px;
}

@media only screen and (min-width:300px) and (max-width:555px) {
    body.framebox {
        height: 100vh;
        float: none;
        margin: 0;
        position: relative;
        overflow-y: scroll;
        background-color: #fff;
    }

    body {
        height: 100vh;
    }

    #bgCrt {
        width: 100%;
        float: none;
        margin: 0 auto;
        display: block;
    }

    .main-center-block {
        position: absolute;
        width: 94%;
        left: 3%;
        right: 3%;
    }

    iframe#ifrm {
        width: 100%;
        max-width: 560px;
        left: 10;
        height: 99.8%;
        top: 25px; /*tom*/
        float: none;
        display: block;
        margin: 0 auto;
        /*3-13-19 TJC keep it as absolute position: relative;*/ 
        overflow-y: scroll;
        padding-bottom: 20px;
    }

    .opt-table {
        padding-left: 0px;
    }

    #bgM {
        max-width: 559px;
        width: 97%;
        left: 1vw;
        right: 1vw;
        top: 30px;
        float: none;
        margin: 0 auto;
        display: block;
        border: solid 2px #000;
        height: 100vh;
        background-image: none;
        background: #d9e5ed;
        /* For browsers that do not support gradients */
        background: -webkit-linear-gradient(#f3f7f9, #ecf2f6, #d1dee5);
        /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#f3f7f9, #ecf2f6, #d1dee5);
        /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#f3f7f9, #ecf2f6, #d1dee5);
        /* For Firefox 3.6 to 15 */
        background: linear-gradient(#f3f7f9, #ecf2f6, #d1dee5);
        /* Standard syntax */
        /*3-13-19 TJC improve mobile popup*/
        display:none ;
    }

    #clB {
        /*3-13-19 TJC improve mobile popup*/
        position: absolute;
        top: 15px;
        margin: 0 auto;
        float: none;
        display: block;
        
        /*3-13-19 TJC improve mobile popup*/
        right: 0px;
        left:unset;
        /*
        top: -870px;
        right: 10px;
        float: none;
        display: block;
        margin: 0 auto;
        dposition: relative;
        */
    }

    .clBada {
        /* top: -179% !important;
        left: unset !important;*/
        top: -12% !important;
        left: unset !important;
        right: -10px !important;
    }

    .clBadawells {
        top: -14% !important;
        left: unset !important;
        right: -10px !important;
    }
    .clBadawellsindex {
        top: -13% !important;
    }
    .allcatswind {
        overflow: auto !important;
        height: 220px !important;
    }
    #ftM {
        width: 100%;
        max-width: 560px;
        left: 0;
        dposition: relative;
        margin: 0 auto;
        top: 0;
    }

    #pop-header {
        float: none;
        display: block;
        margin: 0 auto 10px 0;
        text-align: center;
        width: 100%;
        padding: 10px 0 0 0;
    }

    .pop-logobox {
        float: none;
        display: inline-block;
        margin: 0 auto 10px 0;
        text-align: center;
        width: 50%;
    }

        .pop-logobox .hMKlogo {
            position: relative;
            /*width: 100%;*/
        }

    .hMKlogo {
        position: relative;
        max-width: 180px;
        max-height: 50px;
    }
    .OnlyhMKlogo {
        position: relative;
       /* max-width: 240px;*/
       width : 700% !important;
        max-height: 50px;
        margin-left:5px;
    }

    .hMKlogocapital {
        position: absolute;
        max-width: 240px;
        max-height: 50px;
        left: 5px !important;
    }


    .pop-logotagline {
        width: 50%;
        float:right;
        margin-top:7px;
    }
    .email-alert .close {
        right:0;
    }
    .is_message {
        /*display:block !important;*/
        display:block;
    }
        .pop-logotagline .hMKheader {
            margin: 8px auto 0 auto;
            max-width: 150px;
        }
    .hMKheader {
        margin: 6px 0 0 0;
        /*max-width: 200px !important;*/
        /*max-height: 40px;*/
    }
    .popupform1 {
        float: left;
        position: relative;
        width: 100%;
    }

    .zipcodebox {
        margin: 0 auto;
        width: 90%;
        text-align: left;
        padding: 0 15px;
        float: none;
        display: table;
        height: auto;
    }

    .zText {
        font-size: 15px;
        float: left;
        width: auto;
        padding-left: 0px;
        margin-right: 10px;
        line-height: 40px;
    }

    .opt-table {
        float: none;
        display: block;
        margin: 0 auto;
        width: 100%;
        max-width: 560px;
    }

        .opt-table tbody tr td {
            text-align: left;
        }

        .opt-table .label-block {
            width: 50%;
            float: left;
            font-size: 14px;
            line-height: 18px;
            margin-bottom: 5px;
        }

        .opt-table tbody {
            width: 100%;
            display: table;
            float: none;
        }

        .opt-table .radio-opt-box {
            float: left;
            width: 46%;
            text-align: center;
        }

    .pop-footer {
        float: none;
        display: table;
        margin: 0px auto 0 auto;
        padding: 5px 0 10px 0;
        max-width: 560px;
        width: 90%;
        position: relative;
    }

    .f-logo {
        width: 100px;
        float: left;
        margin: 0;
    }

        .f-logo img {
            max-width: 100%;
        }

    .mkAlertArea {
        margin: 0;
        line-height: 13px;
        height: auto;
        width: 100%;
        position: relative;
        float: left;
        min-height: 1px;
        margin-bottom: 12px;
    }

    #mkFunctionsOff {
        width: 100%;
        float: left;
        position: relative;
        top: -10px;
    }

        #mkFunctionsOff a img {
            max-width: 55px;
            height: auto;
            margin-top: -30px;
        }

    #mkFunctionOff a {
        padding-top: 10px;
    }

    .footer-box1 {
        width: 100%;
        float: none;
        display: inline-block;
        margin: 0;
    }

    #mkFunctionsOn.mkFunctionsOn {
        margin-top: 15px;
    }

    .pop-footer .nxt-btn {
        top: 0px;
        float: none;
        width: auto;
        display: block;
        margin: 0;
        position: relative;
    }

    .zInput {
        width: 45%;
        float: left;
        display: table-row;
        margin: 0 auto;
        position: relative;
        z-index: 100;
        color: #444;
    }

    #serviceCode1N,
    #termsN,
    #serviceCode2N,
    #serviceCode3N {
        margin-left: 10px;
    }

    .zBtn {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        float: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        -o-appearance: none;
        appearance: none;
        margin-top:-15px;
    }

    #oWind {
        height: auto;
        width: auto;
        padding: 12px;
        margin: 0 15px;
        max-height: 80vh;
    }
    /*screen 2 css starts here */
    .result-box {
        width: 100%;
        float: left;
        margin: 0 0 10px;
        padding: 0;
    }

    .smallFont {
        float: none !important;
        height: auto !important;
        display: inline-block;
        margin: 0 auto !important;
    }

    a.result-tabs {
        color: #444444;
        font-size: 14px;
        text-decoration: none;
        border-bottom: none;
    }

        a.result-tabs:focus {
            color: #06af6e;
            font-size: 14px;
            text-decoration: none;
            border-bottom: solid 1px #06af6e;
        }

    .smallFont #QLMainLinks {
        float: none;
        display: table;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        /*need to be left with larger all categories*/
        float:left;
    }
    #QLMainLinks {
        /*need to be left with larger all categories*/
        float: left;
    }

    .smallFont a#BtnAdvanceSearch {
        background-color: #06af6e;
        color: #fff !important;
        font-size: 14px !important;
        text-align: center;
        max-width: 250px;
        width: 100%;
        float: none;
        margin: 15px auto;
        line-height: 30px;
        padding: 6px auto;
        text-transform: capitalize;
        display: table;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
        border: solid 1px #06af6e;
        -moz-transition: all ease-in-out 0.3s;
        -webkit-transition: all ease-in-out 0.3s;
        -ms-transition: all ease-in-out 0.3s;
        -o-transition: all ease-in-out 0.3s;
        transition: all ease-in-out 0.3s;
    }

        .smallFont a#BtnAdvanceSearch:hover,
        .smallFont a#BtnAdvanceSearch:focus {
            color: #06af6e !important;
            border-color: #06af6e;
            background-color: #fff;
            -moz-transition: all ease-in-out 0.3s;
            -webkit-transition: all ease-in-out 0.3s;
            -ms-transition: all ease-in-out 0.3s;
            -o-transition: all ease-in-out 0.3s;
            transition: all ease-in-out 0.3s;
        }

    #mWind {
        width: 92%;
        height: 270px;
        margin: 0;
        padding: 8px;
        max-width: 540px;
        float: left;
        text-align: left;
    }

    .org-name {
        font-size: 13px;
        line-height: 13px;
        font-weight: bold;
        color: #444;
    }

    .mediumFont {
        color: #666;
        font-size: 11px;
        line-height: 12px;
        width: 100%;
        margin-bottom: 4px;
    }

    .result-row {
        width: 92%;
        float: left;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: solid 1px #8a8a8b;
    }

    .contact-details {
        font-size: 11px;
        line-height: 11px;
        color: #444;
    }

    .advance-box {
        width: 100%;
    }
    /*screen 2 css ends here */
    .srch-list-box-1 {
        width: 100%;
    }

    input[type="submit"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        -ms-appearance: none;
        -o-appearance: none;
        appearance: none;
    }
    /* new css added here */
    body.framebox {
        margin: 0;
        padding: 0px;
    }

    .green-widget {
        margin: 0 auto;
        margin-top: 25px;
    }

    .zipcodebox {
        width: 100%;
        padding: 10px;
    }

    .opt-table .radio-opt-box {
        float: none !important;
        width: 50%;
        white-space: nowrap;
        padding-left: 10px;
        text-align: right;
    }

        .opt-table .radio-opt-box label + input + label {
            margin-right: 10px;
        }

    .opt-table .label-block {
        float: none;
    }

    .green-widget ul {
        margin: 0;
        padding: 0;
        margin-left: 25px;
    }

    .zBtn {
        background: #42b0f4;
    }

    #mkFunctionsOff a img, .footer-box1 a img {
        margin-top: 0 !important;
        margin-right: 15px !important;
        width: 30px !important;
        z-index: 9999;
    }

    iframe#ifrm {
        height: 532px;
    }

    #bgM {
        height: 540px;
    }

    #mkFunctionsOff a + a + a img {
        margin-right: 0px !important;
    }

    #mkFunctionsOff {
        top: -30px;
    }

    .zInput {
        width: 54%;
        padding-top:0;
        padding-bottom :0;
    }

    #ftM {
        width: 100%;
        max-width: 560px;
        left: 15px;
        /*3-13-19 tjc stay absoute   position: relative;*/
        margin: 0 auto;
        top: -282px;/*override*/
        /*3-13-19 tjc*/
        top: 572px;
    }

    .bgM {
        background: #fff !important;
    }

    body.framebox {
        background: #fff !important;
    }

    iframe#ifrm {
        /*left: calc(50% - 8px);*/
        /*3-14-19 TJC top: -293px;*/
        width: calc(100vw - 15px);
    }

    .email-alert {
        max-width: 100%;
        padding: 20px;
    }

        .email-alert #txtEmail, .email-alert form.is_message input[type=submit] {
            width: auto !important;
            min-width:200px;
        }
    .is_message .zBtn {
        width: auto !important;
    }

    .pop-logobox img{
        width:80%;
    }

}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type='number'] {
    -moz-appearance: textfield;
}


/*adding in a modal for faq and terms*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: #d9e5ed; 
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    width: 100%; /* Could be more or less, depending on screen size */
    max-width: 550px;/*479px*/
}

.email-alert {
    margin-top: 35px;
    padding: 1px;
    box-shadow: 0px 0px 1px 3px white;
}

    /* The Close Button */
.close {
    position:absolute  ;
    right:15px;
    top:20px;
    color: red;
    font-size: 14px;
    font-weight: bold;
    line-height :22px;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }