/*
Theme Name: Facebookistan
Theme URI: http://facebookistan.org
Author: Tokant
Author URI: http://tokant.com/
Description: The 2015 theme for Facebookistan
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blue, white
Text Domain: facebookistan
*/

html {
	-webkit-font-smoothing: antialiased;
}
body {
    margin: 0;
    padding: 0;
    background-color: rgba(225, 228, 232, 1.0);
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
}

.inner {
    position: relative;
    margin: 0 auto;
    padding: 0 10px;
    max-width: 960px;
}
img.ri {
    display: block;
    width: 100%;
    height: auto;
}
hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.group:after {
    content: '';
    display: table;
    clear: both;
}
.box {
    background-color: white;
    padding: 30px 20px 20px 20px;
    border: 1px solid rgb(204, 204, 204);
}
h1 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 700;
    color: black;
}
h2 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #777777;
}
p {
    margin-top: 0;
}
main a {
    color: rgba(26, 51, 93, 1.0);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 51, 93, 1.0);
}

/*
When setting the primary font stack, apply it to the Pure grid units along
with `html`, `button`, `input`, `select`, and `textarea`. Pure Grids use
specific font stacks to ensure the greatest OS/browser compatibility.
*/
html, button, input, select, textarea, .pure-g [class *= "pure-u"] {
    /* Set your content font stack here: */
    font-family: 'Lato', Arial, sans-serif;
}

section.preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(26, 51, 93, 0.75);
    /*background-color: rgba(255, 255, 255, 0.5);*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto;
    background-image: url(assets/images/preloader.gif);
}

header {
    position: relative;
    height: 60px;
    background-color: rgba(26, 51, 93, 1.0);
}
header a {
    position: relative;
    height: 60px;
    display: block;
}
header a img {
    position: relative;
    max-width: 180px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
header .fb-like {
    position: absolute;
    top: 50%;
    right: 20px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 2;
}

.poster {
    position: relative;
    max-height: 360px;
    margin: 0 auto;
    background-image: url(assets/images/facebookistan.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-color: rgba(26, 51, 93, 0.8);
    -webkit-transition: height 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
    -moz-transition: height 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
    -o-transition: height 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
    transition: height 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
}
.hero .inner {
    padding: 0;
}

nav {}
nav .inner {
    padding: 0;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: right;
    background-color: white;
}
nav ul li {
    display: inline-block;
}
nav ul li a {
    position: relative;
    display: block;
    line-height: 20px;
    padding: 10px;
    text-decoration: none;
    color: black;
    font-weight: 700;
    -webkit-transition: color 200ms ease-out 0ms;
    -moz-transition: color 200ms ease-out 0ms;
    -o-transition: color 200ms ease-out 0ms;
    transition: color 200ms ease-out 0ms;
    font-size: 10px;
}
nav ul li.current-menu-item a::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(26, 51, 93, 1.0);
    height: 5px;
}
nav ul li:not(.current-menu-item) a:hover {
    color: rgba( 0, 0, 0, 0.5);
}

footer {
    position: relative;
    height: 60px;
    background-color: rgba(26, 51, 93, 1.0);
    color: white;
    line-height: 60px;
    font-weight: 400;
}
footer a {
    color: white;
    float: right;
    text-decoration: none;
}

main {
    margin: 40px 0;
    -webkit-transition: min-height 1000ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
    -moz-transition: min-height 1000ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
    -o-transition: min-height 1000ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
    transition: min-height 1000ms cubic-bezier(0.250, 0.460, 0.450, 0.940) 0ms;
}
main section article {
    background-color: white;
    padding: 20px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 2px;
    overflow: hidden;
}
main section article + article {
    margin-top: 20px;
}

/* page-template-wall */
.page-template-wall main section.left {
    display: none;
    color: #777777;
}
.page-template-wall main section.left .main {
    margin-bottom: 20px;
}
.page-template-wall main section.left .main .grid .grid-item {
    margin-bottom: 5px;
}
.page-template-wall main section.left article {
    padding: 30px 20px 20px 20px;
}
.page-template-wall main section.left article.profile {
    padding: 0;
}
.page-template-wall main section.right {}
.page-template-wall main section.right article .header {
    margin-bottom: 20px;
}
.page-template-wall main section.right article .header img {
    max-width: 50px;
}
.page-template-wall main section.right article .header time,
.page-template-wall main section.right article .header h1 {
    padding-left: 5px; 
}
.page-template-wall main section.right article .header time {
    color: #777777;
    font-weight: 300;
}
.page-template-wall main section.right article .main {
    margin-bottom: 20px;
}
.page-template-wall main section.right .pagination {
    background-color: white;
    padding: 20px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 2px;
    margin-top: 20px;
}

