/*
Theme Name:  Divi Child
Template:    Divi
Description: Child theme of Divi.
Author:      OPOH
Author URI:  https://www.ourpeaceofhistory.com/
Version:     1.0.0
Text Domain: divi-child3
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* --> navbar shadow */
.navbar {
	box-shadow:         3px 3px 5px 12px #ddd;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
	-webkit-box-shadow: 3px 3px 5px 6px #ddd;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	-moz-box-shadow:    3px 3px 5px 6px #ddd;  /* Firefox 3.5 - 3.6 */
}

/* --> blog layout */
.pagination .alignleft a,
.pagination .alignright a {
  color: #ffffff;
	background: #BF2F35;
	border: 2px solid #BF2F35;
	padding: .7em 1.3em;
	border-radius: 50px;
	text-transform: capitalize;
	transition: all 0.3s ease-in-out;
}

.pagination .alignleft a:hover,
.pagination .alignright a:hover {
	background: transparent;
	color: #56524A !important;
	border: 2px solid #56524A;
	transition: all 0.3s ease-in-out;
}

/* --> gap appeared bet navbar and hero 
@media ( min-width: 981px ) {
	.et_fixed_nav #page-container {
		padding-top: 66px !important;
	}
}

@media ( max-width: 980px ) {
	#main-content .et_pb_section:first-child {
		margin-top: -20px;
	}
}
*/

/* --> backgrounds */
/* fp */
#bgnd-fp-explanation {
	background: url('https://www.ourpeaceofhistory.com/wp-content/uploads/2024/01/opoh-bgnd-boats.jpg') no-repeat !important;
	background-size: cover !important;
}

/* news */
/* cannot reconcile
#bgnd-original {
	background: url('https://www.ourpeaceofhistory.com/wp-content/uploads/2021/05/bnd-original.jpg') no-repeat !important;
	background-size: cover !important;
}
*/

/* unused
#bgnd-book-cover {
	background: url('https://www.ourpeaceofhistory.com/wp-content/uploads/2021/05/5-wrinkled-paper-backgrounds.jpg') no-repeat !important;
	background-size: cover !important;
}
*/

