/*
 Theme Name:     History Theme
 Theme URI:      http://www.boxcreative.ie/wpy/divi/
 Description:    Divi Child Theme
 Author:         B[]X	
 Author URI:     http://www.boxcreative.ie
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/*
pink #DD1865
red #E04561

orange: #F60
green: #9ABA3D

*/
/* AMP copy */


/* @import url(http://fonts.googleapis.com/css?family=Didact+Gothic); */



/* ------------------------------------------------------------------------ */
/* --------   header sidebar   -------------------------------------------- */
/* ------------------------------------------------------------------------ */

.header-sidebar {
	background-color: #FFFFFF;
	text-align: center;
}
.header_widget {
	max-width: 1080px;
	margin: 0 auto;
}
.header_widget .widgettitle { display: none; }

/* ------------------------------------------------------------------------ */
/* --------   header   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */
#top-header {
	height: 150px;
	background-color: transparent;
}
#top-header .container {
	height: 125px;
}
#top-header .et-social-icon a {
	background-color: #9ABA3D;
	color: #FFFFFF;
	border-radius: 30px;
	padding: 10px;
}

#top-header, #et-secondary-nav li ul {
	background-color: #FFFFFF;
}

#logo {
	max-height: 100%;
}

#et_top_search #et_search_icon::before {
	color: #9ABA3D;
}


#header-search {
	float: right;
	position: relative;
	clear: right;
	margin-top: 40px;
}
#header-search .screen-reader-text {
	display: none;
}
#header-search input#s,
#header-search button#headersubmit {
	padding: 0.7em;
	height: 40px !important;
	margin: 0px;
	font-size: 14px;
	line-height: normal !important;
	border: 1px solid #9ABA3D;
	border-radius: 4px;
}
#header-search input#s {
	width: 100%;
	color: #666;
	
}
#header-search #headersubmit {
	position: absolute;
    background-color: #9ABA3D;
	color: #FFFFFF;
    width: 40px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    position: absolute;
    right: 0px;
    top: 0px;
	
	font-family: "ETmodules";
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	text-transform: none;
}

#headersubmit {
	
}
/*#headersubmit::before {
	content: "U";
	font-size: 17px;
	left: 0px;
	position: absolute;
	top: -3px;
	font-family: "ETmodules";
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
}*/

/* ------------------------------------------------------------------------ */
/* --------   navigation   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */


.et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
	float: none; padding-top: 15px; padding-left: 0px !important; padding-right: 0px !important;
}
.et_header_style_left #et-top-navigation nav > ul > li > a, .et_header_style_split #et-top-navigation nav > ul > li > a { padding-bottom: 15px; }
nav#top-menu-nav, #top-menu, nav.fullwidth-menu-nav, .fullwidth-menu {
	float: none;
	text-align: center;
}

#top-menu.nav li ul { border-color: #4C3922; }
#top-menu li li, .nav li li { border-bottom: 3px solid #4C3922; }
#top-menu li li:last-child, .nav li li:last-child { border-bottom: 0 none;}
#top-menu li li:hover, .nav li li:hover { background-color: #F60; }
.nav li ul { padding: 0 0 20px; }

#et_mobile_nav_menu { float: none; text-align: center; }
#main-header .et_mobile_menu { text-align: left; }
.mobile_nav .select_page { font-size: 20px; color: #FFFFFF; cursor: pointer; display: block; }
.et_header_style_left .mobile_menu_bar { padding-bottom: 15px; }
.mobile_menu_bar::before { display: none; }


.post-navigation {
	padding: 20px 0;
}
.post-navigation .meta-nav {
	font-size: 17px;
}

.post-navigation .nav-links {
	margin: 0 auto;
	max-width: 100%;
}

.post-navigation a[rel="next"] {
	float: right;
	text-align: right;
}





/* ------------------------------------------------------------------------ */
/* --------   slider   --------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.et_pb_slide {
	padding: 0;
}

.et_pb_slider .et_pb_container {
	width: auto !important;
	max-width: 400px;
	margin: 0 auto 0 0;
}
	
	
.et_pb_slider .et_pb_slide_description {
    /*padding: 10px 15px 10px;
    width: auto;
    margin: auto;
    margin: 80px 0 0; */
    /*background-color: rgba(0,0,0,0.7);*/
}

.et_pb_slide_description h1, 
.et_pb_slide_description h2, 
.et_pb_slide_description h3 {
	font-weight: bold;
} 

