/*
Variables and mixins
*/

$preview_size: 600px;

//$picto_color: #428bca;
$pixpalace_red: #da0e0f;
$pixpalace2_orange: #ffa000;
$bootstrap_primary_blue: #428bca;
$bootstrap_primary_blue_hover: #3071a9;

@mixin opposite-radius($value: 3px) {
  border-radius: $value 0 $value 0;
  -webkit-border-radius: $value 0 $value 0;
  -moz-border-radius: $value 0 $value 0;
}
@mixin full-radius($value: 4px) {
  border-radius: $value;
  -webkit-border-radius: $value;
  -moz-border-radius: $value;
}
@mixin top-radius($value: 4px) {
  border-radius: $value $value 0 0;
  -webkit-border-radius: $value $value 0 0;
  -moz-border-radius: $value $value 0 0;
}
@mixin bottom-radius($value: 4px) {
  border-radius: 0 0 $value $value;
  -webkit-border-radius: 0 0 $value $value;
  -moz-border-radius: 0 0 $value $value;
}
@mixin all-but-left-radius($value: 4px) {
  border-radius: 0 $value $value $value;
  -webkit-border-radius: 0 $value $value $value;
  -moz-border-radius: 0 $value $value $value;
}
@mixin none-radius() {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

@mixin vertical-align-bottom {
  position: relative;
  top: 100%;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}

@mixin vertical-align-middle {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@mixin font-smoothing{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@mixin smooth_bold{
  font-weight:bold;
  @include font-smoothing;
}

/*
html elements
*/
.fixed {
  position: fixed;
  width: 100%;
}
.gap {
  height: 4px;
  width: 100%;
  background-color: transparent;
}

.hide-text {
  overflow: hidden;
  text-indent: -9999px;
}

.pw_separator{
  margin: 0 2px;
}

.pw_spacer{
  height:2px;
  clear:both;
  line-height:0;
  font-size:0;
  margin:0;
  padding:0;
}

.pw_big_spacer{
  height:15px;
  clear:both;
  font-size:0;
  margin:0;
  padding:0;
}

.not_print{
  border-top: 1px dashed #9DA1A2;
  clear: both;
  margin-top: 5px;
}

.display_none{
  display: none;
}

.back-to-top {
  position: absolute;
  right: 30px;
  bottom: 100px;
  text-decoration: none;
  padding: 0.1em;
  display: none;
  .glyphicon {
    font-size: 1.1em;
    margin: 0;
    padding: 0.2em 0.4em 0.2em 0.6em;
  }
}

.pages_label {
  margin-left: 1em;
  font-size: 0.8em;
  font-weight: normal;
}

.pages_line {
  border-bottom: 2px solid $bootstrap_primary_blue;
  width: 100%;
  height: 1em;
  margin-bottom: 0.5em;
}

.colored {
  color: $pixpalace_red;
}

.background-colored {
  background-color: $pixpalace_red;
}

.border-colored {
  border-color: $pixpalace_red;
}

.colorange {
  color: $pixpalace2_orange;
}

.color_bootstrap_blue {
  color: $bootstrap_primary_blue;
}

.smooth_bold{
  @include smooth_bold;
}

.vertical_align_middle{
  @include vertical-align-middle;
}

.vertical_align_bottom{
  @include vertical-align-bottom;
}

body{
  background-color: #9DA1A2;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
html{
  overflow: hidden;
}
img{
  border: none;
}
a{
  color: #222222;
  text-decoration: none;
}
a:hover{
  color: $pixpalace_red;
  text-decoration: none;
}

.multi:hover{
  cursor: pointer;
  * {
    color: $pixpalace_red !important;
  }
}

hr {
  margin: 0;
}
p {
  word-wrap: break-word;
}

.ui-state-active {
  color: $pixpalace_red;
}

.ui-state-hover {
  color: $pixpalace_red;
}

table {
  border-collapse: separate;
  tbody>tr>td {
    padding: 3px;
  }
}

input[type=text]{
  padding: 1px 3px;
}

/* icomoon font icons*/
.icomoon {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  //color: $picto_color;
}

/* override styles of bootstrap */
.carousel .item{
  //opacity: 1;
  -webkit-transition: opacity 0s;
  -moz-transition: opacity 0s;
  -o-transition: opacity 0s;
  transition: opacity 0s;
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
  padding: 2px;
}
.glyphicon {
  float: left;
  margin: 2px 0 2px 8px;
  vertical-align: middle;
  //color: $picto_color;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav, .nav-tabs {
  //border-bottom: 0;
  border: none;
  width: 100%;
  @include top-radius;
  :hover{
    @include top-radius;
  }
  li {
    a:hover{
      background-color: $bootstrap_primary_blue_hover;
      border: none;
      color: #fff!important;
    }
    @include smooth_bold;
    font-size: 1em;
  }
  :focus{
    outline-style: none;
  }
}

.form-control{
  //padding: 2px!important;
  height: auto!important;
}

/* end: override styles of bootstrap */

.panel-title {
  font-size:1em;
  padding:3px;
}

.input-xs {
  height: 22px;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  width: auto;
  display: inline;
  @include full-radius(3px);
}

/* Download form styles */

#text-wrapper {
  width: 60%;
}

fieldset{
  border: 0;
  margin: 0.4rem 0;
  padding: 0.4rem 0;
  width: 100%;
  border-bottom: 1px dashed;
  vertical-align: middle;
  b {
    color: $pixpalace_red;
    font-size: 14pt;
  }
  .formBlock {
    margin-left: 40px;
  }
  .number {
    margin-right: 9px;
  }
}

label {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  font-weight: 400;
}

.table {
  margin-bottom: 5px;
  tbody>tr>td {
    vertical-align: middle;
  }
}

.tab-pane {
  float: left;
  width: 100%;
  @include full-radius;
}

.form-control-fixed-width {
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

[data-style=primary] + .popover {
  padding: 2px 2px;
  max-width: 620px;
  position: fixed;
  .arrow {
    display: none;
  }
  .popover-content {
    padding: 4px 0;
    text-align: center;
    .pw_info_thumb {
      text-align: left;
    }
  }
}

/* thumbs on rollover*/
.pw_info_thumb p{
  margin: 2px 0 2px 0;
  padding: 0 5px!important;
}

.pw_info_thumb{
  margin-top: 1px;
  padding: 2px;
  background-color: #fff;
  color: #000;
}


/*
buttons
*/
.pw_buttonset{
  /*float: left;*/
  display:block;
}
.pw_buttonset label{
  text-align: center;
  cursor: pointer;
  float: left;
  font-size: 0.8em;
  width: 14em;
  margin: .1em;
  padding: 0;
}
.pw_buttonset input{
  float: left;
}

.pw_content, .content, .content-no-color {
  @include full-radius;
  margin: 0 5px;
}

.hidden-trigger {
  color: $pixpalace_red;
}

.pw_exhaustivity {
  float: right;
  font-weight:bold;
  padding-right:2px;
}

/* table */

.fixed-header-table {
  width: 100%;
}

/* header */
#pw_header {
  text-align: center;
  height: 100%;
  background-color: #9DA1A2;
  padding: 0;
  margin: 0;
}

nav, form {
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li {
    display: inline-block;
    float: left;
  }

  a {
    /*display: block;*/
    padding: 3px 6px;
    text-decoration: none;
  }
}

.flash_msg {
  margin-right: 20px;
  list-style: none;
}

#navigation1 {
  float: right;
  background-color: #9DA1A2;
  margin-right: 5px;
  max-height: 25px;
  nav {
    min-height: 0;
    margin-right: 0;
    margin-bottom: 0;
    border: none;
    color: #fff;
    font-size: 0.9em;
    a {
      color: #fff;
      padding:0;
      margin: 0!important;
      .icomoon, .glyphicon {
        font-size:1.4em;
        margin: 2px 3px;
      }
    }
  }
}

#navigation2 {
  clear: both;
  width: 100%;
  margin-left: 250px;
  border-top-left-radius: 6px;
  .nav {
    a {
      padding: 4px 8px;
      border-radius: 4px 4px 4px 4px;
      border: solid 0;
      margin: 5px;
      font-weight: bold;
      transition: background .3s;
    }
    a:hover {
      background-color: #428bca;
      color: #ffffff;
    }
    a.current {
      color: $pixpalace_red;
    }
    .dropdown {
      a {
        cursor: pointer;
      }
    }
  }
  .nav-tabs {
    border: 0;
  }
}

.navigation2b {
  clear: both;
  //width: 85%;
  height: 1em;
  margin-left: 250px;
  border-top-left-radius: 6px;
}

#pw_logo img,#pw_logo_2 img{
  margin: 0;
  border: 0;
  position: absolute;
}