/* --> back to top */
.et_pb_scroll_top:before {
	content: url(https://www.ourpeaceofhistory.com/wp-content/uploads/2024/01/backtotop.png);
}
.et_pb_scroll_top.et-pb-icon {
    background: none;
    right: 30px;
    bottom: 30px;
	transition: all .1s ease-in-out;
}

/* Animation tweaks - pops in and our from botton not side*/
.et_pb_scroll_top.et-visible {
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    -moz-animation: fadeInBottom 2s 1 cubic-bezier(.50,0,.160,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
}
/* END of back to top */

/* --> scroll bar */
body::-webkit-scrollbar {
	min-width: 14px;
	max-height: 10px !important;
	background-color: white;
}

body::-webkit-scrollbar-thumb {
	background-color: #BF2F35;
	border-radius: 5px;
}

body::-webkit-scrollbar-track {
	min-width: 14px;
	max-height: 10px !important;
	background-color: white;
}

body::-webkit-scrollbar-button {
	background-color: #BF2F35;
	border-radius: 5px;
}
/* END of scroll bar */

/* --> section divider eg events page */
.sect-roundedsplit::before,
.sect-roundedsplit::after {
	position: absolute;
	content: '';
	pointer-events: none;
}
  
.sect-roundedsplit {
	border-radius: 0 0 80px 80px;
}
  
.sect-roundedsplit::before,
.sect-roundedsplit::after {
	top: -70px;
	left: 0;
	z-index: 10;
	width: 50%;
	height: 70px;
	background: inherit;
}
  
.sect-roundedsplit::before {
	border-radius: 0 80px 0 0;
}
  
.sect-roundedsplit::after {
	left: 50%;
	border-radius: 80px 0 0 0;
}
/* END of section divider */


/*
// ---------------------------------------------------
// 20 ELEMENTS
// ---------------------------------------------------
*/

p {color: #777;}

h1 {font-size: 38px !important;}
h2 {font-size: 28px !important;}

h1, h2 {
	color: #BF2F35 !important; 
	padding-bottom: 10px;
	font-weight: 400;
	line-height: 1.6em;
}

h1 a:hover,
h2 a:hover {color: #b2b2b2 !important;}

/* --> links */
a:link {color: #BF2F35 !important;}
a:hover {color: #b2b2b2;}

/* --> lists */
ul.opoh-list li {
	list-style-position: inside !important;
	list-style: disc !important;
	color: inherit !important;
	padding: 3px !important;
	margin-left: 20px !important;
}

ul.opoh-list li {
	padding-left: 16px;
}

/* --> quotes */
.qmarks {
	font-size: 2em;
	font-family: lobster ariel;
	color: #BF2F35;
}

/*
// ---------------------------------------------------
// 30 BASIC CLASSES
// ---------------------------------------------------
*/

#max-page {height: 84vh;}

/* <-- colors */
.color-grey {color: #8E8B86 !important;}
.color-white > p,
.color-white {color: #ffffff !important;}
.color-777 {color: #777 !important;}
.color-red {color: #BF2F35 !important;}
.color-beige {color: #F0EFD6;}
.bgnd-silver {background-color: #F1F1F1 !important;}

/* <-- font sizes */
.font-size14 {
	font-size: 14px;
	line-height: 1.2em;
}

.font-size16 {
	font-size: 16px;
	line-height: 1.2em;
}

.font-size18 {
	font-size: 18px;
	line-height: 1.4em;
}

.font-size20 {
	font-size: 20px;
	line-height: 1.4em;
}

.font-size22 {
	font-size: 22px;
	line-height: 1.6em;
}

.basic-link {color: #BF2F35 !important;}
.basic-link:hover {color: #b2b2b2 !important;}

.basic-shell {padding: 18px !important;}

.justify {text-align: justify !important;}

.basic-image-wrap {
	width: auto;
	height: auto;
	margin-bottom: 15px !important;
	margin-right: 20px !important;
	float: left;
}

.intro-para {
	font-size: 1.2em;
	line-height: 1.2em;
}

.capitalise {
	color: #BF2F35;
	font-weight: 700;
	font-size: 1.4em;
}


/*
// ---------------------------------------------------
// 40 DESIGNED OBJECTS
// ---------------------------------------------------
*/

flatbutton {
	display: inline-block;
	margin: 0 10px 0 0;
	padding: 10px 15px;
	font-size: 18px;
	font-weight: none;
	font-family: inherit, Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.5;
	appearance: none;
	box-shadow: none;
	border-radius: 4 4 4 4;
}

section.buttonborder-red flatbutton,
section.buttonborder {
	background: white;
	background-image: url('https://www.ourpeaceofhistory.com/wp-content/uploads/2024/01/bgnd-flatbutton.png');
	background-repeat:no-repeat;
	opacity: 0.8;
	color: #BF2F35;
	border: solid 1px #BF2F35;
}

section.buttonborder-red flatbutton:hover,
section.buttonborder-red flatbutton.hover {
	border-color: #F57575;
	background-color: #BF2F35;
	opacity: 1.0;
	color: white;
}
/* <-- END of flat buttons */

/* --> title bars */
.title-box-mob,
.title-box-tab,
.title-box {
	width: 50% !important;
	height: 86px !important;
	box-shadow: 2px 2px 5px #777 !important;
	background-color: #BF2F35 !important;
	border-left-width: 18px !important;
	border-left-style: solid !important;
	border-left-color: #56524A !important;
	padding-top: 15px !important;
	padding-bottom: 0px !important;
	padding-left: 15px !important;
	font-family: inherit !important;
	font-size: 22px !important;
	color: #fff !important;
}

.title-box-tab {width: 70%;}
.title-box-mob {width: 90%;}
.titles-with-three-lines {width: 70%;}
/* <-- END title bars */


/*
// ---------------------------------------------------
// 50 IMAGES
// ---------------------------------------------------
*/

.flip-img {
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}

/* force center on images using overlay */
.force-img-center {
	margin-left: auto !important;
	margin-right: auto !important;
}

.frame-img {
	text-align: center !important;
	border: 4px dotted #56524A !important;
}

/* EOF */

