/*
 Theme Name:   CEFLEX
 Theme URI:    
 Description:  CEFLEX
 Author:       Blackbox Web Design
 Author URI:   https://www.blackboxdesign.co.uk
 Template:     Divi
 Version:      2.0.1
 Tags:         
 Text Domain:  
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* ----- Typography -------- */

body {
	font-family: 'Source Sans Pro', sans-serif;
}

h1,h2,h3,h4,h5,h6 {
	line-height:1.1em;
	font-family:'Fabrikat-Black', arial, sans-serif;
}

h1.d4, h2.d4, h3.d4 {
	color:#85ab2b;
	
}

.custom_blurb_content a {
color:#fff;
}

.cef_subhead {
text-transform: uppercase;
letter-spacing:2px;
font-size:0.9em;
font-weight:700;
}

.cef_subhead.und {
border-bottom: 1px solid #999;
padding-bottom:6px;
}

.cef_introhead {
/*text-transform: uppercase;*/
/*letter-spacing:2px;*/
font-size: 1.3em;
font-weight:700;
line-height:1.5em;
color:#005399;
text-align:justify;
padding-bottom:20px !important;
}

h1.bighead {
font-size:3em;
font-family: 'Fabrikat-Black', arial, sans-serif;
font-weight:300;
color:#888;
}

h1.bighead.inner_title {
	color:#85ad2b;
	border-bottom:4px solid #85ad2b;
	margin-bottom:20px;
}

h1.bighead.title {
	font-size:4em;
	color:#fff;
	text-transform:uppercase;
}

.single-post h1 {
	color:#85ad2b;
	font-size:3em;
	border-bottom: 4px solid #85ad2b;
    margin-bottom: 20px;
}

.single-post h2 {
	color:#85ad2b;
	font-size:2em;
}

h2.bighead {
font-size:2em;
font-family: 'Fabrikat-Black', arial, sans-serif;
color:#999;
}

h2.subhead {
	color:#85ad2b;
	font-size:3em;
	border-bottom:4px solid #85ad2b;
	margin-bottom:20px;
}

h3.bighead {
	color:#85ad2b;
	font-size:1.8em;
	font-family: 'Fabrikat-Black', arial, sans-serif;
}

p + h3.bighead {
	margin-top:20px;
}

.bighead.three {
font-size:3em;
}

.capshead {
text-transform: uppercase;
font-size:30px;
font-weight:700;
font-family: 'Fabrikat-Black', arial, sans-serif;
color:#888;
}

p.subtitle {
	font-family:'Fabrikat-Medium', arial, sans-serif;
	font-size:1.4em;
	color:#fff;
}

p.heading_para {
	color:#005fab;
	font-family: Fabrikat-Medium;
	font-size:1.4em;
	font-weight:400;
	line-height:1.3em;
	text-align:justify;
}

p.interview_q {
	color:#005fab;
	font-family: Fabrikat-Medium;
	font-size:1.3em;
	font-weight:400;
	line-height:1.2em;
}

p.standout {
	font-size:1.2em;
	font-weight:700;
	line-height:1.4em;
}

p.standout.green {
	color:#85ad2b;
}

p.image_caption {
    font-size: 90%;
    line-height: 1.4em;
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
}

div.interview_a {
	padding-left:20px;
	border-left:2px solid #e1e1e1;
	margin-bottom:30px;
}

.embed_quote {
	padding-left:20px;
	border-left:2px solid #e1e1e1;
	margin-bottom:30px;
	font-style:italic;
	font-weight:700;
}

.cef_pullquote {
	padding: 30px;
    background-image: url(/wp-content/uploads/2020/10/green_bg_elements_v2_1920.jpg);
	background-size:cover;
	background-position:bottom;
    color: #fff;
    font-size: 1.4em;
    font-family: 'Fabrikat-Black', serif;
    margin-bottom: 30px;
}

.cef_pullquote.with_image {
	overflow:hidden;
}

.cef_pullquote.with_image .wp-caption {
	background-color:transparent;
	border:none;
	margin-bottom:0;
}

.cef_pullquote.with_image .wp-caption .wp-caption-text {
	padding-bottom:0;
}

.cef_pullquote.clear {
	clear:both;
}

.cef_pullquote, .cef_pullquote p {
	font-family:'Fabrikat-Medium', arial, sans-serif;
}

.cef_pullquote p:empty {display:none}

.cef_pullquote a {
	color:#fff;
	text-decoration:underline;
}

