/**
 * $Id: style.css,v 1.1.2.21 2009/05/13 09:30:05 jwolf Exp $
 * Acquia Marina 
 */

/******************************************/
/*  TopNotchThemes CSS Stylesheet         */
/*  by Chris Fassnacht & Stephanie Pakrul */
/*  copyright 2008 Collective Mind        */
/******************************************/

/****************************/
/* RESET MARGINS & PADDING */
/***************************/

html, body, div, span,
p, blockquote, pre, code,
ul, ol, li,
h1, h2, h3, h4, h5, h6,
form, fieldset, legend, label, input, textarea,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}


/**************/
/* TYPOGRAPHY */
/**************/

body {
  /*color: black;*/
  background: #FFF;
  background-size: cover;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;     /* web safe fonts */
  font-size: 80%;    /* 12px */
  font-weight: normal;
  line-height: 160%;    /* 19.2px */
}

h1 {
  font-size: 1.6em;
  font-weight: bold;
}

h2 {
  font-size: 1.75em;
  font-weight: normal;
  margin: 15px 0px;
}

h3 {
  font-size: 1.25em;
  font-weight: bold;
}

h4 {
  font-size: 1.1em;
  font-weight: bold;
}

h5 {
  font-size: 1em;
  font-weight: bold;
}

h6 {
  font-size: 0.8em;
  font-weight: bold;
}


/*****************/
/* DEFAULT LINKS */
/*****************/

a {
  color: #27638C;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

a:link,
a:visited {
  color: #27638C;
}  

a:hover,
a:active {
  text-decoration: underline;
}


/**********/
/* LAYOUT */
/**********/

html {
  background: #F4F7E7;                               /* background & font color */
  color: #666;
}

#page {
  margin: 0;
  width: 100%;
}

p {
  font-size: 1.3em;/* исправил было font-size: 1em; */
  font-weight: normal;
  line-height: 160%;
  margin: 10px 0;
}


/*********/
/* LISTS */
/*********/

ul {
  margin: 0.5em 0 1em;
  padding: 0;
}

ol {
  margin: 0.75em 0 1.25em;
  padding: 0;
}

ol li, ul li {
  margin: 0.4em 0 0.4em .5em;    /* LTR */
}

ul.menu li,
.item-list ul li {
  margin: 0.15em 0 0.15em 0.5em;    /* LTR */
}

ul.menu ul, .item-list ul ul {
  margin-left: 0;
}

ol li,
ul li,
ul.menu li,
.item-list ul li,
li.leaf {
  margin: 0.15em 0 0.15em 0;
  padding: 0.2em 0 0 1.333em;    /* LTR */
}

ul li,
ul.menu li,
.item-list ul li,
li.leaf {
  /*background: url('images/raquo.png') no-repeat left 0.833em;*/    /* LTR */
  list-style-image: none;
  list-style-type: none;
}

ol li {
  padding: 0 0 .3em;
  margin-left: 2em;    /* LTR */
}

div.block ul {
  padding: 0 0 3px;
}

ul.links li,
ul.links.inline {
  background: transparent;
}

/* remove list styling on login block and taxonomy */
#user-login-form div.item-list ul li,
div.terms ul li {
  list-style-type: none;
  margin: 0;
}

/* adjust openid link */
html.js #user-login-form li.openid-processed, 
html.js #user-login li.openid-processed {
  font-weight: bold;
  list-style-type: none;
  margin: 10px 0 0 -6px;    /* LTR */
  padding-left: 20px;    /* LTR */
  padding-top: 0.2em
}

#preface-wrapper div.block ul li {
  background: url('images/green-checkmark.png') no-repeat 0 0.222em;
  list-style-image: none;
  list-style-type: none;
  padding: 1em 0 0 2.222em;    /* LTR */
}

#preface-wrapper div.block ol li {
  list-style-image: none;
  padding: 2px 0;
}

body.layout-main-last #sidebar-last li.leaf,
body.layout-main-last #sidebar-last ul.menu li,
body.layout-main-last #sidebar-last .item-list ul li,
#content-content .node ul li,
#content-bottom  ul li {
  /*background: url('images/green-bullet.png') no-repeat left 0.50em;*/    /* LTR */
  list-style-image: none;
  list-style-type: none;
  padding-left: 1.666em;    /* LTR */
  font-size: 15px;
}

/********/
/* MISC */
/********/

hr {
  border: 1px solid #D6DDB9;
}

div.content a.feed-icon img,
div.content th img {
  border: 0;             /* remove image borders where we don't want them */
}

/* format initial startup page list nicely */
#first-time p {
  clear: both;
}

#first-time ol {
  list-style-position: outside;
  margin-left: 2em;    /* LTR */
}


/********************/
/* ALL PAGE REGIONS */
/********************/

/******************/
/* HEADER REGIONS */
/******************/

#header-wrapper {
  /*background-color: #fff; */
  padding-left: 15px;    /* LTR */
  z-index: 5;
}

#header {
  background-color: inherit;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 980px;
}

#search-box {
  background-color: #E1E1E1;
  border: 1px solid #CCCCCC;
  float: right;    /* LTR */
  padding: 8px;
  position: relative;
  top: 0;
  width: 20em;
  -moz-border-radius-bottomleft: 12px;
  -moz-border-radius-bottomright: 12px;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px; 
}

#search-box input#edit-search-theme-form-1 {
  width: 170px;
}

/* theming for header search box */
#search-box input.form-submit {
  background: #EFEBE7;
  border: 1px solid #ccc;
  color: #194765;
  cursor: pointer; 
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 1.1em;
  font-weight: normal;
  padding: 3px 3px 2px;
  outline: none;
  text-transform: none;
  -moz-border-radius: 0;
  -moz-outline-radius: 0;
  -webkit-border-radius: 0;
}

#search-box label,
#search-box a.advanced-search-link {
  display: none;
}

#header-first {
  float: left;    /* LTR */
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  margin: 45px 30px 0 0;
  width: 30%;
  max-width: 380px;
}

#header-first #logo {                            /* logo postion.  default image replaced if you upload your own */
  float: left;    /* LTR */
  margin: 0 14px 0 0;
}

#header-first h1 {    /* site name link */
  font-size: 3em;
  line-height: 80%;
  margin: 10px 0 15px 0;
}

#header-first h1 a {    /* site name link */
  text-decoration: none;
}

#header-first #slogan {                          /* site slogan */
  display: block;
  font-size: 1.166em;
  margin: 4px 0;
}

#header-middle {
  float: left;
  margin: 10px 20px 0 0;    /* LTR */
  width: 50%;
  max-width: 530px;
}

#header-last {
  float: right;    /* LTR */
  margin: 10px 0 0;
  width: 5%;
  max-width: 5px;
}

#primary-menu-wrapper {
  margin: 0 auto;
  position: relative;
  width:100%;
  max-width:980px;
  z-index: 5;    /* fixes IE z-index bug */
}


/********************************/
/* PREFACE REGIONS */
/********************************/

#preface {
  background: #144A6E url('images/preface-wrapper-bg.png') repeat-x top;
  min-height: 24px;
  padding-left: 15px;    /* LTR */
}

#preface-wrapper {
  color: #fff;
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.5em;
  margin: 0 auto;
  padding: 10px 0 8px 0;
  width: 100%;
  max-width: 980px;
}

/* correct button font size */
#preface-wrapper .form-submit {
  font-size: 0.6em;
}

#preface-wrapper #preface-first {
}

#preface-wrapper #preface-middle {
}

#preface-wrapper #preface-last {
}

#preface-wrapper.prefaces-1 div.column {
  float: left;    /* LTR */
  width: 100%;
}
  
#preface-wrapper.prefaces-2 div.column {
  display: inline;
  float: left;    /* LTR */
  margin: 0 14px;
  width: 47%;
}
  
#preface-wrapper.prefaces-3 div.column {
  display: inline;
  float: left;    /* LTR */
  margin: 0 14px;
  width: 30%;
} 

#preface-wrapper a:link,
#preface-wrapper a:visited {
  color: #fff;
  text-decoration: underline;
}

#preface-wrapper a:link:hover,
#preface-wrapper a:visited:hover {
  border-bottom: none;
  text-decoration: none;
}

div.content > a:link img {
  border-bottom: none;
  margin: 0;
  padding: 0;
}


/************************/
/*  MAIN AREA WRAPPER   */
/* (Sidebars + Content) */
/************************/

#main-wrapper {
  background: #F4F7E7 url('images/content-gradient.png') repeat-x 0 1px;
  padding-left: 5px;    /* LTR */
  padding-right: 5px;    /* LTR */
  padding-top: 1px;    /* LTR */

}

