@import url("https://fonts.googleapis.com/css?family=Raleway:600,700,800|Work+Sans:400,600|Crimson+Text:700,600");
@import url("https://fonts.googleapis.com/css?family=Raleway:600,700,800|Work+Sans:400,600|Crimson+Text:700,600");
body {
    font-family: 'Work Sans', sans-serif;
    color: #394049;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f1f1f1;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Raleway', sans-serif;
    color: #000;
    font-weight: 800;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

.white-text {
    color: #fff;
}

.black-text {
    color: #333;
}

p {
    font-family: "Work Sans", "Open Sans", Arial, sans-serif;
    font-size: 0.97em;
    margin-top: 10px;
    margin-bottom: 0px;
    line-height: 18px;
    margin-left: 2px;
}

p.form-top-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 1.2em;
    margin-bottom: 10px;
    padding: 0 0 10px 0;
    letter-spacing: 1px !important;
}

h1 {
    font-size: 28px;
    font-family: 'Raleway', Arial, sans-serif !important;
    color: #5fb846;
    text-align: center;
    padding: 23px 0 0 50px;
    line-height: 1px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

h2 {
    font-size: 16px;
    font-family: 'Raleway', Arial, sans-serif;
    text-transform: uppercase;
}

a,
a:active,
a:visited,
a:focus {
    font-family: 'Raleway', Arial, sans-serif !important;
    font-size: 0.97em;
    color: #394049;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 20px;
    text-decoration: none;
}

a:hover,
a:visited:hover,
a:active:hover a:focus:hover {
    color: #5FB846;
    text-decoration: none;
}

.row.no-gutter {
    margin: 0 !important;
}

.row {
    margin-bottom: 10px;
}


/*                                             Containers 
******************************************************************/

.container {
    padding-left: 1px;
    padding-right: 1px;
}

#course-search-container {
    min-height: 720px;
    background: #f1f1f1;
}


/*                            Header -  (screen smaller than 792px - Phones)
******************************************************************/

@media only screen and (max-width: 792px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/*                                             Containers - Screen smaller than 35em
******************************************************************/

@media screen and (max-width: 35em) {
    #course-search-container {
        min-height: 0px;
    }
}


/*                                             Header
******************************************************************/

#header {
    height: 100px;
}

#header .navbar {
    background-image: none;
    background-color: #ffffff !important;
    height: 100px;
    padding-top: 10px !important;
}

#header .navbar .container {
    padding: 0;
}

#header .navbar .navbar-header {
    width: 100%;
}

#header img {
    width: 80px;
    height: 80px;
    margin: 0px;
    float: left;
}


/*                            Header -  (screen smaller than 767px - Phones)
******************************************************************/

@media only screen and (max-width: 792px) {
    h1 {
        font-size: 20px;
        padding: 15px 0 0 40px;
        letter-spacing: 0.5px;
    }
    #header .navbar {
        padding-top: 0 !important;
    }
    #header .navbar .navbar-header {
        width: 100%;
        margin: 0;
    }
}


/*                                             Header - Screen smaller than 35em
******************************************************************/

@media screen and (max-width: 35em) {
    h1 {
        font-size: 16px;
        top: 0.6em;
        padding: 0.4em 0em 0.4em 1.3em;
        letter-spacing: 0.5px;
    }
    #header {
        height: 51px;
    }
    #header .navbar {
        height: 51px;
    }
    #header .navbar .navbar-header {
        width: 100%;
        margin: 0;
    }
    #course-search-container {
        min-height: 0px;
    }
    #header img {
        width: 50px;
        height: 50px;
        margin: 0px;
    }
}


/*                                             Footer
******************************************************************/

#footer {
    background-color: #333;
    position: relative;
}

#footer .container {
    padding: 20px;
    color: #e4e4e4;
    text-align: center;
}

#footer a {
    color: #e4e4e4;
    font-family: "Work Sans", "Open Sans", Arial, sans-serif;
    font-size: 0.97em;
    font-weight: normal;
    text-decoration: none;
/*    pointer-events: none;*/
}

/*                                              Favourite courses
******************************************************************/
#course-note {
    margin-top: 20px;
}


/*                                              Favourite courses
******************************************************************/

#fav-container {
    margin-top: 80px;
}

