/*
 Theme Name:   TM Divi Child
 Theme URI:    
 Description:  A Child Theme built for Divi
 Author:       True Momentum
 Author URI:   http://www.truemomentum.co.uk
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


@import url("../Divi/style.css");


a 			{ color: #11759B; text-decoration: none; }

.et_pb_image_container { margin:0;}

h1  { 	 
background: url(/wp-content/themes/Divi-Child-TM/Pathfinder-Bullet.png) no-repeat top right;
background-position-y: 2px;
background-size: 25px 25px;
font-family: "Open Sans",Helvetica,Arial,sans-serif;
/*
font-size: 30px;
font-weight: bold;
*/
color: #000;
display: inline-block;
padding-right: 35px;
}

h2  { 	 
background: url(/wp-content/themes/Divi-Child-TM/Pathfinder-Bullet.png) no-repeat top right;
background-position-y: 2px;
background-size: 25px 25px;
font-family: "Open Sans",Helvetica,Arial,sans-serif;
font-size: 30px;
font-weight: bold;
color: #000;
display: inline-block;
padding-right: 35px;
}

#AdvertIMAGE img 		{ opacity: 1; filter: alpha(opacity=100); }	
#AdvertIMAGE img:hover	{ opacity: 0.65; filter: alpha(opacity=65); }

#AdvertIMAGE { margin-bottom:0 !important;}


/* Remove vertical line from left of sidebar */
#main-content .container:before	{ width:0; }
.et_pb_widget_area_left { border-right: none; padding-left: 0px; padding-right: 30px; }

/* Blog Archive - Masonry */
/*
* Remove sidebar on all archive pages

.search #main-content .container::before,
.archive #main-content .container::before {
    display: none;
}
.search #left-area,
.archive #left-area {
    width: 100%;
    float: none;
    padding-right: 0;
}
.search #sidebar,
.archive #sidebar {
    display: none;
}
*/ 


/*
* Create Mansonory styles for archive pages
*/
.search #left-area,
.archive #left-area {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 60px;
         column-gap: 60px;
}
 
.archive .et_pb_post > a,
.search .et_pb_post > a {
    margin: -20px -20px 10px;
    display: block;
}
 
.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
    overflow: hidden; /* fix for Firefox */
    page-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%;
    padding: 19px;
    border: 1px solid #d8d8d8;
    background-color: #fff;
    word-wrap: break-word;
    display: inline-block;
	float: left;
}
 
.search #left-area .et_pb_post h2,
.archive #left-area .et_pb_post h2 {
    font-size: 18px;
}
 
.search #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-audio,
.archive #left-area .et_pb_post.format-link,
.archive #left-area .et_pb_post.format-quote,
.archive #left-area .et_pb_post.format-audio{
    padding: 0;
}
 
.archive .et_pb_post .et_pb_image_container,
.archive .et_pb_post .et_main_video_container,
.archive .et_pb_post .et_audio_content,
.archive .et_pb_post .et_pb_slider,
.search .et_pb_post .et_pb_image_container,
.search .et_pb_post .et_main_video_container,
.search .et_pb_post .et_audio_content,
.search .et_pb_post .et_pb_slider {
    margin: -20px -20px 10px;
}
 
.archive .et_pb_post.format-audio .et_audio_content{
    margin: 0px -38px 0px;
}
 
.archive .et_pb_post .et_pb_slider .et_pb_slide,
.search .et_pb_post .et_pb_slider .et_pb_slide {
    min-height: 180px;
}
 
.archive .pagination,
.search .pagination {
    padding: 20px 0;
}
 

/* Hide "no results" message on blog module */
.et_pb_blog_grid .no-results {
    display: none;
} 
 
 
/*
* Media Queries
*/
@media screen and (max-width: 980px) {
    .search #left-area,
    .archive #left-area {
        -moz-column-count: 2;
            column-count: 2;
        -moz-column-gap: 60px;
            column-gap: 60px;
    }
}
@media screen and (max-width: 767px) {
    .search #left-area,
    .archive #left-area {
        -moz-column-count: 1;
            column-count: 1;
    }
    .search .et_pb_post.format-audio .et_audio_content,
    .archive .et_pb_post.format-audio .et_audio_content{
        margin: 0;
    }
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total{
        min-width: 300px!important;
        width: 300px!important;
    }
}




