/*
    Document   : style
    Created on : 15-mar-2012, 2.19.39
    Author     : Francesco Pasetto
    Description:
        File di stile di base
*/

@font-face {
  font-family: 'AR Bonnie';
  src: url('../fonts/arbonnie.ttf');
}

html {
    background: #fff;
}

p{
    margin-top: 1em;
}

ul
{
    margin-top: 1em;
}

li
{
    margin-left: 1em;
}

h1
{
    font-family: 'AR Bonnie';
    font-size: 2em;
    font-weight: normal;
}

#maincontainer{
    top: 0px;
    left: 0px;
    margin: 0;
    padding: 0;
    width: 100%;
}
#topsection{
    position: fixed;
    height: 4em;
    float: left;
    top: 0px;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'AR Bonnie';
    /*text-transform: uppercase;*/
    border-bottom-right-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
    -moz-border-bottom-right-radius: 0.5em;
    -moz-border-bottom-left-radius: 0.5em;
    -webkit-border-bottom-right-radius: 0.5em;
    -webkit-border-bottom-left-radius: 0.5em;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd); /* for IE */
    -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd)"; /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #fff,  #ddd); /* for firefox 3.6+ */
    z-index: 1000;
}

#hidetopsection{
    position: fixed;
    height: 4em;
    float: left;
    top: 0px;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1000;
}


#topsection h1{
    margin: 0;
    padding-top: 0.5em;
}

#content{
    float: left;
    width: 100%;
}

#footer{
    clear: both;
    position: relative;
    top: 1.5em;
    text-align: center;
    padding: 4px;
    margin-top: 1.5em;
    filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd); /* for IE */
    -ms-filter: "progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd)"; /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #fff,  #ddd); /* for firefox 3.6+ */
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}

#footer a{
    color: #6d1313;
}

#logo
{
    position:fixed;
    right: 1em;
    bottom: 1em;
    color: white;
    background-color: #6d1313;
    margin: 1em;
    padding: 1em;
    z-index: 1000;
    display: none;
}

/* = Portfolio Gallery
------------------------------------------------------------- */

.innertubeport{
    width: 610px;
    padding: 2em;


    margin-top: 5.5em;
    margin-left: auto;
    margin-right: auto;
    display: block;

    background: rgba(220,220,220,0.7);
    color: #6d1313;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

#portfolio li img {
    -webkit-transition: all .8s ease;
    -moz-transition: all .8s ease;
    transition: all .8s ease;
}

#portfolio {
}

#portfolio li {
    background: rgba(0,0,0,0.1);
    float: left; margin: 0 0 3px 3px;
    display: block;
    width: 600px; height: 100px;
    position: relative;
    -moz-box-shadow: 0 1px 0   rgba(255,255,255,0.05),
                     0 1px 2px rgba(0,0,0,0.75) inset;
    -webkit-box-shadow: 0 1px 0   rgba(255,255,255,0.05),
                        0 1px 2px rgba(0,0,0,0.75) inset;
    box-shadow: 0 1px 0   rgba(255,255,255,0.05),
                0 1px 2px rgba(0,0,0,0.75) inset;
}

#portfolio li div
{
    width: 600px;
    height: 100px;
    background: transparent;
    overflow: hidden;
    position: relative;
}

#portfolio li div:hover
{
    cursor: pointer;
}

#portfolio li h2,
#portfolio li p
{
    text-align: center;
    width:100%;
    text-shadow: 0.05em 0.1em 0.05em rgba(0,0,0,0.75);
    font-weight: bold;
    font-family: 'AR Bonnie';
}

#portfolio li h2
{
    color: #fff;
    font-size: 4em;
    line-height: 1.5;
}

#portfolio li img
{
    position: absolute;
    left: 1px;
    top: 1px;
}

#portfolio li:hover img
{
    left: -605px;
}