#main {
  margin: 0 auto;
  width: 100%;
  max-width: 980px;
}

#main-wrapper a.active {
  color: #144A6E;
  text-decoration: underline;
}

/*******************/
/* SIDEBAR REGIONS */
/*******************/

#sidebar-first {
  float: right;    /* LTR */
}

#sidebar-last {
  background: transparent;
  float: right;    /* LTR */
  margin: 0 0 0 10px;    /* LTR */
}


/*******************/
/* CONTENT REGIONS */
/*******************/

#content-wrapper {
  float: left;    /* LTR */
}

#content-top {
  margin: 0 0 30px;
}

#content {
  margin: 0 0 20px;               /* default spacing between content regions */
}

#content-inner {
  clear: left;
}

#content-bottom {
  clear: both;
  margin: 20px 0 0;
}


/**********************************/
/* POSTSCRIPT REGIONS  */
/**********************************/

#postscript-wrapper {
  clear: both;
  margin: 0 auto;
  width: 100;
  max-width: 980px;
}

#postscript-wrapper #postscript-first {
  padding-left: 0;    /* LTR */
}

#postscript-wrapper #postscript-middle {
}

#postscript-wrapper #postscript-last {
  padding-right: 0;    /* LTR */
}

#postscript-wrapper.postscripts-1 div.column {
  float: left;    /* LTR */
  width: 100%;
}

#postscript-wrapper.postscripts-2 div.column {
  float: left;    /* LTR */
  margin: 0 10px 0 8px;    /* LTR */
  width: 48%;
}

#postscript-wrapper.postscripts-3 div.column {
  float: left;    /* LTR */
  padding: 0 8px;
  width: 32%;
} 


/*****************/
/* FOOTER REGION */
/*****************/

#footer {
  border-bottom: 1px solid #D6DDB9;
  border-top: 1px solid #D6DDB9;
  clear: both;
  display: block;
  font-size: 0.9em;
  margin: auto 0;
  overflow: hidden;
  padding: 10px 0;
  text-align: center;
  width: 100%;
  max-width: 980px;
}

#footer ul {
  display: inline;
  margin: 0;
  padding: 0 0 0 9px;    /* LTR */
}

#footer ul li {
  background: transparent none repeat;
  border-left: 1px solid #CCC;    /* LTR */
  display: inline;
  padding: 0 5px 0 9px;    /* LTR */
}

#footer ul li.first {
  border: none;
}

#legal-notice {
  background: #F4F7E7;
  clear: both;
  color: #AAA;
  display: block;
  font-size: 0.9em;
  padding: 10px 0;
  text-align: center;
  width: 100%;
}

#legal-notice a {
  color: #6699CC;
}


/****************************************/
/*          COLUMN LAYOUTS              */
/*                                      */
/* Classes for different column layouts */
/* that are applied to the <body> tag.  */
/****************************************/

/************************/
/* SINGLE COLUMN LAYOUT */
/* (Main Content)       */
/************************/

body.layout-main #content-wrapper {
  margin: 24px 0 0 0;    /* LTR */
  width: 850px;
}


/**************************/
/*   TWO COLUMN LAYOUT    */
/* (Sidebar:Main Content) */
/**************************/

body.layout-first-main #sidebar-first {
  margin: 24px 0px 0 0;
  width: 235px;
}

body.layout-first-main #content-wrapper {
  margin: 0px 16px 0 0;    /* LTR */
  width: 685px;
}


/**************************/
/*   TWO COLUMN LAYOUT    */
/* (Main Content:Sidebar) */
/**************************/

body.layout-main-last #content-wrapper {
  margin: 32px 20px 0 0;
  position: relative;
  width: 650px;
  z-index: 1;
}

body.layout-main-last #sidebar-last {
  background-color: transparent;
  margin: 32px 0 0 0;
  width: 200px;
}


/**********************************/
/*      THREE COLUMN LAYOUT       */
/* (Sidebar:Main Content:Sidebar) */
/**********************************/

body.layout-first-main-last #sidebar-first {
  margin: 40px 20px 0 0;    /* LTR */
  width: 240px;
}

body.layout-first-main-last #content-wrapper {
  margin: 40px 0 0;
  width: 100%;
  max-width: 980px;
}

body.layout-first-main-last #content-wrapper #content-inner {
}

body.layout-first-main-last #content-wrapper #sidebar-last {
  background-color: #F4F7E7;
  margin: 0;
  padding: 0 0 0 20px;    /* LTR */
  width: 280px;
}

body.full-node.layout-first-main-last #sidebar-last {
  margin: 0;
}


/******************/
/* HELPER CLASSES */
/******************/

.hide {
  display: none;
  visibility: hidden;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.clearfix:after {                                 /* add .clearfix class to clear floats after an element */
  clear: both;                                    /* (IE version is in ie6-fixes.css) */
  content: "."; 
  display: block;
  font-size: 0;
  height: 0; 
  visibility: hidden;
}


/************/
/* HEADINGS */
/************/

h1.title {                                        /* page titles */
  border-bottom: 1px solid #D6DDB9;
  clear: left;    /* LTR */
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.833em;
  font-weight: 600;
  line-height: 1.272em;
}  

h2.title {                                        /* block titles, node titles */
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.333em;
  font-weight: 600;
  text-transform: uppercase;
}  

h2.title a:link,
h2.title a:visited {
}  


h2.title a:hover,
h2.title a:active {
  color: #619CBE;
  text-decoration: none;
}  

div.node h2.title {
  border-bottom: 1px solid #d6ddb9;
}

/*********/
/* NODES */
/*********/

div.node {
  margin: 0 0 30px;
}

div.node.sticky.teaser {
  background-color: #EFF2E2;
  border: 1px solid #E0E3D4;
  padding: 8px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

#content-content .node ul.links li,
#content-content .node ul.inline li,
#content-content .node .links a {
  background: transparent;
  margin: 0;
  padding: 0 14px 0 0;    /* LTR */
}

div.node .read-more a,
div.node .more-link a,
div.node .links a {
  font-size: 0.9em;
  font-weight: bold;
  margin: 0;
}  

#content-content .node ul.links li.comment_forbidden a {
  padding-right: 4px;    /* LTR */
}

.submitted,
.terms {                                      /* styling for byline and tags */
  font-size: 0.9em;
}

.vocab-name {
  font-weight: bold;
}

.terms {
  line-height: 130%;
}

#content-content .terms ul.taxonomy li {
  background: transparent;
  margin: 10px 0 5px;
  padding: 0;
}

#content-content .terms ul.taxonomy ul.vocab-list,
#content-content .terms ul.taxonomy li.vocab-term {
  background: transparent;
  display: inline;
  padding: 0 0 0 2px;    /* LTR */
}

.submitted a:link {
}

.submitted a:visited,
.submitted a:hover,
.submitted a:active {
}

div.node.full-node div.content {
  border-bottom: 1px solid #D6DDB9;
}

.node-form .standard {
  clear: none;
}

.picture {
  float: right;    /* LTR */
  margin: 0 0 2px 4px;    /* LTR */
  padding: 2px;
}

/**********/
/* BLOCKS */
/**********/

div.block {
  position: relative;
}

div.block-region {
  background-color: #FFFF66;
  color: #000;
  font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
  margin-top: 4px;
  padding: 3px;
  text-align: center;
}

div.block .title {
}

div.block .submitted {                               /* byline styles in blocks */
}

div.block .submitted a:link {
}

div.block .submitted a:visited,
div.block .submitted a:hover,
div.block .submitted a:active {
}

div.block-wrapper {                    /* spacing between blocks */
  margin: 0px 0;
}

div.block div.content {
}

#user-login-form .item-list ul li,
div.terms ul li {
  list-style-type: none;
  margin: 2px 0 0 16px;    /* LTR */
}


#header-middle h2.block-title,
#header-last h2.block-title {
  color: #51748C;
  font-size: 1.833em;
  margin: 0;
  padding: 0;
}

#preface-wrapper h2.block-title {
  background-color: transparent;
  color: #94CE18;
  font-size: 1em;
  padding: 0;
}

#preface-wrapper .block .content {
  margin: 10px 0 0;
}

body.layout-first-main-last #sidebar-first .block-wrapper,
body.layout-first-main-last #sidebar-last .block-wrapper {
  margin: 0 0 10px;
}

