/*
  Theme Name: 4mots
  Theme URI: http://4mots.fr
  Description: Theme officiel et mortel de 4mots.fr !
  Author: Dijitale
  Version: 3.0
  http://dijitale.fr
*/


@import "css/reset.css";

@font-face {
  font-family: Komika;
  src: url("fonts/komika.ttf");
}


/* Styles généraux */

::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; } /* LOVE this color ! Alt.: #0091a2 */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: Komika,Helvetice,Arial;
}


a {
  text-decoration: none;
}

#container {
  height: 100%;
}


/* HEADER */

header {
  width:100%;
  height: 160px;
  position: relative;
  z-index: 20;
  background:#499c97 url("images/bg_header.png") repeat-x;
}

#content_header {
  width:980px;
  height:160px;
  margin: 0 auto;
  position: relative;
}

#eye {
  position: absolute;
  left:124px;
  top:47px;
}

#content_header h1 {
  float:left;
  margin: 30px 0 0 0;
  font-size: 60px;
  color:#e9e5cd;
}

#content_header h1 a {
  color: #e9e5cd;
}

.title {
  float: left;
  text-shadow: 5px 5px 0px #005c67;
  -moz-transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  transform: rotate(-10deg);
}

.ts {
  margin: -25px 0 0 0;
}

.skullhead {
  float: left;
  text-indent: -9999px;
  width: 46px;
  height: 52px;
  margin: 8px 0 0 6px;
  background: url("images/skull_head.png") no-repeat;
}

.baseline {
  clear: left;
  float: left;
  display: inline;
  margin: -22px 0 0 60px;
  font-size: 30px;
  color:#b5a775;
  text-shadow:2px 3px 0px #005c67;
  -moz-transform: rotate(-10deg);
  -webkit-transform: rotate(-10deg);
  transform: rotate(-10deg);
}

/* Logo Hover */

#content_header h1 a:hover .title {margin-top: 1px;}
#content_header h1 a:hover .ts {margin-top: -24px;}
#content_header h1 a:hover .skullhead {margin-top: 9px;}

/* Menu */

nav {
  float: right;
  width: 558px;
  height: 35px;
  padding: 10px 35px;
  margin: 20px 0 0 0;
  background: url("images/bg_menu.png") no-repeat;
}

nav li {
  float: left;
  background: url("images/border_menu.png") no-repeat right;
}

nav li a {
  float: left;
  color: #404040;
  padding: 0 12px;
  line-height: 40px;
  text-shadow: 0px 1px 0px #FFF;
}

nav li:last-child, nav li.last {
  background: none;
}

nav li a.active {
  color: #838383;
}

nav li a:hover {
  padding-top:1px;
}

nav li a:active, nav li a:focus {
  text-shadow: 0px -1px 0 #FFF;
}

nav li.last {
  float: left;
  padding: 0 0 0 12px;
  background:url("images/bg_add.png") no-repeat 12px 0;
}

nav li.last a {
  padding-left:25px;
}

nav li.last:hover {
  background-position:12px -40px;
}


/* Baseline */

#content_header blockquote {
  float: right;
  width: 628px;
  text-align: center;
  margin: 30px 0 0 0;
  font-size: 16px;
  color: #e9e5cd;
  text-shadow: 1px 2px 0px #005c67;
}


/* MAIN CONTENT */

#main {
  width: 100%;
  height: 100%;
  background-color:#f5eac2;
  text-align: center;
  position:relative;
}

#content_main {
  width: 980px;
  position:absolute;
  top:50%;
  left:50%;
  margin-left:-490px;
  margin-top:-270px;
  z-index: 0;
}

.error404 #content_main {
  margin-top: -290px;
}

#content_main .nav_quotes {
  float: left;
  width: 138px;
  height: 117px;
  margin: 54px 0 0 0;
}

#content_main .nav_quotes a {
  float: left;
  width: 138px;
  height: 117px;
  background: red;
}

#content_main #prev_quote {
  background: url("images/bg_arrow_left.png") no-repeat top;
}

#content_main #next_quote {
  background: url("images/bg_arrow_right.png") no-repeat top;
}

#content_main #prev_quote a {
  background: url("images/arrow_left.png") no-repeat top;
}

#content_main #next_quote a {
  background: url("images/arrow_right.png") no-repeat top;
}

#content_main #prev_quote a:hover, #content_main #next_quote a:hover {
  background-position:0 -117px;
}

#content_main #prev_quote a:active, #content_main #prev_quote a:focus,
#content_main #next_quote a:active, #content_main #next_quote a:focus  {
  background-position:0 -234px;
}

/* Bulle */

#bulle {
  float: left;
  width: 618px;
  height: 225px;
  padding: 0 40px;
  line-height: 225px;
  background:#e1ddc9 url("images/bg_bulle.png") repeat;
  border:3px solid #bebbaa;
  position: relative;
  z-index: 1;
}

#bulle #quote {
  display:inline-block;
  vertical-align:middle;
  line-height:1.5;
}

