/*---------------------
    Main
----------------------*/

a, article, body, button, div, footer, h1, h2, h3, h4, h5, h6, hr, iframe, img, li, main, p, section, table, th, tr, td, ul, ol  { /* reset */
	margin: 0px auto;
	padding: 0px;
}

* {
	box-sizing:border-box;
}

a {
	transition: all 0.3s ease;
	text-decoration: none;
}

body {
	background:rgb(42, 43, 46);
	color:rgb(253, 253, 253);
	font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
	background-image: linear-gradient(to right, #09224a, #311a46, #490e39, #560324, #580b0b);
}

main {
	min-height:100vh;
	padding-top:80px;
}

.policy-article h2 {
	text-align: center;
}

.policy-article .text-container {
	background-color: rgba(255, 255, 255, 0.5);
}

.policy-article .text-container th,
.policy-article .text-container td {
	border: 1px solid black;
}

/* Footer
----------------------*/
footer {
	background:black;
	width: 100%;
	padding:20px;
}

footer div.footer-links {
	max-width:1200px;
}

footer .link_list {
	list-style: none;
	text-align: left;
	display: inline-block;
	text-align: center;
	align-content: flex-start;
	vertical-align: text-top;
	margin:0px;
}

footer .link_list {
	display: block;
	margin-top:0px;
}
footer .link_list a {
	padding:10px;
	text-transform:uppercase;
	display: inline-block;
	color:white;
}

footer p {
	margin: 0px auto;
	padding:10px;
	text-align: center;
	text-transform: uppercase;
}

/* form */

form {
	margin:0px auto;
	background:rgb(21, 21, 21);
	border-radius: 5px;
	background:#f3f3f3;
	color:black;
}

form .row span {
    display:block;
    padding-top:5px;
}

form label {
	text-align: left;
	display: block;
}

form input[type='text'],
form input[type='email'],
form input[type='submit'],
form input[type='number'],
form input[type='password'],
form input[type='tel'],
form input[type='datetime'],
form input[type='file'],
form select {
	border:1px solid lightgray;
	padding:10px;
	font-size:1rem;
	margin:0px auto;
	width:100%;
	background:white;
	font-weight:100;
	appearance: none;
	border-radius:0px;
	margin-bottom:8px;
}

form input:focus {
    border:none;
}
form textarea {
    width:100%;
    border:1px solid lightgray;
    min-height:200px;
    resize: none;
    padding:10px;
    margin:0px;
    font-size:1rem;
}

form .redirect a,
form input[type='submit'] {
	cursor: pointer;
	background:#030d1c;
	color:white;
	text-transform: uppercase;
	font-weight: bold;
	border:1px solid transparent;
	transition:all 0.5s ease;
	border-radius: 5px;
	display: block;
	text-align: center;
}

form .redirect a {
	padding: 10px;
	font-weight: 100;
	background:#033669;
}

form input[type='submit']:hover {
    background:#010f26;
}

form .compact {
    display: flex;
}

form .numbers {
    display: flex;
}

form .radio_list {
    display: flex;
}

form .numbers .radio {
    margin: auto;
    width:40px;
}

form .flex-container {
    display:flex;
}

form input[type="checkbox"] {
	padding:5px;
	border:1px solid gray;
	cursor: pointer;
	vertical-align: bottom;
	display: inline-block;
}

input[type="checkbox"] ~ label {
	padding: 5px;
	margin: 0px;
	display: inline-block;
}

form input[type="checkbox"]:checked {
	background:darkred;
}

form img {
	width:100%;
}

form span {
	display: block;
	color:gray;
	text-align: center;
	padding:5px;
}

.mx-w-400 {
	max-width:400px;
}

.mx-w-500 {
	max-width: 500px;
}

/* form message */
@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity:1 ;}
}
@keyframes fadeOut {
	from {opacity: 1;}
	to {opacity:0 ;}
}

#message.show {
  visibility: visible;
  animation: fadeIn 1s;
  top:50px;
}

#message.hide {
  visibility: hidden;
  animation: fadeOut 1s;
  top:-60px;
}

#message {
	transition: all 0.5s ease;
	margin:0px auto;
	display: block;
	color:white;
	visibility: visible;
	animation: fadeOut 2s;
	visibility: hidden;
	position: fixed;
	z-index: 99;
	top:-60px;
	box-shadow:0px 10px 10px rgba(23, 23, 23, 0.3);
	padding:10px;
	font-size:1.2rem;
	border-radius:5px;
	background-image: linear-gradient(to right top, #00bc2a, #03b121, #04a618, #039b0c, #029000);
}

#message h5 {
	font-weight: 100;
}

#message h5 span {
	text-decoration: underline;
}

.success {
	background-color:green;
}

#message.fail {
    background-color:red;
}

.text-container {
	text-align: left;
	padding:10px;
	font-weight:normal;
	width: 800px;
	max-width: 100%;
	color: black;
	margin: 0px;
	padding:20px;
	box-shadow:0px 0px 5px rgb(35, 35, 35);
	background-color: hsl(209, 9%, 93%);
	border-radius:5px;
}

