/**
 * Created by WM Haigh.
 * User: WMH
 * Date: 10/11/2015
 * Time: 8:41 AM
 *
 * This document will set the defaults for all documents here after.
 */

{
    box-sizing: border-box;
}

*{
    font-family: Arial, monospace;
}

/**
*  The fixed submit buttons for top right and bottom right.
*/
.SubmitTopRight{
    position: fixed;
    top: 10%;
    left:1%;
}
.SubmitBottomRight{
    position: fixed;
    bottom: 10%;
    left:1%;
}

.card{
    border-radius: 0 !important;
}

section{
    padding-left: 2em;
    padding-right: 2em;
}


body{
    height: 100vh;
    background-color: #EEEEEE;
    background-image: linear-gradient(#DEDEDE, #CCCCCC);
    /*background-color: #001333;*/
    /*background-image: linear-gradient(#576ec1, #001333);*/
    background-attachment: fixed;
    font-size: 1em;
    line-height: 1.2em;
}
@media screen
and (min-device-width: 1000px)
{
    .enroll {
        max-width: 1000px;
        margin:0 auto;
    }
}
sup{
    vertical-align: -7px;
    font-size: 1em;
}

.pad1{
    padding: 1%;
}

.pad2{
    padding: 2%;
}
.pad10{
    padding-left: 10px !important;
}

.FA{
    line-height: 30px;
    padding: 0 10px;
}

.align-items-center {
    -ms-flex-align: center!important;
    align-items: center!important;
}
.d-flex {
    display: -ms-flexbox!important;
    display: flex!important;
}


/*
    Centring divs in the screen using
    the "viewport" as its reference.
*/
.centred {
    /*background: black;*/
    /*color: white;*/
    border-radius: 1em;
    padding: 1em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}


.cl_Blue{
    background-color: lightblue;
}


.myContainerMain{
    padding: 5%;
    margin-top: 5%;
}

.funkyradio div {
    clear: both;
    overflow: hidden;
}

.funkyradio label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
    display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
    position: relative;
    line-height: 1.5em;
    text-indent: 3.25em;
    margin-top: 0.2em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2.5em;
    background: #D1D3D4;
    border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
    color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
    color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
    content: '\2714';
    text-indent: .9em;
    color: #333;
    background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
    color: #333;
    background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}


/**
*   Text modifications under here
 */
.additionalInfo{
    font-size: 0.9em;
    color: #0000FF;
    font-style: italic;
}

.txtTitle{
    font-size: 2em;
    margin-top: 1%;
    font-weight: bolder;
    color: #090dfc;
    font-style: normal;
}

.txt_white{
    color: white;
}

.txt_yellow{
    color: yellow;
}

.thankYou{
    font-style: italic;
    font-weight: bolder;
    text-align: center;
}

.signup_error{
    font-weight: bolder;
    color: red;
}

.signup_success{
    font-weight: bolder;
    color: green;
}

.txt_bold{
    font-weight: bolder;
}

.nav_menu{
    text-align: center;
}

.nav_menu a {
    padding-left: 10px;
}

.main_menu{
    margin: 0 auto;
}

/*
Checkboxes and Radio buttons
 */

.myRadio{
    padding-left: 1em;
    padding-right: 1em;
}


/*
Module styles
 */
.mar-left{
    margin-left: 1em;
}
.mar-right{
    margin-left: 5%;
}
.mar-minus{
    margin-left: -1em;
}
.modulePadding{
    padding-right: 2px;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 3px;
}
.pad-right{
    padding-right: 0.2%;
}
.pad-left{
    padding-right: 0.2%;
}
.pad-link-right{
    padding-right: 3%;
}
.pad-top{
    padding-top: 10px;
}
.pad-bottom{
    padding-bottom: 1%;
}
.pad-bottom-fixed{
    padding-bottom: 2px;
}
.pad-bottom-10{
    padding-bottom: 10px;
}
.pad-space-top{
    padding-top: 0.1%;
}
.Hd-pad-bottom{
    padding-bottom: 0.5%;
}
.Hd-pad-top{
    padding-top: 1%;
}
.Hd-pad-left{
    margin-left: 4%;
}

