@charset "UTF-8";

/* bitrix editor tag visualing */

body[contenteditable] div,
body[contenteditable] p,
body[contenteditable] h1,
body[contenteditable] h2,
body[contenteditable] h3,
body[contenteditable] h4,
body[contenteditable] h5,
body[contenteditable] h6{
    border: 1px dotted #d2d2d2;
    padding: 3px;
    position: relative;
}

body[contenteditable] img:before,
body[contenteditable] div:before,
body[contenteditable] p:before,
body[contenteditable] h1:before,
body[contenteditable] h2:before,
body[contenteditable] h3:before,
body[contenteditable] h4:before,
body[contenteditable] h5:before,
body[contenteditable] h6:before{
    font-family: monospace;
    display: block;
    position: absolute;
    padding: 0 2px;
    top: 0;
    right: 0;
    background: #d2d2d2;
    color: white;
    font-size: 10px;
    line-height: 1;
}

body[contenteditable] div:before{ content: 'div'; }
body[contenteditable] p:before{ content: 'p'; }
body[contenteditable] h1:before{ content: 'h1'; }
body[contenteditable] h2:before{ content: 'h2'; }
body[contenteditable] h3:before{ content: 'h3'; }
body[contenteditable] h4:before{ content: 'h4'; }
body[contenteditable] h5:before{ content: 'h5'; }
body[contenteditable] h6:before{ content: 'h6'; }

body[contenteditable] .snippet-modul {
    background-color: #edf2f3 !important;
    background-image: -webkit-linear-gradient(top, #f1f5f6, #e9eff1) !important;
    background-image: -moz-linear-gradient(top, #f1f5f6, #e9eff1) !important;
    background-image: -ms-linear-gradient(top, #f1f5f6, #e9eff1) !important;
    background-image: -o-linear-gradient(top, #f1f5f6, #e9eff1) !important;
    background-image: linear-gradient(to bottom, #f1f5f6, #e9eff1) !important;
    border: 2px solid #9a9fa8 !important;
    border-radius: 3px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 1px 3px -5px 3px !important;
    width: auto !important;
    line-height: 12px !important;
    font-size: 13px;
    font-family: monospace;
    padding: 5px 7px !important;
}

body[contenteditable] .snippet-modul:before{
    content: 'module';
}

body[contenteditable] .column2 .bxhtmled-video-surrogate {
    max-width: 100% !important;
    min-width: auto !important;
    min-height: auto !important;
    height: 240px !important;
}

/**/

div.bx-component-opener {z-index: 9996 !important;}

/* 

STYLE

-----------------------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

html {
    height: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}

body {
    font: 18px/23px 'PT Sans', sans-serif;
    height: 100%;
    background-color: #f0f0f0;
    color: #505050;
}

table td{
    vertical-align: top;
}

table[border]{
    border: 0;
    border-top: 1px solid #E0E0E0;
    border-left: 1px solid #E0E0E0;
    border-spacing: 0;
}

table[border] td,table[border] th{
    border: 0;
    border-bottom: 1px solid #E0E0E0;
    border-right: 1px solid #E0E0E0;
    padding: 10px 15px;
}

img{
    max-width: 100%;
    height: auto;
}

img[align="left"] {
    margin: 0 20px 15px 0;
}

img[align="right"] {
    margin: 0 0 15px 20px;
}

p{
    margin-bottom: 20px;
    color: #505050;
}

ul, ol {
    margin-left: 30px;
    list-style-type: square;
}

ul li, ol li, ul li p, ol li p {
    margin-bottom: 20px;
}

a{
    color: #505050;
    cursor: pointer;
    text-decoration: underline;
}

a:hover{
    background-color: white;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 20px;
  font-weight: normal;
  color: #505050;
}

h1, .h1 {
  font-size: 40px;
  margin-bottom: 34px;
  line-height: 1.2;
}

h2, .h2 {
  font-size: 28px;
  letter-spacing: 0;
  font-weight: bold;
  line-height: 29px;
}

h3, .h3 {
  font-size: 21px;
  font-weight: bold;
}

h4, .h4 {
  font-size: 17px;
  font-weight: bold;
}

iframe[allow] {
    max-width: 100%;
    max-height: 48vw;
}

input, textarea, select {
    outline: none;
}

input[type="submit"],
input[type="button"]{
    cursor: pointer;
    font: 18px/23px 'PT Sans', sans-serif;
}

hr {
    border: 0;
    border-top: 8px solid #ffd000;
    margin-bottom: 20px;
}

hr.medium, .hr_medium {
    margin-bottom: 24px;
    width: 80px;
}

hr.small, .hr_small {
    border-top: 4px solid #ffd000;
    width: 60px;
}


/**/

.button, a.button, .footer a.button {
    background-color: #ffd000;
    display: inline-block;
    padding: 8px 16px 9px;
    cursor: pointer;
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    color: #505050;
}

a.button:focus, a.button:hover {
    text-decoration: none;
}


/**/

/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
width: 100%;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}


/*Увеличение фото*/
td {
    overflow:hidden;
}

td img {
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
}
 
td img:hover{
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

/**/

@media (max-width: 1000px){
    h1, .h1 {
      font-size: 36px;
    }
    
    h2, .h2 {
      font-size: 26px;
    }
}

@media (max-width: 800px){
    h1, .h1 {
      font-size: 32px;
    }
    
    h2, .h2 {
      font-size: 23px;
    }
    
    h3, .h3 {
      font-size: 21px;
    }
}

@media (max-width: 600px){
    h1, .h1 {
      font-size: 26px;
    }
    
    h2, .h2 {
      font-size: 21px;
    }
    
    h3, .h3 {
      font-size: 19px;
    }
}

table {
    table-layout: fixed;
    width: 100%;
    /*border:1px solid;
    border-collapse: collapse;*/
}