/*
Theme Name: Sanral
Description: Theme for the SANRAL SMME Website
Version: 1.0
Author: Avatar Agency Group
Author URI: https://avataragency.co.za
*/
/* GLOBAL STYLES */
html,
body {
    font-family: "Lato", sans-serif;
    font-size: 100%;
}
body a {
    color: inherit;
    text-decoration: none !important;
    transition: all 300ms;
}

body a:hover {
    text-decoration: none !important;
    color: #007a64;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: #fff !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
dt {
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-weight: 900;
}

dd {
    font-weight: normal;
}
.card {
    border-radius: 0px;
}
.card-title {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1px;
}

.card-header:first-child {
    border-radius: 0px;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 17px;
}

a.suggestion-box {
    border-radius: 0px;
    border: none;
    padding: 12px 20px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 17px;
    margin-bottom: 22px;
    background: black;
    display: block;
    border-radius: 0px;
    border: none;
    padding: 20px 20px !important;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 17px;
    margin-right: 0;
    text-align: center;
}

a.suggestion-box:hover{
    background: #ff6600;
}

.card-nav {
    padding: 15px 20px;
}

.region-title {
    width: 70%;
}

.info-icon {
    border-left: 1px solid #fff;
    width: 55px;
    position: relative;
}

.tooltip-toggle {
    border: 2px solid white;
    border-radius: 50%;
    padding: 0px 12px;
}

span.tooltip-icon {
    font-weight: 900;
    font-size: 24px;
}

.tooltip-toggle .tooltip {
    display: block;
    position: absolute;
    width: 140px;
    height: 110px;
    top: 65px;
    left: -72px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 300ms;
    background: white;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.tooltip:after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    border-bottom-color: #fff;
    border-top: 0;
    margin-left: 20px;
    margin-top: -25px;
}

a.tooltip-toggle:hover .tooltip {
    opacity: 1;
    transition: opacity 300ms;
    z-index: 1;
}

#site-nav-desktop {
    width: 100%;
    padding: 10px 30px;
}
.lowercase {
    text-transform: lowercase;
}

li.nav-item {
    padding: 0px 10px;
}

a.nav-link.help-icon {
    font-size: 19px;
    padding: 5px;
}

body {
    letter-spacing: 0.5px;
}

.tender-process {
    background-color: #35343c !important;
}

.navbar-brand,
.btn {
    font-size: 1em;
}

a.btn.btn-more {
    padding: 10px !important;
    font-weight: 700;
}

.btn:hover {
    background: #343a40 !important;
}

.list-group-item span {
    font-size: 13px;
}
.list-group-item dt {
    line-height: 1.4em;
}

.dropdown-menu {
    top: 78px;
    left: -50px;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 0px !important;
    margin: 0px !important;
    border-radius: 0px !important;
    border: none !important;
}

.dropdown-item {
    padding: 5px 15px;
    color: #fff;
    text-align: right;
    position: relative;
}
a.dropdown-item.main-site-nav:after {
    content: "";
    position: absolute;
    width: 0px;
    right: 15px;
    bottom: 0px;
    height: 1px;
    background: white;
    transition: width 300ms;
}

a.dropdown-item.main-site-nav:active:after,
a.dropdown-item.main-site-nav:hover:after {
    width: 50px;
    transition: width 300ms;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: transparent;
}

.clementine {
    background-color: #ff6600;
}

.white {
    color: #ffffff;
}
.bg-black {
    background: #000000 !important;
}

.bg-dark {
    background: #35343c !important;
}
.rain-forest {
    background-color: #007a64;
}
.text-rain-forest {
    color: #007a64;
}
.rain-forest-light {
    background-color: #c5d7d3 !important;
}
.bdr-rain-forest-light {
    border-color: #c5d7d3 !important;
}

#region-explainer-eastern-region {
    background: url("img/eastern-region.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
}

#region-explainer-northern-region {
    background: url("img/northern-region.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
}

#region-explainer-southern-region {
    background: url("img/southern-region.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
}

#region-explainer-western-region {
    background: url("img/western-region.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
}

#region-explainer-head-office {
    background: url("img/head-office.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 80px;
}

