/* General Styles */
body {
    min-height: 100vh;
    position: relative;
    padding-bottom: 180px; /* Adjust this value according to the height of your footer */
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    padding-top: 1px; /* Adjust this value based on the height of your navbar */
    margin-top: 0; /* Ensure no top margin */
}
a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}

.mynav {
    margin-right: 20px;
}

.hamburger {
    padding-top: 20px;
    font-size: 1.5rem;
    border: none;
}

.logo-img {
    margin-left: 50px;
}

/* Navbar Styles */
.navbar {
    position: relative; /* Change position to relative */
    width: 100%;
    z-index: 1000;  /* Ensure the navbar is on top */
    background-color: white;  /* Ensure background is white or the desired color */
}
.nav-item {
    position: relative;
  }
  
.navbar .nav-item a {
    color: #e31e24 !important;
    font-size: 1em; /* Reduced font size for better fit */
    font-weight: 600; /* Reduced font weight for cleaner look */
}

/* Hover effect for language buttons */
#language .btn:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background: transparent;
}

/* Hover effect for menu items */
.nav-item a:hover,
.dropdown-item:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
    border-radius: 5px; /* Optional: add border-radius for a rounded effect */
    color: #e31e24 !important;
    display: block;
}

/* Ensure smooth transition for hover effects */
.nav-item a,
.dropdown-item {
    transition: box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Adjust padding and font size for dropdown items */
.dropdown-menu .dropdown-item {
    padding: 5px 10px; /* Adjust padding to reduce the size */
    font-size: 0.9em;  /* Adjust font size if needed */
}

.dropdown-menu .dropdown-item:hover {
    box-shadow: none;
    background-color: #f8f9fa;
    border-radius: 5px;
    color: #e31e24 !important;
}

.dropdown-menu .dropdown-item {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Flexbox adjustments for equal column heights */
.row {
    display: flex;
    flex-wrap: wrap;
}

.col-lg-4 {
    display: flex;
    flex-direction: column;
}

.col-lg-4 .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.col-lg-4 .card-body {
    flex: 1;
}

.col-lg-4 .row {
    margin-top: auto;
}

/* General Styling and Footer */

.logofont {
    color: #e31e24;
    font-weight: bold;
    font-size: x-large;
}

#cover {
    font-size: 18px;
    color: #827f7f;
    text-align: center;
    margin-top: 5px;
    margin-bottom: -40px;
    padding-bottom: 20px;
}

/* Language Buttons */
#language {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 15px;
    position: absolute;
    right: 0;
    top: 10px;
}

#language .btn {
    margin-left: 10px;
    background: transparent;
    border: none;
    color: #333;
    transition: box-shadow 0.3s ease;  /* Smooth transition for the shadow */
}

#language .btn:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);  /* Add shadow effect */
    background: transparent;  /* Ensure the background remains transparent */
}

/* Ensure the flag icon and text remain clear */
#language .btn span {
    display: inline-block;
    vertical-align: middle;
    color: inherit;
}

#language .btn .flag-icon {
    display: inline-block;
    margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 767px) {
    #language {
        margin-top: 10px;
        justify-content: center;
        position: static;
    }
}

/* Additional Styles */
#publication-title {
    font-weight: bold;
    font-size: 1.5em;
}

#publication-text {
    margin-top: 5px;
    font-weight: lighter;
    text-align: justify;
}

.borders:hover {
    background-color: white;
}

.borders {
    background-color: white;
    margin-bottom: 20px;
    padding-top: 10px;
}

/* Footer Styles */
.footer-bg {
    background: black;
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 1200px;
    flex-wrap: wrap;
    text-align: center;
    margin-left: 20px;  /* Adjust this value to move content to the right */
}

.footer-left, .footer-center, .footer-right {
    margin: 0;
    padding: 10px 0; /* Add padding for vertical alignment */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center the content vertically */
}

.footer-left p, .footer-center ul, .footer-right a {
    margin: 5px 0; /* Ensure consistent spacing between items */
}

