// fonts

@import 'fonts/PTSans', 'fonts/PTSansNarrow';

/* Browser-reset CSS */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

img a {
    border: none;
}



body {
	font-family: 'PT Sans', Helvetica, Arial, sans-serif; background-color: #F7F6F6;
	background-image: url("twcx-img/bgd.jpg"); background-repeat: repeat-x;
}

body.embed {
    background-position: 0 -63px;
}

h2, h3, h4 {
    font-family: 'PT Sans Narrow', Helvetica, Arial, sans-serif;
}

p {
    font-size: 12px;
}

b, strong {
    font-weight: bold;
}

i {
    font-style: italic;
}

.highlight {
    background: #ffff00;
}

.hidden {
    display: none;
}

.fl {
    float: left;
}

.clearer {
    width: 100%; height: 0px; clear: both;
}

/* feedback */

#sendUsFeedBack {
  position: absolute; right: 0; top: 0; width: 100px; z-index: 999999;
}

.embed #sendUsFeedBack {
    display: none;
}

#container {
    position: relative; width: 960px; margin: 0 auto;
}

.embed #container {
    width: 880px; padding-bottom: 70px;
}


#mdpgauche {
    float: left; width: 350px; margin-right: 10px;
}

#mdpdroite {
    float: left; width: 600px; margin-top: 10px; position: relative;
}

#colgauche {
    float: right; width: 455px; margin-right: 13px;
}

.embed #colgauche {
    margin: 0;
}

.barre {
    float: left; width: 100%;
}


.greyed {
    color: #999; font-style: italic;
}

.rechercheCourante {
    background: #ffa0ff; font-weight: bold; color: #000080;
}


/* Menu */

#headlogo {
    float: left; margin-right: 10px;
}

.embed #headlogo {
    display: none;
}

#minilogo {
  background: url("../../images/pol_color.gif") left top no-repeat;
  width: 46px; height: 5px; left: 99px; top: 55px;
  position: absolute; z-index: 9;
}

.embed #minilogo {
    display: none;
}

.menu {
    border-left: 1px solid #C3C3C3;
    float: left;
    list-style: none;
    font-size: 12px;
    height: 62px; overflow: hidden;
}

.embed .menu {
    display: none;
}

.menu li {
    background: url("twcx-img/menu_underline.gif") left bottom no-repeat;
    padding: 3px 0 0 5px;
    height: 18px;
    min-width: 80px;
}

.menu a {
    color: #000000; text-decoration: none;
}

.menu a:hover {
    color: #0099FF;
}

#content_select_ul span, #content_select_ul select {
    margin: 5px;
}

#content_select_ul select {
    width: 350px;
}

.embedbar {
    float: right; width: 216px; height: 32px; margin: 15px -5px 0 0;
}

.embed .embedbar {
    display: none;
}

a.embedbutton {
    display: block; float: left; background: url(twcx-img/embedbutton.png); text-decoration: none; font-size: 13px;
    width: 64px; text-align: center; height: 19px; padding-top: 13px;
    color: #333; margin-right: 4px;
}

a.embedbutton:hover {
    background-position: 0 -32px;
}

.share_toolbox {
    float: left; width: 148px;
}

/* Formulaire */

#twwWrap {
    float: left; width: 451px; background: #ffffff; padding: 1px; border-width: 1px; border-style: solid solid none solid; border-color: #ababab; margin-top: 6px;
}
#tweetWriter {
    width: 430px; padding: 10px; background: #efefef;
}

#socialGroupFollow {
    padding: 5px;
    background: #ff9966;
}
.loginbutton{
    margin: 10px 0; min-height: 45px; width: 420px; padding:5px 0 5px 10px;
    background: url(twcx-img/bgdWriterDisconnect.png) no-repeat;
    background-size: cover;
    border: none; color:#fff; font-size: 12px;
}
.loginlink{
    text-decoration:none;
    color:#fff;
}
.loginlist {
    margin-left: 10px;
}
textarea#status {
    display: block; margin: 10px 0; height: 45px; width: 420px; padding:5px;
    background: url(twcx-img/bgdWriter.png) no-repeat;
    border: none; resize: none; font-size: 14px; font-family: 'PT Sans', Helvetica, Arial, sans-serif;
}