#prjt
{
    position:fixed;
    left: 1em;
    top: 3.5em;
    width: 20%;
    color: white;
    background-color: #6d1313;
    margin: 1em;
    padding: 1em;
    z-index: 1000;
    display: none;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

#prjd
{
    position:fixed;
    left: 1em;
    top: 8.3em;
    bottom: 8.5em;
    width: 20%;
    color: white;
    background-color: #6d1313;
    margin: 1em;
    padding: 1em;
    z-index: 1000;
    display: none;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

#prjd .viewport
{
    width: 90%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#prjd .overview
{
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    z-index: 1001;
}

#prjd .scrollbar
{
    background: #fff no-repeat 0 0;
    position: relative;
    background-position: 0 0;
    float: right;
    width: 0.5em;
}

#prjd .track
{
    background: #6d1313 no-repeat 0 100%;
    height: 100%;
    width: 0.55em;
    position: relative;
    padding: 0 1px;
}

#prjd .thumb
{
    background: #fff no-repeat 50% 100%;
    height: 1em;
    width: 1em;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: -5px;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;

}

#prjd .disable
{
    display: none;
}
/*---------------------------------*/
#prjf a
{
    text-decoration: none;
    color: #fff;
}

#prjf a:hover
{
    text-decoration: none;
    font-weight: bold;
    color:#fff;
}

#prjf
{
    position:fixed;
    left: 1em;
    bottom: 1em;
    height: 5em;
    width: 20%;
    color: white;
    background-color: #6d1313;
    margin: 1em;
    padding: 1em;
    z-index: 1000;
    display: none;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}

#prjf .viewport
{
    width: 90%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

#prjf .overview
{
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    z-index: 1001;
}

#prjf .scrollbar
{
    background: #fff no-repeat 0 0;
    position: relative;
    background-position: 0 0;
    float: right;
    width: 0.5em;
}

#prjf .track
{
    background: #6d1313 no-repeat 0 100%;
    height: 100%;
    width: 0.55em;
    position: relative;
    padding: 0 1px;
}

#prjf .thumb
{
    background: #fff no-repeat 50% 100%;
    height: 1em;
    width: 1em;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: -5px;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;

}

#prjf .disable
{
    display: none;
}



#link
{
    color: #6d1313;
}

#link:hover
{
    color: #6d1313;
    font-weight: bold;
}

#descrizione li
{
    list-style-type: circle;
}

#descrizione ol
{
    list-style-type: decimal;
}

.innerright{
    margin-right: 1.5em;
    text-align: right;
}

.menu
{
    margin-left: 1.5em;
    text-align: left;
    margin-top: 1em;
    font-size:  2em;
}

div.menu_table{
    display: table;
    font-size: 1.2em;
    line-height: 21px;
    border-spacing: 1px;
    margin: 0px;
    padding: 0px;
}

div.menu_table_row{
    display: table-row;
    /*    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));  for webkit browsers
        background: -moz-linear-gradient(top,  #fff,  #ddd);  for firefox 3.6+ */
}

div.menu_table_cell{
    float: left;
    display: table-cell;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
    padding: 10px 20px;
    color: #6d1313;
    cursor: pointer;
}

div.menu_table_cell:hover{
    color: white;
    background: #6d1313;
    display: table-cell;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
    padding: 10px 20px;
    cursor: pointer;
}

.innertube{
    font-family: 'Droid Sans';
    background: rgba(220,220,220,0.7);
    height: 60%;
    padding: 2em;
    margin: 5.5em 20% 1.5em 20%;
    color: #6d1313;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.innerlogin{
    font-family: 'Droid Sans';
    background: rgba(220,220,220,0.7);
    padding: 25px;
    position: absolute;
    width: 380px;
    height:250px;
    color: #6d1313;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.innertube-wide{
    font-family: 'Droid Sans';
    background: rgba(220,220,220,0.7);
    height: 60%;
    padding: 2em;
    margin: 5.5em 5% 1.5em 5%;
    color: #6d1313;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}


.innertube-contacts-left{
/*    float:left;*/
    position: absolute;
    font-family: 'Droid Sans';
    background: rgba(220,220,220,0.7);
    padding: 2em;
    top: 5.5em;
    left: 2%;
/*    margin: 5.5em 43% 1.5em 2%;*/
    color: #6d1313;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

.innertube-contacts-right{
/*    float: left;*/
    position: absolute;
    font-family: 'Droid Sans';
    background: rgba(220,220,220,0.7);
    padding: 2em;
    top: 5.5em;
    right: 2%;
/*    margin: 5.5em 2% 1.5em 60%;*/
    color: #6d1313;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}

a.clink
{
    text-decoration: none;
    color: #6d1313;
    text-shadow: 0.05em 0.1em 0.05em rgba(255,255,255,0.75);
}

a.clink:hover
{
    text-decoration: none;
    color: #fff;
    text-shadow: 0.05em 0.1em 0.05em rgba(0,0,0,0.75);
}

/* Contatti */

ul.contact_data {
	margin-left: 0;
	margin-top: 0;
	}

ul.contact_data li {list-style: none}

/* =Contact Form
-------------------------------------------------------------- */
p.error {
	margin-left: 110px;
	margin-top: 10px;
	color: #c00;
	font-size: 11px
	}

h3.form_title {padding-top: 20px}

#mail_success {
	margin-top: 20px;
	padding-left: 110px;
	}

#contact_form ul {
	/*float: left;
	list-style: none;
	margin: 0;
	width: 100%;
	border-top: 1px dotted #777c82;
	padding-top: 20px;
	padding-bottom: 20px;*/
	}

#contact_form ul li {
	margin: 10px 0;
	list-style: none;
	position: relative;
	clear: both;
	}

#contact_form label {
	line-height: 35px;
	width: 100px;
	text-align: left;
	font-weight: bold;
	float: left;
	margin-right: 10px;
	}

.sendButton {
	color: #6d1313;
	border: 1px solid #6d1313;
	background: #f1f1f1; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd); /* for IE */
	-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd)"; /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fff,  #ddd); /* for firefox 3.6+ */
	font-size: 13px;
	margin: 20px 0 0 110px;
	font-weight: bold;
	padding: 10px 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor: pointer
	}

.sendButton:hover {
	color: #fff;
	border: 1px solid #6d1313;
	background: #6d1313;
	text-decoration: none
	}

.button {
	color: #6d1313;
	border: 1px solid #6d1313;
	background: #f1f1f1; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd); /* for IE */
	-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd)"; /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fff,  #ddd); /* for firefox 3.6+ */
	font-size: 13px;
	font-weight: bold;
        margin-top: 20px;
	padding: 10px 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor: pointer
	}

.button:hover {
	color: #fff;
	border: 1px solid #6d1313;
	background: #6d1313;
	text-decoration: none
	}

#contact_form select:focus,
#contact_form input#titolo:focus,
#contact_form input#categoria:focus,
#contact_form input#login:focus,
#contact_form input#password:focus,
#contact_form input#name:focus,
#contact_form input#email:focus,
#contact_form input#subject:focus,
#contact_form textarea:focus {
	background: #fff
	}
