/*
 * main styles
 */

body {
  padding-top: 50px;
  padding-bottom: 20px;
}

h1 i {
	float: left;
	padding-right: 5px;
}

/*
 * mobile layout styles
 */

@media (max-width: 767px) {
	.col-xs-12 {
		padding-left: 0;
		padding-right: 0;
	}
}

/*
 * nav styles
 */

 .navbar-right {
 	overflow: hidden;
 }

 .navbar-form.navbar-right {
 	padding-left: 30px;
 	padding-right: 30px;
 }

 .nav-tabs {
 	margin-bottom: 20px;
 }

/*
 * modal styles
 */

.modal-content {
	top: 50px;
}

.modal-dialog h1 {
	font-size: 150%;
	font-weight: bold;
	margin: 0;
}

/*
 * popover styles
 */

.popover {
  max-width: 360px;
  width: auto;
}

/*
 * icon styles
 */

i.fa {
  margin-right: 5px;
}

/*
 * form styles
 */

.form-label, .control-label {
	float: left;
	width: 25%;
}

.form-horizontal .form-group {
	margin-left: 0;
	margin-right: 0;
}

.separator {
	text-align: center;
	font-weight: bold;
}
.separator::before, .separator::after {
	content: "- ";
}

.required label:after,
label.required:after,
span.required:after {
	content: "*";
	color: #c2002f;
	margin-left: 5px;
}

.alert label {
	margin-right: 10px;
}

/*
 * button styles
 */

button {
	background: #dddddd;
}

button:hover {
	background: #cccccc;
}

.buttons button {
	margin-top: 5px;
}

@media (max-width: 479px) {
	.buttons button {
		width: 100%;
	}
}

/*
 * country selector styles
 */

.country-code.input-group {
	width: 100px;
}

#country-selector .dropdown-menu {
  position: relative;
}

#country-selector button img {
	margin-top: -3px;
	margin-left: 5px;
}

.country-code.input-group {
	width: 100px;
}

/*
 * validation styles
 */
 
label.error {
	font-weight: bold;
	color: #c2002f;
	padding-top: 0;
	background: url(../images/forms/error.png) 5px 0px no-repeat;
	padding-left: 30px;
}

label.error:empty {
	display: none;
}

label.error.valid {
	display: none;
}

.form-group.error input,
.form-group.error textarea {
	border: 1px solid #c2002f;
}

/*
 * date font styles
 */

div.datetime .date::after {
	content: " ";
}

div.datetime .time {
	font-style: italic;
	margin-right: 5px;
}

div.datetime .year::before {
	content: "(";
}

div.datetime .year {
	font-style: italic;
}

div.datetime .year::after {
	content: ") ";
}

div.sortable.datetime {
	display: table;
}

div.sortable.datetime .date {
	white-space: nowrap;
	display: table-header-group;
	margin-right: 5px;
	float: left;
}

div.sortable.datetime .time {
	float: left;
}
div.sortable.datetime .year {
	display: table-footer-group;
}