/*
 Theme Name:     Divi Child Theme
 Theme URI:      http://www.elegantthemes.com/gallery/Divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     http://www.elegantthemes.com
 Template:       Divi

*/

/* Customised Style are added here */
/* Greenish Theme 1 */
ul.et_pb_tabs_controls{background:#1A5757;}
.imgBorder{border:1px solid black;}
.addColBorder .et_pb_column {border:1px solid #295629;box-shadow: 5px 5px 12px  #ccc;}
/*
.headerBGColour section {background:#4C933B;height:100px;padding:10px;border-top:1px solid #295629;border-bottom:1px solid #295629;}
*/
.headerBGColour section {background:#49A34B;height:100px;padding:10px;border-top:1px solid #295629;border-bottom:1px solid #295629;}

.header-content h1{color:#295629}
.et-fixed-header{ -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.9);
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.9);}
.itemTitle{background:#1A5757;color:#B7CCB7;padding:0;border:1px solid #1F4141}
/* Hide "no results" message on blog module */
.et_pb_blog_grid .no-results {display: none;}
#footer-info{color:#B7CCB7;}

/* Set the slider height */
.et_pb_container { 
    height: 425px; 
}
.et_pb_slide { 
    max-height: 425px; 
}
.et_pb_slide_description { 
    position: relative; 
    top: 25%; 
    padding-top: 0 !important; 
    padding-bottom:0 !important; 
    height:auto !important; 
}
/* boxed sections */
    .boxed {
            max-width: 90%;
            float: none;
            margin-bottom: 25px;
            margin-top: 25px;
            left: 48%;
            margin-right: -50%;
            transform: translate(-50%, 0%);
            -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.7);
            -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.7);
            box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.7);}
 
    @media only screen and (max-width : 1350px) {
    .boxed {max-width: 95%;}}
 
    @media only screen
        and (min-device-width : 320px) 
        and (max-device-width : 1024px)
        and (-webkit-min-device-pixel-ratio: 1){
            .boxed {
                max-width: 100%;
                float: none;
                margin: 0;
                left: 0%;
                margin-right: 0%;
                transform: translate(0%, 0%);}}
/* boxed-up sections */
    .moveup {
            margin-top: -50px;
            border-radius: 5px;}


.pageBannerHeader{min-height:150px;background-color:#49A34B!important}

.btblurbshovers .et_pb_button:after {
opacity: 1!important;
right: 0;
top: 0px;
background: #0086b6;
padding-top: 7px;
padding-bottom: 6px;
}
.btblurbshovers .et_pb_coloumn{
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
} .btblurbshovers .et_pb_coloumn:hover{
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
.btblurbshovers .et_pb_column:hover .et_pb_button {
background: #858585!important;
}
.btblurbshovers .et_pb_column:hover .et_pb_button:after {
background: #ccc;
}
.btblurbshovers .et_pb_column:hover .et_pb_blurb .et-pb-icon {
background: #5E9D4D!important;color:#fff !important;
}

.home #main-header{background:rgba(255,255,255,0.3);}
.home .et-fixed-header{background:#fff !important;}
.zoomAnim {
    overflow:hidden ;
    position: relative;
    padding: 0;
}
.zoomAnim:before {
    content: "";
    position: absolute;
    left:0; /*Left and Top sets the alignment of the image, you may need to change these if you want the image to move in a different direction*/
    top:0;
    width: calc(100vw + 120px); /*We are adding some extra width and height to the image so when it zooms and pans we don't get any whitespace around it. You may need to change these values if you change the values in the keyframes section of CSS below*/
    height: calc(100vh + 150px);
    z-index: -1;
    background: url(http://www.equinedentistryservices.com/wp-content/uploads/2016/08/equineBanner-1.jpg); /*Change to the URL of the image you want to use*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    -ms-animation:move 8s ease forwards;
    -webkit-animation:move 8s ease forwards;
    -moz-animation:move 8s ease forwards;
    animation:move 8s ease forwards; /* This sets the duration of the effect and the value 'forwards' tells the effect to stop when its finished rather than loop. */
}
@keyframes move {
    from {
    -ms-transform: scale3d(1); 
    -webkit-transform: scale3d(1); 
    -o-transform: scale3d(1); 
    -moz-transform: scale3d(1); 
    transform: scale3d(1); /*This tells the image to start at its original size*/
  }
    to {
    -ms-transform: scale3d(1.2, 1.2, 1.2) translate3d(-150px, -50px, 0px);
    -webkit-transform: scale3d(1.2, 1.2, 1.2) translate3d(-150px, -50px, 0px);
    -o-transform: scale3d(1.2, 1.2, 1.2) translate3d(-150px, -50px, 0px);
    -moz-transform: scale3d(1.2, 1.2, 1.2) translate3d(-150px, -50px, 0px);
    transform: scale3d(1.2, 1.2, 1.2) translate3d(-150px, -50px, 0px); /*This tells the image to finish at 1.2x it's original size and at a position of -150px on the X axis and -120px on the Y axis. You can adjust these values to get the effect you want*/
  }
}

/*------------------------------*/
/*-----Style Top Menu-----------*/
/*------------------------------*/

#top-menu li.menu-item a{
    border-bottom:10px solid rgba(255,255,255,0);
}
#top-menu li.menu-item a:hover{
    border-bottom:10px solid rgba(255,255,255,0);
 /*  border-image: linear-gradient(to right, #459B48, rgba(255,255,255,0)) 10 10 10 10;
   border-image: radial-gradient(#A044475, #ccc 15%, #fff 60%);*/
}
#top-menu li.menu-item a:hover:before {
    content:"";
    position: absolute;
    right: 50%;
    bottom: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #459B48 transparent;
    z-index:9999;
}
#main-header .nav li ul a{
 border-bottom:10px;
}
#main-header .nav li ul a:hover {
 border-bottom:10px;
}
#main-header .nav li ul a:hover:before {
    content:"";
    position: absolute;
    left: 0;
    top:0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent #459B48 transparent !important;
    z-index:9999;
}
/*-----------------------------------------------*/
/*----- Customisations to Global Blog post ------*/
/*----- to cater for footer divider styling -----*/
/*-----------------------------------------------*/
.single .et_pb_post {
	margin-bottom:0;
	padding-bottom:0;
}
.single #left-area{
		padding-bottom:0;
}


