/*!
 * # Semantic UI 2.1.7 - Popup
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Copyright 2015 Contributors
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */

.ui.popup {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	min-width: -webkit-min-content;
	min-width: -moz-min-content;
	min-width: min-content;
	z-index: 1900;
	border: 1px solid #d4d4d5;
	line-height: 1.4285em;
	max-width: 250px;
	background: #fff;
	padding: 10px;
	font-weight: 400;
	font-style: normal;
	color: rgba(0, 0, 0, .87);
	border-radius: .28571429rem;
	box-shadow: 0 2px 4px 0 rgba(34, 36, 38, .12), 0 2px 10px 0 rgba(34, 36, 38, .08);
	margin: 0
}

.ui.popup>.header {
	padding: 0;
	font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
	font-size: 1.125em;
	line-height: 1.2;
	font-weight: 700
}

.ui.popup>.header+.content {
	padding-top: .5em
}

.ui.popup:before {
	position: absolute;
	content: '';
	width: .75em;
	height: .75em;
	background: #fff;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	z-index: 2;
	box-shadow: 1px 1px 0 0 #bababc
}

.ui.top.popup {
	margin: 0 0 .75em
}

.ui.top.left.popup {
	-webkit-transform-origin: left bottom;
	-ms-transform-origin: left bottom;
	transform-origin: left bottom
}

.ui.top.center.popup {
	-webkit-transform-origin: center bottom;
	-ms-transform-origin: center bottom;
	transform-origin: center bottom
}

.ui.top.right.popup {
	-webkit-transform-origin: right bottom;
	-ms-transform-origin: right bottom;
	transform-origin: right bottom
}

.ui.left.center.popup {
	margin: 0 .75em 0 0;
	-webkit-transform-origin: right 50%;
	-ms-transform-origin: right 50%;
	transform-origin: right 50%
}

.ui.right.center.popup {
	margin: 0 0 0 .75em;
	-webkit-transform-origin: left 50%;
	-ms-transform-origin: left 50%;
	transform-origin: left 50%
}

.ui.bottom.popup {
	margin: .25em 0 0
}

.ui.bottom.left.popup {
	-webkit-transform-origin: left top;
	-ms-transform-origin: left top;
	transform-origin: left top
}

.ui.bottom.center.popup {
	-webkit-transform-origin: center top;
	-ms-transform-origin: center top;
	transform-origin: center top
}

.ui.bottom.right.popup {
	-webkit-transform-origin: right top;
	-ms-transform-origin: right top;
	transform-origin: right top;
	margin-right: 0
}

.ui.bottom.center.popup:before {
	margin-left: -.325em;
	top: -.325em;
	left: 50%;
	right: auto;
	bottom: auto;
	box-shadow: -1px -1px 0 0 #bababc
}

.ui.bottom.left.popup {
	margin-left: 0
}

.ui.bottom.left.popup:before {
	top: -.325em;
	left: 1em;
	right: auto;
	bottom: auto;
	margin-left: 0;
	box-shadow: -1px -1px 0 0 #bababc
}

.ui.bottom.right.popup:before {
	top: -.325em;
	right: 1em;
	bottom: auto;
	left: auto;
	margin-left: 0;
	box-shadow: -1px -1px 0 0 #bababc
}

.ui.top.center.popup:before {
	top: auto;
	right: auto;
	bottom: -.325em;
	left: 50%;
	margin-left: -.325em
}

.ui.top.left.popup {
	margin-left: 0
}

.ui.top.left.popup:before {
	bottom: -.325em;
	left: 1em;
	top: auto;
	right: auto;
	margin-left: 0
}

.ui.top.right.popup {
	margin-right: 0
}

.ui.top.right.popup:before {
	bottom: -.325em;
	right: 1em;
	top: auto;
	left: auto;
	margin-left: 0
}

.ui.left.center.popup:before {
	top: 50%;
	right: -.325em;
	bottom: auto;
	left: auto;
	margin-top: -.325em;
	box-shadow: 1px -1px 0 0 #bababc
}

.ui.right.center.popup:before {
	top: 50%;
	left: -.325em;
	bottom: auto;
	right: auto;
	margin-top: -.325em;
	box-shadow: -1px 1px 0 0 #bababc
}

.ui.bottom.popup:before,
.ui.left.center.popup:before,
.ui.right.center.popup:before,
.ui.top.popup:before {
	background: #fff
}

.ui.inverted.bottom.popup:before,
.ui.inverted.left.center.popup:before,
.ui.inverted.right.center.popup:before,
.ui.inverted.top.popup:before {
	background: #1b1c1d
}

.ui.popup>.ui.grid:not(.padded) {
	width: calc(100% + 1.75rem);
	margin: -.7rem -.875rem
}

.ui.loading.popup {
	display: block;
	visibility: hidden;
	z-index: -1
}

.ui.animating.popup,
.ui.visible.popup {
	display: block
}

.ui.visible.popup {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden
}

.ui.basic.popup:before {
	display: none
}

.ui.wide.popup {
	max-width: 350px
}

.ui[class*="very wide"].popup {
	max-width: 550px
}

@media only screen and (max-width:767px) {
	.ui.wide.popup,
	.ui[class*="very wide"].popup {
		max-width: 250px
	}
}

.ui.fluid.popup {
	width: 100%;
	max-width: none
}

.ui.inverted.popup {
	background: #1b1c1d;
	color: #fff;
	border: none;
	box-shadow: none
}

.ui.inverted.popup .header {
	background-color: none;
	color: #fff
}

.ui.inverted.popup:before {
	background-color: #1b1c1d;
	box-shadow: none!important
}

.ui.flowing.popup {
	max-width: none
}

.ui.mini.popup {
	font-size: .71428571rem
}

.ui.tiny.popup {
	font-size: .85714286rem
}

.ui.small.popup {
	font-size: .92857143rem
}

.ui.popup {
	font-size: .8rem
}

.ui.large.popup {
	font-size: 1.14285714rem
}

.ui.huge.popup {
	font-size: 1.42857143rem
}