.tender-process {
    background: url("img/tender-process.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100vh;
}

.tender-detail {
    padding: 15px 20px 10px 20px;
    border: 1px solid #efefef;
    margin-bottom: 10px;
    margin-right: 10px;
}

a.text-black:hover {
    color: #007a64;
    transition: all 300ms;
}

.main-site-nav:hover {
    color: #007a64;
    transition: all 300ms;
}

table.custom-table {
    font-size: 0.9em;
    border-spacing: 0px 10px;
    border-collapse: separate;
}
.table thead th {
    border-bottom: none;
}
.table td,
.table th {
    border-top: none;
    padding: 15px;
}
table tr.table-head {
    border: 1px solid #007a64;
}
table.custom-table tr {
    border: 1px solid #eee;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}

.ol-none {
    outline: none;
}
.bs-none {
    box-shadow: none;
}
.bdr-none {
    border: none;
}
.br-0 {
    border-radius: 0px;
}

/* SMME Help Desk */
h1.display-4 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 2px;
}
.nav-pills li.nav-item {
    padding: 0px;
    margin-bottom: 10px;
}
.nav-pills .nav-link {
    border-radius: 0px;
    padding: 10px 30px;
    margin-right: 10px;
    border: 1px solid #ddd;
    font-weight: 700;
    transition: all 300ms;
}
.nav-pills .nav-link:hover {
    color: #007a64;
    border: 1px solid #007a64;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #007a64;
    border: 1px solid #007a64;
}

.mou .card {
    border: none;
}
.mou .card-header {
    padding: 0px;
}
.mou .card-body {
    border-top: none;
    border-bottom: none;
    border: 1px solid #eee;
}
.mou .card-header button {
    width: 100%;
    text-align: left;
    border-radius: 0px;
    padding: 10px 20px;
    text-decoration: none;
    border-bottom: none;
}

.mou .card-header button.collapsed {
    border-bottom: 1px solid #eee;
}

h3 {
    font-weight: 800;
    color: #333;
    font-size: 1.5em;
}

.embed-container {
    position: relative;
    padding-bottom: 56%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#site-footer ul li a.nav-link {
    color: #ffffff;
}
#site-footer ul li a.nav-link:hover {
    color: #007a64;
}

.days-remaining {
    display: inline;
    padding: 5px 15px;
    color: #fff;
    font-size: 12px;
    line-height: 0;
    font-weight: normal;
    text-transform: uppercase;
}
.days-remaining.red {
    background: red;
}
.days-remaining.orange {
    background: orange;
}
.days-remaining.green {
    background: green;
}

.single-tender-meta {
    font-weight: 900;
}
.single-tender-region {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.single-tender-sector {
    width: 95px;
    height: 95px;
    margin-bottom: 5px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}
.single-tender-sector.audit {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-audit.png);
}
.single-tender-sector.communications {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-communications.png);
}
.single-tender-sector.construction {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-construction.png);
}
.single-tender-sector.consulting {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-consulting.png);
}
.single-tender-sector.financial {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-financial.png);
}
.single-tender-sector.forensic-investigations {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-forensic-investigations.png);
}
.single-tender-sector.itc-and-hr {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-itc-hr.png);
}
.single-tender-sector.maintenance {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-maintenance.png);
}
.single-tender-sector.marketing {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-marketing.png);
}
.single-tender-sector.operations {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-operations.png);
}
.single-tender-sector.training {
    background-image: url(https://sanralsmme.co.za/wp-content/themes/sanral/img/sector-training.png);
}

.single-tender-grade {
    font-weight: 800;
    font-size: 40px;
    margin-bottom: 10px;
}
.single-tender-grade.grade-0 {
    background: #ff6600;
}

.tender-download-btn {
    border-radius: 30px;
    padding: 14px;
    width: 100%;
    font-weight: 700;
    margin-bottom: 20px;
}

.help-sidebar {
    position: fixed;
    right: 0px;
    top: 0px;
    z-index: 2;
    width: 0;
    height: 100vh;
    transition: width 500ms;
}
.help-sidebar.active {
    width: 25%;
}

.help-sidebar.active a.nav-link.slideout-close {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s;
}
a.nav-link.slideout-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.2em;
    visibility: hidden;
    opacity: 0;
}

