/* CMS style overrides */

:root{
    --sfs-green: #78a22f;
    --sfs-pink: #e50278;
    --sfs-pink-hover: #e82c8d;
}

header{
    background-color: var(--sfs-green);
}

.create_btn{
    background-color: var(--sfs-pink);
}
    .create_btn:hover{
        background-color: var(--sfs-pink-hover);
    }

main h3{
    margin: 1.5em 0;
    color: #666;
}

/* custom styles */

#loginPage{
    min-height: 100vh;
    background-color: #fff;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.loginContainer{
    max-width: 350px;
    margin: auto;
    width: 88%;
}

    .loginContainer img{
        display: block;
        margin: 0 auto 3em;
    }

#loginForm input[type="email"],#loginForm input[type="password"]{
    width: 100%;
    padding: 20px 30px;
    border: solid 1px #ddd;
    border-radius: 3px;
    margin: 0 0 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.3em;
    color: #3f3f3f;
    background: rgba(255,255,255,0.9);
}

    #loginForm .btn{
        padding: 13px 33px;
    }

    #loginForm p{        
        text-align: center;        
    }
        #loginForm p a{
            color: #e50278;
            text-decoration: none;
        }

header h5 a{
    font-size: 1em;
}
header h5 a svg{
    margin-left: 10px;
}

.ui-widget{
    font-family: inherit !important;
}

.tab_btn{
    color: #fff !important;
    float: right;
}

.note{
    position: relative;
    margin-bottom: 30px;
    background-color: #fafad6;
    padding: 10px 20px;
}
    p.note_meta{
        font-style: italic;
    }

    #noteForm .formRow textarea{
        height: 200px;
    }

    .note .controls{
        position: absolute;
        top: 20px;
        right: 20px;
        opacity: 0;
        transition: all 0.2s ease 0s;
    }
    .note:hover .controls{
        opacity: 1;
    }
        .note .controls a{
            margin-left: 5px;
        }

.loginError{    
    max-width: 300px;
    margin: 30px auto;    
    background-color: rgba(244,40,45,0.9);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    border-radius: 3px;
}

.formRow label{
    width: 26%;
}
    .formRow label a{
        color: #546E7A;
    }

.formRow > div{
    position: relative;
    text-align: left;
}
    .formRow div input.currency{
        padding-left: 25px;        
    }
    .formRow div span.currency{
        position: absolute;
        padding: 10px 12px;
        pointer-events: none;
        color: #555;
    }

tfoot th{
    padding: 10px;
}

.details_table tr td:first-child{
    font-weight: bold;
}

.dashboard_box{
    padding-bottom: 3em;
}

.overflowVisible{
    overflow: visible;
    min-height: 40px;
}

#cms_main main{
    min-height: 500px;
}

.cms_table tbody tr:hover{
    background-color: #e8e8e8;
}

.details_table tr td a{
    color: var(--sfs-pink);
}


.knowledgebase{
    margin: 40px 0 0;
}

    .knowledgebase ul li, .knowledgebase ol li{
        margin: 0 0 .5em;
    }

    .knowledgebase pre{
        margin-left: 30px;
    }


.titleContainer{
    overflow: hidden;
}
    .titleContainer h1{
        float: left;
        width: 90%;
    }
    .titleContainer span.edit-link{
        float: right;
        margin-top: 1em;
        font-size: .9em;
    }
        .titleContainer span.edit-link a{
            text-decoration: none;
            color: var(--sfs-pink);            
        }

.date_label{
    color: #666;
    font-size: .9em;
}

.activity_label{
    color: #318ddb;
    font-size: .9em;
}

.overdue_label{
    color: #fff;
    background-color: #d60d0d;
    border-radius: 3px;
    padding: 2px 7px;
}

.ui-autocomplete {
    z-index: 20000;
}

#tab-details h3{
    margin: 1.5em 0;
    color: #666;
}

fieldset{
    border: dotted 1px #999;
    margin: 0 0 20px;
}
    fieldset legend{
        padding: 0 10px;
        margin-left: 20px;
    }
fieldset.birthdayPicker{
    border: 0;
}

input:-moz-read-only { /* For Firefox */
  background-color: #ddd;
}

input:read-only {
  background-color: #ddd;
}

.add-item{
    text-align: left;
}
    .add-item a{
        text-decoration: none;
        color: #000;
    }

a.delete_row, a.delete_item{
    color: #a80a0a;
}

.form_totals{
    margin-right: 20px;
}
    .form_totals label{
        font-size: .95em;
    }
    .form_totals input{
        width: 100px;        
        border: 1px solid #DADADA;
        border-radius: 3px;
        padding: 9px 10px;
        color: #100C08;
        font-size: 0.9em;
    }

.create_policy_list{

}
    .create_policy_list li{
        margin: 0 0 1.2em;
    }
        .create_policy_list li a{
            font-weight: bold;
            color: var(--sfs-pink);
            text-decoration: none;
        }
            .create_policy_list li a:hover{
                color: var(--sfs-pink-hover);
            }

.dataTables_info{
    float: none;
}

.error_label{
    font-weight: bold;
    color: #c42318;
}

.notice_red{
    border: solid 1px #c42318;
    padding: 10px;
    border-radius: 8px;
    color: #c42318;
    font-size: 1.2em;
    margin-bottom: 20px;
}





          
            



    