#pw_logo img{
  top: 13px;
  left: 10px;
}

#pw_logo_2 img{
  top: 15px;
  left: 130px;
}

/*container*/
.container_wrapper {
  //top: 62px;
  margin: 0;
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling:touch;
}

/* light_box */

.pw_menus {
  ul {
    width: 100%;
    display: inline-block;
  }
  #admin-lightbox {
    a {
      vertical-align: sub;
      span.icon-images {
        height: 22px;
        margin: 0 6px 1px 2px;
      }
      .icon-images:before {
        vertical-align: sub;
      }
    }
  }
}

li.col-md-6 {
  &:hover{
    .glyphicon.glyphicon-arrow-right {
      color: $pixpalace_red;
    }
  }
}

.visioLight{
  font-size: 1em;
}

.visio-toggle{
  margin-top: 100px;
}

.ontop{
  margin: 0;
  padding: 0;
  position: fixed;
  //top: -30px;
  right: 100px;
  z-index: 5000;
  //height: 100px !important;
  overflow: hidden;
}

#light_box_id{
  float:left;
  width: 125px;
}

#light_box_add, #full_light_box_add, .pw_select_manager_add{
  float:left;
  cursor: pointer;
}

#pw_light_box_panel {
  @include full-radius;
  .pw_panel-header-content {
    float: right;
    display: inline;
    margin-right: 15px;
  }
}

.pw_panel-content{
  overflow: auto;
  width: 100%;
  padding: 0 0.4em 0.4em 0.4em;
  clear: both;
  @include bottom-radius;
}

#pw_sel_light_box_results {
  float: left;
  a {
    font-size: 0.9em;
    display: inline;
  }
}

.new_light_box {
  height: 20px;
}
#light_box_name {
  height: 22px;
  width: 125px;
  color: #333;
}

.pw_lb_dashed{
  border-bottom: 1px dashed #9DA1A2;
  margin: 8px 0;
  clear: both;
}

.pw_lb_line{
  border-bottom: 2px solid rgba(48, 113, 169, 0.64);
  margin: 5px 0;
  clear: both;
}

.pw_lb_thumb_col{
  width: 50%;
  text-align: center;
  //margin: 0 10px;
}

