@charset 'UTF-8';
/** BASIC */
html, body {
    height: 100%;
    width: 100%;
}

body {
    margin: 0px;
    padding: 0px;
    background: #ffffff url(images/background.gif) repeat top left;
    font-family: "Tahoma", Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #A6313;
}

h1{
    margin-top: 0px;
    margin-left: 0px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 25px;
    color: #5E5945;
}

h2{
    margin-top: 0px;
    font-weight: bold;
    font-size: 20px;
    color: #000000;
}

hr {
    display: none;
}

p, ol, ul {
    text-align: justify;
    line-height: 160%;
}

ul {
    list-style-type: square;
}

a {
    color: #488081;
}

a:hover {
    text-decoration: none;
}

/** HEADER */

#header {
    float: left;
    width: 18%;
    margin-right: 1%;
    padding: 10px;
    box-sizing: border-box; /* İç ve dış kenarlıkların toplam genişliğe dahil edilmesini sağlar */
}

#header h1 {
    margin: 0px;
    padding-top: 12px;
    text-align: center;
    font-size: 20px;
}

#header h2 {
    margin: 0px;
    text-align: center;
    font-size: 11px;
}

/** MENU */

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 90%; /* Yüzdelik değere dönüştürüldü */
  max-width: 1000px; /* Maksimum genişlik belirlendi */
  margin: auto;
}

.menu li {
  float: left;
  position: relative;
  width: 20%; /* Yüzdelik değere dönüştürüldü */
  box-sizing: border-box; /* İç ve dış kenarlıkların toplam genişliğe dahil edilmesini sağlar */
}

.menu ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* Alt menünün genişliğini üst menüye uyumlu hale getirir */
  z-index: 1000;
  white-space: nowrap; /* Alt menünün yatay kalmasını sağlar */
}

.menu ul li:hover ul {
  display: block;
}

.menu ul li a {
  text-decoration: none;
  background: #333;
  display: block;
  color: white;
  font-weight: bold;
  font-family: sans-serif;
  text-align: center;
  border-bottom: 2px solid red;
  border-left: 1px solid #595959;
  padding: 5px;
  box-sizing: border-box; /* İç ve dış kenarlıkların toplam genişliğe dahil edilmesini sağlar */
}

.menu ul li ul li {
  float: none; /* Alt menü elemanlarının dikeyde kalmasını önler */
  width: 100%;
}

.menu ul li ul li a {
  background: #595959;
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid #333;
  font-size: .8em;
  box-sizing: border-box; /* İç ve dış kenarlıkların toplam genişliğe dahil edilmesini sağlar */
}

.menu li a:hover {
  background: rgb(248,140,0);
  transition: .5s;
}

.menu ul li ul li a:hover {
  padding-left: 15px;
}

/** CONTENT */

#content {
    margin: auto;
    width: 90%;
    max-width: 1000px;
    padding: 20px;
    font-size: 15px;
    background-color: #EEE9D7;
    border-left: 1px solid #5E5945;
    border-right: 1px solid #5E5945;
}

#content h2 {
}

#right {
     float: auto;
     margin: 0px auto;
     padding: 0px;
     width: 76%;
}

/** slider */
#slider {
    width:100%;
    height:350px;
    } 

/** FOOTER */

#footer {
    clear: both;
}

#footer p {
    margin: 0px auto;
    width: 100%;
    max-width: 1000px;
    padding: 10px 0px 10px 0px;
    background-color: #5E5945;
    font-size: 10px;
    text-align: center;
    color: #FFFFFF;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background: #333;
}

@media screen and (max-width: 768px) {
html, body {
    width: 98%;
    height: 98%;
}
body {
    font-size: 14px;
}
p, ol, ul {
    text-align: justify;
    line-height: 160%;
    font-size: 20px;
}
#header {
    width: 18%;
    margin-right: 1px;
    padding: 1%;
}

.menu ul{
    display: none;
    flex-direction: column;
    width: 80%;
    text-align: center;
}
.menu ul.active {
    display: flex;
}
.menu-toggle {
    display: block;
}

.menu li{
  width: 100%;
}
.menu ul li a{
  padding: 15px 0;
  border-left: none;
}
#content {
    width: 100%;
    padding: 2%;
}
#right {
     width: 76%;
}
#footer p {
    width: 100%;
    padding: 1% 0px 1% 0px;
}
#slider {
     top: 0 !important; 
     left: 8% !important;
     margin: 0 !important;
     width: 90%;
     text-align: center;
  }
  
#slider img {
  float: inherit !important;
  margin: 0 !important;
     width: 100%;
    max-width: 280px;
  }
  /* MOBİL BAR */
 
.mobilbararkaplan {
    width: 100%;
    position:fixed;
    bottom:0;
    height: 50px;
    z-index:9999;
}
 
.mobilbararkaplan a {
    color:white;
    text-decoration:none;
}
 
.mobilbarwhatsapp, .mobilbarhemenara{
    width: 50%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
}
 
.mobilbarwhatsapp i, .mobilbarhemenara i{
    margin-right: 10px;
}
 
.mobilbarwhatsapp {
    float:left;
    background:#189e0e;
}
 
.mobilbarhemenara {
    float:right;
    background:#085fcb;
}
 
/* MOBİL BAR SON */
}
@media screen and (min-width: 768px) {
  .mobilbararkaplan {
    display: none;
}
}