﻿/*! (c) OPIS */
@import "SiteOverrides.less";
@import "Loader.less";

@primary: #007EA8;
@primary-light: #02a3d5;
@teal: #008e89;
@dark-teal: #0c625f;
@dark-grey: #4b4b4b;
@light-grey: #d2d7db;
@required-red: #790000;
@white: #fff;
@ihs-grey: #737474;
@header-height: 170px;
@header-top-padding: 12px;
@header-line-height: @header-height - @header-top-padding;
@footer-height: 140px;
@footer-margin-top: 50px;
@footer-hr-margin: 35px;
@footer-hr-border: 1px;
@footer-line-height: @footer-height - @footer-hr-margin - @footer-hr-border;
@font-size: 16px;
@font-weight: normal;

html {
    position: relative;
    min-height: 100%;
    font-size: @font-size;
    font-weight: @font-weight;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    /* Margin bottom by footer height */
    margin-bottom: @footer-height + @footer-margin-top;
}

.page-header {
    height: @header-height;
    background: @primary;
    border: none;
    padding-top: 12px;
    margin: 0 0 10px 0;
    line-height: @header-line-height;

    .logo {
        display: inline-block;
        width: 277px;
        height: 113px;
        background: url("/images/OPIS-DJ-white.svg");
        background-size: 277px 88px;
        background-repeat: no-repeat;
        margin: 0 165px 0 75px;
        vertical-align: middle;
        color: transparent;
    }

    h1 {
        display: inline;
        font-style: normal;
        border-left: solid @white 1px;
        padding: 20px 0 5px 60px;
        color: @white;
        font-size: 50px;
        font-weight: 300;
        vertical-align: -9px;
        margin-bottom: 45px;
        text-overflow: ellipsis;
        overflow: hidden;
        word-break: break-all;
    }

    @media(max-width: 1023px) {
        .logo {
            width: 138.5px;
            height: 53.5px;
            background-size: 138.5px 53.5px;
            margin: 0;
            display: block;
            margin: auto;
        }

        h1 {
            display: block;
            border-top: solid @white 1px;
            border-left: none;
            font-size: 32px;
            text-align: center;
            width: 100%;
            margin: 0;
            margin-top: 25px;
            padding: 0;
            vertical-align: middle;
            white-space: nowrap;
            word-break: normal;
        }
    }
}

.page-header + .container {
    margin-bottom: 50px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: @footer-height;
    line-height: @footer-line-height;
    margin-top: @footer-margin-top;

    .container {
        padding: 0;
    }

    hr {
        color: @ihs-grey;
        margin: 0;
        line-height: 0;
        margin-bottom: @footer-hr-margin;
        border-top-width: @footer-hr-border;
    }

    .footer-info {
        line-height: 100px;

        p {
            color: @ihs-grey;
            font-weight: 400;
            line-height: 25px;
        }
    }
}

