/*! THEME NAME: sapphire
AUTHOR URI: http://wp-expert.pl 
VERSION: 1.0.0
AUTHOR: WP-Expert wbielak
*/

body {
    color: #6c6c6c;
    background: #272727;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.35;
    font-size: 16px;
    margin: 0px;
}

a {
    text-decoration: none;
    color: #3b5998;
}

a:hover {
    transition: all 0.5s ease;
}

img {
    max-width: 100%;
}

div.clear {
    clear: both;
}

div.maxWidth {
    max-width: 960px;
    margin: auto;
    position: relative;
}

div#page {
    background: #222222;
    background-repeat: no-repeat; 
    background-position-x: center; 
    background-position-y: 99px; 
}

#header {
    height: 95px;
    width: 100%;
    background: #0f1a43;
}

a#logo img {
    max-height: 75px;
    margin-bottom: -5px;
}

div#content {
      padding-top: 55px;
      min-height: 80vh;
}

#topSocial {
    position: absolute;
    top: 25px;
    right: 25px;
}

.topJoinButton {
    display: inline-block;
    padding: 3px;
    border: 1px solid #E47905;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 700;
    color: #E47905;
    transition: all 0.5s;
}

.topJoinButton:hover {
    background: #E47905;
    color: white;
    text-decoration: none;
}

/* Menu */

div.mobileMenu {
    display: none;
    background: gray;
    margin-top: 20px;
    height: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
}

nav#mainNav {
    background: #666;
    font-size: 14px;
    text-align: right;
}

#mainNav ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#mainNav li {
	display: inline-block;
}
#mainNav a {
	color: #8b8b8b;
        display: block;
        height: 20px;
        padding: 2px 15px 2px 15px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.75);
        color: #fafafa;
}

ul#menu-menu li:last-of-type a{
    border: none;
}


#mainNav li:hover > a {
        background: #222223;;
}

.current-menu-item a {
    
}

#footer {
    padding: 10px;
    border-top: 1px solid #676767;
    background: #222;
}

#bottomLogos {
    text-align: center;
    margin-top: 20px;
display:flex;
	align-items:center;
}

.logoContainer {
    width: 120px;
    text-align: center;
     display:flex;
	align-items:center;
}

.separator {
    border-right: 1px solid white;
    display: inline-block;
    height: 25px;
}

.logo {
    margin-left: 30px;
    margin-right: 30px;
    height:30px;
}

.centerLogo {
    margin-left: 25%;
    margin-right: 25%;
}

.centerLogo img {
    top: 0px;
}

#bottomSocial {
    text-align: center;
    margin: 25px;
}

.socialIcons {
    display: inline-block;
    vertical-align: middle;
}

.button {
    display: inline-block;
    padding: 3px;
    border: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: 700;
    color: white;
    transition: all 0.5s;
}

#copyrights {
    font-size: 11px;
    text-align: center;
}

/* Home */

.gridTile {
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden;
}

.gridTile img {
    transition: all 0.5s;
}

.gridTile img:hover { 
    transform: scale(1.2); 
    opacity: 0.7;
}

.bigTile img{
    margin-bottom: -5px;
}


.mediumTile {
    height: 320px;
}

.mediumTile .tileTitle {
    font-size: 18px;
}

.smallTile {
    height: 160px;
}

.smallTile .tileTitle {
    font-size: 18px;
}

div.mask {
    background: rgba(0,0,0,0.7);
    position: absolute;
    bottom: 0px;
    width: 90%;
    min-height: 132px;
    padding-left: 5%;
    padding-right: 5%;
}

.tileTitle {
    color: white;
    text-align: center;
    font-size: 25px; 
    font-weight: 700;
    width: 100%;
    margin-top: 6px;
}

.cat a{
    display: inline-block;
    padding: 3px;
    border: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    font-weight: 700;
    color: white;
    transition: all 0.5s;
}

.cat a:hover {
    background: white;
    color: black;
    text-decoration: none;
}

.smallTile .mask {
    height: 160px;
}

.smallTile .mask .tileTitle{
    margin-top: 26px;
}

.seeAllTile {
    width: 320px;
    background: #e52d27;
    transition: all 0.5s;
}

.seeAllTile:hover {
    background: #3ea423;
}

.seeAllTile .tileTitle{
    padding-top: 58px;
}

#steam {
    margin-top: 25px;
    margin-bottom: 25px;
}

