/*Цвет body и другие параметры*/
body {
    padding-top: 70px;
}

.body-img {
    background-image: url(images/ce_back_01.jpg); /* Путь к фоновому изображению, фото Alan Lam / Flickr */
    background-position: inherit; /* Положение фона */
    background-repeat: inherit; /* Отменяем повторение фона */
    background-color: #F4F4F4;
    background-attachment: fixed;
}
.body-img2 {
    background-image: url(images/ce_back_02.jpg); /* Путь к фоновому изображению, фото Alan Lam / Flickr */
    background-position: inherit; /* Положение фона */
    background-repeat: inherit; /* Отменяем повторение фона */
    background-color: #F4F4F4;
    background-attachment: fixed;
}
.body-color {
    background-color: #EEEEEE;
}

.body-grey {
    background-color: #E7E8E9;
}
.body-layer {
    background-image: url(images/09.png); /* Путь к фоновому изображению */
    background-repeat: repeat;
}

.body-padding-margin {
    margin-top:20px;
}

.div-middle-wrap{
    display: block;
    margin-top: 20px;
}
.div-bottom-padding {
    padding-bottom: 32px;
}

/*Выравниваем блоки*/
.wrapper-outer-middle {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
}
.wrapper-inner-middle {
  display: table-cell;
  vertical-align: middle;
}
.vertical-center {
  min-height: 100%;  /* Fallback for vh unit */
  min-height: 80vh; /* You might also want to use
                        'height' property instead.

                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.

                        In this case the parent of '.vertical-center'
                        is the <body> element */

  /* Make it a flex container */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;

  /* Align the bootstrap's container vertically */
    -webkit-box-align : center;
  -webkit-align-items : center;
       -moz-box-align : center;
       -ms-flex-align : center;
          align-items : center;

  /* In legacy web browsers such as Firefox 9
     we need to specify the width of the flex container */
  width: 100%;

  /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.

     Therefore, we should use the following declarations to get it centered again */
         -webkit-box-pack : center;
            -moz-box-pack : center;
            -ms-flex-pack : center;
  -webkit-justify-content : center;
          justify-content : center;
}

/*Оформляем заголовок. Плашка серого цвета и нижним stroke*/
.header-brand {
    display: block;
    background-color: #FFFFFF;
    min-height: 60px;
    border-bottom:10px solid rgba(0,0,0,0.07);
    width:100%;
    opacity: 0.99;
    z-index: 999;
}

.navbar-nav {
    padding: 5px;
    margin: 0px;
    min-height: 60px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    color: #8E8E8E;
    text-align: center;
}


/*Центрируем лого*/
.logo-center {
    display: inline-block;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 50%;
    margin-left: -22px;
}