p:not(.has-background):last-of-type {
	padding-bottom:1em;
}

h1.logo:before, h2.logo:before, h3.logo:before, li.logo:before {
content: url('/wp-content/uploads/2017/03/logomark_20h.png');
margin-right:10px;
}

a.cef_button {
font-size:1.2em;
text-transform:uppercase;
font-weight:700;
letter-spacing:2px;
color:#888;
}

a.cef_button2{
font-size:1.2em;
text-transform:uppercase;
font-weight:700;
letter-spacing:2px;
background-color:#005399;
display: inline-block;
padding: 5px 20px;
color:#fff;
border-radius:10px;
}

a.d4_button.white, .boxed_text.green a.white {
	font-size:1.0em;
	text-transform:uppercase;
	font-weight:700;
	letter-spacing:1px;
	background-color:#fff;
	display: inline-block;
	padding: 5px 20px;
	color:#85ab2b;
	border-radius:20px;
	transition:0.3s all;
}

a.d4_button.white.alt:hover {
	background-color:#005fab;
	color:#fff;
}

a.cef_button_3 {
    font-size: 20px;
    text-transform: uppercase;
    background-color: #005fab;
    border-radius: 30px 30px 30px 30px;
	padding:20px 40px;
	color:#fff;
	display:inline-block;
}

a.cef_button:hover::after {
font-family: 'FontAwesome';
content: '\f0da';
}

a.cef_inline_icon {
	color:#85ad2b;
}

.boxed_text.green a {
	color:#fff;
	text-decoration:underline;
}

ul.bold_list li {
	font-weight:700;
	line-height: 1.4em;
    padding-bottom: 10px;
}

ul.cef_list_normal {
list-style-type: square;
}

ul.cef_list_normal ul {
list-style-type: circle;
}

ul#top-menu.nav li a {
text-transform: initial;
font-size:13px;
	font-weight:400;
}

ul.cef_list {
list-style:none;
padding-left:0;
}

ul.cef_list li {
margin-bottom:10px;
}

.cef_member_logos .et_pb_blurb h4 a {
font-weight:400;
font-size:14px;
}

ul.cef_menu_list {
list-style: none;
padding: 10px 0 10px 0;
}

div.cef_intro ul.cef_list li ul li {
list-style: square !important;
}

ul.cef_menu_list li {
min-height:40px;
}

ul.cef_menu_list li a {
text-transform: uppercase;
font-weight:400;
display: inline-block;
margin-bottom: 10px;
background-color:#aaa;
border-radius: 10px;
width:100%;
color:#fff;
height:100%;
}

div.cef_intro {
font-size: 16px;
margin-top:20px;
}

ul.indent {
list-style-type: square;
padding-left:30px;
}

table.pr_table {
margin-top:30px;
border:none;
}

table.pr_table td, table.pr_table th {
padding:0 !important;
border:none;
}

sup {
bottom: 0.4em;
font-size:0.6em;
}

.webtrain h3 {
font-size: 16px;
}

.webtrain .et_pb_column .et_pb_module {
margin-bottom: 2% !important;
}

.d4_boxed_text h2 {
	color:#fff;
}

#pm_team_members .et_pb_text strong {
	font-family:'Fabrikat-Medium', arial, sans-serif;
}

.cef_contact_person p:first-of-type {
	padding-bottom:10px;
}

.cef_contact_person p {
	line-height:1.2em;
}

#cef_contact_socials img {
	width:30px;
}

#cef_contact_socials ul {
	list-style:none;
	padding-left:0;
}

#cef_contact_socials ul li {
	display:inline-block;
	margin-right:10px;
}

#cef_contact_socials.white ul li {
	margin-right:20px;
}

#cef_contact_socials.white ul li:last-of-type {
	margin-right:0;
}

.cef_interviewee {
	font-weight:700;
}
.cef_interviewee span {
	font-family: 'Fabrikat-Black', arial, sans-serif;
	font-size:24px;
}

.mfp-title {
	display:none;
}

/* --- Privacy ----*/
div.jqreveal {
	display:none;
	padding:20px;
	background-color:#f7f7f7;
	margin-top:20px;
}

div.jqreveal.white {
	background-color:#fff;
}

table#cookie_table {
	background-color:#fff;
	padding:10px;
	margin-top:20px;
}

.priv h2, .priv h3 {
	line-height:1.3em;
	margin-top:15px;
}

a.jqtoggle:hover {
	cursor:pointer;
}

