@import url("//fonts.googleapis.com/css?family=Oswald:400");

/* 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-title{
    height:220px;
    background-image: url(../images/job-ad-template.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center;
}
#job-ad-title.bsa-banner{
    background-image: url(../images/bsa.jpg);
}
#job-ad-template {
    overflow: hidden;
    float: left;
    width: 458px;
    border: solid 1px #333;
    /* border colour here */
    border-radius: 0;
    /* generic font styling here */
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    color: #333;
}
#job-ad-template.job-ad-mickey {
    width: 536px;
}
#job-ad-template a {
    text-decoration: none;
    color: #4bc1ff;
}
#job-ad-template a:hover,
#job-ad-template a:focus,
#job-ad-template a:active {
    text-decoration: none;
    color: #333;
}
#job-ad-title p {
    width: 30%;
    float: left;
    display: inline-block;
}
#job-ad-template p {
    margin: 12px 0 1.5em 0;
}
#job-ad-template ul {
    padding: 0 0 0 18px;
    margin: 0 0 1.5em 0;
    list-style: disc;
}
#job-ad-template ol {
    padding: 0 0 0 24px;
    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 1.5em 0.6em;*/
    /*background: url("../images/.jpg") no-repeat 0 0;*/
    background-size: cover;
}
#job-ad-title p {
    float:right;
}
#job-ad-template #job-ad-header:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
    background-color: #55B4E6;
}
#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: 80px;
    height: 80px;
    background-repeat: no-repeat;
    background-position: right 50%;
    background-size: auto 100%;
}
#job-ad-template #job-ad-title h1 {
    position: relative;
    z-index: 10;
    padding: 0;
    border: 0;
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 400;
   font-family: 'Lato', sans-serif;
    color: #fff;
    display: inline-block;
    margin-top: 31px;
    margin-left: 29px;
    width: 62%;
}
#job-ad-template .job-ad-option {
    /*display: table-row;*/
    width: 100%;
}
#job-ad-template .job-ad-optional-heading,
#job-ad-template .job-ad-optional-text {
    display: inline-block;

}
#job-ad-template .job-ad-optional-heading{
    width: 28%;
    vertical-align: top;
}
#job-ad-template .job-ad-optional-text{
    width: 70%;
}
#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: #4bc1ff;
    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: #4c4c4c;
    color: #fff;
}
#job-ad-content h1{
    font-size: 20px !important;
    font-weight: 700;
    color: #333 !important;
}
#job-ad-content h1::first-letter{
    color:#333 !important;
}
@media screen and (max-width:767px) {
    #job-ad-template .job-ad-optional-heading,
    #job-ad-template .job-ad-optional-text{
        width: 100%;
    }

    #job-ad-header,
    .job-detailtop-title.active{
        display: none !important;
    }
    #job-ad-title{
        display: none;
    }
    .job-detailtop-title {
        margin-top: 77px !important;
        margin-left: 1.5em !important;
    }
    #job-ad-title p {
        display: block;
        float: none;
        text-align: center;
        width: auto;
        margin-bottom:10px;
    }
    #job-ad-title p img {
        text-align: center;
    }
    #job-ad-template #job-ad-title h1 {
        text-align: center;
        padding: 10px 0px;
        float: none;
        display: block;
        width: 100%;
        margin: 0px auto;
    }
}
@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;
    }
    #job-ad-template #job-ad-title h1{font-size:26px;padding:0px 0px 8px;}
    
}
