body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9em
}

.main {
    background: #fff;
    border: 4px solid #ccc;
    margin-bottom: 2px;
    -webkit-border-radius: 16px;
    -moz-boder-radius: 16px;
    border-radius: 16px;
    padding-top: 0px;
}


.section-header {
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
    -webkit-border-radius: 12px 12px 0 0;
    -moz-boder-radius: 12px 12px 0 0;
    border-radius: 12px 12px 0 0;
    padding: 10px 0 0 20px;
    background: #42346A;
    margin-bottom: 25px;
}

.modal-header {
    font-size: 1.6em;
    font-weight: bold;
    color: #fff;
    background: #42346A;
}

.form-row, .custom-table {
    margin: 0 9px 20px 9px;
    padding: 4px;
    border: 3px solid #bbb;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    /*overflow: hidden;*/
    background: #f5f6f7;
    line-height: 1.2rem;
}


.form-row-label {
    padding: 6px 5px 7px 5px;
    margin-right: 6px;
    margin-bottom: 0px;
    width: 145px;
    font-size: 1em;
    color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #42346A;
    width: 100%;
    height: 100%;
    text-align: right;
}


/* Soyeb - I have commented part of the below styles. This makes the input text field look like actual typeable text boxes*/
.form-row input, .form-row select {
    float: left;
    /* 
        border: none;
        background: none;
    */
    padding: 6px 4px 4px 0;
    color: #777;
    box-shadow: none;
    font-size: 1em;
    height: 32px;
}

.form-row > .col, .form-row > [class*="col-"] {
    padding-left: 0px;
}

/*.form-row input[type=text]:focus, .form-row select:focus{
    background: none;
}*/

.form-radio-div {
    min-height: 32px;
}

.submit {
    font-size: 1.2em;
    /*padding: 5px 20px;*/
    position: relative;
    border: 1px solid #bbb;
    color: #444;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    background: #eee;
    /*margin: 0 0 10px 9px;*/
    cursor: pointer;
    top: -4px;
    margin-left: 0px;
}

.submit:hover {
    color: #fff !important;
    background: #42346A !important;
    border-color: #fff !important;
}

.custom-control-input:checked ~ .custom-control-label::before, .custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    border-color: #42346A;
    background-color: #42346A;
    box-shadow: none;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #42346A;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #42346A;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(118, 7, 133, 0.25);
}

select.form-control:focus::-ms-value {
    color: #495057;
    background-color: #fff; 
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 0 0.2rem rgba(118, 7, 133, 0.25);
}

input:invalid {
    border: 1px solid #f5c6cb !important;
    background-color: #FFFACD !important;
}

.invalid {
    border: 1px solid #f5c6cb !important;
    background-color: #FFFACD !important;
    border-radius: 0.25rem !important;
}

.alert-danger {
    margin: 5px;
    width: 100%;
}

.alert-warning {
    background-color: #FFFACD;
}

.button-sticky-div {
    border: 1px solid rgb(204, 204, 204);
    border-radius: 16px;
    background-color: #42346A;
    padding: 8px 0 0 0;
    position: sticky; 
    bottom: 0;
}

.button-sticky-div .save-btn {
    margin-left: 9px;
}

.button-sticky-div .next-btn {
    margin-right: 9px;
}
.button-sticky-div .previous-btn {
    margin-right: 5px;
}

.button-sticky-div .save-btn-div {
    padding-right: 0px;
}

.custom-table {
    overflow-x: auto;
    border-collapse:separate; 
    border-spacing:5px 15px; 
    table-layout: fixed;
}

.custom-table tbody {
    width: 100%;
}

.custom-table tr {
    white-space: nowrap;
}

.custom-table tr > .col-xs-4 {
    display: inline-block;
    float: none;
}

.custom-table .header {
    color: #fff;
    background-color: #42346A;
}

.custom-table .btn-danger, .custom-table .btn-warning {
    padding: 5px 10px 5px 10px;
    margin-right: 5px;
    min-width: 38px;
}
.material-icons.md-16 {
    font-size: 16px;
}

.material-icons.md-light { 
    color: rgba(255, 255, 255, 1); 
}

.progressContainer {
    margin-top: 15px;
}

.progress-bar {
    background-color: #42346A;
}

.help-div {
    display: flex;
    justify-content: center;
    align-items: center; 
}

.help-div a:focus, .help-div a:hover {
    color: transparent;
    text-decoration: none;
    background-color: transparent;
    outline: none;

}

.help-div i {
    cursor: pointer !important;
    color: #42346A;
    font-size: 28px !important;
}

.help-div i:hover {
    color: #bbb !important;
}

.popover-body {
    text-align: justify;
}

#headerDiv {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 10px;
}

.overallHeader {
	border: 5px solid #ccc;
	background: #42346A;
	color: white;
	border-radius: 16px;
	overflow: hidden;
}

.upperHeader {
	padding: 10px 20px;
}

.lowerHeader {
	background: #fff;
	padding: 10px 20px;
	color: #cccccc;
}

.headerImage {
	position: relative;
	margin: 0 auto;
	padding: 100px 0 0px;
	background: url(../images/esafeguarding-logo.png) no-repeat 0 20px;
}

.headerLinksText{
	color: #808080;
}

.headerLogoutLinkText{
	color: #fff;
}


/*******************************/
@media (max-width: 769px) {
    .form-row {
        margin: 0 -10px 20px -10px !important;
    }

    .form-row > .col, .form-row > [class*="col-"] {
        padding-right: 0px;
    }

    .form-row input, .form-row select, .form-row .form-radio-div {
        margin-top: 5px;
    }

    .form-row-label { 
        text-align: left !important;
    }

    .alert-danger {
        margin: 5px 0px 0px 0px !important;
    }
}