*
{
    outline: none; /* removes strange blue outline that some browsers add to selected items */
}

/* Subscriptions Landing Page
------------------------------------------------------------------ */
.subscriptions .back-button,
.subscriptions .submit
{
    color: #fff;
    text-align: center;
    text-transform:uppercase;
    font-weight: normal;
    float: right;
    padding: 0 15px;
    font-size: 13px;
    line-height: 40px;
    height: 40px;
    border: none;
    background: #701200;
}

.subscriptions .back-button
{
    float: left;
}

.subscriptions .submit:hover
{
    background: #880e02;
}

.subscriptions .submit:disabled,
.subscriptions .back-button
{
    background: #C1C0C0;
}

#subscribe-info-box
{
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

#subscribe-info-box h3,
#login-form-box h3
{
    color: #701200;
    margin-top: 0;
}

#login_form .uk-form-row
{
    margin-bottom: 10px;
}

#login_form .uk-form-row input[type="text"],
#login_form .uk-form-row input[type="password"]
{
    max-width: 400px;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    #subscribe-info-box
    {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
        padding-right: 0;
        margin-bottom: 20px;
    }
}


/* Subscriptions Page (index.phtml)
------------------------------------------------------------------ */
.subscriptions h3
{
    margin-top: 20px;
}

#subscription_box_wrapper
{
    padding: 25px;
}

.valid_status
{
    position: absolute;
    left: -20px;
    top: 10px;
}

.valid_status img.accept
{
    vertical-align: middle;
}

.valid_status img.required
{
    vertical-align: middle;
}

.dvids_search_div
{ 
    display: none;
    position: relative;
}

#select_email_wrapper,
#select_mobile_wrapper
{ 
    margin: 10px 0;
    position: relative;
}

.source-element
{ 
    vertical-align: middle; 
}

.asset-icon
{
    display: inline-block;
    height: 16px;
    width: 16px;
    color: #701200;
    font-size: 14px;
    text-align: center;
    line-height: 16px;
}

.asset-icon-unselected 
{
    color: #ccc;
}


/* Tabs / Chevron Element
------------------------------------------------------------------------ */
.subscribe-tabs {
    list-style: none;
    padding: 0;
    float: left;
    font-size: 15px;
    line-height: 25px;
    font-weight: bold;
    counter-reset: li;
    width: 100%;
    border: none!important;
}

.subscribe-tabs li {
    margin: 0;
    list-style-image: none;
    list-style-type: none;
    text-align: center;
    background: #c1c0c0;
    position: relative;
    margin-left: 52px; 
    box-sizing: border-box;
    width: 21%;
}    

.subscribe-tabs li:after {
    position: absolute;
    top: 50%;
    left: 100%;
    content: " ";
    height: 0;
    width: 0;
    pointer-events: none;
    border: solid transparent;
    border-left-color: #c1c0c0;
    border-width: 23px;
    margin-top: -23px; 
    box-sizing: border-box;
}
  
.subscribe-tabs li:first-child {
    margin-left: 0;
}
.subscribe-tabs li:first-child a:after {
    border: none;
}

.subscribe-tabs li a {
    display: block;
    padding: 0!important;
    margin: 0!important;
    border: none;
    background: transparent!important;
}

.subscribe-tabs li a.chevron p {
    color: #fff;
    font-size: 1.3em!important;
    font-weight: normal;
    line-height: 46px;
    padding: 0 27px 0 0;
    margin: 0;
    height: 46px;
    border: none;
}

.subscribe-tabs li:first-child a.chevron p {
    padding-left: 25px;
}

.subscribe-tabs li a:after {
    position: absolute;
    top: 50%;
    right: 100%;
    content: " ";
    height: 0;
    width: 0;
    pointer-events: none;
    border: solid #c1c0c0;
    border-left-color: transparent;
    border-width: 23px;
    margin-top: -23px; 
}

.subscribe-tabs > li {
    float: left;
}

.subscribe-tabs li.uk-active {
    color: #fff;
    background: #701200!important;
    padding: 0;
}

.subscribe-tabs li.uk-active {
    background: #701200!important;
}

.subscribe-tabs li.uk-active:after {
    border-left-color: #701200!important;
}
  
.subscribe-tabs li.uk-active a:after {
    border-color: #701200;
    border-left-color: transparent;
}

#subscription-steps
{
    clear: both;
}

.tab-step
{
    margin-top: 20px;
}

@media only screen and (max-width: 1220px) {
    .subscribe-tabs li { width: 20%; }
}
@media only screen and (max-width: 975px) {
    .subscribe-tabs li { width: 19.5%; }
}
@media only screen and (max-width: 900px) {
    .subscribe-tabs li { width: 19%; }
}
@media only screen and (max-width: 825px) {
    .subscribe-tabs li { width: 18.5%; }
}
@media only screen and (max-width: 750px) {
    .subscribe-tabs li { width: 18%; }
}
@media only screen and (max-width: 700px) {
    .subscribe-tabs li { width: 17%; }
}
@media only screen and (max-width: 600px) {
    .subscribe-tabs li { width: 16%; }
}
@media only screen and (max-width: 550px) {
    .subscribe-tabs li { width: 15%; }
}
@media only screen and (max-width: 500px) {
    .subscribe-tabs li { width: 13%; }
}
@media only screen and (max-width: 450px) {
    .subscribe-tabs li { width: 12%; }
}
@media only screen and (max-width: 400px) {
    .subscribe-tabs li { width: 10%; }
    .subscribe-tabs li p { 
        display: inline-block; 
        margin-left: -15px!important;
        padding-right: 0!important;
    }
}
@media only screen and (max-width: 350px) {
    .subscribe-tabs li { width: 9%; }
}

/* Some Form styles
------------------------------------------------------------------------ */
div#subscription_box_wrapper select,
div#subscription_box_wrapper input[type="text"]
{
    width: 100%;
    margin: 0 0 10px 0;
    box-sizing: border-box;
}

div#radius_search_div .dropdown
{
    width: 140px !important;
}

#subscription_box_wrapper input#member_mobile_number 
{
    width: 150px;
}

/* Radio and Checkbox button styles
------------------------------------------------------------------------ */
div.source-checkbox-wrapper label:after,
div.how-often-radio-wrapper label:after,
div#select_alert_method_wrapper label:after,
div.exact-phrase label:before
{  
    content: "";  
    display: inline-block;  
    width: 16px;  
    height: 16px;  
    margin-left: 10px;  
    position: absolute;  
    right: 10px;
    top: 12px;  
    bottom: 1px;  
    background-color: #ccc;  
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8);  
}  

