/* Bahama Italia | style_stili.css | cleaned typography and square images */
@import url('https://www.bahamaitalia.it/Style/reset.css');

 
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
.zagolovok {
                font-family: var(--bh-font);
                font-weight: 700;
                font-size: 26px;
                padding: 2px;
				line-height:28px;
            }
.zagolovokMini {
                font-family: var(--bh-font);
                font-weight: 700;
                font-size: 20px;
                padding: 2px;
				line-height:22px;
            }
.zagolovokMidi {
                font-family: var(--bh-font);
                font-weight: 700;
                font-size: 28px;
                padding: 2px;
				line-height:29px;
            }
.tekst_18px {
                font-size: 18px;
                padding: 2px;
				line-height:21px;
            }
.tekst_16px {
                font-size: 16px;
                padding: 2px;
				line-height:19px;
            }
.tekst_14px {
                font-size: 14px;
                padding: 2px;
				line-height:17px;
            }
.zagolovokBlog {
                font-family: var(--bh-font);
                font-size: 34px;
                padding: 2px;
				line-height:35px;
            }
.spisok {
                font-family: var(--bh-font);
                font-size: 20px;
                padding: 2px;
            }
.spisok1 {
                font-family: var(--bh-font);
                font-size: 18px;
                padding: 2px;
            }
.spisok2 {
                font-family: var(--bh-font);
                font-size: 20px;
                padding: 2px;
            }
.spisok3 {
                font-family: var(--bh-font);
                font-size: 16px;
                padding: 2px;
            }
html {  overflow-y: scroll; 
	background:#fff;
	color:#646464;
	line-height:1.4;
	font-size:16px;
    font-family: var(--bh-font); 
	font-weight: normal;
	width:100%; }

a { color: #000000; text-decoration:none }
a:hover { color: #C3142E; text-decoration:none }
a:focus { text-decoration:none }
a:hover, a:active {  text-decoration:none }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }

img { border: 0; border-radius: 0 !important; -ms-interpolation-mode: bicubic; vertical-align: middle; }

label { cursor: pointer; }
button, input, select, textarea { font-family: var(--bh-font); vertical-align: baseline; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }

textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }

/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

.testa {
	height:11em;
	display:block;
	background-color:#fff;
	width:100%;
	top:0px;
	position:relative;
}

.logo {
	top:0px;
	position:absolute;
	left:50%;
	margin-left:-37em;

}


   #layerbg1 {
    z-index: 1; /* Порядок слоев */
    width: 100%; /* Ширина слоя с фоном */
    height: 100%; /* Высота слоя с фоном */
    position: absolute; /* Абсолютное позиционирование */
    left: 0; /* Положение от левого края окна */
    top: 0; /* Положение от верхнего края */
	min-width:350px;
   }
   #layerbg2 {
    position: absolute; /* Абсолютное позиционирование */
    z-index: 2; /* Порядок слоев */
	min-width:350px;
}
   #layerbg3 {
    position:relative;
    width: 100%; /* Ширина слоя с фоном */
    height: 500px; /* Высота слоя с фоном */
	overflow:hidden;

   }
    .fotki {
    z-index: 10; /* Порядок слоев */
    width: 100%; /* Ширина слоя с фоном */
    height: 100%; /* Высота слоя с фоном */
	float: left;
	left:0px;
	top:0px;


   }
.aBlu:link {
	COLOR: #C3142E; TEXT-DECORATION: none
}
.aBlu:visited {
	COLOR: #C3142E; TEXT-DECORATION: none
}
.aBlu:active {
	COLOR: #C3142E; TEXT-DECORATION: none
}
.aBlu:hover {
	COLOR:#666666; TEXT-DECORATION: none
}


.aGrey:link {
	COLOR: #353535;
	TEXT-DECORATION: solid underline
}

.aGrey:visited {
	COLOR: #353535;
	TEXT-DECORATION: solid underline
}

.aGrey:active {
	COLOR: #353535;
	TEXT-DECORATION: solid underline
}

.aGrey:hover {
	COLOR: #E4001B;
	TEXT-DECORATION: none
}


.b_links:link {
	COLOR: #333333; TEXT-DECORATION: none
}
.b_links:visited {
	COLOR: #333333; TEXT-DECORATION: none
}
.b_links:active {
	COLOR: #333333; TEXT-DECORATION: none
}
.b_links:hover {
	COLOR:#2AA2CC; TEXT-DECORATION: none
}

