/**
MEDIAQUERIES
CSS Style Opac Flora
2016.09.20
(c) Lucie Alice Delozanne
luciealicedelozanne.com
**/

@media ( max-width : 769px) {
    .navbar-header {
        float: none;
    }
    .navbar-left, .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in {
        display: block !important;
    }
    #facette {
        width: 100% !important;
    }
    .col-xs-12.col-sm-12.col-md-12.resume {
        margin-left: 5px !important;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #333131 !important;
    }
}

@media screen and (max-width:768px) {
    .btn-notice {
        width: 65%;
    }
    .btn-submit {
        width: 50%;
    }
    .carousel-caption {
        right: 55%;
    }
    nav .dropdown-menu {
/*        height: 300px; */
    }
    @-webkit-keyframes slide {
        0% {
            height: 0px;
            -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
        }
        100% {
            height: 300px;
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
    }
    @keyframes slide {
        0% {
            height: 0px;
            -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
        }
        100% {
            height: 300px;
            -webkit-transform: translateY(0);
            transform: translateY(0);
        }
    }
    .carousel .carousel-inner {
        height: auto !important;
    }
    .carousel .carousel-inner .item img {
        height: auto !important;
    }
    .navbar.navbar-default {
        margin-bottom: 40px;
    }
    .dropdown-menu>li>a {
        /* font-size: 1.2rem; */
    }
    .navbar.navbar-default, .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus, .navbar-default .navbar-nav>.open>a,
        .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus, .nav>li>a:hover, .nav>li>a:focus,
        .navbar-default .navbar-nav>li>a:hover {
        background: transparent;
    }
    .navbar-default .navbar-nav {
        margin-top: 100px;
    }
    .navbar-nav>li>a {
        font-size: 15px;
    }
    .navbar-default .navbar-nav { /* ICI */
        margin-top: 100px;
        width: 100%;
        height: 100%;
    }
    .navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a {
        color: #FFF;
    }
    .billet {
        padding: 30px 0;
    }
    .navbar-default .navbar-toggle {
        position: absolute;
        z-index: 10;
    }
    #logoPerso .fa {
        font-size: 2em;
    }
    #logoPerso, #langage {
        width: 60px;
    }
    .row {
        padding: 0;
    }
       
    .action-bar-grey .labelSelect:first-of-type {
        width: 100%;
    }
    
    .notice label.labelSelect {
        width: 100%;
    }
    
    .notice label.labelSelect::after {
        right: 10px;
    }
    .notice .radio-group .radio:first-of-type {
        float: left;
    }
    
    .recherche .inventaire a {
        padding-left: 15px;
    }
    
    .resultats .resume p {
        margin-right: 5%;
    }
    
    .resultats .resume p.open {
        margin-right: 10%;
    }
    
    .resultats .resume .img-resultat {
        margin-top: -95px;
        width: auto;
        height: 50%;
        margin: 0 auto 0 25%;
    }

    .resultats .resume p {
      width: 100%;
      padding: 10px;
      margin-right: 0;
    }
    
    .dl-horizontal {
        padding-left: 5%;
    }
    
    .dl-horizontal dt {
        float: left;
    }
    
    #OPAC_GLOBAL_SIMPLE2 {
        display: block !important;
        width: 75%;
        margin: 0 auto;
        transform: translateX(0) !important;
        margin-top: 65px; /* ICI */
    }
    
    .pagination ul.pager>li>a[aria-label="Previous"], .pagination ul.pager>li>a[aria-label="Next"], .pagination ul.pager>li>a[aria-label="First"],
        .pagination ul.pager>li>a[aria-label="Last"] {
        padding: 0 !important;
    }
    
    .resume {
        padding: 0;
    }
    
    .img-resultat {
        height: 150px;
    }
    
    .img-resultat.open {
        margin-top: -10px !important;
    }
    #Step2 div {
      display: flex !important;
      flex-direction: column;
    }
    .shadow.bloc.recherche input[type="text"] {
      width: 100%;
    }
    .btn-plus { /* ICI */
      right: 25px;
    }
    .rubRightHome { /* ICI */
      padding: 0 10px;
    }
    .wrap.center-block {
      width: 90%;
    }
    .navbar-form .form-group {
      margin-top: 15px;
      width: 90%;
      margin-right: auto;
      margin-left: auto;
      display: flex;
      flex-direction: row;
      
    }
    #submitSearch {
      margin-left: 15px;
    }
    .navbar-form {
      margin-top: 50px;
    }
    #conteneurprincipal {
      margin-top: 0;
    }
   #PORTAL_BIEN_SIMPLE2 {
   	margin-left: 0;
   	margin-right: 0;
   }
   .navbar-default .navbar-nav .open .dropdown-menu>li>a:hover, .navbar-default .navbar-nav .open .dropdown-menu>li>a:focus {
   	color: #fff !important;
   }
}

