html { height: 100%; }
body { padding: 0px; margin: 0px; height: 100%; background: #FFF4E6; }

form, div { border: 0px; padding: 0px; margin: 0px; }
table, td  { border: 0px; margin: 0px; }
table { padding: 0px; }
td, div { font-family: Georgia; font-size: 14px; color: #2b1600; line-height: 20px; }
img {  display: block; }
img.right { float: right; margin: 0px 0px 5px 10px; }
img.left { float: left; margin: 0px 10px 5px 0px; }

a { color: #2b1600; font-family: Georgia; font-size: 14px; text-decoration: underline; }
a:hover { text-decoration: none; }

a img { border: 0px; }
p { text-indent: 0px; margin: 0px 0px 10px 0px; }

h1, h1 a, h2, h2 a, h3, h3 a { font-family: Georgia; line-height: normal; color: #2b1600; font-weight: normal; padding: 0px 0px 5px 0px; }
h1, h1 a { font-size: 28px; margin: 0px 0px 5px 0px; }
h2, h2 a { font-size: 22px; margin: 0px 0px 3px 0px; }
h3, h3 a { font-size: 20px; margin: 0px 0px 3px 0px; }

ul li { list-style-type: disc; }
li { padding-bottom: 10px; }
form input, form textarea, form select { font-size: 12px; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; }
form input.text, form textarea.text { padding: 5px 2px 5px 2px; border-left: 1px solid #CCB488; border-top: 1px solid #CCB488; border-right: 1px solid #ffffff; border-bottom: 1px solid #ffffff; color: #2b1600; }
form input.chbox { border: 0px; background: none; }
table.nospacing { clear: both; border-collapse: collapse; border-spacing: 0px; }

.italic { font-style:italic;}

.out { width: 1200px; margin: auto; text-align: left; }

#bg { text-align: center; background: url(../images/bg_header_left.jpg) repeat-x 0% 0%; }
#page { height: auto !important; min-height: 100%; height: 100%; background: url(../images/head1.jpg) no-repeat 50% 0%;}
#header { background: url(../images/head2.jpg) no-repeat 50% 130px; height: 460px; }
#logo { padding: 5px; float: left; }
#logo img { width: 322px; height: 97px; }
#menu { padding-top: 40px; margin-left: 82px; float: left; }
#menu .l, #menu .r, #menu ul { float: left; height: 25px; }
#menu .l, #menu .r { width: 14px; }
#menu .l { background: url(../images/4.png) no-repeat; }
#menu .r { background: url(../images/5.png) no-repeat; }
#menu ul { margin: 0px; background: #FFF0C9; padding: 0px; }
#menu ul li { list-style-type: none; list-style-position: outside; margin: 0px; float: left; padding: 0px; }
#menu ul li div { float: left; }
#menu ul li .l, #menu ul li .l { height: 25px; }
#menu ul li .l, #menu ul li .l { width: 14px; }
#menu ul li.active .l { background: url(../images/1.png) no-repeat; }
#menu ul li.active .r { background: url(../images/2.png) no-repeat; }
#menu ul li.active .m { background: #CB2B00; }
#menu ul li .m { display: block; padding: 2px 0px 3px 0px; }

#menu ul li a { font-size: 14px; font-family: Tahoma; color: #621300; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
#menu ul li.active a { color: #ffffff; }
#phone { padding: 40px 5px 0px 0px; float: right; }
#buttons { clear: both; position: relative; }
#buttons div { position: absolute; }
#buttons #l1 { top: 195px; left: 60px; }
#buttons #l1 img { width: 235px; height: 33px; }
#buttons #l2 { top: 25px; left: 410px; }
#buttons #l2 img { width: 197px; height: 33px; }
#buttons #l3 { top: 48px; left: 825px; }
#buttons #l3 img { width: 235px; height: 33px; }

.block { padding-bottom: 15px; }

.block .item { padding-bottom: 6px; }
.block .name { padding-bottom: 4px; }
.block .name a { font-size: 18px; }
.block .date { font-size: 12px; font-style: italic; color: #7e7e7e; }
.block .desc { padding-bottom: 4px; }

#left { width: 400px; vertical-align: top; padding: 0px; }
#left .cc { padding: 0px 12px 0px 3px; }

#left h1, #left h1 a, #left h2, #left h2 a, #left h3, #left h3 a { color: #000000; }

#left .block .m { background: url(../images/left_block_bg5.jpg) repeat-y; border-bottom: 1px solid #FFF4E6; }
#left .block .t { background: url(../images/left_block_bg3.jpg) no-repeat 0% 0%; }
#left .block .b { background: url(../images/left_block_bg4.jpg) no-repeat 0% 100%; padding: 35px 15px 30px 20px; }
#left .block .name { text-align: center; padding-left: 45px; font-size: 22px; background: url(../images/button.png) no-repeat; color: #000; line-height: normal; }

#catalogue ul { margin: 0px; padding: 0px; }
#catalogue ul li { list-style-position: outside; list-style-type: none; padding: 2px 0px 2px 0px; margin: 0px; }
#catalogue ul li a { text-decoration: underline; }
#catalogue ul li a.active { color: #CE2B00; font-weight: bold; }
#catalogue ul.lev1 li { padding-left: 4px; }
#catalogue ul.lev1 li a { font-size: 16px; font-weight: bold; }
#catalogue ul.lev2 li { padding-left: 35px; }
#catalogue ul.lev2 li a { font-size: 14px; font-weight: normal; }

#form { padding: 15px; position: relative; background: url(/templates/images/letter.png) no-repeat 50px 0px; padding-top: 70px; margin-top: -40px; }
#form.block .name { text-align: left; }
#form form { padding-left: 40px; }
#form p { margin: 0px; font-size: 11px; }
#form td { padding: 0px; }
#form td, #form a { font-size: 11px; }
#form .input { padding-bottom: 8px; }
#form label i { font-size: 10px; }
.load { padding: 100px 0px; text-align: center; }

#main { width: 800px; vertical-align: top; padding: 0px; }
#main .cc { padding: 0px 0px 0px 20px; }

#gallery .m { background: url(../images/gal_bg5.jpg) repeat-y; border-bottom: 1px solid #FFF4E6; }
#gallery .t { background: url(../images/gal_bg3.jpg) no-repeat 0% 0%; }
#gallery .b { background: url(../images/gal_bg4.jpg) no-repeat 0% 100%; padding: 25px 35px; }

#gallery .header { height: 255px; background: url(../images/bg-port.jpg) no-repeat 50% 0%; position: relative; }
#gallery .header .list { position: absolute; width: 256px; height: 222px; background: url(../images/list.png) no-repeat 0% 0%; top: 0px; left: 640px; }
#gallery .header .list .cc { padding: 35px 30px 0px 35px; }
#gallery .header .list h2 { font-size: 20px; }
#gallery .header .list ul { margin: 0px; padding: 0px; }
#gallery .header .list ul li { list-style-type: none; list-style-position: outside; margin: 0px; padding: 2px 0px; }
#gallery .header .list ul li a { font-style: italic; }

#images table td { padding: 0px 30px 40px 0px; }
#images table td.i { background: url(../images/shadow.jpg) no-repeat 90% 90%; }
#images table td .item { background: #FBE8C7; padding: 0px 15px 0px 10px; border: 1px solid #F3D29E; height: 230px; }
#images table td .item .image { width: 300px; padding: 10px 0px 2px 0px; }
#images table td .item .name { float: left; clear: left; }
#images table td .item .name a { font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #CE2B00; text-decoration: none; font-weight: bold; }
#images table td .item .desc { float: left; clear: left; font-size: 11px; font-family: Arial, Helvetica, sans-serif; width: 180px; overflow: hidden; white-space: nowrap; }
#images table td .item .catname { float: right; padding-left: 12px; background: url(../images/point.png) no-repeat 0% 50%; }
#images table td .item .catname a { font-size: 11px; font-family: Arial, Helvetica, sans-serif; text-decoration: none; }

#scroller { clear: both; }
#scroller #rbut { float: right; padding: 50px 10px 0px 0px; }
#scroller #lbut { float: left; padding: 50px 0px 0px 10px; }
#scroller #frame { height: 285px; width: 563px; overflow: hidden; margin: 0px 100px; }
#scroller #frame .item { padding: 10px; background: #E9D1A3; }
#scroller #frame .item .name { text-align: center; padding: 2px 0px; background: url(../images/light.jpg) no-repeat 50% 50%; font-weight: bold; font-size: 16px; }

#path { padding-bottom: 10px; }
#path a { font-size: 11px; }

#navi { clear: both; padding: 20px 0px 20px 0px; }
#navi .l { float: left; }
#navi .l span { padding-top: 5px; display: block; float: left; }
#navi .l img { float: left; padding: 0px 10px 0px 0px; }
#navi .c { margin: 0px 220px 0px 220px; text-align: center; }
#navi .r { float: right; }
#navi .r img { float: right; padding: 0px 0px 0px 10px; }
#navi .r span { padding-top: 5px; display: block; float: right; }



#counter { padding: 20px 0px; text-align: center; }
#counter ul { margin: 0px; padding: 0px; display: inline; }
#counter ul li { margin: 0px 10px 0px 10px; list-style-position: outside; list-style-type: none; display: inline; font-family: Times New Roman; }
#counter ul li a { font-size: 14px; font-weight: bold; text-decoration: none; font-family: Times New Roman; }
#counter ul li.active { color: #F7B751; font-weight: bold; font-size: 18px; }

#spacer { height: 115px; }
#bottom { line-height: normal; height: 90px; margin-top: -90px; background: url(../images/line.jpg) repeat-x 0% 0%; }
#bottom div { font-size: 12px;  }
#bottom div a { font-size: 12px; }
#bottom p { margin: 0px; }
#create { float: right; padding-top: 15px; }
#create img { float: left; }
#create .slab { padding: 8px 10px 0px 0px; float: left; }

#counters { float: left; padding-top: 15px; }
#counters .live { float: left; }
#counters .phone { float: left; padding: 4px 0px 1px 10px; font-size: 20px; }
#counters .addr { clear: both; }
#counters .addr p { margin: 0px; }

#bmenu { margin: 0px 220px 0px 305px; }
#bmenu ul { margin: 0px; padding: 40px 0px 0px 0px; text-align: center; }
#bmenu ul li { display: inline; }
#bmenu ul li a { margin: 0px 6px 0px 6px; font-size: 11px; }


.clear { clear: both; font-size: 1px; }
.big { font-size: 20px; line-height: normal; }
.small { font-size: 11px; }
.red { color: #b90006; }
hr { color: #666; height: 1px; }

.line { margin: 3px 0px 5px 0px; height: 6px; background: url(../images/texture1.jpg) repeat; font-size: 1px; }
.wbg { background: #FFEAC5; width: 780px; }
.wbg .t { background: url(../images/t1.jpg) no-repeat 0% 0%; }
.wbg .b { background: url(../images/t2.jpg) no-repeat 0% 100%; padding: 20px 20px 14px 20px; }
.wbg h1, .wbg h2, .wbg h3 { color: #b90006; font-style: italic; }

.filltab { width: 100%; }
.filltab td { padding: 4px;  }
.filltab td.label { font-weight: bold; }
.filltab tr:nth-child(2n) td { background: #FFEAC5; }
.filltab tr:nth-child(2n+1) td { background: #fdefd7; }

.error { color: Red; }
.warning { color: Blue; }
.success { color: Green; }

a.lk { font-family: tahoma; font-size: 20px; text-decoration: none; color: #2b1600; }

/*   ---------------------------------------   */

#icon { text-align: center; clear: both; }
#icon .item { margin: auto; background: url(/templates/images/tetka.jpg) no-repeat top left; width: 406px; padding: 10px 0px 30px 0px; }
#icon .item .name { font-size: 22px; padding: 13px 0px 12px 110px; }
#icon .item .image { text-align: right; }



/*manxome styles for promo pages*/
.item-x {padding:25px 180px 40px 10px; text-align:justify; border-bottom:#e9aa82 dashed 1px;}
.item-x a {float:right; color:#d75d10; font-style:italic;}
.item-x p {color:#232323;}
.item-x h2 {color:#d75d10; font-size:24px; font-style:italic; background:none!important; font-weight:400;}
.item-x img {float:left; padding:5px 15px 10px 5px;}
.cs_text img {float:left;}
.cs_text_thin img {float:left;}
/*ID`s*/
#approach {background:url(/templates/images/itms/1.png) no-repeat 97% 30px;}
#evolution {background:url(/templates/images/itms/2.png) no-repeat 97% 35px;}
#advertisement {background:url(/templates/images/itms/3.png) no-repeat 97% 35px;}
#guarantee {background:url(/templates/images/itms/4.png) no-repeat 97% 35px;}
#alteration {background:url(/templates/images/itms/5.png) no-repeat 97% 35px;}
#auditing {background:url(/templates/images/itms/6.png) no-repeat 97% 35px;}
#limitation {background:url(/templates/images/itms/7.png) no-repeat 97% 35px;}
#bonuses {background:url(/templates/images/itms/8.png) no-repeat 97% 35px;}

.level-links { height:220px; margin-bottom:20px;}
.level-links a { text-align:center; margin-right:32px; line-height:24px; padding:138px 0 0 0; display:block; float:left; width:237px; height:67px; color:#fff; font-family:Georgia; font-weight:bold; font-size:18px;}
.level-links .first-link { background:url(../images/link-one-icon.png) no-repeat left top; }
.level-links .two-link { background:url(../images/link-two-icon.png) no-repeat left top; }
.level-links .three-link { background:url(../images/link-three-icon.png) no-repeat left top; margin-right:0; }

.center-header { background:url(../images/portfolio-header-background.png) no-repeat left top; padding-bottom:30px; margin-bottom:5px;}
.bottom-header { padding:30px 0 0 0;}
.center-header h2 { font-size:24px; font-style:italic; font-family:Georgia; color:#d75d10; text-align:center; padding:10px;}

#images.upg { margin-left:46px;}

.cc-block {
    padding: 15px 100px 15px 30px;
    background-color: #fff;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    display: none;
}
.cc-block .out {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}
.cc-block .out div {
    flex-grow: 1;
    padding: 0 25px;
}
.cc-block.is--opened {
    display: block;
}
.i-close {
    width: 24px;
    height: 24px;
    display: block;
    position: relative;
    cursor: pointer;
    transform: rotate(45deg);
}
.i-close::before, .i-close::after {
    display: block;
    position: absolute;
    content: "";
    background-color: #948A7F;
    width: 2px;
    height: 2px;
}
.i-close::before {
    left: calc(50% - 1px);
    top: 0;
    height: 100%;
}
.i-close::after {
    top: calc(50% - 1px);
    left: 0;
    width: 100%;
}
.btn {
    padding: 0 25px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    line-height: 40px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    text-align: center;
    color: #FFFFFF;
    background-color: #CB2B00;
    border-radius: 4px;
}