/* Общие стили для блоков */
.sp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.sp-block-table table tr {
    background: #ffffff;
border: 1px solid #c8c8c8;
}


.sp-block-table table tr:nth-child(odd) {
    background: #f2f2f2;
	border: 1px solid #c8c8c8;
}
.sp-block-table table tr:first-child {
    background: #634ba6;
	border: 1px solid #634ba6 !important;
	color: #fff !important;
}
.sp-block-table table tr:first-child tr {
    background: #634ba6;
	border: 1px solid #634ba6 !important;
	color: #fff !important;
}

/*.sp-block-table table tr:hover {
    background: #d4d4d4;
    color: #000;
}*/

.sp-block-table table td {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: -.18px;
    line-height: 34px;
    padding: 11px 7px 10px;
    border: 1px solid #c8c8c8;
    white-space: nowrap;
text-align: center;
}

td.sp-block-table table tr:nth-child(odd) {
    background: #f2f2f2;
	border: 1px solid #c8c8c8;
}
.sp-image img {
    width: 100%;
}

.sp-image-text {
    background: #eee;
    margin: 10px 0 10px;
    min-height: 250px;
}

.sp-image-text img {
    float: left;
    width: 320px;
    margin: 0 10px 10px 0;
}

.sp-iblock-elements {
    width: 350px;
    background: #ddd;
    padding: 10px;
}

.sp-properties {
    width: 400px;
    border-collapse: collapse;
}

.sp-properties_title {
    border: 1px solid #ccc;
    padding: 0 5px;
    font-weight: bold;
}

.sp-properties_text {
    border: 1px solid #ccc;
    padding: 0 5px;
}

.sp-gallery-items {
    overflow: hidden;
}

.sp-gallery-item {
    float: left;
    height: 220px;
    padding: 5px;
    /*width: 20%;*/
}

.sp-gallery-item-img-wrapper {
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block;
    color: inherit;
}

.sp-gallery-item img {
    display: block;
    max-width: 100%;
    left: 50%;
    max-height: 100%;
    max-width: none;
    position: relative;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    -moz-transform: translate(-50%, -50%) translateZ(0);
    -o-transform: translate(-50%, -50%) translateZ(0);
    -ms-transform: translate(-50%, -50%) translateZ(0);
    transform: translate(-50%, -50%) translateZ(0);
}

.sp-gallery-item-text {
    background-color: rgba(255, 255, 255, .7);
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    width: 100%;
}

.sp-gallery-item-text:hover {
    opacity: 1;
}

.sp-gallery-item-text::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.sp-gallery-item-text-content {
    display: inline-block;
    vertical-align: middle;
    width: 90%;
}

.sp-button_link,
.sp-button_link:link,
.sp-button_link:visited {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    background: #ccc;
    color: #333;
}

.sp-button_link:hover {
    text-decoration: none;
    background: #333;
    color: #ccc;
}

/*accordion*/
.sp-accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.sp-accordion-title {
    border-top: 1px solid #ccc;
    color: #444;
    cursor: pointer;
    padding: 10px;
    text-align: left;
}

.sp-accordion-title:first-child {
    border-top: none;
}

.sp-accordion-container {
    padding: 0 10px 10px;
    display: none;
    overflow: hidden;
}

.sp-accordion-title:after {
    content: '\02795';
    font-size: 12px;
    color: #777;
    float: right;
    margin: 2px 5px;
}

.sp-accordion-title__active:after {
    content: "\2796";
}
