body {
	height: auto;
	font-family: Rubik,arial,tahoma;
	display: flex;
	flex-flow: column;
	min-height: 100vh; /* have the flex container at least take up the viewport */
}

@media (max-width: 1479px)
body .container {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
    max-width: 100%;
}

a {
    color: #01a4ed!important;
}

/********* Topbar **************/

#topbar {
	height: 40px;
	background: #2f363d;
    padding: 0px 0;
    margin-bottom: 0px;
    display: flex;
	justify-content: flex-end;
	padding-right: 30px;
}

.tx-social {
	color: #ccc;
	display: inline-flex;
	margin-top: auto;
	margin-bottom: auto;
	margin-right: 50px;
}

.tx-social a:hover {
    cursor: pointer;
}

.tx-social a:hover i {
	color: #01a4ed;
}
.tx-social i {
    color: #ccc;
    font-size: 20px;
    padding: 1px 2px;
    margin-right: 3px;
    border-radius: 2px;
}

.tx-social i.fa-facebook-square:hover {
    color: #3b5999;
    /* background: white; */
}

.tx-social i.fa-twitter-square:hover {
    color: #55acee;
    /* background: white; */
}

.tx-social i.fa-instagram:hover {
    color: #e4405f;
    /* background: white; */
}

.tx-social i.fa-youtube-play:hover {
    color: #cd201f;
    /* background: white; */
}

div.language-selector {
	margin-top: auto;
	margin-bottom: auto;
}

a.selected-lang {
	text-decoration: none;
	font-size: 13px;
    color: white;
    padding-left: 3px;
}

.selected-lang > i {
	padding-left: 5px;
}

.language-selector li {
	display: flex;
}

.language-selector li:not(:first-child) {
	display: flex;
	padding-top: 6px;
}

.language-selector li img {
    margin-top: auto;
    margin-bottom: auto;
}

.language-selector li a {
	text-decoration: none;
	color: #333;
	font-size: 13px;
	font-weight: 300;
	padding-left: 6px;
}

.language-selector li a:hover {
    color: #01a4ed!important;
}

.language-selector .popsover-wrapper {
	line-height: 40px;
}

/* Popover styling */

.popsover-wrapper {
	position: relative;
	display: inline-block;
	cursor: pointer;
}
.popsover-content {
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 47px;
	transform: translate(0, 10px);
	padding: 1rem;
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
	width: auto;
}
.popsover-content:before {
	position: absolute;
	z-index: -1;
	content: "";
	right: calc(50% - 10px);
	top: -8px;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent white transparent;
	transition-duration: 0.3s;
	transition-property: transform;
}
.popsover-wrapper:hover .popsover-content, popsover-content:hover {
	z-index: 10;
	opacity: 1;
	visibility: visible;
	transform: translate(0, -20px);
	transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}
.popsover-message {
	text-align: center;
}

/********* Header ************/

#nav {
	top: 0px;
	height: 100px;
	position: sticky;
	background: white;
	transition: top 0.35s ease 0s;
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 12%);
    display: flex;
    overflow: hidden;
	z-index: 1;
}

/* Logo */
#nav li .home {
	display: block;
	width: 100px;
	height: 100%;
	margin-left: 30px;
	color: transparent!important;
	background-size: cover;
	background-image: url('/assets/sfm_france/images/surfin-meeple-logo-bleu.jpg');	
    background-repeat: no-repeat;
}

@media (max-width: 450px) {
	#nav li .home {
		margin-left: auto;
	    background-size: 100vw;
	    width: 100vw;
	}
}

#nav li .home:hover {
	color: transparent!important;
}

#nav li :not(.home) {
    color: #333!important;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    text-decoration: none;
    margin-left: 40px;
	line-height: 100px;
}

#nav li :not(.home)::before {
	font: normal normal normal 14px/1 FontAwesome;
	margin-right: 10px;
}

#nav li .new::before {
	content: "\f055";
}

#nav li .status::before {
	content: "\f059";
}

@media (max-width: 1023px) {
	#nav li .new, #nav li .status {
		display: none;
	}
}

.flag {
	display: none;
}

/********* Main **************/

#container #header {
	display: none;
}

#container #content {
	padding: 0px 30px;
}

#ticketForm label.checkbox {
	margin-left: 10px;
    vertical-align: text-top;
}

#ticketForm label {
	text-align: left;
}

p .button {
    text-align: center;
}

.front-page-button p {
	position: relative;
}

.front-page-button p a, .front-page-button p a:hover  {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #fff!important;
}

.buttons input, .btn, .front-page-button p {
    justify-content: center;
    align-items: center;
    height: 25px;
    border-radius: 20px;
	border-width: 0px;
    background: #01a4ed;
    padding: 0px 30px;
    color: #fff;
    text-transform: uppercase;
    height: 45px;
    font-size: 11px;
    margin: 10px;
    font-weight: 600;
}

