﻿body {
    /*padding-top: 2px;*/
    padding-bottom: 20px;
    background: #f5f7f9;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/*.form-control.k-widget
{
    padding: 0;
}*/

.center-me
{
    margin: auto; 
    max-width: 200px;
}



#Header {
    position: absolute;
    top: 4px;
    right: 0;
    height: 186px;
    /*height: 167px;*/
    /*width: 303px;*/
    width: 364px;
    padding-top: 5px;
    overflow: hidden;
}

#Header .Bottom {
    position: absolute;
    top: 150px;
    right: 0px;
    width: 90%;
    padding: 0;
    text-align: center;
    overflow: hidden;
    padding-right: 6px;
}

    #Header img {
        position: absolute;
        top: 2px;
        left: 0px;
        margin-left: 10px;
        /*padding: 35px 50px;*/
        padding: 35px 48px;
        border-top-left-radius: 60px 150px;
        border-bottom-left-radius: 60px 150px;
        background: #013020;
        background: -moz-linear-gradient(top, #013020 0%, #013020 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#013020), color-stop(100%,#013020));
        background: -webkit-linear-gradient(top, #013020 0%,#013020 100%);
        background: -o-linear-gradient(top, #013020 0%,#013020 100%);
        background: -ms-linear-gradient(top, #013020 0%,#013020 100%);
        background: linear-gradient(to bottom, #013020 0%,#013020 100%);
        -webkit-box-shadow: 5px 0px 10px 0px #000000;
        box-shadow: 5px 0px 10px 0px #000000;
    }

#Header .Bottom .Mask .Content {
    margin-right: 10px;
    /*padding-top: 58px;
    -webkit-transform: rotate(20deg);
    transform: rotate(20deg);*/
}

#Header .Bottom .Mask .Content a {
    padding: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #404040;
    text-shadow: 0px 0px 4px #999999;
    filter: dropshadow(color=#999999, offx=0, offy=0);
}

.logo-link{

    text-decoration: none;
    cursor: pointer;
    color: #00875A;
}

/*a:hover, a:visited, a:link, a:active
{
    text-decoration: none;
}*/

span.glyphicon{

    font-size: 1.5em;
}



.k-grid .k-state-selected
{
     background: rgba(0, 135, 90, 0.45);
     color: #000;
}

.k-grid td.k-state-selected:hover,
.k-grid tr.k-state-selected:hover td {
     background-color: rgba(0, 135, 90, 0.6);
     color: #000;
}

.k-pager-wrap .k-link {
     color: #00875A;
}

.k-pager-wrap .k-link:hover {
     background-color: rgba(0, 135, 90, 0.15);
     color: #00875A;
}

.k-pager-wrap .k-state-selected {
     background: #00875A;
     color: #fff;
}

.glyphicon.glyphicon-filter {
    font-size: 15px;
}

.required-focus {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 10px #d59392 !important;
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 10px #d59392 !important;
    transition: all 10s ease;
}

.failedValidation {
    
    -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 20px red !important;
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 20px red !important;
    transition: box-shadow .4s ease-in-out;
}

.failedTextValidation {

    text-shadow: 0px 0px 8px red;
    transition: text-shadow .4s ease-in-out;
}

.my-has-error{

    border-color: #953b39 !important;
}

/* hide kendo validation messages */
/*.k-widget.k-tooltip-validation {
  display: none !important;
}*/



.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
    transform-origin: 50% 50%;
    display: inline-block;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg); }
    to { transform: scale(1) rotate(360deg); }
}

@-webkit-keyframes spin2 {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}


.bs-radio-focus {

    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0px 1px 1px rgba(0,0,0,0.075), 0px 0px 8px rgba(102, 175, 233, 0.6);
}




.searchButton:hover {

  -webkit-filter: grayscale(0%);

  -webkit-transition: .5s ease-in-out;

  -moz-filter: grayscale(0%);

  -moz-transition: .5s ease-in-out;

  -o-filter: grayscale(0%);

  -o-transition: .5s ease-in-out;

} 



.searchButton {

  -webkit-filter: grayscale(100%);

  -webkit-transition: .5s ease-in-out;

  -moz-filter: grayscale(100%); 

  -moz-transition: .5s ease-in-out;

  -o-filter: grayscale(100%); 

  -o-transition: .5s ease-in-out;

}

.homeButtonRow {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: nowrap;
}

.homeButton {

    /* border: solid 1px black; */
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    width: 180px;
    padding: 16px 0 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: white;
    box-shadow: 0 2px 12px rgba(1,48,32,.08);
}

.col-centered{
    float: none;
    margin: 0 auto;
}

.navBarLinks {

    color: #013020;
    background-color: transparent;
    -webkit-transition-property: background-color; /* Safari */
    -webkit-transition-duration: 1s; /* Safari */
    transition-property: background-color;
    transition-duration: 1s;
}

.navBarLinks:hover {

    color: #013020 !important;
    background-color: white;
}

.ActiveNavBar{

    color: white !important;
     background-color: #00875A;
    /*background-color: white;*/
    -webkit-transition-property: background-color;
    -webkit-transition-duration: 1s;
    transition-property: background-color;
    transition-duration: 1s;
}

.ActiveNavBar:hover {

    color: black !important;
}

.ActiveNavBar:focus {

    color: white !important;
    background-color: #00875A !important;
}

@media(min-width:768px) {
    .mainHomeButton {

        visibility: hidden;
    }
}

.mainHomeLocation {

    top: 146px;
    z-index: 1000;
    text-align: left;
    font-size: 85%;
    padding: 7px 11px;
}