/* rounded blocks styles -= layout-first-main-last & layout-first-main blocks */
#sidebar-first h2.block-title,
#sidebar-last h2.block-title,
#postscript-wrapper h2.block-title {
  background-color: #94CE18;
  color: #fff;
  padding: 8px 8px 6px 46px;
  text-align: right;
  text-shadow: #545454 1px 1px; 
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
}

#sidebar-first div.block div.content,
#sidebar-last div.block div.content,
#postscript-wrapper div.block div.content {
  background: transparent url('images/block-gradient.png') no-repeat center bottom;
  border-bottom: 3px solid #F1F5F7;
  padding: 10px 10px 8px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-bottomright: 6px;
  -webkit-border-bottom-left-radius: 4px;
  -webkit-border-bottom-right-radius: 4px; 
}

/* non-rounded blocks styles = prefaces & layout-main-last blocks */
#preface-wrapper div.block div.content,
body.layout-main-last #sidebar-last div.block div.content {
  border: none;
}

body.layout-main-last #sidebar-last div.block-wrapper {
  margin: 0 0 30px;
}

#preface-wrapper div.block div.content,
body.layout-main-last #sidebar-last div.block div.content,
#footer div.block div.content {
  background: none;
  border-bottom: none;
  margin: 0;
  padding: 0;
}

body.layout-main-last #sidebar-last div.block div.content {
  padding: 6px;
}

body.layout-main-last #sidebar-last h2.block-title {
  border-bottom: 1px solid #D6DDB9 ;
  background-color: transparent;
  color: #666;
  padding: 0;
  text-align: left;    /* LTR */
  text-shadow: none;
  width: 200px;
      background-color: #94CE18;
    color: #fff;
    padding: 8px 8px 6px 46px;
    text-align: right;
    text-shadow: #545454 1px 1px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-topright: 3px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
}

#footer h2.block-title {
  background: transparent;
  color: #666;
}

#sidebar-first #block-search-0 .form-item label,
#sidebar-last #block-search-0 .form-item label {
  display: none;
}

/***************/
/* BLOCK MENUS */
/***************/

div.block ul li a,
div.block ul.menu li a {                
  font-size: 1em;
  font-weight: bold;
}

div.block ul.menu li,
div.block .item-list ul li {
  margin: 0;
}

div.block ul.menu li a:link,
div.block ul.menu li a:visited {
}

div.block ul.menu li a:hover,
div.block ul.menu li a:active {
}

#footer div.block ul li a,
#footer div.block ul.menu li a {
  font-weight: normal;
}


/*****************************************/
/* ROUNDED CORNERS FOR BLOCKS (optional) */
/*****************************************/

div.rounded-block {
  margin-top: -1px;                               /* use negative margin to overlap stacked blocks */
}

p.rounded-topspace {
  margin-top: -14px;                                  /* removes unwanted space */
}

p.rounded-bottomspace {
  margin-bottom: -10px;                               /* removes unwanted space */
}

div.rounded-block-top-left, 
div.rounded-block-top-right, 
div.rounded-block-bottom-left, 
div.rounded-block-bottom-right { 
  background: transparent url('images/rounded-block.png') no-repeat;                         /* combined rounded corner image */
  font-size: 2px;                                 /* IE div correction */
  height: 11px;                                   /* height of an image corner */
}

body.layout-main-last #sidebar-last div.rounded-block-top-left, 
body.layout-main-last #sidebar-last div.rounded-block-top-right, 
body.layout-main-last #sidebar-last div.rounded-block-bottom-left, 
body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
  background: none;
  font-size: inherit;
  height: auto;
}

div.rounded-block-top-left, 
div.rounded-block-bottom-left { 
  margin-right: 11px;                             /* width of an image corner */
}

div.rounded-block-top-right {                        /* anchor image in top right */
  background-position: 100% 0;
}

div.rounded-block-top-right,
div.rounded-block-bottom-right { 
  margin-left: 11px;                              /* width of an image corner */
  margin-top: -11px;                              /* height of an image corner */
}

body.layout-main-last #sidebar-last div.rounded-block-top-right,
body.layout-main-last #sidebar-last div.rounded-block-bottom-right { 
  margin: 0;
}

div.rounded-block-bottom-left  { 
  background-position: 0 -11px;                   /* negative height of an image corner */
}

div.rounded-block-bottom-right { 
  background-position: 100% -11px;                /* negative height of an image corner */
}

div.rounded-outside,
div.rounded-inside {
  background: transparent url('images/rounded-block-inner.png') repeat-y right;
  padding-right: 8px;
}

body.layout-main-last #sidebar-last div.rounded-outside,
body.layout-main-last #sidebar-last div.rounded-inside {
  background: none;
  margin: 0;
  padding: 0;
}

div.rounded-inside {
  background-position: left;
  padding: 0 0 0 8px;
}


/****************/
/* PRIMARY MENU */
/****************/

#primary-menu {                                   /* menu layout */
  display: block;
  float: right;
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1em;
  font-weight: bold;
  margin-top: 12px;
  padding: 0;
  position: relative;
  text-transform: uppercase;
}
  
#primary-menu ul.links li {                       /* text styling for the top (primary) menu */
}  

#primary-menu ul.links li.first {                 /* .first and .last classes applied to first and last menu & list items */
}
  
#primary-menu ul.links li.last {                  /* .first and .last classes applied to first and last menu & list items */
}
  
#primary-menu ul.links li a:link,
#primary-menu ul.links li a:visited {
}

#primary-menu ul.links li a:hover,
#primary-menu ul.links li a:active {
}  
  

/************************************/
/* PRIMARY MENU WITH DROPDOWNS      */
/* - used with menu_tree theming of */
/* $primary_links in page.tpl.php   */
/************************************/

#primary-menu ul.menu li {                        /* top item layout */
  background: transparent url('images/tab-left.png') no-repeat left 0;
  display: block;
  float: left;    /* LTR */
  margin: 0 4px 0 0;
  padding: 0 0 0 0.833em;    /* 0 0 0 10px */
  position: relative;
  width:  auto;
}

#primary-menu ul.menu li:hover,
#primary-menu ul.menu li.hover,
#primary-menu ul.menu li.active-trail {
  background-position: left -29px;
}

#primary-menu ul.menu li a {
  background: transparent url('images/tab-right.png') no-repeat right 0;
  color: #154B70;
  display: block;
  padding: 0.416em 0.833em 0.083em 0;    /* 5px 10px 1px 0 */
  text-decoration: none;
}

#primary-menu ul.menu li a:hover,
#primary-menu ul.menu li:hover a,
#primary-menu ul.menu li.hover a,
#primary-menu ul.menu li.active-trail a {
  background-position: right -29px;
  color: #fff;
}

#primary-menu ul.menu li ul {
  background: transparent url('images/drop-bottom.png') no-repeat 0 bottom;
  left: -999em;
  opacity: 0.95;
  margin: 0 0 0 -10px;
  padding: 2px 0 4px;
  position: absolute;
  width: 144px;
  z-index: 2;
}
  
#primary-menu ul.menu li:hover ul,
#primary-menu ul.menu li.hover ul {
  display: block;
  left: auto;
}
  
#primary-menu ul.menu li ul li {
  background: #94CE18;
  border-bottom: 1px solid #83A638;
  float: left;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.916em;
  height: auto;
  margin: 0;
}

#primary-menu ul.menu li ul li.last {
  border-bottom: none
}

#primary-menu ul.menu li ul li a,
#primary-menu ul.menu li ul li a:link,
#primary-menu ul.menu li ul li a:visited {
  background: transparent;
  color: #154B6F;
  display: block;
  margin: 0;
  padding: 4px 0;
  text-transform: none;
  width: 135px;
}

#primary-menu ul.menu li ul li a:hover {
  color: #fff;
  display: block;
  margin: 0;
  padding: 4px 0;
  text-decoration: none;
}

#primary-menu ul.menu li ul li ul.menu {
  left: -999em;
  margin: 0 0 0 -14px;    /* LTR */
  padding: 6px 0 4px;
}

#primary-menu ul.menu li ul li:hover ul.menu,
#primary-menu ul.menu li ul li.hover ul.menu {
  display: block;
  left: 154px;    /* LTR */
  top: -6px;
}

#primary-menu ul.menu li ul li ul.menu li a {
  padding: 4px;
  width: 128px;
}
  
/******************/
/* SECONDARY MENU */
/******************/

#secondary-menu {
}


/***********/
/* MISSION */
/***********/

#mission {
  padding: 8px 0;
}

/***************/
/* BREADCRUMBS */
/***************/

#breadcrumb {
  font-size: 1em;
  line-height: 100%;
  left: 21.654em;    /* LTR */
  position: relative;
  top: 1.333em;
  width: 700px;
}