.buttons input {
    width: 220px;
}

.buttons input:hover, .front-page-button p:hover {
	border: #333 2px solid;
    background: white;
    color: #333;
	transition-duration: 0.5s;
	cursor: pointer;
}

.front-page-button p:hover a  {
	color: #333!important;
}

.content section {
	display: none;
}

/********* Footer **************/

footer {
  margin-top: auto;
}

.footer-informations {
	background: #01a4ed;
	display: flex;
	justify-content: space-between;
    min-height: 105px;
}

.footer-informations section {
	margin-left: 50px;
	margin-right: 50px;
	padding-top: 20px;		
}

.footer-informations a {
	color: white;	
}

.footer-informations a:hover {
	color: #333!important;
}

footer h4 {
	color: #222;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
}

/* A remettre une fois les liens Ok */
#block_customer_service_links_footer h4, #block_customer_service_links_footer ul {
	display: none;
}

#social-footer {
	float: right;
	padding-bottom: 15px;
}

#social-footer .fa {
    font-size: 70px;
    color: #818141;
}

#social-footer .fa:hover {
	transition-duration: 0.5s;
	color: black;
}

.footer-copyright {
	line-height: 63px;
	background: #ddd;
    color: #999;
	font-size: 12px;
	padding-left: 15px;
}

@media (max-width: 450px) {
	#social-footer {
		margin-left: 0px;
		margin-right: 15px;
	    width: 100px;
	}

	#social-footer .fa {
	    font-size: 40px;
	}
	
	.footer-copyright {
	    font-size: 11px;
	}
}

/********* Ticket Thread ***********/

#msg_info {
	display: none;
}

#content {
	border: 1px solid #d8dee2;
    padding: 25px !important;
    border-radius: 9px;
    box-shadow: none;
    background-color: #fff;
    margin: 25px;
}

#ticketInfo .action-button {
	margin-left: 50px;
}

#ticketInfo {
    border-spacing: 25px;
    border-collapse: separate;
}

table.infoTable thead th, table.infoTable th,
table.custom-data thead th, table.custom-data th {
	border: none;
	background-color: inherit;
	text-align: inherit;
}

#ticketInfo .headline {
	border-bottom: 1px solid #888;
}

table#ticketInfo tr td {
	vertical-align: top;
}

#ticketThread {
	margin-top: 25px;
	margin-left: 25px;
}

img.avatar {
	width: 20px;
}

#ticketThread message {
	background: white;
  width: -webkit-fill-available;
}

#msg_error, div.error {
/*
    color: white;
	border : 1px solid #3F4030; 
	background: #C7472A; // Old browsers
	background: linear-gradient(to bottom,  #C7472A 0%,#3F4030 100%); // W3C
    border-radius: 5px;
*/
    padding: 5px;
    font-weight: 600;
}

span.error {
	color: red;
	font-weight: 900;
}

/*** Thread Events ***/

.avatar.oscar-boy {
  background-position: -72px 0;
}
.avatar.oscar-borg {
  background-position: 0 -36px;
}

#thread-items::before {
  border-left: 2px dotted #ddd;
  border-bottom-color: rgba(0,0,0,0.1);
  position: absolute;
  margin-left: 74px;
  z-index: -1;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
#thread-items {
  z-index: 0;
  position: relative;
  padding-top: 0;
  padding-bottom: 15px;
  margin-top: 5px;
}
.thread-event {
    padding: 0 2px 15px;
    margin-left: 60px;
}
.thread-event a {
    color: inherit;
}
.type-icon {
    border-radius: 8px;
    background-color: #f4f4f4;
    padding: 4px 6px;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    font-size: 1.1em;
    border: 1px solid #eee;
    vertical-align: top;
    position: relative;
}
.thread-event .type-icon::after {
  content: "";
  border: 16px solid white;
  position: absolute;
  top: -3px;
  bottom: 0;
  left: -3px;
  right: 0;
  z-index: -1;
}
.type-icon.dark {
    border-color: #666;
    background-color: #949494;
}
.thread-event img.avatar {
    vertical-align: middle;
    border-radius: 3px;
    width: auto;
    max-height: 20px;
    margin: -3px 3px 0;
}
.thread-event .description {
    margin-left: -30px;
    padding-top: 6px;
    padding-left: 30px;
    display: inline-block;
    width: 772px;
    width: calc(100% - 95px);
    line-height: 1.4em;
}