ul.nav.social-links {
    margin-top: 0px;
}
ul.nav.social-links li {
    margin-right: 20px;
    font-size: 20px;
}

ul.nav.footer-links {
    display: block;
}
ul.nav.footer-links li {
    margin-bottom: 5px;
}

.tender-block.head {
    text-transform: uppercase;
    font-weight: bold;
    border: 1px solid #007a64;
}
.tender-block {
    padding: 12px 15px;
    border: 1px solid #eee;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.tender-block span {
    display: inline-block;
    margin-right: 20px;
    line-height: 1;
    font-size: 14px;
}
.tender-block span.category {
    width: 9%;
}
span.description {
    width: 30%;
    line-height: 0.9;
}
span.number {
    width: 20%;
}
span.published {
    width: 9%;
}
span.closing {
    width: 20%;
}

a.btn-view-all {
    background: #ff6600;
}

a.btn-view-all:hover {
    background: #343a40 !important;
}

.teaser-1-lines{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    width: 100%;
}

.teaser-2-lines{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
}

.teaser-3-lines{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
}

.teaser-4-lines{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    width: 100%;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #007663;
    box-shadow: none;
}

button {
    background-color: #007663;
    color: #fff;
    border: 1px solid #2d6ca2;
    text-decoration: none;
}

button:hover, input[type=button]:hover, input[type=submit]:hover {
    background-color: #007663 !important;
    color: #fff;
    border: 1px solid #2d6ca2;
    text-decoration: none;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: "Open Sans",sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
    text-align: left;
    background-color: #76767d;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    height: 52px;
    line-height: 52px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

button:active, input[type=button]:active, input[type=submit]:active, button:focus, input[type=button]:focus, input[type=submit]:focus {
    background: #007663;
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgb(66, 139, 202);
    color: #fff;
    border: 1px solid #2d6ca2;
    outline: none;
    position: relative;
    top: 1px;
}

button:visited {
    background: #76767d;
}

button[aria-expanded="true"]{
    background-color: #007663;
}

.accordion-header {
    margin: 0;
}

.accordion-item {
    margin-bottom: 16px;
}

.accordion-button::after {
    flex-shrink: 0;
    color: #fff;
    width: 1.75rem;
    height: 1.75rem;
    margin-left: auto;
    content: "";
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}

.accordion-item {
    border: none;
}

.accordion-body {
    color: #333333;
}

a.nav-custom {
    color: #212529 !important;
}

a.nav-custom:hover {
    color: #007a64 !important;
}

.navbar {
    padding: .5rem 0rem;
    padding-top: 0.5rem;
    padding-right: 0rem;
    padding-bottom: 0.5rem;
    padding-left: 0rem;
}

.bl {
    border-left: solid 1px #f0f0f0;
}

.br {
    border-right: solid 1px #f0f0f0;
}

.bb {
    border-bottom: solid 1px #f0f0f0;
}

@media (min-width: 588px) {

    .no-gutters-left {
        padding-left: 0px !important;
    }
}

.no-gutters-sm {
    padding-left: 0px !important;
}

@media (max-width: 587px){
    .no-gutters-sm {
        padding: 0px !important;
    }

    .no-mr-sm {
        margin-right: 0 !important;
    }

    .single-tender-meta {
        margin-bottom: 20px;
    }

    .single-tender-region {
        width: 100%;
    }
}

.btn-submit {
    color: #555;
    height: auto;
    cursor: pointer;
    background: 0 0;
    box-shadow: none;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 15px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
}

.hidden {
    display: none !important;
}

.cidb-inner {
    background: #ff6600;
    padding: 15px;
    min-width: 90px;
    display: inline-block;
}

a.info {
    width: 40px;
    height: 40px;
    color: #fff !important;
    border: solid 2px #fff;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    padding-left: 2px;
}

a.info:hover {
    background-color: #000;
}

.youtube-play {
    position: absolute;
    font-size: 50px;
    color: red;
    left: 50%;
    cursor: pointer;
    bottom: 20px;
}