/* ------------------------------------------------------------------------ */
/* --------   classes   --------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.et_pb_row {
	width: 95%;
	/* rest from the Divi styling
	max-width: 1080px;
	margin: auto;
	position: relative;
	*/
}

.textcenter { text-align: center; }
.textleft { text-align: left; }
.textright { text-align: right; }

.textorange { color: #F60; }

.bg-green { background-color: #9ABA3D; }

input[type="text"], input[type="email"], input.text, input.title, textarea, select {
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #9ABA3D;
	padding: 7px 10px;
	color: #4E4E4E;
}


.et_post_meta_wrapper { clear: both; }
.screen-reader-text { display: none; }


.search-results .et_pb_post {
	width: 45%;
	margin: 2%;
	float: left;
}
.search-results .et_pb_post:nth-child(2n){
	clear: left;
}

/* ------------------------------------------------------------------------ */
/* --------   sidebar   --------------------------------------------------- */
/* ------------------------------------------------------------------------ */

/* remove border */
#main-content .container::before { display: none; }

.history-sidebar { margin-bottom: 20px; }

.history-sidebar, #sidebar { border-radius: 5px 5px 0 0; overflow: hidden; }
.history-sidebar .et_pb_widget,
.history-sidebar .side_widget,
#sidebar .et_pb_widget,
#sidebar .side_widget {
	background-color: #FFFFFF;
	margin-bottom: 0;
	padding-bottom: 2px;
}
.history-sidebar .widgettitle,
#sidebar .widgettitle {
	color: #FFFFFF;
	background-color: #9ABA3D;
	min-height: 55px;
	padding: 20px 5px 5px 55px;
	margin-top: 0;
	background-image: url(images/twist.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	font-size: 13px;
}
.history-sidebar .side_widget .textwidget,
#sidebar .side_widget .textwidget {
	padding: 10px 10px;
}
.history-sidebar .side_widget p,
#sidebar .side_widget p {
	font-size: 11px;
}
.history-sidebar .side_widget .et_pb_button,
#sidebar .side_widget .et_pb_button {
	font-size: 14px;
	background-color: #9ABA3D;
	color: #FFFFFF;
	font-weight: bold;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.history-sidebar .side_widget .et_pb_button::after,
#sidebar .side_widget .et_pb_button::after {
	font-size: 22px;
}

.et_pb_widget > ul { padding: 5px 10px; }




.side_widget .twititem {
	padding: 12px 12px 10px 69px;
	border-width: 0px 0px 1px;
}
.side_widget .twititem .tw-header  {
	position: relative;
}
.side_widget .tw-permalink {
	position: relative;
	/*float: right;*/
	margin-top: 2px;
	color: #666000;
}
.side_widget .twititem .itemtime { font-size: 11px; }
.side_widget .twititem .tw-author { line-height: 12px; }
.side_widget .twititem .tw-profile { color: #000000; }
.side_widget .twititem .full-name { font-size: 11px; }
.side_widget .twititem .p-nickname { font-size: 11px; }
.side_widget .twititem .tw-avatar {
	position: absolute;
	top: 0px;
	left: -57px;
	width: 48px;
	height: 48px;
	background: #FFF none repeat scroll 0% 0%;
	border-radius: 4px;
}
.side_widget .twititem .e-entry-title {
	line-height: 13px;
}





.side_widget h5 { font-weight: 800; font-family: "lexia-n8", "lexia",serif; }

.side_widget input[type="text"], .side_widget input[type="email"], .side_widget input.text, .side_widget input.title, .side_widget textarea, .side_widget select {
	width: 90%;
}

.widget-area .woocommerce ul.cart_list, .widget-area .woocommerce ul.product_list_widget,
.et_pb_widget_area .woocommerce ul.cart_list, .et_pb_widget_area .woocommerce ul.product_list_widget {
	/* padding: 10px !important; */
}

.woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li, .woocommerce-page ul.cart_list li, .woocommerce-page ul.product_list_widget li {
	padding: 10px !important;
	text-align: center;
}

.woocommerce ul.product_list_widget li img.attachment-shop_thumbnail {
	float: none;
	margin: auto;
	width: auto;
	display: block;
}




/* Responsive Styles Desktop Only */
@media all and ( min-width: 981px ) {

	.et_right_sidebar #sidebar { padding-left: 0; }

}

/* ------------------------------------------------------------------------ */
/* --------   content   --------------------------------------------------- */
/* ------------------------------------------------------------------------ */

#main-content {
	background-image: url(/wp-content/uploads/template/site-bg.jpg);
	background-position: center top;
	background-repeat: repeat;
}

