body {
    margin: 0;
    background-color: #f9f9f9;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    width: 100vw;
}

button {
    padding: 10px 20px;
    font-size: 14px;
    background: rgb(48, 135, 216);
    font-family: "Inter", sans-serif;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
}

button:disabled {
    background: rgb(175, 175, 175);
	cursor: not-allowed;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 20px 5%;
    background-color: rgb(167, 206, 243);
}

header img.logo {
    height: 40px;
}

header button {
    background-color: white;
    color: #000;
}
header button i {
	margin-right: 3px;
}

main {
    width: 90%;
    margin: 0 auto;
    border: 1px solid rgb(218, 218, 218);
    border-radius: 10px;
    margin-top: 30px;
    background-color: white;
    max-width: 1000px;
	min-height: 100px;
}

h3 {
    text-align: center;
    font-size: 14px;
    margin-top: 40px;
    color: rgb(58, 58, 58);
}

h4 {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    color: rgb(58, 58, 58);
}

section#rating {
    margin: 0 0 50px 0;
}

section#rating .stars {
    display: flex;
    justify-content: center;
}

section#rating .star {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background-image: url("../img/star.svg");
    background-position: center;
    background-size: contain;
    cursor: pointer;
    background-repeat: no-repeat;
}
section#rating .star:hover {
    background-image: url("../img/star-hover.svg");
}

section#rating .star.selected {
    background-image: url("../img/star-selected.svg");
}

section#questions article.question {
    margin: 30px;
}
section#questions article.question span {
    width: 20px;
    display: inline-block;
}

section#questions article.question p {
    font-size: 14px;
}

section#questions article.question .question-rating {
    display: flex;
    align-items: center;
    margin-left: 23px;
}

section#questions article.question .question-rating-circle {
    width: 20px;
    height: 20px;
    background-color: rgb(212, 212, 212);
    cursor: pointer;
    border-radius: 50%;
    margin-right: 6px;
    transition-duration: 100ms;
}
section#questions article.question .question-rating-circle:hover {
    background-color: rgb(179, 179, 179);
}

section#questions article.question .question-rating-circle.selected {
    background-color: rgb(48, 135, 216);
}

section#questions article.question .question-rating-circle.selected:hover {
    background-color: rgb(35, 112, 184);
}

section#questions article.question .question-rating-label {
    font-size: 12px;
    margin-left: 5px;
    font-weight: 500;
}

section#questions article.question .question-rating {
    padding-inline-start: 0px;
    list-style-type: none;
}

section#questions textarea#message {
    width: 100%;
    padding: 8px;
    font-family: "Inter", sans-serif;
    outline: none;
    border: 1px solid rgb(218, 218, 218);
    border-radius: 3px;
    resize: vertical;
    min-height: 65px;
}
section#questions textarea#message:focus {
    border: 1px solid rgb(150, 150, 150);
}

section#questions .submit {
    margin: 0 0 20px 30px;
}

footer {
    text-align: center;
    font-size: 12px;
    color: #ababab;
    margin-top: 50px;
}

main canvas {
    margin: 20px auto;
	width: 95%;
}

main label {
    font-size: 12px;
    font-weight: 600;
}

.filter {
    text-align: center;
}

.filter input {
    margin-right: 20px;
    border: 1px solid #ababab;
    padding: 3px 5px;
    outline: none;
    border-radius: 3px;
}

.filter button {
    padding: 8px 10px;
}

.required {
    font-size: 15px;
    color: tomato;
    padding-left: 3px;
}

#messagesContainer {
	display: flex;
	width: 95%;
    flex-flow: wrap;
	justify-content: space-around;
	margin: 0 auto;
}

.card {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 20px;
	margin: 10px 0 10px 0;
	background-color: #f9f9f9;
	width: 270px;
}

.card p {
	margin: 9px 0;
	font-size: 13px;
}

.card a {
	font-size: 14px;
	text-decoration: none;
	color: #6e6edd;
}

.card table {
	font-size: 13px;
}

.card th {
	text-align: left;
	padding-right: 7px;
}

.card small.bottom {
	margin-top: 10px;
	display: block;
}

.card small.bottom a, .card small.bottom {
	font-size: 12px;
}

#loadingIcon {
	display: none;
    -webkit-animation:spin 1s linear infinite;
    -moz-animation:spin 1s linear infinite;
    animation:spin 1s linear infinite;
}

#error-message {
	color: tomato;
	font-size: 13px;
	padding-left: 5px;
}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}