/* 从小程序 app.wxss 迁移过来的全局公用样式（partial）
   统一在 theme/index.scss 中通过 @import 'mixins/app-common'; 引入
   说明：该文件以 "_" 开头表示 Sass partial，不会单独生成 CSS
*/

page {
	height: 100vh;
	/*主色 */
	--dominantColor: #74b72f;
	/*辅色 */
	--auxiliaryColor: #f08400;
}
/* 背景色 */

.backgroundCustom,
.p_bgcolor {
	background: var(--dominantColor) !important;
	color: #fff !important;
}
.backgroundCustom_F08 {
	background: var(--auxiliaryColor) !important;
	color: #fff !important;
}

.backgroundCustom_D9 {
	background-color: #d9d9d9 !important;
	color: #fff !important;
}

/* 字体颜色 */

.colorCustom,
.p_color {
	color: var(--dominantColor) !important;
}
.colorCustom_F08 {
	color: var(--auxiliaryColor) !important;
}
.colorCustom_999 {
	color: #999 !important;
}
.colorRed {
	color: #fa4844 !important;
}
/* 边框颜色 */
.boderColorCustom {
	border-color: var(--dominantColor) !important;
}
.boderColorCustom::before {
	border-color: var(--dominantColor) !important;
}
.boderColorCustom_F08 {
	border-color: var(--auxiliaryColor) !important;
}
.boderColorCustom_F08::before {
	border-color: var(--auxiliaryColor) !important;
}
/* 初始化 */

.container {
	height: 100%;
	box-sizing: border-box;
	background-color: #f1f1f6;
	color: #000;
	font-size: 28rpx;
	font-family: Source Han Sans CN;
}

.content {
	display: inline-block;
	width: 100%;
	background-color: #f1f1f6;
}

.content_inner {
	position: relative;
	z-index: 1;
}
button {
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}
button:after {
	border: 0;
	border-radius: 0;
}

image {
	display: block;
	width: 100%;
	height: 100%;
}

view,
image,
text,
navigator,
form {
	box-sizing: border-box;
	line-height: 1em;
}

.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

input {
	font-family: PingFang-SC-Medium;
	color: #303133;
	font-size: 30rpx;
	min-height: 0;
	width: 100%;
}

.placeholder {
	color: #ccc;
	font-family: SourceHanSansCN-Regular;
	font-size: 30rpx;
}

.flexCenter {
	display: flex;
	align-items: center;
	justify-content: center;
}
.flexBetween {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.flexColumnCenter {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.public_dialog {
	background-color: rgba(1, 1, 1, 0.6);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 11;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 弹性布局-横向 */
.displayFlexRow {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

/* 弹性布局-纵向 */
.displayFlexCol {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* 弹性布局-横向两端对齐 */
.displayFlexBetween {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

/* 弹性布局-靠左 */
.displayFlexLeft {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	align-items: center;
}

/* 提示 */
.public_tip {
	padding: 40rpx 30rpx;
	font-size: 26rpx;
	font-family: Source Han Sans CN;
	font-weight: 400;
	color: rgba(166, 166, 166, 1);
	line-height: 40rpx;
}
/* 滑块 */
.public_switch {
	transform: scale(0.7);
	margin-right: -20rpx;
}

/* 向右 图片 */
.public_right_img {
	width: 12rpx;
	height: 21rpx;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto 0;
}
.public_right_img30 {
	right: 30rpx;
}
.arrow {
	width: 12rpx;
	height: 21rpx;
	margin-right: 30rpx;
}

/* 长按钮 */
/* 
<view class="public_btn_con">
<view class="public_btn backgroundCustom">添加就诊卡</view>
</view>
*/
.public_btn_con {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 180rpx;
	padding: 30rpx 30rpx 52rpx;
	background-color: #f1f1f6;
}

.public_btn {
	border-radius: 49rpx;
	height: 88rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34rpx;
	font-weight: 500;
}
.bg_white {
	background: #fff !important;
}

/* 头部组件固定 */
.userInfoTopFixe {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
}

/* 边框 */
.border_top {
	position: relative;
}
.border_top::before {
	content: ' ';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 1px;
	border-top: 1px solid #eee;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: scaleY(0.5);
	transform: scaleY(0.5);
}

.border_bottom {
	position: relative;
}
.border_bottom::before {
	content: ' ';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	border-top: 1px solid #eee;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: scaleY(0.5);
	transform: scaleY(0.5);
}

.border_left {
	position: relative;
}
.border_left::after {
	content: ' ';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 100%;
	border-left: 1px solid #eee;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: scaleX(0.5);
	transform: scaleX(0.5);
}

.border_right {
	position: relative;
}
.border_right::after {
	content: ' ';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 1px;
	height: 100%;
	border-right: 1px solid #eee;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: scaleX(0.5);
	transform: scaleX(0.5);
}

.border {
	position: relative;
}
.border::before {
	content: '';
	position: absolute;
	border: 1px solid #ccc;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	border-radius: 50px;
	transform: scale(0.5);
	box-sizing: border-box;
}

.border_fillet {
	position: relative;
}
.border_fillet::after {
	content: '';
	position: absolute;
	top: -50%;
	bottom: -50%;
	left: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	border: solid 1px var(--dominantColor);
	border-radius: 600rpx;
	box-sizing: border-box;
}

/* 下拉加载更多样式 */
.public_loadAllTip {
	text-align: center;
	padding: 35rpx 0;
	color: #999;
}

/* 暂无数据 */
.noData {
	width: 100%;
	padding-top: 0;
	position: absolute;
	top: 50%;
	margin-top: -250rpx;
}

/* 遮罩 */
.mask {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
}

/* 互联网专用 */
/* 弹性布局-横向 */
.p_flexCenter {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

/* 弹性布局-纵向 */
.p_flexCenterCol {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/* 弹性布局-横向两端对齐 */
.p_flexBetween {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 文本溢出省略 */
.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 弹性布局-起始对齐 */
.displayFlexStart {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
}

/* 特殊色调 */
.backgroundCustom_E35779 {
	background: #e35779 !important;
	color: #fff !important;
}
.p_color_E35779 {
	color: #e35779 !important;
}

/* 压缩图片canvas（隐藏到视口外） */
.press_canvas {
	position: absolute;
	top: -1000px;
	background-color: gray;
}

uni-video {
	width: 100% !important;
}