.subTagHeader{
    font-size: 0.85em;
    font-style: normal;
    font-weight: bolder;
    padding-top: 0.9em;
    padding-bottom: 0.2em;
    color: #030303;
}

.subHeader{
    font-size: 0.85em;
    font-weight: bolder;
    padding-top: 0.9em;
    padding-bottom: 0.2em;
    color: #1014da;
}

.redBorder{
    border: red solid;
}
.greyBorder{
    border: grey solid 2px;
}

.myCentre{
    margin: auto;
    width: 80%;
    padding: 2px;
}

.myFullCentre{
    margin: auto;
    width: 90%;
    padding: 2px;
}

.autoVertical{
    margin-top: auto;
    margin-bottom: auto;
}


/*::-webkit-scrollbar {*/
/*    width: 10px;*/
/*}*/
/*textarea::-webkit-scrollbar {*/
/*    width: 10px;*/
/*}*/

/*::-webkit-scrollbar-track {*/
/*    background-color: #001333;*/
/*    background-image: linear-gradient(#576ec1, #001333);*/
/*}*/
/*textarea::-webkit-scrollbar-track {*/
/*    background: #fff;*/
/*}*/
/*::-webkit-scrollbar-thumb {*/
/*    background: #888;*/
/*}*/

/*textarea::-webkit-scrollbar-thumb {*/
/*    background: #478;*/
/*}*/
/*::-webkit-scrollbar-thumb:hover {*/
/*    background: #555;*/
/*}*/
/*textarea::-webkit-scrollbar-thumb:hover {*/
/*    background: #367;*/
/*}*/

.fill{
    height: 100%;
    width: 100%;
}

.row_right{
    margin-left: 5px !important;
}

.txtArea{
    padding-top: 0.1%;
    width: 80%;
    height: 4em;
}

.txtAreaLarge{
    padding-top: 0.1%;
    width: 80%;
    height: 10em;
}

.LS_Label{
    display: block;
    width: 20%;
}

.sectionClass{
    display: block;
    width: 98%;
    padding-left: 0.3%;
    padding-top: 1%;
    font-size: 0.8em;
}
.txtDarBlue{
    color: #1f27d5;
}

.padAll{
    /*margin-left: 1.0%;*/
    /*padding-left: 1%;*/
    margin-left: 2%;
    padding-top: 1%;
    padding-bottom: 1%;
}

.myIndent{
    padding-left: 5%;
}

/*
Special backgrounds.
 */
#sideBar1{
    background-image: url("../IMG/image02.jpg"), url("../IMG/image01.jpg");
    background-repeat: no-repeat, repeat;
    background-position: top, center;
    opacity: 0.2;
    background-color: #bee5eb;
    /*background-size: cover;*/
    border: none !important;
}

.txtEight{
    font-size: 0.8em;
}

.bgColourGrey{
    background-color: #c0c3c7;
}

.bgColourLtGrey{
    background-color: #e6e6e6;
}

/*
* hanging indent
*/
.hangingIndent{
    padding-left: 1em;
    text-indent: -1em;
}

/*
*  Increase text size by 0.1 em
*/
.txtIncrease{
    font-size: 1.2em;
}

/*
* Upload styles
*/
.myUpload{
    font-size: 1.4em;
    color: #0000FF;
    font-style: italic;
    font-weight: bolder;
    text-underline: #1d1bf0;
}

.myExtensions{
    color: #040404;
    font-weight: bolder;
    font-size: 1.4em;
}

.myHide{
    display: none;
}

/*
*  My input class changes
*/
.txtLarge{
    font-size: 1.5em;
}
.txtLarger{
    font-size: 2.5em;
}
.txtBoxCentre{
    font-size: 0.5em;
    line-height: 0.5em;
    margin: 10px;
    /*margin-left:auto;*/
    /*margin-right:auto;*/
    /*padding-top:5px;*/
    /*padding-bottom:5px;*/
}

/*
* Table classes
*/
.table_th{
    font-size: 1.5em;
    font-weight: bolder;
    color: #0000FF;
}

