/********************************************
AUTHOR: Erwin Aligam
WEBS TEMPLATE NAME: Bright Side of Life
ITE: http://www.styleshout.com/
TEMPLATE CODE: S-0005
VERSION: 1.0
*******************************************/
/********************************************
HTML ELEMENTS
********************************************/
/* top elements */
* { padding: 0; margin: 0; }
body {
margin: 0;
padding: 0;
font: .70em/1.5em Verdana, Tahoma, Helvetica, sans-serif;
color: #666666;
background: #A9BAC3 url(bg.gif) repeat-x;
text-align: center;
}
/* links */
a {
color: #4284B0;
background-color: inherit;
text-decoration: none;
}
a:hover {
color: #CC3300;
background-color: inherit;
}
/* headers */
h1, h2, h3 {
font: bold 1em 'Trebuchet MS', Arial, Sans-serif;
color: #333;
}
h1 { font-size: 1.3em; color: #2a4395; }
h2 { font-size: 1.3em; color: #6297BC; text-transform:uppercase;}
h3 { font-size: 1.2em; }
h4 { font-size: 0.8em; color: #6297BC; text-transform:uppercase;margin:2px;}
p, h1, h2, h3 {
margin: 10px 15px;
}
ul, ol {
margin: 10px 30px;
padding: 0 15px;
color: #4284B0;
}
ul span, ol span {
color: #666666;
}
/* images */
img {
border: 2px solid #CCC;
}
img.no-border {
border: none;
}
img.float-right {
margin: 5px 0px 5px 15px;
}
img.float-left {
margin: 5px 15px 5px 0px;
}
/* a img {
border: 2px solid #568EB6;
}
a:hover img {
border: 2px solid #CCC !important;
border: 2px solid #568EB6;
}
*/
code {
margin: 5px 0;
padding: 10px;
text-align: left;
display: block;
overflow: auto;
font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
/* white-space: pre; */
background: #FAFAFA;
border: 1px solid #f2f2f2;
border-left: 4px solid #4284B0;
}
acronym {
cursor: help;
border-bottom: 1px solid #777;
}
blockquote {
margin: 15px;
padding: 0 0 0 20px;
background: #FAFAFA;
border: 1px solid #f2f2f2;
border-left: 4px solid #4284B0;
color: #4284B0;
font: bold 1.2em/1.5em Georgia, 'Bookman Old Style', Serif;
}
/* form elements */
form {
margin:10px; padding: 0;
border: 1px solid #f2f2f2;
background-color: #FAFAFA;
}
label {
display:block;
font-weight:bold;
margin:5px 0;
}
input {
padding: 2px;
border:1px solid #2a4395;
font: normal 1em Verdana, sans-serif;
color:#777;
}
textarea {
padding:2px;
font: normal 1em Verdana, sans-serif;
border:1px solid #2a4395;
height:100px;
display:block;
color:#777;
}
input.button {
margin: 0;
font: bold 1em Arial, Sans-serif;
border: 1px solid #CCC;
background: #FFF;
padding: 2px 3px;
color: #4284B0;
}
/* search form */
form.searchform {
background: transparent;
border: none;
margin: 5px 0px 0px 0px; padding: 0;
}
form.searchform input.textbox {
margin: 0;
width: 120px;
border: 1px solid #2a4395;
background: #FFF;
color: #333;
height: 14px;
vertical-align: top;
}
form.searchform input.button {
margin: 0;
padding: 2px 3px;
font: bold 12px Arial, Sans-serif;
background: #FAFAFA;
border: 1px solid #f2f2f2;
color: #777;
width: 60px;
vertical-align: top;
}
/***********************
LAYOUT
************************/
#wrap {
background: #FFF;
width: 820px; height: 100%;
margin: 0 auto;
text-align: left;
}
#content-wrap {
clear: both;
margin: 0; padding: 0;
background: #396a92;
}
/* header */
#header {
position: relative;
height: 85px;
background: #fff url(headerbg.gif) repeat-x 0% 100%;
}
#header h1#logo {
position: absolute;
margin: 0; padding: 0;
font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
letter-spacing: -2px;
text-transform: lowercase;
top: 10; left: 5px;
}
#header img {
position: absolute;
margin: 0; padding: 0;
top: 9px; left: 5px;
}
#header h2#slogan {
position: absolute;
top:37px; left: 95px;
color: #666666;
text-indent: 0px;
font: bold 11px Tahoma, 'trebuchet MS', Sans-serif;
text-transform: none;
}
#header form.searchform {
position: absolute;
top: 0; right: -12px;
}
/* main */
#main {
float: left;
margin-left: 15px;
padding: 0;
width: 52%;
}
#mainFull {
float: left;
margin-left: 15px;
padding: 0;
width: 75%;
}
.post-footer {
background-color: #FAFAFA;
padding: 5px; margin: 20px 15px 0 15px;
border: 1px solid #f2f2f2;
font-size: 95%;
}
.post-footer .date {
background: url(clock.gif) no-repeat left center;
padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
background: url(comment.gif) no-repeat left center;
padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
background: url(page.gif) no-repeat left center;
padding-left: 20px; margin: 0 10px 0 5px;
}
/* sidebar */
#sidebar {
float: left;
width: 23%;
margin: 0; padding: 0;
display: inline;
}
#sidebar ul.sidemenu {
list-style:none;
margin:10px 15px 10px 15px;
padding:0;
}
#sidebar ul.sidemenu li {
margin-bottom:1px;
border: 1px solid #f2f2f2;
}
#sidebar ul.sidemenu a {
display:block;
font-weight:bold;
color: #333;
text-decoration:none;
padding:2px 5px 2px 10px;
background: #f2f2f2;
border-left:4px solid #CCC;
min-height:18px;
}
* html body #sidebar ul.sidemenu a { height: 18px; }
#sidebar ul.sidemenu a:hover {
padding:2px 5px 2px 10px;
background: #f2f2f2;
color: #2a4395;
border-left:4px solid #2a4395;
}
#sidebar #current2 {
padding:0;
background: #f2f2f2;
color: #2a4395;
border-left:4px solid #2a4395;
}
#sidebar #current2 a {
border-left:0px solid #2a4395;
color: #2a4395;
}
/* rightbar */
#rightbar {
float: right;
width: 23%;
padding: 0; margin:0;
}
/* Footer */
#footer {
clear: both;
color: #FFF;
background: #A9BAC3;
border-top: 5px solid #568EB6;
margin: 0; padding: 0;
height: 50px;
font-size: 95%;
}
#footer a {
text-decoration: none;
font-weight: bold;
color: #FFF;
}
#footer .footer-left{
float: left;
width: 65%;
}
#footer .footer-right{
float: right;
width: 30%;
}
/* menu tabs */
#header ul {
z-index: 5;
position: absolute;
margin:0; padding: 0;
list-style:none;
right: 0;
bottom: 6px !important; bottom: 5px;
font: bold 13px Arial, 'Trebuchet MS', Tahoma, verdana, sans-serif;
}
#header li {
display:inline;
margin:0; padding:0;
}
#header a {
float:left;
background: url(tableft.gif) no-repeat left top;
margin:0;
padding:0 0 0 4px;
text-decoration:none;
}
#header a span {
float:left;
display:block;
background: url(tabright.gif) no-repeat right top;
padding:6px 15px 3px 8px;
color: #FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
color:#FFF;
}
#header a:hover {
background-position:0% -42px;
}
#header a:hover span {
background-position:100% -42px;
}
#header #current a {
background-position:0% -42px;
color: #FFF;
}
#header #current a span {
background-position:100% -42px;
color: #FFF;
}
/* end menu tabs */
/* alignment classes */
.float-left { float: left; }
.float-right { float: right; }
.align-left { text-align: left; }
.align-right { text-align: right; }
/* additional classes */
.clear { clear: both; }
.green { color: #9EC630; }
.gray { color: #BFBFBF; }
.news {
border:1px solid #BFBFBF;
margin:5px 10px 10px 15px;
}
.news:hover {
border:1px solid #2a4395;
}
.eventi {
border:1px solid #BFBFBF;
margin:5px 0px 10px 15px;
padding:10px;
float:left;
width:24%;
background-image:url(calendar.png);
position:relative;
}
.eventiFull {
border:1px solid #BFBFBF;
margin:5px 0px 10px 15px;
padding:10px;
}
.allegato {
position:absolute;
bottom:0px;
right:5px;
}
.eventi:hover {
border:1px solid #2a4395;
}
.news img {
margin:5px;
border:0px;
max-width:360px;
max-height:200px;
}
/* SLIDER */
.slider {
width:820px;
height:250px;
padding:0px;
z-index:10;
margin-left:0px;
background: #396a92;
}
.items {
display:none;
}
.play.paused {
color:#f00;
}
.banner_bk {
background:url(images/bg1.png) 0 0 repeat;
}
.title5 {font-size:35px;line-height:1.2307em; color:#fff; padding:100px 0px 0px 50px;}
.title5 span {font-size:20px;display:inline-block; margin-top:-10px;}
.title5 em {display:inline-block; margin-top:-37px;}
.title2 {font-size:35px;font-weight:bold;line-height:1.2307em; color:#fff; padding:25px 0px 0px 325px;}
.title2 span {font-size:15px;font-weight:bold;display:inline-block; margin-top:-15px;}
.title2 em {font-size:15px;display:inline-block; margin-top:-22px;}
.title2 a {color:white; }
.title3 {font-size:35px;font-weight:bold; line-height:1.2307em; color:#fff; padding:152px 0px 0px 80px;}
.title3 span {font-size:20px;font-weight:bold;display:inline-block; margin-top:-10px;}
.title3 em {display:inline-block; margin-top:-37px;}
.title4 {font-size:35px;font-weight:bold; line-height:1.2307em; color:#fff; padding:5px 30px 0px 0px; text-align:right;}
.title4 span {font-size:20px;font-weight:bold;display:inline-block; margin-top:-11px;}
.title4 em {display:inline-block; margin-top:-23px;}
.title4 b {display:inline-block; margin-top:-36px;}
.banner {
width:655px;
min-height:250px;
position:absolute;
left:0px;
top:0px;
z-index:99;
padding:0;
}
div.pagination {
background-color:#fff;
color:#444444;
padding:8px 0 8px 0;
width: 450px;
font-size: 15px;
text-align:center;
margin:10px;
}
div.pagination a {
color:#444444;
padding:2px 4px;
margin:0 2px;
text-decoration:none;
border:1px solid #c8c8c8;
background-color:#e3e3e3;
}
div.pagination a:hover, div.pagination a:active {
border:1px solid #c8c8c8;
color:#444444;
background-color:#f9f9f9;
}
div.pagination span.current {
padding:2px 5px;
border:1px solid #c8c8c8;
color:#444444;
font-weight:bold;
background-color:#f9f9f9;
}
div.pagination span.disabled {
display:none;
}
div.gray {
padding:2px 5px 2px 5px;
background: #f2f2f2;
border:1px solid #CCC;
margin:5px 10px 5px 15px;
color:black;
}
.social {
margin-left:20px;
width:160px;
height:50px;
}
.fb {
float:left;
width:50%;
}
.twitter {
margin-top:5px;
float:left;
width:50%
}
.club {
border:1px solid #BFBFBF;
}
#social-icons {
position:absolute;
top:12px;
left:470px;
width:150px;
background:white;
}
#social-icons a img {
position:static;
border:0px;
display: block;
margin-left:2px;
display:block;
}
#social-icons a {
float:left;
background: white;
margin:0;
text-decoration:none;
}
/* LIST #2 */
.list2 { width:150px;border-left: 2px solid #999;width:100%; margin-left:15px;}
.list2:hover {
border-left:2px solid #2a4395;
}
.list2 p { font-style:normal; font-family:Arial; font-size:12px; color:#666666; }
.list2 p em { display:block; }
#lbOverlay { position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; }
#lbOverlay.grey { background-color: #000000; }
#lbOverlay.red { background-color: #330000; }
#lbOverlay.green { background-color: #003300; }
#lbOverlay.blue { background-color: #011D50; }
#lbOverlay.gold { background-color: #666600; }
#lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; }
#lbMain a img { border: none; }
#lbOuterContainer { position: relative; background-color: #fff; width: 200px; height: 200px; margin: 0 auto; }
#lbOuterContainer.grey { border: 3px solid #888888; }
#lbOuterContainer.red { border: 3px solid #DD0000; }
#lbOuterContainer.green { border: 3px solid #00B000; }
#lbOuterContainer.blue { border: 3px solid #5F89D8; }
#lbOuterContainer.gold { border: 3px solid #B0B000; }
#lbDetailsContainer { font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; width: 100%; line-height: 1.4em; overflow: auto; margin: 0 auto; }
#lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; }
#lbDetailsContainer.red { border: 3px solid #DD0000; border-top: none; }
#lbDetailsContainer.green { border: 3px solid #00B000; border-top: none; }
#lbDetailsContainer.blue { border: 3px solid #5F89D8; border-top: none; }
#lbDetailsContainer.gold { border: 3px solid #B0B000; border-top: none; }
#lbImageContainer, #lbIframeContainer { padding: 10px; }
#lbLoading {
position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url(lytebox/loading.gif) center no-repeat;
}
#lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#lbImageContainer>#lbHoverNav { left: 0; }
#lbHoverNav a { outline: none; }
#lbPrev { width: 49%; height: 100%; background: transparent url(lytebox/blank.gif) no-repeat; display: block; left: 0; float: left; }
#lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url(lytebox/prev_grey.gif) left 15% no-repeat; }
#lbPrev.red:hover, #lbPrev.red:visited:hover { background: url(lytebox/prev_red.gif) left 15% no-repeat; }
#lbPrev.green:hover, #lbPrev.green:visited:hover { background: url(lytebox/prev_green.gif) left 15% no-repeat; }
#lbPrev.blue:hover, #lbPrev.blue:visited:hover { background: url(lytebox/prev_blue.gif) left 15% no-repeat; }
#lbPrev.gold:hover, #lbPrev.gold:visited:hover { background: url(lytebox/prev_gold.gif) left 15% no-repeat; }
#lbNext { width: 49%; height: 100%; background: transparent url(lytebox/blank.gif) no-repeat; display: block; right: 0; float: right; }
#lbNext.grey:hover, #lbNext.grey:visited:hover { background: url(lytebox/next_grey.gif) right 15% no-repeat; }
#lbNext.red:hover, #lbNext.red:visited:hover { background: url(lytebox/next_red.gif) right 15% no-repeat; }
#lbNext.green:hover, #lbNext.green:visited:hover { background: url(lytebox/next_green.gif) right 15% no-repeat; }
#lbNext.blue:hover, #lbNext.blue:visited:hover { background: url(lytebox/next_blue.gif) right 15% no-repeat; }
#lbNext.gold:hover, #lbNext.gold:visited:hover { background: url(lytebox/next_gold.gif) right 15% no-repeat; }
#lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; }
#lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; }
#lbPrev2.red, #lbNext2.red, #lbSpacer.red { color: #620000; }
#lbPrev2.green, #lbNext2.green, #lbSpacer.green { color: #003300; }
#lbPrev2.blue, #lbNext2.blue, #lbSpacer.blue { color: #01379E; }
#lbPrev2.gold, #lbNext2.gold, #lbSpacer.gold { color: #666600; }
#lbPrev2_Off, #lbNext2_Off { font-weight: bold; }
#lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; }
#lbPrev2_Off.red, #lbNext2_Off.red { color: #FFCCCC; }
#lbPrev2_Off.green, #lbNext2_Off.green { color: #82FF82; }
#lbPrev2_Off.blue, #lbNext2_Off.blue { color: #B7CAEE; }
#lbPrev2_Off.gold, #lbNext2_Off.gold { color: #E1E100; }
#lbDetailsData { padding: 0 10px; }
#lbDetailsData.grey { color: #333333; }
#lbDetailsData.red { color: #620000; }
#lbDetailsData.green { color: #003300; }
#lbDetailsData.blue { color: #01379E; }
#lbDetailsData.gold { color: #666600; }
#lbDetails { width: 60%; float: left; text-align: left; }
#lbCaption { display: block; font-weight: bold; }
#lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; }
#lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; }
#lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbClose.grey { background: url(lytebox/close_grey.png) no-repeat; }
#lbClose.red { background: url(lytebox/close_red.png) no-repeat; }
#lbClose.green { background: url(lytebox/close_green.png) no-repeat; }
#lbClose.blue { background: url(lytebox/close_blue.png) no-repeat; }
#lbClose.gold { background: url(lytebox/close_gold.png) no-repeat; }
#lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbPlay.grey { background: url(lytebox/play_grey.png) no-repeat; }
#lbPlay.red { background: url(lytebox/play_red.png) no-repeat; }
#lbPlay.green { background: url(lytebox/play_green.png) no-repeat; }
#lbPlay.blue { background: url(lytebox/play_blue.png) no-repeat; }
#lbPlay.gold { background: url(lytebox/play_gold.png) no-repeat; }
#lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; }
#lbPause.grey { background: url(lytebox/pause_grey.png) no-repeat; }
#lbPause.red { background: url(lytebox/pause_red.png) no-repeat; }
#lbPause.green { background: url(lytebox/pause_green.png) no-repeat; }
#lbPause.blue { background: url(lytebox/pause_blue.png) no-repeat; }
#lbPause.gold { background: url(lytebox/pause_gold.png) no-repeat; }
.controls {
position:absolute;
top:118px;
right:0px;
z-index:600;
width:960px;
height:82px;
}
.controls a.prev {
display:block;
height:37px;
width:19px;
text-indent:-5000px;
background:url(button1.gif) 0 0px no-repeat;
position:absolute;
top:0;
left:-7px;
cursor:pointer;
}
.controls a.prev:hover {
background:url(button1.gif) 0 -37px no-repeat;
}
.controls a.next {
display:block;
height:37px;
width:19px;
text-indent:-5000px;
background:url(button2.gif) 0 0 no-repeat;
position:absolute;
top:0;
right:44px;
cursor:pointer;
}
.controls a.next:hover {
background:url(button2.gif) 0 -37px no-repeat;
}
.pulsante {
padding: 10px; margin: 0px 10px 0 0px;
font: bold 14px Arial, Sans-serif;
background: #FAFAFA;
border: 1px solid #f2f2f2;
color: #777;
width: 150px;
vertical-align: top;
}
.foto{
width: 100px;
height: 100px;
margin: 20px;
position: relative;
z-index: 10;
}
.foto img {
max-width: 100%;
height: auto;
border: 5px solid #fff;
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
border-radius: 3px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.foto:before, .foto:after {
content: "";
background: #c6cfe2;
width: 80%;
height: 70%;
position: absolute;
border: 5px solid #fff;
left: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.foto:before {
top: 5px;
left: -10px;
z-index: -10;
-webkit-transform: rotate(-7deg);
-moz-transform: rotate(-7deg);
-o-transform: rotate(-7deg);
-ms-transform: rotate(-7deg);
transform: rotate(-7deg);
}
.foto:after {
top: -2px;
left: -5px;
z-index: -20;
-webkit-transform: rotate(-5deg);
-moz-transform: rotate(-5deg);
-o-transform: rotate(-5deg);
-ms-transform: rotate(-5deg);
transform: rotate(-5deg);
}
#gallery-news {
background: white;
max-width:600px;
margin:0 auto;
padding: 10px;
text-align: left;
}
#griglia {
padding: 0;
margin: 0;
}
#griglia > li {
display: inline-block;
}
table {
margin-left:15px;
}
iframe,object,embed {
width: 370px;
}
div.cornice {
width: 150px;
height: 150px;
margin:5px;
overflow: hidden;
}
.cornice img {
width: 100%;
height: auto;
}
figure {
float:left;
border: thin #c0c0c0 solid;
display: flex;
flex-flow: column;
padding: 0px;
max-width: 160px;
margin: 10px;
}
figure img {
width:160px;
}
figcaption {
background-color: #222;
color: #fff;
font: italic smaller sans-serif;
padding: 3px;
text-align: center;
}