﻿/* Box type 1*/

/* set the image to use and establish the lower-right position */ 
.cssbox_head,.cssbox_head h2 {
    background: transparent url(../imgs/boxHeader.png) no-repeat bottom right; 
}

.cssbox, .cssbox_body {
    background: transparent url(../imgs/boxBody.png) no-repeat bottom right; 
    color:#004560;
}

.cssbox { 
    width: 335px !important; /* intended total box width - padding-right(next) */
    width: 320px; /* IE Win = width - padding */
    padding-right: 15px; /* the gap on the right edge of the image (not content padding) */
    margin: 20px auto; /* use to position the box */ 
} 

/* set the top-right image */ 
.cssbox_head { 
    background-position: top right; 
    margin-right: -15px; /* pull the right image over on top of border */
    padding-right: 40px; /* right-image-gap + right-inside padding */ 
} 

/* set the top-left image */ 
.cssbox_head h2 { 
    background-position: top left; 
    margin: 0; /* reset main site styles*/ 
    border: 0; /* ditto */ 
    padding: 10px 0 2px 40px; /* padding-left = image gap + interior padding ... no padding-right */ 
    height: auto !important; 
    height: 1%; /* IE Holly Hack */ 
    
} 

/* set the lower-left corner image */ 
.cssbox_body { 
    background-position: bottom left; 
    margin-right: 25px; /* interior-padding right */ 
    padding: 10px 0 15px 15px; /* mirror .cssbox_head right/left */ 
}

#mainhomebox
{
	width: 780px !important; 
    width: 765px;
}

#maindisciplinabox
{
	width: 780px !important; 
    width: 765px;
}



.homemainimg
{
	float:right;
	margin:0 0 0 auto;
}
#loginPannel
{
    width: 235px !important; 
    width: 220px; /* IE Win = width - padding */
}
#home_main
{
    margin:0;
    padding-top:0;
    width: 765px !important; 
    width: 750px; /* IE Win = width - padding */
}

#disciplina_main
{
    margin:0;
    padding-top:0;
    width: 765px !important; 
    width: 750px; /* IE Win = width - padding */
}


#home_main h2
{
	font-size:0.8em;
}

#disciplina_main h2
{
	font-size:0.8em;
}

/* Box type 2*/


/* set the image to use and establish the lower-right position */ 
.cssbox2_head,.cssbox2_head span,.cssbox2, .cssbox2_body {
    background: transparent url(../imgs/box2Body.png) no-repeat bottom right; 
}

.cssbox2 { 
    width: 335px !important; /* intended total box width - padding-right(next) */
    width: 320px; /* IE Win = width - padding */
    padding-right: 15px; /* the gap on the right edge of the image (not content padding) */
    margin: 1em auto; /* use to position the box */ 
} 

/* set the top-right image */ 
.cssbox2_head { 
    background-position: top right; 
    margin-right: -15px; /* pull the right image over on top of border */
    padding-right: 15px; /* right-image-gap + right-inside padding */ 
} 

/* set the top-left image */ 
.cssbox2_head span 
{
	display:block;
    background-position: top left; 
    margin: 0; /* reset main site styles*/ 
    border: 0; /* ditto */ 
    padding: 0; /* padding-left = image gap + interior padding ... no padding-right */ 
	height:20px;
	
} 

/* set the lower-left corner image */ 
.cssbox2_body { 
    background-position: bottom left; 
    margin-right: 0; /* interior-padding right */ 
    padding: 0 0 1em 15px; /* mirror .cssbox_head right/left */ 
}

#home_bott_left, #home_bott_right
{
    margin:0;
    width: 365px !important; 
    width: 350px; /* IE Win = width - padding */
 }
 
 #CorsoLaurea_left, #CorsoLaurea_right
 {
    margin:0 auto;
    width: 48% !important; 
    width: 33%; /* IE Win = width - padding */
 }