a#sendTweet {
    background: transparent url('../../images/bg_button_a_w.png') no-repeat top right;
    color: #444; display: block; font-size: 12px; height: 24px; line-height: 14px;
    float:right; margin: 2px 0 0 5px; padding: 0 18px 0 0; text-decoration: none;
}
a#sendTweet.sendTweetDisabled {
    color: #999; cursor: not-allowed;
}
a#sendTweet span {
    background: transparent url('../../images/bg_button_span_w.png') no-repeat; display: block; height: 14px;
    padding: 5px 6px 5px 24px;
}
a#sendTweet:hover, a#sendTweet:active a#sendTweet.sending {
    background-position: right -24px;
}
a#sendTweet:hover span, a#sendTweet:active span, a#sendTweet.sending span {
    background-position: 0 -24px;
}
.tweetButton {
    float:left; margin: 2px 6px 0 0; width:75px; height:22px; text-decoration: none;
    color: #333; text-align:center; cursor: pointer; cursor: hand;
    -webkit-border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    border-radius: 0.5em;
}
.twbSyntax {
    font-weight: normal; font-size: 14px;
}
.twbSeparator {
    color: #999; font-size: 12px;
}
.twbLabel {
    font-weight: bold; font-size: 10px;
}

#tweetCounter{
    float: right; background: transparent; border: none; font-size: 13px;
    font-weight:bold; margin: 4px 0 0; padding: 0; color: #666;
}
#tweetCounter.tweetCounterNegative,.tweetCounterNegative {
    color:red;
}


#tweetLoader {
    float: right; background: transparent; border: none; font-size: 13px;
    font-weight:bold; margin: 4px 0 0; padding: 0; color: #666;
    width: 1em;
    height: 1em;
    display: none;
}

#tweetLoader.tweetLoading {
    display: block;
    background: transparent url('../../images/tweet_spinner.svg');
    background-size: contain;
}

@mixin tweet-ring($color) {
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z" opacity=".25" stroke="#{$color}" fill="#{$color}"/></svg>');
}



#tweetLoader.tweetLoadingError {
    @include tweet-ring(red);
    display: block;
    background-size: contain;
}



/* Liste de Tweets */

#tweetviz {
    float: left; width: 453px; border: 1px solid #999;
}

/* Recherche */

#recherche {
    position: relative; float: left; padding: 2px 0; width: 452px; border-bottom: 1px solid #999;
}

#recherche input {
    float: left;
}

#inp_q {
    width: 236px; border: none; padding: 1px; margin-left: 2px; height: 17px; font-size: 13px;
}

#inp_submit, #inp_reset {
    border: 0; padding: 0; width: 20px; height: 20px; overflow: hidden; text-indent: 800px; background: url(twcx-img/searchcancel.png)
}

#inp_submit:hover {
    background-position: -20px 0;
}

#inp_submit:active {
    background-position: -40px 0;
}

#inp_reset {
    background-position: 0 -20px;
}

#inp_reset:hover {
    background-position: -20px -20px;
}

#inp_reset:active {
    background-position: -40px -20px;
}

#time_legende {
    float: left; margin-left: 30px; width: 30px; height: 20px; background: url(twcx-img/scale.png) left;
}

#time_scale {
    float: left; font-size: 12px; margin: 3px 0 0; color: #666; width: 50px; text-align: center;
}

#time_zoomout, #time_zoomin {
    float: left; width: 12px; height: 20px; background: url(twcx-img/scale.png);
}

#time_zoomout {
    background-position: -30px;
}

#time_zoomout.inactive {
    background-position: -54px;
}

#time_zoomin {
    background-position: -42px;
}

#time_zoomin.inactive {
    background-position: -66px;
}

#recherche_annot {
    position: absolute; top: 20px; z-index: 4; background: #ffffff; border: 1px solid #ccc; padding: 4px; font-size: 12px;
    display: none; box-shadow: 2px 2px 2px rgba(0, 0, 0, .5)
}

#recherche_annot a {
    padding: 1px; line-height: 13px; margin: 1px; font-weight: bold; text-decoration: none; color: #000000;
}

/* Liste des tweets */

#tweetlist {
	float: left; width: 280px; height: 480px; list-style: none; border-right: 1px solid #999;
	color: #585858; cursor: pointer; cursor: hand; background: #ffffff;
	/* font-family: Arial, Helvetica, sans-serif; /* Quick Fix */
}

#tweetlist a {
    text-decoration: none; color: #1985B5;
}

#tweetlist a:hover {
    text-decoration: underline; color: #105060;
}

li.tweet, li.placeholder {
	border-bottom : 1px dotted; overflow: hidden; float: left; border-color: #ccc;
}

li.tweet {
	position: relative; background: #fff;
}

li.full {
    width: 270px; height: 117px; border-right: 10px solid #ff0;
}

li.half {
    width: 280px; height: 46px;
}

li.icons {
    width: 20px; height: 20px; border: none;
}

li.placeholder {
    visibility: hidden;
}

.tweet p {
    overflow: hidden;
}

.full p.tweet_text {
	font-size: 11px; margin: 0 0 0 58px; color: #000000;
}

.half p.tweet_text {
    font-size: 11px; margin: 5px 0 5px 49px; height: 36px; line-height: 12px; width: 216px;
}

div.around_img {
	float: left;
}