@media screen and (min-width: 768px) {
     /* .navbar-right {
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
    } */
}

@media screen and (min-width: 900px) {
    .navbar-form {
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%);
    }
    body .carousel-control.left {
        background: url('flechegauche.png');
        background-position: left;
        background-repeat: no-repeat;
    }
    body .carousel-control.right {
        background: url('flechedroite.png');
        background-position: right;
        background-repeat: no-repeat;
    }
	.navbar-form { /* ICI */
      z-index: 1;
    }}

@media screen and (min-width: 768px) and (max-width: 900px) {
    /* .navbar-form {
        position: absolute;
        top: 50%;
        right: 15%;
        transform: translateY(-50%);
    } */
    
    #OPAC_GLOBAL_SIMPLE2 {
        right: 0;
        left: 0;
    }
}

@media screen and (min-width:768px) and (max-width:992px) { /* ICI */
    #OPAC_GLOBAL_SIMPLE2 {
        position: relative;
        left: 50%;
        top: -15px;
        transform: translateX(-15%);
    }
    .navbar.navbar-default.navbar-fixed-top {
      background-color: transparent;
    }
    /* .navbar-collapse.collapse {
      background-color: #2A2A2A;
    } */
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
      background-color: transparent;
    }
    .navbar-default .navbar-toggle {
      float: left;
    }
    #header {
      margin-top: 18px;
    }
}

@media screen and (max-width:992px) {
	 .row.action-bar.action-bar-notice .col-xs-6 {
    	width:auto;
    }
}

@media screen and (max-width:768px){
    #header {
      margin-top: 51px;
    } 
    .itemtext.active {
    	bottom: -380px;
    } 
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    #header {
      margin-top: 51px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1180px) {
    #header {
      margin-top: 12px;
    }
}

/* default screen, non-retina */
.background-header #background-header-img {
    background-image: url(../../icons/css/portal/organisme/organisme__header.jpg);
}

@media only screen and (max-width: 320px) {
    /* Small screen, non-retina */
    .background-header #background-header-img {
        background-image: url("../../icons/css/portal/organisme/organisme__header_290.jpg");
    }
    .background-header #background-header-img .inner {
        padding-top: 18% !important;
    }
}

@media only screen and (min-width: 321px) and (max-width: 538px) {
    /* Medium screen, non-retina */
    .background-header #background-header-img {
        background-image: url("../../icons/css/portal/organisme/organisme__header_538.jpg");
    }
    .background-header #background-header-img .inner {
        padding-top: 10% !important;
    }
}

@media only screen and (min-width: 539px) and (max-width: 1024px) {
    /* Medium screen, non-retina */
    .background-header #background-header-img {
        background-image: url("../../icons/css/portal/organisme/organisme__header_950.jpg");
    }
    .background-header #background-header-img .inner {
        padding-top: 7% !important;
    }
}


@media screen and (max-width: 900px) {
    .navbar-header {
        float: none;
    }
    .navbar-left, .navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in {
        display: block !important;
    }
}

@media screen and (max-width:991px) {
    .wrap {
        width: 100%;
        margin-top: 50px;
    }
    .grey-bloc {
        width: 100%;
        right: 0;
    }
    .search {
        width: 75%;
        top: 0px;
    }
    #menu {
        width: 50px;
        height: 50px;
        z-index: 105;
        position: absolute;
        right: 0;
    }
    #menu.active {
        top: 0;
        z-index: 1005;
    }
    #menu i {
        font-size: 22px;
        line-height: 1.5;
    }
    #menu-open {
        position: fixed;
        z-index: 102;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100%;
        background: #262626;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-open.open {
        right: 0;
        z-index: 1002;
    }
    nav .nav a.nav-item {
        float: none;
        display: block;
        margin: auto;
    }
    .btn-submit {
        width: 35%;
    }
    .btn-notice {
        width: 50%;
    }
    .recherche .inventaire {
        width: 50%;
    }
    .action-bar {
        padding: 20px 10px;
    }
    .resultats .resume p {
        margin-right: 10%;
    }
    .resultats .resume p.open {
        width: 50%;
    }
    .resultats .resume .img-resultat.open {
        margin-top: -255px;
    }
    .notice .notice-img {
        right: 0;
    }
}