/*Титульная страница*/
.h1-white {
    display: block;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    vertical-align: middle;
}
.h1-orange {
    display: block;
    color: #ffba00;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 32px;
}
.h1-blue {
    display: block;
    color: #46497C;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.6em;
    font-weight: 500;
    margin-bottom: 32px;
}
.h2-black {
    display: inline-block;
    color: #8C8C8C;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.8em;
    font-weight: 100;
    margin-bottom: 32px;
    max-height: 60px;
}
.h2-black2 {
    display: block;
    background-color: #EFEFEF;
    color: #000000;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 32px;
    padding: 10px;
}
.h2-blue {
    display: block;
    color: #46497C;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    margin-bottom: 15px;
}
.h2-report {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    color: #8E8E8E;
    text-align: center;
}
.h3-report {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.0em;
    font-weight: 700;
    color: #000000;
    text-align: left;
}
.table-name {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.0em;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

.p-white {
    display: block;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    vertical-align: middle;
    margin-top: 10px;
}
.p-black {
    display: block;
    color: #000000;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 10px;
}

.p-black-center {
    display: block;
    color: #000000;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 10px;
}

p {
    font-family: 'Open Sans' ,sans-serif;
    font-size: 0.975em;
    font-weight: 400;
}

.p-white > a {
color: white;
}

.p-red {color:red;}

tbody {
    font-family: 'Open Sans' ,sans-serif;
    font-size: 1.0em;
    font-weight: 300;
}

thead {
    padding: 10px;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 1.2em;
    font-weight: 600;
}

.th-max {font-size: 1.1em;}
.th-red {color: red;}
.th-green {color: green;}

.th-50, .td-50 {
    width: 50%;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 1.0em;
    font-weight: 300;
}
.th-25, .td-25 {
    width: 25%;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 1.0em;
    font-weight: 300;
}
.th-12-5, .td-12-5 {
    width: 12.5%;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 1.0em;
    font-weight: 300;
}
.th-8-33, .td-8-33 {
    width: 8.33%;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 0.9em;
    font-weight: 300;
}
.th-16-66, .td-16-66 {
    width: 16.66%;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 0.9em;
    font-weight: 300;
}
.th-75, .td-75 {
    width: 75%;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 1.0em;
    font-weight: 300;
}

.fa-10x {
font-size: 10em;
text-align: center;
}

.fa-15x {
font-size: 15em;
text-align: center;
}

.btn-orange {
    display: inline-block;
    min-weight: 160px;
    padding: 21px 48px;
    color: #FFFFFF;
    background-color: #f0ad4e;
}

.p-white > .btn-orange {margin-bottom: 30px}

.btn-blue {
    display: inline-block;
    min-weight: 160px;
    padding: 21px 48px;
    color: #FFFFFF;
    background-color: #269abc;
}
.btn-purple {
    display: inline-block;
    min-weight: 160px;
    padding: 21px 48px;
    color: #FFFFFF;
    background-color: #c9302c;
}
.btn-grey {
    display: inline-block;
    min-weight: 160px;
    padding: 21px 48px;
    color: #FFFFFF;
    background-color: #C4C4C4;
}

/*Кнопка гамбургера*/
button > .fa-bars {font-size: 1.4em;}

.txt-block-white {
    display: inline-block;
    width: 100%;
    background-color: #FFFFFF;
    padding: 50px;
    margin-top: 32px;
    opacity: 1.00;
}
.flash {
    display: inline-block;
    background-color: red;
    color: white;
    padding: 20px;
    text-align: center;
    font-family: 'Roboto Slab', sans-serif;
    font-size: 1.0em;
    font-weight: 500;
    margin-bottom: 32px;
}

.img_100 {
    display: block;
    width: 100%;
    max-width: 1070px;
}
.img_100_250 {
    display: block;
    max-height: 250px;
}

/* Скрываем буллеты у списков в формах */
#dv_type, #beam_fix_type, #lam_lim, #sq_type, #tu_type, #time_duration, #type_of_struc, #uls_sls, #arm_type, #sw_type, #area_type, #tens_comp, #anchor_type, #temp_range, #qq_direct, #type_room, #type_constr, #s_t, #wind_zone, #type_zone, #type_soil, #type_struct, #test_type, #type_found, #water_or_waterproof {
    list-style-type: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 100;
    padding-left: 0px;
}

ul > li > label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.0em;
    font-weight: 500;
    }

select {
    width: 100%;
}

/*Стиль кнопки SUBMIT*/
#submit {
    border: 1px solid #C1C2D3;
    color: #FFFFFF;
    background-color: #C1C2D3;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2em;
    font-weight: 100;
    padding: 10px 20px;
}
#submit:hover {
    border: 1px solid #C1C2D3;
    color: #C1C2D3;
    background-color: #FFFFFF;
}

input {
    border: 1px solid #C1C2D3;
    color: #7A7A7A;
    background-color: #FFFFFF;
    padding: 5px 10px;
}

/* скрываем чекбоксы и блоки с содержанием */
        .hide, .hide + label ~ div {
            display: none;
        }
        /* вид текста label */
        .hide + label,
        .hide:checked + label {
            padding: 0;
            color: green;
            cursor: pointer;
            border-bottom: 1px dotted green;
            margin-bottom: 10px;
        }
        /* вид текста label при активном переключателе */
        .hide:checked + label {
            color: red;
            border-bottom: 0;
        }
        /* когда чекбокс активен показываем блоки с содержанием  */
        .hide:checked + label + div {
            display: block;
            background: #FFFFFF;
            border: 1px solid #E7E7E7;
            padding: 15px;
            margin-bottom: 20px;
        }
/* скрываем чекбоксы и блоки с содержанием */

/* Рекламный блок */
g-add {
    display:block;
    padding: 20px;
}

/* Mailchimp */
#mc_embed_signup {
    display: block;
    /* background: #E7E7E7;
    opacity: 0.90; */
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #E7E7E7;
    font-family: 'Open Sans' ,sans-serif;
    font-size: 0.975em;
    font-weight: 400;
    padding: 10px 20px;
}

/* Цвет текста формы Mailchimp */
#mc_embed_signup_scroll > label {color: white;}

/*-------------------------------------Социальные кнопки----------------------------------------------*/
.social {
    margin: 0;
    padding: 0;
}

.social ul {
    margin: 0;
    padding: 5px;
}

.social ul li {
    margin: 5px;
    list-style: none outside none;
    display: inline-block;
}

.social i {
    width: 40px;
    height: 40px;
    color: #FFF;
    background-color: #909AA0;
    font-size: 22px;
    text-align:center;
    padding-top: 12px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -o-border-radius: 50%;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

.social i:hover {
    color: #FFF;
    text-decoration: none;
    transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -webkit-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
}