#bulle #quote h2, #bulle #quote h4 {
  font-size: 30px;
  line-height: normal;
  text-shadow: 0 1px 0px #FFF;
}

#bulle #quote h4 {
  font-size: 24px;
}

#bulle #quote .author {
  color: #439a9d;
  font-size: 20px;
}

#bulle .vote, #bulle .share, #bulle .top_ranking {
  position: absolute;
  bottom: 10px;
  line-height: 1.2;
  font-size: 12px;
}

#bulle .top_ranking {
  float: left;
  position: absolute;
  bottom:10px;
  left:20px;
}

#bulle .vote {
  left:300px;
}

#bulle .vote img {
  float: left;
  margin: 0px 7px 0 0;
  display: inline;
}

#bulle .vote a {
  float: left;
  margin-right: 5px;
  color: #0f8082;
  display: inline;
  cursor: pointer;
}

#bulle .vote a:hover {
  margin-top: 1px;
  text-decoration: underline;
}

#bulle .vote .nb_votes, #bulle .vote .iLikeThis {
  font-size: 11px;
}

#bulle .share {
  right:15px;
  text-align: right;
  color: #186486;
  font-family: Arial,sans-serif;
}

#bulle .share .fb_quote {
  margin-right: 8px;
}

#bonus_quote {
  float: left;
  position: relative;
  text-align: left;
  z-index: 10;
  top:-3px;
  width:100%;
  height: 100px;
  font-size: 11px;
  padding: 15px 0 0 0;
  font-family: Arial, sans-serif;
  background: url("images/pointe_bulle.png") no-repeat 600px 0;
}

#bonus_quote .encart {
  float: left;
  width: 468px;
  height: 60px;
  margin:10px 0 0 137px;
  display: inline;
  /* Temp. Style
  text-align: center;
  line-height: 60px;
  background: #439a9d;
  opacity:0.5; */
}

#bonus_quote .permalink {
  float: left;
  margin: 0 0 0 100px;
  color: #444;
  display: inline;
}

#bonus_quote .permalink:hover {
  text-decoration: underline;
  margin-top: 1px;
}

#bonus_quote .permalink:active, #bonus_quote .permalink:focus {
  text-decoration: none;
  background-color: #444;
  color: #EFEFEF;
}

/* Content page */

#bulle #quote .content_page {
  font-size: 14px;
  margin-top: 20px;
  text-shadow: 0px 1px 0px #FFF;
}

#bulle #quote .content_page p {
  margin: 10px 0;
}

#bulle #quote .content_page a {
  color:#005c67;
}

#bulle #quote .content_page a:hover {
  text-decoration: underline;
}

/* Form Add Style */
#bulle h3.title_add {
  line-height: 1.2;
  margin: 20px 0;
  font-size: 20px;
  color:#005B68;
  text-shadow: 0 1px 0 #FFF;
}

#bulle form.tdomf_form {
  float:left;
  width: 100%;
  height: 100%;
  line-height: 1.2;
}

#bulle form.tdomf_form p {
  float: left;
  width: 100%;
  margin: 0 0 15px 0;
}

#bulle form.tdomf_form label {
  clear: left;
  float: left;
  width: 140px;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  text-align: right;
  margin: 0 30px 0 0;
  text-shadow: 0 1px 0 #FFF;
}

#bulle form.tdomf_form label:hover {
  line-height: 41px;
}

#bulle form.tdomf_form label:active {
  text-shadow: 0 -1px 0 #FFF;
}

#bulle form.tdomf_form .inp_add {
  float: left;
  width:400px;
  height: 24px;
  color: #333;
  font-size: 14px;
  padding: 5px;
  background-color: #F7F7F7;
  border:3px solid #BEBBAA;
  font-family: Komika,Helvetica,Arial;
}

#bulle form.tdomf_form .inp_submit {
  padding: 5px 20px;
  font-size: 11px;
  font-weight: normal;
  background-color:#424242;
  color: #FFF;
  border:3px solid #BEBBAA;
  text-shadow: 0 2px 0 #333;
  font-family: Komika,Helvetica,Arial;
}

#bulle form.tdomf_form .inp_submit:hover {
  color:#B4A771;
}

#bulle.normal_line {
  line-height: 1.5;
}


/* FOOTER */

footer {
  width: 100%;
  height: 32px;
  padding-top:20px;
  position: absolute;
  bottom: 0;
  background: url("images/bg_footer.png") repeat-x left;
}

#content_footer {
  width: 700px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #dad6c2;
}

#content_footer a {
  color: #e8d797;
}

#content_footer .liens {
  float:left;
  margin: 0 3px 0 0;
}

#content_footer .liens a {
  position: relative;
}

#content_footer .liens a:hover {
  text-decoration: underline;
  top:1px;
}

#content_footer .networks {
  float: right;
  margin: -2px 0 0 0;
}

#content_footer .networks a {
  float: left;
  margin: 0 8px 0 0;
}

#content_footer .networks a:hover {
  margin-top: 1px;
}

#content_footer .networks a.last {
  margin-right: 0;
}


/* Media Queries */

@import "css/media_queries.css";
