* {
	margin: 0px;
	padding: 0px;
}


body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: 100%;
    background: #F1F1F1;
}

*, html {
    --primaryGradient: linear-gradient(93.12deg, #469e0b 0.52%, #6bfb08 100%);
    --secondaryGradient: linear-gradient(268.91deg, #469e0b -2.14%, #6bfb08 99.69%);
    --primaryBoxShadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    --secondaryBoxShadow: 0px -10px 15px rgba(0, 0, 0, 0.1);
    --primary: #469e0b;
}

#wrapper {
	background-color: #fff;

}

#header {
	position: fixed;
	top: 0;
	background-color: #496f3b;
	width: 100%;
	z-index: 9999;
	}

#logo {
	text-shadow: 2px 0px 1px #b63c2f, 0px 3px 1px #1b0d00;
	color: #ebbe27;
	font-size: 36px;
	font-weight: bolder;
	padding: 5px;
}

#logo img{
	float: left;
	width: 80px;
	height: 40px;
}

#flag img{
	float: right;
	width: 80px;
	height: 40px;
}

#logo  p {
   width: 90%;
   text-align: center;
	z-index: 9999;	
}

img {
	max-width: 100%;
}

/* css for nav bar */


#nav {
	float: left;
	width: 100%;
	z-index: 0;
}


#nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #222;
}

#nav li {
    float: left;
}

#nav li a, .dropbtn{
    display: inline-block;
    color: #cccbca;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}


#nav li a:hover, .dropdown:hover .dropbtn {
    color: white;

}

#nav li .dropdown {
	display: inline-block;
}

#nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border: 2px solid green;
    border-radius: 10px;
    z-index: 1;
}

#nav .dropdown-content a {
	 float: none;
    color: black;
    padding: 5px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

#nav .dropdown-content a:hover {
	background-color: #d1d1d1;
	color: black;
}

#nav .dropdown:hover .dropdown-content {
    display: block;
}

#nav .current {
	background-color: #1b4d3e;
	color: white;
}
/* End of nav bar */

#content {
	clear: both;
	background-color: #fff;
	width: 1000px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	padding: 10px 20px;
}


#main {
	width: 750px;
	float: left;
	margin-left: 400px;
}

#sidebar {
	width: 400px;
	float: right;
}

form {
	background-color: #eeeeee;
	border: 2px solid #000;
	padding: 20px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.button {
	padding: 15px 32px;
	background-color: #13d313;
	color: white;
	font-size: 20px;
	margin: 10px;
}

table {
	width: 100%;
}

table, th, td {
	padding: 10px;
	border: 1px solid black;
	border-collapse: collapse;
  }

/* Chatbot */
/* CHATBOX
=============== */
.chatbox {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

/* CONTENT IS CLOSE */
.chatbox__support {
    display: flex;
    flex-direction: column;
    background: #eee;
    width: 300px;
    height: 350px;
    z-index: -123456;
    opacity: 0;
    transition: all .5s ease-in-out;
}

/* CONTENT ISOPEN */
.chatbox--active {
    transform: translateY(-40px);
    z-index: 123456;
    opacity: 1;

}

/* BUTTON */
.chatbox__button {
    text-align: right;
}

.send__button {
    padding: 6px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}


/* HEADER */
.chatbox__header {
    position: sticky;
    top: 0;
    background: orange;
}

/* MESSAGES */
.chatbox__messages {
    margin-top: auto;
    display: flex;
    overflow-y: scroll;
    flex-direction: column-reverse;
}

.messages__item {
    background: orange;
    max-width: 60.6%;
    width: fit-content;
}

.messages__item--operator {
    margin-left: auto;
}

.messages__item--visitor {
    margin-right: auto;
}

/* FOOTER */
.chatbox__footer {
    position: sticky;
    bottom: 0;
}

.chatbox__support {
    background: #f9f9f9;
    height: 450px;
    width: 350px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* HEADER */
.chatbox__header {
    background: var(--primaryGradient);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: var(--primaryBoxShadow);
}

.chatbox__image--header {
    margin-right: 10px;
}

.chatbox__heading--header {
    font-size: 1.2rem;
    color: white;
}

.chatbox__description--header {
    font-size: .9rem;
    color: white;
}

/* Messages */
.chatbox__messages {
    padding: 0 20px;
}

.messages__item {
    margin-top: 10px;
    background: #E0E0E0;
    padding: 8px 12px;
    max-width: 70%;
}

.messages__item--visitor,
.messages__item--typing {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.messages__item--operator {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background: var(--primary);
    color: white;
}

/* FOOTER */
.chatbox__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background: var(--secondaryGradient);
    box-shadow: var(--secondaryBoxShadow);
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-top: 20px;
}

.chatbox__footer input {
    width: 80%;
    border: none;
    padding: 10px 10px;
    border-radius: 30px;
    text-align: left;
}

.chatbox__send--footer {
    color: white;
}

.chatbox__button button,
.chatbox__button button:focus,
.chatbox__button button:visited {
    padding: 10px;
    background: white;
    border: none;
    outline: none;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}




#footer {
	clear: both;
	background-color: #000;
	padding: 15px;
	color: #fff;
}

#footer a:link {
	display: block;
	text-decoration: none;
	color: #fff;
	text-align: center;
}

#footer table {
	width: 100%;
}



/* Optimisation for smaller screens */

@media screen and (max-width:980px){
#wrapper {
	width: auto;
}

#header {
	width: 95%;
	position: static;  /* allow header to scroll up */
	top: auto;
}

#logo  p {
	width: 95%;
}

#content {
	width: 85%;
}

#main {
	width: 85%;
}



}

@media screen and (max-width:480px){
#wrapper {
		width: auto;
}

#header {
	height: auto;
}


#nav li {
	float: none;
}	
	
#nav li a {   /* change menu to list */
	display: block;
	padding: 0px;
	text-align: left;
}

#nav .dropdown:hover .dropdown-content {  /* don't display dropdowns for mobiles */
    display: none;
}


	
#content {
	width: auto;
	margin-top: 50px;
}

#main {
	width: auto;
	margin-top: 50px;
}


#form {
	width: auto;
}



}