.pw_menus_3 {
  margin: 2px 0 0 0;
  padding: 0;
  display: inline-block;
  list-style-type: none;
  font-weight: bold;
  .glyphicon.reset-margin {
    margin: 0 2px 0 0;
  }
  .icomoon{
    vertical-align: middle;
    float: left;
  }
}

#pw_sel_light_box_results .pw_menus_3 li{
  margin:0 5px;
}

/* pw_center */
#pw_center {
  /* width: 80%;*/
  float: left;
  padding: 0;
  margin: 0;
  clear: both;
  /*font-size: 13px;*/
  overflow: auto;
}

#pw_center_custom {
  font-size: 13px;
  overflow: auto;
  #admin_tabs.pw_remote-tabs {
    padding: 0 0 5px 0;
  }
}

.modal-dialog {
  width: 50%;
}

.pw_providers, .pw_local_providers, .pw_photographer_providers, .pw_titles {
  .hidden-accessible {
    display: none;
  }
  .provider-state-active {
    background-color: $pixpalace_red;
    text-shadow: 0 1px 0 $pixpalace_red;
    color:#fff;
    background-image: none;
  }
  .active-hover-state {
    border-color: #fff;
  }
  .inactive-hover-state {
    /* if needed */
  }
}

.pw_remote-tabs {
  padding: 5px 0;
  clear: both;
  ul.nav-tabs > li {
    margin: 0 5px 0 0;
    a {
      font-size: 0.9em;
      padding: 0.5em 1em;
      background-color: $bootstrap_primary_blue;
      color: #fff;
      /* font-weight: bold; */
    }
  }
  .nav-tabs > .active > a,
  .nav-tabs > .active > a:hover,
  .nav-tabs > .active > a:focus{
    cursor: auto;
    //color: $pixpalace_red;
    color: #fff;
    background-color: $bootstrap_primary_blue_hover;
    //text-decoration: underline;
  }
  .nav-tabs :hover{
    cursor: auto;
    color: #fff;
    background-color: $bootstrap_primary_blue_hover;
  }
  .tab-content.panel-body{
    //padding: 5px;
    color:#333;
    @include none-radius;
  }
  .tab-pane {
    padding: 8px;
    @include all-but-left-radius;
  }
}

.pw_title_panel {
  padding: 5px 0;
  clear: both;
  ul.nav-tabs > li {
    margin: 0 5px 0 0;
    a {
      font-size: 0.9em;
      padding: 0.5em 1em;
      background-color: $bootstrap_primary_blue;
      color: #fff;
      /* font-weight: bold; */
    }
  }
  .nav-tabs > .active > a,
  .nav-tabs > .active > a:hover,
  .nav-tabs > .active > a:focus{
    cursor: auto;
    //color: $pixpalace_red;
    color: #fff;
    background-color: $bootstrap_primary_blue_hover;
    //text-decoration: underline;
  }
  .nav-tabs :hover{
    cursor: auto;
    color: #fff;
    background-color: $bootstrap_primary_blue_hover;
  }
  .tab-content.panel-body{
    //padding: 5px;
    color:#333;
    @include none-radius;
  }
  .tab-pane {
    padding: 8px;
    @include all-but-left-radius;
  }
}

.tab-content {
  background-color: #fff!important;
  height: auto;
  @include full-radius;

  width: 100%;

  #provider_sets, .tab-pane > div {
    float: left;
  }

  #provider_group_name_id{
    width: 230px;
    @include full-radius;
    padding: 4px 6px;
    border: 1px solid #ccc;
    font-size: 0.9em;
    font-weight: normal;
  }

  #pw_groups_menu {
    margin-left: 10px;

    .button_to {
      margin-right: 5px;
    }
  }

  #cancel_button {
    margin-left: 6px;
    margin-top: 2px;
  }
}

/* color-picker */

#borders_form{
  float: left;
  display: inline-block;
}
#del_borders_form{
  float: left;
  margin-left: 6px;
}
.clearboth {
  clear:both;
  float:none;
  padding:0;
}

.color-picker {
  list-style: none;
  padding: 0;
  margin: 0;
  float: left;
  border-left: 1px solid #000;
  border-top: 1px solid #000;
}

.color-picker li{
  display: block;
  width: 15px;
  height: 15px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  margin: 0;
  float: left;
  cursor: pointer;
}

#bgresult{
  height:25px; width:25px; background-color:#fff;
  margin: 0 10px;
  float: left;
}

/* search_form*/

#search {
  overflow-y: scroll;
}

form#pw_results {
  overflow-y: hidden;
  padding-bottom: 10px;
}

#pw_search_panel{
  @include full-radius;
  .pw_panel-header {
    vertical-align: middle;
    .pw_panel-header-content {
    }
  }
  .pw_panel-content {
    @include none-radius;
  }
  input[type=checkbox], input[type=radio] {
    vertical-align: text-bottom;
  }
}

.speed-search {
  margin-top: 6px;
  font-size: 0.9em;
  float: right;
}

#pw_provider_panel, #pw_title_panel, #pw_search_panel, .pw_panel, .content {
  margin: 0 5px;
}

.pw_params_wrapper {

  label, div, input {
    float: left;
  }
}

.pw_result_per_provider {
  font-size: 0.9em;
  padding: 3px 5px;
}

#saved_search {
  a.no_remote {
    color: #000000;
  }
}

/* Search results */

#pw_results {
  margin-top: 2px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
}

/* Providers list */
#prov_toggle{
  font-size: 1.3rem;
}

