﻿/* jqModal base Styling courtesy of;
	Brice Burgess <bhb@iceburg.net> */

/* The Window's CSS z-index value is respected (takes priority). If none is supplied,
	the Window's z-index value will be set to 3000 by default (via jqModal.js). */
	
.jqmWindow {
    display: none;
    
    position: fixed;
    top: 7%;
    left: 50%;
    
    margin-left: -300px;
    width: 600px;
    
    background-color: white;
    color: #333;
    border: 1px solid #e0e0e0;
    padding: 12px;
}

.jqmWindowSurvey {
    display: none;
    position: fixed;
    bottom:10%;
    right:35%;
    
    margin-left: -300px;
    width: 403px;
    
    background-color: transparent;
    color: #333;

}

.jqmWindowSurvey#messagesSurveyDialog {
    bottom:0;
    top: 20%;
}

    .jqmWindowSurvey .surveyContainer {
        background:url(../../images/Fadebox-web.png);
        background-repeat:no-repeat;
        width:403px;
        height:165px;
    }

        .jqmWindowSurvey .surveyContainer.messaging {
        background:url(../../images/C/Fadebox-large-web.png);
        background-repeat:no-repeat;
        background-size: cover;
        width: 350px;
        height: 400px;
        padding: 25px;
        font-family: 'AvenirLTW01-65Medium';
    }

            .jqmWindowSurvey .surveyContainer.messaging .title {
                color: #179fb6;
                font-size: 30px;
                font-weight: bold;
            }
            
            .jqmWindowSurvey .surveyContainer.messaging .surveyQuestion {
                font-weight: bold;
                text-align: center;
                margin-top: 0;
                margin-bottom: 20px;
                width: 100%;
            }

            .jqmWindowSurvey .surveyContainer.messaging .surveyQuestion p {
                margin-top: 5px;
                margin-bottom: 5px;
            }
            
    .jqmWindowSurvey .surveyHcbblogo {
        background-image:url(../../images/Logo-web.png);
        background-repeat:no-repeat;
        width:75px;
        height:71px;
        float:left;
        margin-left:10px;
        margin-top:40px;
    }
    
    .jqmWindowSurvey .surveyCloseButton {
        background-image:url(../../images/X-Element-web.png);
        background-repeat:no-repeat;
        background-color:transparent;
        width:50px;
        height:50px;
        border:none;
        float:right;
        margin-top:-15px;
        margin-right:-5px;
    }
    

    
    .jqmWindowSurvey .messaging .surveyCloseButton {
        margin-top:-43px;
        margin-right:-42px;
        border: 1px solid black;
        border-radius: 25px;
    }
    


    
    .jqmWindowSurvey .surveyQuestion {
        float:left;
        margin-top:10px;
    }
    .jqmWindowSurvey .surveyQuestion p {
        font-family:'AvenirLTW01-65Medium' !important;
    }

        .jqmWindowSurvey .surveyQuestion .surveyStar {
            background-repeat:no-repeat;
            background-color:transparent;
            width:38px;
            height:36px;
            border:none;
            margin-left:10px;
        }

        
        .jqmWindowSurvey .messaging .surveyQuestion .surveyStars {
            display: inline-flexbox;
            margin-left: 40px;
            overflow: hidden;
        }

        
        .jqmWindowSurvey .messaging .surveyQuestion .surveyStarWrapper {
            float: left;
            width: 38px;
            margin-left: 4px;
        }

        .jqmWindowSurvey .messaging .surveyQuestion .surveyStar {
            padding-left: 0;
            padding-right: 0;
            margin-left: 0;
        }


                .jqmWindowSurvey .surveyQuestion .surveyStar.unselected{
                    background-image:url(../../images/Star-web.png);
                }

                .jqmWindowSurvey .surveyQuestion .surveyStar.selected{
                    background-image:url(../../images/Star-yellow-web.png);
                }

                .jqmWindowSurvey .surveyQuestion .surveyStar.clicked{
                    background-image:url(../../images/Star-yellow-web.png);
                }

    .jqmWindowSurvey .buttonsContainer {
        float: right;
        padding-top: 5px;
    }
        .jqmWindowSurvey .buttonsContainer .submitButton {
            padding: 10px 20px;
        }
    
        .jqmWindowSurvey .buttonsContainer .closeButton {
            color: black;
            padding: 10px 20px;
        }


#logonDialog, #securityLogonDialog {
    width: 450px;
    padding: 0 40px 40px 40px;
}

#logonDialog, #securityLogonDialog hr {
    margin: 10px 0;
}

    #logonDialog .box-header, #securityLogonDialog .box-header {
        background: #3768a9;
        color: #fff;
        padding: 5px;
        min-height: 20px;
        text-align: center;
    }

    #logonDialog p, #securityLogonDialog p {
        padding-top: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }


