/* Modal Library CSS
 * Jesus A. Noland
 * October 19, 2014
 */


html * {
	font-family: 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 16px;
	border: none;
	text-decoration: none;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;

	/* Box sizing */
	box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;
}

 /* HTML based CrispPopup */

.pop-up {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1000;

	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

.pop-up {
	background-color: #ffffff;
	border: solid 2px #00d2bd;
	color: #00d2bd;
	width: 300px;
	height: auto;

	box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
}

.pop-up-lg {
    position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1000;
	background-color: #ffffff;
	border: solid 2px #00d2bd;
	color: #00d2bd;
	width: 800px;
    height: 500px;

    transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);

	box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
}

.pop-up-error {
	background-color: #ffffff;
	border: solid 3px rgb(255, 0, 0);
	border-top: 0;
	color: rgb(255, 0, 0);
	width: 300px;
	height: auto;

	box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
}

.pop-up-settings {
	background-color: #ffffff;
	border: solid 2px #00d2bd;
	color: #00d2bd;
	width: 800px;
	height: auto;

	box-sizing: border-box !important;
	-webkit-box-sizing: border-box !important;
	-moz-box-sizing: border-box !important;
	-ms-box-sizing: border-box !important;
}

.pop-up-medium {
    width: 500px;
}

.pop-up-medium section {
    position: relative;
    margin: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
}

.pop-up-medium section #sharing_download_link {
    margin: 0 10px 0 0;
    padding: 2px;
    width: 65%;
    outline: none;
    display: inline-block;
    height: 35px;
}

.pop-up-medium section #sharing_copy_link {
    display: inline-block;
}

.pop-up-medium section .sharing_setting_title {
    display: inline-block;
    vertical-align: top;
    margin: 7px;
}

.pop-up-medium section .switch {
    display: inline-block;
    margin-left: 65%;
}

.pop-up-settings form {
	margin: 0 0 20px 0;
	padding: .75em 1.25em 1.25em;
	position: relative;
	line-height: 1.75em;
}

.pop-up-settings .environment-title {
	float: left;
}

.pop-up-settings .environment-value {
	float: right;
}

.pop-up-settings ul li {
	display: inline;
}

.break {
    display: table;
    width: 100%;
    height: 20px;
    padding: 15px 0;
}

.sharing_type_row {
    width: 100%;
}

.sharing_type_row .sharing_setting_title {
    display: inline-block;
}

.sharing_type_row .sharing_setting_select {
    display: inline-block;
    height: 40px;
}

.greeting {
	padding: .5em 1.25em;
	position: relative;
}

.greeting, .message {
	line-height: 1.75em;
}

.pop-up .greeting {
	color: #fff;
	background-color: #00d2bd;
}

.pop-up-lg .greeting {
    color: #fff;
	background-color: #00d2bd;
}

.error {
	padding: .5em 1.25em;
	position: relative;
}

.error .message {
	line-height: 1.75em;
}

.pop-up .error {
	color: #fff;
	background-color: rgb(255, 0, 0);
}

.message {
	padding: .75em 1.25em 1.25em;
}

.close {
 	display: block;
 	text-decoration: none;
 	color: #fff;
 	position: absolute;
 	top: 50%;
 	right: 0;
 	height: 100%;
 	width: 45px;
 	text-transform: uppercase;
 	text-align: center;
 	cursor: pointer;

 	transform: translate(0, -50%);
 	-webkit-transform: translate(0, -50%);
 	-moz-transform: translate(0, -50%);
 	-ms-transform: translate(0, -50%);
}

.close:hover {
 	color: #00a599;
}

.pop-up .error .close:hover {
 	color: #870000;
}

.close span {
	position: absolute;
 	left: 50%;
 	top: 50%;

 	transform: translate(-50%, -50%);
 	-webkit-transform: translate(-50%, -50%);
 	-moz-transform: translate(-50%, -50%);
 	-ms-transform: translate(-50%, -50%);
}