.text-container p {
	padding:8px;
}

.text-container span {
	padding:0px;
	text-align:center;
	color:rgb(177, 177, 177);
	display: block;
}

.text-container a {
	color:black;
	text-decoration: underline;
}

/* nav */
nav {
	width:100%;
	z-index: 9;
	text-align: center;
	padding:5px;
	position: fixed;
	background:black;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#home {
	font-size: 1.4rem;
	font-weight: bold;
	padding:10px;
	margin-left:50px;
	z-index:99;
}

nav a {
	text-transform: uppercase;
	color:white;
	display: inline-block;
	margin:2px;
}

nav a:hover {
	background:black;
}

nav svg {
	scale: 1;
	width:30px;
	height:30px;
	fill:white;
}

#login {
	display: flex;
	justify-content: center;
}

#main_links {
	display: inline-block;
}

nav .container {
	margin:0px;
}

nav .flex {
	display:flex;
	justify-content:center;
	align-items:center;
	margin: 0px;
}

#burger-search,
#search {
	padding:0px;
	background: white;
	border:1px solid transparent;
	display: flex;
	justify-content: center;
	align-items: center;
}

#search {
	margin-right:10px;
}

#burger-search {
	margin: 10px;
	padding:5px;
	box-shadow: unset;
}

#search svg {
	margin-left: 5px;
	fill: lightgray;
}

#burger-search svg {
	width:25px;
}

#burger-search input,
#search input {
	border:0px solid transparent;
	padding: 5px;
	margin: 0px;
	border-radius: 5px;
	outline:none;
}

#search input {
	min-width: 300px;
}

@media screen and (max-width:550px) {
	#main_links {
		display: none;
	}
}

/* hamburger menu
--------------------*/
#burger {
    cursor: pointer;
    float: right;
    margin-right: 20px;
    position: relative;
	border: none;
	display: none;
}

#burger + label {
	transform:1s all ease;
	position: fixed;
  	top: 20px;
  	left: 22px;
  	height: 20px;
  	width: 18px;
  	z-index: 99;
	padding:10px;
}

#burger + label span {
	position: absolute;
	width: 90%;
	height: 2px;
	top: 50%;
	margin-top: -1px;
	left: 0;
	background: #f5f5f5;
	transition: all .5s ease;
}

#burger + label span:first-child {
	top: 4px;
	width:100%;
}

#burger + label span:last-child {
	top: 16px;
	width:80%;
}

#burger + label:hover {
	cursor: pointer;
}

#burger:checked + label span {
	opacity: 0;
	top: 50%;
	width:100%;
}

#burger:checked + label span:first-child {
	opacity: 1;
	transform: rotate(45deg);
}

#burger:checked + label span:last-child {
	opacity: 1;
	transform: rotate(-45deg);
}

#burger-menu {
	transition: all 0.3s ease;
	left: -101%;
	text-align: left;
	position: fixed;
	height: 100%;
	overflow-y: scroll;
	z-index: 1;
	top:0;
    padding-top: 80px;
	width:180px;
	background-color: hsl(209, 9%, 93%);
	padding-bottom: 30px;
}

#burger-menu::-webkit-scrollbar {
    width: 0 !important
}

#burger-menu a {
    display: flex;
	justify-content:start;
	align-items: center;
    padding: 10px;
	background:transparent;
	color: black;
	font-size:1rem;
	font-weight: 100;
	margin: 10px;
}

#burger-menu a svg {
	width:20px;
	height:20px;
	margin-right: 5px;
}

#burger:checked ~ #burger-menu {
  	left: 0px;
}

/* poll */

#polls-container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	max-width: 1200px;
	padding-bottom: 80px;
}

.poll {
	max-width: 500px;
	margin:20px;
	text-align: center;
	position:relative;
	overflow:hidden;
	border-radius:10px;
	background:black;
	box-shadow:0px 5px 5px #12121275;
}

.poll .data {
	display: flex;
}

.poll .data button {
	display: block;
	border:1px solid transparent;
	color:white;
	cursor: pointer;
	flex:1;
	transform:1s ease all;
	text-transform:capitalize;
	margin: 10px;
	overflow: hidden;
	border-radius: 10px;
	font-size:1.2rem;
}

.poll .data .a {
	flex:1;
	padding:10px;
}

.poll .data .a,
.poll .data button.vote-a-btn {
	transition: all ease 0.5s;
	background:rgb(2, 2, 39);
}

.poll .data .a.selected {
	background:darkblue;
}

.poll .data .a button:hover {
	border:1px solid rgba(255, 255, 255, 0.524);
}

.poll .data .selected button {
	border:unset;
}

.poll .data .a p {
	background:darkblue;
	padding:20px;
	text-shadow: 0px 1px 1px black;
	text-align: left;
}

.poll .data .b {
	flex:1;
	padding:10px;
}

.poll .data .b,
.poll .data button.vote-b-btn {
	transition: all ease 0.5s;
	background:rgb(42, 2, 2);
}

.poll .data .b.selected {
	background:darkred;
}