.full .profile_image {
    margin: 5px 5px 0; width: 48px; height: 48px;
}

.half .profile_image {
    margin: 5px; width: 36px; height: 36px;
}

.icons .profile_image {
    margin: 2px; width: 16px; height: 16px;
}

p.created_at {
	font-size: 12px; text-align: center; font-style: italic; color: #999999; width: 58px; overflow: hidden;
}

.annotations, .twmain {
    position: absolute; margin: 0; padding: 0; top: 0; left: 0; width: 100%; height: 100%;
}

.icons .annotations {
    position: absolute; width: 20px; height: 6px; left: 0; top: 16px; z-index: 3;
}

div.annotation {
    float: left; height: 100%;
}

div.tweet_actions {
    position: absolute; bottom : 2px; right: 4px; font-size: 11px;
}

div.tweet_actions > a + a::before {
    content: ' · ';
}

/* timeline */

#timeline {
    float: left; height: 480px; width: 150px; border-right: 1px solid #999; cursor: pointer; cursor: hand;
}

#scrollcont {
    float: left; width: 20px; height: 480px; overflow: auto;
}

#scrollin {
    width: 1px; height: 8000px;
}

/* hovertweet */

#hovertweet {
    position: absolute; display: none; margin: -20px 0 0 15px; z-index: 12;
}

div.full {
    position: absolute; background: #eeeeee; width: 270px; height: 84px; border: 1px solid #808080; border-radius: 3px; box-shadow: 5px 5px 5px rgba(0,0,0,.3);
}

#hoverarrow {
    position: absolute; width: 10px; height: 18px; left: -9px; top: 13px;  background: url(twcx-img/arrow.png);
}

/* Colonne de droite */

#onglets {
    float: left; width: 441px; margin: 22px 25px 0; list-style: none;
    border-left: 1px solid #999;
}

.embed #onglets {
    display: none;
}

#onglets li {
    float: left; text-transform: uppercase; background: url(twcx-img/bg_onglet.png) repeat-x;
    line-height: 12px; font-size: 12px; height: 12px; padding: 6px 10px; font-weight: bold;
    border: 1px #999; border-style: solid solid solid none; margin-top: 1px;
}

#onglets a {
    text-decoration: none; color: #666666;
}

#onglets a:hover {
    color: #0099ff;
}

#onglets li.selected {
    background-position: 0 -22px; padding-bottom: 8px; border-bottom: none; margin-top: 0;
}

#onglets li.selected a {
    color: #333333;
}

#coldroite {
    float: right; width: 492px;
}

.embed #coldroite {
    width: 425px;
}

div.ifwrap {
    float: left; border: 5px solid #ffffff; background: #999999; padding: 1px; width: 480px; height: 320px;
}

#videoLivePlayer, .ifwrap iframe {
    width: 480px; height: 320px; background: #000000; border: none; padding: 0; margin: 0;
}

.embed div.ifwrap, .embed #videoLivePlayer, .embed .ifwrap iframe {
    width: 412px; height: 280px;
}

.embed div.ifwrap {
    margin: 5px 0 0;
}

.live-thumbnail {
    display: block; margin: 0 auto; max-width: 480px; max-height: 320px;
}

.embed .live-thumbnail {
    max-width: 412px; max-height: 280px;
}

ul.accordeon {
    float: left; width: 100%; margin: 10px 0 5px 0; padding: 1px 0 0; list-style: none; background: #999999;
}

/*.embed #out_fleche, .embed #accordeon {
    display: none;
}*/

.accordeon h3, .acctitre h3 {
    font-size: 16px; font-weight: bold; color: #555555;
}

#event-description h4 {
    font-size: 14px; font-weight: bold; color: #555555;
}

.acctitre h3 a {
    color: #555555; text-decoration: none;
}

.acctitre h3:hover, .acctitre h3 a:hover {
    color: #0099ff;
}

.acctexte p {
    margin: 5px 0; line-height: 1.5em;
}

li.acctitre, li.acctexte {
    margin: 0 1px 1px 1px; padding: 4px; border: 1px solid #ffffff; position: relative; list-style: none;
}

li.acctitre {
    background: #efefef; cursor: pointer; cursor: hand;
}

li.acctexte {
    background: url(twcx-img/bgdeplie.png) top repeat-x #efefef;
    font-size: 12px;
}

li.acctexte.acclimited {
    max-height: 228px; overflow: auto;
}

li.acctexte.mdpacclimited {
    max-height: 450px; overflow: auto;
}

div.accsubtitle {
    position: absolute; top: 0; left: 0; width: 20px; height: 100%; background: #e0e0e0; border-right: 1px solid #999999; overflow: hidden;
}