body.layout-main-last #breadcrumb {
  left: 0;    /* LTR */
}

.breadcrumb {
  margin: 0;
  padding: 0;
}

/********/
/* TABS */
/********/

/* styling for node tabs (e.g., View, Edit) */
#content-tabs {
  background-color: transparent;
  float: left;    /* LTR */
  margin: 0 0 20px 0;
  padding: 0;
}

#content-tabs ul.primary,
#content-tabs ul.secondary {
  border-bottom: 1px solid #bbb;
  clear: left;    /* LTR */
  float: left;    /* LTR */
  margin: 0;
  padding: 0 10px;
  text-transform: uppercase;
}

#content-tabs ul.secondary {
  border-bottom: 1px solid #bbb;
  margin-top: 10px;
  text-transform: lowercase;
}

#content-tabs ul.primary li,
#content-tabs ul.secondary li {
  background: transparent;
  border-style: none;
  display: inline;
  float: left;    /* LTR */
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

#content-tabs ul.primary li a:link,
#content-tabs ul.primary li a:visited,
#content-tabs ul.secondary li a:link,
#content-tabs ul.secondary li a:visited {
  background-color: transparent;
  border: none;
  color: #27638C;
  float: left;    /* LTR */
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: bold;
  margin: 0;
  padding: 0 0 6px 0;
  text-decoration: none;
}

#content-tabs ul.secondary li a:link,
#content-tabs ul.secondary li a:visited {
  color: #27638C;
  font-size: 1em;
  line-height: 1.1em;
}

#content-tabs ul.primary li a.active:link,
#content-tabs ul.primary li a.active:visited {
  border-bottom: 4px solid #94CE18;
  color: #27638C;
  padding-bottom: 2px;
}

#content-tabs ul.secondary li a.active:link,
#content-tabs ul.secondary li a.active:visited {
  border-bottom: 4px solid #94CE18;
  color: #27638C;
  padding-bottom: 2px;
}

#content-tabs ul.primary li a:hover,
#content-tabs ul.secondary li a:hover {
  border-bottom: 4px solid #94CE18;
  color: #4A95C8;
  padding-bottom: 2px;
}

/*********/
/* FORMS */
/*********/

form {
  margin: 0;
  padding: 0;
}

select.form-select,
input.form-text,
textarea.form-textarea {                                      /* default styling for all text fields */
  background: #F6F9FB url('images/form-bg.png') left top;
  color: #666666;
  border: 1px solid #9BABB0;
  padding: 2px 0;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

body.layout-first-main-last select.form-select,
body.layout-first-main-last input.form-text,
body.layout-first-main-last textarea.form-textarea,
body.layout-first-main-last div.resizable-textarea,
body.layout-first-main-last div.resizable-textarea .grippie {
  max-width: 325px;
}

input.form-submit,
input.teaser-button {                                    /* default styling for all form buttons */
  background: transparent url('images/blue-button.png') no-repeat left center;
  border: 1px solid #fff;
  color: #fff;
  cursor: pointer;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 0.916em;
  font-weight: bold;
  margin: 0 4px;
  padding: 2px 4px;
  text-transform: uppercase;
  outline: 1px solid #9BABB0;
  -moz-border-radius: 4px;
  -moz-outline-radius: 4px;
  -webkit-border-radius: 4px;
}

input.form-submit:hover,
input.teaser-button:hover  {
  background-position: right center;
  cursor: pointer;
}  

fieldset {
  border: 1px solid #D6DDB9;
  margin: 15px 0;
  padding: 10px;
}

fieldset.collapsed {
}

fieldset legend {
  font-weight: bold;
}

html.js fieldset.collapsible legend a {
  font-weight: bold;
}

form#system-theme-settings select,
form#system-theme-settings input.form-text {
  width: 95%;
}

#user-login-form {
  text-align: left;    /* LTR */
}

div.form-item label {
  font-weight: normal;
}

html.js input.form-autocomplete {
  background-position: 100% 5px;    /* LTR */
}

/* prevents fields from overflowing into sidebar-last */
body.layout-main-last input.form-text {
  width: 450px;
}

/**********/
/* PAGERS */
/**********/
#main-wrapper .item-list .pager {
  clear: both;
  margin: 0 0 20px;
  text-align: center;
}

#preface-wrapper .item-list .pager li,
#main-wrapper .item-list .pager li {
  background-image: none;
  display: inline;
  list-style-type: none;
  margin: 0;
  padding: 2px;
}

#main-wrapper .item-list .pager a.active {
  color: #27638C;
  font-size: 1em;
  font-weight: bold;
  padding: 4px;
  text-decoration: none; 
}

#main-wrapper .pager li.pager-current {
  background-color: #D9DBCD;
  border: 1px solid #266996;
  color: #333;
  margin: 0 4px;
  padding: 4px;
}

#main-wrapper .pager-first,
#main-wrapper .pager-next,
#main-wrapper .pager-previous,
#main-wrapper .pager-item,
#main-wrapper .pager-last {
  background-color:#FDFFEF;
  border: 1px solid #266996;
  margin: 0 4px;
  padding: 4px;
}

#main-wrapper .pager-first:hover,
#main-wrapper .pager-next:hover,
#main-wrapper .pager-previous:hover,
#main-wrapper .pager-item:hover,
#main-wrapper .pager-previous:hover,
#main-wrapper .pager-last:hover {
  background-color: #EAEFCB;
}


/**********/
/* TABLES */
/**********/

table {
  border-collapse: collapse;
  margin: 0 0 10px;
  width: 100%;
}

.layout-first-main-last table {
  border-collapse: collapse;
  margin: 0 0 10px;
  width: 57%;
}

th {
  text-align: left;    /* LTR */
  padding-right: 1em;
  border-bottom: 3px solid #CCC;
}

tr {
  padding: 0.1em 0.6em;
}

td {
  padding: 3px;
}

th.active img {
  display: inline;
}

tr.even td {
  background-color: #E3ECC0;
  border-bottom: 1px solid #CCC;
}

tr.odd td {
  background-color: #FDFFEF;
  border-bottom: 1px solid #CCC;
}

td.active {
  
}



tbody th {
  border-bottom: 1px solid #CCC;
}

thead th {
  text-align: left;    /* LTR */
  padding-right: 1em;
  border-bottom: 3px solid #CCC;
}


/*******************/
/* DRUPAL MESSAGES */
/*******************/

.node-unpublished {
  background-color: #FFF4F4;
}

.preview {
  background-color: #FFFFEA;
  padding: 10px;
}

.description {
}

div.messages {
  background: #FFFCE3;
  border: 2px solid #EED300;
  color: #C28E00;
  font-weight: bold;
  font-size: 1.166em;
  margin: 20px 0pt;
  padding: 10px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
}

div.messages ul {
  list-style-position: inside;
}

div.messages em {
  color: #656C9B;
}

div.error {
  background-color: #FFF2F2;
  border-color: #FF0000;
  color: #B20000;
}

.status {
}

.help {
}

.help .more-help-link {
}

.marker {
}

.tips {

}

#help {
  clear: left;
  margin: 0;
  overflow: hidden;
  padding: 0;
}


/*--------------------------------*/
/*---- MODULE SPECIFIC STYLES ----*/
/*--------------------------------*/

/*******************/
/* BOOK NAVIGATION */
/*******************/

.book-navigation .menu {
  border-top: 1px solid #CCC;
  padding: 1em 0 0 3em;    /* LTR */
}
.book-navigation .page-links {
  border-top: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  text-align: center;
  padding: 0.5em;
}

/********/
/* BLOG */
/********/


/************/
/* COMMENTS */
/************/
#comments {
  clear: both;
}

#comments h2.comments {
  background-color: #94CE18;
  color: #fff;
  font-family: Myriad Pro, Myriad Web Pro Regular, Lucida Grande, Geneva, Trebuchet MS, sans-serif;
  font-size: 1.333em;
  font-weight: 600;
  padding: 6px 14px 6px 52px;    /* LTR */
  text-shadow: #545454 1px 1px;
  text-transform: uppercase;
  -moz-border-radius-topleft: 3px;
  -moz-border-radius-topright: 3px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
}

#comments .content {
  background: transparent;
  border: none;
}

#main-wrapper #comments a.active {
  color: #27638C;
  text-decoration: none;
}

.box {
  padding: 10px;
}

#comment-form {
  margin: 0 0 20px;
  padding: 0 20px;
}

.comment {
  border: none;
  margin: 6px 0 0;
  padding: 10px;
}

.comment h3.title {
  font-weight: bold;
  margin: 0 0 5px 0;
}

