/*
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

*/

/* COLOURS
style colours:
http://www.color-hex.com/color/778899
whitish: #f8f6f2
blueish: #caddf0
greenish: ffe7cd
black: 000000

  # 
h1 50, 40, 30 1.1
h2 40, 34, 26
h3 34, 26, 20
h4 26, 22, 18
h5 22. 18, 16
p 18, 16, 14 1.5, 1.5
  
*/

/* --- HEADER --- */


header .nav li li {
    line-height: 1.4em;


}


header .et_pb_menu ul li li a {
    font-weight: 500!important;
    font-size: 16px!important;
text-transform: capitalize!important;
    padding: 2px 10px;
    width: 220px;
}

/* PAGES */

.full-height {
    height:80vh; 
}


.et-pb-contact-message {
	font-weight : bold;
}

/* a:hover {text-decoration: underline;} */



/*.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;
}
*/
.hpbut {
	margin-top:10px;
	font-size:18px;
}
.hpbut2 {
	margin-left:10px;
}

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

.et_pb_text_inner a,.et_pb_toggle_content a, article a  {
color:#dc0000;
}
.et_pb_text_inner a:hover,.et_pb_toggle_content a:hover, article a:hover {
color:#999999;
}
	

.entry-content ol, .entry-content ul {
	margin:20px 20px 20px 20px;
	padding-bottom: 1.3em;
	list-style-position: outside;
	line-height:1.3em;
}
.entry-content ol li , .entry-content ul li{
	margin-bottom:10px;
	
}
.et_pb_blurb_position_left .et_pb_blurb_container {
    padding-left: 0px;
}


.newslist article.et_pb_post {
    margin-bottom: 20px;
    word-wrap: break-word;
}


/*     ************   Homepages ******               */
/*set the height of the slide image*/



/*     ************   END WOOCOMMERCE ******               */



table td, table th {
    text-align: center;
	font-size:80%;
}

table td span, table th  span{

	font-size:80%;
}
table {
    width: 100%;
    max-width:;
    border: 1px solid #ccc;
    margin: 2em 0;
	line-height:1em;
}
table th {
    padding: 1em;
    background-color: #eee;
    font-weight: bold;
    width: ;
    line-height: 1em;
}




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


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




/* -----------  FOOTER -------*/
footer .et_pb_menu li {
    width:100% !important;

}
footer .et_pb_menu .et-menu>li {
    padding-left: 4px;
    padding-right: 4px;
}

footer .et_pb_text_inner a {
	color:#FFFFFF;

	}
footer .et_pb_text_inner a:hover  {
	color:#DDDDDD;

}


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

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



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


}


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


}


@media only screen and (max-width : 1300px) {
.et_pb_menu .et-menu>li {
    padding-left: 6px;
    padding-right: 6px;
}
.et_pb_menu .et-menu>li a {
    font-size: 18px !important;
}
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
header .et_pb_menu .et-menu>li {
    padding-left: 5px;
    padding-right: 5px;
}
.et_pb_menu .et-menu>li a {
    font-size: 16px !important;
}
}

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

.et_pb_menu .et-menu>li a {
    font-size: 15px !important;
}	
}

@media only screen and (max-width : 1024px) {
header .et_pb_menu .et-menu>li {
    padding-left: 4px;
    padding-right: 4px;
}
.et_pb_menu .et-menu li.et_pb_menu__logo-slot{
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 4px;
    margin-right:4px;
}
	
}
	
}


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


}

