.companionship-ads-public {
	padding: 20px;
	background: #fff;
}

.companionship-ads-public .full-width {
	width: 100%;
}

.companionship-ads-public a {
	outline: 0 !important;
}

.companionship-ads-public kbd.active {
	background-color: #418B0E;
}

.companionship-ads-public kbd.inactive {
	background-color: #8B0E0E;
}

.companionship-ads-public span.required {
	color: #ff0000;
}

.companionship-ads-public .actions {
	text-align: center;
	margin-bottom: 0;
	padding-left: 0;
}

.companionship-ads-public .actions li {
	display: block;
}

.companionship-ads-public textarea {
	width: 100%;
	resize: vertical;
}

.companionship-ads-public img {
	width: 100%;
	height: auto;
}

.companionship-ads-public .errors {
	background: #d9534f;
	color: #fff;
	padding: 10px 20px 10px !important;
	margin-bottom: 20px;
}

.companionship-ads-public .errors ul {
	padding: 0;
}

.companionship-ads-public .location-available {
	display: block;
	text-align: center;
	color: #ff0000;
	text-transform: lowercase;
	padding-top: 5px;
	font-size: 14px;
	font-family: Georgia;
	font-style: italic;
}

.companionship-ads-public .page-title {
	padding-bottom: 9px;
	margin: 40px 0 20px;
	border-bottom: 1px solid #eee
}

.companionship-ads-public .page-title h1 {
	margin-top: 0;
	text-align: center;
}

#companionship-ads-registration label {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: bold;
}

#companionship-ads-create-advertisement select,
#companionship-ads-edit-advertisement select,
#companionship-ads-registration .services select,
#companionship-ads-registration .interests select,
#companionship-ads-create-service select,
#companionship-ads-create-interest select {
	padding: 10px;
	background: #fff;
	border: 1px solid #ddd;
}

#companionship-ads-my-advertisement select,
#companionship-ads-create-service select,
#companionship-ads-create-interest select {
	background: #fff;
	border: 1px solid #ddd;
	padding: 5px;
	height: 40px;
}

#companionship-ads-advertisers select {
	background: #fff;
	padding: 2px 4px;
	border: 1px solid #ddd;
}

.ad-thumbnail {
	position: relative;
	display: block;
	margin-bottom: 30px;
	text-align: center;
}

.page-id-8 .ad-thumbnail {
	margin-bottom: 0;
}

.ad-thumbnail:active, .ad-thumbnail:focus {
	outline: 0 !important;
}

.ad-thumbnail img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	-webkit-transition: all ease-out .3s;
	-moz-transition: all ease-out .3s;
	transition: all ease-out .3s;
}

.ad-thumbnail:hover img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
	-webkit-transition: all ease-out .3s;
	-moz-transition: all ease-out .3s;
	transition: all ease-out .3s;
}

.ad-thumbnail h4 {
	display: block;
	position: absolute;
	bottom: 10px;
	left: 50%;
	background: rgba(255, 255, 255, .8);
	color: #333;
	width: 100%;
	text-align: center;
	padding: 10px 5px;

	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	transform: translateX(-50%);
}

.companionship-ads-public .profile-navigation {
	text-align: center;
}

.companionship-ads-public .profile-navigation ul {
	padding-left: 0;
	list-style: none;
}

.companionship-ads-public .profile-navigation a {
	width: 100%;
	display: block;
	background: #428bca;
	color: #fff;
	padding: 5px 10px;
}

.companionship-ads-public .profile-navigation a:hover, .companionship-ads-public .profile-navigation a:active, .companionship-ads-public .profile-navigation a:focus {
	background: #2a6496;
	text-decoration: none;
}

.companionship-ads-public .profile-navigation a.active {
	cursor: default;
	background: #2a6496;
	color: #fff;
}

.companionship-ads-public .gallery-image-active img {
	display: block;
	padding: 5px;
	border: 1px solid #e5e5e5;
	margin-bottom: 10px;
	width: 100%;
	height: auto;
}

.companionship-ads-public .gallery-image-thumbs {
	list-style: none;
	padding-left: 0;
	overflow: hidden;
}

.companionship-ads-public .gallery-image-thumbs li {
	float: left;
	width: 10.5%;
	margin: 0 1%;
}

.companionship-ads-public .gallery-image-thumbs li a {
	display: block;
	padding: 5px;
	border: 1px solid #e5e5e5;

	-webkit-transition: all ease-out .3s;
	-moz-transition: all ease-out .3s;
	transition: all ease-out .3s;
}

.companionship-ads-public .gallery-image-thumbs li a:hover {
	border: 1px solid #d5d5d5;
	background: #e5e5e5;

	-webkit-transition: all ease-out .3s;
	-moz-transition: all ease-out .3s;
	transition: all ease-out .3s;
}

.gallery-image-thumb-active {
	border: 1px solid #d5d5d5;
	background: #e5e5e5;

	-webkit-transition: all ease-out .3s;
	-moz-transition: all ease-out .3s;
	transition: all ease-out .3s;
}

