﻿@font-face {
    font-family: openSans;
    src: url("../fonts/Open_Sans/OpenSans-Light.ttf");
}

@font-face {
    font-family: montserrat_light;
    src: url("../fonts/Montserrat/Montserrat-SemiBoldItalic.ttf");
}

@font-face {
    font-family: lato;
    src: url("../fonts/Lato/Lato-Light.ttf");
}

@font-face {
    font-family: lato-regular;
    src: url("../fonts/Lato/Lato-Regular.ttf");
}

@font-face {
    font-family: mohave;
    src: url("../fonts/Mohave-SemiBoldItalic/Mohave-SemiBoldItalic.woff") format('woof'), 
        url("../fonts/Mohave-SemiBoldItalic/Mohave-SemiBoldItalic.ttf") format('truetype'),
        url("../fonts/Mohave-SemiBoldItalic/Mohave-SemiBoldItalic.svg") format('svg'),
        url("../fonts/Mohave-SemiBoldItalic/Mohave-SemiBoldItalic.eot");
}

* {
    font-family: openSans, sans-serif;
    font-weight: 300;
}

.grid-main {
    display: grid;
    /*max-width: 100vw;*/
    grid-template-areas: "logo language"
        "clogo clogo"
        "content content"
        "footer footer";
    /*grid-template-rows: 1fr 98px 3fr 130px;*/
    grid-auto-rows: max-content;
}

.grid-main__logo {
    grid-area: logo;
    padding: 2% 0px 8% 163px;
    max-height: 220px;
}

.grid-main__language {
    grid-area: language;
    padding: 2% 163px 8% 163px;
    justify-self: flex-end;
    max-height: 220px;
}

.grid-main__center-logo {
    grid-area: clogo;
    max-height: 98px;
}

.grid-main__content {
    grid-area: content;
}

h2, h3, h4 {
    font-family: openSans;
    font-weight: 700;
    font-style: normal;
    color: #333;
}

.title-12 {
    font-family: openSans;
    font-size: 12px;
    color: #313131;
}

.title-14 {
    font-family: openSans;
    font-size: 12px;
    color: #313131;
}

.title-16 {
    font-family: openSans;
    font-size: 16px;
    color: #fff;
}

.title-i-20 {
    font-family: openSans;
    font-weight: 600;
    font-style: normal;
    color: #4e4e4e;
    font-size: 20px;
    padding-bottom: 34px;
}

    .title-i-20 a {
        font-family: mohave;
        font-style: normal;
        color: #0072ce;
        font-size: 20px;
        padding-bottom: 34px;
    }

