/*
Theme Name: Wellmadewebsite
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Tom Fraser http://www.wellmadewebsite.co.uk
Template: Divi
*/

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


/* COLOURS
style colours:
http://www.color-hex.com/color/778899
grey:#515151
navy #212C64
green: 006937
*/

/* --- HEADER --- */

.et-social-google-plus a.icon:before {
    content: "\e09a" !important;
}
#et-info-email {
    display:none;
}
#et-info{
    padding-bottom: 0em;
}

/* --- MENU --- */

.et_fullwidth_nav #main-header .container {
    padding-right: 0px;
    padding-left: 0px;
}
#et-top-navigation {
    background: #FFFFFF;
}

.nav li li {
    position: relative;
    line-height: 1.4em;
}
.et_header_style_centered #top-menu>li>a {
padding-top: 1em;    
padding-bottom: .9em;
}
#et-secondary-nav .menu-item-has-children>a:first-child:after, #top-menu .menu-item-has-children>a:first-child:after {
    top: 1em;
}
#top-menu li li {
    padding: 0 10px;
}
#top-menu li li a {
    padding: 6px 10px;
}
#main-header .nav li ul, #main-header .et_mobile_menu {
    background-color: #D1E2FF !important;
}


/* PAGES */

.full-height {
    height:80vh; 
}

/*.home .et_pb_fullwidth_header .header-content-container.center{
    -webkit-align-self: flex-start !important;
    -moz-align-self: flex-start !important;
    -ms-align-self: flex-start !important;
    align-self: flex-start !important;
}
*/

.responsiveCal {
position: relative; padding-bottom: 75%; height: 0; overflow: hidden;
}
 
.responsiveCal iframe {
position: absolute; top:0; left: 0; width: 100%; height: 100%;
}
div.timely:nth-of-type(2) {
    display:none;
}

/*     ************   Single post  ******               */

h1 {
	

}

h2,h3,h4,h5,h6 {
	
}




.entry-content table {
	margin:20px 0px;
	width:100%;
	border:1px solid #60B0FF;
	font-size:80%;
	line-height:1.2em;
}	
.entry-content table td {
	border:1px solid #60B0FF;
	padding: 6px 6px !important;
	
}	

.entry-content ol, .entry-content ul {
	margin:20px 20px;
}
	
	


/*     ******************************     MEDSEARCH RESULTS***************************               */
/*

/* -----------REMOVER SIDEBAR -------*/

/*** Take out the divider line between content and sidebar ***/
 #main-content .container:before {background: none;}

/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100% !important;
    padding: 23px 0px 0px !important;
    float: none !important;
}
}

#sidebar {display:none;}


/* -----------  FOOTER -------*/

footer .container {
    position: relative;
    text-align: center;
}

#footer-info {
    float: none;
display:block;
width:100%;
    padding-bottom: 10px;
    color: #FFFFFF;
    text-align: center;
}
#footer-info span {
	font-size:80%;
	}
.footer-widget .et_pb_widget {
    width: 100%;
}


footer p:last-of-type {
    padding-bottom: 1em;
}
#footer-bottom .et-social-icons {
    float: none;
    text-align: center;
}
.et-social-icons li {
    display: inline-block;
    margin: 10px 10px 10px 10px;
}




/*     ******************************     TOGGLES ***************************               */

/*     ******************************     MEDIA QUERIES     ***************************               */
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1300px) {


}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {


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

	
}

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

	
	
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {


}

@media only screen and (max-width : 980px)  {
.et_header_style_centered header#main-header .logo_container {
    max-height: 120px;
}
.et_header_style_centered #logo {
    max-height: 120px;
}


}


@media only screen and (max-width: 800px) {
.et_pb_section_0 {
	padding-top:0px;
}
#main-content .container {
    padding-top: 30px;
}
}


@media only screen and (max-width: 768px) {
body.admin-bar.et_fixed_nav #main-header, body.admin-bar.et_fixed_nav #top-header, body.admin-bar.et_non_fixed_nav.et_transparent_nav #main-header, body.admin-bar.et_non_fixed_nav.et_transparent_nav #top-header {
    top: 20px !important;
}

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 680px) {





}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 580px) {


}

 /* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
header .container {
    width: 90%;
}
.et_header_style_centered #main-header {
    padding-top: 0px ;
}
h1, h1.et_pb_contact_main_title, .et_pb_title_container h1 {
    font-size: 22px !important;
}
h3.widget-title {
    font-size: 22px !important;
}
.footer-widget h4 {
font-size: 20px !important;
}
}
 /* Extra Small Devices, Phones */ 
@media only screen and (max-width : 360px) {



}
/* Custom, iPhone Retina */ 
@media only screen and (max-width : 330px) {




}
