﻿/* jquery ui */
.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

/*input[type="file"] {
    display: none;
}*/

.error {
    color: red;
}


/* for tables to override original */
table.req {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
    border-color: #dae1e7;
    border-width: 2px;
}

th.req {
    background: #333;
    color: white;
    font-weight: bold;
}
td.req, th.req {
    padding: .75rem;
    border: 2px solid #dae1e7;
    text-align: left;
}

@media only screen and (min-width: 961px){
    td.req, th.req {
        width: 16%;
    }
}

    /* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
    @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {

        /* Force table to not be like tables anymore */
        table.req, thead.req, tbody.req, th.req, td.req, tr.req {
            display: block;
        }

            /* Hide table headers (but not display: none;, for accessibility) */
            thead.req tr.req {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

        tr.req {
            border: 1px solid #dae1e7;
            margin: 0 0 1rem 0;
        }

        td.req {
            /* Behave  like a "row" */
            border: none;
            border-bottom: 1px solid #dae1e7;
            position: relative;
            padding-left: 50%;
            /*width: 16%;*/
            /*white-space: nowrap;*/
        }

            td.req:before {
                /* Now like a table header */
                position: absolute;
                /* Top/left values mimic padding */
                top: 6px;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
            }

            /*
	Label the data
	*/
            td.req:nth-of-type(1):before {
                content: "Description";
            }

            td.req:nth-of-type(2):before {
                content: "Location";
            }

            td.req:nth-of-type(3):before {
                content: "Specific Item";
            }

            td.req:nth-of-type(4):before {
                content: "Request Details";
            }

            td.req:nth-of-type(5):before {
                content: "Attachment(s)";
            }

            td.req:nth-of-type(6):before {
                content: "Delete";
            }

        .px-8 {
            padding-left: 0rem;
            padding-right: 0rem
        }
    }

    .warranty-addendum {
        padding-left: 10px;
    }

#EncourageAttachment *{
    font-weight: bold;
    margin-bottom: 0px;
    margin-top: 8px;
}

#WarrantyProgramVideo {
    text-align: center;
    margin: auto;
}

#WarrantyProgramVideo iframe {
    margin: auto;
    width: 390px;
    height: 220px;
    text-align: center;
}

#WarrantyProgramVideo p {
    text-align: center;
    width: 330px;
    margin: auto;
}

#WarrantyProgramVideoMobile {
    text-align: center;
    margin: auto;
}

#WarrantyProgramVideoMobile iframe {
    margin: auto;
    width: 390px;
    height: 220px;
    text-align: center;
}

#WarrantyProgramVideoMobile p {
    text-align: center;
    width: 330px;
    margin: auto;
}

#WarrantyProgramText, .HomeCareText {
    margin: auto;
    text-align: center;
}

.HomeCareText {
    text-align: left;
}

#RecallTable {
    width: 100%;
    margin-bottom: 2rem;
}

#RecallTable .recallHeader{
    border-bottom-width: 1px;
    font-size: large;
    padding:0px 0px 10px 20px;
    text-align:left;
    width: 15%;
    font-weight:bold;
}

#RecallTable td {
    border-bottom-width: 1px;
    padding:10px 10px 10px 20px;
}

.recallMobile {
    margin: auto;
    width: 500px;
    display: none;
    padding-bottom:2rem;
}

.recallMobile div {
    padding: 2rem 2rem 2rem 2rem;
    border-bottom-width: 1px;
}

.recallMobile h2 {
    padding-bottom:1rem;
}

.recallMobile span {
    font-weight: bold;
}
.flipbookGuides{
    display: flex;
}
.flipBookTitle {
    margin: 20px 0px 35px 0px;
    width: 50%;
}
.warrantyDesc {
    width: 27em;
    margin: auto;
}
.flipbook {
    display: flex;
    width: 50%;
    margin: 20px 0px 35px 0px;
}
.HouseFlipBook {
    width: 50%;
}
.CondoFlipBook {
    width: 50%;
}


