body,
html,
#footer,
#main-menu ul,
#main-menu ul li,
h1,
h2,
h3,
p,
img,
ul,
li,
table,
tr,
td,
label {
    padding: 0;
    margin: 0;
}
h1,
h2,
h3,
h4 {
    font-weight: bold;
}

html,
body {
    height: 100%;
}
body {
    background: #dcd6e3;
    color: #30214a;
}
p {
    font-size: 14px;
    line-height: 18px;
    margin: 6px 8px;
}
#content p.podpis {
    font-style: italic;
    font-size: 13px;
    text-align: right;
}
#content p {
    text-align: justify;
    text-indent: 2em;
    line-height: 19px;
    margin: 6px 0;
}
span.line,
span.line_image {
    background:
    /*#dcd6e3*/ 
    url(../images/bg_hr.gif) 50% 50% no-repeat;
    height: 1px;
    margin: 15px auto;
    text-align: center;
    display: block;
}
span.line_image {
    margin-left: 250px;
}
.line_left {
    background:
    /*#dcd6e3*/
    
    url(../images/bg_hr.gif) 0 0 no-repeat;
    height: 1px;
    width: 530px;
    margin: 15px 0;
    clear: both;
    display: block;
}
hr.hr70 {
    color: #bab7c5;
    background-color: none;
    border: 0px none;
    border-top: 1px solid #bab7c5;
    height: 1px;
    width: 70%;
    text-align: left;
}
p.snoska {
    font-size: 12px;
}
sup a:link {
    text-decoration: none;
}
sup a:hover {
    text-decoration: underline;
}
#text-center h1 {
    text-align: left
    /*center*/
    
    ;
}
table.contentpaneopen {
    width: 99%;
}
img.left {
    padding: 5px 12px 5px 0;
}
img.right {
    padding: 5px 0 5px 12px;
}
img.center {
    padding: 5px 0;
    margin: 0 auto;
}
h1,
h2,
h3,
h4,
ul,
li {
    font: Arial, Helvetica, sans-serif;
}
h1 {
    font-size: 18px;
    padding: 20px 0 10px 0;
}
h2 {
    font-size: 18px;
    padding: 20px 0 10px 0;
}
.page-header h2 {
    margin-top: 40px;
}
h3 {
    font-size: 16px;
    padding: 30px 0 5px 0;
    font-style: italic;
    font-weight: normal;
}
.clear_image {
    clear: both;
}
#logo {
    background: none;
}
#logo h1 {
    display: none;
}
.clear {
    clear: both;
    padding: 0;
    margin: 0;
}
#left_top,
#right_top,
#left_bottom,
#right_bottom,
#left_bottom_ie,
#right_bottom_ie {
    width: 4px;
    height: 3px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}
#left_top {
    background: url(../images/bg_left_top.gif) 0 0 no-repeat;
    float: left;
}
#right_top {
    background: url(../images/bg_right_top.gif) 0 0 no-repeat;
    float: right;
}
#left_bottom {
    background: url(../images/bg_left_bottom.gif) 0 -1px no-repeat;
}
#right_bottom {
    background: url(../images/bg_right_bottom.gif) 0 -1px no-repeat;
}
#left_bottom_ie {
    background: url(../images/bg_left_bottom.gif) 0 0 no-repeat;
}
#right_bottom_ie {
    background: url(../images/bg_right_bottom.gif) 0 0 no-repeat;
    height: 4px;
}
#header {
    background: url(../images/bg_logo.jpg) top center no-repeat;
    height: 210px;
    overflow: hidden;
    padding: 0;
    margin: 0;
}
#inner-wrap {
    padding: 0;
    margin: 0;
}
#inner-wrap .container {
    border-radius: 10px;
    background-color: #dcd6e3;
}
#footer {
    padding: 0;
    margin: 0 auto;
    height: 50px;
    background: url(../images/bg_footer.jpg) center center no-repeat;
    width: 100%;
    color: #ede9f3;
}
#footer_space {
    height: 40px;
}
#footer p {
    margin: 0;
    padding: 8px 0 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
}