.footer-center ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-center ul li {
    margin: 10px 0;
}

.footer-center ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.footer-center ul li a:hover {
    color: #e31e24; /* Highlight color on hover */
}

.footer-right .social-icon {
    display: inline-block;
    width: 40px;  /* Adjusted width */
    height: 40px;  /* Adjusted height */
    text-align: center;
    line-height: 40px;  /* Adjusted line-height to match the height */
    margin: 0 10px;  /* Added margin for better spacing */
    border-radius: 50%;
    background: #3B5998;
    color: white;
    position: relative;  /* Added relative positioning */
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-right .social-icon:hover {
    background: white;
    color: #3B5998;
}

.footer-right .fa {
    font-size: 20px;  /* Adjusted font size */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);  /* Centered the icon */
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-center, .footer-right {
        text-align: center;
        margin: 5px 0;
    }
}

/* Other styles... */
#button-style {
    background: #827f7f;
    color: white;
    text-align: center;
    border-color: white;
}

#button-style2 {
    background: #7d7ddb;
    color: white;
    text-align: center;
    border-color: white;
}

#button-style3 {
    background: black;
    color: white;
    border-color: white;
}

#button-style4 {
    margin-top: 15px;
    background: white;
    color: #827f7f;
    text-align: center;
    border-color: #827f7f;
}

.borders2:hover {
    opacity: 90%;
    background-color: white;
}

.borders4 {
    border-style: groove;
    border-radius: 5px;
    padding: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.borders2 {
    background-color: #F2F2F2;
    border-style: groove;
    border-radius: 5px;
    padding: 20px;
}

.dropdown:hover>.dropdown-menu {
    display: block;
    position: absolute;
    top: 40px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Ensure this aligns correctly with your button */
    left: 0;
    z-index: 1000;
    margin-top: 0; /* Remove any top margin that might create a gap */
  }
#white {
    margin-top: 40px;
    color: white;
    font-size: 2.3em;
    text-align: center;
}

#white2 {
    margin-top: 20px;
    color: white;
    font-size: 1.2em;
    text-align: left;
}

.white3 {
    padding-top: 200px;
    color: white;
    font-size: 2.1em;
    line-height: 1.1em;
    text-align: center;
    padding-left: 100px;
    padding-right: 100px;
}

@media screen and (max-width: 480px) {
    .white3 {
        color: white;
        font-size: 2.1em;
        line-height: 1.1em;
        text-align: center;
        padding-left: 0px;
        padding-right: 0px;
    }
    .colimgb {
        max-width: 100%;
    }
}

#white4 {
    color: white;
    text-align: left;
}

#cover {
    font-size: 18px;
    font-family: 'Franklin Gothic Medium','Franklin Gothic','ITC Franklin Gothic',Arial,sans-serif;
    color: #827f7f;
    text-align: center;
    margin-top: 5px;
    margin-bottom: -40px;
    padding-bottom: 20px;
}

.label3 {
    background: grey;
}

.container-bg {
    margin-top: 5px;
    background: #827f7f;
}

.container-bg2 {
    margin-top: 5px;
    background: lightgray;
}

.container-bg3 {
    background-color: lightgray;
    padding: 20px;
}

#aboutusjumbo {
    background: url(./img/abusimg.png) top center;
    background-size: cover;
    height: 700px;
    background-repeat: no-repeat;
}

.findoutmore {
    font-weight: lighter;
    text-decoration: underline;
}

#text-title2 {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}


#text-title4 {
    color: white;
    text-align: left;
    font-size: 45px;
    padding-top: 50px;
    line-height: 1em;
}

#subtitle {
    margin-top: 1.5rem;
    color: white;
    text-align: left;
    font-size: x-large;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

#subtitle2 {
    color: white;
    text-align: left;
    font-size: x-large;
    font-weight: bold;
}

#simpletext {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

#text-title3 {
    color: black;
    text-align: center;
    font-size: xx-large;
}

#simpletext2 {
    color: black;
    font-size: 20px;
    text-align: left;
}