.customFooter {


    text-align: center;
    position:   absolute;
    left: 0;
    right: 0;
    bottom:     0;
    width:      100%;
    height:     40px;   /* Height of the footer */
}

.hideIt {

    visibility: hidden;
}

.fadeIt {
    /*margin-top: 25px;
    font-size: 21px;
    text-align: center;*/
    animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

.required-field {

    border-color: rgba(26, 117, 188, 1) !important;
    /*color: rgba(26, 117, 188, 1) !important;*/
}

.k-loading-image {
    background-image: none !important;
}

.k-loading-image::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 4px solid rgba(0, 135, 90, 0.3);
    border-top-color: #00875A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* AvonRisk branding overrides */
.btn-primary {
    background-color: #00875A;
    border-color: #00734D;
    color: #fff;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #00734D;
    border-color: #00593B;
    color: #fff;
}

.btn-primary:hover {
    background-color: #00734D;
    border-color: #00593B;
    color: #fff;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #00593B;
    border-color: #004A31;
    color: #fff;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    background-color: #00593B;
    border-color: #004A31;
    color: #fff;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
    background-color: #00875A;
    border-color: #00734D;
}

.btn-primary .badge {
    color: #00875A;
    background-color: #fff;
}

/* Claim view tab text color */
.nav-tabs > li > a {
    color: #00875A;
}

.nav-tabs > li > a:hover {
    color: #00875A;
}

/* Page content flex layout for footer anchoring */
#page-content-wrapper {
    min-height: calc(100vh - 20px) !important;
    display: flex !important;
    flex-direction: column !important;
}

#page-content-wrapper > .container {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

#page-content-wrapper > .container > .body-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Multi-brand logo footer */
.multibrand-footer {
    text-align: center;
    padding: 10px 20px;
    margin-top: auto;
}
}

/* Home button hover effect */
.homeButton:hover {
    border: 2px solid #00875A;
    box-shadow: 0 6px 20px rgba(1,193,128,.2);
    transform: translateY(-2px);
    transition: border-color .18s, box-shadow .18s, transform .15s;
}

/* Mobile: stack buttons vertically on small screens */
@media (max-width: 600px) {
    .homeButtonRow {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ── Resource Center ── */
.rc-page { max-width: 1020px; margin: 0 auto; padding: 32px 24px 64px; }
.rc-home-btn {
    display: inline-block; color: #00875A; font-size: 85%;
    text-decoration: none; margin-bottom: 12px; padding: 7px 11px;
    border: 1px solid #ccc; border-radius: 4px; background-color: #fff;
}
.rc-home-btn:hover { color: #013020; text-decoration: none; background-color: #e6e6e6; border-color: #adadad; }
.rc-title { font-size: 20px; font-weight: 600; color: #013020; margin-bottom: 4px; }
.rc-sub   { font-size: 13px; color: #87909e; margin-bottom: 32px; }

/* Jump bar */
.rc-jump-bar { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; align-items: center; }
.rc-jump-label { font-size: 11px; color: #87909e; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-right: 4px; }
.rc-jump-pill {
    background: white; border: 1.5px solid #e5e7eb; border-radius: 20px;
    padding: 5px 16px; font-size: 12px; font-weight: 600; color: #87909e;
    cursor: pointer; text-decoration: none; transition: all .15s;
}
.rc-jump-pill:hover { border-color: #00875A; color: #013020; }

/* Jurisdiction section */
.rc-jx-section { margin-bottom: 40px; }
.rc-jx-header {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 10px; border-bottom: 2px solid #013020;
    margin-bottom: 16px;
}
.rc-jx-flag {
    background: #013020; color: white;
    font-size: 11px; font-weight: 700; letter-spacing: .06em;
    padding: 3px 10px; border-radius: 4px; text-transform: uppercase;
    flex-shrink: 0;
}
.rc-jx-flag.all { background: #87909e; }
.rc-jx-title { font-size: 14px; font-weight: 600; color: #013020; }
.rc-jx-count {
    margin-left: auto; background: rgba(1,193,128,.1); color: #006644;
    border: 1px solid rgba(1,193,128,.25); font-size: 10px; font-weight: 700;
    padding: 2px 8px; border-radius: 10px; letter-spacing: .04em;
    white-space: nowrap;
}

/* Document cards */
.rc-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
}
.rc-doc-card {
    background: white; border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 11px 13px; display: flex; flex-direction: column; gap: 6px;
    text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .12s;
}
.rc-doc-card:hover {
    border-color: #00875A;
    box-shadow: 0 3px 12px rgba(1,193,128,.15);
    transform: translateY(-1px);
}
.rc-doc-badges { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.rc-badge-type {
    display: inline-block; font-size: 9px; font-weight: 700;
    background: #e53e3e; color: white;
    padding: 1px 5px; border-radius: 3px; letter-spacing: .04em;
}
.rc-badge-type.doc  { background: #3182ce; }
.rc-badge-type.html { background: #d69e2e; }
.rc-badge-cat {
    display: inline-block; font-size: 9px; font-weight: 600;
    background: rgba(1,48,32,.07); color: #555;
    border: 1px solid rgba(1,48,32,.12);
    padding: 1px 6px; border-radius: 3px; letter-spacing: .03em;
}
.rc-badge-form {
    display: inline-block; font-size: 9px; font-weight: 700; color: #00875A;
    font-family: Consolas, monospace;
    background: rgba(1,193,128,.1); padding: 1px 5px; border-radius: 3px;
}
.rc-doc-title { font-size: 12px; color: #30343b; line-height: 1.45; }
.rc-doc-card:hover .rc-doc-title { color: #013020; }