﻿
.posts{
    padding:20px;
}

.posts .post{
    max-width:1000px;
    padding:10px;
    margin-bottom:20px;
    
    border-radius: 10px;
}

.posts .post:hover{
    background-color:#eee;
}


.content.post .tags{
    margin-bottom:50px;
}

.posts h2{
    margin:0px;
}




.posts .bottom{
    display:flex;
    justify-content: left;
    border-bottom:solid 1px #ddd;
    padding-bottom:20px;
    margin-top:10px;
}

.posts .bottom .left{
    width:200px;
}
.posts .bottom .left img{
    width:190px;
}

.posts .bottom .right{
    flex-grow: 1;
    margin-left:10px;
}

.pagination{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}

.pagination{
    font-size:300%;
}


.header{
    padding:0px;
    margin:0px;
    margin-top:-20px;

    padding-left:20px;

    background-color: #12240a;
    background-image:url("/images/solar-banner.jpg");
    background-repeat: no-repeat;
    background-position-x: right;

    min-height:300px;

    position: relative;
    display:table;
    width:100%;

}

.content{
    padding:10px;
    padding-top:50px;
    padding-bottom:50px;
}



.header h1{
    display:table-cell;
   vertical-align: bottom;

    color:#5bbff3;
    font-size:48px;
    font-weight: bold;
    z-index:1;
    padding-bottom:20px;
}

@media screen and (min-width:1000px){
    .menu{
        position: fixed;
        left:0px;
        top:0px;
        bottom:0px;
        width:60px;
        z-index:100;

        display:flex;
        flex-direction: column;
        justify-content: flex-start;
    
        background-color:#383b3f;

        overflow:hidden;



    }

    .menu:hover{
        width:300px;
        animation: menu-animation;
        animation-duration: 0.5s;
        animation-timing-function: ease-in-out;
    }

    @keyframes menu-animation{
        from {width:60px;}
        to {width:300px;}
    }


    .menu .text{
        display:none;
    }

    .menu:hover .text{
        display:inline;
    }

    .menu > * {
        display:block;
        width:280px;
        padding:10px;
        margin:0px;
    }

    .menu .brand .menu-icon img{
        width:40px;
    }

    .menu .menu-icon{
        display:inline-flex;
        justify-content: center;
        width:40px;
    }

    .menu a, .menu a:visited{
        color:#0f0;
        font-size:30px;
        text-transform: uppercase;
    }

    .menu > *:hover{
        background-color:#222529;
    }
    
    .body-content{
        position:fixed;
        left:60px;
        top:0px;
        bottom:0px;
        right:0px;
        overflow: auto;
    }
}


@media screen and (max-width:999px){
    .menu{
        position: absolute;
        left:0px;
        top:0px;
        right:0px;
        height:60px;
        z-index:100;

        display:flex;
        flex-direction: column;
        justify-content: flex-start;
    
        background-color:#383b3f;
        overflow: hidden;

    }

    .menu.visible{
        position: fixed;
        height:100%;
        animation: menu-animation;
        animation-duration: 0.5s;
        animation-timing-function: ease-in-out;
        overflow: auto;
    }

    @keyframes menu-animation{
        from {height:60px;}
        to {height:300px;}
    }

    .menu > * {
        display:block;
        width:280px;
        padding:10px;
        margin:0px;
    }

    .menu .brand .menu-icon img{
        width:40px;
        height:30px;
    }

    .menu .menu-icon{
        display:inline-flex;
        justify-content: center;
        width:40px;
    }

    .menu a, .menu a:visited{
        color:#0f0;
        font-size:30px;
        text-transform: uppercase;
    }
    
    .body-content{
        position:absolute;
        left:0px;
        top:60px;
        bottom:0px;
        right:0px;
        overflow: auto;
    }

    
}


@media screen and (max-width:500px){
    .posts .post > *, .posts .post > * > *{
        display:block;
    }

    .posts .post .bottom .right{
        margin-left:0px;
        margin-top:10px;
    }

    .posts .post .bottom .left img{
        width:100%;
        max-width:300px;
    }

    .posts .post .bottom .left{
        width:auto;
    }
}


footer{
    display:flex;
    justify-content: space-between;
    margin-bottom:50px;
}

footer > *{
    margin-right:20px;
    margin-left:20px;
}

footer .social{
    display:flex;
    flex-direction: row;
    justify-content: right;
}

footer .social > *{
    margin-left:10px;
}

.admin-menu{
    display:flex;
    justify-content: space-between;
    background-color: #383b3f;
    padding:10px;
    padding-left:25px;
    padding-right:25px;
}