.toggle_fold_all, .pw_toggle_check {
  cursor: pointer;
  float: left;
  strong {
    margin-left: 4px;
  }
}

.pw_toggle_check {
  &:hover {
    .glyphicon.glyphicon-check {
      color: $pixpalace_red;
    }
  }
}

tbody, .pw_c_header {
  .prov_col_name {
    width: 10%;
  }
  .prov_col_rights {
    width: 2.5%;
  }
  .prov_col_contact {
    width: 9%;
  }
  .prov_col_email {
    width: 15%;
  }
  .prov_col_phone {
    width: 7.6%;
  }
  .prov_col_portable {
    width: 7%;
  }
  .prov_col_site {
    width: 13%;
  }
  .prov_col_address {
    width: 32%;
  }
  .prov_col_cgv {
    width: 2.5%;
  }
}

.prov_col_name,.prov_col_rights,.prov_col_contact,.prov_col_email,.prov_col_phone,.prov_col_portable, .prov_col_site, .prov_col_address, .prov_col_cgv {
  border-bottom: 2px solid #66a299;
}

#pw_contacts{
  margin: 0;
  padding: 0;
  border-spacing: 0;
  text-align: left;
  width:100%;
  height: 20%;
  thead {
    display: block;
    background-color: aliceblue;
  }
  tbody {
    display: block;
    overflow-y: scroll;
    height: 700px;
  }
  tr:hover {
    background-color: aliceblue;
  }
  i {
    margin: 0;
  }
}

#pw_contacts,#pw_statistics_list>.fixed-thead.affix-top {
  width: 100%;
  background-color: #eee;
}

#pw_statistics_list>.fixed-thead.affix{
  top: 0;
  position: static;
  background-color: #eee;
}

#pw_contacts>.fixed-thead.affix {
  clear: both;
  position: fixed;
  top: 86px;
  background-color: #eee;
}

.pw_theme a{
  color: #222222;
}

.pw_theme2 a{
  color: #9DA1A2;
}

table {
  border-collapse: collapse;
}

tbody > tr.pw_c_header {
  border-top: 2px solid #66a299;
}

#info-agency {
  border-top: 1px dashed;
}

tbody > tr.pw_theme2 > td {
  border: 0;
}

tbody > tr.pw_theme2 > td.pw_slideShow {
  margin: auto;
}

#pw_providers_to_csv{
  float: right;
  margin-right: 1%;

}

#providers{
  color: #000;
  background-color: #fff;
  padding: 5px 5px 5px 5px;
}

.pw_pictureNumber a{
  color: $pixpalace_red;
}

#providers_menu{
  float: left;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px dashed #9DA1A2;
  border-top: 1px dashed #9DA1A2;
  padding: 3px 5px 3px 5px;
  color: #000;
}

#providers_menu a{
  color: #000;
}

#providers_menu span.toggle_fold_all{
  float: left;
}

.pw_panel-header {
  float: left;
  padding: 4px 4px 2px 4px;
  width: 100%;
  @include top-radius;
  .glyphicon {
    vertical-align: top;
    margin-top: 2px;
  }
}

.pw_c_header {
  .glyphicon {
    vertical-align: top;
  }

  a{
    color: #000;
  }
}

.pw_panel-header-label {
  margin-right: 10px;
  cursor:pointer;
  float: left;
  border-top-left-radius: 4px;

  span{
    margin-top: 3px;
  }
}

.pw_panel-header-content {
  float: right;
  z-index:1;
}

.pw_statistics_list_titles{
  background-color: #fff;
  height: 30px;
  th {
    text-align: center;
  }
}

/*
footer
*/
#pw_footer{
  text-align: center;
  margin: 10px 0;
  //width: 70%;
}

/*
tooltip
*/
#tooltip{
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size:0.9em;
  position: absolute;
  width:600px;
  padding:2px;
  z-index:9999;
}

/*
params builder
*/
.pw_params_builder{
  float:left;
}
.pw_params_builder_add, .pw_params_builder_remove{
  float:left;
  cursor: pointer;
}

/*
thumbs
*/
.pw_thumb{
  float:left;
  width: 180px;
  height: 238px;
  text-align: center;
  font-size: 0.9em;
  overflow:hidden;
  border:1px transparent;
  border-radius: 5px;
  -webkit-box-shadow: 1px 0 2px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 1px 0 2px rgba(0, 0, 0, 0.8);
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.8);
  padding: 5px;
  margin: 3px;
  p {
    margin:0;
    padding:0;
    text-align: left;
    a{
      margin-left: 5px;
    }
    span{
      margin-right: 30px;
    }
  }
  .pw_media_info_container{
    height: 60px;
  }
  .pw_media_txt,.pw_media_img > a > img,.pw_media_img > img{
    @include vertical-align-bottom;
  }
  .pw_media_txt{
    font-size: 0.95em;
    line-height: 1.2em;
  }
  .pw_media_txt_container{
    height: 40px;
  }
  .pw_media_img{
    height:160px;
  }
  .pw_media_button{
    height: 25px;
    text-align: center;
    margin: 4px 0;
    input {
      margin: 0;
      vertical-align: middle;
      display: inline-block;
    }
    a {
      padding: 0;
      margin: 4px 0;
      .glyphicon {
        float: none;
        margin: 1px;
        vertical-align: middle;
        display: inline-block;
      }
      .icomoon {
        float: none;
        vertical-align: middle;
        display: inline-block;
      }
    }
  }
  video {
    width:100%;
    max-width:600px;
    max-height:600px;
    height:auto;
  }
}