body {
    /*margin-top: 90px !important;*/
    /*padding-bottom: 35px !important;*/
    margin: 0 !important;
    color: #333 !important;
    background-color: #f1f1f1 !important;
    background-image: url("../backgroundRexel.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100% !important;
    height: 100% !important;
    font-family: openSans;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none !important;
}
    a:hover {
        color: #4e4e4e;
    }


.logo-img {
    width: 240px;
    height: 98px;
}

.bottom-logo {
/*    position: sticky;
    bottom 0px;
    margin: 35px 0 30px 163px;*/
    margin: 75px 0 30px 0;
}

.bg-light {
    background-color: #fff !important;
    min-height: 91px;
}

.bg-opacity {
    position: relative;
    background-color: rgba(255, 255, 255, 0.0);
    min-height: 100vh;
    min-width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
}

.custom-footer {
    background-color: #fff !important;
    min-height: 45px;
    text-align: center;
    padding-top: 6px;
}

.panel-extra {
    margin-top: 56px !important;
    background-color: rgba(255, 255, 255, 0.0);
    padding: 8%;
    padding-top: 0%;
    padding-bottom: 46px;
    min-width: 100%;
    border: none;
}

.extra-padding-top {
    padding-top: 20px;
}

.fairshare {
    padding: 5px;
    font-family: openSans;
    font-weight: 300;
    font-size: 38px;
    color: #fff;
}

.btn:hover {
    color: #fff;
}

.gold_btn {
    color: #fff;
    background-color: #0072ce;
    width: 90%;
    height: 43px;
    border-radius: 21.5px;
    box-shadow: 1px 3px 12px -1px rgba(0, 0, 0, 0.1), 0 2px 4px 0 rgba(0, 0, 0, 0.5);
    font-family: openSans;
    font-weight: 600;
    font-style: normal;
    font-size: 16px;
    position: absolute;
    top: 28.5px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    outline: none !important;
}

    .gold_btn:hover {
        background-color: #4e4e4e;
        outline: none !important;
        /*transition: opacity .4s ease-out;
        -moz-transition: opacity .4s ease-out;
        -webkit-transition: opacity .4s ease-out;
        -o-transition: opacity .4s ease-out;*/
    }

.btn-arrow {
    position: absolute;
    right: 16px;
    top: 14px;
}

.arrow {
    border: solid 2px #fff;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4.2px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}


.white-special-text {
    color: #fff;
    font-size: 16px;
    font-family: openSans;
    font-weight: 400;
    /*padding-bottom: 75px;*/
}

    .white-special-text:hover {
        color: #4e4e4e;
    }

.white-btn {
    color: #ffcc66;
    background-color: #fff;
    width: 100px;
    width: 100%;
    border-radius: 25px;
    font-family: lato, sans-serif;
    font-weight: 300;
    font-style: italic;
}

    .white-btn:hover {
        color: #fff;
        background-color: #ffcc66;
    }

.redirectlink {
    color: #333;
}

    .redirectlink:hover {
        color: #4e4e4e;
        text-decoration: none;
    }

.form-control {
    border-radius: 25px;
}

    .form-control:focus {
        border-color: #4e4e4e !important;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 10px rgba(100, 76, 7, .6);
                box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 10px rgba(100, 76, 7, .6);
    }

    .fixed-bottom {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
    }

.form-center {
    text-align: center;
    vertical-align: middle;
    min-height: 100%;
}

.form-inline{
    display: inline-block;
}

input[type="radio"], input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0 10px 0 0;
}

.navbar-header {
    position: relative;
    top: -4px;
}

.navbar-brand > .icon-banner {
    position: relative;
    top: -2px;
    display: inline;
    width: 139px;
    height: 40px;
}

.icon {
    position: relative;
    top: -10px;
}

.logged-out iframe {
    display: none;
    width: 0;
    height: 0;
}

.page-consent .client-logo {
    float: left;
}

    .page-consent .client-logo img {
        width: 80px;
        height: 80px;
    }

.page-consent .consent-buttons {
    margin-top: 25px;
}

.page-consent .consent-form .consent-scopecheck {
    display: inline-block;
    margin-right: 5px;
}

.page-consent .consent-form .consent-description {
    margin-left: 25px;
}

    .page-consent .consent-form .consent-description label {
        font-weight: normal;
    }

.page-consent .consent-form .consent-remember {
    padding-left: 16px;
}

.grants .page-header {
    margin-bottom: 10px;
}

.grants .grant {
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid lightgray;
}

    .grants .grant img {
        width: 100px;
        height: 100px;
    }

    .grants .grant .clientname {
        font-size: 140%;
        font-weight: bold;
    }

    .grants .grant .granttype {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .created {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant .expires {
        font-size: 120%;
        font-weight: bold;
    }

    .grants .grant li {
        list-style-type: none;
        display: inline;
    }

        .grants .grant li:after {
            content: ', ';
        }

        .grants .grant li:last-child:after {
            content: '';
        }


.bgd {
    border-radius: 6px;
    box-shadow: 2px 8px 15px 0 rgba(0, 0, 0, 0.33), 0 2px 15px -9px rgba(0, 0, 0, 0.5);
    background-color: #ffffff;
    max-width: 340px;
    padding: 34px 0;
    margin: auto;
}

.bgd-extra-padding {
    padding: 34px 15px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    background-color: transparent;
    color: #fff;
    font-size: 16px;
    border: none;
    background-image: url(/rectangle.svg), url(/shape.svg);
    background-position: 125px, 23px;
    background-repeat: no-repeat, no-repeat;
    width: 158px;
    height: 42px;
    padding-left: 53px;
}

option {
    border-radius: 5px;
}

    select > option {
        font-family: openSans;
        font-size: 17px;
        font-weight: 600;
        font-stretch: normal;
        font-style: italic;
        line-height: normal;
        letter-spacing: normal;
        color: #4e4e4e;
        padding: 18px 23px;
        outline: none;
    }

        select > option:checked {
            font-family: openSans;
            font-size: 17px;
            font-weight: 600;
            font-stretch: normal;
            font-style: italic;
            line-height: normal;
            letter-spacing: normal;
            color: #161616;
        }

.shape {
    /*width: 18px;
    height: 18px;*/
    padding-bottom: 3px;
}

.styled-select select {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    appearance: none;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
}

input {
    padding: 2%;
    margin-top: 3%;
    margin-bottom: 3%;
    outline: 0;
    border-width: 0 0 1px;
    border-color: #d4d4d4;
    border-radius: 0;
    background-color: transparent !important;
    width: 100%;
    margin-bottom: 3%;
}

    input:focus {
        border-color: #4e4e4e;
        background-color: transparent !important;
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px white inset !important;
    }

.rexel-footer {
    grid-area: footer;
/*    height: 90px;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0,0,0,0.2));*/
}



@media (max-width: 767px) {
    .grid-main {
        display: grid;
        /*max-width: 100vw;*/
        grid-template-areas: "logo logo"
            "clogo clogo"
            "content content"
            "language language"
            "footer footer";
        grid-template-rows: 1fr 98px 3fr 1fr 101px;
        grid-auto-rows: auto;
    }

    .grid-main__logo {
        margin-left: 18px;
        padding-left: 18px;
        padding-top: 38px;
        padding-bottom: 1%;
    }

    .grid-main__language {
        padding: 0px;
        justify-self: center;
        align-items: center;
        margin-top: 56px;
        margin-bottom: 26px;
    }

    .top-logo {
        width: 97px;
        height: 28px;
    }

    .bottom-logo {
        /*margin: 45px 0 38px 36px;*/
            margin: 38px 0;
    }
}