.nero_links:link {
	COLOR: #fff; TEXT-DECORATION: none
}
.nero_links:visited {
	COLOR: #fff; TEXT-DECORATION: none
}
.nero_links:active {
	COLOR: #fff; TEXT-DECORATION: none
}
.nero_links:hover {
	COLOR: #E7F9FE; TEXT-DECORATION: none
}

.top_links:link {
	COLOR: #232323; TEXT-DECORATION: none
}
.top_links:visited {
	COLOR: #232323; TEXT-DECORATION: none
}
.top_links:active {
	COLOR: #232323; TEXT-DECORATION: none
}
.top_links:hover {
	COLOR: #0885B1; TEXT-DECORATION: none
}

.sel_links:link {
	COLOR: #E4001B; TEXT-DECORATION: none
}
.sel_links:visited {
	COLOR: #E4001B; TEXT-DECORATION: none
}
.sel_links:active {
	COLOR: #E4001B; TEXT-DECORATION: none
}
.sel_links:hover {
	COLOR: #E4001B; TEXT-DECORATION: none
}


.knopka {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 1px; COLOR: #fff; PADDING-TOP: 1px; background:#C3142E; TEXT-DECORATION: none
}

.knopka:hover {
	 COLOR: #000000; background: #CCCCCC ;
}

.knopkaGr {
	padding: 4px; COLOR: #2D2D2D; background: #DFDFDF; TEXT-DECORATION: none
}

.knopkaGr:hover {
	 COLOR: #fff; background: #C3142E;
}


.knopkaSubMenu {
	border-bottom: solid 2px #999999;
}

.knopkaSubMenu :hover {
	 border-bottom: solid 2px #C3142E; color: #C3142E;
}
.knopkaSubMenu_Sel  {
	border-bottom: solid 2px #C3142E; color: #C3142E;
}

	.menu_kn_s {
	color:#000000; font-weight:bold; font-size:24px; font-family: var(--bh-font); background-color: #F5F5F5;
}

     .menu_kn_s:hover {
	 color: #E4001B;
}

.strelka_right { background:url(https://www.bahamaitalia.it/images/strelki.png) no-repeat 0px 0px; width:18; height:34; padding-left:7px; padding-right:7px; text-indent:-9999px;
 TEXT-DECORATION: none
}

.strelka_right:hover {
	 background-position:-18px 0px;
}

.strelka_left { background:url(https://www.bahamaitalia.it/images/strelki.png) no-repeat 0px -34px; width:18; height:34; padding-left:7px; padding-right:7px; text-indent:-9999px;
 TEXT-DECORATION: none
}

.strelka_left:hover {
	 background-position:-18px -34px;
}
.img_padding { padding: 3px; }
#container {
  width: 98%;
  margin: 0 auto;
  padding: 0px;

  height:100%; /* real browsers */

  min-width:350px;
  text-align:left;

}

.left {
	width:12em;
	margin-right:1.8em;
	float:left;
}

#main {
	width:60em;
	float:left;
	position:relative;
	margin-left:0;
}

.footer{
            background:#36F;
            height:25px; /* высота футера */
            margin-top:-25px; /* отрицательный маргин, равный высоте футера */
			position:relative;

			bottom:0px;
			clear:both;
        }

.topline {
	height:3em;
	overflow:hidden;
}