.content.results {
  margin-top: 2px;
  .pw_menus_3 {
    li {
      display: inline-block;
      vertical-align: top;
    }
  }
}

.row.footer {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #9DA1A2;
}

/* page users */
.users_tables_container_div{
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.users_table_header{
  float: left;
  margin: 0;
  padding: 0;
  background-color: #fff;
  text-align: left;
  color: #000;
  /*border-bottom: 2px solid #66a299;*/
  border-spacing: 2px;
  width: 100%;
  table-layout: fixed !important;
  thead>tr>th {
    margin: 1px;
  }
}

.users_table_datas{
  text-align: left;
  margin: 0;
  padding: 0;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed !important;
}
/* page admin */

.panel-header {
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
  padding: 10px 15px 1px 15px;
  @include top-radius;
}

#admin_index {
  padding: 0 5px 0 5px;
  #in_group {
    overflow: auto;
    .group_cell {
      width: 340px;
    }
  }
}

#titles_list {
  #title_table {
    .show-title, .modify-title {
      width: 25px;
    }
  }
}

.edit_title_provider_group_name {
  input, select {
    color: #000000;
  }
}

#edittitlemodal .form-horizontal .control-label, #edittitlemodal .radio,
#editusermodal .form-horizontal .control-label,
#newusermodal .form-horizontal .control-label{
  padding: .2rem .4rem;
  margin-right: .4rem;
  font-weight: bold;
}

/* page statistics */

#pw_statistics_list {
  width: 100%;
  text-align: center;
}

.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
  background-color: #428bca
}

#pw_search_form {
  float: left;
  width: 100%;
  margin: 2px 0;
  border-radius: 4px;
  background-color: #dfdfdf;
  .pw_panel-header-content>* {
    width: auto;
    display: inline;
    margin: 4px 5px;
    vertical-align: middle;
  }
  .pw_bigger, .pw_big_button {
    margin: 0 10px;
  }
  .search-heading {
    height: 45px;
  }
}

.pw_stats_thumb{
  float:left;
  width: 180px;
  height: 220px;
  text-align: center;
  font-size: 0.9em;
  overflow:hidden;
  margin:2px 0 2px 0;
  p {
    margin: 12px 0;
  }
}

.pw_total_photos{
  font-weight: bold;
  font-size: 1.6em;
  float: left;
}

#pw_results, .pw_total_photos{
  padding: 0 5px;
}

@mixin paginator() {
  text-align: center;
  display:block;
  a {
    color: #000000;
  }
}

#pw_paginator, #bas_paginator {
  @include paginator;
}

#tst_medias {
  margin-top: 6px;
}

#tst_bas_paginator, #tst_paginator{
  @include paginator;
  float: left;
  width: 100%;
  margin: 5px 0;
}

#head-pagination {
  float: left;
  width: 100%;
  text-align: center;
  #pw_paginator {
    display: inline;
    clear: both;
  }
}

.result_content {
  padding: 0;
  width: 100%;
}

.pics_per_page{
  margin:5px 5px 0;
  float:right;
  text-align: right;
}

/*
pagination
*/
.pagination {
  font-size: 1em!important;
  line-height: 1em!important;
  font-weight: bold;
  text-align: center;
  position:relative;
  margin-top: 5px;
  li.current_page>a {
    padding: 5px 6px;
  }
}

/*preference*/

.pw_settings_label{
  margin-left: 0.5em;
}

#bgColorSlider,#fontColorSlider {
  .slider-selection {
    background: #BABABA;
  }
}
#settingsModal .close {
  font-size: 25px;
}

.help_frame{
  display:inline-block;
  padding:5px;
  margin-top:-5px;
  margin-bottom:10px;
}

.help_table{
  border:1px solid;
  tr,td,th{
    border:1px solid;
    border-collapse: collapse;
    padding: .8rem;
  }
}

/*page admin_agency*/

.adm_agency_titles {
  font-size: 1.5em;
  margin: 5px;
  display: inline-block;
}

.flash_notice {
  margin: 0;
}

.show_hide_help.glyphicon.glyphicon-question-sign {
  font-size: 1.8em;
  margin: 3px;
  cursor: pointer;
  display: inline-block;
  float: none;
  &:hover {
    color: $pixpalace_red;
  }
}

#pw_paginator {
  .open_close {
    margin: 12px 0 10px 0;
    float: left;
  }
  .pagination {
    margin: 5px 0 5px 0;
  }
}

.adm_ag_txt{
  font-size: 12px;
  .glyphicon.glyphicon-open {
    font-size: 14px;
    float: none;
    margin: 0;
    &:hover {
      color: $pixpalace_red;
    }
  }
}

.pw_searchstats_list{
  tr.pw_theme {
    border-top: 1px solid grey;
  }
  td {
    vertical-align: top;
  }
}

/* Indexation */

.header_indexation {
  margin: 0 10px;
  .glyphicon {
    float: none;
    margin: 0 2px;
    vertical-align: baseline;
  }
}

#pw_indexation_form .pw_toggle_check {
  float: none;
  margin-bottom: 10px;
}

#description_wrapper h3, #credit_wrapper h3 {
  border-bottom: 1px solid;
  margin: 20px 120px 15px 10px;
  padding: 0 0 10px 22px;
}

/* statistics css*/

.pw_stats_total, .pw_title_panel{
  padding: 5px;
}

.pw_stats_export{
  float: right;
  margin-right: 1%;
  font-weight: bold;
}

.pw_stats_thumb_table_pic{
  width: 3.5%;
}