.moduletable-main {
    background:
    /*#30214a*/
    
    url(../images/bg_menu_top.gif) 0 0 no-repeat;
    width: 222px;
    margin: 0 auto;
    margin-bottom: 15px;
}
.moduletable-main h3 {
    color: #e7c16e;
    font: 18px Arial, Helvetica, sans-serif;
    padding: 14px 0 10px 28px;
    background: url(../images/bg_zag_menu.gif) center bottom no-repeat;
}
ul.menu-left,
ul.menu-right {
    background: url(../images/bg_menu_bottom.gif) center bottom no-repeat;
    margin: 10px 0 0px 0;
    margin: 8px 0 0px 0;
    padding: 0 0 10px 0;
}
ul.menu-left li,
ul.menu-right li {
    background: url(../images/bg_bullet.gif) 8px 2px no-repeat;
    padding: 0;
    list-style: none;
    margin: 0;
}
ul.menu-left li a,
#content ul.menu-right li a {
    color: #ede9f3;
    background: url(../images/bg_li_a.gif) center bottom no-repeat;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin: 0;
    padding: 7px 0 7px 35px;
    text-align: left;
}
ul.menu-left ul,
ul.menu-right ul {
    padding: 0 0 0 20px;
}
ul.menu-left ul a,
ul.menu-right ul a {
    font-size: 13px;
}
span.article_separator {
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
    display: none;
}
span.pathway {
    margin: 0 0 20px 0;
    display: block;
}
div.componentheading {
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    margin: 10px 0 10px 0;
}
.small,
.createdate {
    font-size: 13px;
}
.createdate {
    padding-bottom: 15px;
}
.createdate,
.clear_indent {
    text-indent: 0px;
    display: block;
}
#content .createdate {
    text-indent: 0px;
}
#content .clear_indent,
#content table.clear_indent p {
    text-indent: 0px;
}
#content .clear_indent_white,
.clear_indent_white {
    color: #ede9f3;
    text-indent: 0px;
    text-align: center;
}
.tr_color {
    background: #d4cbdf;
}
.calc,
p.calc_p_s {
    font-size: 13px;
    font-style: italic;
}
#content .calc,
#content p.calc_p_s {
    line-height: 18px;
    margin: 0
    /*2em*/
    
    0 5px
    /*2em*/
    
    0;
}
#content p.calc_p_s,
p.calc_p_s {
    color: #353199;
}
#content p.center,
p.center {
    text-indent: 0;
    text-align: center;
}
#content p.prilozhenie,
p.prilozhenie {
    text-indent: 0;
    font-size: 18px;
    font-style: italic;
    font-weight: bold;
    text-align: left;
}
#content .align_center p {
    text-indent: 0;
}
.align_center {
    position: relative;
    width: 100%;
}
.align_center:after {
    content: '';
    display: block;
    clear: both;
}
.align_center_to_left {
    position: relative;
    right: 50%;
    float: right;
}
.align_center_to_right {
    position: relative;
    z-index: 1;
    right: -50%;
}
a.readon {
    margin: 0 0 20px 0;
    display: block;
}
#content p.podpis_right,
p.podpis_right {
    text-align: right;
    font-style: italic;
}
#content p.epigraf,
p.epigraf {
    font-style: italic;
    text-align: right;
    font-size: 13px;
}
#content p.pod_epigraf,
p.pod_epigraf {
    font-size: 11px;
    text-align: right;
    line-height: 15px;
    padding: 0 0 10px 0;
}
ul {
    list-style: none;
}
ol,
ul {
    margin: 0;
    padding: 0;
}
ol {
    margin-left: 32px;
}
ul li{
    background: url(../images/bg_bullet_ul.gif) -5px -1px no-repeat;
    padding: 0 0 2px 18px;
}
ol ul li  {
    background: url(../images/bg_bullet_ul.gif) -5px -1px no-repeat; 
  padding-left: 20px;
}
ul ul li {
    background: url(../images/bg_bullet_ul.gif) 13px -1px no-repeat;
    padding: 0 0 2px 36px;
}
ol li {
    padding-bottom: 2px;
    padding-left: 0;
    margin: 0;
}
div.image_right {
    float: right;
    text-align: center;
}
div.image_left {
    float: left;
    text-align: center;
}
#content .image_podpis_left,
.image_podpis_left,
#content .image_podpis_right,
.image_podpis_right,
#content .image_podpis,
.image_podpis {
    font-size: 12px;
    line-height: 16px;
    text-indent: 0;
    text-align: center;
    padding-bottom: 5px;
}
#content .image_podpis_left,
.image_podpis_left {
    padding-right: 12px;
}
#content .image_podpis_right,
.image_podpis_right {
    padding-left: 12px;
}
.contentpane {
    width: 99%;
}
table.image_right {
    float: right;
    display: block;
}
table.image_left {
    float: left;
    display: block;
}
table.center_text p {
    text-indent: 0;
}
a img {
    border: none;
}
#content .p_s,
.p_s {
    color: #353199;
}
#content a:link {
    color: #6f548b;
}
#content a:visited {
    color: #6f548b;
}
#content a:hover {
    color: #9b81b6;
}
table.tabl_epigraf p {
    font-style: italic;
    font-size: 13px;
}
.clear {
    clear: both;
}
#content .tabl_border p {
    text-indent: 0px;
    padding: 0 10px;
}
.tabl_border td {
    border-top: 1px solid #9b81b6;
    border-left: 1px solid #9b81b6;
}
.tabl_border {
    border-bottom: 1px solid #9b81b6;
    border-right: 1px solid #9b81b6;
}
#content .podpis_pod_glav,
.podpis_pod_glav {
    text-indent: 0;
    margin: -5px 0 10px 0;
}
#content .spisok,
.spisok {
    font-size: 18px;
    font-weight: normal;
    text-indent: 0;
}
#content .spisok a:link,
.spisok a:link {
    color: #353199;
}
#content .spisok a:hover {
    color: #4e48d9;
}
#frazy {
    border: 1px dotted #bab7c5;
    background: #e1dbe7;
    padding: 5px 5px 5px 12px;
}
.searchpoisk {
    position: relative;
    height: 29px;
    width: 220px;
    background: url(../images/bg_search.gif) 0 0 no-repeat;
    margin: 0 auto;
    margin-bottom: 15px;
}
#mod-search-searchword104 {
    position: absolute;
    top: 5px;
    border: none;
    color: #fff;
    background: none;
    width: 170px;
    font-size: 13px;
}
#mod-search-searchword104::placeholder {
    color: #fff;
}
label.element-invisible {
    display: none;
}
.highlight {
    font-weight: bold;
}
*html .moduletable {
    width: 99%;
}
.searchpoisk .button {
    border: none;
    position: relative;
    top: 4px;
    left: 195px;
    background: url(../images/lupa.gif) 0 0 no-repeat;
    width: 21px;
    height: 21px;
}
.search .button:hover,
.search .button.hover {
    background: url(../images/lupa_hover.gif) 0 0 no-repeat;
    ;
}
*html .search .button {
    behavior: expression( onmouseover function() {
        this.className + ' hover'
    }
    ,
    onmouseout function() {
        this.className this.className.replace('hover', '')
    }
    ,
    style.behavior null);
}
*html .search .button {
    top: -19px;
}
*html #frazy {
    width: 95%;
}
*html .blog,
*html .moduletable {
    width: 98%;
}
h3.right {
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
}
#frazy p.podpis_right {
    font-size: 12px;
}
#frazy p {
    color: #7c6b99;
    color: #30214a;
    font-style: italic;
    font-size: 15px;
}
.table_category td {
    padding: 4px 4px 4px 6px;
}
span.createdate {
    padding-bottom: 0;
}
.item137,
.item138,
.item139,
.item140,
.item141,
.item142,
.item143,
.item144,
.item145,
.item146,
.item147,
.item148,
.item149,
.item150,
.item151,
.item152,
.item156,
.item157,
.item158,
.item159,
.item160 {
    display: none;
}
.igallery_clear {
    display: none;
}
#main_slideshow_buttons6 {
    margin: 0px auto;
    width: 100px;
    float: none;
}
.main_des_container .des_div p {
    text-align: right;
    margin: 0px auto;
    border: 1px solid red;
}
.breadcrumb li {
    background: none;
    padding: 0;
    float: left;
    padding-left: 5px;
}
h2.title {
    padding: 0;
    margin-left: 0;
    margin-top: 15px;
}
.moduletable > div > div > div {
    margin-bottom: 50px;
}
#frazy > .moduletable > div > div > div {
    margin-bottom: 0;
}
a.developer {
    color: #fff;
}
.developer:hover {
    text-decoration: underline;
}
.blog h2 {
    margin-top: 40px;
}
.pagination-list li {
    float: left;
    margin-left: 20px;
}
thead {
    background: rgb(88, 62, 117);
}
.table {
    width: 100%;
}
.table tr:nth-child(even) {
    background: rgb(210, 201, 220);
}
.content-category h2 {
    margin-top: 40px;
    text-align: center;
}
/*======================================================*/
/*                 ÏÎÏÐÀÂÊÈ ÍÀ ÑÀÉÒÅ                    */
/*======================================================*/
.breadcrumb > li + li:before {
    content: none;
    padding: 0;
}
.page-header {
    border-bottom: 0;
    margin: inherit;
}
.pager li > a, .pager li > span {
    background-color: none;
}
.btn:active, .btn.active {
    box-shadow: none;
}
a {
    color: #30214a;
}
a:hover {
    color: #9b81b6;
}
.nav > li > a:hover, .nav > li > a:focus {
    background: url(../images/bg_li_a.gif) center bottom no-repeat
}
.items-more .nav > li > a:hover, 
.items-more  .nav > li > a:focus {
    background: inherit;
}
#content table th a {
    color: #fff !important;
}
.content-section-right {
    padding-bottom: 25px;
}
div[itemprop="articleBody"] {
    margin-bottom: 25px;
}
.divider {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    vertical-align: middle;
}
.readmore {
    padding: 0;
    text-decoration: underline;
}
.breadcrumb {
    padding: 8px 0px;
    background: none;
    margin-top: 20px;
    height: 35px;
    margin-bottom: 20px;
}
.breadcrumb li a {
    vertical-align: sub;
}