#facebookStream {
    width: 48%;
    float: left;
    border: 1px solid #3b5998;
    height: 500px;
}

#twitterStream {
    width: 48%;
    float: right;
    border: 1px solid #54acee;
    min-height: 500px;
}

#social {
    margin-bottom: 25px;
}

#mainMovie {
    width: 62%;
    float: left;
    min-height: 500px;
    border: 1px solid #e52d27;
}

.firstVideoTitle {
    color: white;
}

.padding10 {
    padding: 10px;
}

#youTubeStream {
    width: 34%;
    float: right;
    height: 500px;
    border: 1px solid #e52d27;
}

#youTubeStream a {
    color: white;
}

#youTube {
    margin-bottom: 40px;
}

.streamInner {
    margin: 45px;
    margin-top: 0px;
}

.socialBar { 
    background: #0f1a43;
    color: white;
    font-size: 15px;
    padding: 7px;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.socialBar img {
    float: right;
    margin-top: 4px;
}

.fbEntry, .ytEntry, .twEntry { 
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dotted gray;
    color: white;
    font-size: 14px;
}

.fbImg {
    width: 150px; 
    float: left;
    margin-right: 10px;
}

.twImg {
    width: 50px; 
    float: left;
    margin-right: 10px;
}

.tweetText {
    margin-left: 60px;
}

.socialGray {
    color:gray;
    font-size: 13px;
}

.socialGray a{
    color:gray;
    float: right;
    margin-left: 10px;
}

.ytEntry img {
    height: 50px;
    float: left;
    margin-right: 10px;
}

/* archive*/

.ajaxLoad {
    min-height: 600px;
}

.archivePost {
    border: 1px solid #fff;
    background: #222;
    font-size: 14px;
    margin-bottom: 25px;
    padding-right: 40px;
}

.archivePost img {
    float: left;
    margin-right: 40px;
}

.author {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #676767;
}

.archivePost .authorBio {
}

.archivePost .authorBio h3{
    margin-top: 5px;
}

.archivePost .authorBio h3 a{
    color: white;
}

.archivePost .authorBio p {
    margin: 5px;
}

.archivePost .author {
    padding-top: 0px;
    border-top: none;
}

/* Page */

#sidebar {
    position: absolute;
    top: 0px;
    background-color:  rgba(34, 34, 34, 0.9);
    min-height: 600px;
    width: 150px;
    right: 0px;
}

.screan {
    margin-right: 175px;
    min-height: 1200px;
}

.cover {
    margin-top: 50px;
    border: 1px solid #fff;
    position: relative;
}

.cover img{
    margin-bottom: -5px;
}

.coverMask {
    background-color: rgba(34, 34, 34, 0.9);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 40%;
    height: 100%;
    text-align: center;
    padding: 15px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.coverMask h1{
    margin-top: 32%;
    color: #fff;
    font-size: 24px;
}

.postDate {
    font-size: 14px;
}

.text {
    border: 1px solid #fff;
    padding: 40px;
    margin-top: 25px;
    background: #fff;
    color: #272727;
    position: relative;
}

.author img {
    float: left;
    margin-right: 25px;
}

.authorBio {
    margin-left: 80px;
    font-size: 14px;
    color: #666;
}

.topSocialButtons {
    position: absolute;
    right: 40px;
    top: 40px;
}

.bottomSocialButtons {
    margin-top: 25px;
}

.fb_iframe_widget {
    position: absolute;
    top: -5px;
}

.join {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: right;
    border: 1px solid white;
    margin-bottom: 25px;
}

.join h1 {
    font-size: 26px;
    color: white;
    display: inline;
    margin-right: 25px;
}

.joinRed {
    background: #E47905;
    color: white;
    display: inline-block;
    font-size: 20px;
    padding: 20px;
    margin-right: 50px;
}

/* Sidebar */

#popularPost {
    width: 150px;
    background: #666;
}

#popularPost h2 {
    margin: 0px;
    font-size: 15px;
    text-align: center;
    color: #fff;
    padding-top: 63px;
    padding-bottom: 63px;
}

.popularPost {
    position: relative;
    margin-top: 20px;
}

.popularPost img{
    margin-bottom: -5px;
}

.sidebarMask {
    position: absolute;
    bottom: 0px;
    width: 90%;
    min-height: 35%;
    padding-left: 5%;
    padding-right: 5%;
}

.sidebarMask h2 {
    font-size: 14px;
}