.pw_stats_thumb_table_pic img{
  vertical-align: middle;
}

.pw_stats_thumb_table_pic_nam{
  text-align: center;
}

input.pw_current_page{
  text-align: center;
}

.pw_dashed_bottom{
  border-bottom: 1px dashed #555;
}

.pw_stats_list_hover{
  background-color: #999;
}

.pw_features {
  float: left;
  .pw_panel-content {
    @include top-radius;
    padding: 4px 0 0 0;
    overflow: hidden;
  }
  .pw_title_panel {
    float: left;
    padding: 6px 0 0 5px;
    ul.nav-tabs > li a {
      font-size: 1em;
      color: #fff;
      padding: 0.5em 1em;
    }

    li.features_tabs_active > a {
      color: $pixpalace_red;
    }
    .nav-tabs > .active > a,
    .nav-tabs > .active > a:hover,
    .nav-tabs > .active > a:focus{
      cursor: auto;
      //color: $pixpalace_red;
      color: #fff;
      background-color: $bootstrap_primary_blue_hover;
      //text-decoration: underline;
    }
    .nav-tabs :hover{
      cursor: auto;
      color: #fff;
      background-color: $bootstrap_primary_blue_hover;
    }
  }

  #pw_paginator {
    margin: 0;
  }
}

#search_form {
  float: right;
  margin-right: 8px;
}

.pw_title_panel{
  //color: #fff;
  font-weight: bold;
}

/*
reportages lists
*/

.reportages_tables_container_div{
  width: 100%;
  top:8px;
  z-index:1;
}

.reportages_inner_table_div{
  /*min-width: 980px;*/
  float: left;
  width: 100%;
  height: 100%;
}

.reportages_table_header{
  float: left;
  margin: 0;
  padding: 0;
  background-color: #969696;
  border: 1px solid #66a299;
  border-spacing: 0;
  /*min-width: 980px;*/
  width: 100%;
  table-layout: fixed !important;
}

.reportages_table_header th{
  border:none;
  text-align: center;
  vertical-align: middle;
  font-size:1em;
  /*margin:0;*/
  /*padding:0;*/
  /*border-spacing: 0;*/
}

.reportages_table_header th .current {
  padding-right: 15px;
  background-repeat: no-repeat;
  background-position: right center;
}

.reportages_table_header th .asc, .show_pictures_icon {
  background-image: url("arrow_up.png");
  background-repeat: no-repeat;
  background-position: left;
}

.reportages_table_header th .desc, .hide_pictures_icon {
  background-image: url("arrow_down.png");
  background-repeat: no-repeat;
  background-position: left;
}

.reportages_table_datas{
  margin: 0;
  padding: 0;
  width: 100%;
  border: 1px solid #66a299;
  border-spacing: 0;
  table-layout: fixed !important;
}

.reportages_table_datas td {
  height: 50px;
}

.reportages_row:hover{
  cursor: pointer;
  color:$pixpalace_red;
}

.reportages_odd{
  background-color: #fff;
}

.reportages_even{
  background-color: #ccc;
}

.reportages_ref_col,.reportages_title_col,.reportages_nbpictures_col,.reportages_credit_col,.reportages_picture_col,
.reportages_date_col,.reportages_text_col,.reportages_visible_col,.reportages_admin_col{
  border: 1px solid #66a299;
  padding: 0 5px;
  text-align: center;
}

.reportages_ref_col {
  min-width: 100px;
  width: 100px;
  text-align: left;
}

.reportages_title_col {
  width: 400px;
  min-width: 300px;
  text-align: left!important;
  vertical-align: top;
  font-size:1.1em;
  font-weight: bold;
  padding-top: 5px;
}

.reportages_nbpictures_col {
  min-width: 50px;
  width: 50px;
}

.reportages_credit_col {
  width: 200px;
  min-width: 150px;
}

.reportages_picture_col {
  width: 90px;
  min-width: 90px;
  max-width: 90px;
  padding: 5px;
  margin:0;
  border-spacing: 0;
}

.reportages_date_col {
  width: 80px;
  min-width: 70px;
}

.reportages_text_col {
  min-width: 100px;
  width: 200px;
  text-align: justify;
}

.reportages_visible_col {
  min-width: 40px;
  width: 50px;
}

.reportages_admin_col {
  min-width: 40px;
  width: 40px;
  max-width: 40px;
  font-weight: bold;
}

/* Reportages thumbs */

/*.draggable {
  cursor: move;
}*/

/* Reportages form */

.label_edit{
  display: inline-block;
  width: 120px;
  font-weight: bold;
  padding: 3px 10px 0 0;
  vertical-align: top;
}

#show_hide_thumbs{
  padding-left: 16px;
  cursor:pointer;
  font-weight: bold;
}

.carousel-caption {
  float: right;
  position: static;
  text-align: left;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 20px;
  //max-width: 50%;
  span {
    font-size: 1.1em;
  }
  font-size: 0.9em;
  text-shadow: none;
}

.carousel-inner {
  vertical-align: middle;
  .item {
    padding: 30px 0;
    .item_wrapper {
      float: left;
      width: 100%;
      padding: 0 10%;
      .pw_medium {
        float: left;
        text-align: center;
        //max-width: 50%;
        img{
          //width: 100%;
        }
      }
    }
  }
}

.carousel-control {
  width: 10%;
}

#pw_media_all {
  span.pw_media_txt_photo {
    line-height: 1.7em;
    font-size: 1.0em;
  }
  .pw_menus_3 li {
    float: left;
    display: inline;
    margin: 0 5px;
    a {
      font-weight: bold;
    }
  }
}

