@CHARSET "UTF-8";

/* common */
input[type="image"], input[type="button"] ,input[type="submit"] { cursor: pointer; }
.errorMessage { color:#ff0000; }
.alertMessage { color:#ff8800; }
.dialog-message { font-size:16px; color:#000000; }
.form-text { height:25px; }
.form-text-readonly { background-color:#ffffff !important; border:1px solid #7a7a7a !important; }
.form-select { height:25px; }
.error-dialog-title {
	margin-left:20px;
	margin-top:20px;
	margin-bottom:10px;
	font-size: 16px;
	font-weight:bold;
	color: #333;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.error-dialog-message {
	margin-left:20px;
	min-height:270px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}

/* カレンダー　datapicker拡張css */
img.ui-datepicker-trigger{
  cursor: pointer;
  margin-top:4px !important;
  margin-left: 5px !important;
}
/* カレンダー */
div[uib-datepicker-popup-wrap] {
	display: inline-block;
}

/* login.html */
.function-non {width: 32px; height: 33px;}
.login-logo {text-align: center; margin: 165px 0;}
.login-box {width: 300px; margin: 0 auto;}
.login-box p {text-align: center;}
.login-form {text-align: left; margin-bottom: 30px;}
.login-form input{margin-top: 10px; width: 300px;}
.login-btn { cursor: pointer; }

/* customer */
.customer-edit-header {
	width: 1220px;
	margin: 0 auto;
	text-align: left;
}
.customer-edit-header ul {
	float: right;
	margin-top:-9px;
	margin-bottom:9px;
}
.customer-edit-header:after {
	display: block;
	clear: both;
}

/* .googlemap-container */
.googlemap-container {
	border:1px solid #CCC;
	padding:10px;
	background-color: #FFF;
}
.googlemap {
	position: relative;
	padding-bottom: 56.25%; /* 16/9 ratio */
	height: 0;
	overflow: hidden;
}
.googlemap-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.clearfix:after{
	content: "";
	clear: both;
	display: block;
}

/* building */
.imgaeListOutFrame {}

.building-imageUploadBtn {
	padding-bottom:5px;
}

.building-imgaeFrame {
	padding-left:3px;
	display: table-cell; /*上下中央*/
	width: 250px;
	height: 150px;
	vertical-align: middle; /*上下中央*/
	layout-grid-line:166px; /*IE7*/
}

.building-imgaeFrame img {
	width:auto;
	height:auto;
	max-width:250px;
	max-height:3500px;
	vertical-align: middle;/*IE7*/
}

/* owner Dialog */
.ownerDialog {}

.owner-dialog-title {
	margin-left:20px;
	margin-top:20px;
	margin-bottom:10px;
	font-size: 16px;
	font-weight:bold;
	color: #333;
}

.owner-dialog-message {
	margin-left:20px;
	min-height:270px;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}


.ownerDialogBase{
	height:100%;
}

.ownerDialogBase .ngdialog-content {
	-webkit-animation: ngdialog-flyin .0.01s;
	animation: ngdialog-flyin .001s;
	-webkit-animation-duration: 0.01s !important;
	animation-duration:         0.01s !important;
	background: #f0f0f0;
	border-radius: 5px;
	color: #444;
	font-size: 1.1em;
	line-height: 1.5em;
	margin: 0 auto;
	max-width: 100%;
	padding: 1em;
	position: relative;
	width: 450px;
	margin-top:10%;
}

/* add_20160915 二宮様 追加分 */
.pointer {
    cursor: pointer;
}
.dialog {
    width: 1000px;
    margin:32px auto 0 auto;
    font-size: 18px;
}
.dialog td {
    background-color: #f8faf3;
}
.dialogBase .ngdialog-content {
    background:transparent;
}
.dialog input[type="text"] {
    border : 2px solid #ccc;
}
.dialog .btn-close {
    background: transparent url("../img/cb_controls.png") no-repeat scroll 0 0;
    border: 0 none;
    height: 20px;
    margin: 0;
    overflow: visible;
    padding: 0;
    position: absolute;
    text-indent: -9999px;
    top: -20px;
    width: 20px;
    cursor: pointer;
    background-position: -50px 0;
    right: 0;
}
/* ToDo検索ダイアログ */
.activitiesDialogBase td {
  background: #ffffff;
}

/* ツールチップ
-------------------------------------*/
.tooltip{
    position:absolute;
    z-index:1020;
    display:block;
    visibility:visible;
    padding:5px;
		/*
    opacity:0;
    filter:alpha(opacity=0)
		*/
}
/*
.tooltip.in{
    opacity:.8;
    filter:alpha(opacity=80)
}
*/
.tooltip.top{
    margin-top:-2px
}
.tooltip.right{
    margin-left:2px
}
.tooltip.bottom{
    margin-top:2px
}
.tooltip.left{
    margin-left:-2px
}
.tooltip.top .tooltip-arrow{
    bottom:0;
    left:50%;
    margin-left:-5px;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
}
.tooltip.left .tooltip-arrow{
    top:50%;
    right:0;
    margin-top:-5px;
    border-top:5px solid transparent;
    border-bottom:5px solid transparent;
}
.tooltip.bottom .tooltip-arrow{
    top:0;
    left:50%;
    margin-left:-5px;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
}
.tooltip.right .tooltip-arrow{
    top:50%;
    left:0;
    margin-top:-5px;
    border-top:5px solid transparent;
    border-bottom:5px solid transparent;
}
.tooltip-inner{
    max-width:200px;
    padding:3px 8px;
    color:#000;
    text-align:left;
    text-decoration:none;
    background-color:#FFF;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
		white-space: pre-wrap;
}
.tooltip-arrow{
    position:absolute;
    width:0;
    height:0;
		display:none;
}

.cgreen .tooltip.top .tooltip-arrow {	border-top:5px solid #73a40a;}
.cgreen .tooltip.left .tooltip-arrow {	border-left:5px solid #73a40a;}
.cgreen .tooltip.bottom .tooltip-arrow {	border-bottom:5px solid #73a40a;}
.cgreen .tooltip.right .tooltip-arrow {	border-right:5px solid #73a40a;}
.cgreen .tooltip-inner {	border:1px solid #73a40a;}

.corange .tooltip.top .tooltip-arrow {	border-top:5px solid #e59135;}
.corange .tooltip.left .tooltip-arrow {	border-left:5px solid #e59135;}
.corange .tooltip.bottom .tooltip-arrow {	border-bottom:5px solid #e59135;}
.corange .tooltip.right .tooltip-arrow {	border-right:5px solid #e59135;}
.corange .tooltip-inner {	border:1px solid #e59135;}

.cblue .tooltip.top .tooltip-arrow {	border-top:5px solid #3c8dbc;}
.cblue .tooltip.left .tooltip-arrow {	border-left:5px solid #3c8dbc;}
.cblue .tooltip.bottom .tooltip-arrow {	border-bottom:5px solid #3c8dbc;}
.cblue .tooltip.right .tooltip-arrow {	border-right:5px solid #3c8dbc;}
.cblue .tooltip-inner {	border:1px solid #3c8dbc;}

.alert{
	color:red;
}

.btnEstimate {
	margin-top: 9px !important;
}
.btnEstimate,
.btnEstimateBOX {
	position: relative;
}

.btnEstimate span,
.btnEstimateBOX span {
	position: absolute;
	right: -10px;
	top: -10px;
	background-color: #FF0000;
	display: inline-block;
	border-radius: 50%;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 25px;
	font-size: 12px;
}

/* 見積もり
-------------------------------------*/
.estimate-header > div {
  display: table-cell;
  vertical-align: top; }

.estimate-header > div:first-of-type {
  width: 100%; }

.estimate-header > div:last-of-type {
  padding: 0 0 0 10px; }

.estimate-update {
  text-align: center;
  line-height: 1.6em;
  font-size: 12px; }

.estimate-info--contracted .estimate-info-content {
  display: none; }

.estimate-btn-contracted span:before {
  content: "▼";
  padding-right: 5px; }

.estimate-info--open .estimate-info-content {
  display: table-cell; }

.estimate-info--open .estimate-btn-contracted span:before {
  content: "▲"; }

.estimate-deleted-text {
  padding: 5px 15px;
  margin-left: 5px;
  background-color: #d00000;
  color: #FFF;
  border-radius: 5px;
  display: inline-block; }

.estimate-box-options {
  width: 100%;
  display: table; }
  .estimate-box-options > div {
    display: table-cell;
    vertical-align: top; }
  .estimate-box-options > div:first-of-type {
    width: 60%; }
  .estimate-box-options > div:last-of-type {
    width: 40%;
    padding: 0 0 0 10px; }

input.disabled {
  filter: brightness(0.5);
	cursor: default;
}
a.disabled {
    filter: brightness(0.5);
		cursor: default;
}

/* アイコン
-------------------------------------*/
*[class^="text-icon"] {
    display: inline-block;
    padding: 1px 5px;
    margin-left: 5px;
    vertical-align: middle;
    font-size: 0.7em;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
}

span.text-icon-red {
    background: #df002c;
}

span.text-icon-gray {
    background: gray;
}
