.error-message {
    color: #cc0000;
    display: block;
    font-weight: normal;
    padding: 1px;
}

#reply-to {
    text-align: left;
    width: 50%;
}

#reply-from {
    text-align: right;
    width: 50%;
}

/* individually targeting errors because of the fake two column layout */
#to_email-error {
    margin-left: 4.5em;
}

#from_email-error {
    margin-right: 4em;
}

#reply_message-error {
    margin-left: 6em;
    text-align: left;
}

#free-cards-container .free-reply-card a img{
    margin-bottom: 10px;
}

/*--------------------------------------------------------------------------
= JL Reply Page Mobile Styles
--------------------------------------------------------------------------*/
@media only screen and (max-device-width: 767px) {
    #page #jl-wrapper p {
        margin-bottom: 0;
    }

    #reply-tofrom span {
        width: 100%;
    }

    #to_email-error {
        margin-left: 0;
    }

    #from_email-error {
        text-align: left;
    }

    #reply_message-error {
        margin-left: 0;
    }

    #jl-tnxyou #jl-sendreply,
    #jl-tnxyou #jl-sendreply #reply-tofrom,
    #jl-tnxyou #jl-sendreply #reply-msg,
    #jl-tnxyou #jl-sendreply #reply-msg-inner,
    #jl-tnxyou #jl-sendreply #reply-msg-inner textarea.helptext-mobile {
        width: 100%;
    }

    #jl-tnxyou #jl-sendreply #reply-msg-inner textarea.helptext-mobile {
        box-sizing: border-box;
    }

    #jl-tnxyou #jl-sendreply {
        margin: 20px -15px 0 -15px;
        overflow: hidden;
        padding: 20px 15px;
        text-align: left;
    }

    #jl-tnxyou #jl-wrapper .intro {
        font-size: inherit;
        font-weight: normal;
        margin: 0;
    }

    #jl-tnxyou #jl-sendreply #reply-to,
    #jl-tnxyou #jl-sendreply #reply-from {
        display: block;
        float: none;
        margin: 0 0 .67em 0;
    }

    #jl-tnxyou #jl-sendreply #reply-msg-inner textarea.helptext-mobile {
        border: 1px solid #ccc;
        color: inherit;
        font-family: inherit;
        font-size: 1.333rem;
        padding: 10px !important;
    }

    #jl-tnxyou #jl-sendreply #reply-msg,
    #jl-tnxyou #jl-sendreply #reply-msg-inner,
    #jl-tnxyou #jl-sendreply #reply-msg-inner textarea.helptext-mobile {
        border: 0;
        padding: 0;
    }

    #jl-tnxyou #jl-sendreply img {
        height: auto;
        width: 100%;
    }

    #jl-tnxyou #jl-sendreply .mbuttons-cta {
        margin-bottom: 30px;
    }

    #jl-tnxyou #jl-sendreply #replyfooter {
        padding: 30px 0 0 0;
    }

    #page #jl-wrapper p.errmsg {
        margin-top: 20px;
    }
}

#preview-replycontent {
	text-align:left;
	margin-left:25%;
	margin-right:25%;
	padding-bottom:0;
}

#preview-replycontent h2{
	padding-bottom:5px;
	padding-top:5px;
	font-size:2rem;
}

#preview-replycontent>div {
	background-color: #c3dae0;
	padding:40px;
}

#free-cards-container {
	font-size:1rem;
	text-align:center;
	padding-top:20px
}

.free-card-selected {
	border: 4px solid #76A5B5 !important;
}

.free-reply-card {
	display:inline-block;
	width:22%;
	padding:4px;
}

.free-reply-card img {
	border: 4px solid #c3dae0;
}

.free-reply-card href{
	text-decoration:none;
	font-weight:900;
}

#free-card-form-container {
	border-top: 1px solid #b4cfd8;
	padding-top:20px;
	padding-bottom:10px;
}

#recipient-fields{
	display:flex;
	margin-left:25px;
	font-weight:bold;
	margin-top:15px;
	margin-bottom:20px;
}

#recipient-fields div{
	display:inline-block;
	width:50%;
}

#recipient-fields label{
	display:block;
	margin-bottom:10px;
}

#free-card-form-container #fli-sender #fromname1 {
	width:90%;
	margin-bottom:10px;
}

#free-card-form-container .jl-sender input {
	width:90%;
}

#free-card-form-container .jl-sender div {
	display:inline-block;
	width:50%;
}

#free-card-form-container .jl-sender {
	display:flex;
	margin-left:25px;
	margin-bottom:25px;
}

#free-card-form-container #sender-email label{
	margin-bottom:10px;
	margin-top:20px;
	display:block;
	font-weight:bold;
}

#agi-expression-container .loader {
	transform-origin: center top !important;
}

#agi-expression-container {
	max-height: 60%;
}

#content-mobile #free-cards-container {
    display: flex;
    overflow-x: auto;
}

#content-mobile #free-cards-container .free-reply-card {
    width: 50%;
    flex: 2 0 auto;
    padding: 0;
}

.mobile-free-card-preview-btn {
    margin-top: 7%;
}

.mobile-free-card-preview-btn a, .mobile-free-card-preview-btn {
    text-decoration: none;
}

@media only screen and (max-device-width: 767px) {

    #free-card-form-container #sender-email label {
        margin-bottom: 5px;
        margin-top: 0;
    }

}