.page-content div.page-wrap {
    max-width: 750px;
    
}

table.tariffs {
    background: white;
    border-top: 3px solid #cccccc;
    border-collapse: collapse;
    width: 100%;
	margin: 0 auto 50px auto;
    max-width: 740px;
}

.black-overlay table.tariffs, .black-overlay table.tariffs td, .black-overlay table.tariffs th, .black-overlay table.tariffs tr {
    border-top-color: rgba(0,0,0,0);
    border-bottom-color: rgba(0,0,0,0);
}

table.tariffs tr {
    border-bottom: 3px solid #cccccc;
}

table.tariffs th {
    vertical-align: middle;
    text-align: left;
    padding: 0 0 0 0;
    font-size: 24px;
    font-weight: 300;
    height: 100px;
    width: 200px;
}


table.tariffs td:nth-child(2) {
    padding: 25px 20px;
	vertical-align: middle;
}

table.tariffs td:nth-child(2) p {
    font-size: 16px;
    line-height: 24px;
    color: #000000;
	margin: 0;
	padding: 0;
}

table.tariffs td:nth-child(2) p strong {
    font-weight: 400;
    display: inline-block;
    width: 120px;
}
table.tariffs td:nth-child(2) p strong::after {
    content: ":";
}

table.tariffs td:nth-child(3):not(:last-child) {
    font-size: 16px;
    line-height: 30px;
    color: #000000;
    text-align: center;
    vertical-align: middle;
    width: 140px;
}

table.tariffs td.rml:last-child {
    text-align: right;
    vertical-align: top;
    position: relative;
}
table.tariffs td.rml .close {
    position: absolute;
    right: 30px;
    top: 5px;
    text-decoration: none;
    color: rgba(47,109,183,.7);
}
table.tariffs td.rml .close:hover {
    color: rgba(47,109,183,1);
}

table.tariffs td.rml .close::after {
    position: absolute;
    top: 2px;
    right: -20px;
    width: 15px;
    height: 15px;
    background: transparent url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAeCAYAAADzXER0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyBpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0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N9SlmXur6tKP5ePU9qawBUwMrgdYAGky2HrV4x1BrwCp0AFSJQwBgbADqgDW/qzzB/JeOLzgMla6JizzbnNq8/7iyA7ce4KjicuusATSrf1BRNhT0JCS0wxtoXdVjkwxbGKsWsk0Ys5LkiOzEGiX6Y6PxvCvvCgx9zcy1S7e+6wxEjiF3fYvs6lQ3q77A5YxxPLkawB58C7wb0GNsCHHkkaxQfghL2ZK2EEkOITGPJo7t0m443PLSZroWPOLtRhKe93guzEeSY4wZG0LvCEVraJtBL2KiS0xBRjQ9gNlQNTHKkYZ0YSvZijguTIHMz1y1TnG0OYCg9umZt7mWo3Bi4CDfJzAY3fWtb5n47ktwADACTLWX5wzG9SAAAAAElFTkSuQmCC") 0 -15px no-repeat;
    content: "";
}
table.tariffs td.rml .close:hover::after {
    background-position: 0 0;
}

table.tariffs td big {
    display: block;
    font-size:24px;
    font-weight: 300;
    color: black;
}

table.tariffs td:last-child {
    /*color: rgba(0,0,0,.5); */
    text-align: center;
    width: 190px;
    padding: 20px 0;
    vertical-align: middle;
}

table.tariffs td a.buy, table.tariffs td a.button {
    font-size: 24px;
    line-height: 46px;
    padding: 0 25px;
    font-weight: 300;
    border-color: #11a92a;
    color: #11a92a;
}

table.tariffs td a.buy.disabled {
    border-color: #b7e5bf;
    background: white !important;
    cursor: default;
    color: #11a92a;
    font-weight: 200;
    height: 62px;
    line-height: 38px;
    padding: 0 8px;
}

table.tariffs td a.buy.disabled .from {
    position: relative;
    display: block;
    text-align: center;
    font: 400 normal 15px/16px "PragmaticaC", "sans-serif";
    color: #000000;
}

ul.my-packets {
    position: relative;
    padding: 0;
    margin: 10px 0 40px 100px;
    background: white;
    border-top: 1px solid #f89090;
}

ul.my-packets li {
    padding: 20px;
    line-height: 22px;
    font-size: 16px;
    border-bottom: 1px solid #f89090;
}

ul.my-packets li>div {
    display: inline-block;
    width: calc(100% - 220px);
    vertical-align: top;
}
ul.my-packets li a{
    display: inline-block;
    width: 200px;
    text-align: right;
    vertical-align: top;
}

ul.my-packets li strong {
    font-weight: 500;
}

h4.bottom {
    margin: 40px 0 100px 0;
}

.page-wrap>#buy-form {
    display: none;
}

#buy-form-ap {
    display: block;
    margin: 0 20px;
    padding: 30px 0;
    border-top: 1px solid #c4c4c4;
    text-align: left;
    white-space: nowrap;
    position: relative;
    top: -6px;
}

#buy-form-ap>div {
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
}

#buy-form-ap>div.inst {
    min-width: 220px;
}
#buy-form-ap>div.inst strong {
    font-weight: 500;
    max-width: 220px;
    display: inline-block;
}

#buy-form-ap>div.inst select {
    border: 1px solid #c4c4c4;
    height: 28px;
    padding: 0 10px;
    font: 400 normal 16px/28px "PragmaticaC", sans-serif;
    color: black;
    margin-right: 30px;
}

#buy-form-ap>div.inst select option {
    height: 28px;
    font: 400 normal 16px/28px "PragmaticaC", sans-serif;
}

#buy-form-ap>div.buy-variants {
    position: absolute;
    right: 0;
	bottom: 0;
    margin-top: -5px;
}

#buy-form-ap>div.buy-variants a {
    font-size: 16px;
    line-height: 34px;
    padding: 0 10px;
    height: 34px;
    margin-right: 10px;
}

#buy-form-ap>div.buy-variants a:first-child {
    margin-right: 25px;
}

#buy-form-ap>div.buy-variants a.disabled {
    opacity: .5;
    cursor: default;
    background: white;
	text-decoration: none!important;
}

#buy-form-ap input[type=submit] {
    position: relative;
    width: 0;
    height: 0;
    visibility: hidden;
}

div.sup-descr {
    padding: 10px 0 10px 10px;
    max-width: 740px;   
    margin: 40px auto;
}
div.sup-descr p {
    color: #000000;
    font: 400 16px/24px "PragmaticaC", "sans-serif";
    margin: 0 0 25px 0;
}

.bill {
	padding: 25px 0 10px 230px;
	display: none;
}
#buy-form-ap.beznal .bill {
	display: block;
}

.bill .text{
	font-size: 16px;
	line-height: 20px;
	color: #000000;
}

.bill .buttons {
	margin-top: 20px;
}

.bill .buttons .blue-button {
	margin-left: 60px;
}

.support-days {
	 float: left;
}

.support-days input {
	width: 40px;
    height: 30px;
   
    font-size: 24px;
    margin: 10px 0 0 0;
}

.support-days span {
	display: block;
    text-align: center;
}

.rml .summ {
	display: block;
    float: left;
    text-align: center;
    margin: 10px 0 0 20px;
    font-size: 17px;
}

.error-value {
	background:#d07757;
	border:1px solid #c73400
}