.comment .links a {
  font-size: 0.9em;
  text-align: right;    /* LTR */
}

#comments .odd {
  background-color: #F4F7E7;
  border: 1px solid #ddd;
}

#comments .even {
  background-color: #fff;
}

#comments .comment-by-author {
  background-color: #FFFFEA;
}

.comment ul.links {
  text-align: right;    /* LTR */
  clear: right;
}

#content-content .comment ul.links li {
  background: transparent;
  margin: 0 10px 0 0;    /* LTR */
  padding: 0;
}

.signature p {
  border-top: 1px solid #d6ddb9;
  font-family: serif;
  font-size: 0.916em;
  margin: 10px 0;
  padding: 0;
}

.content blockquote p {
  font-style: italic;
  margin: 0;
  padding: 0 20px 8px;
}

blockquote {
  background: url('images/close-quote.gif') no-repeat right bottom;    /* LTR */
  color: #5A6A78;
  margin: 10px 0;
}

blockquote :first-child {
  background: url('images/open-quote.gif') no-repeat left top;    /* LTR */
  padding: 10px 0 0 20px;    /* LTR */
}

blockquote * > :first-child {
  background: transparent;
  padding: 0;
}

blockquote a:link {
  text-decoration: underline;
}


/**********/
/* FORUMS */
/**********/

#forum .description {
  font-size: 0.9em;
  margin: 0.5em;
}

#forum td.created, 
#forum td.posts, 
#forum td.topics, 
#forum td.last-reply,
#forum td.replies, 
#forum td.pager {
  white-space: nowrap;
}

#forum td.posts, 
#forum td.topics, 
#forum td.replies, 
#forum td.pager {
  text-align: center;
}

.forum-topic-navigation {
  padding: 1em 0 0 3em;    /* LTR */
  border-top: 1px solid #888;
  border-bottom: 1px solid #888;
  text-align: center;
  padding: 0.5em;
}

.forum-topic-navigation .topic-previous {
  text-align: right;    /* LTR */
  float: left;    /* LTR */
  width: 46%;
}

.forum-topic-navigation .topic-next {
  text-align: left;    /* LTR */
  float: right;    /* LTR */
  width: 46%;
}


/*********/
/* POLLS */
/*********/

.poll .bar {                                      /* styles for poll ratings */
  background-color: #DDD;
}

.poll .bar .foreground {
  background-color: #999;
  float: none;
}


/************/
/* PROFILES */
/************/

.profile {
  clear: none;
  margin: 12px 0;
}

.profile h2.title {
  margin-top: 15px;
  border-bottom: 1px solid;
}

.profile dt {
  float: left;    /* LTR */
  margin-bottom: -10px;
  padding: 0 5px;
  text-align: left;    /* LTR */
  width: 185px;
}

.layout-first-main-last .profile dd {
  margin: 15px 5px 0 120px;    /* LTR */
}

.layout-first-main-last .profile dt {
  width: 100px;
}

/******************/
/* SEARCH RESULTS */
/******************/


/*********/
/* VIEWS */
/*********/

.view .view-comments-recent .views-field-subject {
  font-weight: bold;
}

.view .view-style-node{
}

.view .view-style-teaser{
}

.view .view-style-list{
}

.view .view-style-table{
}

.view .views-admin-links li {
  background: transparent !important;
}


/***************/
/* PRINT STYLE */
/***************/

@media print {
  body {
    background: white;
    font-size: 10pt;
  }
   
  #header,
  #header-top,
  #header-wrapper,
  #primary-menu-wrapper,
  #sidebar-first,
  #sidebar-last,
  #preface-wrapper,
  #content-tabs,
  #mission,
  #slogan,
  #postscript-wrapper,
  #footer-top,
  #footer,
  #primary-menu,
  #search-box,
  #logo {
    display: none;
  }

  #page,
  #main-wrapper,
  #content-wrapper,
  #content-top,
  #content,
  #content-bottom {
    background: transparent none;
    border: 0;
    color: black;
    float: none !important;
    margin: 0;
    padding: 0;
    width: auto;
  }
  
  #content-wrapper {
    margin: 0 3%;
  }
}
/           *******************/
/           *** Ìîè ÑÒÈËÈ *****/
/           *******************/

/*--------------------------------*/
/*---- MOY STYLES ----*/
/*--------------------------------*/


/**************************************************/
/* ÄËß ÊÀÐÒÈÍÎÊ (íàêëîí, ðàìêà, òåíü, çàòóõàíèå) */
/**************************************************/

#ex4 {
  width: 800px;
  margin: 0 auto;
}
 
#ex4 img {
  margin: 20px;
  border: 5px solid #eee;
  -webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  -moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
 
#ex4 img:hover {
  -webkit-transform: rotate(-7deg);
  -moz-transform: rotate(-7deg);
  -o-transform: rotate(-7deg);
}

#ex5 {
  width: 700px;
  margin: 0 auto;
  min-height: 300px;
}
 
#ex5 img {
  margin: 25px;
  opacity: 0.8;
  border: 10px solid #eee;
 
  /*transition*/
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
 
  /*îòðàæåíèå*/
  -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.1)));
}
 
 
#ex5 img:hover {  
   opacity: 1;
 
   /*îòðàæåíèå*/
  -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.4)));
 
   /*ñâå÷åíèå*/
  -webkit-box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
  -moz-box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
  box-shadow: 0px 0px 20px rgba(255,255,255,0.8);
}

#ex10 {

  margin: 0 auto;
}
 
#ex10 img {
  margin: 20px;
  border: 5px solid #eee;
  -webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  -moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

dt {
    float: left; /* Äëÿ ðàçìåùåíèÿ íà îäíîé ñòðîêå */
}

dd {
    position: relative; /* Îòíîñèòåëüíîå ïîçèöèîíèðîâàíèå */
    margin-bottom: 10px; /* Ðàññòîÿíèå ìåæäó ñòðîê */
}

#ex1010 {
  width: 500px;

  margin: 0 auto;
}
 
#ex1010 img {
  margin: 20px;
  border: 5px solid #eee;
  -webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  -moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

/**** Êðàñíàÿ áóêâà ***/
#bigword1 P:first-letter {
    font-family: "Times New Roman", Times, serif; /* Ãàðíèòóðà øðèôòà ïåðâîé áóêâû */
    font-size: 200%; /* Ðàçìåð øðèôòà ïåðâîãî ñèìâîëà */
    color: red; /* Êðàñíûé öâåò òåêñòà */
   }

#bigword2 P:first-letter {
    font-family: "Times New Roman", Times, serif; /* Ãàðíèòóðà øðèôòà ïåðâîé áóêâû */
    font-size: 200%; /* Ðàçìåð øðèôòà ïåðâîãî ñèìâîëà */
    color: blue; /* Ñèíèé öâåò òåêñòà */
   }

#bigword3 P:first-letter {
    font-family: "Times New Roman", Times, serif; /* Ãàðíèòóðà øðèôòà ïåðâîé áóêâû */
    font-size: 200%; /* Ðàçìåð øðèôòà ïåðâîãî ñèìâîëà */
    color: green; /* Çåëåíûé öâåò òåêñòà */
   }

#bigword4 P:first-letter {
    font-family: "Times New Roman", Times, serif; /* Ãàðíèòóðà øðèôòà ïåðâîé áóêâû */
    font-size: 300%; /* Ðàçìåð øðèôòà ïåðâîãî ñèìâîëà */
    color: red; /* Êðàñíûé öâåò òåêñòà */
   }

#bigword5 P:first-letter {
    font-family: "Times New Roman", Times, serif; /* Ãàðíèòóðà øðèôòà ïåðâîé áóêâû */
    font-size: 200%; /* Ðàçìåð øðèôòà ïåðâîãî ñèìâîëà */
    color: orange; /* Îðàíæåâûé öâåò òåêñòà */
   }

#bigword6 p:first-letter {  float:left;
  padding: 10px;
  margin: 4px 10px 4px 0;
  background: #fff url(fl_bg.jpg) center bottom no-repeat;
  color: red;
  font-size:60px;
  line-height: 1em;
  border: 1px solid #000;}


/*********************/
/* ÄËß ÒÅÍÅÉ ÁËÎÊÎÂ */
/*******************/


/** Ïîâåðíóòûé áîêñ ***/

.rotated {
    position:relative;
    width:80%;
    padding:1em;
    margin:2em 10px 4em;
    background:#fff;
    border-radius:4px;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-border-radius:4px;
    -webkit-box-shadow:none;
       -moz-box-shadow:none;
            box-shadow:none;
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}
 