/* --- Compact Cookie Notification, for use with GDPR Cookie Consent --- */

a#cookie_action_close_header {
	display:block;
	width: 100px;
	margin-left:auto;
	margin-right:auto;
	margin-top:10px;
	margin-bottom:10px;
}

#cookie-law-info-bar span {
	display:inline-block;
	line-height:1.5em;
	
}
a#CONSTANT_OPEN_URL {
	font-style:italic;
	font-size:0.9em;
}


/* ----- interpack news item --- */
table#interpack td:first-of-type {
width:30%;
}

table#interpack td a {
display:block;
text-align:center;
font-size:0.8em;
}

table#interpack td img {
width:50%;
margin-left:auto;
margin-right:auto;
display:block;
}

table#interpack td {
border: 1px solid #ccc;
}

table#interpack tr.spacer {
display:block;
}

table#interpack_mob tr {
border: 2px solid #ccc;
}

table#interpack_mob tr td {
font-size:11px;
line-height:14px;
}

table#interpack_mob tr.spacer {
display:block;
height:15px;
border:none;
}

/* ---- Perception/Reality ---- */

table#myths td, table#myths_mob td {
width:50%;
background-color:#fff;
}

table#myths, table#myths td, table#myths tr, table#myths th, table#myths_mob, table#myths_mob td, table#myths_mob tr, table#myths_mob th {
border: 1px solid #e1e1e1;
}

table#myths th, table#myths_mob th {
background-color: #84ad2b;
color:#fff;
}


/* ------- Navigation ------ */

/* ----- Header slider ----- */

.et_pb_slider .et_pb_slide {
box-shadow: none;
}

/*#cef_home_slider .et_pb_slide {
min-height: calc(100vh - 80px);
}*/

.et_pb_slide_description {
animation-name: none !important;
-webkit-animation-name: none !important;
-moz-animation-name: none !important;
-ms-animation-name: none !important;
-o-animation-name: none !important;
}

/* ----- Additional Columns ----- */

.ten-columns .et_pb_module {width: 10%; float: left;}
.nine-columns .et_pb_module {width: 11.11%; float: left;}
.eight-columns .et_pb_module {width: 12.5%; float: left;}
.seven-columns .et_pb_module {width: 14.28%; float: left;}
.six-columns .et_pb_module {width: 16.66%; float: left;}
.five-columns .et_pb_module {width: 20%; float: left;}

/* ---- Custom Blurbs ---- */

.custom_blurb {
width:100%;
}

.custom_blurb_wrapper {
width:100%;
position:relative;
padding-bottom:75% !important;
opacity:0.95;
}

.cef_fw_grid.small .custom_blurb_wrapper {
padding-bottom:40% !important;
background-size:cover !important;
}

.cef_fw_grid.small .custom_blurb.grid2, .cef_fw_grid.small .custom_blurb.grid4 {
background-size: cover !important;
}


.custom_blurb_wrapper:hover {
opacity:0.8;
}

.custom_blurb_wrapper:before {
position:absolute;
width:100%;
height:100%;
content: "";
background-color:rgba(0,0,0,0.5);
display: block;
z-index: 0;
}

.custom_blurb_wrapper:before::hover {
background-color: rgba(0,0,0,0.6);
}

.custom_blurb.who .custom_blurb_wrapper {
background-image: url('/wp-content/uploads/2017/03/who_we_are_sample.jpg');
}



.custom_blurb.what .custom_blurb_wrapper {
background-image: url('/wp-content/uploads/2017/03/what_we_do_sample.jpg');
}

.custom_blurb_content {
position:absolute;
bottom:5%;
left:5%;
color:#fff;
text-transform: uppercase;
letter-spacing: 2px;
font-size:1.2em;
font-weight:700;
}

#jig_blurb .et_pb_main_blurb_image img {
max-width: 100px;
}

#jig_blurb .et_pb_main_blurb_image {
margin-bottom: 10px;
}

.box_blurb .et_pb_main_blurb_image img {
border: 1px solid #999;
}

.mont {
font-family: 'Montserrat', sans-serif;
font-weight:700;
color:#888;
}

.keypoint {
font-family: 'Montserrat', sans-serif;
font-weight:700;
font-size:1.3em;
color:#63a335;
}


.parenthetical {
font-size:0.8em;
font-style:italic;
	line-height:1.3em;
}

.et_pb_blurb h4.et_pb_module_header {
font-family:'Fabrikat-Medium'!important;
font-weight: 700;
color:#005fab;
}

