/*
	_____          _             
 |  __ \( )     | |            
 | |  | |_  __ _| | ___   __ _ 
 | |  | | |/ _` | |/ _ \ / _` |
 | |__| | | (_| | | (_) | (_| |
 |_____/|_|\__,_|_|\___/ \__, |
													__/ |
 Dialog Window           /__*/  


.dialogContainer {
	position: fixed;
	top:0;
	right:0;
	z-index: 300;
}
.dialogContainer.left {
    right:inherit;
    left:0;
}

.dialogContainer.center {
    right:inherit;
    left:calc(50% - 180px);
}

.dialogContainer.bottom {
    top:inherit;
    bottom:0px;
}

.dialogContainer:hover .hiddenContent,
.dialogContainer.hover .hiddenContent {
    max-height:90px;
    opacity:1;
    overflow: inherit;
    transition: 0.35s;
}

.dialogContainer:hover .close {opacity:0.2;}

.flex.tinySpaces {
    margin-left: -6px;
    margin-right: -6px;
}
.flex {
    display: -webkit-box;
    display: flex;
    padding: 0px;
    margin-left: -2%;
    margin-right: -2%;
    justify-content: space-around;
}
.flex.tinySpaces > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}
.flex > .col-6-12 {
    width: 50%;
}
.flex > [class*="col-"] {
    padding-left: 2%;
    padding-right: 2%;
}

.text-primary {
    color: #3260B1 !important;
}

.button.passive {
    background: #949ba9;
}

.button.small {
    border-radius: 6px;
    font-size: 16px;
    padding: 9px 14px;
}

.button {
    min-width: 100px;
    display: inline-block;
    border-radius: 4px;
    padding: 12px 20px;
    vertical-align: middle;
    color: #fff;
    border: none;
    outline: none;
    text-decoration: none;
    background: #272e3a;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    box-shadow: 0 0 0 rgba(0,0,0,0);
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: 0.2s;
    transition: 0.2s;
    will-change: transform, box-shadow;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1),0 -100px 0 rgba(0,0,0,0) inset;
}

.button:hover,
.button:focus {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 -100px 0 rgba(0, 0, 0, 0.15) inset;
  }

.dialog .button.hover-green:hover {
    background: #1fa175;
    color: white !important;
  }
  
.dialog .button.hover-red:hover {
    background: #c53d2e;
  }


.dialog {
	color:#303030;
	border-radius: 6px;
	max-width: 320px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.08);
	cursor: default;
	opacity: .98;
	font-size: 0;
	line-height: 1.3;
	background: #f9fafc;
	margin: 20px;
	overflow:hidden;
	text-align: left;
	transform: translate3d(0, 0, 0);
	transition: all 0.75s, height 0s;
}
.dialog.rounded {
    border-radius: 6px;
}

.dialog .button.small {
		margin-left: 4px;
		margin-right: 4px;
	}

.dialog .button {
		margin-left: 7px;
		margin-right: 7px;
	}

.dialog.hidden {
		display:none;  
	}

.dialog.bottom {
		top:inherit;
		bottom:0;
	}

.dialog.left {
		right:inherit;
		left:0;
	}

.dialog.hide {
		transform:scale(0.7);
		opacity:0 !important;
		transition:height 0s, opacity 0.5s, transform 0.5s !important;
	}


.dialog:hover {
		opacity:1;
		transition:0.35s;
	}

html:not(.page-loaded) .dialog {
    transform: translateY(100%);
    opacity:0;  
}

html:not(.page-loaded) .dialogContainer {
    top:100%;
}

.dialog:hover .close {opacity:0.2;}

.dialog .close {
	  padding: 8px;
	  margin: 5px;
	  background: #292f38;
	  position: absolute;
	  border-radius: 40px;
	  font-size: 0;
	  top: 0;
	  right: 0;
	  cursor: pointer;
	  transition: opacity 0.35s, background 0.15s;
	  opacity: 0;
	  z-index: 10;
}
.dialog .close:after,
.dialog .close:before {
    content: "";
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 3px;
    top: 7px;
}

.dialog .close:hover,
.dialog .close:active {
    opacity:1;
    transition: opacity 0.35s, transform 0.35s 0.15s;
    transform: rotate(90deg);
}

.dialog .close:active {
    background: red;
}

.dialog .close:before {
    transform:rotate(-45deg);
}

.dialog .close.white {
    background:transparent !important;  
}

.dialog .close.white:after,
.dialog .close.white:before {
    background: #fff;
}

	.dialog .mobile & .close {opacity:1;}

	.dialog .dialogContent {
		padding: 20px;
	}

	.dialog .avatar {
		width:45px;
		height:45px;
		position:absolute;
		top:20px;
	}

	.dialog .avatar + .text {
		width:calc(100% - 60px);
		margin-left:60px;  
	}

	.dialog .text {
		font-size: 15px;
    }

    .dialog .text p {
			padding-bottom: 15px;
		}
	}

	.dialog .title {
		margin: 0 0 4px;
		font-size: 18px;
		font-weight: 600;
	}

	.dialog .hiddenContent {
        margin-top: 12px;
		overflow:hidden;
		display:block;
		max-height:0;
		opacity:0;
		transition: 0.5s 0.5s;
	}

	.dialog .button {
		margin-top: 15px;
	}

	.dialog:hover .hiddenContent,
	.dialog.hover .hiddenContent {
		max-height:90px;
		opacity:1;
		overflow: inherit;
		transition: 0.35s;
	}



.dialog	@include media(667, max) {
		margin:10px;
		max-width:100%;
	}




@keyframes revealDialog {
	0% {
		height:0;
		opacity:0;
		margin-top:0;
		transform: translateY(100%);
	} 
}

.dialogContainer:not(.bottom) .dialog + .dialog {
	margin-bottom:0px;
}

.dialogContainer.bottom .dialog + .dialog {
	margin-top:0px;
}


.dialogContainer > .dialog {
	position:relative;
}


.dialogContainer > .dialog:nth-child(1){ -webkit-transition-delay: 0.1s; transition-delay: 0.1s; }
.dialogContainer > .dialog:nth-child(2){ -webkit-transition-delay: 0.2s; transition-delay: 0.2s; }
.dialogContainer > .dialog:nth-child(3){ -webkit-transition-delay: 0.3s; transition-delay: 0.3s; }
.dialogContainer > .dialog:nth-child(4){ -webkit-transition-delay: 0.4s; transition-delay: 0.4s; }
.dialogContainer > .dialog:nth-child(5){ -webkit-transition-delay: 0.5s; transition-delay: 0.5s; }