.socialIconsRect {
    margin-top: 25px;
}

.socialIconsRect img{
    margin-bottom: -5px;
}

.related {
    text-align: center;
    margin-bottom: 25px;
}

.related .gridTile {
    float: none;
    text-align: left;
    margin: 12px;
}

/* Page with boxes */ 

.pageBox {
    width: 46%;
    margin: 2%;
    margin-top: 0;
    float: left;
}

.pageBox .attachment-pageIcon {
    margin: 5%; 
    margin-top: 6px;
    float: left;
}

.pageBoxHeader {
    font-weight: 500;
}

/* full width page */

.articlesFullWidth {
    width: 100%;
}
#map-canvas {
    width: 100%;
    height: 300px;
}


/* Contact */

.wpcf7 {
    font-weight: bold;
}

.wpcf7 input, .wpcf7 textarea {
    color: #666;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    background-color: #fcfcfc;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-top: 10px;
}

.leftForm {
    float: left;
    width: 45%;
}

.rightForm {
    float: right;
    width: 45%;
}

.wpcf7 .wpcf7-submit {
    border: 1px solid #ccc;
    border-color: #ccc #ccc #bbb #ccc;
    border-radius: 0px;
    background: #118ecc;
    color: white;
    cursor: pointer;
    -webkit-appearance: button;
    font-size: 14px;
    line-height: 1;
    padding: 10px 20px;
    width: 150px;
}

.uglyCrop {
    max-width: 320px;
    width: 25%;
    overflow: hidden;
    float: left;
    margin-right: 25px;
}

.uglyCrop img {
    width: 320px !important;
    height: 320px !important;
    max-width: 320px !important;
}

#comments {
    text-align: left;
    background-color: white;
    padding: 15px;
    margin: 0px;
}

#san {
    width: 100%;
    height: 100%;
    display: block;
}

.entry-meta {
    margin-top: 25px;
    font-size: 12px;
}

#commentsHeader {
    text-align: left;
}

.singleCat a{
    display: inline-block;
    padding: 3px;
    border: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 10px;
    margin-left: 10px;
    font-weight: 700;
    color: white;
    transition: all 0.5s;
    position: absolute;
    bottom: 10px;
    left: 20px;
}

.singleCat a:hover {
    background: white;
    color: black;
    text-decoration: none;
}



/* Home newsletter*/

#newsletter {
    max-width: 680px;
    padding: 10px;
    color: white;
    text-align: center;
    margin: auto;
    margin-bottom: 25px;
    background-repeat: no-repeat;
    background-image: url('img/envelope.png');
    min-height: 460px;
}

#homeFirstNewsletter h1 {
    font-size: 48px;
}

#homeFirstNewsletter input {
    font-size: 30px;
    padding: 16px;
    padding-left: 25px;
    width: 80%;
    color: white;
    background: none;
    border: 1px solid white;
    margin-top: 2%;
}

#homeFirstNewsletter #signup,  #homeSecendNewsletter #done{
    background-color: #3ea423;
    padding: 30px;
    color: white;
    font-size: 18px;
    border: none;
    display: block;
    margin: auto;
    margin-top: 10%;
    margin-bottom: 6%;
    max-width: 160px;
    font-weight: bold;
}

.secendNewsletter input {
    font-size: 20px;
    padding: 6px;
    padding-left: 20px;
    border: 1px solid white;
    background: none;
    width: 92%;
    margin-top: 10px;
}

.secendNewsletter select {
    font-size: 20px;
    padding: 5px;
    padding-left: 20px;
    border: 1px solid white;
    background: none;
    color: gray;
    width: 92%;
    margin-top: 10px;
    color: white;
}

.secendNewsletter select option {
    color: black;
    background: white;
}

.newsletterLeft {
    float: left;
    width: 48%;
}

.newsletterRight {
    float: right;
    width: 48%;
}

.secendNewsletter {
    display: none;
}

#homeThirdNewsletter {
    max-width: 680px;
    padding: 10px;
    color: white;
    text-align: center;
    margin: auto;
    margin-bottom: 25px;
    display: none;
}

#homeThirdNewsletter h1 {
    font-size: 48px;
    margin-top: 30%;
    margin-bottom: 30%;
}

#day, #month, #year {
    width: 25%;
    color: white;
}

#topSocial .socialIcons {
    margin-left: 20px;
}

.text .author {
    min-height: 65px;
}

#err2 {
    color: red;
}