.challenges div {
background-color:#fff;
padding:10px;
margin-bottom:20px;
}

.et_pb_blurb.border_blurb .et_pb_main_blurb_image a img {
border:1px solid #aaa;
}

/* ----- Fullwidth grid ---- */

.cef_fw_grid {
max-width: 2000px;
margin-left:auto;
margin-right:auto;
}

.cef_fw_grid .et_pb_column {
width:24.85% !important;
margin-right:0.2%;
}

.cef_fw_grid .et_pb_column:first-of-type {
margin-left:auto !important;
}

.cef_fw_grid .et_pb_column:last-of-type {
margin-right:0 !important;
}

.custom_blurb.grid2 .custom_blurb_container  {
background-image: url('/wp-content/uploads/2017/04/CEFLEX_600_450_2.jpg');
background-size:cover !important;
background-position: center;
}

.custom_blurb.grid4 .custom_blurb_container {
background-image: url('/wp-content/uploads/2017/03/resources_600.jpg');
background-position:center;
}

.custom_blurb.grid1 .custom_blurb_wrapper {
background-image: url('/wp-content/uploads/2017/03/who_we_are_2a.jpg');
background-size: contain;
background-position: center top;
}

.custom_blurb.grid2 .custom_blurb_wrapper {
background-color: #999;
}

.custom_blurb.grid3 .custom_blurb_wrapper {
background-image: url('/wp-content/uploads/2017/03/europe_600.jpg');
background-size: contain;
}

.custom_blurb.grid4 .custom_blurb_wrapper {
/*background-color: #005399;*/
}

span.grid_content, div.custom_blurb_content ul li {
font-size:0.8em;
font-weight:500;
letter-spacing:0;
text-transform: initial;
}

div.custom_blurb_content ul {
list-style: none;
padding: 0 0 23px 0;
line-height:20px;
}

.et_pb_blog_grid.hide_content p.post-meta, .et_pb_blog_grid.hide_content div.post-content {
display: none;
} 

.et_pb_blog_grid .et_pb_image_container img {
border: 1px solid #aaa;
}

#who_we_are {
padding:30px 20px;
}

#pm_team_members .et_pb_text {
padding:10px;
border: 1px solid #999;
}

body.page-id-324 .custom_blurb.grid1, body.page-id-442 .custom_blurb.grid2, body.page-id-484 .custom_blurb.grid3, body.page-id-579 .custom_blurb.grid4 {
border-bottom: 6px solid darkseagreen;
}

/* ----- Image Map ----- */

.img_map_wrapper {
width:100%;
max-width:500px;
margin-left:auto;
margin-right:auto;

}

.img_map_container {
width:100%;
padding-bottom:100%;
background-image:url('/wp-content/uploads/2020/10/workstream_mapv3_500.jpg');
position:relative;
background-size:contain;
}

.img_map_container a {
position:absolute;
width:20%;
height:15%;
text-indent:-5000px;
}

.img_map_content {
position:absolute;
width:100%;
height:100%;
}

a#ws1 {
left:40%;
top:5%;
}  

a#ws2 {
left:69%;
top:22%;
} 

a#ws3 {
left:73%;
top:51%;
} 

a#ws4 {
left:54%;
top:75%;
} 

a#ws5 {
left:25%;
top:72%;
} 

a#ws6 {
left:7%;
top:47%;
} 

a#ws7 {
left:13%;
top:20%;
}

/* Stakeholders, Ajax Load More */

.alm-reveal {
	display:flex;
	flex-wrap:wrap;
}

.alm-item {
	flex-basis:21.25%;
	margin-right:5%;
	margin-bottom:30px;
	text-align:center;
}

p.cef_alm_stakeholder {
font-family: 'Fabrikat-Medium', sans-serif !important;
	font-size:14px;
}

p.cef_alm_stakeholder a {
	color:#005fab;
}

.alm-item:nth-of-type(4n) {
	margin-right:0;
}

.cef_alm_stakeholder {
	text-align:center;
}

.cef_stakeholders_table .et_pb_tabs_controls {
	text-align:center;
}

.cef_stakeholders_table .et_pb_tabs_controls li {
	border:none;
	float:none;
	display:inline-block;
	
}

.cef_stakeholders_table .et_pb_tab_active {
	background-color:#85ad2b!important;
}

.cef_stakeholders_table .et_pb_tab_active a {
	color:#fff!important;
}

/* ----- Section spacing ------ */