div.exact-phrase label:before
{
    right: auto;
    left: 0;
    margin: 0 10px 0 0;
}

div.source-checkbox-wrapper label:after,
div.exact-phrase label:before
{  
    border-radius: 3px;  
}

div.how-often-radio-wrapper label:after,
div#select_alert_method_wrapper label:after
{  
    border-radius: 8px;  
}

div.source-checkbox-wrapper input[type=checkbox]:checked + label:after,
div.exact-phrase input[type=checkbox]:checked + label:before
{  
    content: "\2713";  
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .2);  
    font-size: 15px;  
    color: #996f38;  
    background-color: #eee;
    text-align: center;  
    line-height: 15px;  
}  

div.how-often-radio-wrapper input[type=radio]:checked + label:after,
div#select_alert_method_wrapper input[type=radio]:checked + label:after
{  
    content: "\2022";  
    color: #996f38;  
    background-color: #eee;  
    font-size: 30px;  
    text-align: center;  
    line-height: 20px;  
}

div.how-often-radio-wrapper input[type=radio],
div.source-checkbox-wrapper input[type=checkbox],
div#select_alert_method_wrapper input[type=radio],
div.exact-phrase input[type=checkbox]
{  
    display: none;  
}

div.how-often-radio-wrapper label,
div.source-checkbox-wrapper label,
div#select_alert_method_wrapper label,
div.exact-phrase label
{
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 5px 0 5px 15px;
    font-size: 1.2em;
    line-height: 28px;
    background: #d8d8d8;
    border: 1px solid #d8d8d8;
    cursor: pointer;
}

div.source-checkbox-wrapper label:hover,
div.how-often-radio-wrapper label:hover,
div#select_alert_method_wrapper label:hover
{
    background: #e9e9e9;
}

div.source-checkbox-wrapper input[type=checkbox]:checked + label,
div.how-often-radio-wrapper input[type=radio]:checked + label,
div#select_alert_method_wrapper input[type=radio]:checked + label
{
    background: #fefefe;
    border: 1px solid #701200;
}

div.source-checkbox-wrapper div.disabled,
div.how-often-radio-wrapper div.disabled
{    
    display: none;
} 

div.exact-phrase label
{
    font-size: 1em;
    background: transparent;
    padding: 5px 0 0 20px;
    border: none;
    width: auto;
}

/* Email / SMS select styles
------------------------------------------------------------------------ */
div#select_email_wrapper select#member_email_id {
    font-weight: 400;
    display: block;
    height: 46px;
    margin: 6px auto 0 auto;
    font-size: 14px;
    padding: 0px 18px 0px 16px;
    line-height: 1.2;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.unvalidated-message,
.email-error,
.unvalidated-sms
{ 
    color: red;
    display: none;
}

.email-success 
{ 
    color: green;
    display: none;
}

.unvalidated-message a,
.unvalidated-sms a
{
    color: #8B130B;
    line-height: 24px;
    text-decoration: underline;
}

.unvalidated-message a.uk-button,
.unvalidated-sms a.uk-button
{
    background: #8B130B;
    color: #fff;
    text-decoration: none;
    float: none;
    width: 170px;
    margin: 10px 0;
    font-size: 0.8em !important;
    height: auto;
}

#frm-sms-validation .button-group {
    display: inline-block;
    margin: 10px 10px 0 0;
}