.breadcrumb > .active span {
    vertical-align: sub;
    padding: 0;
}
.breadcrumb > .active:first-child {
    width: 0;
}
.nav-tabs {
    border: 0;
}
.nav-tabs > li > a {
    border: 0;
    border-radius: 0;
    line-height: inherit;
    margin-right: 0;
}
#left-column,
#center-column,
#right-column {
    margin-top: 25px;
}
#center-column {
    margin-bottom: 25px;
}
#right-column {
    text-align: center;
}
.menu-right {
    margin-top: 0 !important;
}
.pagenav {
    display: block;
    text-align: center;
    margin: 0 auto;
}
li.previous,
li.next {
    display: inline-block !important;
    background: url(../images/bg_bullet_ul.gif) -5px 5px no-repeat;
}
.popover-title,
.popover-content {
    display: none !important;
}
.pagination {
    display: block;
    text-align: center;
}
.pagination-list {
    vertical-align: middle;
}
.counter,
.pagination-list,
.pagination-list li {
    display: inline-block !important;
}
.pagination-first:hover, .pagination-last:hover {
    cursor: pointer;
}
.table-responsive {
    border: 0;
}
/**/

/*==============================================*/
/*               МОБИЛЬНАЯ АДАПТАЦИЯ            */
/*==============================================*/
@media (min-width: 320px) and (max-width: 359px) {
    img {
        max-width: 100px;
        height: auto;
    }
}
@media (min-width: 360px) and (max-width: 767px) {
    img {
        max-width: 150px;
        height: auto;
    }

    #left-column .moduletable-main{
    display: none !important; 
}
}
@media (min-width: 320px) and (max-width: 554px) {
    #header {
        background:  url('../images/bg_logo_smartphones.jpg') 0 0 no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        height: 120px;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
    .breadcrumb li {
        padding: 0;
    }
    #right-column img {
        max-width: 300px;
        height: auto;
    }
}
@media (min-width: 555px) and (max-width: 767px) {
    #header {
        background:  url('../images/bg_logo_smartphones_landscape.jpg') 0 0 no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        height: 200px;
    }
}
@media (min-width: 320px) and (max-width: 1023px) {
    #left-column-mobile .search {
        margin-top: 25px;
    }
    .MsoNormal, 
    .blog-featured span, 
    .blog-featured p,
    .moduletable p {
        text-indent: 0 !important;
        text-align: left !important;
    }
    #left-column-wrapper {
        display: none;
    }
	
    #left-column-mobile-wrapper {
        display: block;
    }
}
@media (min-width: 1024px) {
    #left-column-wrapper {
        display: block;
    }
    #left-column-mobile-wrapper {
        display: none;
    }  
}
.pagenav li.previous {
    background: none;
    padding-right: 5px;
}
.chzn-results li {
    background: none;
}
.phrases legend {
    border-bottom: none;
    padding-top: 20px;
    margin-bottom: 0px;
    font-size: 18px;
}
.phrases-box {
      padding-left: 30px;
}
.form-limit {
    padding-top: 30px;
}
h1 {
    text-align: left;
}
.avs.videos {
    margin-top: 40px;
}
.videos li.span6 {
    background: none;
}
.main_des_container .des_div p {
    font-style: italic;
    padding-top: 5px;
    text-align: center;
  border:none;
}
.cat_child_wrapper_grey-border-shadow .cat_child img {
    display: block;
    box-shadow: none;
}
h3.cat_child_h3.cat_child_heading.cat_child_heading_notoverlay {
    text-align: center;
}
.moduletablemudr {
    padding-left: 10px;
}