.single-post .et_pb_section_0 {
	padding:0;
}


/* ------- Main Content ------ */

#main-content {
	min-height:calc( 100vh - 53px );
}

.d4_boxed_text {
	padding:40px;
	color:#fff;
	position:relative;
}

.d4_download_cta {
    background-color: #005fab;
    padding: 20px;
    display: table;
    text-align: center;
    width: 100%;
}

.d4_boxed_text.triangle:before {
		position:absolute;
		-webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
		content:'';
		background-color:#005fab;
		bottom:0;
		right:0px;
		width:30px;
		height:30px;
		display:block;
		z-index:1;
	}

.d4_boxed_text.triangle.tl:before {
	top:0;
	left:0;
	right:initial;
	bottom:initial;
	transform:rotate(180deg);
}

.d4_boxed_text.green {
	background-color:#85ab2b;
}

.d4_boxed_text.blue {
	background-color:#005fab;
	background-image:none;
}

.d4_boxed_text.blue::before {
    position: absolute;
    clip-path: polygon(0 0,100% 0,0 100%);
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
    background-color: #89a4d6;
    content: '';
}

.boxed_text.green {
	background-image:url(/wp-content/uploads/2020/06/green_bg_elements_1080.jpg);
	color:#fff;
	padding:30px;
	margin-bottom:30px;
}

.boxed_text.green h3 {
	color:#fff;
}

.et_pb_section#guidelines_request {
	min-height:calc( 100vh - 74px );
}

.shadow img {
box-shadow: 5px 5px 3px #999999;
}

.cef_interview_box {
	padding: 20px;
    background-color: #c1deb9;
    border-radius: 20px;
	text-align:right;
}

.cef_interview_box img {
	border-radius:50%;
	margin-right:0;
	width:100px;
}

.cef_interview_box.multiple_interviewees img {
	display:inline;
	margin-right:8px;
}

.cef_quote_box {
	overflow:hidden;
	display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin-bottom: 30px;
	background:#f1f1f1;
}

.cef_quote_box img {
	max-width:200px;
}

.cef_inline_icon.small img {
	display:inline-block;
	max-width:40px;
	position:relative;
	top:5px;
}

.cf_pp_wrapper {
	padding: 20px;
    background-color: #e9e9e9;
}

.cf_pp_item img {
	max-width:80px;
}

.cf_pp_item p:empty {
	display:none;
}

.ce_brand_bg_f7 {
	background: #f7f7f7 url(/wp-content/uploads/2021/03/green_bg_elements_2000.png) center no-repeat; 
}

#valueflex .et_pb_slide_4, #valueflex .et_pb_slide_0, #valueflex  .et_pb_slide_8, #valueflex .et_pb_slide_1, #valueflex  .et_pb_slide_7, #valueflex  .et_pb_slide_2, #valueflex  .et_pb_slide_6, #valueflex  .et_pb_slide_3, #valueflex .et_pb_slide_5 {
	background-color:#e1e1e1!important;
}

/*.cef_heading_with_logo .logo_heading {
	display:inline-block;
	width: 90%;
}

.cef_heading_with_logo .head_logo {
	display:inline-block;
	width:10%;
}*/

/* Blog articles */

.et_pb_pagebuilder_layout.single-post:not(.et-tb-has-body) #main-content .et_pb_row {
	width:100%;
}

/* ---- Gravity Forms ---- */

form#gform_1 {
padding: 20px;
background-color: #f7f7f7;
}

form#gform_1 input[type="submit"] {
border:none;
display: inline-block;
background-color: #005399;
color:#fff;
padding:8px 20px;
border-radius:10px;
}

form#gform_1 label.gfield_label, form#gform_6 label.gfield_label {
font-size:12px;
font-family: 'Lato', arial, sans-serif;
}

form#gform_1 textarea {
height:120px;
}

div.gform_confirmation_wrapper {
	padding:20px;
	border:2px solid cornflowerblue;
	font-weight:700;
}

form.ceflex_consultation_reg, form.ceflex_consultation_feedback {
	padding:20px;
	border:1px solid #999;
	background:#f7f7f7;
}

.gform_wrapper form input[type="submit"], .gform_wrapper form input[type="button"] {
	display:inline-block;
	padding:8px 40px;
	background:#63a134;
	text-align:center;
	border:none;
	color:#fff;
}

.gform_wrapper form input[type="button"].gform_previous_button {
	background:#888;
}