.thread-entry {
    margin-bottom: 15px;
    z-index: 0;
}
.thread-entry::after {
  content: "";
  border-bottom: 2px solid white;
  display: block;
}
.thread-entry::before {
  content: "";
  display: block;
  border-top: 2px solid white;
}
.thread-entry.avatar {
    margin-left: 60px;
}
.thread-entry.response.avatar {
    margin-right: 60px;
    margin-left: 0;
}
.thread-entry > .avatar {
    margin-left: -60px;
    display:inline-block;
    width:48px;
    height:auto;
}
.avatar {
    border-radius: 12%;
}
.thread-entry.response > .avatar {
    margin-left: initial;
    margin-right: -60px;
}
img.avatar {
    border-radius: inherit;
    vertical-align: middle;
    margin-right: 5px;
}
.avatar > img.avatar {
    width: 100%;
    height: auto;
}
.thread-entry .header {
    padding: 8px 0.9em;
    border: 1px solid #ccc;
    border-color: rgba(0,0,0,0.2);
    border-radius: 5px 5px 0 0;
}
.thread-entry.avatar .header:before {
  position: absolute;
  top: 7px;
  right: -8px;
  content: '';
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #9cadcc;
  display: inline-block;
}
.thread-entry.avatar .header:after {
  position: absolute;
  top: 7px;
  right: -8px;
  content: '';
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  display: inline-block;
  margin-top: 1px;
}

.thread-entry.avatar .header {
    position: relative;
}

.thread-entry.response .header {
    background:#01a4ed;
}
.thread-entry.avatar.response .header:after {
    border-left: 7px solid #01a4ed;
    margin-right: 1px;
}

.thread-entry.message .header {
    background:#ddd;
}
.thread-entry.avatar.message .header:before,
.thread-entry.avatar.note .header:before {
    top: 7px;
    left: -8px;
    right: initial;
    border-left: none;
    border-right: 8px solid #CCC;
}
.thread-entry.system .header {
    background-color: #f4f4f4;
}

.thread-entry.avatar.message .header:before {
    border-right-color: #ccccb0;
}
.thread-entry.avatar.note .header:before {
    border-right-color: #ccccb0;
}
.thread-entry.avatar.message .header:after,
.thread-entry.avatar.note .header:after {
    top: 7px;
    left: -8px;
    right: initial;
    border-left: none;
    border-right: 7px solid #ddd;
    margin-left: 1px;
}

.thread-entry.note .header {
    background:#FFE;
}
.thread-entry.avatar.note .header:after {
    border-right-color: #FFE;
}
.thread-entry .header .title {
    max-width: 500px;
    vertical-align: bottom;
    display: inline-block;
    margin-left: 15px;
}
.thread-entry .header .button {
    margin-top: -4px;
}

.thread-entry .thread-body {
    border: 1px solid #ddd;
    border-top: none;
    border-bottom:2px solid #aaa;
    border-radius: 0 0 5px 5px;
}
.thread-body .attachments {
  background-color: #f4faff;
  margin: 0 -0.9em;
  position: relative;
  top: 0.9em;
  padding: 0.3em 0.9em;
  border-top: 1px dotted #ccc;
  border-top-color: rgba(0,0,0,0.2);
  border-radius: 0 0 6px 6px;
}
.thread-body .attachments:empty {
    display: none;
}
.thread-body .attachments .filesize {
  margin-left: 0.5em;
  line-height: 1em;
}
.thread-body .attachment-info {
    margin-right: 10px;
    display: inline-block;
    width: 48%;
}
.thread-body .attachment-info .filename {
  max-width: 80%;
  max-width: calc(100% - 70px);
}

#ticket_notes table td {
    padding:5px;
}

#ticket_notes td {
    background:#f9f9f9;
}

.thread-entry .info, #ticket_notes .info {
    padding:5px;
    background:#F4FAFF;
    height:16px;
    line-height:16px;
}

#ticket_notes .info {
     background:#f9f9f9;
}

.form-header div ul {
    list-style: disc;
}

.form-header div ul li {
    margin-top: 12px;
    margin-left: 20px;
}

/***** Usertype Menu *****/

.usertype-menu {
    display: flex;
    max-width: 800px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin: 50px auto;
    gap: 20px;
}

.usertype-button {
    background: #f8f8f8;
    border: solid 4px #01a4ed;
    border-radius: 15px;
    padding: 30px;
    color: #444 !important;
    text-align: center;
    width: 250px;
    transition: all .25s;
    font-size: 20px;
}

.usertype-button:hover {
    background: white;
    color: #01a4ed !important;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #ccc;
}

.usertype-button .usertype-icon {
    font: normal normal normal 72px/1 FontAwesome;
    margin-bottom: 18px;
}

/********* Calendly Event Booking *********/

.calendly-btn {
    padding: 20px;
    border-radius: 20px;
    border: 3px dotted lightgray;
    margin-top: 20px;
    display: inline-block;
    font-size: 16px;
    vertical-align: middle;
    transition: all .25s;
}

.calendly-btn:hover {
    color: #01a4ed !important;
    border-color: #01a4ed;
    background-color: #E8E8E8;
}

.calendly-btn:before {
    content: " ";
    background-size: cover;
    background-image: url(/assets/sfm_france/images/headset-solid.svg);
    width: 50px;
    height: 50px;
    display: inline-block;
    margin-right: 15px;
    vertical-align: inherit;
}
