@import url("//fonts.googleapis.com/css?family=Raleway:400,700,900");

/* Adjust:
	border colour, 
	horizontal padding (#job-ad-header, #job-ad-content, #job-ad-footer), 
	vertical margin (.job-ad-part), 
	header and footer background images, 
	copy styling for header and anchor tags, generic fonts and line heights.
*/

#job-ad-template *
{
	margin: 0;
	padding: 0;
	border-width: 0;
	
	font: inherit;
	text-align: left;
	outline: 0;
}
#job-ad-template
{
	overflow: hidden;
	float: left;
	width: 458px;
	border: solid 3px #333; /* border colour here */
	
	border-radius: 0;
	/* generic font styling here */
	font-size: 14px;
	line-height: 1.5;
	color: #333;
}
#job-ad-template.job-ad-mickey
{
	width: 536px;
}
#job-ad-template a
{
	text-decoration: none;
	color: #ec6800;
}
#job-ad-template a:hover, 
#job-ad-template a:focus, 
#job-ad-template a:active
{
	text-decoration: none;
	color: #333;
}
#job-ad-template p
{
	margin: 0 0 1.5em 0;
}
#job-ad-template ul
{
	padding: 0 0 0 16px;
	margin: 0 0 1.5em 0;

	list-style: disc;
}
#job-ad-template ol
{
	padding: 0 0 0 22px;
	margin: 0 0 1.5em 0;
}
#job-ad-template ol li
{
	padding: 0;
	margin: 0;
}
#job-ad-template ul li
{
	display: list-item;
	padding: 0;
	margin: 0;
	
	list-style: disc;
}
#job-ad-template li:before
{
	display: none;
}
#job-ad-template #job-ad-content
{
	padding: 1em 1.5em; /* horizontal padding  here*/
}
#job-ad-template .job-ad-part
{
	margin: 1.5em 0; /* vertical margin here */
}
#job-ad-template #job-ad-header
{
	overflow: hidden;
	position: relative;
	padding: 1.5em;

	/*background: url("../images/.jpg") no-repeat 0 0;*/
	background-size: cover;
}
#job-ad-template #job-ad-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    background-color: #fff;
    border-bottom: 2px solid;
}
#job-ad-template.has-logo- #job-advertiser-logo, 
#job-ad-template.has-logo-0 #job-advertiser-logo
{
	/*display: none;*/
}
#job-ad-template #job-advertiser-logo {
    position: relative;
    z-index: 10;
    float: right;
    width: 200px;
    height: auto;
    background-repeat: no-repeat;
    background-position: right 50%;
    background-size: auto 100%;
    background-image: url(../images/job-ad-logo.png;) !important;
}
#job-ad-template #job-ad-title h1 {
    position: relative;
    z-index: 10;
    padding: 0;
    border: 0;
    margin: 0;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 400;
    font-family: 'Museo 300', serif;
    color: #ec6800;
    float: left;
    text-transform: capitalize;
}
#job-ad-template #job-ad-title h1 .firstText{
    color: #ec6800;
}
#job-ad-template .job-ad-option
{
	display: table-row;
}
#job-ad-template .job-ad-optional-heading, 
#job-ad-template .job-ad-optional-text
{
	display: table-cell;
	vertical-align: top;
}
#job-ad-template .job-ad-optional-heading
{
	padding: 0 1em 0 0;
	font-weight: 700;
}
#job-ad-template .job-ad-optional-text div
{
	display: inline-block;
}
#job-ad-template #job-ad-footer a
{
	display: block;
	padding: 0.5em 0;
	
	text-align: center;
	background: #ec6800;
	color: #fff;
}
#job-ad-template #job-ad-footer a:hover, 
#job-ad-template #job-ad-footer a:focus, 
#job-ad-template #job-ad-footer a:active
{
	background: #333;
	color: #fff;
}

@media screen and (max-width: 599px) {
	
	#job-ad-template .job-ad-option
	{
		margin: 0.5em 0;
	}
	#job-ad-template .job-ad-option, 
	#job-ad-template .job-ad-optional-heading, 
	#job-ad-template .job-ad-optional-text, 
	#job-ad-template .job-ad-optional-text div
	{
		display: block;
	}

}
@media screen and (max-width: 479px) {

	#job-ad-template #job-ad-header h2
	{
		margin-bottom: 0.5em;	
	}
	#job-ad-template #job-ad-header h2, 
	#job-ad-template #job-advertiser-logo 
	{
		float: none;
		width: auto;
	}

}

