﻿@import url('https://fonts.googleapis.com/css?family=Josefin+Sans:100,300,400,600,700');
@import url('https://fonts.googleapis.com/css?family=Nunito+Sans:200,300,400,600,700,800,900');
@import url("reset.css");

/***** Base styles *****/

* {
	box-sizing: border-box;
	color: #333333;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 300;
	font-size: 100%;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-webkit-overflow-scrolling: touch;
}

#closeBtn {
	display: block;
	position: absolute;
	right: 15px;
	top: 15px;
	width: 27px;
	height: 27px;
	border: 1px solid #000000;

	background: url(../img/002715.png);
	background-size: 27px 27px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;
	text-decoration: none;

	z-index: 100;
	cursor: pointer;

	-webkit-transition: all .2s ease-in;
	   -moz-transition: all .2s ease-in;
	     -o-transition: all .2s ease-in;
	        transition: all .2s ease-in;
}

#viewmodeALL {
	display: block;
	position: absolute;
	right: 55px;
	top: 15px;
	width: 27px;
	height: 27px;
	border: 1px solid #000000;

	background: url(../img/01F867.png);
	background-size: 27px 27px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;
	text-decoration: none;
	
	z-index: 100;
	cursor: pointer;

	-webkit-transition: all .2s ease-in;
	   -moz-transition: all .2s ease-in;
	     -o-transition: all .2s ease-in;
	        transition: all .2s ease-in;
}

#viewmodeMAX {
	display: block;
	position: absolute;
	right: 55px;
	top: 15px;
	width: 27px;
	height: 27px;
	border: 1px solid #000000;

	background: url(../img/01F865.png);
	background-size: 27px 27px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;
	text-decoration: none;
	
	z-index: 100;
	cursor: pointer;

	-webkit-transition: all .2s ease-in;
	   -moz-transition: all .2s ease-in;
	     -o-transition: all .2s ease-in;
	        transition: all .2s ease-in;
}

.urlBtn {
	display: block;
	position: absolute;
	right: 95px;
	top: 15px;
	width: 27px;
	height: 27px;
	border: 1px solid #000000;
	outline: none;
	
	background: url(../img/share.png);
	background-size: 27px 27px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;
	text-decoration: none;
	
	z-index: 100;
	cursor: pointer;

	-webkit-transition: all .2s ease-in;
	   -moz-transition: all .2s ease-in;
	     -o-transition: all .2s ease-in;
	        transition: all .2s ease-in;
}

.urltooltip {
	visibility: hidden;
	opacity: 0;

	display: inline-block;
	white-space: nowrap;

	font-size: 1.25em;
	background-color: #555;
	color: #fff;
	text-align: left;
	border-radius: 6px;
	padding: 10px;
	border: none;
	outline: none;	
	text-decoration: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

.urlBtn:hover .urltooltip {
	-webkit-transition: all 1s ease-in;
	   -moz-transition: all 1s ease-in;
	     -o-transition: all 1s ease-in;
	        transition: all 1s ease-in;
	        
	-webkit-transition-delay: .5s;
	   -moz-transition-delay: .5s;
	     -o-transition-delay: .5s;
	        transition-delay: .5s;  
}

.urlBtn:active  .urltooltip {
	visibility: visible;
	opacity: 1;

	-webkit-transition: none;
	   -moz-transition: none;
	     -o-transition: none;
	        transition: none;
}

#title-container {
	display: none;
	position: absolute;
	left: 105px;
	top: 87px;
	width: auto;
	height: 21px;
	background-color: rgba(255, 255, 255, 1);
	padding: 0;
	z-index: 100;
}

#title-container h1 {
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
	font-size: 1.25em;
	color: #333333;
	text-transform: uppercase;
	padding: 4px 6px 0px 6px;
	word-wrap: break-word;
}

#textBtn {
	display: block;
	position: absolute;
	left: 55px;
	top: 15px;
	width: 27px;
	height: 27px;
	border: 1px solid #000000;
	
	background: url(../img/text.png);
	background-size: 27px 27px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;
	text-decoration: none;
	
	z-index: 100;
	cursor: pointer;

	-webkit-transition: all .2s ease-in;
	   -moz-transition: all .2s ease-in;
	     -o-transition: all .2s ease-in;
	        transition: all .2s ease-in;	
}

#textbox {
	position: fixed;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	overflow: auto;
	
	background-color: rgba(255,255,255,0.95);
		
	opacity: 0;
	visibility: hidden;
	
	z-index: 800;

	-webkit-transition: all .5s ease-out;
	   -moz-transition: all .5s ease-out;
	     -o-transition: all .5s ease-out;
	        transition: all .5s ease-out;
}

#text-container{
	position: relative;
	margin: 0;
	padding: 0;
	width: 90%;
	left: 50%;
	transform: translateX(-50%);
	color: #000000;

	opacity: 0;
	visibility: hidden;
	
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#text-container h1 {
	margin-top: 50px;
	margin-bottom: 25px;
	padding: 0;

	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
	font-size: 1.5em;
	text-transform: uppercase;
	
	display: block;
	text-align: center;
	word-wrap: break-word;
}

#text-container h2 {
	position: relative;
	margin-bottom: 0.3750em;
	
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
	font-size: 0.75em;
	text-transform: uppercase;
	
	display: block;
	text-align: left;
}

#text-container h3, #text-container h4 {
	position: relative;
	margin-bottom: 1.5em;

	font-family: 'Nunito Sans', sans-serif;
	font-weight: 300;
	font-size: 0.875em;
	line-height: 1.75em;
	text-transform: titlecase;
	
	display: block;
	text-align: left;
	text-overflow: ellipsis;
}

#text-container h5 {
	position: relative;
	margin-top: 2.5em;
	margin-bottom: 2.5em;
	
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 300;
	font-size: 0.75em;
	
	display: block;
	text-align: left;
}

#text-container p {
	padding-bottom: 1.5em;
}

#text-container p span {
	display: block;
}