@media screen and (max-width: 620px) {
    .jqmWindow, #securityLogonDialog {
        display: none;
    
        position: fixed;
        top: 10%;
    
        width: 100%;
        margin-left: 0;
        left: 0;
    
        color: #333;
        border: 1px solid black;
    }

    #securityLogonDialog {
        height:auto;
    }

    #securityLogonDialog .logInButton,.cancelButton {
        width: 50%;
        min-width: 140px;
    }

        #securityLogonDialog .logonHeader {
            font-size: 20px;
            padding-top: 10px;
        }

        #securityLogonDialog .logonInstructions {
            padding-top: 5px;
            padding-bottom: 5px;
        }

        #securityLogonDialog #close_modal_button {
            width: 50px;
        }

        #securityLogonDialog p {
            margin-top: 0px;
            margin-bottom: 0px;
        }
        #securityLogonDialog hr {
            margin-top: 5px;
            margin-bottom: 5px;
        }

     .jqmWindowSurvey .surveyContainer.messaging {
        margin: 0;
        top: 30px;
    }

    .jqmWindowSurvey#messagesSurveyDialog {
        top: 30px;
        margin-left: 10px;
        left: 0px;
    }
}

@media screen and (max-width: 420px) {
    .jqmWindow {

    }

    
    .jqmWindowSurvey {
        bottom:10%;
        right:0%;
    
        margin-left: -300px;
        width: 305px;

    }
        .jqmWindowSurvey .surveyContainer {
                background:url(../../images/Fadebox-mobile.png);
                width:305px;
                height:129px;
            }

    
        .jqmWindowSurvey .surveyHcbblogo {
            background-image:url(../../images/Logo--Mobile.png);
            width:55px;
            height:55px;
            margin-left:10px;
            margin-top:30px;
        }

        .jqmWindowSurvey .surveyCloseButton {
            background-image:url(../../images/X-element-Mobile.png);
            width:41px;
            height:40px;
            margin-top:-14px;
            margin-right:0px;
        }

        .jqmWindowSurvey .surveyQuestion {
            margin-top:-6px;
        }

            .jqmWindowSurvey .surveyQuestion .surveyStar {
                background-image:url(../../images/Star-mobile.png);
                width:28px;
                height:27px;
                margin-left:10px;
            }

                    .jqmWindowSurvey .surveyQuestion .surveyStar.unselected{
                        background-image:url(../../images/Star-mobile.png);
                    }

                    .jqmWindowSurvey .surveyQuestion .surveyStar.selected{
                        background-image:url(../../images/Star-yellow-mobile.png);
                    }

    #securityLogonDialog {
        padding-left: 10px;
        padding-right: 10px;
        top: 10px;
    }

    .jqmWindowSurvey .surveyContainer.messaging {
        height: 360px;
        width: 290px;
    }

    .jqmWindowSurvey .messaging .surveyQuestion .surveyStars {
        margin-left: 12px;
    }

    .jqmWindowSurvey#messagesSurveyDialog {
        margin-left: 0;
    }

}

@media screen and (max-width: 340px) {
    .jqmWindow {
        /*
        display: none;
    
        position: fixed;
        top: 1%;
        left: 100%;
    
        margin-left: -300px;
        width: 600px;
    
        color: #333;
        border: 1px solid black;
        padding: 12px;
        */
    }

    
    .jqmWindowSurvey {
        bottom:10%;
        right:0%;
    
        margin-left: -300px;
        width: 305px;

    }
    .jqmWindowSurvey .surveyContainer {
            background:url(../../images/Fadebox-mobile.png);
            width:305px;
            height:129px;
        }

    
    .jqmWindowSurvey .surveyHcbblogo {
        background-image:url(../../images/Logo--Mobile.png);
        width:55px;
        height:55px;
        margin-left:10px;
        margin-top:30px;
    }

    .jqmWindowSurvey .surveyCloseButton {
        background-image:url(../../images/X-element-Mobile.png);
        width:41px;
        height:40px;
        margin-top:-14px;
        margin-right:0px;
    }

    .jqmWindowSurvey .surveyQuestion {
        margin-top:-6px;
    }

        .jqmWindowSurvey .surveyQuestion .surveyStar {
            width:28px;
            height:27px;
            margin-left:10px;
        }

                .jqmWindowSurvey .surveyQuestion .surveyStar.unselected{
                    background-image:url(../../images/Star-mobile.png);
                }

                .jqmWindowSurvey .surveyQuestion .surveyStar.selected{
                    background-image:url(../../images/Star-yellow-mobile.png);
                }

}

.jqmOverlay,.jqmOverlayMessageSurvey { background-color: #000; }

/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px');
	height: expression(this.parentNode.offsetHeight+'px');
}

/* Fixed posistioning emulation for IE6
     Star selector used to hide definition from browsers other than IE6
     For valid CSS, use a conditional include instead */
* html .jqmWindow {
     position: absolute;
     top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