.rotated > :first-child:before {
    content:"";
    position:absolute;
    z-index:-1;
    top:0px;
    bottom:0;
    left:0;
    right:0px;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}      
 
.rotated:before,
.rotated:after {
        content:"";
        position:absolute;
        z-index:-2;
        bottom:15px;
        left:10px;
        width:50%;
        height:20%;
        max-width:300px;
    -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
       -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}
 
.rotated:after {
    right:10px;
    left:auto;
    -webkit-transform:rotate(3deg);
       -moz-transform:rotate(3deg);
        -ms-transform:rotate(3deg);
         -o-transform:rotate(3deg);
            transform:rotate(3deg);
}
 
.rotated p {
        font-size:12px;
        font-weight:bold;
}



/** Ïðèïîäíÿòûå óãîëêè òåêñò 12 æèðíûé øðèôò***/

.lifted p {
        font-size:12px;
        font-weight:bold;
}
 
.lifted {
        position:relative;
        width:90%;
        padding:1em;
        margin:2em 10px 4em;
        background:#fff;
        border-radius:4px;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        -moz-border-radius:4px;
 
}
 
.lifted:before,
.lifted:after {
        content:"";
        position:absolute;
        z-index:-2;
        bottom:15px;
        left:10px;
        width:50%;
        height:20%;
        max-width:300px;
    -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
       -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}
 
.lifted:after {
    right:10px;
    left:auto;
    -webkit-transform:rotate(3deg);
       -moz-transform:rotate(3deg);
        -ms-transform:rotate(3deg);
         -o-transform:rotate(3deg);
            transform:rotate(3deg);
}

/** Ïðèïîäíÿòûå óãîëêè íå æèðíî ***/

.lifted2 p {
        font-size:10px;
        font-weight:normal;
}
 
.lifted2 {
        position:relative;
        width:70%;
        padding:1em;
        margin:2em 10px 4em;
        background:#fff;
        border-radius:4px;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        -moz-border-radius:4px;
 
}
 
.lifted2:before,
.lifted2:after {
        content:"";
        position:absolute;
        z-index:-2;
        bottom:15px;
        left:10px;
        width:50%;
        height:20%;
        max-width:300px;
    -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
       -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform:rotate(-3deg);
       -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}
 
.lifted2:after {
    right:10px;
    left:auto;
    -webkit-transform:rotate(3deg);
       -moz-transform:rotate(3deg);
        -ms-transform:rotate(3deg);
         -o-transform:rotate(3deg);
            transform:rotate(3deg);
}

/*************************/
/* Òðàíñôîðìàöèÿ ññûëîê */
/***********************/

/** Òðàíñôîðìàöèÿ â ëåâî ***/

.mainview a     {
 display: inline-block;
 padding: 4px;
 outline: 0;
 color: #3a599d;
 -webkit-border-radius: 4px;
 -moz-border-radius: 4px;
 -o-border-radius: 4px;
 border-radius: 4px;
 -webkit-transition-duration: 0.5s;
 -moz-transition-duration: 0.5s;
 -o-transition-duration: 0.5s;
 transition-duration: 0.5s;
 -webkit-transition-property: -webkit-transform;
 -moz-transition-property: -moz-transform;
 -o-transition-property: -o-transform;
 transition-property: transform;
 -webkit-transform: scale(1) rotate(0);
 -moz-transform: scale(1) rotate(0);
 -o-transform: scale(1) rotate(0);
 transform: scale(1) rotate(0);
}
.mainview a:hover {
        background: #3a599d;
        text-decoration: none;
        color: #fff;
        -webkit-transform: scale(1.15) rotate(-5deg);
        -moz-transform: scale(1.15) rotate(-5deg);
        -o-transform: scale(1.15) rotate(-5deg);
        transform: scale(1.15) rotate(-5deg);
}
.mainview a:nth-child(2n):hover {
  -webkit-transform: scale(1.15) rotate(5deg);
  -moz-transform: scale(1.15) rotate(5deg);
  -o-transform: scale(1.15) rotate(5deg);
  transform: scale(1.15) rotate(5deg);
}

/** Òðàíñôîðìàöèÿ âïðàâî ***/

.mainview2 a     {
 display: inline-block;
 padding: 4px;
 outline: 0;
 color: #3a599d;
 -webkit-border-radius: 4px;
 -moz-border-radius: 4px;
 -o-border-radius: 4px;
 border-radius: 4px;
 -webkit-transition-duration: 0.5s;
 -moz-transition-duration: 0.5s;
 -o-transition-duration: 0.5s;
 transition-duration: 0.5s;
 -webkit-transition-property: -webkit-transform;
 -moz-transition-property: -moz-transform;
 -o-transition-property: -o-transform;
 transition-property: transform;
 -webkit-transform: scale(1) rotate(0);
 -moz-transform: scale(1) rotate(0);
 -o-transform: scale(1) rotate(0);
 transform: scale(1) rotate(0);
}
.mainview2 a:hover {
        background: #3a599d;
        text-decoration: none;
        color: #fff;
        -webkit-transform: scale(1.15) rotate(5deg);
        -moz-transform: scale(1.15) rotate(5deg);
        -o-transform: scale(1.15) rotate(5deg);
        transform: scale(1.15) rotate(5deg);
}
.mainview2 a:nth-child(2n):hover {
  -webkit-transform: scale(1.15) rotate(-5deg);
  -moz-transform: scale(1.15) rotate(-5deg);
  -o-transform: scale(1.15) rotate(-5deg);
  transform: scale(1.15) rotate(-5deg);
}

/*********************/
/* Ñòèëü ïîëÿ ââîäà */
/*******************/

/*** FOR CITAT ***/
.blockquote {
    border-left: 3px solid #94CE18;
	padding: 0px 20px;
	/*font-style: italic;*/
	}

/** ïîëå ââîäà ***/

