/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 2 mai 2016, 14:39:56
    Author     : gonzalez.tom
*/

/* classes utiles */

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.nano {
    height: 100%;
}

.nano .nano-content {
    padding: 10px;
}
main {
    flex: 1 0 auto;
}

body {
    color:rgba(0, 0, 0, 0.56);
    font-size: 15px !important;
}

h1, h2, h3, h4, h5, h6, #title {
    color:rgba(35, 35, 35, 0.56);
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.48rem;
}

h4 {
    font-size: 1.35rem;
}

h5 {
    font-size: 1.27rem;
}

h6 {
    font-size: 1.1rem;
}

.collection-item > div > p{
    margin:0;
}
.collection-item ul{
    padding-left:20px;
}
blockquote p{
    margin: 0;
}
.img-responsive {
    max-width:100%;
}
.card .activator{
    cursor:pointer;
}

.divider-l {
    height:3px !important;
}

.logo {
    height: 140px;
    padding:10px;
}

#title {
    font-size: 2rem;
    margin-top: 40px;
    line-height: 110%;
    margin-bottom: 5px;
    padding-top: 10px;
    font-weight: 400;
    text-align: center;
}

#head .account-wrapper {
    min-width: 400px;
    position: absolute;
    right: 0;
}

#head .btn.account {
    border-radius: 20px;
    padding-left: 45px;
    position: relative;
    z-index: 2;
    right: -92px;
    margin-top: 45px;
}
#head .btn.account .user-pic:not(i) {
    height: 40px;
    border-radius: 50%;
    position: absolute;
    left: 0px;
    top: 12px;
    z-index: 2;
    line-height: 40px;
}
#head .btn.account i.user-pic {
    font-size: 45px;
    position: absolute;
    left: -8px;
    top: 0px;
    z-index: 2;
    line-height: inherit;
    height: inherit;
}
#head .btn.account i.user-pic.user-pic-bg {
    z-index: 1;
    left: -15px;
    font-size: 60px;
    line-height: inherit;
    height: inherit;
}

#head .logout {
    transition: 0.2s ease-out;
}
#head .btn.logout {
    padding-left: 95px;
    padding-right: 10px;
    border-radius: 20px;
    position: relative;
    left: -78px;
    z-index: 1;
    margin-top: 45px;
}
#head .btn.logout i.logout {
    float: right;
    font-size: inherit;
    line-height: inherit;
}
#head .btn.logout:hover i.logout {
    display: inline;
}
#head .btn.logout span.logout {
    visibility: hidden;
    font-size: 12px;
    padding-right: 5px;
    text-transform: capitalize;
}
#head .btn.logout:hover {
    left: 0px;
}
#head .btn.logout:hover span.logout {
    visibility: visible;
}
.bloc-connexion {
    transition: 0.4s;
    position: fixed;
    right: 3%;
    width:300px;
    margin-right: 25px;
    z-index: 999;
    cursor: pointer;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,0.70) 5%,rgba(255,255,255,0.80) 10%,rgba(255,255,255,0.80) 90%,rgba(255,255,255,0.70) 95%,rgba(255,255,255,0) 100%);
    background: -webkit-gradient(linear,left top,right top,color-stop(0%,rgba(255,255,255,0)),color-stop(5%,rgba(255,255,255,0.70)),color-stop(10%,rgba(255,255,255,0.80)),color-stop(90%,rgba(255,255,255,0.80)),color-stop(95%,rgba(255,255,255,0.70)),color-stop(100%,rgba(255,255,255,0)));
    background: -webkit-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,0.70) 5%,rgba(255,255,255,0.80) 0%,rgba(255,255,255,0.80) 90%,rgba(255,255,255,0.70) 95%,rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,0.70) 5%,rgba(255,255,255,0.80) 10%,rgba(255,255,255,0.80) 90%,rgba(255,255,255,0.70) 95%,rgba(255,255,255,0) 100%);
    background: -ms-linear-gradient(left,rgba(255,255,255,0) 0%,rgba(255,255,255,0.70) 5%,rgba(255,255,255,0.80) 10%,rgba(255,255,255,0.80) 90%,rgba(255,255,255,0.70) 95%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,0.70) 5%,rgba(255,255,255,0.80) 10%,rgba(255,255,255,0.80) 90%,rgba(255,255,255,0.70) 95%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00005188',endColorstr='#00005188',GradientType=1);
}

