﻿/*Custom application-wide styles for UKRI-Allocations*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,700;1,300;1,700&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #555;
    margin: 0;
    padding: 0;
}

/* Text */
h1 {
    margin: 0 0 1em 0;
    font-size: 2.8em;
    font-weight: 700;
}

h2 {
    margin: 0 0 0.5em 0;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.1em;
}

h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.3em;
    font-weight: 700;
}

h4 {
    margin: 0 0 1.5em 0;
    font-size: 1em;
    font-weight: 700;
}

p {
    margin: 0 0 1em 0;
}

label cat-dtl-header {
    padding:10px;
    font-size:16px;
    font-family:sans-serif;
}

label cat-title {   
    font-size: 16px;
    font-family: sans-serif;
}


/*a {
    color: #337ab7;
}
*/
/*a:visited {
    color: rgba(21, 140, 186, 0.8);
}*/

    a.btn {
        font-size: 1.2em;
        text-decoration: none;
        color: #fff;
        border: 1px solid #fff;
        padding: 4px 15px;
    }

/*End Text */


.page-title {
    margin-top: 20px;
}

.btn-action {
    width: 70px;
    text-align: center;
    margin: 0 10px 0 0;
}

.container-grid {
    margin-top: 5px;
}

.nav-link {
    color: white !important;
}

.btn-grid {
    width: 6rem;
    margin: 0 0.5rem 0 0;
}

.info-block {
    cursor: pointer;
}

.info-block-primary {
    background-color: rgba(21, 140, 186, 0.8);
    width: 150px;
    height: 150px;
    margin: 10px 10px 10px 10px;
    border-radius: 10px;
    vertical-align: middle;
    cursor: pointer;
}

.info-block-label {
    position: relative;
    top: 8px;
    text-align: center;
    font-weight: bold;
    color: white;
}

.info-block-detail {
    position: relative;
    top: 25px;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: white;
}

.inline-block {
    display: inline-block;
}

.thick-border {
    border-width: initial !important;
}

.background-success {
    background-color: rgba(0, 168, 0, 0.8);
}

.background-warning {
    background-color: rgba(218, 165, 32, 0.8);
}

.background-danger {
    background-color: rgba(220, 20, 60, 0.8);
}

.e-input-group {
    margin: 0 0 0 10px;
    max-width: 280px;
    height: 35px;
}

.form-control-large {
    margin: 0 0 0 10px;
    width: 500px;
}

.form-control-regular {
    margin: 0 0 0 10px;
    min-width: 280px;
}

.form-control-small {
    margin: 0 0 0 10px;
    width: 120px;
}

.align-center {
    text-align: center;
}

.label-profile {
    min-width: 115px;
}

.portal-body {
    padding-top: 0;
    padding-bottom: 0;
}

.display-title {
    padding-left: 10px;
}

.user-img {
    max-width: 128px;
}

.button {
    background-color: #ff9e19;
    background-image: linear-gradient(to bottom right,#ff9e19, #f9d19b);
    border-radius: 15px;
    border: none;
    outline: none;
    color: white;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    box-shadow: 0 2px #999;
    margin: 5px;
    /* height: 30px;*/
    height: auto;
}
    .button:hover {
        background-image: linear-gradient(to top left,#f8ae4b, #f8ae4b);
        /*font-size: 14px;*/
    }
.btn-without-border:focus {
    border: none;
    outline: none;
}

.button2 {
    background-color: #ff9e19;
    background-image: linear-gradient(to bottom right,#ff9e19, #f9d19b);
    border-radius: 25px;
    border: none;
    outline: none;
    color: white;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    margin: 5px;
    width: 75px;
}
    .button2:hover {
        cursor: pointer;
    }

.notclickable {
    pointer-events: none;
    background-color: #f9d19b;
    background-image: linear-gradient(to bottom right,#ff9e19, #ff9e19);
}


.tooltip-wrap {
    position: relative;
}

    .tooltip-wrap .tooltip-content {
        display: none;        
        position: absolute;        
        background-color: #eaecf4;
        padding: .3em;
       font-size:10px;
    }

    .tooltip-wrap:hover .tooltip-content {
        display: block;
        /*visibility: visible;*/
    }