/*!
 * Bubbles Framework
 * bubbles.css
 *
 * Copyright 2013-2015 Arina
 * @pattsun_en
 *
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0 
 */

*{
	margin:0;
	padding:0;
  box-sizing:border-box;
}

body{
	font-size:14px;
	font-weight:300;
}

.wrap{
	max-width: 1024px;
	width:100%;
	margin:0 auto;
	padding-bottom: 20px;
}

.container{
	padding:0 20px;
}

@media screen and (max-width: 600px) {
	.container{
		padding:0 10px;
	}
}

section{
	margin-bottom: 40px;
}

/*----------------------------------------------------------------------------*/
/*headings*/
/*----------------------------------------------------------------------------*/

h1{
	font-size: 300%;
	font-weight: 400;
	margin-bottom: 20px;
}
h2{
	font-size: 240%;
	font-weight: 300;
	margin-bottom: 10px;
}
h3{
	font-size: 190%;
	font-weight: 300;
}
h4{
	font-size:150%;
	font-weight: 300;
}
h5{
	font-size:130%;
	font-weight: 300;
}
h6{
	font-size:100%;
	font-weight: 300;
}

/*----------------------------------------------------------------------------*/
/*grid system*/
/*----------------------------------------------------------------------------*/

.row{
	width:100%;
	display:flex;
	display:-webkit-flex;
	display:-moz-flex;
	flex-wrap:wrap;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
}

.column{
	display:flex;
	display:-webkit-flex;
	display:-moz-flex;
	flex-wrap:wrap;
	flex-direction:column;
	-webkit-flex-wrap:wrap;
	-webkit-flex-direction:column;
	-moz-flex-wrap:wrap;
	-moz-flex-direction:column;
}

.rtl{
	flex-direction:row-reverse;
	-webkit-flex-direction:row-reverse;
	-moz-flex-direction:row-reverse;
}

.align1{
	justify-content:flex-start;
	align-items:flex-end;
	-webkit-justify-content:flex-start;
	-webkit-align-items:flex-end;
	-moz-justify-content:flex-start;
	-moz-align-items:flex-end;
}

.align2{
	justify-content:center;
	align-items:flex-end;
	-webkit-justify-content:center;
	-webkit-align-items:flex-end;
	-moz-justify-content:center;
	-moz-align-items:flex-end;
}

.align3{
	justify-content:flex-end;
	align-items:flex-end;
	-webkit-justify-content:flex-end;
	-webkit-align-items:flex-end;
	-moz-justify-content:flex-end;
	-moz-align-items:flex-end;
}

.align4{
	justify-content:flex-start;
	align-items:center;
	-webkit-justify-content:flex-start;
	-webkit-align-items:center;
	-moz-justify-content:flex-start;
	-moz-align-items:center;
}

.align5{
	justify-content:center;
	align-items:center;
	-webkit-justify-content:center;
	-webkit-align-items:center;
	-moz-justify-content:center;
	-moz-align-items:center;
}

.align6{
	justify-content:flex-end;
	align-items:center;
	-webkit-justify-content:flex-end;
	-webkit-align-items:center;
	-moz-justify-content:flex-end;
	-moz-align-items:center;
}

.align7{
	justify-content:flex-start;
	align-items:flex-start;
	-webkit-justify-content:flex-start;
	-webkit-align-items:flex-start;
	-moz-justify-content:flex-start;
	-moz-align-items:flex-start;
}

.align8{
	justify-content:center;
	align-items:flex-start;
	-webkit-justify-content:center;
	-webkit-align-items:flex-start;
	-moz-justify-content:center;
	-moz-align-items:flex-start;
}

.align9{
	justify-content:flex-end;
	align-items:flex-start;
	-webkit-justify-content:flex-end;
	-webkit-align-items:flex-start;
	-moz-justify-content:flex-end;
	-moz-align-items:flex-start;
}

.baseline{
	align-items:baseline;
	-webkit-align-items:baseline;	
	-moz-align-items:baseline;	
}

.stretch{
	align-items:stretch;
	-webkit-align-items:stretch;
	-moz-align-items:stretch;
}

.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%;
}

*[class^="grid"]>img{
	max-width: 100%;
}

@media screen and (max-width: 600px) {
	.dynamic>div[class^="grid"]{
		width:100%;
	}
}

/*----------------------------------------------------------------------------*/
/*UI element*/
/*----------------------------------------------------------------------------*/

table{
	width:100%;
	border-collapse: collapse;
}
th{
	background: #eee;
}

th,td{
	padding:3px 5px;
	border:1px solid #ccc;
}

ul,ol{
	list-style-position: inside;
	overflow: hidden;
}

ul{
	list-style-type: disc;
}

ul ul{
	margin-left:1em;
	list-style-type: circle;	
}

dt{
	font-weight:bold;
}

dd{
	margin-left:10px;
}

a,
a:visited{
	color:#333;
	text-decoration: underline;
}

a:hover{
	color: #999;
	transition: .3s;
	-moz-transition: .3s;
	-webkit-transition: .3s;
}

a:active{
	color:#666;
	transition: .05s;
	-moz-transition: .05s;
	-webkit-transition: .05s;
}

nav{
	padding:10px 0;
}

nav ul{
	width:100%;
	display: table;
  table-layout:fixed;
}
nav li{
	text-align: center;
  display: table-cell;
}

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: #ccc;
	color:#444;
}

input[type='submit']:hover,
input[type='button']:hover,
.button:hover{
	background-color: #eee;

	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;
	margin-bottom:10px;
}

.control-group{
	float: left;
}

.horizontal .control-group{
	width:100%;
}

label{
	margin: 5px;
	text-align: right;
	display: inline-block;
}

input,textarea{
	margin:5px;
	border-radius: 5px;
	border:1px solid #ccc;
	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: #fff;
	color:#444;
}

/*----------------------------------------------------------------------------*/
/*helper*/
/*----------------------------------------------------------------------------*/
.shadow{
	box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
}

.round{
	border-radius:8px;
}

.circle{
	border-radius: 50%;
}

.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;
}

.visible-phone{
	display: none !important;
}

@media screen and (max-width: 600px) {

	.hidden-phone{
		display: none !important;
	}

	.visible-phone{
		display: block !important;
	}

}

/*----------------------------------------------------------------------------*/
/*color-helper*/
/*----------------------------------------------------------------------------*/

.red{
  color:white !important;
  background-color:#c83d40 !important;
}
.blue{
  color:white !important;
  background-color:#54929b !important;
}
.green{
  color:white !important;
  background-color:#2eab89 !important;
}
.yellow{
  color:white !important;
  background-color:#e6ba43 !important;
}
.white{
  color:white !important;
  background-color:rgba(200,200,200,1) !important;
}

.red-letter{
  color:#c83d40 !important;
}
.blue-letter{
  color:#54929b !important;
}
.green-letter{
  color:#2eab89 !important;
}
.yellow-letter{
  color:#e6ba43 !important;
}
.white-letter{
  color:rgba(200,200,200,1) !important;
}