
/*
Responsive

BASE (MOBILE) SIZE
	These are the mobile styles. It's what people see on their phones.
*/

/* typography */

/* ---------------------------------------------------- */
/* Imports */
/* ---------------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400|Open+Sans:400italic,400,600|Muli:300|Indie+Flower:400|Oswald:400,700,300);
/* ---------------------------------------------------- */
body{
	color:#666;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:1em;
	line-height:1.4em; 
	font-weight:normal;
}
h1, h2, h3, h4, h5, h6{
    color:#0099DA;
	font-weight:normal;
	font-family:'Droid Serif', Arial, Helvetica, sans-serif; 
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
} 

hr {
    height: 1px;
    color: #CCCCCC;
	 background-color: #CCCCCC;
	 font-size: 0;
    border: 0;
}

.handwriting {
  font-family: 'Indie Flower', cursive;
}

/* links */
a,
a:visited,
a:active,
a:hover{color:#0099ff;}
a:hover{ text-decoration:none;}


/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

 

/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}

#wrapper {
  float: left;
  width: 100%;
  padding: 10px;
}
 
/* =================================================================== */
/* Header
====================================================================== */
#header {min-height: 100px;}
#header .no_spc { margin-bottom: 0;  }
#header .grid_6 { margin-bottom: 0; }

/* Logo / Tagline
====================================*/
#logo {
	margin-top: 44px;
}

#logo a img{float: left;}

#tagline {
	color: #888;
	border-left: 1px solid #e9e9e9;
	margin: 0 0 0 20px;
	padding: 5px 0 5px 20px;
	float: left;
}
/* Contact Details
====================================*/
#contact-details {
	float: right;
	margin: 10px 0;
	display: block;
  width: 100%;
}

#contact-details ul {
  float: right;
  margin:0;
}

#contact-details li {
	display: inline;
	padding-left: 10px;
	margin-left: 10px;
	border-left: 1px solid #e9e9e9;
}

#contact-details li:first-child {
	border: none;
	margin-left: 0;
	padding:0
}

#contact-details i {margin-right: 5px; margin-top: 3px;}
#contact-details a {color: #707070;}
#contact-details a:hover {color: #888;}


/*----------------------------------------------------------------------------
                                 Social Icons
----------------------------------------------------------------------------*/

#social-icons  {
	display: inline;
  float: right;
}
 /* Style all font awesome icons */
.fa {
    padding: 15px;
    font-size: 15px;
    width: 45px;
    text-align: center;
    text-decoration: none;
}

/* Hover effect */
.fa:hover {
    color: #FFFFFF;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
    background-color: #F2F2F2;
    color: #A0A0A0;
}
a.fa-facebook:hover{
background-color: #3B5998;
color: #FFFFFF;
}
/* Twitter */
.fa-twitter {
    background: #F2F2F2;
    color: #A0A0A0;
}
a.fa-twitter:hover{
background-color: #55ACEE;
color: #FFFFFF;
}
/* Google */
.fa-google {
    background: #F2F2F2;
    color: #A0A0A0;
}
a.fa-google:hover{
background-color: #DD4B39;
color: #FFFFFF;
}
/* Linked In */
.fa-linkedin {
    background: #F2F2F2;
    color: #A0A0A0;
}
a.fa-linkedin:hover{
background-color: #007BB5;
color: #FFFFFF;
}
	
#hero,
#page-header{
	background:#f3f3f3;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	padding:20px 0;
}
#hero h1{ 
	line-height:1.2em;
	margin-top:0px;
	margin-bottom:10px;}

.flexslider{
	display:none;
}

#primo {
  *display: inline-block;
  width: 100%;
  height: 40px;
  color: #ffffff;
  text-align:center;
  background-color: #0099DA;
  line-height: 40px;
  vertical-align: top;
}
#secondo {
  *display: inline-block;
  width: 100%;
  border: 1px solid #0099DA;
  padding: 5px;
  background-color: #ffffff;
  vertical-align: top;
}
#secondary {
  *display: inline-block;
  width: 100%;
  border: 1px solid #CCCCCC;
  padding: 10px;
  background-color: #ffffff;
  vertical-align: top;
}

.img-circle {
   border-radius: 50%;
}

#content {  
	margin:40px 0;
}

aside { 
	margin:40px 0;
}

p{ margin:0 0 1.5em;}


/* RESPONSIVE IMAGES */
img{ max-width:100%; height:auto;}

/*
|--------------------------------------------------------------------------
| UItoTop jQuery Plugin 1.2
| http://www.mattvarone.com/web-design/uitotop-jquery-plugin/
|--------------------------------------------------------------------------
*/
#toTop {
	display:none;
	text-decoration:none;
	position:fixed;
	bottom:10px;
	right:10px;
	overflow:hidden;
	width:51px;
	height:51px;
	border:none;
	text-indent:100%;
	background:url(/images/ui.totop.png) no-repeat left top;
}

#toTopHover {
	background:url(/images/ui.totop.png) no-repeat left -51px;
	width:51px;
	height:51px;
	display:block;
	overflow:hidden;
	float:left;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
}

#toTop:active, #toTop:focus {
	outline:none;
}
/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:40px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

/*FOOTER*/
#footer{
  float: left;
  width: 100%;
	font-size:80%;
	background:#444444;
	color:#fff;
}
#footer a:link { color: #FFFFFF; }
#footer a:visited { color: #FFFFFF; }
#footer a:hover { color: #FFFFFF; }
#footer a:active { color: #FFFFFF; }
.left
{
padding-left: 40px;
}
.center
{
padding-left: 40px;
}
#footer .grid_4 {
  margin-bottom: 15px;
  margin-top: 15px;
}
#footer p {
  margin: 0;
}
/*colors and backgrounds*/
body{
	background:#fff;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6{
	color:#0099DA; 
}
/*----------------------------------------------------------------------------*/
                                 Buttons
/*----------------------------------------------------------------------------*/
a.buttonlink{ 
	background:#5ec79e; 
	border-radius:7px; 
	color:#fff;
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none;
}
a.buttonlink:hover{
	background:#887dc2;
}
.greenelement{
	background:#5ec79e;
	color:#fff;
}
.violetelement{
	background:#887dc2;
	color:#fff;
}
/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {
#banner{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}


/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) {

.wrapper{
	max-width: 1200px; 
	margin: .75em auto;
}

#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
}
header{
	padding:0;
}
#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}

.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 60px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}


aside { 
	float:right;
	width:30%;
}

/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	float: left;
	display: block;
}

.rightfloat{float:right;}
/* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
 */
 
#hero [class*="grid_"] { margin-bottom:-20px;}

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}