@media only screen and (max-width : 980px)  {
/* --- HEADER --- */ /* --- MENU --- */

/* centered icon */
.et_pb_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap {
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
}

/*  icon opena and shut */
header .mobile_nav.opened .mobile_menu_bar:before {
    font-family: ETmodules!important; 
    content: "\4d"!important; 
}
header .mobile_nav.opened .mobile_menu_bar:before {
    font-family: ETmodules!important; 
    content: "\4d"!important; 
}
.et_mobile_menu li a {
    border-bottom: 1px solid rgba(0,0,0,.03);
    padding: 0px 5%;
}
header .et_pb_menu--style-inline_centered_logo .et_pb_menu_inner_container>.et_pb_menu__logo-wrap {
    margin-bottom: 10px!important; 
}

header .et_pb_menu__logo img {
    display: flex;
    align-self:  center;
}
.et_pb_module.et_pb_text_align_center-tablet {
        justify-content:  center;
        margin:0 auto;
    }
    
/*  + sub menu system WITH script in divi header */    
 .et_pb_menu.lowermenu .et_pb_menu__menu {

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important; 
}
.et_pb_menu.lowermenu  .et_mobile_nav_menu {
     display: none !important; 
}

.et_pb_menu .et_mobile_menu .menu-item-has-children > a,
#main-header .et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    position: relative;
}

.et_pb_menu .et_mobile_menu .menu-item-has-children > a:after, #main-header .et_mobile_menu .menu-item-has-children > a:after {
    font-family: 'ETmodules';
    text-align: center;
    speak: none;
    font-weight: 600;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    font-size: 18px;
    content: '\4c';
    top: 11px;
    right: 13px;
}

.et_pb_menu .et_mobile_menu .menu-item-has-children.visible > a:after,
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after {
    content: '\4d';
}

.et_pb_menu .et_mobile_menu ul.sub-menu,
#main-header .et_mobile_menu ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
    transition: all 1.5s ease-in-out;
}

.et_pb_menu .et_mobile_menu li.visible > ul.sub-menu,
#main-header .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l #main-header .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li.visible > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}
   
    
    
    
    
.mycolumnnopad .et_pb_column {
    margin-bottom: 0px!important;
}

footer .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
footer .et_pb_menu .et_pb_menu__menu {
    display: block !important;

}
footer .et_mobile_nav_menu {
    display: none !important;
}
footer .thirdrow .et_pb_column{
	        width: 33.3333%;
	        margin-bottom: 0px;
}

}

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


}


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

myhpslider .et-pb-arrow-next {
      opacity: 1;
      right: 22px;
   }
  .myhpslider .et-pb-arrow-prev {
      opacity: 1;
      left: 22px;
   }
}
@media all and (max-width: 767px) {
  .myhpslider .et-pb-arrow-next {
      opacity: 1;
      right: 0;
   }
   .et-pb-arrow-prev {
      opacity: 1;
      left: 0;
   }
}
/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 680px) {
.myhpslider.et_pb_gallery_fullwidth .et_pb_gallery_image img {
   width: auto;
   height: 400px;
}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 580px) {
table td, table th {
    text-align: center;
	font-size:60%;
padding: 6px 8px!important; 
}

}

 /* Extra Small Devices, Phones */ 
@media only screen and (max-width : 479px) {
/* --- HEADER --- */
header .logorow .et_pb_column.mylogocol {
width: 90px!important; 
margin-bottom: 0px;
}
header .logorow .et_pb_column.mybutcol {
width: 120px!important; 
margin-bottom: 0px;
}
/* --- MENU --- */
header .logorow .et_pb_column.mymenucol {
width: calc(100% - 210px)!important; 
margin-bottom: 0px;
}

.hpbut {
	font-size:14px;
}
.hpbut2 {
	margin-left:0px;
}
.mycolumnnopad .et_pb_column {
    margin-bottom: 0px!important;
}
footer .thirdrow .et_pb_column{
	        width: 33.3333% !important;
	        margin-bottom: 0px;
}
}


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

}
/* Custom, iPhone Retina */ 
@media only screen and (max-width : 330px) {
table td, table th {
    text-align: center;
	font-size:50%;
padding: 3px 4px!important; 
}
}
/* Custom, iPhone Retina */ 
@media only screen and (max-width : 280px) {


}