.cell-content{
    align-content: center;
    vertical-align: center;
}
.myTrow{
    line-height: 1.5em;
    alignment: center;
    font-size: 0.5em;
}
.tbl5{
    /*
    * column width of 10% centred
    */
    width: 5%;
}
.tbl10{
    /*
    * column width of 10% centred
    */
    width: 10%;
}
.tbl15{
    /*
    * column width of 15% centred
    */
    width: 15%;
}
.tbl20{
    /*
    * column width of 20% centred
    */
    width: 20%;
}
.tbl25{
    /*
    * column width of 20% centred
    */
    width: 25%;
}
.tbl30{
    /*
    * column width of 40% centred
    */
    width: 30%;
}
.tbl40{
    /*
    * column width of 40% centred
    */
    width: 40%;
}
.tbl60{
    /*
    * column width of 60% centred
    */
    width: 60%;
}
.tbl70{
    /*
    * column width of 60% centred
    */
    width: 70%;
}
.tbl80{
    /*
    * column width of 60% centred
    */
    width: 80%;
}
.tbl90{
    /*
    * column width of 60% centred
    */
    width: 90%;
}
.tbl100{
    /*
    * column width of 60% centred
    */
    width: 100%;
}

.tblTD_Middle{
    /*
    * Align text middle in the cell
    */
    alignment: center;
}


/*
* Bootstrap editing
*/
.myCard {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}


.myCard-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0.5rem;
}

.myCard-title {
    margin-bottom: 0.75rem;
}

.myCard-subtitle {
    padding-left: 2%;
    padding-top: 2%;
    margin-top: -0.375rem;
    margin-bottom: 0;
}

.myCard-text:last-child {
    margin-bottom: 0;
}

.myCard-header {
    padding: 0.5rem 0.5rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.txtRed{
    color: red;
}

.txtBlk{
    color: black;
}


/*
Special style sheets for devices
 */

/*
Smart phone - iPhone or screen of 480 pixels width and landscape orientation.
*/
@media only screen and (max-device-width: 480px) and (orientation: landscape) {

    /*
        This is used if the page can only been viewed correctly in landscape mode.
    */
    #NO_PORTRAIT{
        display: none;
    }
    #sideBar1{
        display: none;
    }

}



/*
Smart phone - iPhone or screen of 480 pixels width and portrait orientation.
*/
@media only screen and (max-device-width: 480px) and (orientation: portrait) {

    /*
        This is used if the page can only been viewed correctly in landscape mode.
    */
    #NO_PORTRAIT{
        display: block;
        position: relative;
        top: 100px;
        height: 231px;
        width: 300px;
        margin-left: auto;
        margin-right: auto;
        background-image: url("../IMG/Rotate.png");
        background-repeat: no-repeat;
        /*border: 1px solid midnightblue;*/
    }

    #sideBar1{
        display: none;
    }

}

@media print {
    .noPRN{
        display:none;
    }
    .PRN-Centre{
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .toPRN{
        width: 600px;
        font-size: small;
    }

}

.fadeIn {
    -moz-animation:  fadeIn 0.2s linear forwards;
    -webkit-animation: fadeIn 0.2s linear forwards;
    animation: fadeIn 0.2s linear forwards;
    opacity: 0;
}

.fadeInSlow {
    -moz-animation:  fadeIn 0.5s linear forwards;
    -webkit-animation: fadeIn 0.5s linear forwards;
    animation: fadeIn 0.5s linear forwards;
    opacity: 0;
}

@-moz-keyframes fadeIn {
    100% { opacity: 1; }
}
@-webkit-keyframes fadeIn {
    100% { opacity: 1; }
}
@keyframes fadeIn {
    100% { opacity: 1; }
}

.fadeOut {
    -moz-animation:  fadeOut 0.2s linear forwards;
    -webkit-animation: fadeOut 0.2s linear forwards;
    animation: fadeOut 0.2s linear forwards;
    opacity: 1;
}

@-moz-keyframes fadeOut {
    100% { opacity: 0; }
}
@-webkit-keyframes fadeOut {
    100% { opacity: 0; }
}
@keyframes fadeOut {
    100% { opacity: 0; }
}

.text-required{
    color:red;
}
.marLeft{
    margin-left: 10%;
}

/*
*  Below is the replacements for the bootstrap defaults
*  the replacements will be prefixed with "ls-" which stands for
*  Linked Success
*/

.ls-form-group {
    margin-bottom: 0.9rem;
}

.ls-col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px);
    margin-bottom: 0;
    font-size: 10pt;
    line-height: 1.0;
}