.print_button, .pw_close_window, .pw_menus_3 li.ui-state-focus{
  cursor: pointer;
  border-width: 0;
}

.pw_close_window.ui-state-focus{
  color: red;
}

/* Request to providers */

//animated spinner for sending button
.gly-spin {
  -webkit-animation: spin 2s infinite linear;
  -moz-animation: spin 2s infinite linear;
  -o-animation: spin 2s infinite linear;
  animation: spin 2s infinite linear;
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(359deg);
  }
}
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
  }
}
@-o-keyframes spin {
  0% {
    -o-transform: rotate(0deg);
  }
  100% {
    -o-transform: rotate(359deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
  }
}

#requests_sets {
  height: 195px;
  border: solid 2px $pixpalace_red;
  background-image: url("requete-text.png");
  background-repeat: no-repeat;
  background-position: 98% bottom;
  .div_new_request {
    height: 100%;
    .request_form_div {
      height: 90%;
      width: 90%;
      #new_request {
        height: 100%;
        .div_info{
          height: 15%;
        }
        .div_textarea {
          height: 70%;
          margin: 1% 0;
          textarea {
            height: 100%;
            width: 100%;
            resize: none;
            border-color: #000;
          }
        }
        .div_submit{
          height: 13%;
          .glyphicon {
            margin: 2px;
          }
          a {
            float: left;
            color: #000;
          }
          a:active{color: #000;}
          #remove_attachment{
            /*float: right;*/
            display: none;
            cursor: pointer;
          }
          button{
            float: right;
          }
        }
      }
    }
  }
  div#requestprovider {
    max-height: 178px;
    overflow: auto;
  }
}

/*
media browser
*/
#pw_carrousel_timer {
  label {
    font-weight: bold;
  }
}
#pw_media_show{
  overflow:auto;
  margin:0;
  padding:0;
  width: 100%;
  video{
    width: 100%;
    max-width: 600px;
    max-height: 600px;
    height: auto;
  }
}
.pw_media_header{
  margin:10px 0 0 0;
  padding:0;
  height:49px;
  width:100%;
}
.pw_prov_logo {
  margin:0;
  padding:0;
  line-height:0;
  max-width: 140px;
  max-height: 45px;
  float:left;
}
.pw_prov_logo img{
  padding:2px;
}

/*#pw_media_show .pw_medium {
  img {
    margin: 2px 12px 2px 12px;
  }
  span {
    float: left;
    margin: 100px 0;
  }
}*/

#pw_media_list {
  width:100%;
  max-height:140px;
  overflow: auto;
  white-space: nowrap;
  line-height: 0;
  margin:0;
  padding:0;
}
#pw_media_list p{
  line-height: 0;
  margin:0;
  padding:0;
}
#pw_media_list img{
  display: inline-block;
  padding: 0 1px;
}

#pw_panel_feature{
  float:left;
  height:100%;
  width:20%;
}

/* full screen light boxes */

#pw_light_box_images{
  list-style: none;
}

#title_fslboxes{
  font-size: 1.5em;
  font-weight: bold;
}

.pw_fslboxes_dashed{
  border-bottom: 1px dashed #9DA1A2;
  border-top: 1px dashed #9DA1A2;
  margin: 10px 0 10px 0;
  padding: 5px 0 5px 0;
}

.pw_trash_icon{
  margin-top: 3px;
}

/* media */

#pw_media_all{
  padding: 5px;
}

.pw_media_img_preview {
  max-width: $preview_size;
  max-height: $preview_size;
  display: inline-block;
}

.pw_media_txt_photo{
  float: left;
  font-size: 1.2em;
  font-weight: bold;
  margin-right: 10px;
  line-height: 0.8em;
}

.pw_media_info{
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 0.8em;
}

.cancel_tabs{
  margin-left: 5px;
  font-weight: bold;
}

.cancel_tabs a, .cancel_tabs a:link, .cancel_tabs a:visited{
  color: $pixpalace_red;
}

.color_font_tabs a:link, .color_font_tabs a:visited{
  color: #9DA1A2;
}

/* full_screen_light_box */
.right-navigation, #pw_lb_results {
  font-size: 13px;
}

#pw_rename_light_box {
  float: left;
  margin: 5px 0;
}

.right-navigation {
  float: right;
}

#pw_lb_results {
  float: left;
  width: 100%;
  margin-bottom: 50px;
}

/* Impression */
.print_menus {
  #leg {
    color: #333;
  }
}

body.dragging, body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.75;
  z-index: 2000;
}

ul.sortable-list li.placeholder {
  position: relative;
  display: block;
  border: none;
  /** More li styles **/
}
ul.sortable-list li.placeholder:before {
  position: absolute;
  content: "";
  margin-top: -5px;
  left: -5px;
  top: -4px;
  border: 5px solid transparent;
  /** Define arrowhead **/
}

/* controles des photos */

#pw_search_panel {
  padding: 5px 20px 5px 0;
  overflow: auto;
  strong {
    padding-right: 10px;
    font-size: 14px;
  }
}

table {
  width: 100%;
  .pw_statistics_list_titles {
    color: black;
    th:first-child {
      padding: 10px 0 10px 0;
      #selectAll {
        margin-right: 5px;
      }
      input:last-child {
        margin-top: 4px;
      }
    }
    th {
      a {
        color: black;
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}

#control_errors_list {
  background-color: #808080;
  * {
    float: none;
    color: #222222;
  }
}

.slider.slider-horizontal .slider-track {
  background: black;
}

#bgColorSlider .slider-selection, #fontColorSlider .slider-selection {
  background: white;
}

