select {
    height: auto;
    line-height: auto;
}
select option {
    padding-right: 10px;
}
.label {
    text-shadow: none;
    font-weight: normal;
    white-space: normal;
}
.radio, 
.checkbox {
    min-height: 12px;
    display: inline-block;
}
input[type="radio"], 
input[type="checkbox"] {
    margin-top: -2px;
}
th.label,
td.label {
    display: table-cell;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
}
table {
    border-collapse: separate;
}
small {
    line-height: 1;
}
.dropdown-menu {
    max-width: inherit;
}
.dropdown-menu a {
    padding-left: 0;
    padding-right: 0;
}
[class^="icon-"], [class*=" icon-"] {
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    vertical-align: text-top;
    padding: 0;
}
.icon-contacts {
    width: 35px;
    height: 35px;
    line-height: 35px;
    background-size: 35px 35px;
    border-radius: 35px;
    -webkit-border-radius: 35px;
       -moz-border-radius: 35px;
            border-radius: 35px;
    behavior: url(border-radius.htc);
}
form {
    margin-bottom: 0;
}
.container {
  margin: auto;
  margin-left: auto;
}
.container:before,
.container:after {
  display: table;
  content: " ";
}
.container:after {
  clear: both;
}
.container:before,
.container:after {
  display: table;
  content: " ";
}
.container:after {
  clear: both;
}
.row {
    width: 100%;
}
.row.gray {
    background-color: #e5e5e5;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.row:before,
.row:after {
  display: table;
  content: " ";
}
.row:after {
  clear: both;
}
.row:before,
.row:after {
  display: table;
  content: " ";
}
.row:after {
  clear: both;
}
/*.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11 {
  float: left;
}
.col-1 {
  width: 8.333333333333332%;
}
.col-2 {
  width: 16.666666666666664%;
}
.col-3 {
  width: 25%;
}
.col-4 {
  width: 33.33333333333333%;
}
.col-5 {
  width: 41.66666666666667%;
}
.col-6 {
  width: 50%;
}
.col-7 {
  width: 58.333333333333336%;
}
.col-8 {
  width: 66.66666666666666%;
}
.col-9 {
  width: 75%;
}
.col-10 {
  width: 83.33333333333334%;
}
.col-11 {
  width: 91.66666666666666%;
}
.col-12 {
  width: 100%;
}*/

.offset10 {
    margin-left: 10px;
}
.offset20 {
    margin-left: 20px;
}
.offset30 {
    margin-left: 30px;
}

[class*="grid-"] li,
[class*="col-"] {
    float: left;
}

.grid-lg-2 > li,
.grid-lg-3 > li,
.grid-lg-4 > li,
.col-lg-2,
.col-lg-3,
.col-lg-3x2,
.col-lg-4,
.col-lg-2:nth-of-type(2n+1),
.col-lg-3:nth-of-type(3n+1),
.col-lg-3x2:nth-of-type(3n+1),
.col-lg-4:nth-of-type(4n+1) {
    float: left;
    clear: none;
}
.grid-lg-1 > li,
.col-lg-1 {
    width: 100%;
    margin: 0;
}
.grid-lg-2 > li,
.col-lg-2 {
    width: 48%;
    margin-right: 4%;
}
.grid-lg-3 > li,
.col-lg-3 {
    width: 31%;
    margin-right: 3.5%;
}
.grid-lg-4 > li,
.col-lg-4 {
    width: 23.5%;
    margin-right: 2%;
}
.grid-lg-2 > li:nth-of-type(2n),
.grid-lg-3 > li:nth-of-type(3n),
.grid-lg-4 > li:nth-of-type(4n),
.col-lg-2.last,
.col-lg-3.last,
.col-lg-4.last,
.col-lg-2:nth-of-type(2n),
.col-lg-3:nth-of-type(3n),
.col-lg-4:nth-of-type(4n) {
    margin-right: 0;
}
.grid-lg-2 > li:nth-of-type(2n+1),
.grid-lg-3 > li:nth-of-type(3n+1),
.grid-lg-4 > li:nth-of-type(4n+1),
.col-lg-2:nth-of-type(2n+1),
.col-lg-3:nth-of-type(3n+1),
.col-lg-4:nth-of-type(4n+1) {
    clear: left;
}
.col-lg-3x2 {
    width: 65.5%;
    margin-right: 3.5%;
}

[class*="col-"]:last-child {
    margin-right: 0;
}

.container {
    max-width: 1000px;
}

@media (max-width: 1199px) {
    .container {
        max-width: 790px;
    }
}
@media (max-width: 991px) {
    .container {
        max-width: 728px;
    }
    .grid-md-2 > li:nth-of-type(1n),
    .grid-md-3 > li:nth-of-type(1n),
    .grid-md-4 > li:nth-of-type(1n),
    .col-md-2,
    .col-md-3,
    .col-md-3x2,
    .col-md-4,
    .col-md-2:nth-of-type(2n+1),
    .col-md-3:nth-of-type(3n+1),
    .col-md-3x2:nth-of-type(3n+1),
    .col-md-4:nth-of-type(4n+1) {
        float: left;
        clear: none;
    }
    .grid-md-1 > li,
    .grid-md-1 > li:nth-of-type(1n),
    .col-md-1 {
        width: 100%;
        margin: 0 0 20px;
    }
    .grid-md-2 > li:nth-of-type(1n),
    .col-md-2 {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 20px;
    }
    .grid-md-3 > li:nth-of-type(1n),
    .col-md-3 {
        width: 31%;
        margin-right: 3.5%;
        margin-bottom: 20px;
    }
    .grid-md-4 > li:nth-of-type(1n),
    .col-md-4 {
        width: 23.5%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    .grid-md-2 > li:nth-of-type(2n),
    .grid-md-3 > li:nth-of-type(3n),
    .grid-md-4 > li:nth-of-type(4n),
    .col-md-2.last,
    .col-md-3.last,
    .col-md-4.last,
    .col-md-2:nth-of-type(2n+0),
    .col-md-3:nth-of-type(3n),
    .col-md-4:nth-of-type(4n) {
        margin-right: 0;
    }
    .grid-md-2 > li:nth-of-type(2n+1),
    .grid-md-3 > li:nth-of-type(3n+1),
    .grid-md-4 > li:nth-of-type(4n+1),
    .col-md-2:nth-of-type(2n+1),
    .col-md-3:nth-of-type(3n+1),
    .col-md-4:nth-of-type(4n+1) {
        clear: left;
    }
    .col-md-3x2 {
        width: 65.5%;
        margin-right: 3.5%;
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .container {
        width: 440px;
    }
    .grid-sm-2 > li:nth-of-type(2n),
    .grid-sm-3 > li:nth-of-type(3n),
    .grid-sm-4 > li:nth-of-type(4n),
    .col-sm-2,
    .col-sm-3,
    .col-sm-3x2,
    .col-sm-4,
    .col-sm-2:nth-of-type(2n+1),
    .col-sm-3:nth-of-type(3n+1),
    .col-sm-3x2:nth-of-type(3n+1),
    .col-sm-4:nth-of-type(4n+1) {
        float: left;
        clear: none;
    }
    .grid-sm-1 > li:nth-of-type(1n),
    .col-sm-1 {
        width: 100%;
        margin: 0;
    }
    .grid-sm-2 > li:nth-of-type(1n),
    .col-sm-2 {
        width: 48%;
        margin-right: 4%;
    }
    .grid-sm-3 > li:nth-of-type(1n)
    .col-sm-3 {
        width: 31%;
        margin-right: 3.5%;
    }
    .grid-sm-4 > li:nth-of-type(1n),
    .col-sm-4 {
        width: 23.5%;
        margin-right: 2%;
    }
    .grid-sm-2 > li:nth-of-type(2n),
    .grid-sm-3 > li:nth-of-type(3n),
    .grid-sm-4 > li:nth-of-type(4n),
    .col-sm-2.last,
    .col-sm-3.last,
    .col-sm-4.last,
    .col-sm-2:nth-of-type(2n),
    .col-sm-3:nth-of-type(3n),
    .col-sm-4:nth-of-type(4n) {
        margin-right: 0;
    }
    .grid-sm-2 > li:nth-of-type(2n+1),
    .grid-sm-3 > li:nth-of-type(3n+1),
    .grid-sm-4 > li:nth-of-type(4n+1),
    .col-sm-2:nth-of-type(2n+1),
    .col-sm-3:nth-of-type(3n+1),
    .col-sm-4:nth-of-type(4n+1) {
        clear: left;
    }
    .col-sm-3x2 {
        width: 65.5%;
        margin-right: 3.5%;
    }
    .col-sm-1 {
        margin-bottom: 20px;
    }
    footer .span {
        width: 100% !important;
        margin-top: 50px !important;
    }
    footer .span:first-child {
        margin-top: 0 !important;
    }
}
@media (max-width: 480px) {
   .container {
        width: 280px;
    }
    .grid-xs-2 > li:nth-of-type(1n),
    .grid-xs-3 > li:nth-of-type(1n),
    .grid-xs-4 > li:nth-of-type(1n),
    .col-xs-2,
    .col-xs-3,
    .col-xs-3x2,
    .col-xs-4,
    .col-xs-2:nth-of-type(2n+1),
    .col-xs-3:nth-of-type(3n+1),
    .col-xs-3x2:nth-of-type(3n+1),
    .col-xs-4:nth-of-type(4n+1) {
        float: left;
        clear: none;
    }
    .grid-xs-1 > li:nth-of-type(1n),
    .col-xs-1 {
        width: 100%;
        margin: 0;
    }
    .col-xs-1 {
        margin: 0 0 20px;
    }
    .grid-xs-2 > li:nth-of-type(1n),
    .col-xs-2 {
        width: 48%;
        margin-right: 4%;
    }
    .grid-xs-3 > li:nth-of-type(1n),
    .col-xs-3 {
        width: 31%;
        margin-right: 3.5%;
    }
    .grid-xs-4 > li:nth-of-type(1n),
    .col-xs-4 {
        width: 23.5%;
        margin-right: 2%;
    }
    .grid-xs-2 > li:nth-of-type(2n),
    .grid-xs-3 > li:nth-of-type(3n),
    .grid-xs-4 > li:nth-of-type(4n),
    .col-xs-2.last,
    .col-xs-3.last,
    .col-xs-4.last,
    .col-xs-2:nth-of-type(2n),
    .col-xs-3:nth-of-type(3n),
    .col-xs-4:nth-of-type(4n) {
        margin-right: 0;
    }
    .grid-xs-2 > li:nth-of-type(2n+1),
    .grid-xs-3 > li:nth-of-type(3n+1),
    .grid-xs-4 > li:nth-of-type(4n+1),
    .col-xs-2:nth-of-type(2n+1),
    .col-xs-3:nth-of-type(3n+1),
    .col-xs-4:nth-of-type(4n+1) {
        clear: left;
    }
    .col-xs-3x2 {
        width: 65.5%;
        margin-right: 3.5%;
    }
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}
.clearfix:after {
  clear: both;
}

.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}
.invisible {
  visibility: hidden;
}
.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.affix {
  position: fixed;
}

table {
  max-width: 100%;
  background-color: transparent;
}
th {
  text-align: left;
}
.table {
  width: 100%;
  margin-bottom: 20px;
}
.table thead > tr > th,
.table tbody > tr > th,
.table tfoot > tr > th,
.table thead > tr > td,
.table tbody > tr > td,
.table tfoot > tr > td {
  padding: 8px;
  line-height: 1.428571429;
  vertical-align: top;
  border-top: 1px solid #dddddd;
}
.table thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid #dddddd;
}
.table caption + thead tr:first-child th,
.table colgroup + thead tr:first-child th,
.table thead:first-child tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child td {
  border-top: 0;
}
.table tbody + tbody {
  border-top: 2px solid #dddddd;
}
.table .table {
  background-color: #ffffff;
}
.table-condensed thead > tr > th,
.table-condensed tbody > tr > th,
.table-condensed tfoot > tr > th,
.table-condensed thead > tr > td,
.table-condensed tbody > tr > td,
.table-condensed tfoot > tr > td {
  padding: 5px;
}
.table-bordered {
  border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
  border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
  border-bottom-width: 2px;
}
.table-striped > tbody > tr:nth-of-type(odd) > td,
.table-striped > tbody > tr:nth-of-type(odd) > th {
  background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
  background-color: #f5f5f5;
}
table col[class*="col-"] {
  display: table-column;
  float: none;
}
table td[class*="col-"],
table th[class*="col-"] {
  display: table-cell;
  float: none;
}
.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
  background-color: #f5f5f5;
}
.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td {
  background-color: #d0e9c6;
  border-color: #c9e2b3;
}
.table > thead > tr > td.danger,
.table > tbody > tr > td.danger,
.table > tfoot > tr > td.danger,
.table > thead > tr > th.danger,
.table > tbody > tr > th.danger,
.table > tfoot > tr > th.danger,
.table > thead > tr.danger > td,
.table > tbody > tr.danger > td,
.table > tfoot > tr.danger > td,
.table > thead > tr.danger > th,
.table > tbody > tr.danger > th,
.table > tfoot > tr.danger > th {
  background-color: #f2dede;
  border-color: #eed3d7;
}
.table-hover > tbody > tr > td.danger:hover,
.table-hover > tbody > tr > th.danger:hover,
.table-hover > tbody > tr.danger:hover > td {
  background-color: #ebcccc;
  border-color: #e6c1c7;
}
.table > thead > tr > td.warning,
.table > tbody > tr > td.warning,
.table > tfoot > tr > td.warning,
.table > thead > tr > th.warning,
.table > tbody > tr > th.warning,
.table > tfoot > tr > th.warning,
.table > thead > tr.warning > td,
.table > tbody > tr.warning > td,
.table > tfoot > tr.warning > td,
.table > thead > tr.warning > th,
.table > tbody > tr.warning > th,
.table > tfoot > tr.warning > th {
  background-color: #fcf8e3;
  border-color: #fbeed5;
}
.table-hover > tbody > tr > td.warning:hover,
.table-hover > tbody > tr > th.warning:hover,
.table-hover > tbody > tr.warning:hover > td {
  background-color: #faf2cc;
  border-color: #f8e5be;
}
@media (max-width: 768px) {
  .table-responsive {
    width: 100%;
    margin-bottom: 15px;
    overflow-x: scroll;
    overflow-y: hidden;
    border: 1px solid #dddddd;
  }
  .table-responsive > .table {
    margin-bottom: 0;
    background-color: #fff;
  }
  .table-responsive > .table > thead > tr > th,
  .table-responsive > .table > tbody > tr > th,
  .table-responsive > .table > tfoot > tr > th,
  .table-responsive > .table > thead > tr > td,
  .table-responsive > .table > tbody > tr > td,
  .table-responsive > .table > tfoot > tr > td {
    white-space: nowrap;
  }
  .table-responsive > .table-bordered {
    border: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:first-child,
  .table-responsive > .table-bordered > tbody > tr > th:first-child,
  .table-responsive > .table-bordered > tfoot > tr > th:first-child,
  .table-responsive > .table-bordered > thead > tr > td:first-child,
  .table-responsive > .table-bordered > tbody > tr > td:first-child,
  .table-responsive > .table-bordered > tfoot > tr > td:first-child {
    border-left: 0;
  }
  .table-responsive > .table-bordered > thead > tr > th:last-child,
  .table-responsive > .table-bordered > tbody > tr > th:last-child,
  .table-responsive > .table-bordered > tfoot > tr > th:last-child,
  .table-responsive > .table-bordered > thead > tr > td:last-child,
  .table-responsive > .table-bordered > tbody > tr > td:last-child,
  .table-responsive > .table-bordered > tfoot > tr > td:last-child {
    border-right: 0;
  }
  .table-responsive > .table-bordered > thead > tr:last-child > th,
  .table-responsive > .table-bordered > tbody > tr:last-child > th,
  .table-responsive > .table-bordered > tfoot > tr:last-child > th,
  .table-responsive > .table-bordered > thead > tr:last-child > td,
  .table-responsive > .table-bordered > tbody > tr:last-child > td,
  .table-responsive > .table-bordered > tfoot > tr:last-child > td {
    border-bottom: 0;
  }
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  /* IE8-9 */

  line-height: normal;
}
input[type="file"] {
  display: block;
}
select[multiple],
select[size] {
  height: auto;
}
select optgroup {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  height: auto;
}

footer .col {
    float: left;
    padding: 0 15px;
}
footer .col:first-child {
    padding-left: 0;
}
footer .cols-1 .col:nth-of-type(2),
footer .cols-1 .col:nth-of-type(3),
footer .cols-1 .col:nth-of-type(4),
footer .cols-2 .col:nth-of-type(3),
footer .cols-2 .col:nth-of-type(4),
footer .cols-3 .col:nth-of-type(4) {
    display:none;
}
footer .cols-1 .col {
    width: 100%;
}
footer .cols-2 .col {
    width: 50%;
}
footer .cols-3 .col {
    width: 33.33333333333333%;
}
footer .cols-4 .col {
    width: 25%;
}

@media (max-width: 1199px) {
}
@media (max-width: 991px) {
    footer .cols-4 .col {
        width: 50%;
    }
    footer .cols-4 .col:nth-of-type(3) {
		padding-left: 0;
        clear: left;
    }
    footer .cols-4 .col:nth-of-type(3),
    footer .cols-4 .col:nth-of-type(4){
        margin-top: 40px;
    }
}
@media (max-width: 767px) {
    .col {
        width: 100% !important;
        padding: 0 15px !important;
        margin-bottom: 30px;
    }
}
@media (max-width: 480px) {
}