﻿body {
    margin: 0;
    padding: 0;
    background-color: #F0EFDE;
    font-family: Georgia, Verdana;
    color: #33353A;
    text-align: center;
}

h1 {
    font-size: 26px;
    font-weight: normal;
    line-height: 110%;
    padding: 7px 0 3px 0;
    margin: 0 0 0 -2px;
    max-width: 508px;
    width: 100%;
}

h2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 120%;
    padding: 15px 0 0px 0;
    margin: 0;
}

h3 {
    font-size: 13px;
    font-weight: bold;
    line-height: 100%;
    padding: 5px 0 0 0;
    margin: 0;
}

p {
    font-family: Arial, Verdana;
    font-size: 13px;
    font-weight: normal;
    line-height: 140%;
    margin: 10px 0 5px 0;
    width: 95%;
    max-width: 508px;
}

a {
    color: #D66806;
    text-decoration: underline;
}

a:hover{
    text-decoration: none;
}

.foto_block {
    margin: 15px 26px 15px 0;
    float: left;
}

.foto_holder {
    padding-bottom: 2px;
}

.link {
    font-size: 15px;
    font-weight: bold;
}

.link:hover {
    text-decoration: none;
}

#main_container {
    height: calc(100% - 42px);
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
}

* html .content_block  { /* хак для ie6 */
    height: 100%; /* для ие6, т.к. не понимает min-height */
}

.content_block {
    max-width: 860px; /* ширина основного блока */
    margin: 0 auto; /* задаем отступ слева и справа auto чтобы сработало выравнивание по центру */
    display: flex;
    width: 100%;
}

html {
    padding-bottom: 50px;
}

.footer-line {
    background: #33353A;
    height: 9px;
    margin-top: 5px;
    display: block;
}

.hfooter {
    height: 17px;
    clear: both;
}

.left_column {
    width: 300px;
    position: relative;
}

#left_top {
    width: 300px;
    height: 247px;
    background: url(https://www.tlaelektro.lv/theme/tla/images/banner_top.jpg) top left no-repeat;
}

#left_1{
    width: 300px;
    min-height: 232px;
    _height: 232px;
    background: url(https://www.tlaelektro.lv/theme/tla/images/banner_fon.jpg) top left repeat-y;
}

#left_mid {
    width: 300px;
    height: 54px;
    background: url(https://www.tlaelektro.lv/theme/tla/images/banner_mid.jpg) top left no-repeat;
}

#left_2{
    width: 300px;
    min-height: 47px;
    _height: 47px;
    background: url(https://www.tlaelektro.lv/theme/tla/images/banner_fon2.jpg) top left repeat-y;
    margin: 0;
    padding: 0;
    text-align: center;
}

#left_bot {
    width: 300px;
    height: 30px;
    background: url(https://www.tlaelektro.lv/theme/tla/images/banner_bot.jpg) top left no-repeat;
}

.lang_block {
    font-size: 11px;
    color: #D66806;
}

.lang_block A {
    font-size: 11px;
    color: #F0EFDC;
}

.menu_main {
    margin: 0;
    padding: 8px 40px 0 13px;
    text-align: right;
    font-size: 12px;
    font-weight: bold;
}

.menu_main UL {
	list-style-type: none;
	margin-bottom: 0px;
}

.menu_main UL LI {
  padding: 0px 17px 0 0px;
  height: 21px;
  margin: 0;
  color: #33353A;
}
.menu_main A {
  color: #33353A;
}

.menu_main UL LI.active, .menu_main UL LI.current {
  color: #D66806;
  background: url(https://www.tlaelektro.lv/theme/tla/images/arr_r.gif) top right no-repeat;
}

.menu_active {
  padding: 0px 17px 0 0px;
  margin: 0;
  height: 21px;
  color: #D66806;
  background: url(https://www.tlaelektro.lv/theme/tla/images/arr_r.gif) top right no-repeat;
}
.menu_active_2 {
  padding: 0px 17px 0 0px;
  margin: 0;
  height: 21px;
  color: #33353A;
}

.menu {
  padding: 0px 17px 0 0px;
  height: 21px;
  margin: 0;
}

.menu_main A {
 color: #33353A;
}

.submenu {
  padding: 0px 17px 0 0px;
  height: 17px;
  margin: 0;
  font-size: 11px;
}
.submenu_active {
  padding: 0px 17px 0 0px;
  margin: 0;
  font-size: 11px;
  height: 17px;
  color: #D66806;
  background: url(https://www.tlaelektro.lv/theme/tla/images/arr_r.gif) top right no-repeat;
}

.submenu  A {
 color: #33353A;
 font-weight: normal;
}

.address {
    margin: 0 auto;
    padding: 0;
    width: 227px;
    font-size: 10px;
    font-family: Verdana, Georgia;
    line-height: 135%;
    text-align: center;
}

.main {
    margin-left: 2.8%;
    text-align: left;
    width: calc(100% - 300px - 2.8%);
}

#logo {
    margin: 137px 0 0 -3px;
}

.content {
    margin: 42px 0 65px 2px;
}

.clearing { clear: both; }

.gallery {
    margin: 13px 0 10px 0;
}

.gallery_item {
     width: 130px;
     float: left;
     margin: 0 20px 15px 0;
     height: 99px;
     z-index: 2;
}

.foto_thumb {  position: relative; }

.foto_thumb  IMG {
     width: 130px;
     height: 99px;
     border: 2px solid #D66806;
}

.frame_tl {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -103px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_tl.gif) top left no-repeat;
     z-index: 50;
}
.frame_tr {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -103px;
     margin-left: 130px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_tr.gif) top left no-repeat;
     z-index: 51;
}