.pointer_cursor{
  cursor: pointer !important;
}

/* spinner for endless page */
@keyframes anim-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes anim-rotate {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
.spinner {
  display: inline-block;
  font-size:4em;
  height: 1em;
  line-height: 1;
  margin: .5em;
  animation: anim-rotate 2s infinite linear;
  vertical-align: middle;
}
.spinner-steps {
  -webkit-animation: anim-rotate 1s infinite steps(8);
}
.talign-center {
  clear: both;
  text-align: center;
}

/* Dashboard */
.pic_number {
  float: left;
  text-align: center;
  width: 6.3rem;
}
.pic_number_icon{
  float:right;
  margin: 2px 0
}
.button_label {
  font-size: 1.2rem;
  text-align: center;
}
.col_prov_grid {
  text-align: center;
}

.form-check-label {
  vertical-align: top;
}

/* Hide download button on Chrome player - Nathalie 12/01/2017 */
video::-internal-media-controls-download-button {
  display:none;
}
video::-webkit-media-controls-enclosure {
  overflow:hidden;
}
video::-webkit-media-controls-panel {
  width: calc(100% + 30px); /* Adjust as needed */
}

/* Login modal for showcase website */

.loginmodal-container {
  padding: 30px;
  max-width: 350px;
  width: 100% !important;
  background-color: #ccc;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.loginmodal-container input[type=submit], .loginmodal-cancel {
  width: 50%;
  display: block;
  margin-bottom: 10px;
  position: relative;
}

.loginmodal-container input[type=submit]{
  float: left;
}

.loginmodal-container input[type=text], input[type=password] {
  height: 44px;
  font-size: 16px;
  width: 100%;
  margin-bottom: 10px;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: 1px solid #c0c0c0;
  padding: 0 8px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.loginmodal-container input[type=text]:hover, input[type=password]:hover {
  border: 1px solid #b9b9b9;
  border-top: 1px solid #a0a0a0;
  -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.loginmodal {
  text-align: center;
  font-size: 14px;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  height: 36px;
  padding: 0 8px;
}

.loginmodal-container a,.loginmodal-container .showcase_register_modal {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  text-align: center;
  display: inline-block;
}

.login-help{
  /*font-size: 12px;*/
}

.login_modal_link {
  font-weight: bold;
  font-size: 1.3rem;
}

/* Demand modal for showcase website */

.demandmodal-container {
  width:750px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #666;
  padding: 25px;
  border-radius: 4px;
  background-color: #ccc;

  body {
    color: #666;
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin-left: 20px;
  }
  a {
    color: #666;
  }
  #form_title{
    font-size: 2.5rem;
    margin-left: 5rem;
    text-decoration: underline;
  }
  input {color: black;}
  [type="checkbox"] {
    vertical-align: text-bottom;
  }
  table {
    font-size: 1em;
  }
  html{
    overflow: auto;
  }
}


/*.demandmodal-container {*/
/*padding: 30px;*/
/*max-width: 350px;*/
/*width: 100% !important;*/
/*background-color: #ccc;*/
/*margin: 0 auto;*/
/*border-radius: 2px;*/
/*box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);*/
/*overflow: hidden;*/
/*}*/

/*.demandmodal-container input[type=submit], .demandmodal-cancel {*/
/*width: 50%;*/
/*display: block;*/
/*margin-bottom: 10px;*/
/*position: relative;*/
/*}*/

/*.demandmodal-container input[type=submit]{*/
/*float: left;*/
/*}*/

/*.demandmodal-container input[type=text], input[type=password] {*/
/*height: 44px;*/
/*font-size: 16px;*/
/*width: 100%;*/
/*margin-bottom: 10px;*/
/*-webkit-appearance: none;*/
/*background: #fff;*/
/*border: 1px solid #d9d9d9;*/
/*border-top: 1px solid #c0c0c0;*/
/*padding: 0 8px;*/
/*box-sizing: border-box;*/
/*-moz-box-sizing: border-box;*/
/*}*/

/*.demandmodal-container input[type=text]:hover, input[type=password]:hover {*/
/*border: 1px solid #b9b9b9;*/
/*border-top: 1px solid #a0a0a0;*/
/*-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);*/
/*-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);*/
/*box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);*/
/*}*/

/*.demandmodal {*/
/*text-align: center;*/
/*font-size: 14px;*/
/*font-family: 'Arial', sans-serif;*/
/*font-weight: 700;*/
/*height: 36px;*/
/*padding: 0 8px;*/
/*}*/

/*.demandmodal-container a {*/
/*text-decoration: none;*/
/*color: #666;*/
/*font-weight: 400;*/
/*text-align: center;*/
/*display: inline-block;*/
/*opacity: 0.6;*/
/*transition: opacity ease 0.5s;*/
/*}*/

/*.demand-help{*/
/*font-size: 12px;*/
/*}*/


/* Authors list */

.authors_table{
  padding: 50px;
  th, td {
    text-align: center;
  }
  thead > tr {
    background-color: white;
  }
}

/* recaptcha */

.grecaptcha-badge {
//  display: none;
//  position: initial;
//  transition: none !important;
}

button.g-recaptcha {
//  display: none;
}

/* category_pp list */
.category_pp {
  vertical-align: text-top!important;
  height: 7.8rem!important;
//  height: 1.6rem!important;
}
.category_pp.expanded {
  height: 7.8rem!important;
}