.ls-form-control {
    display: block;
    width: 100%;
    height: calc(1.0em + 0.55rem + 2px);
    padding: 0.175rem 0.15rem;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.0;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-check-label {
    font-size: 10pt;
}

.narrow-cell{
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.table-margin{
    margin: 0 !important;
}
.table td{
    padding: 0px;!important;
    padding-left: 1px;!important;
    padding-right: 1px;!important;
    overflow: hidden;!important;
}
.table{
    margin-bottom: 0px;!important;
}

.cell-padding{
    padding-bottom: 5px !important;
}

.disable-selection{
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select:none;
    user-select:none;
    -o-user-select:none;
}

.vertical-align-middle{
    vertical-align: middle !important;
}

@-moz-keyframes spin1 {
    0% { -moz-transform: rotate(180deg); }
    100% { -moz-transform: rotate(0deg); }
}
@-webkit-keyframes spin1 {
    0% { -webkit-transform: rotate(180deg); }
    100% { -webkit-transform: rotate(0deg); }
}
@keyframes spin1 {
    0% { -webkit-transform: rotate(180deg); transform:rotate(180deg);}
    100% { -webkit-transform: rotate(0deg); transform:rotate(0deg);}
}

@-moz-keyframes rotate {
    /*0% { -moz-transform: rotate(180deg); }*/
    100% { -moz-transform: rotate(180deg); }
}
@-webkit-keyframes rotate {
    /*0% { -webkit-transform: rotate(180deg); }*/
    100% { -webkit-transform: rotate(180deg); }
}
@keyframes rotate {
    /*0% { -webkit-transform: rotate(180deg); transform:rotate(180deg); }*/
    100% { -webkit-transform: rotate(180deg); transform:rotate(180deg); }

}

.chevron-rotated {
    -webkit-animation:rotate 0.3s ease-out;
    -moz-animation:rotate 0.3s ease-out;
    animation:rotate 0.3s ease-out;
    animation-fill-mode: forwards;
}
.chevron-rotate {
    -webkit-animation:spin1 0.3s ease-out;
    -moz-animation:spin1 0.3s ease-out;
    animation:spin1 0.3s ease-out;
    animation-fill-mode: forwards;
}
.initial-rotate{
    transform: rotate(180deg);
}
.custom-switch-resize .custom-control-label-resize {
    transform: scale(1.5);
}
.custom-switch-resize .custom-control-label-resize::before {
    left: -2.3rem !important;
    width: 1.75rem !important;
    border-radius: 0.5rem !important;
}

.custom-switch-resize .custom-control-label-resize::after {
    top: calc(0.2rem + 3px) !important;
    left: calc(-2.25rem + 2px) !important;
    width: calc(1rem - 4px) !important;
    height: calc(1rem - 4px) !important;

}
.fixed { table-layout:fixed; }
.fixed td { overflow: hidden; }

.custom-btn-hover {
    color: white;
    font-size: 11pt;
    background-color: #17a2b8;
    cursor: pointer;
}
.custom-btn-hover:hover {
    background-color: #267aa6;
}
.child-view-label{
    width: 50%;
    padding-left: 10px !important;
    padding-top: 8px !important;
    padding-bottom: 5px !important;
}
.inline-control-centre{
    padding-top: 2px !important;
}
.invalidated{
    border-color: red;
    box-shadow: 0 0 4px red;
    outline: 0 none;
}
/* unvisited link */
.dark-link:link {
    color: #0000FF;
}

/* visited link */
.dark-link:visited {
    color: #000088;
}

/* mouse over link */
.dark-link:hover {
    color: #1166FF;
}

/* selected link */
.dark-link:active {
    color: blue;
}

.otherInput{
    width: 50% !important;
}

.expandedInput {
width: 100% !important;
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
-o-transition: width 0.5s ease;
transition: width 0.5s ease;
}
.shortInput {
    width: 50% !important;
    -webkit-transition: width 0.5s ease;
    -moz-transition: width 0.5s ease;
    -ms-transition: width 0.5s ease;
    -o-transition: width 0.5s ease;
    transition: width 0.5s ease;
}

.wordWrap {
    word-wrap: break-word;
}
