/*
Theme Name: Samuel Lafontaine
Author: Samuel Lafontaine
Version: 1.0
Text Domain: lafs

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@media (max-width: 320px) {
    .navbar {
        border-radius: 0;
    }

    h1.site-title img {
        width: 200px;
    }

    div#logos-container {
        padding: 20px 0;
    }

    div#filters {
        padding-top: 10px;
    }

    h1.site-title, h2.site-description {
        text-align: center;
    }

    div.entry-thumbnail img {
        width: 100%;
    }

    div#content-single div.entry-content,
    article.page div.entry-content {
        padding: 0 !important;
    }

    header.entry-header-page {
        padding: 20px 0 !important;
    }

    div#navbar {
        margin-top: 10px !important;
    }

    * {
        font-size: 12px;
    }

    div#owl-carousel div.filter a {
        font-size: 0.90em !important;
    }

}

@media (min-width: 320px) {
    .navbar {
        border-radius: 0;
    }

    h1.site-title img {
        width: 200px;
    }

    div#logos-container {
        padding: 20px 0;
    }

    div#filters {
        margin-top: 10px;
    }

    div.entry-thumbnail img {
        width: 100%;
        height: auto;
    }

    div#navbar {
        padding-top: 10px !important;
    }

}

@media (min-width: 480px) {
    .navbar {
        border-radius: 0;
    }

    h1.site-title {
        text-align: left;
    }

    h2.site-description {
        text-align: right;
    }

    h1.site-title img {
        width: 400px;
    }

    div#navbar {
        margin-top: -38px !important;
    }

    div#logos-container {
        padding: 20px 0;
    }

    div#filters {
        padding-top: 30px;
    }

}

@media (min-width: 768px) {
    .navbar {
        border-radius: 0;
    }

    h1.site-title img {
        width: 100%;
    }

    div#logos-container {
        padding: 50px 0;

    }

    div#filters {
        padding-top: 50px;
    }

    #grid .mix {
        min-height: 470px;
    }

}

@media (min-width: 1024px) {
    .navbar {
        border-radius: 0;
    }

    h1.site-title img {
        width: 500px;
    }

    h1.site-title {
        text-align: left;
    }

    div#logos-container {
        padding: 50px 0;
    }

    div#filters {
        padding-top: 50px;
    }

    #grid .mix {
        min-height: 475px;
    }

}

body {
    /*font-family: 'Share Tech', sans-serif;*/
    font-family: 'Karla', sans-serif;
    background-color: #0a0a0a;
    margin: 0;
    padding: 0;
    position: relative;
    color: #fff;

}

div#bg-blur {
    background-repeat: repeat;
    background-size: cover;
    background-color: #0a0a0a;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: blurMe 0.5s linear;
    -webkit-animation-direction: alternate;
    -webkit-animation-iteration-count: infinite;
    width: 100%;
    height: 100%;
    display: none;
}

@-webkit-keyframes blurMe {
    from {
        -webkit-filter: blur(75px);
    }
    to {
        -webkit-filter: blur(50px);
    }
}

#grid .mix {
    opacity: 0;
    display: none;
}

#grid .mix .hidden-content {
    display: none;
}

div#navbar {

}

h1.site-title a {
    display: block;
    margin-left: 33px;
}

div#navbar ul {
    font-size: 12px;
    list-style: none;
    height: 1%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    float: right;
}

div#navbar ul li {
    float: left;
}

div#navbar ul li.last {
    border: none;
}

div#navbar ul li a {
    padding: 2px 5px;
    color: #FFF;
}

div#menu-phone {
    float: right;
}

div#menu-page-container {
    float: right;
}

div#menu-phone-container {
    display: none;
}

div#menu-phone-container div.nav-menu {
    float: none;
}

div#menu-phone a#menu-phone-btn {
    display: block;
    padding: 7px 5px 0 0;
}

div#menu-phone-container ul {
    padding: 30px 0 0 0;
    list-style: none;

}

div#menu-phone-container ul li a {
    color: #FFF;
    text-transform: uppercase;
    display: block;
    padding: 2px 5px;
    margin-bottom: 3px;
    border-right: none;
}

div#menu-page {
    float: right;
    height: 37px;
}

.site-header .search-form {
    float: right;
}

.site-header .search-form input.search-submit,
.site-header .search-form span.screen-reader-text {
    display: none;
}

.site-header .search-field {
    background-color: transparent;
    background-image: url(images/search-icon.png);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    border: none;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    height: 30px;
    margin: 3px 0 0 0;
    padding: 0 0 0 34px;
    position: relative;
    -webkit-transition: width 400ms ease, background 400ms ease;
    transition: width 400ms ease, background 400ms ease;
    width: 0;
}

.site-header .search-field:focus {
    background-color: #eae8e6;
    cursor: text;
    outline: 0;
    width: 150px;
}

h1.site-title {
    margin: 0;
    padding: 0;
}

h2.site-description {
    margin: 0;
    padding: 0;
    margin-top: 13px;
}

h2.site-description img {
    margin-right: 13px;
}

div#logos-container {
    /*padding: 50px 0;*/
    margin: 0 auto;
}

div#owl-carousel {
    font-family: 'Share Tech', sans-serif;
    float: left;
}

div#owl-carousel li.filter {
    margin: 0 5px 0 0;
    text-transform: uppercase;
    color: #FFF;
    cursor: pointer;
    text-shadow: 2px 2px 5px #303233;
    list-style: none;
    float: left;

}

div#owl-carousel a#loop {
    padding-top: 5px;
}

div#navbar ul li a,
div#owl-carousel li.filter a {
    font-family: 'Share Tech', sans-serif;
    line-height: 1em;
    font-size: 24px;
    display: block;
    color: #FFF;
    padding: 6px 10px 4px 10px;
    background: url(images/bg-tuile.png) repeat;
}

