/* Utilites
------------------------------ */

* { margin: 0; padding: 0; }

*:focus { outline: none; }
.hidden { display: none; }
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, img { border: none!important; }

.container { overflow: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }

/* Main custom rules
------------------------------ */

html { background: #fff; font: .70em/1.5 Verdana, Arial, Helvetica, sans-serif; }
body { padding: 0px; }

a { color: #0E7AA7; }
a:visited {  }
a:hover {  }
a:active {  }

/* Demo Template
------------------------------ */

#site { position:relative;width: 1000px; margin: 0 auto; padding:0px; background: #fff; border: 0px solid #ccc; }
#header { border: 0px solid green; width:100%; height:143px;}
#col-left { float: left; width: 25%; }
#content { width: 100%;}
#footer { clear: both;  position:relative; background: #E0F4FD; height:73px; border: 0px solid #ccc;padding-top:30px;margin-top:10px; }
#footer_left_col{float:left;width:40%;}
#footer_right_col{float:right;width:60%;padding-top:15px;}


#left_col {width:240px;float:left;overflow:hidden;border:0px solid olive;}
#center_col {width:545px;padding:0 15px 0 0;float:left;overflow:hidden;border:0px solid olive;font-size: 13px}
#right_col {width:200px;float:left;overflow:hidden;border:0px solid olive;}

#left_col_in_2_cols {width:240px;float:left;overflow:hidden;border:0px solid olive;}
#center_col_in_2_cols {width:760px;padding:0;float:left;overflow:hidden;border:0px solid olive;font-size: 13px}
#right_col_in_2_cols {width:0px;float:left;overflow:hidden;border:0px solid olive;}

#block-menu-124 {float:left;}
#block-menu-124 ul.menu{margin-left:80px;}
#block-menu-124 li{list-style:none;list-style-image:none;}

#block-menu-137 {float:left;}
#block-menu-137 ul.menu{margin-left:0;}
#block-menu-137 li{list-style:none;list-style-image:none;}


#devan {background: #fff url(images/devan.jpg) left top no-repeat;width:240px;height:123px;border:0px solid blue;}

#contact_block {background: #fff url(images/contacts.jpg) left top no-repeat;width:200px;height:100px;border:0px solid blue;margin-bottom:20px;}
#contact_text {color:#fff; text-decoration:none;padding-left:17px;padding-top:10px; font:1.2em/2.0 Verdana, Arial, Helvetica, sans-serif;}
#contact_text a {color:#fff;}
#for_repairing_flat_block_text {padding-left:18px; padding-top:2px; }
#for_repairing_flat_block_text a{color:#fff; font: 1em/2.0 Verdana, Arial, Helvetica, sans-serif;}
#obyava {background: #fff url(images/obyava.jpg) left top no-repeat;width:200px;height:281px;border:0px solid blue;}
#obyava_repairing_flat_block{background: #E1F3FD url(images/obyava.jpg) left bottom no-repeat;width:200px;height:310px;border:0px solid blue;}
#obyava_body {color:#fff; padding-left:10px; padding-top:10px;font: 1.0em/2.1 Verdana, Arial, Helvetica, sans-serif;}
#obyava_title {color:#4C5D65;font-weight:bold;}
#obyava_text {color:#4C5D65;font: 1.0em/1.3 Verdana, Arial, Helvetica, sans-serif;}

#logo {display:block;position:absolute;background: #fff url(images/logo.jpg) left top no-repeat;width:267px; height:100px;left:25px;top:15px;}
#ruletka {position:absolute;background: #fff;width:234px; height:117px;left:314px;top:32px;}

#phones_new_up_path{position:absolute;width:234px;height:38px;left:746px;top:15px;padding-left:14px;overflow:hidden;border:0px solid red;}
#phones_new_down_path {position:absolute;background: #fff url(images/tele_logo.jpg) 0px 0 no-repeat;width:200px;height:74px;left:726px;top:15px;padding-top:0px;padding-left:118px; padding-top: 25px;overflow:hidden;border:0px solid red;}
#phones_new_down_path a{font: 1em/2.1 Verdana, Arial, Helvetica, sans-serif;}
#phone_code{font: bold 32px arial,verdana sans-serif;color:#4C5D65;}
#phone_text{font: bold 24px arial,verdana sans-serif;color:#4C5D65;}
#in_phone_links {margin-left:-15px;}

#seo_block {position:absolute;width:400px; height:70px;left:325px;top:33px;border:0px solid gray;color:#4C5D65;font-weight:bold;}
/*#copyright {color:#4C5D65; margin-left:50px;margin-right:210px;}*/
#copyright {color:#4C5D65;padding-left:50px;}
#sitemap_link a {color:#4C5D65;}
#skrebok {position:absolute;background: #fff url(images/skrebok.jpg) left top no-repeat;width:133px; height:125px;left:820px;top:-98px;}
#main_menu {}

/* Main Menu
------------------------------ */
#main_menu {background: #fff url(images/fon_menu.jpg) 23px 0px no-repeat;width:240px;height:225px;border:0px solid blue;font: 1.0em/2.5 Verdana, Arial, Helvetica, sans-serif;}
#main_menu_padder {padding:0 16px 0 21px;overflow:hidden;border:0px solid olive;}

.sub_menu{color:#4C5D65;margin:0 15px;}
.sub_menu_first{margin-left:0;}
.sub_menu_last{margin-right:0;}

/*  Первоначальное с подпунктами.
#block-menu-46 ul {padding:0;margin:0;}
#block-menu-46 li {list-style:none;list-style-image:none;padding:5px 14px;margin:0 0px 0px 10px;border:0px solid red;width:156px;height:auto;}
#block-menu-46 li a{color:#fff; text-decoration:none;font: 1.3em/1.5 Verdana, Arial, Helvetica, sans-serif;}
#block-menu-46 ul ul {background:#51B5E1;padding:10px 14px;margin:10px -14px 0 -14px;}
#block-menu-46 ul ul li {display:inline;padding:0;margin:0;border:0;}
#block-menu-46 ul ul li a{display:inline;padding:0;margin:0;text-decoration:underline;}
*/
#block-menu-46 ul {padding:0;margin:0;width:223px;margin-left: -21px;}
#block-menu-46 li {list-style:none;list-style-image:none;padding:5px 0px;margin:0;border:0px solid red;height:auto;}
#block-menu-46 li a{color:#fff; text-decoration:none;padding-left:40px; font: bold 1.3em/1.5 Verdana, Arial, Helvetica, sans-serif;}


/* Horizontal Menu
------------------------------ */

.menu-h { overflow: hidden; border-left: 1px solid #ccc; }
.menu-h li { float: left; list-style: none; padding: 0 .8em; border-right: 1px solid #ccc; }

/* Horizontal Drop Down Menu
------------------------------ */

.menu-h-d { min-height: 24px; border-left: 1px solid #ccc; }
.menu-h-d li { float: left; display: block; position: relative; border: 1px solid #ccc; border-width: 1px 1px 1px 0px; list-style: none; }
.menu-h-d a { text-decoration: none; padding: 2px 10px; display: block; }

.menu-h-d ul { display: none; position: absolute; top: 22px; left: -1px; width: 160px; background: #fff; border: 0; border-bottom: 1px solid #ccc; }
.menu-h-d ul ul { left: 100%; top: -1px; }

.menu-h-d li li { float: none; border-width: 1px 1px 0px 1px; }

.menu-h-d li:hover { background: #ccc; }
.menu-h-d a:hover { color: #fff; }

.menu-h-d li:hover ul ul,
.menu-h-d li:hover ul li:hover ul ul { display: none; }

.menu-h-d li:hover ul,
.menu-h-d li:hover ul li:hover ul,
.menu-h-d li:hover ul li:hover ul li:hover ul { display: block; }

/* Horizontal Drop Up Menu
------------------------------ */

.menu-h-d.d-up ul { bottom: 22px; }
.menu-h-d.d-up ul ul { bottom: -1px; }

/* Vertical Menu
------------------------------ */

.menu-v a, .menu-h a { text-decoration: none; display: block; }
.menu-v a:hover, .menu-h a:hover { text-decoration: underline; }

.menu-v { border-top: 1px solid #ccc; }
.menu-v li { padding: 2px 0; list-style: none; border-bottom: 1px solid #ccc; }
.menu-v li ul { padding-left: 1em; margin-top: 2px; }
.menu-v li li { border: none; border-top: 1px solid #ccc; }

/* Vertical Drop Down Menu
------------------------------ */

.menu-v-d { border-top: 1px solid #ccc; }
.menu-v-d li { padding: 2px 0; display: block; position: relative; border: 1px solid #ccc; border-width: 0px 1px 1px 1px; list-style: none; }
.menu-v-d li a { display: block; position: relative; text-decoration: none; padding-left: 10px; }

.menu-v-d li:hover { background: #ccc; }
.menu-v-d a:hover { color: #fff; }

.menu-v-d li ul { display: none; position: absolute; top: -1px; border-top: 1px solid #ccc; left: 100%; width: 100%; background: #fff; }
.menu-v-d li ul li { background: #fff; }

.menu-v-d li:hover ul ul,
.menu-v-d li:hover ul li:hover ul ul { display: none; }

.menu-v-d li:hover ul,
.menu-v-d li:hover ul li:hover ul,
.menu-v-d li:hover ul li:hover ul li:hover ul { display: block; }

.menu-v-d ul ul { left: 100%; }

/* Content elements
------------------------------ */

.content h1, .content h2, .content h3, .content h4 { font: 1.7em Verdana, Arial, Helvetica, sans-serif; margin-bottom: .5em; }
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.3em; }
.content h4 { font-size: 1.1em; font-weight: bold; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
pre, code { font: 1.2em/1.8 "Courier New", Courier, monospace; border: 1px dashed #aaa; padding: 1em; background: #eee; }
code { padding: .2em .5em; }

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.icons a, .icon { padding-left: 20px; background-repeat: no-repeat; background-position: left center; }
/* 
.content p, .content ul, .content ol, .content table, blockquote, pre, .columns, .content img { margin-bottom: 1em; } 
*/
/* Text align & Float
------------------------------ */

.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.f-left { float: left; }
.f-right { float: right; }

/*	Tables
------------------------------ */

/* table { border-collapse: collapse; width: 100%; } */
table { border-collapse: separate; width: 100%; }
table th, table td { border: 0px solid #ccc; padding: 2px 3px; vertical-align: top; }
table th { /* background: #f4f4f4;  */}
table td {  }

/*	Columns
------------------------------ */

.columns { width: 100%; overflow: hidden; }
.w-5, .w-10, .w-15, .w-20, .w-25, .w-30, .w-35, .w-40, .w-45, .w-50, .w-55, .w-60, .w-65, .w-70, .w-75, .w-80, .w-85, .w-90, .w-95, .w-100, .w-33, .w-66, .w-38, .w-62 { float: left; overflow: hidden; }

.col-content { padding: 0 0px; }
.col-first { padding-left: 0!important; }
.col-last { padding-right: 0!important; }

.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

.w-33 { width: 33%; }
.w-66 { width: 66%; }

.w-38 { width: 38%; }
.w-62 { width: 62%; }

/* Images
------------------------------ */

img.img_decor { margin: 4px 12px 0 12px; }
.content img.null-image { padding: 0!important; border: none!important; margin: 0!important; }
img.f-left { margin-right: 1em; }
img.f-right { margin-left: 1em; }

/* Content Form
------------------------------ 

.content form { padding: .5em 0; }
.content fieldset { margin-bottom: 1em; border: none; }
.content legend { margin-top: -1px; padding-bottom: 1em; font-size: 1.1em; font-weight: bold; }

.content .f-row { overflow: hidden; margin-bottom: .5em; }
.content label { float: left; text-align: right; width: 25.99%; padding: 0 2%; }
.content .f-inputs { padding-left: 30%; }

.f-actions { padding-top: 1em; border-top: 1px solid #ccc; }
*/
/* Inputs
------------------------------ 

input { vertical-align: middle }
.i-checkbox { margin-top: 3px; }
.i-text { width: 200px; padding: 0 1px; font: 1em sans-serif; }
.button { padding: 0 .25em; width: auto; overflow: visible; cursor: pointer; }
*/
