﻿@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,750,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%;
}

#closeBtn {
	display: block;
	position: absolute;
	right: 20px;
	top: 85px;
	width: 25px;
	height: 25px;
	border: 1px solid #000000;
	
	background: url(../img/002715.png);
	background-size: 23px 23px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(255, 255, 255, 1);
	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;
}

#closeBtn:hover {
	background-color: rgba(255, 255, 255, 0.8);

	-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: 85px;
	width: 25px;
	height: 25px;
	border: 1px solid #000000;
	
	background: url(../img/01F867.png);
	background-size: 23px 23px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(255, 255, 255, 1);
	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:hover {
	background-color: rgba(255, 255, 255, 0.8);

	-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: 85px;
	width: 25px;
	height: 25px;
	border: 1px solid #000000;
	
	background: url(../img/01F865.png);
	background-size: 23px 23px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(255, 255, 255, 1);
	text-decoration: none;
	
	z-index: 100;

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

#viewmodeMAX:hover {
	background-color: rgba(255, 255, 255, 0.8);

	-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: 90px;
	top: 85px;
	width: 25px;
	height: 25px;
	border: 1px solid #000000;
	outline: none;
	
	background: url(../img/share.png);
	background-size: 23px 23px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(255, 255, 255, 1);
	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:hover {
	background-color: rgba(255, 255, 255, 0.8);

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

.urlBtn .urltooltip {
	visibility: hidden;
	opacity: 0;

	display: inline-block;
	white-space: nowrap;
	
	background-color: #555;
	color: #fff;
	text-align: left;
	border-radius: 6px;
	padding: 5px;
	border: none;
	outline: none;	
	text-decoration: none;
	position: absolute;
	top: -5%;
	right: 150%;  
	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: block;
	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: 20px;
	top: 85px;
	width: 25px;
	height: 25px;
	border: 1px solid #000000;
	
	background: url(../img/text.png);
	background-size: 23px 23px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: rgba(255, 255, 255, 1);
	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;
}

#textBtn:hover {
	background-color: rgba(255, 255, 255, 0.8);

	-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: 90%;
	top: 0;
	left: 0;
	
	background-color: rgba(255, 255, 255, 0.95);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); 
	
	opacity: 0;
	visibility: hidden;
	
	z-index: 800;
	cursor: pointer;

	-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: 80px 100px;

	padding: 10px;

	color: #000000;
	
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#text-container h1 {
	margin-bottom: 2.5em;
	padding: 0;
	
	font-family: 'Josefin Sans', sans-serif;
	font-weight: 400;
	font-size: 1.25em;
	text-transform: uppercase;
	
	display: block;
	text-align: left;
	word-wrap: break-word;
}

#text-container h2 {
	position: relative;
	margin-bottom: 0.375em;

	font-family: 'Nunito Sans', sans-serif;
	font-weight: 700;
	font-size: 0.75em;
	text-transform: uppercase;
	
	display: block;
	text-align: left;
}

#text-container h3 {
	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;
}

#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;
	
	max-width: 300px;
	height: calc(45vh);
	box-sizing: border-box;
	
	display: block;
	text-align: left;
	text-overflow: ellipsis;

	-webkit-column-count: 1;
	   -moz-column-count: 1;
	        column-count: 1;
	-webkit-column-gap: 30px;
	   -moz-column-gap: 30px;
	        column-gap: 30px;
	-webkit-column-rule: 1px solid #ddd;
	   -moz-column-rule: 1px solid #ddd;
	        column-rule: 1px solid #ddd;
	-webkit-column-fill: auto;
	   -moz-column-fill: auto;
	        column-fill: auto;
}

#text-container h5 {
	position: relative;
	margin-top: 4.0em;

	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;
}