/*Mobile size*/
@media only screen and (max-width: 576px) {
    .col-sm-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    #WarrantyProgramVideo iframe {
        width: 280px;
        height: 158px;
    }

    #WarrantyProgramVideo p {
        width: 280px;
    }

    #WarrantyProgramVideoMobile iframe {
        width: 280px;
        height: 158px;
    }

    #WarrantyProgramVideoMobile p {
        width: 280px;
    }

    #WarrantyProgramText, .HomeCareText {
        max-width: 280px;
        padding-bottom: 20px;
    }

    #FindOutMore {
        margin-right: 0px;
    }

    .desktopVideo{
        display:none;
    }
    .recallMobile {
        width: 340px;
        display:block;
    }
    #RecallTable table {
        display: none;
    }
    .flipbookGuides {
        display: block;
    }
    .flipBookTitle {
        min-width: 100%;
    }
    .warrantyDesc {
        width: 20em;
    }
    .flipbook {
        min-width: 100%;
        display: block;
    }
    .HouseFlipBook {
        min-width: 100%;
    }
    .CondoFlipBook {
        min-width: 100%;
    }
}

/*Large Mobile size*/
@media only screen and (min-width: 577px) and (max-width: 767px) {
    .col-sm-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    #WarrantyProgramText, .HomeCareText {
        max-width: 500px;
        padding-bottom: 25px;
    }
    .desktopVideo {
        display: none;
    }
    .recallMobile {
        display: block;
    }
    #RecallTable table{
        display:none;
    }
    .flipbookGuides {
        display: block;
    }

    .flipBookTitle {
        min-width: 100%;
        width: 18em;
    }

    .HouseFlipBook {
        min-width: 100%;
    }

    .CondoFlipBook {
        min-width: 100%;
    }
}
/*Tablet size*/
@media only screen and (min-width: 768px) and (max-width: 991px) {
    #WarrantyProgramText, .HomeCareText {
        max-width: 280px;
        padding-left: 40px;
    }
    .mobileVideo {
        display: none;
    }
    #RecallTable {
        padding: 1rem;
    }
    .warrantyDesc{
        margin-left:10px;
    }
}

/*Desktop size*/
@media only screen and (min-width: 992px){
    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .mobileVideo * {
        display: none;
    }
    #RecallTable {
        padding: 6rem;
    }
    .flipBookTitle {
        margin: 20px 0px 0px 100px;
    }

    .flipbook {
        margin: 20px 100px 0px 0px;
    }

    .HouseFlipBook {
        margin: 0px 0px 0px 20px;
    }

    .CondoFlipBook {
        margin: 0px 20px 0px 0px;
    }
}

@media only screen and (min-width: 1200px) {
    .flipBookTitle {
        margin: 20px 0px 0px 200px;
    }
    .flipbook {
        margin: 20px 200px 0px 0px;
    }
    .HouseFlipBook {
        margin: 0px 0px 0px 20px;
    }

    .CondoFlipBook {
        margin: 0px 20px 0px 0px;
    }
}

.fileUploads {
    margin-bottom: 5px;
}

.remindergrid {
    display: flex;
    flex-flow: row wrap;
    width: 70%;
    margin: auto;
}

.remindergriditem {
    width: 33.33%;
    text-align: center;
    height: 15rem;
}
    .remindergriditem img {
        height: 7rem;
    }
@media only screen and (max-width: 600px) {
    .remindergriditem {
        width: 100%;
        text-align: center;
    }
}

.maintenance-reminders {
    padding: 1rem;
}
.maintenance-reminders.ryanhomes {
    background: url("/images/ryan/maintenance-reminders.png") #00447c no-repeat center;
}
.maintenance-reminders.nvhomes {
    background: url("/images/nv/nv-maintenance-reminders.png") #8b2445 no-repeat center;
}
.maintenance-reminders.heartlandluxuryhomes {
    background: url("/images/heartland/heartland-maintenance-reminders.png") #830127 no-repeat center;
}