div#navbar ul li a:hover,
div#owl-carousel li.filter a:hover {
    text-decoration: none;
    background: url(images/bg-menu.gif) repeat;
}

div#owl-carousel li.filter a:hover {
    text-decoration: none;
}

div#owl-carousel li.filter.active {
    text-decoration: none;
    background: url(images/bg-menu.gif) repeat;
}

ul#filters-container {
    height: 1%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

div.mix article {
    background: url(images/bg-tuile.png) repeat;
    padding: 10px;
    -webkit-box-shadow: 0px 0px 6px 2px rgba(48, 50, 51, 0.25);
    box-shadow: 0px 0px 6px 2px rgba(48, 50, 51, 0.25);
    margin-bottom: 30px;
    min-height: 95%;
}

div.mix article img {
    margin: 0 auto;
}

div.mix h1.entry-title {
    font-family: 'Share Tech', 'sans-serif';
    margin: 15px 0;
    font-size: 1.429em;
    line-height: 1em;
}

div.mix h1.entry-title a {
    color: #FFF;
}

div.mix h1.entry-title a:hover {
    color: #cc3333;
    text-decoration: none;
}

div.mix article ul.filters-container {
    margin: 0 0 10px 0;
    list-style: none;
    padding: 5px 0;
    height: 1%;
    overflow: hidden;
    border-top: 1px solid #909799;
    border-bottom: 1px solid #909799;
}

div.mix article ul.filters-container li {
    float: left;
    margin-right: 10px;
    cursor: pointer;
    text-decoration: underline;
}

div.mix article ul.filters-container li a {
    color: #fff;
}

div.mix article ul.filters-container li a:hover,
div.mix article ul.filters-container li.active a {
    color: #545759;
}

div.mix article ul.filters-container li.filters {
    text-decoration: none;
    cursor: default;
    font-family: 'Share Tech', 'sans-serif';
    font-size: 0.857em;
    line-height: 20px;
    color: #FFF;
    text-transform: uppercase;
}

div.mix article ul.entry-buttons {
    height: 1%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

div.mix article ul.entry-buttons li {
    float: left;
    list-style: none;
}

div.mix article ul.entry-buttons li a.more {
    display: inline-block;
    margin-right: 5px;
    text-decoration: none;
    margin-top: 0;
    padding: 10px;
}

div.mix article a.more {
    margin-top: 10px;
    display: inline-block;
    font-family: 'Share Tech', 'sans-serif';
    padding: 0 10px;
    background: #303233;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMwMzIzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1NDU3NTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left, #303233 0%, #545759 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #303233), color-stop(100%, #545759));
    background: -webkit-linear-gradient(left, #303233 0%, #545759 100%);
    background: -o-linear-gradient(left, #303233 0%, #545759 100%);
    background: -ms-linear-gradient(left, #303233 0%, #545759 100%);
    background: linear-gradient(to right, #303233 0%, #545759 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#303233', endColorstr='#545759', GradientType=1);

}

div.mix article a.more span {
    padding: 12px 0;
    color: #FFF;
    text-shadow: 2px 2px 5px #303233;
    filter: dropshadow(color=#303233, offx=2, offy=2);
    font-size: 1.429em;
    line-height: 1em;
}

div.mix article a.more:hover {
    text-decoration: none;
    background: #FFF;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2QzNGEyYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjYzMzMzMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left, #545759 0%, #303233 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, #545759), color-stop(100%, #545759));
    background: -webkit-linear-gradient(left, #545759 0%, #303233 100%);
    background: -o-linear-gradient(left, #545759 0%, #303233 100%);
    background: -ms-linear-gradient(left, #545759 0%, #303233 100%);
    background: linear-gradient(to right, #545759 0%, #303233 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF', endColorstr='#cc3333', GradientType=1);
}

div.mix article a.more:hover span {
    text-decoration: none;
}

div#content-single header.entry-header {
    padding: 0;
}

div#content-single div.entry-content {
    padding: 0;
}

div#content-single div.entry-content img {
    width: 100%;
    height:100%;
}

div#content-single div.entry-content iframe {
    width: 100%;
    height:630px;
}


div#content-single div.entry-content img.alignright, div#content-single div.entry-content img.alignleft {
    width:50%;
}

div#content-single h1.entry-title,
h1.entry-title-search {
    font-family: 'Share Tech', 'sans-serif';
    color: #FFF;
    font-size: 2.571em;
    line-height: 1em;
    margin: 30px 0;
}

.page-header {
    padding: 0;
    margin: 0 auto;
    border: none;
}

.page-header.noresult {
    text-align: center;
}

/*search*/
h2.entry-title {
    display: inline-block;
    font-family: 'Share Tech', 'sans-serif';
    color: #FFF;
    font-size: 1.714em;
    line-height: 1em;
    background-color: #fff;
    padding: 10px;
    -webkit-box-shadow: 0px 5px 6px 2px rgba(48, 50, 51, 0.25);
    box-shadow: 0px 5px 6px 2px rgba(48, 50, 51, 0.25);
    margin: 0 0 30px 0;
}

h2.entry-title span {
    font-size: 1em;
    color: #303233;
}

/* page */
h1.entry-title-search {
    color: #545759;
    padding-bottom: 30px;
    margin-bottom: 10px;
    border-bottom: 1px solid #909799;
}

header.entry-header-page {
    padding: 110px 20px 0;
}

article.page div.entry-content {
    padding: 0 30px 0 20px;
}

/* footer */
div.site-info {
    color: #FFF;
    background-color: #FFF;
    text-align: center;
    padding: 5px 0;
}

div.site-info p {
    margin-bottom: 0;
}