/*
Theme Name: lpc-divi
Description: adapatation of Divi
Author: Dale Jackson
Author URI:
Template: Divi
Version: 1.0.1
*/

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

p:empty {display: none;}

/* Amendments to main style.css */
body {font-size:1.0em;}
p {line-height:normal;}
p:empty {display: none;}
p>img {margin-top:10px;}
a {color:#39569a;}
#main-header {z-index:99;box-shadow:none;}
ul#top-menu {margin:4px 0 6px;}
#top-menu li {padding:4px 18px 2px 0;}
#top-menu  li:first-of-type {margin-left:30px;}
#top-menu > li > a {padding:6px 8px;font-size:1.1em;}
#et-top-navigation {float:left;padding-left:0px;}
#top-menu > li > a:hover {color:white;background-color:#1c3539;border-radius:6px;}

.events_list li {list-style-type:none;padding-left:20px}
.events_list li strong {display:inline-block;width:170px;}

h1, .et_shortcodes_controller_nav {display:none;}

#main-content .container {padding-top: 0px;background-color:white;}

.home img.alignright {margin-left:30px ;}
.home #main-content .container, #main-content .et_pb_section {background-color:transparent;margin-top:0px;padding-top:28px;}
.et_pb_row {background:white;}
.et_pb_gallery_item {padding:5px;width:215px;}
h3.et_pb_gallery_title {display:none;}

.et-image-slider {margin-bottom:0 !important; margin-top:-10px;
-webkit-box-shadow: 0 8px 10px rgba(50, 50, 50, 0.8) !important;
   -moz-box-shadow: 0 8px 10px rgba(50, 50, 50, 0.8) !important;
        box-shadow: 0 8px 10px rgba(50, 50, 50, 0.8) !important;}


.entry-content h2, .entry-content h3,.entry-content h4,.entry-content h5, .brief {padding:0 20px 10px;}
.entry-content p {text-align:justify;padding:0 20px 10px;}
.entry-content .et_pb_gallery_caption {text-align:center !important;padding:0;}
.et_right_sidebar #left-area {margin-right:20px;}
.et_right_sidebar #sidebar {height: 100%;position:absolute;right:0;float:right !important;bottom:0;background-color:#555555;text-align:center;}
.et-info:before{background-image:url() !important;}
.et-box {margin:0 20px !important;max-width:750px;font-size:.9em !important;}
.et-info .et-box-content {box-shadow:none !important;padding-left:20px !important;}

.et_pb_widget_area_right {border: none;}
#dms {width:100%;min-height:620px;}

.brief {display:block;padding:20px;color:#c2b689;}
.one_third.last {margin-right:1%;}

.one_third img {width:95%;}
.one_third a:first-child{margin-left:10px;}
.one_fourth.last{overflow:hidden;padding:10px 0;}
.one_fourth.last img {padding:8px;border:1px solid #ccc;margin-bottom:10px;  -webkit-box-sizing: border-box;
 -moz-box-sizing: border-box;
 box-sizing: border-box;}
.one_fourth.last h5 {margin:30px 5px 0;padding-top:10px;font-size:1.2em;background-color:#c2b689;text-align:center;}
#gmap {width:100% !important;height:400px;margin-bottom:30px !important;}

.snap {margin:10px 0 16px 8px;
border:7px white double;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-box-shadow: 2px 2px 8px 2px #ccc;
	-webkit-box-shadow: 2px 2px 8px 2px #ccc;
	box-shadow: 2px 2px 8px 2px #ccc;}
.et_pb_divider {border-top: 1px dotted rgba(0, 0, 0, 0.2); margin: 30px 0px 30px 20px;}

#sidebar .et_pb_widget {float: none;margin: 60px 10px 30px 10px;}
img.alignleft {margin-right:5px;margin-bottom:18px;}
.et_mobile_menu {top:84px;}
.et_mobile_menu li a {color:white;}

/* Additions to main style.css */
.two_third img.size-full {padding-left:20px;}

.page-title-hp {padding-top:0px !important;margin:0;}
.page-title {padding-top:30px !important;margin:0px 0 20px;}
.page-id-500 h4 {padding-top:20px;}
.page-id-563 h5 {padding-top:16px;text-align:center;}

#header-details {float:right;color:white;font-size:0.9em;text-align:right;}
.telno {font-size: 1.6em;display:block;margin-top:10px;padding:10px 0 10px 50px;text-align:right;color: white;background: url('images/phone.png') 200px 14px no-repeat;}

.central_content {background-color:white;
-webkit-box-shadow: 0px 8px 10px 0px rgba(50, 50, 50, 0.8);
-moz-box-shadow:    0px 8px 10px 0px rgba(50, 50, 50, 0.8);
box-shadow:         0px 8px 10px 0px rgba(50, 50, 50, 0.8);}

.inset {margin-left:60px;}
.cottages {margin-bottom:40px;padding:0 5px !important;}
.cottages li {list-style-type:none;width:100%;display:block;padding:10px 6px;margin-left:-6px;text-align:center;}
.cottages a {display:block;padding:6px;color:white !important;}
.cottages a:hover {color:gold;background-color:#333;border-radius:8px;}

.first {padding-top:20px !important;}

#main-image {padding:20px 10px 0 20px;float:left;max-width:455px;}
.gallery-thumb {float:left;padding:0px 2px 1px;}
.gallery-thumb img {padding:2px;border:1px solid grey;}
.click-now {width:100%;display:block;font-family: sans-serif;font-size:.9em;color: #333;}

.overlay {
   background:transparent; 
   position:relative; 
   width:100%;
   height:400px; /* iframe height */
   top:400px;  /* iframe height */
   margin-top:-400px;  /* iframe height */
}
.cal {height:300px;}

@media only screen and ( min-width: 981px ){
#main-content {background:url(images/header_bg.png) left top,url(images/content_bg2.jpg);background-repeat:repeat-x, repeat;background-color:#edede3;}

#top-menu > li > a {padding:6px 2px;}
#et_mobile_nav_menu::after {content:"MENU";}
.et_right_sidebar #sidebar {width:224px;}
.gallery-thumb :nth-child(1) {margin-top:0px !important;}
.gallery-thumb :nth-child(2) {padding-top:0px !important;margin-top:0px !important;}

}
@media only screen and ( max-width: 980px ) {
#top-menu  li:last-of-type {margin-right:20px;}
.one_fourth.last{height:700px;}
.et_right_sidebar #sidebar {width:100%;position:relative;}
#sidebar .et_pb_widget {padding-top:20px;}
h2.page-title{margin-top:30px !important;}
.mobile_menu_bar:after {padding-left:10px;vertical-align:7px;font-size:1.5em;color:white;content:"Menu";}
}
@media only screen and ( max-width: 767px ) {
.one_fourth.last {display:none;}
.three_fourth {width:100% !important;}
.wp-image-704 {padding:10px 50px;}
}
@media only screen and ( max-width: 479px ) {
.telno {background:none;text-align:left;}
.et_mobile_menu {top:225px;}
.wp-image-704 {padding:0 0 20px;}
}