.bloc-connexion:after {
    display: block;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(left,rgba(0,0,0,0) 0%,rgba(0,0,0,0.39) 20%,rgba(0,0,0,1) 51%,rgba(0,0,0,0.41) 80%,rgba(0,0,0,0) 100%);
    background: -webkit-gradient(linear,left top,right top,color-stop(0%,rgba(0,0,0,0)),color-stop(20%,rgba(0,0,0,0.39)),color-stop(51%,rgba(0,0,0,1)),color-stop(80%,rgba(0,0,0,0.41)),color-stop(100%,rgba(0,0,0,0)));
    background: -webkit-linear-gradient(left,rgba(0,0,0,0) 0%,rgba(0,0,0,0.39) 20%,rgba(0,0,0,1) 51%,rgba(0,0,0,0.41) 80%,rgba(0,0,0,0) 100%);
    background: -o-linear-gradient(left,rgba(0,0,0,0) 0%,rgba(0,0,0,0.39) 20%,rgba(0,0,0,1) 51%,rgba(0,0,0,0.41) 80%,rgba(0,0,0,0) 100%);
    background: -ms-linear-gradient(left,rgba(0,0,0,0) 0%,rgba(0,0,0,0.39) 20%,rgba(0,0,0,1) 51%,rgba(0,0,0,0.41) 80%,rgba(0,0,0,0) 100%);
    background: linear-gradient(to right,rgba(107,107,107,0) 0%,rgba(0,0,0,0.70) 5%,rgba(107,107,107,1) 10%,rgba(107,107,107,1) 90%,rgba(107,107,107,0.70) 95%,rgba(107,107,107,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00005188',endColorstr='#00005188',GradientType=1);
    height: 1px;
    content: "";
}

.bloc-connexion a {
    color:#212121 !important;
}

.bloc-connexion:hover {
/*    font-weight: bold;       because of multiple links in CD13 we can't just bold everything on hover*/
    padding-top:10px;
    transition: 0.4s;
}

.bloc-connexion.center.right.hide-on-med-and-down i{
    position: relative;
    top:3px;
}

.bloc-connexion a:hover{
    font-weight: bold;
}

nav {
    height: 84px;
}

nav #nav > li {
    display: inline-block;
    float:none;
}

nav .button-collapse {
    height: 64px;
}

nav .button-collapse i {
    height: 64px;
    line-height: 64px;
}

.dropdown-content .dropdown-content > li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

nav ul a:hover {
    background-color: rgba(0, 0, 0, 0);
}

nav #nav > li > a{
    padding: 10px;
    display: inline-block;
    float:none;
    font-size: 1.06667rem;
}

#contextual-primary.dropdown-content {
    min-width: 140px;
}

#block-system-main ul:not(.browser-default):not(.dropdown-content):not(.select-dropdown) li {
    list-style: circle;
}

/* SEARCH BLOCK MENU */
.side-nav .side-nav-search input {
    color: #424242;
}
nav .nav-search{
    overflow: hidden;
    padding-top: 5px !important;
}
nav .nav-search i.material-icons {
	position: absolute;
	font-size: 2rem;
	transition: color 0.2s ease 0s;
}
nav .nav-search #search-block-form .container-inline{
	position: relative;
	margin-right: 40px;
	margin-top: 10px;
	margin-bottom: 10px;
}
nav .nav-search .form-item-search-block-form input{
	font-size: 1.1rem;
    padding-bottom:8px;
    width: 90%;
}
#side-nav .side-nav-search .form-item-search-block-form input{
	font-size: 1rem;
	width: 90%;
	border-bottom: medium none;
    height: 48px;
    margin-bottom: 0px;
}
#side-nav .side-nav-search i.material-icons {
	position: absolute;
	font-size: 2rem;
	transition: color 0.2s ease 0s;
	color: #424242;
}
#side-nav .side-nav-search .container-inline{
	position: relative;
	/*margin-right: 40px;*/
}
nav .nav-search .input-field input[type=text]{
    border-bottom: 1px solid #9e9e9e;
    box-shadow: none;
}
/* SEARCH BLOCK MENU */

.side-nav li:hover, .side-nav li.active, nav .collapsible .collapsible-body ul li {
    background-color: #fbfbfb;
}

.side-nav .collapsible .collapsible-body ul li ul li{
    background-color: #f4f4f4;
}

.side-nav .collapsible .collapsible-body ul li ul .divider{
    background-color: #D0D0D0;
}

.side-nav li > a {
    padding: 0 16px;
}

.side-nav .divider {
    margin: 0;
}

.side-nav i.search {
    line-height: 53px;
}

nav i.menu {
    font-size: 34px;
}

nav i.menu:hover {
    color: rgba(238,238,238,0.9);
}

nav .collapsible .collapsible-body ul li:hover {
    background-color: rgba(238,238,238,0.9);
}