.pop-up div.message ul {
    list-style-type: disc;
    padding: 0 0 0 20px;
}

/* End */

/* HTML based Tile Editor */

div#tile_editor {
 	padding: 4em 7em 4em 4em;
 	display: none;
    overflow: auto;
 	position: fixed;
 	z-index: 25;
 	top: 0;
 	left: 0;
 	width: 100%;
 	height: 100%;
 	background-color: rgba(255, 255, 255, .95);
}

textarea#tile_editor_title, textarea#tile_editor_content, a#tile_editor_done_button {
	position: relative;
 	width: 100%;

 	transition: all .15s ease;
 	-webkit-transition: all .15s ease;
 	-moz-transition: all .15s ease;
 	-ms-transition: all .15s ease;
}

textarea#tile_editor_title, textarea#tile_editor_content {
 	padding: 20px;
 	color: #1eb4d2;
 	resize: none;
 	line-height: 1.5em;
 	height: 40%;
 	overflow-y: auto;
 	background-color: transparent;

 	transition: all .15s ease;
 	-webkit-transition: all .15s ease;
 	-moz-transition: all .15s ease;
 	-ms-transition: all .15s ease;
}

textarea#tile_editor_content {
	height: 60%;
    width: 45%;
    display: inline-block;
}


textarea#tile_editor_title:focus, textarea#tile_editor_content:focus, textarea#tile_editor_title:hover, textarea#tile_editor_content:hover {
	border: 0;
	outline: dashed 1px;
}

textarea#tile_editor_title {
	height: auto;
	padding: 20px;
	width: 100%;
	font-size: 3em;
}

nav#tile_editor_done_bar {
	position: fixed;
	width: 100%;
	bottom: 0;
	left: 0;
	height: 40px;
	font-size: .8em;
	background-color: #1eb4d2;
	z-index: 11;
}

a#tile_editor_done_button, a#tile_editor_cancel_button {
	display: block;
	text-align: center;
	color: #fff;
	font-size: inherit;
	line-height: 40px;
	text-transform: uppercase;
	cursor: pointer;
}

a#tile_editor_done_button:hover, a#tile_editor_cancel_button:hover {
	background-color: rgba(8,0,109, .15);
}

a#tile_editor_done_button {
	width: 100%;
}

a#tile_editor_cancel_button {
	position: absolute;
	width: 60px;
	top: 0;
	right: 0;
}

/* End Section */

.modal_shadow {
	-moz-box-shadow:    0px 2px 1px 2px #ccc;
	-webkit-box-shadow: 0px 2px 1px 2px #ccc;
	box-shadow:         0px 2px 1px 2px #ccc;
}

.default_modal_noshow {
	display: none;
}

.default_modal {
	position: absolute;
	left: 50%;
	top: 5%;
	width: 250px;
	cursor: pointer;
	display: none;
	padding: 5px;
	text-align: center;
	background-color: white;
}

.default_modal div {
	color: #00cbd2;
}

.background_content {
	opacity: 0.5;
}

/* Tile Editor Styling */

#modal {
	position: relative;
	z-index: 10;
	width: 550px;
	margin: 0 auto;
	visibility: visible;
}

#bgColor {
	background-color: #ffffff;
	opacity:.55;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
}

#mc_embed_container {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 1;
	left: 0;
	top: 0;
	background: rgba(255, 255, 255, .75);
	overflow-y: hidden;
	overflow-x: hidden;
}

#edit_tile_popup_form {
	width: 90%;
	padding: 5%;
}

input#idea {
	font-size: 3em;
	border: none;
	color: #1eb4d2;
	width: 100%;
	margin-bottom: 20px;
	padding: 1px;
	background: rgba(255, 255, 255, .1);
}