.pole input {
 padding: 5px;
  
 font-size: 12px;
  
 text-shadow: 0px 1px 0px #fff;
  
 outline: none;
  
 background: -webkit-gradient(linear, left top, left bottom, from(#bcbcbe), to(#ffffff));
  
 background: -moz-linear-gradient(top,  #bcbcbe,  #ffffff);
  
 -webkit-border-radius: 3px;
  
 -moz-border-radius: 3px;
  
 border-radius: 3px;
  
 border: 1px solid #717171;
  
 -webkit-box-shadow: 1px 1px 0px #efefef;
  
 -moz-box-shadow: 1px 1px 0px #efefef;
  
 box-shadow:  1px 1px 0px #efefef;

}

.pole input.image-sprites {
  
 padding: 4px 1px 4px 6px;
    
 height: 27px;
  width: 390px;
  
 outline: none;
  
 background: url('sites/default/files/images/input.png') top center no-repeat;
  
 -webkit-border-radius: 0;
  
 -moz-border-radius: 0;
  
 border-radius: 0;
  
 border: 0;
  
 -webkit-box-shadow: 0 0 0;
  
 -moz-box-shadow: 0 0 0;
  
 box-shadow: 0 0 0;

}

  

.pole input.image-sprites:focus {

 background: url('sites/default/files/images/input.png') 
 bottom center no-repeat;
    
 -webkit-box-shadow: 0px 0px 0px;
    
 -moz-box-shadow: 0px 0px 0px;
    
 box-shadow: 0px 0px 0px;
    
 height: 27px;
  
}
  


.pole input.fail {

 -webkit-box-shadow: 0px 0px 5px #ff4848;
  
 -moz-box-shadow: 0px 0px 5px #ff4848;
  
 box-shadow: 0px 0px 5px #ff4848;

}
  
  

.pole input:focus {
  
 -webkit-box-shadow: 0px 0px 5px #007eff;
    
 -moz-box-shadow: 0px 0px 5px #007eff;
    
 box-shadow: 0px 0px 5px #007eff;
  
}

/*********************/
/* Ñòèëüíûå êíîïêè */
/*******************/

/** ñèíàÿ êíîïêà òèï I***/

/*òåã À*/
.ml-button-9 a {
        display: block;
        width: 120px;
        height: 35px;
        border-radius: 4px;
        text-align: center;
        line-height: 35px;
        text-decoration: none;
        font-family: 'Helvetica';
        font-weight: bold;
        font-size: 10pt;
        float: left;
        margin: 10px 20px;
}

/*Normal*/
.ml-button-9 {
        background-color: #80AFCC;
        border: 1px solid #3082AB;
        -moz-box-shadow:inset 0px 0px 1px rgba(61,150,185,1);
        -webkit-box-shadow:inset 0px 0px 1px rgba(61,150,185,1);
        box-shadow:inset 0px 0px 1px rgba(61,150,185,1);
        background-image: -o-linear-gradient(90deg , rgb(125,169,190) 0%, rgb(174,217,241) 100%);
        background-image: -moz-linear-gradient(90deg , rgb(125,169,190) 0%, rgb(174,217,241) 100%);
        background-image: -webkit-linear-gradient(90deg , rgb(125,169,190) 0%, rgb(174,217,241) 100%);
        background-image: -ms-linear-gradient(90deg , rgb(125,169,190) 0%, rgb(174,217,241) 100%);
        background-image: linear-gradient(90deg , rgb(125,169,190) 0%, rgb(174,217,241) 100%);
        color: #135E83;
        text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
}
 
/*Hover*/
.ml-button-9:hover {
        background-color: #AED1E7;
        background-image: -o-linear-gradient(90deg , rgb(152,193,216) 0%, rgb(193,222,239) 100%);
        background-image: -moz-linear-gradient(90deg , rgb(152,193,216) 0%, rgb(193,222,239) 100%);
        background-image: -webkit-linear-gradient(90deg , rgb(152,193,216) 0%, rgb(193,222,239) 100%);
        background-image: -ms-linear-gradient(90deg , rgb(152,193,216) 0%, rgb(193,222,239) 100%);
        background-image: linear-gradient(90deg , rgb(152,193,216) 0%, rgb(193,222,239) 100%);
}
 
/*Active*/
.ml-button-9:active {
        background-color: #72A0BA;
        -moz-box-shadow:inset 0px 0px 5px rgba(61,150,185,1);
        -webkit-box-shadow:inset 0px 0px 5px rgba(61,150,185,1);
        box-shadow:inset 0px 0px 5px rgba(61,150,185,1);
        background-image: -o-linear-gradient(90deg , rgb(174,217,241) 0%, rgb(125,169,190) 100%);
        background-image: -moz-linear-gradient(90deg , rgb(174,217,241) 0%, rgb(125,169,190) 100%);
        background-image: -webkit-linear-gradient(90deg , rgb(174,217,241) 0%, rgb(125,169,190) 100%);
        background-image: -ms-linear-gradient(90deg , rgb(174,217,241) 0%, rgb(125,169,190) 100%);
        background-image: linear-gradient(90deg , rgb(174,217,241) 0%, rgb(125,169,190) 100%);
        text-shadow: none;
}

/*******************/
/** êíîïêà òèï II ***/
/*******************/

/* ÷åðíàÿ êíîïêà */
.button, .button:visited {
        background: #222 url(overlay.png) repeat-x;
        display: inline-block;
        padding: 5px 10px 6px;
        color: #fff;
        text-decoration: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        position: relative;
        cursor: pointer
}

/* çåëåíàÿ êíîïêà */
.button_green, 
.button_green:visited {
        background: #91bd09 repeat-x;
        display: inline-block;
        padding: 5px 10px 6px;
        color: #fff;
        text-decoration: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        position: relative;
        cursor: pointer
}


/* ñèíàÿ êíîïêà */
.button_blue, 
.button_blue:visited {
        background: #2981e4 repeat-x;
        display: inline-block;
        padding: 5px 10px 6px;
        color: #fff;
        text-decoration: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        position: relative;
        cursor: pointer
}

a.button_blue {
  color: #fff;
}


/* æåëòàÿ êíîïêà */
.button_yellow, 
.button_yellow:visited {
        background: #ffb515 repeat-x;
        display: inline-block;
        padding: 5px 10px 6px;
        color: #fff;
        text-decoration: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        position: relative;
        cursor: pointer
}

a.button_yellow {
  color: #fff;
}
/* áåëàÿ êíîïêà */
.button_white, 
.button_white:visited {
        background: #fff repeat-x;
        display: inline-block;
        padding: 5px 10px 6px;
        color: #000000;
        text-decoration: none;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
        text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
        border-bottom: 1px solid rgba(0,0,0,0.25);
        position: relative;
        cursor: pointer
}

/*******************/
/** Îáúåìíûå áóêâû ***/
/*******************/

/* òèï 1 */
.StyleWord10 {
        color: rgba(0,0,0,0.6);
  text-shadow: 2px 8px 6px rgba(0,0,0,0.2),0px -5px 35px rgba(255,255,255,0.3);
}

/* òèï 2 */
.StyleWord12 {
        color: rgba(0,0,0,0.6);
  text-shadow: 2px 8px 6px rgba(0,0,0,0.2),0px -5px 35px rgba(255,255,255,0.3);
                
}

/***********************************************/
/****** СТИЛИ для анонсов ВИДЕО и ТОП ********/
/*******************************************/

.flex-container-0 {
    
    margin: 20px;
    display: flex;
    flex-direction: row; /*направление оси слева-направо*/
    justify-content: center; /*выравнивание относительно главной оси по центрy*/
    align-items baseline;/*растягивание элементов относительно второстепенной оси*/

    flex-wrap: wrap;/*разрешает переносить строки*/
}

.flex-container-2 {
    
    display: flex;
    flex-direction: column; /*направление оси сверху в низ*/
    justify-content: flex-start; /*выравнивание слева на право, справа на лево или по центр (относительно главной оси)*/
    align-items base;/*растягивание элементов относительно второстепенной оси*/
    align-content: flex-start;/*выравнивает и перебивает значение align-items*/
}

.flex-item-v2 {
    padding: 10px;
    margin: 10px;
    text-align:center;
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px;
    flex-wrap: wrap;
}

.flex-item-1 {
    padding: 10px;
    margin: 10px;

}

.flex-item-2 {
    padding: 10px;
    margin: 10px;
    width: 60%;

}
.flex-item-3 {
    padding: 10px;
    margin: 10px;
    width: 60%;

}

.flex-item img {
    margin:5px auto 5px;
}

#adsense_links_728_15 {

  margin: 10px;
  
}


/****************************************************0000000000000000000000000000000000000000000000000000000000000000000000000000000*****/
/********* ADAPTIV CSS************************/
/*****************************************************/
/*******************************************000000000000000000000000000000000000000000000000000000000000000******************************/

.bgvideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -9999;                    
}

.feed-icon {
  display: none;
}


#live_internet img {
  width: 88px;
}

.content_top_menu {
  overflow: hidden;
  padding-top: 20px;
}

.anons_for_header_midle{
  overflow: hidden;
  
}

.anons_for_header_midle img {
  height: 50px;
}

.video-responsive { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow:hidden; 
} 
 
.video-responsive iframe, 
.video-responsive object, 
.video-responsive embed {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%; 
}


#logo img
{
  width: 100%;
}

#adsense-top-for-moble-version {
  padding-top: 10px;
  display: none;
}

/********* для кнопки "Показать еще"" в блоках моб версия и др.************************/
.flat_button.secondary {
    background-color: #e5ebf1;
    color: #55677d;
    margin-top: 5px;
    margin-bottom: 10px;
}
.wcomments_more {
    width: 100%;
    line-height: 25px;
    font-size: 13px;
    font-weight: 500;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    margin-bottom: 15px;
}
.flat_button {
    padding: 7px 16px 8px;
    margin: 0;
    font-size: 12.5px;
    display: inline-block;
    zoom: 1;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    font-family: -apple-system,BlinkMacSystemFont,Roboto,Open Sans,Helvetica Neue,sans-serif;
    vertical-align: top;
    line-height: 15px;
    text-align: center;
    text-decoration: none;
    background: none;
    background-color: #5e81a8;
    color: #fff;
    border: 0;
    border-radius: 2px;
    box-sizing: border-box;
}

#qw1 img {
    width: 10px;
    display: none;
}

#show_popup {
  display: none;
  z-index: 800;
}
#show_popup_top {
  display: none;
  z-index: 800;
}

#close_popup {
  display: none;
}
#close_popup_top {
  display: none;
}

  .flex-center-contaner {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

 .flexcenteritems {
    margin: 30px;
    color: black; 
    opacity: 1.0;
 }

 .flexcenteritems a {
    
    color: white; 
    opacity: 1;
    z-index: 10000;
    float: none;
    
 }

#overlay {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
    z-index: 999;
    display: none;
    font-size: 1.5em;
    
}

#overlay_top {
    background: #000;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
    z-index: 999;
    display: none;
    font-size: 1.5em;
}

#close_popup {
  width: 50px;
  
  background: url(/m/pic/close.png) no-repeat;
  cursor: pointer;
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 1000;
  display: none;
}