nav .dropdown-content {
    width: 270px !important;
    max-height: none;
}

nav .dropdown-button i {
    margin-left: 5px;
}

.dropdown-content > li > a, .dropdown-content li>span {
    color:#424242;
    font-size: 15px;
}

nav .dropdown-content {
    overflow-y: visible;
}

.dropdown-content .dropdown-content {
    background-color: rgba(238,238,238,0.9);
}

.caption-text h3 {
    text-shadow: 1px 1px #424242;
    display:none;
}

.side-nav .collapsible-body {
    padding: 0;
}

.content {
    max-width: 1700px;
}

.cke-material-element-wrapper .collection, .cke-material-element-wrapper .card {
    margin-top: 0;
}

.cke-material-element-wrapper .card .card-content {
    padding: 14px;
}

#masquerade-block-1 .btn {
    padding: 0;
}

#masquerade-block-1 #edit-submit {
    padding: 0 2rem;
}

.view-actualite .card {
    height: 220px;
}

.view-actualite .card h3 {
    font-weight: 300;
    font-size: 1.3rem;
    margin:0.66667rem 0 0;
}

.pagination li.active {
    color:white;
    padding: 0 10px;
    line-height: 30px;
}

.adresses-utiles td, th {
    vertical-align: baseline;
}

.footer-nav li{
    display: inline-block;
    border-right: 1px solid white;
    padding:0 7px 0 5px;
}

.footer-nav li:last-child{
    border:none;
}

.footer-nav a{
    color: white;
}

.footer-nav a:hover{
    text-decoration: underline;
}

footer.page-footer .footer-copyright{
    height:initial;
    min-height: 58px !important;
    line-height: 28px !important;
}

.region-footer {
    width: 90%;
    margin: auto;
}

.poll .vote-form .choices {
    margin: 0 auto 20px;
}

#tabs_wrapper ul{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    height: 48px;
    background-color: #fff;
    margin: 0 auto;
    width: 100%;
    white-space: nowrap;
}

#tabs_wrapper ul li{
    height: 20px;
    margin-right: 10px;
}

.btn .wys-icon-text {
    margin-left: 15px;
}

main .btn {
    margin:2px;
}

input[type="button"], .waves-effect input[type="reset"], .waves-effect input[type="submit"] {
    padding: 10px 2rem;
}

main .section .content table thead tr:nth-child(odd){
    background-color: #f2f2f2;
}
main .section .content table tbody tr:nth-child(even){
    background-color: #fafafa;
}
main .section .content table tbody th{
    border-right: 1px solid #d0d0d0;
    background-color: #f2f2f2;
}

.content .material-icons, .footer-copyright .material-icons {
    vertical-align: middle;
}

.content .btn .material-icons {
    vertical-align: sub;
}

.wrapper-table {
    overflow:auto;
}

.wrapper-table tr td {
    border-radius: 0;
}

.wrapper-table tr td:first-child {
    border-radius: 2px 0 0 2px;
}

.wrapper-table tr td:last-child {
    border-radius: 0 2px 2px 0;
}

footer .social {
    margin-top: 10px;
}

footer .social h5 {
    width: auto;
    display: inline-block;
}

footer .social i {
    font-size: 1.5rem;
    margin-right: 10px;
}

footer.page-footer .footer-copyright {
    height: initial;
    min-height: 58px !important;
    line-height: 28px !important;
}

.footer-copyright p {
    margin: 0;
}

footer .social i {
    font-size: 2rem;
}

#user-login .login-button .form-wrapper {
    display: inline-block;
}

@media (max-width:992px){
    .logo {
        height: 70px;
    }

    #title {
        font-size: 1.7rem;
        text-align: left;
        margin-top: 0;
    }

    .search {
        margin-top: 0;
    }

    nav {
        height: 64px;
    }

    .view-actualite .card h3 {
        font-size: 1.5rem;
    }


    #head .btn.account {
        right: 0px;
        margin-right: 10px;
        padding: 16px;
        margin-top: 5px;
        border-radius: 50%;
    }
    #head .btn.account span {
        display: none;
    }
    #head .btn.account i.logout {
        float: none;
    }
    #head .btn.logout {
        padding-left: 10px;
        left: 0px;
        margin-right: 9px;
        margin-top: 5px;
        border-radius: 50%;
    }
    #head .btn.logout span.logout {
        display: none;
    }
}

@media (max-width:600px){
    .overflow-wrap {
        width: 100%;
        overflow-x:scroll;
    }

    .overflow {
        width: 700px;
    }
}

/*  IE9 display none for material-icons */

i.material-icons:not(.material-icons-i9) {
    display: none \9;
}