a.fav-course {
    text-decoration: none;
}

a.fav-course i.fa {
    font-size: 1.4em;
}

a.fav-course i.fa-star {
    color: #309cd8;
}

#fav-courses-modal .row.fav-course {
    border-bottom: 1px solid #ddd;
}

#course-search .btn-primary {
    border-radius: 0;
    border-color: #1e2245 !important;
    background-color: #1e2245 !important;
    background-image: linear-gradient(to bottom, #1e2245 0, #1e2245 100%);
}

#course-search .btn-primary:hover {
    border-color: #5fb846 !important;
    background-image: solid #5fb846!important;
    background-color: #5fb846!important;
    background-image: linear-gradient(to bottom, #5fb846 0, #5fb846 100%);
}

.favourite {
    margin: 0px;
    padding: 5px 20px 5px 20px;
}

@media (min-width: 768px) {
    #fav-courses-modal .modal-dialog {
        width: 720px;
    }
}


/*                           Favourite courses  (screen smaller than 1199px - Small desktops)
******************************************************************/

@media only screen and (max-width: 1199px) {
    #fav-container {
        margin: 20px 0 0 15px;
    }
    .favourite {
        margin: 0px;
        padding: 5px 0 5px 0;
    }
}


/*                                             Main Left and Right Columns
******************************************************************/

.left-column {
    position: fixed;
    width: 370px;
    margin-top: 20px;
}

.right-column {
    float: right;
    width: 800px;
    margin-top: 20px;
    padding-top: 10px;
    padding-left: 20px;
}


/*                      Left Column (Search and Fav)(screen smaller than 1199px - Small desktops)
******************************************************************/

@media only screen and (max-width: 1199px) {
    .left-column {
        position: relative;
        margin-top: 10px;
        width: 100%;
    }
    .right-column {
        margin-top: 10px;
        width: 100%;
        padding-left: 15px !important;
    }
}


/*                                             SEARCH Form
******************************************************************/

#search-container {
    background: #fff;
    padding: 10px 15px 10px 15px;
}

#search-top {
    padding: 0px;
    border: 0px solid #ddd;
    border-radius: 0px;
    margin-bottom: 0px;
}

#search-top select {
    background: #fbfbfb;
    line-height: 1;
    border: 1px solid #c0c0c0;
    padding-left: 9px;
    font-size: 0.9em;
    height: 34px;
    width: 100%;
}

#search-top .form-control {
    font-size: 0.9em;
}

#search-bottom {
    padding: 0px;
    border: 0px solid #ddd;
    border-radius: 0px;
    margin-bottom: 0px;
}

#search-bottom select {
    background: #fbfbfb;
    line-height: 1;
    border: 1px solid #c0c0c0;
    padding-left: 9px;
    font-size: 0.9em;
    height: 34px;
    width: 100%;
}

#search-bottom hr {
    margin: 15px 0;
}

#search-bottom .cut-off-field {
    display: inline;
    width: 100px;
    padding-left: 8px;
    padding-right: 5px;
}

#search-bottom .form-control {
    font-size: 0.9em;
}

label {
    padding-bottom: 10px;
}

#search-container {
    width: 100%;
}


/*                          SEARCH Form  (screen smaller than 767px - Phones)
******************************************************************/

@media only screen and (max-width: 792px) {
    #search-container {
        background: #f1f1f1;
    }
}


/*                                                        HELP
******************************************************************/

#help-table-container {
    background-image: none !important;
    background-color: #FCFCFC;
    display: inline !important;
    padding-left: 100px;
}

#help-table-container i.fa {
    width: 10px;
}


/*                      Help (screen smaller than 1199px - Small desktops)
******************************************************************/

@media only screen and (max-width: 1199px) {}


/*                                              RESULTS - Courses
******************************************************************/

.course-container {
    border: 1px solid #cecdcd;
    padding-top: 10px;
    padding-bottom: 5px;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.10);
    margin-left: 0;
    margin-right: 0;
    background-color: white;
}

.course-fos {
    background-color: #f2f2f2;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.course-fos i {
    font-size: 1.5em;
    color: #c1c1c1;
}

.course-container.course-status-cancelled {
    opacity: 0.5;
    text-decoration-line: line-through;
}

