/* ================ reset styles ================ */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure,  footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    border:0;
    outline:0;
    font-family: Arial;
    font-size:100%;
    background:transparent;
}

article,aside,details,figcaption,figure, footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}
li {
    padding: 3px 0;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    background:transparent;
}

ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

/* styles généraux */

body {
    width: 100%; height: 100%;
    font-size: 12px;
    font-family: Arial;
    color: #333231;
    margin: 0; padding: 0;
    background: white;
}
a {text-decoration: none; color: #1f497b;}
a:hover {cursor: pointer; text-decoration: underline;}
img {border: 0;}
div {margin: 0; padding: 0; word-wrap: break-word;}
p {margin: 12px 0; padding: 0; line-height: 16px; word-wrap: break-word;}

input, textarea {
    font-family: Arial;
    font-size: 12px;
}
input, textarea, .txtcol { color: #333231;}
.placeholder { color: #aaa; }

input:focus, select:focus {
    outline: none;
}
input[type=text], input[type=email], input[type=password], input[type=url] {
    font-size: 13px;
    padding: 2px 4px;
}
select {
    border: 1px solid gray;
    padding: 0;
}

.sendbutton {
    border: 1px solid silver;
    border-radius: 0;
    color: white;
    display: inline-block;
    font-size: 14px;
    padding: 5px 10px;
    text-align: center;
}
.sendbutton:hover {
    cursor: pointer;
    text-decoration: none;
}
.sendbutton.nobutton {
    border: none;
    color: #343332;
    font-size: 12px;
    padding: 0;
}
.sendbutton.nobutton:hover {
    text-decoration: underline;
}

button, input[type="submit"] {
    padding: 0.5em 1.2em;
    border: none;
    font-family: "HeroRegular", "Lucida Sans", "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 1.3em;
    color: #fff;
    cursor: pointer;
    border-radius: 2px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background: #191919;
    background: -moz-linear-gradient(top,#191919 0%,#191919 100%);
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#191919),color-stop(100%,#191919));
    background: -webkit-linear-gradient(top,#191919 0%,#191919 100%);
    background: -o-linear-gradient(top,#191919 0%,#191919 100%);
    background: -ms-linear-gradient(top,#191919 0%,#191919 100%);
    background: linear-gradient(to bottom,#191919 0%,#191919 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#191919',endColorstr='#191919',GradientType=0);
}
button:hover,
input[type="submit"]:hover {
  background: #f0a82e;
  background: -moz-linear-gradient(top,#565656 0%,#565656 100%);
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#565656),color-stop(100%,#565656));
  background: -webkit-linear-gradient(top,#565656 0%,#565656 100%);
  background: -o-linear-gradient(top,#565656 0%,#565656 100%);
  background: -ms-linear-gradient(top,#565656 0%,#565656 100%);
  background: linear-gradient(to bottom,#565656 0%,#565656 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#565656',endColorstr='#565656',GradientType=0);
}
button:active,
input[type="submit"]:active {
  background: #474c6d;
  background: -moz-linear-gradient(top,#474c6d 0%,#2f3456 100%);
  background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#474c6d),color-stop(100%,#2f3456));
  background: -webkit-linear-gradient(top,#474c6d 0%,#2f3456 100%);
  background: -o-linear-gradient(top,#474c6d 0%,#2f3456 100%);
  background: -ms-linear-gradient(top,#474c6d 0%,#2f3456 100%);
  background: linear-gradient(to bottom,#474c6d 0%,#2f3456 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#474c6d',endColorstr='#2f3456',GradientType=0);
}

.gradient-verylightgray {
    background: #f4f4f4;
    background: -moz-linear-gradient(top,#ffffff,#f4f4f4);
    background: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#f4f4f4));
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#ffffff',EndColorStr='#f4f4f4',GradientType=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff, endColorstr=#f4f4f4)";
}
.gradient-verylightgray.withhover:hover,
.gradient-verylightgray.active {
    background: #eeeeee;
    background: -moz-linear-gradient(top,#fafafa,#eaeaea);
    background: -webkit-gradient(linear,left top,left bottom,from(#fafafa),to(#eaeaea));
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#fafafa',EndColorStr='#eaeaea',GradientType=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#fafafa, endColorstr=#eaeaea)";
}

.error, .attention {color:red;font-weight:bold;}
.ok {color:#00bf00;}
.warning {color: #ffa500;}
.invalid {background:#ffdfdf !important; border:1px solid #df7d7d !important;}
.valid{background:#97ff97;}
.clear {clear: both;}
.uppercase {text-transform: uppercase;}
.hidden {display: none;}
.hiddensubmit {position: absolute; left: -99999px;}
.invisible {visibility: hidden;}
.center {
    margin-left: auto !important;
    margin-right: auto !important;
}
.textcenter, .textalignC {text-align: center !important;}
.textalignL {text-align: left !important;}
.textalignR {text-align: right !important;}
.textalignJ {text-align: justify !important;}

.fleft {float:left;}
.fright {float:right;}

.linkhover:hover {text-decoration: underline; cursor: pointer;}

.return-link {
    background: url(/images/icons/return-blue.png) no-repeat 0 3px;
    display: block;
    padding-left: 12px;
}

.crea-preview.withborder {
    border: 1px solid #e0e0e0;
    display: block;
    padding: 10px;
}
.crea-preview.withborder:hover {
    box-shadow: 0 0 10px -4px #444;
}

/* ======== Header ======== */
#header-wrapper {
    background-image: url(/images/bg-header-anova.png);
    position: relative;
}
#header-wrapper .logo-company {
    display: block;
    position: absolute;
    right: 5px;
    top: 5px;
}
#header-wrapper .userinfos {
    font-size: 13px;
    position: absolute;
    right: 10px;
    text-align: right;
    top: 25px;
}
#header-wrapper .userinfos .logout {
    margin-top: 10px;
}
#header-wrapper .userinfos,
#header-wrapper .userinfos a {
    color: white;
}
#header-wrapper .userinfos * {
    /*font-family: "Myriad-Pro";*/
    /*font-family: Oswald;*/
    font-family: "Droid Sans";
}
#header {
    margin: 0 auto;
    width: 1000px;
}
#header .homebutton {
    display: block;
    width: 500px;
    padding-top: 0px;
}
#header .homebutton img {
    display: block;
}

/* ==== message pour IE7 ==== */
#msg-ie7 {
    background: yellow;
    display: none;
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

/* ======== Footer ======== */
#footer-wrapper {
    margin-top: 100px;
}
#footer {
    margin: 20px auto;
    text-align: center;
    width: 1000px;
}
#footer p {
    margin: 0.5em 0;
}

/* ======== Styles généraux ======== */
#content {
    margin: 0 auto;
    min-height: 500px;
    width: 1000px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.2em 0 .8em 0;
  line-height: 1.2;
}
h1,
h2,
h3 {
  font-family: "HeroRegular", "Lucida Sans", "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-weight: normal;
}
h1 {
  margin-top: 0.6em;
  font-size: 2em;
  color: #191919;
}
h2 {
  font-size: 2.1em;
  color: #191919;
}
h2 > strong {
  font-weight: normal;
  color: #f0a82e;
}
h3 {
  font-size: 1.4em;
}
h4 {
  font-size: 1em;
}

/* ==== Alertes inpage ==== */
.alert {
    border: 1px solid transparent;
    border-radius: 4px;
    margin-bottom: 20px;
    padding: 15px;
    position: relative;
}
.alert a {
    font-weight: bold;
}
.alert-error {
    background-color: #f2dede;
    border-color: #eed3d7;
    color: #b94a48;
}
.alert-error a {
    color: #953b39;
}
.alert-info {
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #3a87ad;
}
.alert-info a {
    color: #2d6987;
}
.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
}
.alert-success a {
    color: #356635;
}
.alert-warning {
    background-color: #fcf8e3;
    border-color: #fbeed5;
    color: #c09853;
}
.alert-warning a {
    color: #a47e3c;
}
.alert .close {
    color: inherit;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.5;
    position: absolute;
    right: 10px;
    top: 4px;
}
.alert .close:hover,
.alert .close:focus {
    color: #000000;
    cursor: pointer;
    filter: alpha(opacity=50);
    opacity: 0.5;
    text-decoration: none;
}

/* ==== Alertes toppage ==== */
.ajaxform.working .sendbutton {
    display: none;
}
.ajaxform .gif-working {
    display: none;
}
.ajaxform.working .gif-working {
    display: block;
}

/* ==== Page login ==== */
.login-form table {
    margin: 20px auto;
}
.login-form td {
    padding: 5px 10px;
}
.login-form .libelle {
    width: 80px;
}
.login-form input[type=text],
.login-form input[type=password] {
   font-size: 13px;
   padding: 5px 10px;
   width: 200px;
}

/* ======== Liste campagnes ======== */
#content.home h2 {
    margin-bottom: 0.5em;
}
.campaigns-previews-wrapper .links-wrapper {
    width: 800px;
}
.campaigns-list-wrapper .logo {
    display: block;
    float: left;
    margin: 25px 25px 0 0;
}
.campaigns-list-wrapper .campaign-link {
    border-bottom: 1px solid silver;
    color: gray;
    display: inline-block;
    font-size: 16px;
    margin: 0.9em 0;
    padding-bottom: 2px;
}
.campaigns-list-wrapper .campaign-link:hover {
    border-bottom-color: #191919;
    color: #191919;
    text-decoration: none;
}

.campaign-preview-wrapper {
    float: left;
    margin-right: 25px;
    text-align: center;
    width: 260px;
}
.campaign-preview-wrapper.last {
    margin-right: 0;
}
.campaign-preview-wrapper .name {
    color: gray;
    display: block;
    font-size: 16px;
}
.campaign-preview-wrapper .preview {
    display: block;
    margin: 10px auto;
    padding: 10px;
}
.campaign-preview-wrapper .preview:hover {
    box-shadow: 0 0 10px -4px #444;
}

/* ======== Page stats ======== */
.statstable.withborders td {
   border: 1px solid silver;
}
.statstable td {
   padding: 8px 20px;
}
.statstable thead {
   background: #e4e4e4;
   text-align: center;
}
.statstable .totals {
   font-weight: bold;
}
.statstable tbody {
   text-align: right;
}
.statstable tbody .cell-label {
   text-align: left;
}


/* ==== Filtres ==== */
.campaign-filters {
   width: 500px;
}
.campaign-filters td {
   padding: 5px 10px;
}
.campaign-filters select[name^=agencyids],
.campaign-filters select[name^=segmentids] {
   width: 320px;
}

/* ==== Statistiques ==== */
.campaign-stats tbody tr:hover {
   background: #f0f0f0;
}
.campaign-stats td {
    padding: 8px 12px;
}

/* zones de clics */
.links-stats {
    float: left;
    margin: 10px 20px 20px 0;
    max-width: 300px;
}
.links-stats td {
    padding: 5px;
}
.links-stats .label {
    text-align: left;
}

/*.stats-wrapper-zones .crea-preview {
    float: left;
    margin: 10px 20px 20px 0;
}*/
.stats-wrapper-zones .link-preview-popup {
    float: right;
    font-size: 13px;
    margin: 12px 271px 0 0;
}

#chartClicksByPos {
    float: right;
    width: 650px;
}

.unsubtable {
    float: none;
    margin-top: 50px;
}

/* zones chaudes */
.campaign-template-wrapper {
    margin: 0 auto;
    position: relative;
}
.hotzones-wrapper {
    background-color: rgba(200,200,200,0.5);
    left: 0;
    position: absolute;
    top: 0;
}
.hotzone-link {
    display: block;
    padding: 5px;
    position: absolute;
    z-index: 10;
}
.hotzone-link .txt {
    background: white;
    border: 1px solid gray;
    border-radius: 6px;
    float: right;
    margin: -15px -15px 0 0;
    padding: 3px 5px;
    z-index: 11;
}
.hotzone-link:hover {
    /*box-shadow: 0 0 6px 2px #fff;*/
    z-index: 100;
}
.hotzone-link:hover .txt {
    background: gray !important;
    color: white !important;
    font-size: 15px;
    margin-top: -20px;
    margin-right: -20px;
}

/* par device */
.devices-stats {
    float: left;
    margin: 20px 0;
}
.devices-stats td {
    padding: 5px;
}
.devices-stats thead {
    font-weight: bold;
}
.devices-stats tbody .label {
    text-align: left;
    padding-right: 50px;
}
.devices-stats tbody .value {
    width: 150px;
}

#chartOpeningsByDevice {
    float: right;
    width: 600px;
}