#simpletext3 {
    color: black;
    font-size: 20px;
    text-align: center;
}

#simpletext4 {
    color: white;
    font-size: 18px;
    text-align: left;
}

#simpletext5 {
    color: white;
    font-size: 18px;
    text-align: left;
    padding-bottom: 50px;
}

#simpletext6 {
    color: white;
    font-size: 18px;
    text-align: left;
    margin-bottom: 1.5rem;
}

#simpletext7 {
    color: white;
    font-size: 18px;
    text-align: left;
    line-height: 20px;
    margin-top: -10px;
}

#simpletext8 {
    color: white;
    font-size: 18px;
    text-align: left;
}

.footer-bg {
    background: black;
    color: white;
    padding-top: 20px;
    padding-bottom: 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#vision {
    color: white;
    font-size: 3em;
    font-weight: bolder;
    margin-bottom: -5px;
}

#social-economy {
    background-image: url(/img/Social-Economy.jpg);
    text-align: center;
    background-repeat: no-repeat;
}

#social-economy-title {
    text-align: left;
    color: white;
    font-size: 2.5em;
    vertical-align: text-bottom;
    margin-right: 10px;
    margin-left: 20px;
    margin-bottom: -5px;
}

#social-economy-text {
    text-align: left;
    color: white;
    font-size: 16px;
    margin-left: 20px;
    margin-right: 45px;
}

#btnleft {
    text-align: left;
    margin-left: 15px;
}

#social-services {
    background-image: url(/img/Social-Services.jpg);
    text-align: center;
    background-repeat: no-repeat;
}

#employment {
    background-image: url(/img/employment_entrepreneurship_training.jpg);
    text-align: center;
    background-repeat: no-repeat;
}

#publication-title2 {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.5em;
    text-align: left;
}

#publication-text2 {
    margin-top: -5px;
    font-weight: lighter;
    text-align: left;
}

#publication-title3 {
    text-align: center;
    font-size: 2.1em;
    margin-top: 40px;
}

.redtext {
    color: #e31e24;
}

#section1 {
    background: url(./img/section1.png) top center;
    height: 100%;
}

#section2 {
    height: 100%;
    background: url(./img/section2.png) top center;
}

#section3 {
    background: url(./img/section3.png) top center;
    height: 100%;
}

#section4 {
    background: url(./img/section4.png) top center;
    height: 100%;
}

#downloadbtn {
    margin-bottom: 30px;
}

#padd {
    margin-top: 20px;
    padding-bottom: 30px;
}

#more {
    position: relative;
    color: white;
    font-size: 18px;
}

.blackp {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: black;
    border-radius: 5px;
    color: white;
}

.blackp:hover {
    opacity: 80%;
}

.title1 {
    font-size: 2em;
}

.text1 {
    font-size: 18px;
}

.centre {
    text-align: center;
}

.link {
    text-decoration: underline;
}

.jumbnews {
    margin-top: 10px;
    padding: 25px;
    background-color: white;
}

.jumbnews p {
    text-align: left;
    font-size: 1.2em;
}

