﻿.wrapper--text-to-phone {
    position: relative;
    display: inline-block;
    width: auto
}

button.text-to-phone--text {
    position: relative;
    display: inline-block;
    width: auto;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 32px;
    height: 32px;
    vertical-align: middle;
    padding-left: 40px;
    color: #666;
    opacity: 1;
    border: 0px;
    background: url(/ss-client/css/images/ams-sprite.png) no-repeat 0px -600px;
}

    button.text-to-phone--text:hover {
        opacity: .5;
        text-decoration: none;
    }

/* Pop-up */

html.mobile div.textToPhoneDialog.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front {
    max-width: 100%;
    width: 100% !important;
    top: 0px !important;
    bottom: 0px !important;
    z-index: 1000;
    border: 0px;
    border-radius: 0px;
    position: fixed
}

html.desktop .textToPhoneDialog,
html.tablet.mobile .textToPhoneDialog {
    max-width: 350px;
    z-index: 1000;
}

#textToPhoneDialog {
    text-align: left;
    font-size: 14px
}

button.container-x {
    position: relative;
    display: block;
    width: auto;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 32px;
    height: 32px;
    color: #666;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: .25em;
    padding-right: 10px;
    cursor: pointer;
    background: white;
    float: right
}

.textToPhoneDialog--title {
    position: relative;
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 32px;
    float: left;
}

    .textToPhoneDialog--title:focus {
        text-decoration: underline
    }

.textToPhoneDialog--title-sub {
    position: relative;
    display: block;
    width: 100%;
    font-size: 16px;
    line-height: 32px;
    margin-top: 10px;
    float: left;
}

.textToPhoneDialog--text {
    position: relative;
    display: block;
    width: 100%;
    line-height: 24px;
    float: left;
}

.textToPhoneDialog--phoneNumber {
    position: relative;
    display: block;
    width: 100%;
    margin: 20px 0;
    float: left;
    text-align: center
}

    .textToPhoneDialog--phoneNumber input#phoneNumber {
        position: relative;
        display: inline-block;
        width: calc(100% - 38px);
        line-height: 36px;
        border: 2px solid #666;
        text-indent: 10px;
    }

    .textToPhoneDialog--phoneNumber span {
        position: relative;
        display: inline-block;
        width: auto;
        line-height: 32px;
    }

.textToPhoneDialog--send-wrapper {
    position: relative;
    display: block;
    width: 100%;
    float: left;
    margin-bottom: 20px;
}

    .textToPhoneDialog--send-wrapper #successmessage:empty {
        display: none
    }

    .textToPhoneDialog--send-wrapper #successmessage {
        position: relative;
        display: inline-block;
        line-height: 40px;
        font-weight: 300;
        text-align: center;
        width: 100%;
    }

    .textToPhoneDialog--send-wrapper #errormessage:empty {
        display: inline-block
    }

    .textToPhoneDialog--send-wrapper #errormessage {
        position: relative;
        display: inline-block;
        line-height: 40px;
        font-weight: 300;
        color: red;
        text-align: center;
        width: 100%;
    }

input.textToPhoneDialog--send {
    position: relative;
    display: block;
    width: 100%;
    font-size: 18px;
    line-height: 40px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    background: #388e3c;
    border: 0;
    border-radius: 3px;
    float: left;
}

    input.textToPhoneDialog--send:focus {
        color: white;
        background: #388e3c;
    }

.textToPhoneDialog--message {
    position: relative;
    display: block;
    width: 100%;
    font-size: 12px;
    line-height: 24px;
    float: left;
}

#textToPhoneDialog .iti {
    vertical-align: top
}


#textToPhoneDialog .iti__flag-container {
    height: 30px;
    vertical-align: top;
    padding: 0
}

#textToPhoneDialog input#phone {
    height: 30px;
    font-size: 16px;
    width: 200px;
    vertical-align: top;
}

#textToPhoneDialog input#TextMessageSignupButton {
    font-size: 16px;
    height: 30px;
    vertical-align: top;
}

.iti__country-list {
    width: 200px
}