/* Reset
--------------------------------------------------------------------------------------- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box; /* http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}

td, th { vertical-align:top; }

hr{ display: block; height: 1px; margin: 1em 0; padding: 0; border: 0; border-top: 1px solid #ccc; }

input, select { vertical-align:middle; }

img{ display:block; vertical-align: middle; }

input[type=radio], input[type=checkbox]{ vertical-align:-1px; margin-right:5px; }
input[readonly]{ background-color:#eee; }
textarea{ resize: vertical; }

:focus {outline: 0;}

a{color:inherit;outline:0;text-decoration:none;}
a:hover {color:inherit;text-decoration:none;}
a:active {color:inherit;outline:0;text-decoration:none;}
a:focus {color:inherit;outline:0;text-decoration:none;}
a:visited {color:inherit;outline:0;text-decoration:none;}

img {
	max-width:100%;
}

h1,h2,h3,h4,h5,h6,p {
	margin:0;
}
.alignright { float: right; }
.aligncenter { margin:0 auto; display: block; }
.alignleft { float: left; }
.flat-left {
	padding-left: 0;
}
.flat-right {
	padding-right: 0;
}
.flat-both {
	padding-left: 0;
	padding-right: 0;
}
.flat-top {
	padding-top:0;
}
.flat-bottom {
	padding-bottom:0;
}
.flat-vertical {
	padding-top:0;
	padding-bottom:0;
}
.flat-all {
	padding:0;
}
.fleft {
	float: left;
}
.fright {
	float: right;
}
.float-none {
	float: none !important;
}
.bold, strong, b {
	font-weight: bold;
}
.text-center {
	text-align: center;
}
.text-center img {
	margin-left: auto;
	margin-right: auto;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}

/* Vertical align */
.v-align {
	display: table;
	height: 100%;
	width: 100%;
}
.v-align > span,
.v-align > .middle {
	display: table-cell;
	vertical-align: middle;
}
.v-align-t {
	position: relative;
    top: 50%;
    transform: translateY(-50%);
    	-webkit-transform: translateY(-50%);
    	-ms-transform: translateY(-50%);
}
.clearme:after, .clearfix:after,
.clearme:before, .clearfix:bofore {
	content: "";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

/* Visible and hidden */
.visible, .visibleBefore:before, .visibleAfter:after {
	display: block;
}
.hidden, .hiddenBefore:before, .hiddenAfter:after {
	display: none;
}

/* Remve flexslider style */
.flexslider {
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
}
.flexslider ul {
	min-height: inherit;
}
.flexslider ul li {
	min-height: inherit;
}
.flexslider .flex-direction-nav a {
	color: rgba(0,0,0,0.5);
	font: 800 90px/0.4em "Open Sans", serif;
	text-shadow: none;
	height: 50px;
}

/* Grayscale image */
.grayscale {
	-webkit-filter: grayscale(1);
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'gs\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#gs");
	filter: gray;
}
.anti-grayscale {
	-webkit-filter: none;
	filter: none;
}

/* Small font */
.small-text {
	font-size: 12px;
}

/* Columns of same height styles */
.row-same-height {
    display: table;
    width: 100%;
}
.col-xs-height {
    display: table-cell;
    float: none !important;
}
@media (min-width: 768px) {
    .col-sm-height {
        display: table-cell;
        float: none !important;
    }
}
@media (min-width: 992px) {
    .col-md-height {
        display: table-cell;
        float: none !important;
    }
}
@media (min-width: 1200px) {
    .col-lg-height {
        display: table-cell;
        float: none !important;
    }
}

/* Firefox fix */
.img-responsive {
    width: 100%;
}

/* Vertical alignment styles */
.col-top {
    vertical-align:top;
}
.col-middle {
    vertical-align:middle;
}
.col-bottom {
    vertical-align:bottom;
}