.news {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

.newstext {
    font-size: 1.4em;
    text-align: left;
}

.abusbutton {
    margin-bottom: 20px;
}

.title1 {
    font-size: 3em;
    text-align: center;
    color: white;
    opacity: 100%;
}

.socialworkbanner {
    background: url(./img/socialworkimg.jpg) center;
    background-size: cover;
    height: 700px;
    background-repeat: no-repeat;
}

.collaboratebanner {
    background: white;
}

.smallcont {
    margin-top: -15px;
    width: 50%;
}

@media screen and (max-width: 480px) {
    .smallcont {
        width: 100%;
    }
}

.colwustitle {
    color: black;
    font-size: 4em;
}

.colwustext {
    color: black;
    font-size: 1.8em;
    line-height: 90%;
}

.whitetext1 {
    font-size: 1.2em;
    color: white;
}

.socialtext {
    font-size: 1.5em;
    color: white;
}

.bgcl {
    background-color: #007b80;
}

.borders3 {
    border-left: groove;
    border-right: groove;
}

.note {
    background: url(./img/4733.jpg) top center;
    background-repeat: no-repeat;
    height: 881px;
}

.notetitle {
    padding-top: 50px;
    font-size: 2em;
    text-align: center;
}

.notetext {
    text-align: center;
    font-size: 1em;
}

.workwithromajumbo {
    background: url(./img/workwithromaimg.png) top center;
    background-size: cover;
    height: 700px;
    background-repeat: no-repeat;
}

.ourhistoryjumbo {
    background: url(./img/ourhistorybanner3.jpg) top center;
    background-size: cover;
    height: 700px;
    background-repeat: no-repeat;
}

.bannerworkwithroma {
    padding-top: 200px;
    color: white;
    font-size: 2em;
    line-height: 1.1em;
    text-align: center;
    padding-left: 95px;
    padding-right: 95px;
}

@media screen and (max-width: 480px) {
    .bannerworkwithroma {
        padding-top: 200px;
        color: white;
        font-size: 2em;
        line-height: 1.1em;
        text-align: center;
        padding-left: 0px;
        padding-right: 0px;
    }
}

.label2 {
    opacity: 80%;
    background: linear-gradient(180deg, #e31e24, transparent);
}

.workwithromatext {
    background: url(./img/bgwwr.jpg) top center;
    margin-top: -50px;
    width: 100%;
    background-size: cover;
    padding-bottom: 2em;
}

.wwrt {
    text-align: left;
    font-size: 1.8em;
}

.wwrtt {
    text-align: center;
    font-size: 2em;
}

.wwrtext {
    text-align: justify;
    font-size: 1em;
    width: 85%;
}

.wwrs:hover {
    opacity: 70%;
}

.wwrs1 {
    font-weight: bold;
    text-align: center;
    width: 128;
}

.wwrs1 img {
    display: block;
    margin: 0 auto;
}

.sh1 {
    text-align: left;
    font-size: 1.8em;
    color: black;
}

.sh2 {
    text-align: justify;
    font-size: 1em;
    color: black;
}

.sh3 {
    padding-top: 50px;
    text-align: justify;
    font-size: 1em;
    color: black;
}

.shtitle {
    text-align: center;
    font-size: 3em;
    color: black;
    padding-top: 200px;
}

.colimg {
    height: 350px;
}

.coltitle {
    font-size: 1.5em;
    text-align: center;
}

.coltitle2 {
    font-size: 1.5em;
}

.coltext {
    font-size: 1.1em;
    text-align: justify;
}

.coltext2 {
    font-size: 1.1em;
    text-align: justify;
}

.colimg2 {
    height: auto;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.colimgb {
    width: 500px;
    height: auto;
}

.socialservicesjumbo {
    background: url(./img/ssheader.png) top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 700px;
}

.abustitles {
    text-align: center;
    font-size: 2em;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dbe {
    text-align: center;
    font-size: 2em;
}

.sst {
    color: white;
    text-align: center;
    font-size: 3em;
}

.sstext {
    padding: 50px;
    color: white;
    text-align: center;
    font-size: 1.5em;
}

.sstitle {
    font-size: 2.5em;
    text-align: center;
}

.gptitle {
    font-size: 1.8em;
    text-align: left;
    line-height: 0.9;
    padding-top: 20px;
}

.gptitle2 {
    font-size: 2.5em;
    text-align: center;
    padding-top: 20px;
    line-height: 0.9;
}

hr.style18 {
    height: 30px;
    border-style: solid;
    border-color: #8c8b8b;
    border-width: 1px 0 0 0;
    border-radius: 20px;
}

hr.style18:before {
    display: block;
    content: "";
    height: 30px;
    margin-top: -31px;
    border-style: solid;
    border-color: #8c8b8b;
    border-width: 0 0 1px 0;
    border-radius: 20px;
}

.containermic {
    max-width: 800px;
}

.sspq {
    padding: 20px;
    font-size: 1.1em;
}

.sebanner {
    text-align: center;
    font-size: 2.5em;
}

.seimg {
    max-height: 300px;
}

.sebant {
    padding-top: 50px;
    color: black;
    font-size: 1.7em;
    line-height: 95%;
    text-align: left;
}

.seimg2 {
    max-height: 330px;
}

.sesubtitle {
    font-size: 1.8em;
    text-align: center;
    padding: 20px;
}

.sesubtitle2 {
    font-size: 1.4em;
    text-align: left;
    padding: 20px;
}

.sebg {
    margin-top: 50px;
    padding-top: 50px;
    background: url(./img/sebg23.png) top center;
    background-size: 810px 390px;
    background-repeat: no-repeat;
}

.all {
    text-align: right;
    font-size: 1.5em;
}

.all2 {
    text-align: left;
    font-size: 1.2em;
    padding: 10px;
    line-height: 0.9;
}

.sest {
    text-align: center;
    font-size: 1.3em;
}

.seheadline {
    font-size: 1.1em;
    text-align: justify;
    font-weight: bold;
    margin-bottom: -5px;
    margin-top: -3px;
}

.seheadline2 {
    font-size: 1.1em;
    text-align: justify;
    font-weight: bold;
    padding: 20px;
}

.sigle {
    padding: 20px;
}

/* Blog */
.blogtitle {
    text-align: center;
    font-size: 2em;
}

.md-form.input-group .form-control {
    padding: .375rem .75rem;
    margin: 0;
}

.box {
    transition: box-shadow .3s;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    float: left;
}

.box:hover {
    box-shadow: 0 0 11px rgba(33,33,33,.2);
}

.sizer {
    width: 500px;
}

.blogtext {
    text-align: justify;
}

.boldblog {
    font-size: 1.2em;
}

/* achizitii */
.procurement {
    text-align: center;
    font-size: 2em;
}

.procurementitem {
    font-size: 18px; /* Adjust the font size */
    color: #333; /* Change the text color */
    margin-bottom: 10px; /* Add some space below each item */
    list-style-type: none; /* Remove the default list bullet points */
}

.procurementitem a {
    text-decoration: none; /* Remove the underline from the link */
    color: #333; /* Set the link color */
    transition: color 0.3s; /* Add a smooth color transition on hover */
}

ul.file-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.file-list li {
    background-color: #f2f2f2;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.file-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.file-list li:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

#language {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 15px;
    position: absolute;
    right: 0;
    top: 10px;
}

#language .btn {
    margin-left: 10px;
    background: transparent;
    border: none;
    color: #333;
    transition: box-shadow 0.3s ease;  /* Smooth transition for the shadow */
}

#language .btn:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);  /* Add shadow effect */
    background: transparent;  /* Ensure the background remains transparent */
}

@media (max-width: 767px) {
    #language {
        margin-top: 10px;
        justify-content: center;
        position: static;
    }
}
/* Container styles */
.container {
    margin-top: 20px;
    padding-bottom: 40px;
}

/* Procurement title */
h1.procurement {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
    position: relative; /* Add relative positioning */
    padding-bottom: 10px; /* Add padding for the underline effect */
    margin-top: 2px; 
    color: #333;
}
h1.procurement::after {
    content: '';
    position: absolute;
    width: 50px; /* Adjust width for desired length */
    height: 4px; /* Adjust height for desired thickness */
    background-color: #333; /* Match the color with the text */
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}
/* Card styles */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Ensure all cards are of the same height */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card header styles */
.card-header {
    background-color: #f8f8f8;
    color: #333;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    padding: 15px;
    text-align: center;
}

/* Card body styles */
.card-body {
    padding: 15px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

/* Link styles */
a {
    text-decoration: none;
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 10px;
    }

    h1.procurement {
        font-size: 1.5em;
    }
}
.procurement-container {
    padding-bottom: 100px; /* Add padding to the bottom of the procurement container */
}

.abus-container {
    padding-bottom: 100px; /* Add sufficient padding to the bottom */
}