#contact_form select,
#contact_form input#titolo,
#contact_form input#categoria,
#contact_form input#login,
#contact_form input#password,
#contact_form input#name,
#contact_form input#email,
#contact_form input#subject,
#contact_form textarea {
	float: left;
	padding: 8px;
        color: #6d1313;
	border: 1px solid #6d1313;
	margin-left: 0;
	background: #f1f1f1; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd); /* for IE */
	-ms-filter: "progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=#ffffff,endColorStr=#dddddd)"; /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd)); /* for webkit browsers */
	background: -moz-linear-gradient(top,  #fff,  #ddd); /* for firefox 3.6+ */
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	outline: none;
	}
#contact_form input#titolo,
#contact_form input#categoria,
#contact_form input#name,
#contact_form input#email,
#contact_form input#subject {width: 500px;}

#contact_form select
{
    color:#6d1313;
}

#contact_form textarea {
	width: 500px;
	height: 150px;
	resize: none;
	}

#contact_form input.textlink {float: right;}

/* =Albums' table
-------------------------------------------------------------- */
div.album_table{
    display: table;
    color: #333;
    font-size: 13px;
    line-height: 21px;
    border-spacing: 2px;
}

div.album_table_row{
    display: table-row;
}

div.album_table_cell{
    display: table-cell;
    border: 1px solid #6d1313;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    margin: 20px 0 0 110px;
    font-weight: bold;
    padding: 10px 20px;
    color: #6d1313;
    cursor: pointer;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
    background: -moz-linear-gradient(top,  #fff,  #ddd);
}

div.album_table_cell:hover{
    color: #fff;
    border: 1px solid #6d1313;
    background: #6d1313;
    display: table-cell;
    background-color: trasparent;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    margin: 20px 0 0 110px;
    font-weight: bold;
    padding: 10px 20px;
    cursor: pointer;
}

/* =Queries' messages
-------------------------------------------------------------- */
#qResult
{
    font-size: 13px;
    color: #333;
    font-weight: bold;
}

/* =Contact Page Sidebar
-------------------------------------------------------------- */
.contact ul {list-style: none;}
.contact li {margin: 0;}

#login_error,
#name_error,
#email_error,
#subject_error,
#message_error,
#mail_success,
#mail_fail
{
    /*visibility: collapse;*/
}

/* =Sortable Component
------------------------------------------------------------- */
#sortable
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 60%;
}

#sortable li
{
    margin: 0 3px 3px 3px;
    padding: 0.4em;
    padding-left: 1.5em;
    font-size: 1.4em;
    height: 18px;
}

#sortable li span {
    position: absolute;
    margin-left: -1.3em;
}

/* =Sortable Image
------------------------------------------------------------- */
#sortimg
{
    list-style-type: none;
}

#sortimg li
{
}

#sortimg li span {
}


/* =Clear
------------------------------------------------------------- */
.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
	}

.error,
.success {display: none;}

#notsup
{
    position: fixed;
    background: red;
    color: white;
    bottom: 0px;
    display: none;
}

#notsup a
{
    font-size: large;
    color: cornflowerblue;
    text-decoration: none;
}

/* Overiding Classes */
/* Must remain at the bottom of the stylesheet */
.clearfix:after {
	clear: both;
	content:' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
	}

* html .clearfix {height: 1%;}

.nicEdit-main
{
   width: 100%;
}

h2
{
    font-family: 'Droid Sans';
    font-size: 1em;
    font-weight: normal;
}

#staff li {
  padding-top: 0.5em;
}