@media screen and (min-width:900px) and (max-width:1200px) {
    .declencheur-recherche {
        visibility: visible !important;
        color: white;
        position: absolute !important;
        right: 0;
        padding-top: 6px !important;
        padding-bottom: 5px !important;
        cursor: pointer;
    }
    #OPAC_GLOBAL_SIMPLE2 {
        transform: translateY(-800%);
        transition: transform 0.4s ease-in-out;
    }
    .descente {
        transform: translateY(-20%) !important;
    }
}

@media screen and (max-width:1000px) {
  .thes_container {
    display: flex;
    flex-direction: column;
  }
  div.thes_container div#thesaurus_tree {
    width: 100%;
  }
  div.thes_container div#thesaurus_view {
    margin-left: 0;
  }
}

@media screen and (max-width:1035px) { /* ICI */
  #Step1 tr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #Step1 input[type=text] {
    width: 100%;
  }
}

@media screen and (max-width:1115px) { /* ICI */
  .checkbox table tr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .checkbox table input[type=text] {
    width: 100%;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
    #conteneurprincipal {
        width: 90%;
    }
}

@media screen and (max-width:1035px) { /* ICI */
  #Step1 tr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #Step1 input[type=text] {
    width: 100%;
  }
}

@media screen and (min-width:768px) {
    .navbar-nav>li>.dropdown-menu {
        background: #262626;
    }
    .dropdown-menu>li>a {
        color: white;
    }
    .modal-dialog {
        width: 800px;
    }
}

@media screen and (min-width:768px) and (max-width:1199px) {
  #conteneurprincipal {
    margin-top: 50px;
  }
}

@media screen and (min-width:768px) and (max-width:989px) {
  .navbar-form {
      top: 145px !important;
      left: 0;
  }
}

@media screen and (min-width:1090px) and (max-width:1160px) {

  #search_value_lg {
    width: 175px !important;
  }
}

@media screen and (min-width:989px) and (max-width:1160px) {
   #header img {
      margin-top: 51px;
    }
  #search_value_lg {
    width: 175px !important;
  }
}

@media screen and (max-width:1115px) { /* ICI */
  .checkbox table tr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .checkbox table input[type=text] {
    width: 100%;
  }
}


@media screen and (max-width:1035px) { /* ICI */
  #Step1 tr {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #Step1 input[type=text] {
    width: 100%;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
    #conteneurprincipal {
        width: 90%;
    }
}

@media screen and (max-width:1200px) {
    nav .dropdown-menu {
        padding-left: 10px;
        padding-right: 10px;
    }
    nav .dropdown-menu i, nav .dropdown-menu a {
        padding: 10px 5px;
    }
    .wrap {
        width: 75%;
    }
    .btn-submit {
        width: 40%;
    }
    .btn-notice {
        width: 55%;
    }
    #auth, #auth.connected {
        position: fixed;
        z-index: 99;
        right: -100%;
        top: 0;
        width: 100%;
        height: 70px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #auth input[type=submit] {
        padding: 7px 0;
        width: calc(40% - 25px);
    }
    #auth input[type=text], #auth input[type=password] {
        width: calc(30% - 25px);
        margin: 0;
        display: inline-block;
        line-height: 1;
        padding: 9px 25px;
    }
    #auth .btn-primary {
        padding: 5px 0;
        width: 30%;
    }
    #auth .btn-default {
        padding: 10px 10px 10px 50px;
        width: 100%;
        text-align: left;
    }
    .carousel-caption {
        right: 45%;
    }
    .resultats .resume p {
        margin-right: 10%;
    }
    .resultats .resume p.open {
        width: 50%;
    }
    .resultats .resume .img-resultat.open {
        margin-top: -235px;
    }
    .recherche .inventaire {
        width: 50%;
    }
    .action-bar p {
        font-size: 14px;
    }
    .count {
        margin-right: 0;
    }
    #Step2 div {
      display: flex !important;
      flex-wrap: wrap;
      align-items: center;
    }
    #Step2 div a {
      margin-left: 3px;
    }
}
@media screen and (min-width:990px) {
  #PORTAL_BIEN_SIMPLE2 {
    display: none;
  }
}

@media screen and (min-width: 1480px) {
    #conteneurprincipal {
        width: 80%;
    }
}

@media screen and (max-width:1670px) {
    .wrap {
        width: 75%;
    }
    .search {
        width: 50%;
    }
    article.billet, article.actualite {
        height: 300px !important;
    }
}

@media print {
    .btn-notice{
        display:none;
    }
    #conteneuractionbar{
        display:none;
    }
    footer{
        display:none;
    }
}