.gform_wrapper form input[type="submit"]:hover, .gform_wrapper form input[type="button"]:hover {
	cursor:pointer;
}

div.ginput_recaptcha {
		transform:scale(0.85);
		-webkit-transform:scale(0.85);
		transform-origin:0 0;
		-webkit-transform-origin:0 0;
	}

.gform_wrapper form input[type="text"], .gform_wrapper form input[type="email"], .gform_wrapper form input[type="tel"], .gform_wrapper form textarea {
	padding:10px!important;
	font-size:14px!important;
}


/* ----- Contact 7 Forms ---- */

input[type="text"], input.text, input.title, textarea, select, input[type="email"], input[type="Phone"], .Phone input, .wpcf7-submit {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 3px;
    color: #4e4e4e;
    padding: 2px 2px 2px 10px;
    font-family: inherit;
    font-size: 12px;
}

.wpcf7-submit {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 3px;
    color: #4e4e4e;
    padding: 2px 10px 2px 10px;
    font-family: inherit;
    font-size: 12px;
}


/* ------ Footer ------ */

#footer-info {
font-size: 0.8em;
}

/* ------- Responsive ------- */

/* ---- Responsive design ---- */

/* ---- Widescreens, anything above 1400px --- */

@media only screen
and (min-width : 1400px ) {


	
}

/* ---- Everything WITHOUT the mobile menu, i.e. over 980px --- */

@media only screen
and (min-width : 980px ) {
	
	

#cef_home_slider .et_pb_slider .et_pb_slide .et_pb_slide_content {
/*width:65%;*/
margin-left:auto;
margin-right:auto;
line-height:1.5em;
}

#jig_blurb .et_pb_column .et_pb_blurb_container {
min-height:390px;
}

p#percep {
padding-top:70px;
}
	
	div#cookie-law-info-bar {
	width:20%;
	padding:20px;
	background-color:#0065b1;
	color:#fff;
}
	
}

div.eq_height {
min-height:80px;
}

/* ---- Smallish screens, but using the desktop view --- */

@media only screen
and (min-width : 980px )
and (max-width : 1200px ) {
	
	#et_mobile_nav_menu { display:block }
 
	#top-menu-nav { display:none; }

.mobile_menu_bar:before {
content: "\61";
font-size: 44px;
left: 0;
position: relative;
top: 0;
cursor: pointer;
color: #444;
}

.et_mobile_menu {
width: 20%;
right: 55px;
left: auto;
padding: 1%;
}

	
}

/* ---- Everything WITH the mobile menu, i.e. below 980px ---- */

@media only screen
and (max-width : 979px ) {

#cef_home_slider .et_pb_slide_content.et-hide-mobile {
display: block !important;
}
	
}





/* ---- 768 to 989   */

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 989px)  {



}

/* ------------- iPads  (both orientations) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
/*and (orientation : portrait)*/ {



}

/* -------------- iPads (landscape only) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {



}

/* --------------  iPads (portrait only) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {



}


/* -----------   Smartphones (both orientations) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 767px) {

.custom_blurb_wrapper {
margin-bottom:5px;
}

.capshead {
font-size:24px;
}

#euro_banner {
background-image: url('/wp-content/uploads/2017/03/europe_600.jpg');
}

#euro_banner:before {
content: ' ';
position:absolute;
height:100%;
width:100%;
display:block;
background-color: rgba(0,0,0,0.4);
z-index:0;
top:0;
}

table#myths td {
width:100%;
}

table#interpack td {
display: inline-block;
/*font-size:12px;*/
}

table#interpack td img {
width:300px;
}
	
	#cef_vid.et_pb_section {
		padding:0;
	}
	
	.d4_boxed_text {
		padding:20px;
	}
	
	.d4_boxed_text a {
		font-size:12px!important;
	}
	
	.d4_boxed_text.banner h2 {
		font-size:20px;
	}
	
	h1.bighead {
		font-size:2em;
	}
	
	h1.bighead.title {
	font-size:3em;
}
	.single-post h1 {
		font-size:2em;
	}
	
	.cef_quote_box {
		display:block;
	}
	
	.cef_quote_box img {
		max-width:100%;
	}
	
	img.small-inline-image {
		float:none;
	}
	
.alm-item {
	flex-basis:100%!important;
	margin-right:0;
	margin-bottom:30px;
	text-align:center;
}
	
	img.fw_mob {
		width:100%;
	}
	
	.cef_pullquote.with_image .wp-caption {
		width:100%!important;
	}
	
}