/*
Author: Jan Kowalski
*/

*,
html{
    margin: 0;
    padding: 0;
    font-family: tahoma, sans-serif;
}

body{
    background-color: #004494;
}

img{
    border: 0;
}

#content{
    background-color: #004494;
    width: auto;
    height: auto;
    color: #fff;
    font-size: 14px;
    text-align: center;
    margin: auto;
    white-space: nowrap;
    font-size: 0;
}

#left,
#right{
    position: relative;
    white-space: normal;
}

#left img,
#right img{
    margin-top: 10px;
}

#right{
    margin-top: 25px;
}

@media only screen   
and ( min-width : 640px ) {
    
    body{
        background-image: url(../images/bg.jpg); /* http://thepatternlibrary.com */
        background-repeat: repeat;
    }    
    
    #content{
        height: 415px;
        padding: 25px 0;
        border-radius: 25px;
        box-shadow: 0px 0px 25px 0px rgba(0,0,0,0.75);
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    #left,
    #right{
        width: 50%;
        height: 260px;
        display: inline-block;
        vertical-align: bottom;
    }
    
    #right{
        margin-top: 0;
    }
    
    #left img,
    #right img{
        position: absolute;
        bottom: 0;
        margin-top: 0;
    }
    
    #left img{
        left: 0;
    }

    #right img{
        right: 0;
    }
    
    #bottom p{
        margin-bottom: 12px;
    }
    
}

@media only screen   
and ( min-width : 700px ) {
    
    #content{
        width: 650px;
        padding: 25px;
    } 
    
}

#content a:link,
#content a:visited,
#content a:hover,
#content a:active{
    color: #fff;
}

#content h1{
    font-size: 18px;
    padding-bottom: 25px;
    white-space: normal;
}

#left p,
#right p{
    padding: 0 20px;
    font-size: 14px;
}

#bottom{
    padding-top: 25px;
    font-size: 12px;
    white-space: normal;
}

