﻿.main_body_tl, .main_body_t, .main_body_tr, .main_body_l, .main_body_r, .main_body_bl, .main_body_b, .main_body_br, .main_body 
{
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
    text-align: center;
}

.main_body_t
{
    /*
        change this div to layout the whole box (width, height, float, margin, ...)
        example lines:
        width: 60%;
        margin: 7px 35px 0px 1px
        to change distance to content/text scroll to class ".main_body" and change the padding
    */
    background-color: #ffffff;
    background-image: url('../images/borders/main_body_border.png');
    background-repeat: repeat-x;
    background-position: top;
}

.main_body_tl 
{
    height: 100%;
    background-image: url('../images/borders/main_body_topleft.png');
    background-repeat: no-repeat;
    background-position: left top;
}

.main_body_tr 
{
    height: 100%;
    background-image: url('../images/borders/main_body_topright.png');
    background-repeat: no-repeat;
    background-position: right top;
}

.main_body_bl 
{
    height: 100%;
    background-image: url('../images/borders/main_body_bottomleft.png');
    background-repeat: no-repeat;
    background-position: left bottom;
}

.main_body_br 
{
    height: 100%;
    background-image: url('../images/borders/main_body_bottomright.png');
    background-repeat: no-repeat;
    background-position: right bottom;
}

.main_body 
{
   height: 100%;
   min-height:315px;
   /* change this if you want to change the distance distance to text/content */
   padding: 16px 17px 16px 17px;
}

.main_body_l 
{
    height: 100%;
    background-image: url('../images/borders/main_body_border.png');
    background-repeat: repeat-y;
    background-position: left;
}

.main_body_r 
{
    height: 100%;
    background-image: url('../images/borders/main_body_border.png');
    background-repeat: repeat-y;
    background-position: right;
}

.main_body_b 
{
    height: 100%;
    background-image: url('../images/borders/main_body_border.png');
    background-repeat: repeat-x;
    background-position: bottom;
}