/*!
 * Bubbles Framework
 * bubbles-core.css
 *
 * Copyright 2013 Alin
 * @pattsuncute
 *
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 */

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;

	margin:0;
	padding:0;
}

body{
	font-size:14px;
}

.wrap{
	max-width: 1024px;
	width:100%;
	margin:0 auto;
}

.container{
	padding:0 20px;
	overflow: hidden;
	position: relative;
}
/* headings */
h1{
	font-size: 30px;
	font-weight: 400;
}
h2{
	font-size: 26px;
	font-weight: 300;
}
h3{
	font-size: 24px;
	font-weight: 300;
}
h4{
	font-size:18px;
	font-weight: 300;
}
h5{
	font-size:16px;
	font-weight: 300;
}
h6{
	font-size:14px;
	font-weight: 300;
}

/* grid system */
.row{
	width:100%;
	clear: both;
	overflow: hidden;
}

*[class^="grid"]{
	float:left;
}

.rtl>*[class^="grid"]{
	float:right;
}

.grid1{
	width:8.333333333333%;
}
.grid2{
	width:16.66666666666%;
}
.grid3{
	width:25%;
}
.grid4{
	width:33.333333333333%;
}
.grid5{
	width:41.666666666666%;
}
.grid6{
	width:50%;
}
.grid7{
	width:58.333333333333%;
}
.grid8{
	width:66.666666666666%;
}
.grid9{
	width:75%;
}
.grid10{
	width:83.333333333333%;
}
.grid11{
	width:91.666666666666%;
}
.grid12{
	width:100%;
}

@media screen and (max-width: 768px) {
	.dynamic>div[class^="grid"]{
		float:none;
		width:100%;
	}

	.hiddenphone{
		display: none;
	}
	.container{
		padding:0 10px;
	}
	img{
		max-width: 100%;
	}
}
@media screen and (max-width: 600px) {
	.dynamic-sp>div[class^="grid"]{
		float:none;
		width:100%;
	}
}

/* support style */
.fit{
	width: 100%;
	height:auto;
}

.centered{
	text-align: center;
	margin-left:auto;
	margin-right:auto;
	display: block !important;
}

.align-left{
	text-align: left;
	margin-right:auto;
	display: block !important;
}
.align-right{
	text-align: right;
	margin-left:auto;
	display: block !important;
}

/* table */
table{
	width:100%;
	border-collapse: collapse;
}
th,td{
	padding:3px 5px;
	border:1px solid #e0e0e0;
}


/* UI */
nav li a,
nav li a:visited
{
	color:#444;
	text-decoration: none;
	display: block;
}

input[type='submit'],
input[type='submit']:visited,
input[type='button'],
input[type='button']:visited,
.button,
.button:visited{
	border:none;
	cursor: pointer;
	padding:5px 15px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin:5px;
	border-radius: 5px;
	position: relative;

	background-color: #e0e0e0;
	color:#444;
}

input[type='submit']:hover,
input[type='button']:hover,
.button:hover{

	color: #555;
	transition: .3s;
	-moz-transition: .3s;
	-webkit-transition: .3s;
}

input[type='submit']:active,
input[type='button']:active,
.button:active{
	top:3px;
	background-color: #e0e0e0;
	color:#444;

	transition: .05s;
	-moz-transition: .05s;
	-webkit-transition: .05s;
}

fieldset{
	padding:10px 15px;
	border:1px solid #ccc;
	border-radius:10px;
	margin-bottom:10px;
}
.control-group{
	float: left;
}

.horizontal .control-group{
	clear: both;
	width:100%;
}
label{
	margin: 5px;
	text-align: right;
	display: inline-block;
}
input,textarea{
	margin:5px;
	border-radius: 5px;
	border:1px solid #ccc;
	box-shadow:inset 1px 1px 5px rgba(0,0,0,0.2);
	padding:5px 10px;
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
}
textarea{
	height: auto;
}

input[type='search']{
	-webkit-appearance: textfield;
	border-radius: 1em;
	background-color: #e0e0e0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f0f0f0));
	background-image: -webkit-linear-gradient(top, #fff, #f0f0f0);
	background-image: -moz-linear-gradient(top, #fff, #f0f0f0);
	background-image: -ms-linear-gradient(top, #fff, #f0f0f0);
	background-image: -o-linear-gradient(top, #fff, #f0f0f0);
	color:#444;
	box-shadow:inset 1px 1px 5px rgba(0,0,0,0.2);
}

pre{
	border-radius: 5px;
	border: 1px solid #ccc;
	margin: 10px;
	border-left: 5px solid #ccc;
	padding: 0 10px;
	overflow-x: scroll;
}

*[class^="img"]{
	box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
}
.img-round{
	border-radius:10px;
}
.img-circle{
	border-radius: 50%;
}

.thumbnail{
	border:#ccc 1px solid;
	padding:5px;
	box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
	display: inline-block;
	margin:10px;
}

.thumbnail img{
	border:#ccc 1px solid;
	box-shadow: 0px 1px 1px rgba(0,0,0,0.3);
	margin:0 auto;
	display: block;
}

.thumbnail *{
	text-align: center;
}

ul,ol{
	list-style-position: inside;
	overflow: hidden;
}
ul{
	list-style-type: disc;
}

ul ul{
	margin-left:1em;
	list-style-type: circle;
}

dl{

}

dt{
	font-weight:bold;
}

dd{
	margin-left:10px;
}

a,
a:visited{
	color:#33f;
}

a:hover{
	color: #55f;
	transition: .3s;
	-moz-transition: .3s;
	-webkit-transition: .3s;
}

a:active{
	color:#44f;
	transition: .05s;
	-moz-transition: .05s;
	-webkit-transition: .05s;
}