div.aroundsubtitle {
    position: absolute; top: 50%; left: 0; width: 0; height: 0; transform: rotate(-90deg); -moz-transform: rotate(-90deg); -webkit-transform: rotate(-90deg); -ms-transform: rotate(-90deg);
}

.aroundsubtitle h4 {
    position: absolute; top: 0; left: -75px; width: 150px; height: 20px; font-size: 13px; font-weight: bold; text-align: center; color: #555555;
}

div.tagcloud {
   text-align: center; margin-left: 20px;
}

.tagcloud span {
    padding: 2px; cursor: pointer; cursor: hand;
}

.acctexte ul {
    list-style: disc; font-size: 12px; padding-left: 1.5em;
}

.acctexte ol {
    list-style: decimal; font-size: 12px; padding-left: 1.5em;
}

.acctexte li {
    margin: 4px 0;
}

/* Tag Cloud */

#hoverkw {
    list-style: none; position: absolute; width: 86px; height: 39px; font-size: 14px; line-height: 19px;
    background: url(twcx-img/lefttt.png); padding: 5px 13px 5px 5px; text-align: center; display: none;
    margin-left: -104px; margin-top: -24px;
}

#hoverkw a {
    text-decoration: none; color: #222222;
}

#hoverkw a:hover {
    color: #0099FF; text-decoration: underline;
}

/* Footer */
.footer {
    float: left; width: 100%; margin: 40px 0 10px; text-align: center;
}

.embed .footer {
    display: none;
}

hr {
  background: #cccccc; border: none; height: 1px; margin: 0 0 10px; width: 100%;
}

a.footerLink {
    text-decoration:none; margin:5px; color: #000000;
    font-family: 'PT Sans Narrow', Arial, Helvetica, sans-serif; font-size: 13px;
}

a.footerLink:hover {
    color: #0099FF;
}

/* TWEET WALL */

.tweetwall #tweetviz {
    width: 800px; height: 770px;
}

.tweetwall #tweetlist {
    width: 490px; height: 770px;
}

.tweetwall #timeline {
    width: 280px; height: 770px; background: #efefef;
}

.tweetwall li.full {
    width: 475px; height: 140px; border-right: 15px solid #ff0;
}

.tweetwall li.half {
    width: 490px; height: 80px;
}

.tweetwall li.icons {
    width: 35px; height: 35px; border: none;
}

.tweetwall .full p.tweet_text {
    font-weight: bold; font-size: 18px; margin: 10px 0 10px 100px;
    height: 120px; width: 365px; color: #000000; line-height: 22px;
}

.tweetwall .half p.tweet_text {
    font-weight: bold; font-size: 16px; margin: 10px 0 10px 70px; height: 60px; line-height: 20px; width: 410px;
}

.tweetwall .full .profile_image {
    margin: 10px 10px 0 10px; width: 80px; height: 80px;
}

.tweetwall .half .profile_image {
    margin: 10px; width: 60px; height: 60px;
}

.tweetwall .icons .profile_image {
    margin: 5px; width: 25px; height: 25px;
}

.tweetwall .icons .annotations {
    position: absolute; width: 30px; height: 8px; left: 0; top: 22px; z-index: 3;
}

.tweetwall p.created_at {
    font-size: 18px; text-align: center; font-style: italic; color: #999999; width: 90px; overflow: hidden;
}

.tweetwall .tweet_actions {
    display: none;
}

/* archive_box */

.archive_box_3 {
    float: left; clear: both; width: 960px;
}

.archivesVideoBox {
    float: left; width: 270px; padding: 12px; border: 1px solid #999; background: #f0f0f0; margin: 12px; font-size: 15px;
}

.archivesVideoBox:nth-child(3n+1) {
	clear: left;
}

.archivesVideoBox:hover {
    background: #e0e0e0;
}

.AVBtitle {
    font-weight: bold;
}

/* Splash Screen */

.splash h1 {
    font-size: 20px; font-weight: bold; margin: 5px 0 20px;
}

.splash p {
    font-size: 13px; margin: 5px 0;
}

.splash hr {
    margin: 20px auto; width: 300px;
}

.splash h2 {
    font-weight: bold; font-size: 18px; margin: 8px 0;
}

.splash h3 {
    font-size: 16px; margin: 8px;
}

.splash ul {
    list-style: none; margin: 10px 20px;
}

.splash li {
    font-size: 13px; margin: 5px 0;
}

.splash .checkbox {
    margin: 2px 5px;
}

.splash label {
    display: inline-block; width: 60px;
}

.splash .submit {
    font-size: 20px; font-family: "PT Sans Narrow"; font-weight: bold; float: right;
}

.connect-message {
    text-align: center; font-size: 16px; margin: 30px;
}

.connect-message a {
    color: #333333; text-decoration: none;
}

.connect-message a:hover {
    text-decoration: underline;
}

.video-js {
    width: 480px;
    height: 320px;
  }