/*---------------Меню----------*/

#jux_megamenucss3{
/*	overflow: hidden;*/
}

#jux_megamenu127 li a{
    color: #ede9f3 !important;
    background: url(/templates/vrata/images/bg_li_a.gif) center bottom no-repeat !important;
    text-decoration: none !important;
    font-size: 16px !important;
    margin: 0 !important;
    padding: 7px 0 7px 35px !important;
    text-align: left !important;
}

#jux_megamenu127 .megamenu{
    background: url(/templates/vrata/images/bg_menu_bottom.gif) center bottom no-repeat;
    margin: 10px 0 0px 0;
    margin: 8px 0 0px 0;
    padding: 0 0 10px 0;
}
#left-column .moduletablehidemenu{
    display: none !important; 
}

#leftmenu{
    margin-top: 25px;
}

#left-wrapper{
	float: left;
}

@media (max-width: 1023px){
	.moduletable-main h3{
		display: none;
	}
}

@media (min-width: 993px) and (max-width: 1023px) {
#frazy{
      margin-top: 0px;
}}
/*------------Конец стилей меню-----*/


.avs {
    background-color: #dcd6e3;
}

.avs li.span4 {
  background: none;
}

.avs .thumbnail {
    background-color: #dcd6e3;
}
.avs h4 {
    text-align: center;
}
.avs h3 {
    text-align: center;
    color: #6f548b;
    padding: 0;
    font-size: 16px;
    font-style: italic;
    font-weight: bold;
    background: none;
    padding-top: 20px;
}
.custom-main {
    background: url(/templates/vrata/images/bg_menu_bottom.gif) center bottom no-repeat;
      margin: 8px 0 0px 0;
    padding: 2px 0 1px 0;
}

@media(max-width: 1200px){
    .moduletablemudr .custommudr a img {
        margin-left: -10px
    }
}

@media(max-width: 768px){
    .moduletablemudr .custommudr a img {
        margin-left: 5px;
    }

    #frazy {
        background: none !important;
    }
}

dl.article-info.muted {
    font-size: 13px;
}
.blog-featured {
    margin-top: 50px;
}
.moduletable-cnt {
    margin-top: 50px;
}
.item-page a {
    text-decoration: underline;
}
hr {
  color: #bab7c5;
    background-color: none;
    border: 0px none;
    border-top: 1px solid #bab7c5;
    height: 1px;
    width: 70%;
    text-align: left;
}
.item-page td {
    padding: 8px;
}
#megamenucss #js-mainnav.megamenu ul.megamenu.level1 {
    padding: 0;
    background: #4f377b;
}