.ayaline-gallery {

}

.ayaline-gallery ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.ayaline-gallery .gallery-form form input,.ayaline-gallery .gallery-form form select,.ayaline-gallery .gallery-form form label
{
    display: block;
    float: left;
}

.ayaline-gallery .gallery-form form label {
    padding: 5px;
}

.ayaline-gallery .gallery-form form input.button {
    margin-left: 15px;
}

.ayaline-gallery .clear {
    clear: both;
}

.ayaline-gallery hr {
    clear: both;
    visibility: hidden;
    height: 0px;
}

.ayaline-gallery .gallery-content {
    margin-top: 20px;
    background: rgba(195,191,179,0.3);
}

.ayaline-gallery .gallery-content .gallery-tab-content {
    min-height: 50px;
    margin: 0px;
    padding : 10px;
}

.ayaline-gallery ul.gallery-tab {
    list-style: none;
    display: block;
    float: none;
    margin-top: 17px;
}

.ayaline-gallery ul.gallery-tab li {
    background: none repeat scroll 0 0 #FDFDFD;
    box-shadow: 0 0 7px 1px #D6D6D6 inset;
    float: left;
    margin-bottom: 20px;
    margin-left: 5%;
    padding: 7px;
    text-align: center;
    width: 45%;
}

.ayaline-gallery ul.gallery-tab a {
    color: #000000;
    padding: 5px 15px 5px 15px;
    margin-right: 1px;
    margin-bottom: 0px;
}

.ayaline-gallery ul.gallery-tab a:hover {
    color: black;
}

.ayaline-gallery ul.gallery-tab li.selected a {
    color: black;
}

.ayaline-gallery ul.gallery-videos {
    border: 1px solid #EAEAEA;
    margin-bottom: 10px;
    padding: 10px;
}

.ayaline-gallery ul.gallery-videos li {
    text-align: justify;
    border: 1px solid #cecece;
}

.ayaline-gallery .gallery-gallery-photos {
    padding:10px 0 20px 0;
}

.ayaline-gallery .gallery-gallery-photos .gallery-picture {
    float: left;
    display: block;
    padding: 0 15px 15px 15px;
}

.ayaline-gallery-embed {
    padding: 10px 0 10px 0;
}


/** Galleria style **/
/* full view */
#galleria {
    height:400px;
    width:100%;
}

/* embed view */
.ayaline-gallery-embed #galleria {
    height:300px;
    width:100%;
}

/* Bloc video dans la page de détail d'une video */
.container-diapo .video{
    text-align:center;
}
/* Bloc video dans en popin */
.popin-top{
    text-align:center;
}
.popin-top a{
    color:white;
}

.none, hr {display:none;}

.col-md-3 .gallery-picture{
    background-color: #FFFFFF;
    border:1px solid #D5D5D5;
    margin-bottom: 5px;
    padding: 6px;
}

.gallery-content .row-fluid .span6{
    margin-left: 0 !important;
    margin-right: 37px;
    text-align: center;
    width: 43.718%;
}
.gallery-title h4 a{
    color : #000000;
    font-weight: bold;
    text-align: center;
}
.gallery-title h4 {
    color: #000 !important;
    font-family: Quattrocento;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 768px){
    .gallery-content .row-fluid .span6{
        width:100%;
    }
}

.ayaline-gallery ul.gallery-videos li {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #EAEAEA;
    margin-bottom: 10px
}

ul.gallery-videos li a img {
    float: left;
    margin-right: 10px;
    padding: 4px;
}

ul.gallery-videos li h4 a{
    color : #000000;
    font-size: 14px;
    font-weight: bold;
}
.gallery-content .col-md-4{
    border: 1px solid #cecece;
    padding: 5px;
    text-align: center;
    overflow: hidden;
}