.course-name a {
    font-weight: 700;
    color: #394049;
    font-family: 'Raleway', sans-serif;
    font-size: 1.1em;
    font-weight: 900;
    line-height: 20px;
    text-decoration: none;
}

.course-name a:hover {
    color: #5fb846;
}

.course-name a:hover:active {
    color: #A3A9AC
}

.course-container.applydirect .course-code {
    /*background-color: #c2ddf9;*/
}

.course-info-label {
    padding: 4px;
    color: #868a90;
    text-align: center;
    display: inline-block;
    font-weight: 300;
    border-radius: 0;
}

p.course-info-label .course-code {
    color: #fff;
}

.course-code {
    /*  width: 50px;*/
}

.course-code a {
    background-color: #5fb846 !important;
    padding: 4px 10px 4px 10px;
    letter-spacing: 1px;
    color: #fff !important;
    text-decoration: none;
}

.course-code a:hover {
    background-color: #868a90 !important;
    color: #fff !important;
    text-decoration: none;
}

.course-code a:hover {
    color: #fff !important;
    text-decoration: none;
}

.course-cutoff {
    width: 80px;
}

.course-cutoff-label {
    font-size: 0.8em;
}

.course-info {
    background-color: #fff !important;
    font-size: 1.3em;
}

.course-info i.fa {
    color: #868a90;
}

.course-location {
    font-weight: 300;
}

.row course-container {
    background-color: #f5f1d9;
}

.row course-container:hover a {
    color: #d4300a;
}

.row course-container:hover {
    background-color: #e9f0f6;
}


/*                           RESULTS - Courses  (screen smaller than 767px - Phones)
******************************************************************/

@media only screen and (max-width: 792px) {
    .course-info-label {
        padding: 2px;
    }
    .course-code {
        /*    width: 60px;*/
    }
    .course-info {
        background-color: #fff !important;
        font-size: 1em;
    }
}


/*                                                  RESULTS - Dates
******************************************************************/

.course-important-date {
    font-weight: 700;
    color: #333;
}

.date-heading-row {
    border-bottom: 1px solid #e8e8e8;
}

.date-label {
    padding: 0px;
    width: 120px;
    text-align: left;
    display: inline-block;
    margin: 0;
    font-weight: 300;
}

.date-label.date-label-heading {
    font-weight: inherit;
}

.date-label.date-start {
    width: 100px;
}

.date-label.date-close {
    width: 121px;
}

.date-label.date-offer {
    width: 100px;
}

.date-label.closed {
    color: #a3a9ac;
    /*    opacity: 0.5;*/
    /*    font-style: italic;*/
}

.date-label.cancelled {
    display: none;
    text-decoration: line-through;
}

.search-label-cut-off {
    font-weight: normal;
}

.space-below {
    margin-bottom: 30px !important;
}

.space-right-small {
    margin-right: 10px !important;
}


/*                       RESULTS - Dates (screen smaller than 1199px - Small desktops)
******************************************************************/

@media only screen and (max-width: 1199px) {
    .course-left-col {
        width: 49%;
        float: left !important;
        display: inline !important;
    }
    .course-right-col {
        width: 50%;
        float: right;
        display: inline !important;
    }
}


/*                          RESULTS - Dates (screen smaller than 991px - Tablets)
******************************************************************/

@media only screen and (max-width: 991px) {
    .text-left-sm {
        text-align: left !important;
    }
    .space-above-sm {
        margin-top: 20px !important;
    }
    .space-below {
        margin-bottom: 10px !important;
    }
    .date-label {
        width: 80px !important;
        font-size: 0.85em !important;
        padding: 1px;
    }
}


/*                          RESULTS - Dates (screen smaller than 767px - Phones)
******************************************************************/

@media only screen and (max-width: 792px) {
    .course-left-col {
        width: 100%;
        float: left !important;
        display: inline-block !important;
    }
    .course-right-col {
        width: 100%;
        float: left !important;
        display: inline-block !important;
    }
}


/*                                              Other??
******************************************************************/

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak {
    display: none !important;
}

#to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    display: none;
}

.btn-blue {
    background: #309cd8;
    color: #fff;
}


/*                                              Overlay waiting
******************************************************************/

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: white;
}

.overlay-waiting {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}