﻿
/*Main styles*/


.required::after {
    content: '*';
    margin: 0 4px 0 4px;
    color: black;
}

table.first-col-label td:first-child {
    font-weight: bold;
}

.bottom-right {
    bottom: 0;
    right: 0;
}

.labelStyle {
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

.labelStyleCentre {
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

td.labelStyleBottom {
    font-weight: bold;
    vertical-align: bottom;
}

label, legend, .label {
    display: block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: medium;
}

a.btn-primary, button, input[type="submit"] {
    margin-right: 24px !important;
    min-width: 72px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.headerRow {
    text-align: left;
    padding: .5em 0.5em .5em .5em !important;
    background-color: #408334 !important;
    font-size: 1.30em;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.25;
    color: white;
}

.inputHeaderRow {
    /*text-align: left;
    padding: .5em 0.5em .5em .5em !important;
    background-color: #d9e6d6 !important;
    font-size: 1.30em;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.25;*/
    margin-top: -9px;
    border: 0.15em solid white;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    line-height: 0.75em;
    content: "+";
    background-color: #d9e6d6 !important;
}

.inputHeaderRowSection {
    text-align: left;
    text-indent: 0 !important;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-weight: 400;
    background-color: #d9e6d6 !important;
}

.stripedRow {
    background: #00aeef;
}

.formRow {
    margin-top: 10px;
}

.dropDown {
    -moz-appearance: button-arrow-down;
}

.stripedRowOn {
    background: #f8f8f8;
    border-style: solid;
    border-color: white;
    border-width: 1px;
    line-height: 2.5;
}

.stripedRowOff {
    border-style: solid;
    border-color: white;
    border-width: 1px;
    line-height: 2.5;
}

.highlightCell {
    float: left;
    background: #F5F965;
    text-align: center;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-weight: bold;
    padding: 5px;
    color: #000000;
    margin-right: 10px;
}

.highlightedDiv {
    float: left;
    border: 2px;
    border-color: #C9070A;
    border-radius: 5px;
    border-style: solid;
    background: #F5F965;
    text-align: center;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-weight: bold;
    padding: 5px;
    color: #000000;
    margin-right: 10px;
}


.checkPass {
    color: green;
}

.checkFail {
    color: darkred;
}

.val-error {
    background: url('../images/iconError.png') no-repeat left;
    color: #88001b;
    display: inline-block;
    border: 0px;
    /*text-indent: 25px;*/
    margin-left: 4px;
    padding-left: 25px;
}

.val-error ul {
    margin-bottom: 16px;
}

.val-error-summary {
    color: #88001b;
    display: inline-block;
    border: 0px;
    text-indent: 25px;
    margin-left: 4px;
}

/* Styles for validation helpers
-----------------------------------------------------------*/

.validation-summary-valid {
    display: none;
}

.btn-lg {
    margin: 0px 0px 0px 0px;
}

.btn-xsm {
    padding: 5px 10px;
    font-size: 11.9px;
    line-height: 1.3333333;
    border-radius: 3px;
    text-decoration: none;
}

.btn-sm:hover, .btn-sm:focus, .btn-sm:active {
    text-decoration: none;
}

.top-buffer {
    margin-top: 10px;
}

.dropdown-container {
    position: relative;
}

.highlightRed {
    font-family: "open_sansregular", Helvetica, Arial, Tahoma, sans-serif;
    font-weight: bold;
}

.subheadRed {
    font-family: Calibri, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #990000;
}

.pageTitleBar {
    display: block;
    font-size: 1.5em;
    margin: .5em 0 .5em 0;
    color: #000;
    font-weight: bold;
}


.footerDept {
    font-size: 1.25em;
    color: #F9DD6E;
}

footer a, footer a:link, footer a:visited {
    color: #fff;
    text-decoration: none;
}

.division {
    margin-bottom: 1.5em;
    background: #efefef;
}

    .division ul {
        margin: 0;
        padding: 0;
    }

        .division ul li {
            list-style: none;
            display: inline-block;
        }

            .division ul li a {
                margin: 0 1.5em 0 0;
                display: block;
                text-decoration: none;
                padding-bottom: 3px;
                color: #003262;
            }

                .division ul li a:hover,
                .division ul li a:focus {
                    border-bottom: 3px solid #75a5d1;
                    padding-bottom: 0px;
                }

.ul2Col {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

.ul3Col {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
}

.ulTable {
    margin-top: 0px;
    margin-bottom: 0px;
}

.site-name {
    display: block;
    font-size: 2em;
    margin: .5em 0 .5em 0;
    color: #000;
}

.breadcrumbs a {
    float: none;
}

/*icons*/
a.actionLinkViewImageButton {
    background: url('../images/iconView.png') no-repeat center;
    display: block;
    border: 0px;
    margin: 0px;
    text-indent: -9999px; /* hides the link text */
}


/* End field widths */

.major-title {
    font-size: 2.5em;
    position: absolute;
    bottom: 0;
    left: 0;
}

.minor-title {
    bottom: 0;
    color: white;
    display: block;
    font-size: 1.0em;
    padding: 5px;
    text-align: right;
}

.non-production-warning {
    float: right;
    border: 1px;
    border-color: #C9070A;
    border-radius: 5px;
    border-style: solid;
    background: #F5F965;
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    font-weight: bold;
    padding: 5px;
    color: #000000;
}

.ribbon span a {
    margin: 0.4em 1.5em 0 0;
    display: block;
    text-decoration: none;
    padding-bottom: 3px;
    color: #FFFFFF;
}

    .ribbon span a:hover,
    .ribbon span a:focus {
        border-bottom: 2px solid #75a5d1;
        padding-bottom: 0px;
    }

.ribbon ul.navbar {
    margin: -15px 6px 0 0;
    display: block;
    font-size: 1.1em;
}

.ribbon a.nav-link {
    /*color: #0d6efd;*/
    color: #ffffff !important;
}

/* https://stackoverflow.com/questions/6308794/html-validationmessagefor-custom-validationmessage-always-shown */
.field-validation-valid {
    display: none;
}

.validation-summary-valid {
    display: none;
}

/* Table Styles */
.table.table-results thead,
.table.table-results th {
    font-weight: bold;
    background-color: aliceblue;
    border-color: #ddd;
    border-top-width: 2px;
    border-bottom-width: 2px;
}

table.dataTable.no-footer {
    border-bottom-color: #ddd;
}

.table-title > thead > tr > th {
    color: #444;
    background-color: lightgray;
}

.table-nonfluid {
    width: auto !important;
    margin: auto;
}

table > tbody > tr > td > label,
.table > tbody > tr > td > label {
    font-family: Verdana, Helvetica, Sans-Serif;
    font-weight: normal;
    font-size: 1.0em;
}

table > tbody > tr > td > select,
.table > tbody > tr > td > select {
    padding-top: 5.5px;
    padding-bottom: 5.5px;
}

tr:empty {
    height: 0px;
}

th {
    font-size: 1.20em;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-weight: 500;
    line-height: 1.25;
}

.table-striped-tworows > tbody > tr:nth-of-type(4n) > *, .table-striped-tworows tr:nth-child(4n+1) td {
    background: rgba(0,0,0,0.05);
}


/* Cards */
.card-details .card-header {
    font-weight: bold;
    background-color: aliceblue;
    border-bottom-width: 2px;
    font-size: 1.3rem;
}

ul.search-ratings {
    padding: 0px;
    margin: 0px;
}
ul.search-ratings li .form-check-input {
    margin-top: .35em;
}

ul.search-ratings li label {
    font-weight:300;
    font-family: inherit;
}

ul.search-ratings li {
    padding-left: 28px;
    list-style-type: none;
    background-size: 18px;
    background-repeat: no-repeat;
    background-position-y: center;
}

.film-title {
    background-color:rgb(0,0,0,0.07);
}

.film-detail {
    padding-top: 5px;
    padding-bottom: 15px;
}

.rating {
    background-repeat: no-repeat;
    background-size: 25px;    
}
.rating {    
    margin: 8px;
    padding-left: 35px;
}

.rating-G {
    background-image: url("../images/Canadian_Film_Rating_G.png");
}

.rating-14A {
    background-image: url("../images/Canadian_Film_Rating_14A.png");
}

.rating-18A {
    background-image: url("../images/Canadian_Film_Rating_18A.png");
}

.rating-A {
    background-image: url("../images/Canadian_Film_Rating_A.png");
}

.rating-PG {
    background-image: url("../images/Canadian_Film_Rating_PG.png");
}

.rating-R {
     
    background-image: url("../images/Canadian_Film_Rating_R.png");
}
.rating-EM {
    background-image: url("../images/Canadian_Film_Rating_EM.png");
}

.rating-AA {
    background-image: url("../images/Canadian_Film_Rating_AA.png");
}


.dataTable .child ul {
    list-style: none;
}
.dataTable .child .dtr-title {
    font-weight: bold;
    padding-right: 10px;
}