.companionship-ads-public .gallery-image-thumbs li a img {
	width: 100%;
	height: 100%;
	display: block;
}

#companionship-ads-edit-advertisement .gallery-image {
	display: block;
	max-height: 155px;
	overflow: hidden;
	margin-bottom: 10px;
}

#companionship-ads-edit-advertisement input[type="file"] {
	font-size: 12px !important;
}

.companionship-ads-public .btn-blue {
    padding: 15px;
    color: #fff;
    background-color: #0077C1;
    border-radius: 4px;
    margin-bottom: 15px;
}

.companionship-ads-public img[src="https://www.companionshipads.com/wp-content/themes/companionshipads/img/ajax-loader.gif"] {
	width: auto !important;
	display: inline-block !important;
}

.companionship-ads-public .filter-by-location-label {
	font-weight: bold;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 32px;
}

.companionship-ads-public .filter-by-location-label span {
	font-family: Georgia, serif;
	font-size: 14px;
	font-style: italic;
	font-weight: normal;
	color: #ff0000;
}

.companionship-ads-public .disabled {
    background: #ddd !important;
    color: #aaa;
}

.companionship-ads-public #loading-state, .companionship-ads-public #loading-city, .companionship-ads-public #loading-state-registration, .companionship-ads-public #loading-city-registration {
    line-height: 32px;
    font-size: 16px;
	display: none;
}

.home .companionship-ads-public #loading-state, .home .companionship-ads-public #loading-city, .home .companionship-ads-public #loading-state-registration, .home .companionship-ads-public #loading-city-registration {
	color: #fff;
}

.home .companionship-ads-public #loading-state i, 
.home .companionship-ads-public #loading-city i, 
.home .companionship-ads-public #loading-state-registration i, 
.home .companionship-ads-public #loading-city-registration i {
	color: #fff;
}

@media screen and (min-width: 482px) {

	.companionship-ads-public .profile-navigation ul {
		margin: 10px 0;
		display: inline-block;
	}

	.companionship-ads-public .profile-navigation li {
		margin-right: 20px;
		display: inline-block;
	}

	.companionship-ads-public .profile-navigation li:last-child {
		margin-right: 0;
	}

	.companionship-ads-public .profile-navigation a {
		background: none;
		color: #428bca;
		padding: 0 0;
		font-size: 16px;
	}

	.companionship-ads-public .profile-navigation a:hover, .companionship-ads-public .profile-navigation a:active, .companionship-ads-public .profile-navigation a:focus {
		color: #2a6496;
		background: none;
	}

	.companionship-ads-public .profile-navigation a.active {
		color: #2a6496;
		background: none;
	}

}

@media screen and (min-width: 600px) {

	.companionship-ads-public .actions {
		overflow: hidden;
	}

	.companionship-ads-public .actions li {
		display: inline-block;
		border-right: 1px solid #ddd;
		margin-right: 10px;
		padding-right: 14px;
	}

	.companionship-ads-public .actions li:last-child {
		padding-right: 0;
		margin-right: 0;
		border-right: 0;
	}

}

@media screen and (min-width: 991px) {

	.companionship-ads-public .page-title h1 {
		margin-top: 0;
		text-align: left;
	}

	.companionship-ads-public .profile-navigation {
		text-align: right;
	}

	.companionship-ads-public .profile-navigation ul {
		margin: 15px 0 0;
	}

	#companionship-ads-my-advertisement .create-advertisement {
		text-align: right;
	}

}

@media screen and (max-width: 991px) {

	#companionship-ads-advertisers form .col-md-4, 
	#companionship-ads-clients form .col-md-4,
	#companionship-ads-advertisers form .col-md-3,
	#companionship-ads-clients form .col-md-3 {
		margin-bottom: 10px;
	}

	#companionship-ads-advertisers form .col-md-4 .col-md-8, #companionship-ads-clients form .col-md-4 .col-md-8 {
		margin-bottom: 10px;
	}

	#companionship-ads-advertisers form .col-md-4:last-of-type, #companionship-ads-clients form .col-md-4:last-of-type {
		margin-bottom: 0;
	}

	.companionship-ads-public #loading-state, .companionship-ads-public #loading-city, .companionship-ads-public #loading-registration {
		text-align: center;
	}

	#my-profile-and-ads {
		text-align: center;
	}
	
	.translator {
		margin-top: 0 !important;
		text-align: center !important;
		float: none !important;
	}

}

@media screen and (max-width: 767px) {

	#companionship-ads-search-by-location-form .row > div { 
		margin-bottom: 10px !important; 
	}

	#search-by-location-form input[type="submit"] { 
		margin-top: 10px !important; 
	}

}

@media screen and (max-width: 386px) {

	.companionship-ads-public .filter-by-location-label span { 
		display: block; 
	}

}

@media screen and (min-width: 992px) and (max-width: 1199px) {

	.companionship-ads-public .filter-by-location-label { 
		font-size: 15px; 
	}

	.companionship-ads-public .filter-by-location-label span { 
		font-size: 12px; 
	}

}
