@charset "utf-8";

.div_calc{ display:block; 
	width:100%;
	margin:20px auto;
	text-align:center;
}

.div_img{
	position:relative;
	margin:0px auto 20px auto;
	background:url(../img/kupel.png) top center no-repeat;
	width:100%;
	height:196px;
	background-size:contain;
}


#calc_block{
	position:relative;
	width:350px;
	margin:0 auto;
	padding:10px 10px 40px 10px;
	z-index:0;
}

#calc_block p{
	font:normal normal 400 12px/16.5px Arial, Helvetica, sans-serif;
	color:#666;
}

#calc_block div{
	font:normal normal 400 16px/20px Arial, Helvetica, sans-serif;
	color:#007BB7;
}


#calc_block h3{
	font:normal normal 600 22px/16.5px Arial, Helvetica, sans-serif;
	color:#000;
	letter-spacing:1px;
	margin:18px  auto 0  auto;
	padding:0;
}


#calc_block  ul.ul_calc{
	margin:30px auto 8px auto;
	padding:0;
	list-style:none;
	text-align:center;
}

#calc_block  ul.ul_calc li{
	display:inline-block;
	width:148px;
	font:normal normal 400 16px/20px Arial, Helvetica, sans-serif;
	color:#007BB7;
	padding:0 20px;
	text-align:center;
	vertical-align:top;
	margin:10px auto 40px auto;
}



#calc_block select{
	width:100px;
	height:26px;
	border:1px solid #007BB7;
	cursor:pointer;
	margin:10px auto;
}

#div_res_d, #div_res_h{
	position:absolute;
	font:normal normal 400 16px/16.5px Arial, Helvetica, sans-serif;
	color:#007BB7;
}

#div_res_d{
	margin:0px 0 0 170px;
}

#div_res_h{
	margin:105px 0 0 280px;
}

#calc_block #calc_result, #order_ann #order_result{
	font:normal normal 600 20px/16.5px Arial, Helvetica, sans-serif;
	color:#f00;
}

#calc_block .div_result, #order_ann .div_result {
	font:normal normal 600 20px/16.5px Arial, Helvetica, sans-serif;
	color:#000;
	letter-spacing:1px;
	text-transform:uppercase;
	margin:40px auto;
	text-align:center;
}

#calc_block .ul_dop{
	margin:20px auto;
	padding:0;
	list-style:none;
	text-align:left;
	width:360px;
}

#calc_block .ul_dop li{
	font:normal normal 400 12px/16.5px Arial, Helvetica, sans-serif;
	color:#303030;
	margin-bottom:10px;
}

#calc_block .ul_dop li label{
	cursor:pointer;
}

#calc_block select{
	width:100px;
	height:26px;
	border:1px solid #007BB7;
	cursor:pointer;
	margin:10px auto;
}

#calc_block #button_calc, #order_ann #button_order{
	font:normal normal 400 14px/16.5px Arial, Helvetica, sans-serif;
	color:#666;
	cursor:pointer;
	border:1px solid #007BB7;
	margin:10px auto;
	width:auto;
	height:40px;
	padding:4px 10px;
	border-radius:6px;
	background:linear-gradient(to bottom,  #def4fb 0%,  #72aabc 100%);
}


#calc_block #button_calc:hover, #order_ann #button_order:hover{
	background:linear-gradient(to top,  #def4fb 0%,  #72aabc 100%);
	color:#000;
}

#calc_block #button_send{
	display:none;
	font:normal normal 400 14px/16.5px Arial, Helvetica, sans-serif;
	color:#666;
	cursor:pointer;
	border:1px solid #c3802a;
	width:auto;
	padding:11px 10px;
	border-radius:6px;
	background:linear-gradient(to bottom,  #e6c79f 0%,  #e5a24b 100%);
	margin-left:14px;
	text-decoration:none;
}

#calc_block #button_send:hover{
	background:linear-gradient(to top,  #e6c79f 0%,  #e5a24b 100%);
	color:#000;
}


/* слой затемнения */
#calc_order .dm-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    display: none;/* скрыт изначально */
    overflow: auto;
    min-width: 100%;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.65);
}
/* активируем слой затемнения и модальное окно */
#calc_order .dm-overlay:target {
    display: block;
    animation: fade .6s;
}
/* блочная таблица */
#calc_order .dm-table {
    display: table;
    width: 100%;
    height: 100%;
	margin:2% auto 6% auto;
}
/* ячейка блочной таблицы */
#calc_order .dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */
#calc_order .dm-modal {
    display: inline-block;
    padding: 20px;
/* максимально возможная ширина */
    max-width: 50em;
    background: #EDEDED;
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    color: #000;
    text-align: left;
/* анимация и время задержки */
    animation: fade .8s;
	border:1px solid #000;
	border-radius:8px;
}

#calc_order .dm-modal h3{
	text-align:center;
	font:normal normal 600 22px/16.5px Arial, Helvetica, sans-serif;
	color:#000;
	letter-spacing:1px;
}

/* кнопка закрытия */
#calc_order .close {
    z-index: 9999;
    float: right;
    width: 20px;
    height: 20px;
    color: #000;
    text-align: center;
    text-decoration: none;
    line-height: 16px;
    cursor: pointer;
	margin:-10px -10px 0 0;
}
#calc_order .close::after {
    display: block;
    content:url(../img/close_off.png);
}

/* кнопка закрытия при наведении */
#calc_order .close:hover::after {
    transform: scale(1);
    content:url(../img/close_on.png);
}


#calc_order ul{
	margin:0 auto 10px auto;
	padding:0;
	list-style:none;
}

#calc_order ul li{
	display:block;
	margin-bottom:20px;
}

#calc_order ul li label{
	display:block;
	float:left;
	color:#303030;
}

#calc_order ul li input[type="text"], #calc_order ul li textarea{
	border:1px solid #999;
	width:180px;
	height:24px;
	display:block;
	float:right;
}

#calc_order ul li textarea{
	height:80px;
	resize:none;
}
	
#calc_order ul li::after, #calc_order ul li::before, #calc_order ul::after{
	content:'\00A0';
	clear:both;
}

#calc_order #order_ann{
	margin:40px auto 0 auto;
	min-height:200px;
	text-align:left;
}

#calc_order .order_title{
	font:normal normal 400 16px/16.5px Arial, Helvetica, sans-serif;
	color:#007BB7;
	text-align:center;
}


#calc_order #order_ann ul li{
	margin-bottom:10px;
}

#calc_order #order_ann ul li span{
	margin-left:20px;
}

#order_ann ul.ul_order_dop li{
	display:none;
}

#calc_order #order_ann ul{
	display:inline-block;
	vertical-align:top;
	width:46%;
	text-align:center;
	margin-top:10px;
}

#calc_order #order_ann ul li{
	width:100%;
	text-align:left;
	margin-bottom:0px;
	white-space:nowrap;
}

#order_diameter, #order_height{
	color:#F00;
}