.primary {
    color: @primary;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

a:link {
    color: @primary;
}


/* visited link */

a:visited {
    color: @primary;
}


/* mouse over link */

a:hover {
    color: @primary-light;
}

/* selected link */

a:active {
    color: @primary;
}

label {
    color: @ihs-grey;
    font-size: 18px;
    font-weight: bold;
    vertical-align: baseline;
}

.form-group label,
.checkbox label {
    font-weight: bold;
}

h1 {
    color: @ihs-grey;
    font-size: 55px;
    font-weight: 600;
    line-height: 65px;
}

h2 {
    color: @dark-grey;
    font-size: 42px;
    font-weight: 600;
    line-height: 45px;
}

h3 {
    color: @dark-grey;
    font-size: 36px;
    line-height: 45px;
}

h4 {
    color: @dark-grey;
    font-size: 27px;
    line-height: 36px;
}

h5 {
    color: @dark-grey;
    font-size: 24px;
}

.lite {
    font-weight: 300;
}

p,
li {
    color: @ihs-grey;
    font-size: 16px;
}

form {
    margin-bottom: 26px;
}

.validation-summary-errors {
    color: @required-red;
    font-size: 14px;

    ul {
        list-style: none;
        padding-left: 0;

        li {
            color: @required-red;
        }
    }
}

.has-error {
    .control-label {
        color: @required-red;
    }

    .form-control {
        border-color: @required-red;
    }

    .form-text {
        color: @required-red;
    }
}

.opis-accounts input {
    border-radius: 0px;
    border: 1px solid @light-grey;
    color: @ihs-grey;
    outline: none;
    font-size: 16px;
    line-height: 22px;
    padding: 15px;
    height: 54px;
}

.opis-accounts *:focus {
    border: 1px solid @primary-light;
    box-shadow: none;
}

.opis-accounts .checkbox input {
    height: 20px;
}

.opis-accounts input[type=submit] {
    margin-top: 32px;
    width: 100%;
}

.caps-lock::before {
    content: "Caps Lock is On";
    text-align: center;
    font-weight: bold;
    margin: auto;
    width: 100%;
    float: right;
    font-size: 16px;
}

label.required::after {
    content: " *";
    color: @required-red;
    vertical-align: super;
}

.opis-accounts {
    form {
        button[type=submit] {
            float: right;
        }
    }

    .btn {
        border-radius: 0;
        font-weight: bold;
        border: none;
        transition-duration: 250ms;
        transition-property: background-color, color, opacity;
        transition-timing-function: ease;
    }

    .btn.btn-primary {
        background-color: @primary;
        color: @white;
        border: none;
        padding: 20px 68px;
    }

    .btn.btn-primary:focus {
        outline: none;
    }

    button[type=submit].btn.btn-primary:hover,
    input[type=submit].btn.btn-primary:hover {
        background-color: @primary-light;
        border-color: @primary-light;
        color: @white;
    }

    input[type=button].btn.btn-primary,
    a:not([class~=ajax]).btn.btn-primary,
    button:not([type=submit]).btn.btn-primary {
        position: relative;
    }

    input[type=button].btn.btn-primary:hover::after,
    a:not([class~=ajax]).btn.btn-primary:hover::after,
    button:not([type=submit]).btn.btn-primary:hover::after {
        opacity: 1;
    }

    input[type=button].btn.btn-primary::after,
    a:not([class~=ajax]).btn.btn-primary::after,
    button:not([type=submit]).btn.btn-primary::after {
        background: #97d700;
        color: #ffffff;
        content: "\f054";
        display: inline-block;
        font-family: "FontAwesome";
        opacity: 0;
        text-align: center;
        transition-duration: 250ms;
        transition-property: opacity;
        transition-timing-function: ease;
        position: absolute;
        top: 0;
        right: 0;
        height: 58px;
        width: 55px;
        min-width: 14px;
        padding: 20px 0;
    }

    .btn.btn-reverse {
        background-color: @white;
        color: @primary;
        border: 2px solid @primary;
        padding: 18px 66px;
    }

    .btn.btn-reverse:hover {
        background-color: @primary;
        color: @white;
    }

    .btn.btn-info {
        background-color: @teal;
        font-size: 16px;
        padding: 10px 50px;
        line-height: 16px;
    }

    .btn.btn-info:hover {
        background-color: @dark-teal;
    }

    .btn.btn-primary,
    .btn.btn-reverse {
        text-transform: uppercase;
        font-size: 18px;
        line-height: 18px;
    }
}

a.standalone {
    color: @dark-grey;
}

a.standalone:hover {
    color: @primary;
}

.standalone {
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 250ms ease 0s;
    font-size: 17px;
    line-height: 24px;
    letter-spacing: 1px;
}

.standalone:after {
    font-family: "FontAwesome";
    content: "\f054";
    margin-left: 10px;
    margin-top: 5px;
    font-size: 10px;
    vertical-align: top;
}

a.logout {
    font-weight: 600;
    font-size: 17px;
}

ul.list-chevron {
    list-style: none;

    li {
        position: relative;
        padding: 0 0 10px 30px;
    }

    li::before {
        color: @primary;
        content: "\f054";
        font-family: "FontAwesome";
        font-size: 15px;
        bottom: 10px;
        left: 0;
        position: absolute;
        font-weight: 700;
    }
}

div.success-message {
    &::before {
        content: "\00A0";
        display: block;
        height: 80px;
        width: 100px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
        top: 40px;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url(../Images/circlecheck.svg);
        background-color: white;
    }

    div {
        border: 3px solid @primary;
        padding: 75px;
    }

    h3 {
        margin-top: 0;
    }
}