/* Global styles */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

.container-main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
	box-shadow : 0px 1px 1px black;
	padding : 5px;
	margin : 5px;
	
	width : 100%;
	color : #333;
	text-align:center;
	
}

.col-lg-8 {
  width: 66.67%;
}

.col-lg-4 {
  width: 33.33%;
}

.col-md-8 {
  width: 66.67%;
}

.col-md-4 {
  width: 33.33%;
}

.col-sm-12 {
  width: 100%;
}

/* Media queries */

@media (max-width: 992px) {
  .col-lg-8 {
    width: 100%;
  }
  .col-lg-4 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .col-md-8 {
    width: 100%;
  }
  .col-md-4 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
}

/* Advertisement styles */

.advertisement {
  background-color: #f0f0f0;
  padding: 20px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}
/* Inser Job Form */

#insert-job-form, #add-location-form, #add-department-form {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  display: block;
  margin-bottom: 10px;
}

input[type="text"], input[type="number"], input[type="password"], select, textarea {
  width: 100%;
  height: 40px;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

textarea {
  height: 100px;
  resize: vertical;
}

input[type="submit"] {
  background-color: #3498db;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #2980b9;
}

.job-list {
	box-shadow : 0px 1px 1px black;
	padding : 5px;
	margin : 5px;
	display : block;
	width : 100%;
	color : blue;
}

.ad-container {
  background-color: #f7f7f7;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 10px;
}

.ad-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ad-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .ad-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .ad-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

.about-us {
  padding: 50px 0;
  background-color: #f7f7f7;
}

.about-us-content {
  text-align: center;
  margin-bottom: 50px;
}

.about-us-content h1 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-us-team {
  margin-bottom: 50px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.team-member {
  margin: 20px;
  text-align: center;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.about-us-contact {
  text-align: center;
}

.map {
  margin-top: 20px;
}

.map iframe {
  width: 100%;
  height: 300px;
  border: none;
}