/* page-template-about */
.page-template-about main section article .screening {
    margin-bottom: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.page-template-about main section article .screening .date {
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgb(204, 204, 204);
    padding: 10px 5px 5px 5px;
    margin-right: 10px;
}
.page-template-about main section article .screening .date .day {
    font-size: 18px;
    font-weight: 600;
    color: rgba(26, 51, 93, 1.0);
}
.page-template-about main section article .screening .date .year {
    font-size: 12px;
    font-weight: 400;
    color: rgba(26, 51, 93, 1.0);
}
/* page-template-screenings */
.page-template-screenings main section article .screening {
    margin-bottom: 10px;
    margin-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.page-template-screenings main section article .screening .date {
    text-align: center;
    border-radius: 4px;
    border: 1px solid rgb(204, 204, 204);
    padding: 10px 5px 5px 5px;
    margin-right: 20px;
}
.page-template-screenings main section article .screening .date .day {
    font-size: 18px;
    font-weight: 600;
    color: rgba(26, 51, 93, 1.0);
}
.page-template-screenings main section article .screening .date .year {
    font-size: 12px;
    font-weight: 400;
    color: rgba(26, 51, 93, 1.0);
}

/* page-template-media */
.page-template-media main section + section {
    margin-top: 20px;
}

/* page-template-press */
.page-template-press main section.left {
    color: #777777;
}
.page-template-press main section.right {}
.page-template-press main section.right article .header {
    margin-bottom: 20px;
}
.page-template-press main section.right article .header img {
    max-width: 50px;
}
.page-template-press main section.right article .header time,
.page-template-press main section.right article .header h1 {
    padding-left: 5px; 
}
.page-template-press main section.right article .header time {
    color: #777777;
    font-weight: 300;
}
.page-template-press main section.right article .main {
    margin-bottom: 20px;
}
.page-template-press main section.right .pagination {
    background-color: white;
    padding: 20px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 2px;
    margin-top: 20px;
}

/* masonry grid */
main section article .grid-sizer {
    width: 100%;
}
main section article .gutter-sizer {
    width: 2%;
}
main section article .grid-item {
    width: 100%;
    margin-bottom: 20px;
}

.addthis_toolbox a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    margin-bottom: 0 !important;
    padding: 5px !important;
    border-bottom: 0;
    line-height: 16px;
}
.addthis_toolbox a + a {
    margin-left: 5px;
}
.addthis_toolbox a .at4-icon {
    margin-right: 5px;
}
.addthis_button_facebook {
    background-color: rgb(48, 88, 145);
}
.addthis_button_twitter {
    background-color: rgb(44, 168, 210);
}
.addthis_button_email {
    background-color: rgb(115, 138, 141);
}

/*
sm	@media screen and (min-width: 35.5em)	≥ 568px    .pure-u-sm-*
md	@media screen and (min-width: 48em)  	≥ 768px    .pure-u-md-*
lg	@media screen and (min-width: 64em)  	≥ 1024px   .pure-u-lg-*
xl	@media screen and (min-width: 80em)  	≥ 1280px   .pure-u-xl-*
*/
@media screen and (min-width: 35.5em) {
    h1 {
        font-size: 17px;
    }
    h2 {
        font-size: 16px;
    }
    .inner {
        padding: 0 20px;
    }
    header {
        height: 80px;
    }
    header a {
        height: 80px;
    }
    header a img {
        max-width: 200px;
    }
    nav .inner {
        padding: 0 20px;
    }
    nav ul li a {
        font-size: 14px;
        padding: 20px;
    }
    main section article .grid-sizer {
        width: 48%;
    }
    main section article .gutter-sizer {
        width: 2%;
    }
    main section article .grid-item {
        width: 48%;
        margin-bottom: 20px;
    }
    .poster {
        max-height: none;
    }
    .hero {
        margin-top: 40px;
    }
    .hero .inner {
        padding: 0 20px;
    }
}
@media screen and (min-width: 48em) {
    body {
        font-size: 14px;
    }
    .poster {
        background-attachment: fixed;
        background-position: center center;
    }
    .page-template-wall main section.left {
        display: block;
    }
}