/* Email optin */
.et_pb_newsletter  				{ padding: 0; }

.et_pb_newsletter_form			{ clear:left; width:100%; padding-left:0 !important;  }
.et_pb_newsletter_form p 		{ float:left; width: 24%; margin-right: 1%; }

#PFI_Optin h2  					{ background: url(/wp-content/themes/Divi-Child-TM/Pathfinder-Bullet-WHITE.png) no-repeat top right; }
#PFI_Optin h2.et_pb_subscribed  { background: none; font-size: 14px; font-weight:normal; }

@media 
only screen and (min-device-width : 320px) and (max-device-width : 600px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-width : 320px) and (max-width : 600px) and (orientation : portrait) {
#PFI_Optin p  { clear:left; width:100%; }
}

@media 
only screen and (min-device-width : 320px) and (max-device-width : 600px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-width : 320px) and (max-width : 600px) and (orientation : landscape) {

}




/* WP Job Manager 


/*Latest Jobs */
@media 
only screen and (min-device-width : 320px) and (max-device-width : 600px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-width : 320px) and (max-width : 600px) and (orientation : portrait) {
.position 	{ clear:both; width:100% !important; }
.company	{ clear:both; width:100% !important; padding-top:8px !important; }
.location 	{ clear:both; width:100% !important; padding-top:8px !important; text-align:left; }
ul.job_listings 							 	{ padding:0 !important; }
ul.job_listings li.job_listing a div.location 	{ width:100% !important; }
ul.job_listings li.job_listing a .meta 			{ width:100% !important; }
}

/*
.company_logo 					{ display:none; } 
.single_job_listing .company 	{ display:none; }
*/