/* Editorial layout: existing PHP selectors retained for compatibility. */
:root {
  --bh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bh-ink: #19232b;
  --bh-body: #3d4750;
  --bh-muted: #778087;
  --bh-line: #e6e7e4;
  --bh-paper: #ffffff;
  --bh-warm: #f7f7f4;
  --bh-red: #b71f35;
  --bh-red-dark: #92182b;
  --bh-width: 1200px;
}
html, body {
  background: var(--bh-paper);
  color: var(--bh-body);
  font-family: var(--bh-font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body { font-size: 16px; }
a { color: var(--bh-ink); transition: color .18s ease, background-color .18s ease; }
a:hover, a:focus-visible { color: var(--bh-red); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--bh-red);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; }
/* Existing header, without any PHP changes */
.overlay, .overlay_disp {
  background: rgba(255,255,255,.985) !important;
  opacity: 1 !important;
  border-bottom: 1px solid var(--bh-line);
  box-shadow: 0 5px 20px rgba(20, 30, 38, .055);
}
.overlay > div > table,
.overlay_disp > div > table {
  max-width: var(--bh-width);
  margin-right: auto;
  margin-left: auto;
}
.overlay a, .overlay_disp a { color: var(--bh-ink); }
.overlay a:hover, .overlay_disp a:hover { color: var(--bh-red); }
.overlay img[src$="/images/logo.png"], .overlay_disp img[src$="/images/logo.png"] {
  max-width: 198px;
  height: auto;
}
#menu_kn.menu_kn_s {
  height: 46px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-image: none !important;
  background-color: var(--bh-ink) !important;
  color: #fff !important;
  text-align: left;
  font-family: var(--bh-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .065em;
  cursor: pointer;
}
#menu_kn.menu_kn_s:hover { background-color: var(--bh-red) !important; }
#main_menu {
  background: #fff !important;
  padding: 16px 22px 22px;
  border-bottom: 3px solid var(--bh-red);
  box-shadow: 0 12px 22px rgba(25, 35, 43, .11);
}
#main_menu a { font-size: 15px; font-weight: 600; line-height: 2.1; }
#main_menu img[src$="/images/line.png"] { opacity: .17; }
.knopka, input.knopka, a.knopka {
  background: var(--bh-red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 3px !important;
  letter-spacing: .015em;
  transition: background-color .2s ease, transform .2s ease;
}
.knopka:hover, input.knopka:hover, a.knopka:hover {
  background: var(--bh-red-dark) !important;
  color: #fff !important;
}
/* Main blog wrapper, currently a 90%-wide legacy table */
body > table[width="100%"] > tbody > tr > td[align="center"] > table[width="90%"] {
  max-width: var(--bh-width);
  width: calc(100% - 64px) !important;
  margin-right: auto;
  margin-left: auto;
}
.zagolovokBlog {
  font-family: var(--bh-font);
  font-size: clamp(30px, 3vw, 44px) !important;
  font-weight: 500 !important;
  letter-spacing: -.025em;
  line-height: 1.15 !important;
  color: var(--bh-ink);
}
/* Article body: this selector matches pages/blogde.php exactly.
   Its div has inline width:95%, and its parent td has BOTH borders. */
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] {
  box-sizing: border-box;
  width: min(100% - 40px, 900px) !important;
  max-width: 900px !important;
  margin: 42px auto 56px !important;
  text-align: left;
  color: var(--bh-body);
}
td[style*="border-bottom:solid"][style*="border-top:solid"] {
  border-top: 0 !important;
  border-bottom: 0 !important;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] > font {
  font-family: var(--bh-font) !important;
  font-size: 18px !important;
  line-height: 1.78 !important;
  color: var(--bh-body) !important;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] p {
  font-family: var(--bh-font) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
  margin: 0 0 22px !important;
  color: var(--bh-body);
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] h1,
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] h2,
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] h3 {
  font-family: var(--bh-font);
  color: var(--bh-ink);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.24;
  padding: 0;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] h2 {
  font-size: clamp(25px, 2.5vw, 32px) !important;
  margin: 50px 0 18px !important;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] h3 {
  font-size: 24px !important;
  margin: 30px 0 14px !important;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] ul,
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] ol {
  list-style: disc outside !important;
  padding-left: 27px !important;
  margin: 16px 0 30px !important;
  line-height: 1.75;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] ol { list-style-type: decimal !important; }
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] li {
  display: list-item !important;
  padding-left: 7px !important;
  margin: 0 0 10px !important;
  font-size: 18px;
  line-height: 1.65;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] li::marker { color: var(--bh-red); }
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] strong {
  font-weight: 700;
  color: var(--bh-ink);
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] img {
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  max-width: 100% !important;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] p > em {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: var(--bh-muted);
  font-style: normal;
}
td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] a:not(.knopka) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
/* Light polish for the existing main homepage slideshow */
#slider-wrap { background: var(--bh-warm); }
#slider img { max-width: 100%; height: auto; }
@media (max-width: 850px) {
  .overlay, .overlay_disp { box-shadow: none; }
  .overlay > div > table, .overlay_disp > div > table { width: 100% !important; }
  .overlay img[src$="/images/logo.png"], .overlay_disp img[src$="/images/logo.png"] { max-width: 168px; }
  body > table[width="100%"] > tbody > tr > td[align="center"] > table[width="90%"] {
    width: calc(100% - 24px) !important;
  }
  td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] {
    width: calc(100% - 28px) !important;
    margin: 24px auto 36px !important;
  }
  td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] > font,
  td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] p,
  td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] li {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  td[style*="border-bottom:solid"][style*="border-top:solid"] > div[align="left"] h2 {
    font-size: 25px !important;
    margin-top: 36px !important;
  }
  .zagolovokBlog { font-size: 29px !important; }
  #main_menu { padding: 15px 12px; }
}
