﻿.modal-window {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: block;
    z-index: 1000;
    background-color: rgba(41, 41, 42, 0.7);
    text-align: center;
    vertical-align: top;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    margin: 0;
}

.modal-content-center {
    min-width: 20px;
    max-width: 60%;
    vertical-align: middle;
}

.modal-content,
.modal-window table td {
    border: 0;
    padding: 0;
}

.modal-window-content {
    margin: 20px 0;
    background: #fff;
    border: 1px solid #ededee;
}

.modal-content-table-left,
.modal-content-table-right {
    width: 50%;
    cursor: pointer;
}

.modal-content-load {
    background: url(/Images/loading_big.gif) no-repeat center center;
    min-width: 66px;
    height: 66px;
    padding: 20px;
}
/* header close and title */
.modal-content-header {
    border-bottom: 1px solid #ededee;
    overflow: hidden;
    position: relative;
}

.modal-content-close {
    border-left: 1px solid #ededee;
    display: block;
    float: right;
    height: 35px;
    overflow: hidden;
    padding: 9px 0 0;
    position: relative;
    width: 44px;
    background: #fff;
    color: #6F6F6F;
    cursor: pointer;
    font-size: 26px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
}

.modal-content-close:hover {
    background: #6F6F6F;
    color: #fff;
}

.modal-content-left {
    border-right: 1px solid #ededee;
    display: block;
    float: left;
    height: 35px;
    overflow: hidden;
    padding: 9px 0 0;
    position: relative;
    width: 44px;
    background: #fff;
    color: #6F6F6F;
    cursor: pointer;
    font-size: 26px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
}

.modal-content-left:hover {
    background: #6F6F6F;
    color: #fff;
}

.modal-content-rubric {
    color: #6F6F6F;
    padding: 8px 20px 0;
    text-align: center;
    font-family: 'Roboto Slab', 'arial narrow', sans-serif;
    font-size: 18px;
    line-height: 27px;
    height: 27px;
    overflow: hidden;
}
/* line top */
.lineTop {
    position: fixed;
    top: 0px;
    width: 100%;
    min-height: 30px;
    background-color: rgba(41, 41, 42, 0.9);
    color: #fff;
    text-align: left;
    padding: 14px 0 10px 0;
    z-index: 10000;
}

.lineTop > .content-line {
    padding: 0 40px 0 25px;
}

.lineTop > .close-line {
    position: fixed;
    top: 0px;
    right: 10px;
    background: url(/Images/close.png) no-repeat center center;
    width: 36px;
    height: 36px;
    padding: 10px;
    cursor: pointer;
}

@media only screen and (max-width: 649px) {
    .modal-window-content-html .modal-window-content {
        border: 0;
        margin: 0;
    }
}
/*.main_modal {
    overflow: hidden;
}

.lineTop {
    position: fixed;
    top: 0px;
    width: 100%;
    min-height: 30px;
    background-color: rgba(41,41,42,0.9);
    color: #fff;
    text-align: left;
    padding: 14px 0 10px 0;
    z-index: 10000;
}

.lineTop > .content-line {
    padding: 0 20px 0 25px;
}

.lineTop > .close-line {
    position: fixed;
    top: 0px;
    right: 10px;
    background: url(/Images/close.png) no-repeat center center;
    width: 36px;
    height: 36px;
    padding: 10px;
    cursor: pointer;
}

.modal-content-table-left, .modal-content-table-right {
    width: 50%;
	vertical-align: top;
}
.modal-content-left, .modal-content-right {
	position: relative;
}

.modal-content-left > span, .modal-content-right > span {
	position: absolute;
	top: 300px;
	width: 30px;
	height: 44px;
	padding: 20px;
	cursor: pointer;
}
.modal-content-left > span {
    right: 0px;
    background: url(/Images/modal-left.png) no-repeat center center;
}
.modal-content-right > span {
    left: 0px;
    background: url(/Images/modal-right.png) no-repeat center center;
}

.header-window-top {
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: #fff;
    position: relative;
}

.modal-window-close {
    color: #565656;
    cursor: pointer;
    font-size: 20px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    padding: 5px;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
}

.modal-window-line {
    text-align: center;
}

.modal-window-content-item-show {
    display: block;
}

.modal-window-content-item-hidden {
    display: none;
}

.modal-window-paginator {
    text-align: center;
    padding-top: 20px;
}

.modal-window-circle, .modal-window-circle-show {
    padding: 10px;
    display: inline-block;
    cursor:pointer;
}

.modal-window-circle > div, .modal-window-circle-show > div {
    right: 50%;
    width: 15px;
    height: 15px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    cursor:pointer;
}

.modal-window-circle > div {
    background-color: #484545;
}

.modal-window-circle-show > div {
    background-color: #fff;
}*/