.job_filters .search_jobs 		{ background-color: #11759B; border-radius: 10px; }
.job_filters 					{ background: #F9F9F9; }

/*
.job_filters .search_jobs div.filter_wide, .job_filters .search_jobs div.search_categories 
								{ clear: none; float: left; width: 32%; margin-right: 1%; padding-top: 0; }
*/

.job_filters .search_jobs input, .job_filters .search_jobs select 
								{ border-radius: 5px; margin-top: 2px; }

/*
.job_filters .search_jobs div.filter_first, .job_filters .search_jobs div.search_keywords 
								{ margin-bottom: 0.5em; width: 100%; }
*/

.job_filters .job_types 		{ float: right; padding: 0 !important; }

.job_filters .showing_jobs a 	{ padding-right: 20px; }

.job_types li 					{ list-style-type: none; }
.single_job_listing .meta li	{ list-style-type: none; }


/* Location */
.rp4wp-related-job_listing>ul li.job_listing a div.location, .rp4wp-related-job_listing>ul li.no_job_listings_found a div.location, ul.job_listings li.job_listing a div.location, ul.job_listings li.no_job_listings_found a div.location {
   width:20%; }

.search_region {
    clear: none;
    float: left;
    width: 32%;
    margin-right: 1%;
}

.job_filters .search_jobs div.filter_wide, .job_filters .search_jobs div.search_categories {
    clear: none;
    float: left;
    width: 32%;
    margin-right: 1%;
    padding-top: 0;
}


.job-manager .full-time, .job-types .full-time, .job_listing .full-time 
								{ color: #11759B; }

.single_job_listing .meta .full-time 
								{ background-color: #11759B; }
								
.job-manager .part-time, .job-types .part-time, .job_listing .part-time 
								{ color: #99B4BF; }
								
.single_job_listing .meta .part-time 
								{ background-color: #99B4BF; }

.single_job_listing .company { min-height: 5em; }




/* Resettlement Services */
#ResettlementSERVICES h2	{ padding-bottom:25px; }

#ResettlementLISTING_HP .wpbdp-pagination { display:none; }

.wpbdp_listing {
    -moz-column-count: 1 !important;
         column-count: 1 !important;
    -moz-column-gap: 0px !important;
         column-gap: 0px !important;
}


.wpbdp-categories .cat-item 				{ padding-left: 0% !important; padding-right: 5% !important; }
.wpbdp-categories .cat-item:nth-child(3n+1) { padding-left: 0% !important; padding-right: 0% !important; }

.wpbdp-categories .cat-item { min-height: 155px; line-height: 1.1; }


/* Previous Issues */
#PreviousISSUES h2	{ height:35px; }


/* Post Pagination */
.page-links			{ font-size:110%; font-weight:bold; padding-top:10px; }


/* Sliders */

@media only screen and (min-width:981px) {
    .HomePageSLIDER_1, .HomePageSLIDER_1 .et_pb_container {
     height: 175px; /*edit your height here*/
    }
 
    .HomePageSLIDER_1, .HomePageSLIDER_1 .et_pb_slide {
        max-height: 175px; /*edit your height here*/
    }
 
     .HomePageSLIDER_1 .et_pb_slide_image {
		 margin-top:-35px !important;
	 }
 
    .HomePageSLIDER_1 .et_pb_slide_description {
        position: relative;
        top: 35%; /*edit to fit your height here*/
        padding-top: 0 !important;
        padding-bottom:0 !important;
        height:auto !important;
    }


    .HomePageSLIDER_2, .HomePageSLIDER_2 .et_pb_container {
     height: 100px; /*edit your height here*/
    }
 
    .HomePageSLIDER_2, .HomePageSLIDER_2 .et_pb_slide {
        max-height: 100px; /*edit your height here*/
    }
 
     .HomePageSLIDER_2 .et_pb_slide_image {
		 margin-top:-30px !important;
	 }
 
    .HomePageSLIDER_2 .et_pb_slide_description {
        position: relative;
        top: 35%; /*edit to fit your height here*/
        padding-top: 0 !important;
        padding-bottom:0 !important;
        height:auto !important;
    }


	.HomePageSLIDER_2 .et_pb_more_button {
		top: -1000px;
		right: -1000px;
		height: 5000px;
		width: 5000px;
		position: absolute;
		opacity: 0 !important;
	}
	
	.HomePageSLIDER_2 .et_pb_button:hover {
		opacity: 0 !important;
	}



}

/*Button Updates */
.pfi_BUTTON		 		{ color:#fff; background:#11759B; border-color:#11759B; }
.pfi_BUTTON:hover 		{ color:#fff; background:#99B4BF; border-color:#99B4BF; }

/* Previous Issues */
#PI_PreviousIssue		{ float:left; width:33.3%; padding:20px 0 40px 0 ; }
#PI_PreviousIssue_IMG	{ clear:both; width:85%; padding:20px 0; }


/* Adverts */
#HP_Advert_TR img		{ max-height:101px; }



/* Sidebar Adverts */
#SidebarADVERT			{ clear:both; padding:0 0 15px 0; }

@media 
only screen and (min-device-width : 320px) and (max-device-width : 600px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-width : 320px) and (max-width : 600px) and (orientation : portrait) {
}

@media 
only screen and (min-device-width : 320px) and (max-device-width : 600px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-width : 320px) and (max-width : 600px) and (orientation : landscape) {
#SidebarADVERT			{ clear: none; float:left; width:48%; padding:0 0 15px 0; margin:0 1%; }
}


/* Advertising Stat's */
#AdSTATS_Title				{ float:left; width:30%; }
#AdSTATS_reset				{ float:right; width:70%; }
#AdSTATS_Content			{ clear:both; padding-top:10px; min-height: 130px; }
#AdSTATS_Content_LEFT		{ float:left; width:35%; }
#AdSTATS_Content_RIGHT		{ float:left; width:60%; margin-left:4%; }
#AdSTATS_Content_RIGHT_C1	{ clear:left; float:left; width:33%; padding-top:8px; }
#AdSTATS_Content_RIGHT_C2	{ float:left; width:33%; padding-top:8px; }
#AdSTATS_Content_RIGHT_C3	{ float:left; width:33%; padding-top:8px; }



/* Memberbship Pages */
#pmpro_levels_table, .pmpro_confirmation_wrap, .pmpro_billing_wrap, #pmpro_invoices_table, #pmpro_cancel	{ margin-top:35px; }

#pmpro_levels_table th, #pmpro_invoices_table th { color:#fff; background-color:#11759B; }

.pmpro_btn { color:#fff; background-color:#11759B; }

/* Login */
.et_pb_login_form								{ width:50% !important; }
.et_pb_login .et_pb_contact_form_field			{ width:100% !important; } 
.et_pb_login p									{ clear:left; }