@charset "utf-8";
/* ------------------------------------------------------------------
   mobil.css — Designs for Vision TR
   Dar ekran uyarlamasi. TUM kurallar @media icinde; 901 px ve
   uzerinde tarayici bu dosyadan hicbir sey uygulamaz, yani
   masaustu gorunumu birebir eskisi gibi kalir.
   Duzen: Open.css / OpenSub.css / Basic2col.css uzerine biner.
   ------------------------------------------------------------------ */

/* ============ TABLET VE TELEFON (900 px ve alti) ============ */
@media only screen and (max-width: 900px) {

  html {
    -webkit-text-size-adjust: 100%;   /* iOS yatay cevirince buyutmesin */
  }
  html, body {
    overflow-x: hidden;               /* yatay kaydirma cubugu cikmasin */
  }
  body {
    background: #ffffff;              /* dar ekranda gri cerceveye gerek yok */
  }

  /* ---- kapsayici: 960 px sabitten akiskana ---- */
  .oneColFixCtrHdr #container,
  .twoColFixLtHdr #container {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  /* ---- baslik: masaustu icin konulan negatif bosluklari sifirla ---- */
  .oneColFixCtrHdr #header,
  .twoColFixLtHdr #header {
    margin-top: 0 !important;
    padding: 10px 12px !important;
    text-align: center;
  }
  #header img {
    margin-top: 10px !important;
    max-width: 100%;
    height: auto;
  }
  .TopMenu {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    line-height: 24px !important;     /* dokunma hedefleri birbirine girmesin */
  }

  /* ---- iki sutun -> tek sutun, sol panel icerigin ALTINA ---- */
  .twoColFixLtHdr #container {
    display: flex !important;
    flex-direction: column;
  }
  .twoColFixLtHdr #container > *        { order: 5; }
  .twoColFixLtHdr #container > #header  { order: 1; }
  .twoColFixLtHdr #container > #mainContent { order: 2; }
  .twoColFixLtHdr #container > #sidebar1    { order: 3; }
  .twoColFixLtHdr #container > #footer  { order: 9; }
  .twoColFixLtHdr #container > br.clearfloat { display: none; }

  .twoColFixLtHdr #sidebar1 {
    float: none !important;
    width: auto !important;
    padding: 16px 16px 20px !important;
    border-top: 1px solid #cfe3ee;
    font-size: 14px !important;       /* 12 px telefonda cok kucuk */
  }
  .twoColFixLtHdr #mainContent {
    margin: 0 !important;
    padding: 8px 14px !important;
  }

  /* OpenSub.css'teki sabit 960 px de gevsesin */
  .oneColFixCtrHdr #mainContent {
    width: auto !important;
    max-width: 100% !important;
    padding: 8px 14px !important;
  }

  /* ---- gorseller ve gomulu icerik tasmasin ---- */
  img, iframe, object, embed, video {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ---- tablolar ---- */
  table {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  #mainContent > table,
  #footer > table {
    width: 100% !important;
  }
  table td, table th {
    word-wrap: break-word;
  }
  /* cok sutunlu tablolar icin yatay kaydirma, sayfayi degil tabloyu kaydirir */
  #mainContent {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* ---- footer ve abonelik formu ---- */
  .oneColFixCtrHdr #footer,
  .twoColFixLtHdr #footer {
    padding: 10px 14px !important;
  }
  #mc_embed_signup .mc-field-group {
    width: 100% !important;
    float: none !important;
  }
  #mc_embed_signup input[type="text"],
  #mc_embed_signup input[type="email"],
  #mc_embed_signup select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important;       /* 16 px alti iOS'ta otomatik yakinlastirir */
    padding: 8px !important;
  }
  #mc_embed_signup .button,
  #mc_embed_signup input[type="submit"] {
    width: auto;
    min-height: 44px;                 /* parmakla basilabilir olcu */
    font-size: 16px !important;
    padding: 10px 20px !important;
  }

  /* ---- p7 menuler: tasma engeli ---- */
  .p7DMM01, .p7PMM, .p7pmm, .p7IRM01, .p7IRM02 {
    max-width: 100% !important;
  }

  /* ---- okunabilirlik ---- */
  p, .tabl-p, .table-p13 {
    line-height: 1.55;
  }
  .caption, .p10, .p12 {
    font-size: 13px !important;
    line-height: 1.5;
  }
  h1 { font-size: 21px !important; line-height: 1.25; }
  h2 { font-size: 17px !important; line-height: 1.3; }

  /* ---- baglantilar parmakla basilabilsin ---- */
  #sidebar1 a, .TopMenu a, #footer a {
    display: inline-block;
    padding: 3px 0;
  }
}

/* ============ TELEFON (600 px ve alti) ============ */
@media only screen and (max-width: 600px) {

  .twoColFixLtHdr #mainContent,
  .oneColFixCtrHdr #mainContent {
    padding: 8px 10px !important;
  }
  #header img {
    width: auto !important;           /* inline width="400" etkisiz kalsin */
    max-width: 78% !important;
  }
  p { font-size: 15px !important; }
  h1 { font-size: 19px !important; }
  h2 { font-size: 16px !important; }

  /* sabit genislikli ic tablolari tek sutuna indirme yerine
     kaydirilabilir birakiyoruz - icerik duzeni bozulmasin diye */
  #mainContent table {
    font-size: 13px !important;
  }
  .telif {
    padding: 14px 12px 20px !important;
  }
}

/* ===== TERVELLI-LOGO-BASLANGIC =================================
   Basligin sagina Tervelli logosu. Ayar icin asagidaki dort sayi:
   top / right  = logonun konumu,  min-height = bant yuksekligi,
   .TopMenu margin-top = bag1anti satirinin yuksekligi.
   ============================================================== */
#header {
  position: relative;
  min-height: 185px;
}
#header::after {
  content: "";
  display: block;
  position: absolute;
  top: 40px;
  right: 18px;
  width: 254px;
  height: 100px;
  background: url(DVIimg/tervelli-logo-seffaf-254.png) no-repeat center / 254px 100px;
}
.TopMenu {
  margin-top: 50px !important;
}

@media screen and (max-width: 900px) {
  #header { min-height: 0; }
  #header::after {
    position: static;
    margin: 14px auto 2px;
  }
  .TopMenu { margin-top: 10px !important; }
}
/* ===== TERVELLI-LOGO-BITIS ==================================== */

/* ===== TERVELLI-MASTHEAD-BASLANGIC =============================
   .masthead kullanan sayfalar (beyaz zemin, 300 px DFV logosu).
   Ayar: top / right = konum, min-height = bant yuksekligi.
   ============================================================== */
.masthead {
  position: relative;
  min-height: 96px;
}
.masthead::after {
  content: "";
  display: block;
  position: absolute;
  top: 8px;
  right: 0;
  width: 193px;
  height: 76px;
  background: url(DVIimg/tervelli-logo-seffaf.png) no-repeat center / 193px 76px;
}

@media only screen and (max-width: 900px) {
  .masthead { min-height: 0; }
  .masthead::after {
    position: static;
    margin: 10px auto 0;
  }
}
/* ===== TERVELLI-MASTHEAD-BITIS ================================ */