.et_pb_text h6 {
	font-size: 16px;
	color: #F60;
	margin-top: 10px;
	font-weight: 800;
	font-family: "lexia-n8", "lexia",serif;
}
.et_pb_text h6 a {
	padding-left: 15px;
	background-image: url(images/arrow-left-orange.png);
	background-position: 2px center;
	background-repeat: no-repeat;
}
.entry-content h4 {
	clear: both;
	margin-top: 10px;
}
.single .entry-content p { font-size: 20px; line-height: 1.3em; }
img.alignleft {
	margin-bottom: 10px;
}

#main-content .et_section_random {
	background-color: rgba(255,255,255,0.2);
	padding: 0;
}
#main-content .et_section_random .et_pb_row { width: 100%; padding: 10px; }
.random-post-link img {
	display: inline;
	float: right;
	margin-left: 1em;
	margin-bottom: 1em;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	width: auto;
	max-width: 40%;
}



/* ------------------------------------------------------------------------ */
/* --------   Blog Grid   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.et_pb_blog_grid .et_pb_post {
	
}
/*.et_pb_image_container { margin: -18px -18px 10px; }*/
.et_pb_blog_grid h2 { text-align: center; color: #333; font-size: 18px; }
.et_pb_blog_grid h2:hover { color: #F60; }
.post-meta { text-align: center; padding: 0; }
.et_pb_blog_grid .more-link {
	margin: 20px auto 10px;
    text-transform: uppercase;
	display: block;
	width: 160px;
	font-size: 20px;
	font-weight: 500;
	-moz-border-radius: 3px;
	border-radius: 3px;
	padding: 4px 15px;
	line-height: 1.7em;
	background: transparent none repeat scroll 0% 0%;
	border: 2px solid #546856;
	color: #546856;
	transition: all 0.2s ease 0s;
	position: relative;
	text-align: center;
}
/*.et_pb_blog_grid .more-link:after {
	font-size: 32px;
	line-height: 1em;
	content: "5";
	opacity: 0;
	position: absolute;
	margin-left: -20px;
	transition: all 0.2s ease 0s;
	top: 7px;
	right: 5px;
	font-family: "ETmodules";
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
}*/
.et_pb_blog_grid .more-link:hover {
	background: rgba(0, 0, 0, 0.05) none repeat scroll 0% 0%;
	border: 2px solid transparent;
	/*padding: 4px 34px 4px 14px !important;*/
}
/*.et_pb_blog_grid .more-link:hover:after {
	opacity: 1;
}*/


.blog-container { }

.blog-container .et_pb_post {
	max-width: 1080px;
	margin: 0px auto;
	padding: 30px 0px 30px;
	position: relative;
}


.et_pb_blog_grid .et_pb_post .excerpt { height: 7em; overflow-y: hidden; }
.et_pb_blog_grid .et_pb_post h2 a { height: 3em; overflow-y: hidden; display: block; }


.pagination {  }
.pagination a { font-size: 22px; }

/* ------------------------------------------------------------------------ */
/* --------   Blog Grid   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.et_pb_blog_grid .et_pb_post {
	
}
/*.et_pb_image_container { margin: -18px -18px 10px; }*/



.et_pb_column_4_4 .et_pb_blog_grid[data-columns]::before {
    /*content: "3 .column.size-1of3";*/
	display: none;
    /*content: "";*/
}

.et_pb_column_3_4 .et_pb_blog_grid[data-columns]::before, .et_pb_column_2_3 .et_pb_blog_grid[data-columns]::before {
    /*content: "2 .column.size-1of2";*/
    /*content: "3 .column.size-1of3";*/
	display: none;
}



/* ------------------------------------------------------------------------ */
/* --------   Blog Entry   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.single-post-thumb {
	width: auto;
	margin: 0 auto;
	display: block;
}


/* ------------------------------------------------------------------------ */
/* --------   Player   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.mbMiniPlayer { display: block !important; text-align: center; margin: 15px auto 25px; }
.mbMiniPlayer .map_download .downloadTitle {
	font-family: "Open Sans",Arial,sans-serif !important;
	font-size: 18px !important;
	color: #FFF;
	vertical-align: middle !important;
	border: 1px solid #FFFFFF;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	background-color: #F90;
	padding: 7px 12px;
}
.mbMiniPlayer .map_download .downloadTitle:hover { opacity: 0.8; }
.mbMiniPlayer span.map_download { vertical-align: middle !important; }

.mbMiniPlayer .playerTable{background-color:transparent; border-radius:8px !important;}
.mbMiniPlayer .playerTable span{background-color:#000; padding:10px !important; font-size: 27px;}
.mbMiniPlayer .playerTable span.map_time{ font-size: 17px !important; width: 50px !important}
.mbMiniPlayer .playerTable span.map_title{ padding:4px !important}
.mbMiniPlayer .playerTable span.map_play{border-left:1px solid rgb(0, 0, 0); border-radius:0 7px 7px 0 !important;}
.mbMiniPlayer .playerTable span.map_volume{padding-left:13px !important}
.mbMiniPlayer .playerTable span.map_volume{border-right:1px solid rgb(26, 26, 26); border-radius:7px 0 0 7px !important;}
.mbMiniPlayer .playerTable span.map_volume.mute{color: rgba(255, 255, 255, 0.4);}
.mbMiniPlayer .map_download{color: rgba(255, 153, 0, 0.4);}
.mbMiniPlayer .map_download:hover{color: rgb(255, 153, 0);}
.mbMiniPlayer .playerTable span{color: rgb(255, 255, 255);text-shadow: none!important;}
.mbMiniPlayer .playerTable span{color: rgb(255, 255, 255);}
.mbMiniPlayer .playerTable {border: 1px solid rgb(242, 242, 242) !important;}
.mbMiniPlayer .playerTable span.map_title{color: #000; text-shadow:none!important}
.mbMiniPlayer .playerTable .jp-load-bar{background-color:rgba(255, 153, 0, 0.3);}
.mbMiniPlayer .playerTable .jp-play-bar{background-color:#ff9900;}
.mbMiniPlayer .playerTable span.map_volumeLevel a{background-color:rgb(255, 255, 255); height:94%!important }
.mbMiniPlayer .playerTable span.map_volumeLevel a.sel{background-color:#ffffff;}
.mbMiniPlayer  span.map_download{font-size:57px !important;}
/* Wordpress playlist select */
.map_pl_container .pl_item.sel{background-color:rgba(0, 0, 0, 0.1) !important; color: #999}


/* ------------------------------------------------------------------------ */
/* --------   Shop   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */

.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: 29.533333333%;
}
#content-area .entry-summary .group_table td {
	max-width: 100%;
}
.woocommerce input.button:hover, .woocommerce-page input.button:hover,
.woocommerce a.button:hover, .woocommerce-page a.button:hover,
.woocommerce a.button.alt:hover, .woocommerce-page a.button.alt:hover {
	/*color: #9ABA3D;*/
}


/* ------------------------------------------------------------------------ */
/* --------   footer   ---------------------------------------------------- */
/* ------------------------------------------------------------------------ */

#footer-widgets { padding-top: 25px; }
.footer-widget .et_pb_widget a { color: #FFFFFF; }

.footer-widget .et_pb_widget > ul { padding: 5px 0; }

#footer-widgets .footer-widget li { padding-left: 0; }
#footer-widgets .footer-widget li::before { display: none; }

.footer-widget h2.recent_posts_with_excerpts { font-size: 16px; font-weight: bold; }
.footer-widget h3.date { font-size: 14px; color: #FFFFFF; }
.footer-widget .recent_with_excerpt blockquote {
    margin: 0px 0px 15px;
    border-left: 0 none;
    padding-left: 0;
}


.footer-widget .recent_posts_with_excerpts li { padding-bottom: 10px; margin-bottom: 2em; }
.footer-widget .recent_posts_with_excerpts li:after { /* clearfix */
	visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;
}




/* Responsive Styles Desktop Only */
@media all and ( min-width: 981px ) {

}


/* Responsive Styles Tablet And Below */
@media all and ( max-width: 980px ) {
	
	#et-secondary-nav, #et-secondary-menu { display: block !important; }

}

@media all and ( max-width: 768px ) {

	#top-header { height: auto; padding-bottom: 5px; }
	#top-header .container { height: auto; }
	.et_header_style_left .logo_container {
		position: relative;
		top: 0;
		text-align: center;
	}
	.et_header_style_left #logo {
		max-width: 90%;
	}
	#et-secondary-menu { float: none; text-align: center; }
	
	#header-search { float: none; margin: 10px auto; max-width: 320px; }

	
	.search-results .et_pb_post {
		float: none;
		width: 90%;
		margin: 10px auto;
	}
	
	
}