/***** STYLE for FLEX *****/
/*** Равномерное распределение по оси Х ***/
.flex-row-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  /**border-top: 1px solid #cccccc;*//
  align-items: center;

}
.flex-row-items {
  margin-top: 5px;
  margin-left: 15px;
}
.flex-row-cont-sms {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      border-top: 1px solid #cccccc;
      align-items: center;

}
.flex-row-cont-sms-2 {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      /*border-top: 1px solid #cccccc;*/
      align-items: center;

}
.flex-row-items-sms-2 {
      margin-top: 5px;
      margin-left: 15px;
    }
.flex-row-items-sms {
      margin-top: 5px;
      margin-left: 15px;
    }

.flex-row-items-sms img {
  width: 25px;
}

.adsense-top-for-moble-version {
  display: none;
}
.adsense-top-for-ful-version-to {
  display: none;
}

.form_number_phone {
    margin:0px 15%;
}

@media screen and (min-width:1100px) and (max-width:2024px) {

  #ex10{
    font-size: 1.3em;
  }
  #ex10 p {
    font-size: 1.3em;
  }
  #ex10 div {
    font-size: 1.3em;
  }

  #main-link_menu_top {
    display: none;
  }

  .adsense-top-for-ful-version-to {
    display: block;
  }
   
  #main {
      max-width: 980px;
      width: 100%;

  }
   
  body.layout-first-main #sidebar-first {
    max-width: 235px;
    width: 100%;

  }

  .rnd_8pic {

    width: 70%;
    margin: 0 auto;
   

    margin: 25px;
    opacity: 0.8;
    border: 10px solid #eee;
   
    /*transition*/
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
   
    /*îòðàæåíèå*/
    -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.1)));
  }

  .in_content_top_menu {
    float: left;
    margin-left: 35px;
  }


}

@media screen and (min-width:994px) and (max-width:1100px) {
 
  #main-link_menu_top {
    display: none;
  }

  #adsense-top-for-ful-version-to {
    display: block;
  }
   
  #main {
      max-width: 980px;
      width: 100%;

  }
   
  body.layout-first-main #sidebar-first {
    max-width: 235px;
    width: 100%;

  }

  .rnd_8pic {

    width: 70%;
    margin: 0 auto;
   

    margin: 25px;
    opacity: 0.8;
    border: 10px solid #eee;
   
    /*transition*/
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
   
    /*îòðàæåíèå*/
    -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(.7, transparent), to(rgba(0,0,0,0.1)));
  }

  .in_content_top_menu {
    float: left;
    margin-left: 35px;
  }


  .bgvideo {
    display: none;
  }
   
  #loadImg1_op, #loadImg2_op, #loadImg3_op, #loadImg_pay_op, #loadImg_5_op, #loadImg_6_op{
    width: 16px;
  }


}

@media screen and (min-width:749px) and (max-width:995px) {


  #main-link_menu_top {
    display: none;
  }


  .adsense-top-for-moble-version {
    display: block;
  }
   
  #main {
      max-width: 980px;
      width: 100%;

  }
   
  /* content*/

  body.layout-first-main #content-wrapper {
       
   width:100%;
   margin-right:0px;
  }

  #content-wrapper {
      float:none;
  }

  #preface-wrapper {
      width: 100%;
  }
      

  body.layout-first-main #sidebar-first {

    width: 100%;
  }

  #header-wrapper {
    display: none;
  }

  #primary-menu {
    font-size: 10px;
  }

  #preface-wrapper {
    font-size: 1em;
  }

  .rnd_8pic {
    width: 70%;
    margin: 2px 2px 2px 2px;
    text-align: center;
  }

  #preface {
    min-height: 50px;
  }

  .in_content_top_menu {
    float: left;
    margin-left: 25px;
  }

  .bgvideo {
    display: none;
  }

  #loadImg1_op, #loadImg2_op, #loadImg3_op, #loadImg_pay_op, #loadImg_5_op, #loadImg_6_op{
    width: 16px;
  }

  .form_number_phone {
      margin:0px 7%;
  }

}

@media screen and (min-width:599px) and (max-width:750px) {

  body {
    font-size: 1.5em;
  }

  body p {
    font-size: 1.5em;
  }
  
  #main-link_menu_top {
    display: none;
  }

  .adsense-top-for-moble-version {
    display: block;
  }

    #main {
      max-width: 980px;
      width: 100%;

  }
   
  /* content*/

  body.layout-first-main #content-wrapper {
       
   width:100%;
   margin-right:0px;
  }

  #content-wrapper {
      float:none;
  }

  #preface-wrapper {
      width: 100%;
  }
      

  body.layout-first-main #sidebar-first {

    width: 100%;
  }

  #header-wrapper {
    display: none;
  }

  #primary-menu {
    font-size: 10px;
  }

  #preface-wrapper {
    font-size: 1em;
  }

  .rnd_8pic {
    width: 70%;
    margin: 2px 2px 2px 2px;
    text-align: center;
  }



  #preface {
    min-height: 50px;
  }

  .in_content_top_menu {
    float: left;
    margin-left: 20px;
  }

  .text_pre_last {
    display: none;
  }

  .bgvideo {
    display: none;
  }



  /****** MOBLE CIRCLE MENU *******/

  #show_popup_top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 6%;
    display: block;
  }

  #show_popup {
      display: none;
  }

  .form_number_phone {
      margin:0px 5%;
  }

  	.none_block_mob_version {
		display: none;
	}

}


@media screen and (min-width:100px) and (max-width:600px) {

	.none_block_mob_version {
		display: none;
	}

  body {
    font-size: 1.3em;
  }

  body p {
      font-size: 1.5em;
    }

  #primary-menu-wrapper {
    display: none;
  }

  .adsense-top-for-moble-version {
    display: block;
  }
   
  #main {
      max-width: 980px;
      width: 100%;

  }
   
  /* content*/

  body.layout-first-main #content-wrapper {
       
   width:100%;
   margin-right:0px;
  }

  #content-wrapper {
      float:none;
  }

  #preface-wrapper {
      width: 100%;
  }
      

  body.layout-first-main #sidebar-first {

    width: 100%;
  }

  #header-wrapper {
    display: none;
  }

  #primary-menu {
    font-size: 7px;
  }

  #preface-wrapper {
    font-size: 0.7em;
  }



  .view-content img {
    width: 60%;
    height: 45%;
  }

  .pager {
  	font-size: 7.5pt;
  }

  #overlay {
  	font-size: 14pt;
  }

  #ex10 img {
    width: 100%;
    margin: 0px;
    border: 0px solid #eee;
    -webkit-box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
  }

  #ex1010 {
    width: 60%;

    margin: 0 auto;
  }
   
  #ex1010 img {
    margin: 20px;
    border: 5px solid #eee;
    -webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
    -moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
    box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
  }



  .anons_for_header_midle div{
    overflow: hidden;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    
  }


  #ex1010.anons_for_header_midle img {
    width: 60%;
    height: 60%;
  }

  #ex1010.for_midell_blok img {
    width: 60%;
    height: 60%;
  }

  .for_midell_blok div {
   float: none;
    
  }

  .for_midell_blok_2 {
    margin-left: 35px;
    margin-right: 35px;
    

  }

  .mms_4pic img {
    width: 75%;
    margin: 2px 2px 2px 2px;
  }

  .rnd_8pic {
    width: 100%;
    margin: 2px 2px 2px 2px;
    text-align: center;
  }

  .rnd_8smstext {
    display: none;
  }

  .content img {
    width: 85%;
    margin-left: 2px 2px 2px 2px;

  }

  .flex-item-v2 img {
    width: 100%;
    height: 100%;
    margin-left: 2px 2px 2px 2px;
  }

  #preface {
    min-height: 50px;
  }

  .in_content_top_menu {
    float: left;
    margin-left: 10px;
  }

  .text_pre_last {
    display: none;
  }

  .bgvideo {
    display: none;
  }

  /****** MOBLE CIRCLE MENU *******/

  #show_popup_top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 12%;
    display: block;
  }

  #show_popup {
      position: fixed;
      left: 8px;
      top: 10px;
      /* bottom: 18px; */
      width: 30px;
      display: block;
  }

  #adsense-top-for-moble-version {
    display: block;
    width: 100%;
    background-color: white;
  }

  .adsense-sms-adaptiv-first {
    display: none;
  }

  #loadImg1_op, #loadImg2_op, #loadImg3_op, #loadImg_pay_op, #loadImg_5_op, #loadImg_6_op{
    width: 16px;
  }

  .form_number_phone {
      margin:0px 3%;
  }

  /*ADAPTIV MENU */


}