.frame_bl {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -4px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_bl.gif) top left no-repeat;
     z-index: 52;
}

.frame_br {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -4px;
     margin-left: 130px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_br.gif) top left no-repeat;
     z-index: 52;
}

.gallery2_item {
     width: 320px;
     margin: 12px 20px 15px 0;
     z-index: 2;
}

.foto2_thumb {  position: relative; }

.foto2_thumb  IMG {
     width: 320px;
     border: 2px solid #D66806;
}

.frame2_tl {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -227px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_tl.gif) top left no-repeat;
     z-index: 50;
}

.frame2_tr {
    width: 4px;
    height: 4px;
    position: absolute;
    margin-top: -227px;
    margin-left: 320px;
    background: url(https://www.tlaelektro.lv/theme/tla/images/fr_tr.gif) top left no-repeat;
    z-index: 51;
}

.frame2_bl {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -4px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_bl.gif) top left no-repeat;
     z-index: 52;
}

.frame2_br {
     width: 4px;
     height: 4px;
     position: absolute;
     margin-top: -4px;
     margin-left: 320px;
     background: url(https://www.tlaelektro.lv/theme/tla/images/fr_br.gif) top left no-repeat;
     z-index: 52;
}

.header {
    height: 64px;
    padding-left: 18px;
    padding-right: 18px;
    background-color: #232529;
    border-bottom: 4px solid #ed862b;
    position: fixed;
    top: 0;
    bottom: 0;
    width: calc(100% - (18px * 2));
    display: none;
}

.header-logo {
    height: 47px;
}

#burger-trigger {
    cursor: pointer;
}

.mobile-menu {
    list-style: none;
    background-color: #232529;
    margin: 0;
    padding: 15px 15px 15px 25px;
    width: fit-content;
    position: fixed;
    text-align: right;
    top: calc(64px - 17px);
    right: 18px;
    border-bottom: 4px solid #ed862b;
    font-family: arial, Verdana;
    z-index: 10100;
    display: none;
}

.language[data-number="first"] {
    margin-top: 35px;
}

.mobile-menu-item, .mobile-menu LI {
    margin-top: 10px;
}

.mobile-menu-item > a, .mobile-menu LI > a {
    color: #f0efdd;
    text-decoration: none;
}

.mobile-menu-item__active > a, .mobile-menu LI.active, .mobile-menu LI.current {
    color: #ed862b;
}

.mobile-footer {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-left: 20px;
    padding-right: 15%;
	padding-bottom: 2px;
}

.footer {
    display: none;
    width: 100%;
    position: fixed;
    background-color: #F0EFDE;
    bottom: 0;
    z-index: 10100;
    left: 0;
}

.left-block--middle {
    width: 271px;
    min-height: 232px;
    background: #f0efde;
    border: 1px solid #c1c1b3;
    border-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.left-block--bottom {
    margin-left: 11px;
    width: 271px;
    min-height: 76px;
    background: #f0efde;
    border: 1px solid #c1c1b3;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-box-shadow: -7px 7px 10px 0 rgba(0,0,0,0.23);
    -moz-box-shadow: -7px 7px 10px 0 rgba(0,0,0,0.23);
    box-shadow: -7px 7px 10px 0 rgba(0,0,0,0.23);
}

#main_container_wrapper {
    background: url(https://www.tlaelektro.lv/theme/tla/images/fon_top.jpg) top center repeat-x;
}

.connector {
    width: 244px;
    height: 22px;
    border-right: 1.5px solid #33353A;
    border-left: 1.5px solid #33353A;
    margin-left: 28px;
    margin-right: 22px;
}

.ropes {
    display: flex;
    align-items: center;
    justify-content:  space-between;
    padding-left: 35px;
    padding-right: 20px;
}

.ropes img {
    z-index: 98;
    margin-bottom: -15px;
}

.top-banner-img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.ropes--bottom img {
    margin-bottom: -15px;
    margin-top: -15px;
}

.left-block_main {
    margin-left: 9px;
    width: 271px;
    -webkit-box-shadow: -7px 7px 10px 0 rgba(0,0,0,0.23);
    -moz-box-shadow: -7px 7px 10px 0 rgba(0,0,0,0.23);
    box-shadow: -7px 7px 10px 0 rgba(0,0,0,0.23);
    border-bottom-left-radius: 10px;
}

.bronza {
	width: 100%; 
	max-width: 420px; 
	margin: 20px 0 20px 0;	
}

@media (max-width: 767px) {
    #main_container_wrapper {
        background: none;
    }

    .left_column {
        display: none;
    }

    #logo {
        display: none;
    }

    .main {
        width: calc(100% - 18px);
        margin-left: 18px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10000;
    }

    .address {
        text-align: left;
        margin-left: 0;
        width: 100%;
		font-size: 12px;
    }

    .footer {
        display: block;
    }

    .content_block {
        width: 100%;
        display: block;
    }
	p { font-size: 16px; }

	.bronza {
	margin: 54px 0 20px 0;	
}
}

@media (max-width: 435px) {
    .mobile-footer {
        padding-left: ;
        padding-right: 3%;
        width: 97%;
    }
}

.a-btn {
display: inline-block; 
border: 1px solid #D66806; 
border-radius: 5px; 
line-height: 34px; 
padding: 7px 20px;
transition: 0.3s;
text-decoration: none;
}
.a-btn:hover {
  background-color: #D66806;
  color: white;
}
