/*
 Theme Name:   Alpine Financial Services
 Theme URI:    http://divinotes.com/
 Description:  A Child Theme built for Divi by Divi Notes
 Author:       divinotes
 Author URI:   http://www.divinotes.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
@media (min-width: 981px) {
.et_vertical_nav #page-container #main-header {
    width: 325px !important;
}
}
*/

/* Style the caldera form button */
.caldera-grid input[type=submit] {
padding: 10px 20px;
border-radius: 0px;
/* background: #659896; */
color: #20b4e8;
font-weight: 700;
font-size: 14px;
border: 2px solid #20b4e8;
float: right;
transition: all 0.3s ease-in-out;
}

.caldera-grid input[type=submit]:hover {
/* background: rgba(0, 0, 0, 0.05); */
border-color: transparent;
color: #fff;
background: #69cce3;
border: 2px solid transparent;
}

/* Right Align Menu */
div#et-top-navigation {
    text-align: right !important;
}


/* Space Menu items */
@media (min-width: 981px) {
.et_vertical_nav #main-header #top-menu > li > a {
    padding-bottom: 35px !important;
}
}

/* Increase width of vertical navigation */
@media (min-width: 981px) {
.et_vertical_nav #page-container #main-header{
width:18%;
}

.et_vertical_nav #et-main-area, .et_vertical_nav #top-header{
margin-left:18% !important;
}
}

/* Copyright Text Colour */
p#copyright {
    color: white !important;
}

/* Divi Slider Height */
@media only screen and ( min-width:981px ) {
    /* Set the slider height */
    .et_pb_slider, .et_pb_slider .et_pb_container { 
        height: 450px !important; 
    }
    .et_pb_slider, .et_pb_slider .et_pb_slide { 
        max-height: 450px; 
    }
    .et_pb_slider .et_pb_slide_description { 
        position: relative; 
        top: 25%; 
        padding-top: 0 !important; 
        padding-bottom:0 !important; 
        height:auto !important; 
    }
}

/*Code updated on June 12, 2016. Now it works without enabling 
blurb circle in the Blurb Module General Settings*/

.et_pb_blurb_content:hover {
	cursor: pointer !important;
}
.sonarEffect .et-pb-icon {
	border-radius: 100%;
	position: relative;
}
.sonarEffect .et-pb-icon:after {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 100%;
	content: '';
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.sonarEffect .et-pb-icon:after {
	top: 0;
	left: 0;
}
.sonarEffect .et-pb-icon:hover {
	color: #fff;
}
.sonarEffect .et_pb_blurb_content:hover .et-pb-icon:after {
	-webkit-animation: sonarEffect 1.3s ease-out 75ms;
	-moz-animation: sonarEffect 1.3s ease-out 75ms;
	-o-animation: sonarEffect 1.3s ease-out 75ms;
	animation: sonarEffect 1.3s ease-out 75ms;
}
@-webkit-keyframes sonarEffect {
	0% {
		opacity: 0.3;
		-webkit-box-shadow: 0 0 0 2px rgba(105, 204, 227, 0), 0 0 10px 10px rgba(105, 204, 227, 0), 0 0 0 10px rgba(105, 204, 227, 0);
	}
	40% {
		opacity: 0.5;
		-webkit-box-shadow: 0 0 0 2px rgba(105, 204, 227, 0.1), 0 0 10px 10px #69cce3, 0 0 0 10px rgba(255, 255, 255, 0.5);
	}
	100% {
		-webkit-box-shadow: 0 0 0 2px rgba(105, 204, 227, 0.1), 0 0 10px 10px #69cce3, 0 0 0 10px rgba(255, 255, 255, 0.5);
		-webkit-transform: scale(1.5);
		opacity: 0;
	}
}
@-moz-keyframes sonarEffect {
	0% {
		opacity: 0.3;
		-moz-box-shadow: 0 0 0 2px rgba(105, 204, 227, 0), 0 0 10px 10px rgba(105, 204, 227, 0), 0 0 0 10px rgba(105, 204, 227, 0);
	}
	40% {
		opacity: 0.5;
		-moz-box-shadow: 0 0 0 2px rgba(105, 204, 227, 0.1), 0 0 10px 10px #69cce3, 0 0 0 10px rgba(255, 255, 255, 0.5);
	}
	100% {
		-moz-box-shadow: 0 0 0 2px rgba(105, 204, 227, 0.1), 0 0 10px 10px #69cce3, 0 0 0 10px rgba(255, 255, 255, 0.5);
		-moz-transform: scale(1.5);
		opacity: 0;
	}
}
@keyframes sonarEffect {
	0% {
		opacity: 0.3;
		box-shadow: 0 0 0 2px rgba(105, 204, 227, 0), 0 0 10px 10px rgba(231, 41, 51, 0), 0 0 0 10px rgba(105, 204, 227, 0);
	}
	40% {
		opacity: 0.5;
		box-shadow: 0 0 0 2px rgba(105, 204, 227, 0.1), 0 0 10px 10px #69cce3, 0 0 0 10px rgba(255, 255, 255, 0.5);
	}
	100% {
		box-shadow: 0 0 0 2px rgba(105, 204, 227, 0.1), 0 0 10px 10px #69cce3, 0 0 0 10px rgba(255, 255, 255, 0.5);
		transform: scale(1.5);
		opacity: 0;
	}
}


/* divider colour */

.et_pb_divider_4:before {
    border-top-color: #20b4e8 !important;
}

.et_pb_divider_3:before {
    border-top-color: #20b4e8 !important;
}

.et_pb_divider_2:before {
    border-top-color: #20b4e8 !important;
}

.et_pb_divider_1:before {
    border-top-color: #20b4e8 !important;
}

.et_pb_divider_0:before {
    border-top-color: #20b4e8 !important;
}

/* Switch mobile logo */
@media only screen and (max-width: 981px) {
  /* Changes mobile logo to specified image */
  #logo {
    content: url("/wp-content/uploads/2017/06/Alpine-mobile-logo.png");
  }
}

/* Increased font size on mobile menu */
.et_mobile_menu {
    letter-spacing: 2px;
}

.et_mobile_menu li a {
    font-size: 18px;
}

/* Increase mobile menu bar height */
.et_header_style_left .mobile_menu_bar {
    padding-bottom: 30px;
}

/* Moved hamburger down */
.mobile_menu_bar:before {
    top: 15px !important;
}

/* Increase mobile menu bar height */
.mobile_menu_bar {
    line-height: 6;
}

@media (max-width: 980px) {
.et_header_style_left #logo {
    max-height: 90% !important;
}
}