#bottom_bar {
	position: absolute;
	width: 100%;
	height: 40px;
	bottom: 0;
	left: 0;
	background-color: #1eb4d2;
	text-align: center;
	line-height: 2.5;
	cursor: pointer;
}

input#idea:focus {
	outline: none;
}

input#idea::-webkit-input-placeholder {
	color: #1eb4d2;
}

input#idea:-moz-placeholder { /* Firefox 18- */
	color: #1eb4d2;
}

input#idea::-moz-placeholder {  /* Firefox 19+ */
	color: #1eb4d2;
}

input#idea:-ms-input-placeholder {
	color: #1eb4d2;
}

textarea#idea_content {
	font-size: 1em;
	color: #1eb4d2;
	width: 100%;
	height: 200px;
	resize: none;
	background-color: transparent;
	opacity:.85;
	padding: 5px;
	max-height: 150px;
	overflow-y: auto;
}

textarea#idea_content:focus {
	outline: none;
}

textarea#idea_content::-webkit-input-placeholder {
	color: #1eb4d2;
}

textarea#idea_content:-moz-placeholder { /* Firefox 18- */
	color: #1eb4d2;
}

textarea#idea_content::-moz-placeholder {  /* Firefox 19+ */
	color: #1eb4d2;
}

textarea#idea_content:-ms-input-placeholder {
	color: #1eb4d2;
}

a#tile_view_done_button {
	width: 92%;
	cursor: pointer;
	color: #ffffff;
	font-size: 0.8em;
	display: inline-block;
	text-decoration: none;
	padding-bottom: 2px;
	padding-left: 2px;
	text-transform: uppercase;
}

a#tile_view_cancel_button {
	color: #ffffff;
	padding: 0px 2px 2px 4px;
}

/* Colorpicker */

#color_picker_container {
	position: fixed;
	top: 0;
	right: 0;
	width: 100px;
	height: 100%;
}

#color_picker {
	position: fixed;
	width: 90%;
	height: 100%;
	right: -88%;
	overflow-y: auto;

	transition: all .25s ease;
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-ms-transition: all .25s ease;
}

#color_picker_container:hover #color_picker {
	right: -75%;

	transition: all .25s ease;
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-ms-transition: all .25s ease;
}

#color_picker li {
	position: relative;
	list-style-type: none;
	width: 100%;
	height: 30%;
	cursor: pointer;
	opacity: .8;
	filter: alpha(opacity=80);

	transition: all .25s ease;
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-ms-transition: all .25s ease;
}

#color_picker li:hover {
	opacity: 1;
	filter: alpha(opacity=100);

	transition: all .25s ease;
	-webkit-transition: all .25s ease;
	-moz-transition: all .25s ease;
	-ms-transition: all .25s ease;
}

/* toggle switch */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #00a8d2;
}

input:focus + .slider {
    box-shadow: 0 0 1px #00a8d2;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* end toggle switch */

/* End Tile Editor Styling */

@media only screen and (max-width: 1000px) {
	.default_modal {
		position: relative;
		top: 0;
		left: 0;
		width: auto;
		margin: 3em auto;
		cursor: pointer;
		display: none;
		padding: 2px 2px;
		text-align: center;
		background-color: white;
	}

	.pop-up-settings {
		width: 80%;
	}

	.pop-up-settings ul li {
		display: block;
	}

	.pop-up-settings input[type="text"] {
		width: 200px;
	}
}

/* Tile Editor Mobile view */
@media only screen and (max-width: 768px) {
	div#tile_editor {
		padding: 1.0em 3.0em 4.0em 1.0em;
	}

	textarea#tile_editor_title {
		height: auto;
		padding: 20px;
		width: 100%;
		font-size: 2em;
	}

    textarea#tile_editor_content {
        width: 100%;
    }

	.pop-up-settings {
		width: 80%;
	}

	.pop-up-settings ul li {
		display: block;
	}

	.pop-up-settings input[type="text"] {
		width: 150px;
	}
}