.poll .data .b button:hover {
	border:1px solid rgba(255, 255, 255, 0.524);
}

.poll .data .selected button {
	border:unset;
}

.poll .data .img {
	overflow:hidden;
	height:210px;
	width:210px;
}

.loader {
	margin: auto;
	border: 5px solid #EAF0F6;
	border-radius: 50%;
	border-top: 5px solid #5999ff;
	width: 80px;
	height: 80px;
	animation: spinner 4s linear infinite;
}

@keyframes spinner {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.poll .data .a button:hover img,
.poll .data .b button:hover img {
	scale: 1.3;
}

.poll .data .b p {
	padding:20px;
	background:darkred;
	text-shadow: 0px 1px 1px black;
	text-align: left;
}

.poll img {
	transition:all ease 0.8s;
	width:100%;
	padding:0px;
	vertical-align: middle;
}

.poll .stats {
	border-top:1px solid rgba(0, 0, 0, 0.039);
	padding:0px;
	display:flex;
	color:white;
	text-shadow: 0px 1px 1px black;
}

.poll .stats div {
	padding:5px;
	margin:0px;
	font-size:1rem;
	margin-bottom:0px;
	transition: width 0.5s;
}

.poll .vote-a { background:darkblue; }
.poll .vote-b { background:darkred; }


/* type fiter */
#type-filters {
	max-width:600px;
}
#type-filters a,
#type-filters span {
	font-size:1rem;
	display: inline-block;
	padding:0.5rem;
	margin:5px;
	text-transform: uppercase;
	border-radius: 5px;
	box-shadow:0px 2px 8px #ddd;
}

#type-filters span {
	color:lightgray;
}

#type-filters a:hover {
	color:black;
	background: #f3f3f3;
}

#type-filters a.active {
	background:#f3f3f3;
}

@media screen and (max-width:600px) {
	.poll .data .img {
		height:unset;
		width:unset;
	}
	.poll .data button {
		margin:0px;
		font-size:1rem;
	}
	.poll .data .a p,
	.poll .data .b p {
		padding:10px;
	}
	#home {
		flex:4;
		margin: 0px auto;
		max-width:100px;
	}
	#burger-menu {
		width:100%;
		text-align: center;
	}
	#burger-menu a {
		font-size: 2rem;
		margin:5px;
	}
	#burger-menu a svg {
		width: 30px;
		height: 30px;
		margin-right: 10px;
	}
	#search {
		display: none;
	}
}
#notification-container {
	position: fixed;
	top:60px;
	z-index: 9;
	width: 100%;
}

.notification {
	max-width: 240px;
	background-color: #4CAF50;
	color: white;
	text-align: center;
	padding: 10px;
	opacity: 1;
	animation: slideDown 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
	border-radius: 5px;
	margin-top:5px;
	display: flex;
	justify-content: space-around;
	align-items: center;
}

.notification span {
	flex:5;
}

.notification .close-btn {
	padding:0px;
	appearance: none;
	-webkit-appearance: none;
	  border-radius: 0;
	border:0px;
	color:white;
	border:0px;
	background:transparent;
	font-size: 16px;
	cursor: pointer;
	flex:1;
}

@keyframes slideDown {
	from {
		bottom: -100px;
		transform: translateY(-100%);
	}
	to {
		bottom: 10px;
		transform: translateY(0);
	}
}

.notification.notification-fade {
	animation: fadeOut 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes fadeOut {
	from {
		top: 10px;
		transform: translateY(0);
		opacity: 100;
	}
	to {
		top: -100px;
		transform: translateY(-100%);
		opacity: 0;
	}
}

.spinner-container {
	width:100%;
	height:100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	background:rgba(0, 0, 0, 0.6);
}
.spinner {
	border: 4px solid rgba(0, 186, 40, 0.1);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border-left: 4px solid rgb(255, 255, 255);
	animation: spin 1s linear infinite;
}

#polls .spinner-container {
	position: relative;
	height:unset;
	background:unset;
	padding: 40px;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

#subscribe {
	display: flex;
	justify-content: center;
	align-items: center;
	background:rgb(6, 34, 104);
	bottom:0;
	width:100%;
	height:100vh;
}

#subscribe p {
	padding:20px;
	font-size: 2rem;
	max-width:500px;
}

#subscribe-modal {
	display: none;
	justify-content: center;
	align-items: center;
	background:rgb(6, 34, 104);
	position:fixed;
	bottom:0;
	width:100%;
	height:100vh;
}

#subscribe-modal form {
	background:transparent;
	box-shadow:unset;
}

#subscribe-modal .container {
	padding:10px;
}

#subscribe-modal .container p {
	padding:20px;
	font-size: 1.2rem;
	max-width:500px;
}

#subscribe-modal .dismiss {
	position: absolute;
	bottom:0;
	cursor: pointer;
	background:#030d1c;
	color:white;
	text-transform: uppercase;
	font-weight: bold;
	border:1px solid transparent;
	transition:all 0.5s ease;
	border-radius: 10px;
	padding:10px;
	margin:20px auto;
}