/*
Theme Name: Divi Child
Description: 
Author: 
Template: Divi
*/

/*
** setup
*/

body {
    overflow-x: hidden;
}

/* image dragging */

img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* icon with text - icon will center on mobile - just add icon code to 'before' */

.icon-left:before {
    margin: 0 15px 0 0;
    float: left;
    font-size: 30px !important;
    color: #449eda;
    display: inline-block;
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 300;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.icon-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media all and (max-width:980px) {
    .icon-left:before {
        margin: 0 0 15px 0;
    }

    .icon-left {
        text-align: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -ms-grid-row-align: center;
        align-items: center;
    }
}

/* 
** fonts
*/

h1 {
    font-size: 33px!important;
    padding-bottom: 0.5em;
    line-height: 1.3em;
    font-weight: 300;
}

@media all and (max-width:980px) {
    h1 {
        font-size: 28px;
    }
}

@media all and (max-width:767px) {
    h1 {
        font-size: 24px;
    }
}

h2 {
    font-size: 33px!important;
    padding-bottom: 0.5em;
    line-height: 1.3em;
    font-weight: 300;
}

@media all and (max-width:980px) {
    h2 {
        font-size: 28px!important;
    }
}

@media all and (max-width:767px) {
    h2 {
        font-size: 24px!important;
    }
}

h3,
h4,
h5 {
    line-height: 1.3em;
}

@media all and (max-width:980px) {

    h3,
    h4,
    h5 {
        font-size: 26px!important;
    }
}

@media all and (max-width:767px) {

    h3,
    h4,
    h5 {
        font-size: 22px!important;
    }
}

p,
a,
ol,
ul,
li,
.et_pb_blurb_description {
    line-height: 1.8em;
}

@media all and (max-width:767px) {

    p,
    a,
    ol,
    ul,
    li,
    .et_pb_blurb_description {
        font-size: 14px;
    }
}

/*
** buttons
*/

a.ts-btn {
  padding: 7px 20px 8px 20px;
  box-sizing: border-box;
  border-width: 2px;
  border-style: solid;
  border-radius: 50px;
  font-size: 14px;
  min-width: 130px!important;
  display: inline-block;
  text-align: center;
  -webkit-transition: background 0.4s, border 0.4s, color 0.4s;
  transition: background 0.4s, border 0.4s, color 0.4s;
  margin: 0 5px;
}
a.ts-btn.button-dark-solid {
  background: #1380DB;
  color: #fff;
  border-color: #1380DB;
}
a.ts-btn.button-dark-outline {
  background: rgba(0,0,0,0);
  color: #1380DB;
  border-color: #1380DB;
}
a.ts-btn.button-dark-solid:hover,
a.ts-btn.button-dark-outline:hover {
  background: #35597f;
  border-color: #35597f;
  color: #fff;
}
a.ts-btn.button-light-solid {
  background: #fff;
  color: #1380DB;
  border-color: #fff;
}
a.ts-btn.button-light-outline {
  background: rgba(0,0,0,0);
  color: #fff;
  border-color: #fff;
}
a.ts-btn.button-light-solid:hover,
a.ts-btn.button-light-outline:hover {
  background: #eceef4;
  border-color: #eceef4;
  color: #1380DB;
}
a.ts-btn:first-child {
    margin-left: 0;
}
a.ts-btn:last-child {
    margin-right: 0;
}

/* 
** custom trigger desktop & mobile nav 
*/

/* desktop menu */
#trigger-desktop-nav-container {
    text-align: center; /* change as wish */
}

#trigger-desktop-nav-container #custom-logo {
    position: absolute;
    top: 0; /* change as wish */
    left: 0; /* change as wish */
    height: 100%;
    width: auto;
}    

ul#trigger-desktop-nav {
    padding: 0!important;
}

#trigger-desktop-nav li {
    display: inline-block;
	position: relative;
}

#trigger-desktop-nav li:not(:last-child):after {
    content: '';
    height: 100%;
    width: 1px;
    background: #000;
    position: absolute;
    top: 0;
	right: -3px;
}

#trigger-desktop-nav li a {
    display: inline-block;
    padding: 15px 10px;
	color: #fff;
	font-family: 'Verdana',Helvetica,Arial,Lucida,sans-serif;
}

#trigger-desktop-nav li:hover,
#trigger-desktop-nav a:hover {
    cursor: pointer;
	color: #c6268c;
}

#trigger-desktop-nav ul.sub-menu li {
    color: #828282;
    padding: 0;
    display: block;
    text-align: left;
}

#trigger-desktop-nav ul.sub-menu a {
    padding: 12px 16px;
    display: block;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}

#trigger-desktop-nav ul.sub-menu a:hover {
    background: #0279ce;
    color: #fff;
}

#trigger-desktop-nav .sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    background: #fff;
    padding: 10px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#trigger-desktop-nav li.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

#trigger-desktop-nav li.menu-item-has-children:after {
    content: "\e044";
    display: inline;
    position: relative;
    font-family: 'ETmodules';
    color: inherit;
    margin-right: 5px;
    font-style: normal;
}

/* mobile menu */

#trigger-mobile-nav-container {
    display: none;
}

ul#trigger-mobile-nav {
    list-style-type: none;
    padding: 0;
}

ul#trigger-mobile-nav li:not(:last-child) {
	border-bottom: 1px solid #000;
}

ul#trigger-mobile-nav li a {
    padding: 12px;
	font-size: 15px;
    display: block;
    color: #fff;
	font-family: 'Verdana',Helvetica,Arial,Lucida,sans-serif;
}

header #open-mobile {
    display: none;
}

@media all and (max-width:980px) {
    #trigger-mobile-nav-container  {
		display: none;
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    #trigger-desktop-nav-container #custom-logo {
        display: block;
        float: left;
        max-width: 175px; /* change as you wish */
        height: auto;
    }
    
    #trigger-mobile-nav-container.nav-open  {
        display: block;
    }

    #trigger-mobile-nav .menu-item-has-children .sub-menu {
        display: none;
    }

    #trigger-mobile-nav .menu-item-has-children.visible .sub-menu {
        display: block;
    }
    
    #trigger-desktop-nav {
        display: none;
    }
    
    header #open-mobile {
        display: block;
        padding: 5px 10px;
    }
	
	header #open-mobile:before {
		color: #c6268c;
	}
}

/* FA icons for <i> use - add required icons below */

.fal:before {
    font-size: 1.75em;
    color: #449eda;
    display: inline-block;
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 300;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* lists */

.primary-bullets .et_pb_text_inner ul {
    list-style-type: none;
    padding: 15px 0 23px 1.2em;
}

.primary-bullets .et_pb_text_inner ul>li {
    line-height: 1.4em;
    padding-bottom: 10px;
}

.primary-bullets ul>li:before {
    content: '\f138';
    font-size: 0.9em;
    margin-left: -1.4em;
    margin-right: 0.4em;
    font-family: 'Font Awesome 5 Pro';
    font-style: normal;
    font-weight: 300;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/*
** layouts
*/
@media (max-width: 767px){
    .et_pb_row { width: calc(100% - 60px); max-width: calc(100% - 60px); }
}
@media (min-width: 981px){
    .colx8-desktop .et_pb_module {width: 12.5%; float: left;}
    .colx7-desktop .et_pb_module {width: 14.28%; float: left;}
    .colx6-desktop .et_pb_module {width: 16.66%; float: left;}
    .colx5-desktop .et_pb_module {width: 20%; float: left;}
    .colx4-desktop .et_pb_module {width: 25%; float: left;}
    .colx3-desktop .et_pb_module {width: 33.3%; float: left;}
    .colx2-desktop .et_pb_module {width: 50%; float: left;}
    .colx1-desktop .et_pb_module {width: 100%; float: left;}
} 
@media (max-width: 980px){
    .colx8-tablet .et_pb_module {width: 12.5%; float: left;}
    .colx7-tablet .et_pb_module {width: 14.28%; float: left;}
    .colx6-tablet .et_pb_module {width: 16.66%; float: left;}
    .colx5-tablet .et_pb_module {width: 20%; float: left;}
    .colx4-tablet .et_pb_module {width: 25%; float: left;}
    .colx3-tablet .et_pb_module {width: 33.3%; float: left;}
    .colx2-tablet .et_pb_column {width: 50%!important; float: left;}
    .colx1-tablet .et_pb_module {width: 100%; float: left;}
}
@media (max-width: 767px){
    .colx8-mobile .et_pb_module {width: 12.5%; float: left;}
    .colx7-mobile .et_pb_module {width: 14.28%; float: left;}
    .colx6-mobile .et_pb_module {width: 16.66%; float: left;}
    .colx5-mobile .et_pb_module {width: 20%; float: left;}
    .colx4-mobile .et_pb_module {width: 25%; float: left;}
    .colx3-mobile .et_pb_module {width: 33.3%; float: left;}
    .colx2-mobile .et_pb_column {width: 50%!important; float: left;}
    .colx1-mobile .et_pb_module {width: 100%; float: left;}
}

/*
** wpcf7 form
*/

/* START 4 INPUT LAYOUT */

/* input style */

.wpcf7_4_inputs_1 input[type="text"],
.wpcf7_4_inputs_1 input[type="email"],
.wpcf7_4_inputs_1 input[type="tel"],
.wpcf7_4_inputs_1 textarea,
.wpcf7_4_inputs_1 select {
    padding: 10px;
    box-sizing: border-box;
    font-size: inherit;
    border: 1px solid #ccc;
    background: #fff;
    width: 100%;
    text-align: left;
    /*can center*/
}


/* select */

.wpcf7_4_inputs_1 select {
    height: 37px !important;
    border-radius: 0px !important;
}


/* input layout */



/* recaptcha*/

.wpcf7_4_inputs_1 .wpcf7-recaptcha div:first-child {
    /*margin: 0 auto 0 0;
     left*/
    /*margin: 0 0 0 auto;
     right*/
    margin: 0 auto 0 auto;
    /*center*/
}


/* submit button */

.wpcf7_4_inputs_1 p:last-of-type {
    text-align: center;
    /*align button*/
    padding-top: 15px;
}


/* mobile style */

@media all and (max-width: 767px) {
    .wpcf7_4_inputs_1 p {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }
}


/* END 4 INPUT LAYOUT */


/* START 5 INPUT LAYOUT */


/* input style */

.wpcf7_5_inputs_1 input[type="text"],
.wpcf7_5_inputs_1 input[type="email"],
.wpcf7_5_inputs_1 input[type="tel"],
.wpcf7_5_inputs_1 textarea,
.wpcf7_5_inputs_1 select {
    padding: 10px;
    box-sizing: border-box;
    font-size: inherit;
    border: 0px;
    background: #eff2f4;
    width: 100%;
    text-align: left;
    /*can center*/
}

.wpcf7_4_inputs_1 textarea,
.wpcf7_5_inputs_1 textarea {
    max-height: 100px;
}


/* select */

.wpcf7_5_inputs_1 select {
    height: 37px !important;
    border-radius: 0px !important;
}


/* input layout */

.wpcf7_5_inputs_1 p:nth-child(2),
.wpcf7_5_inputs_1 p:nth-child(3),
.wpcf7_5_inputs_1 p:nth-child(4),
.wpcf7_5_inputs_1 p:nth-child(5) {
    width: 49%;
    padding: 0;
    margin: 0 1% 1% 0;
    float: left;
}

.wpcf7_5_inputs_1 p:nth-child(6) {
    width: 99%;
}


/* recaptcha*/

.wpcf7_5_inputs_1 .wpcf7-recaptcha div:first-child {
    /*margin: 0 auto 0 0;
     left*/
    /*margin: 0 0 0 auto;
     right*/
    margin: 0 auto 0 auto;
    /*center*/
}


/* submit button */

.wpcf7_5_inputs_1 p:last-of-type {
    text-align: center;
    /*align button*/
    padding-top: 15px;
}

input.wpcf7-form-control.wpcf7-submit {
    padding: 15px 30px;
    font-size: 16px;
    border: 0;
	background: #c6268c;
	border-radius: 4px;
	color: #fff;
}
input.wpcf7-form-control.wpcf7-submit:hover {
	background: #343C90;
	cursor: pointer;
}


.wpcf7-list-item-label a { color: #c6268c; }

/* mobile style */

@media all and (max-width: 767px) {
    .wpcf7_5_inputs_1 p {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }
}


/* END 5 INPUT LAYOUT */

/* form validation styles */
span.wpcf7-not-valid-tip {
    text-align: center;
}

div.wpcf7-response-output {
    border: 0;
    margin: 0!important;
    padding: 15px 10px!important;
    box-sizing: border-box;
    width: 100%;
    line-height: 1em;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999999 !important;
    -webkit-animation: hideAlert 0.4s ease-in-out 4s forwards;
    animation: hideAlert 0.4s ease-in-out 4s forwards;
}

.wpcf7-form.invalid .wpcf7-response-output,
div.wpcf7-acceptance-missing {
    border: 0;
    background: #f7445c!important;
    color: #fff;
}

.wpcf7-form.invalid .wpcf7-response-output:before {
    content: '\f057';
    font-weight: 300;
    font-family: "Font Awesome 5 Pro";
    font-style: normal;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #fff;
    margin-right: 7px;
}

.wpcf7-form.sent .wpcf7-response-output {
    border: 0;
    background: #68c66f;
    color: #fff;
}

.wpcf7-form.sent .wpcf7-response-output:before {
    content: '\f058';
    font-weight: 300;
    font-family: "Font Awesome 5 Pro";
    font-style: normal;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #fff;
    margin-right: 7px;
}

/* form load spinner */
div.wpcf7 .ajax-loader {
    display: block;
    margin: 10px auto 0 auto;
    background-image: none !important;
    position: relative;
}

div.wpcf7 .ajax-loader:before {
    content: '';
    width: 30px;
    height: 30px;
    background: #fff;
    display: block;
    border-left: 3px solid #000;
    border-right: 3px solid #efefef;
    border-top: 3px solid #efefef;
    border-bottom: 3px solid #efefef;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: calc(50% - 15px);
    -webkit-animation: trigger-spinner 0.4s linear infinite;
    animation: trigger-spinner 0.4s linear infinite;
}

@-webkit-keyframes trigger-spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes trigger-spinner {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* anr recaptcha */

.anr_captcha_field_div>div {
    margin: 0 auto;
    display: block;
}

/* 
//
// animations 
//
*/

/* page fade in - uncomment if used
#page-container {
    opacity: 0;
    -webkit-transition: opacity 2s!important;
    transition: opacity 2s!important;
}

#page-container.page-fade-in {
    opacity: 1 !important;
}
*/

/* waypoints fade animations */

.et_pb_row .et_pb_animation_fade_in {
    opacity: 0;
    animation-fill-mode: forwards;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(2) {
    animation-delay: 0.25s;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(3) {
    animation-delay: 0.5s;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(4) {
    animation-delay: 0.75s;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(5) {
    animation-delay: 1.0s;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(6) {
    animation-delay: 1.25s;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(7) {
    animation-delay: 1.5s;
}

.et_pb_row .et_pb_animation_fade_in:nth-child(8) {
    animation-delay: 1.75s;
}

.et-fb-preview--wireframe .et_pb_row .et_pb_animation_fade_in,
.et-fb-preview--desktop .et_pb_row .et_pb_animation_fade_in,
.et-fb-preview--tablet .et_pb_row .et_pb_animation_fade_in,
.et-fb-preview--phone .et_pb_row .et_pb_animation_fade_in {
    opacity: 1 !important;
    animation-delay: 0s !important;
}

/* wpcf7 alerts */

@-webkit-keyframes hideAlert {
    from {
        bottom: 0;
    }

    to {
        bottom: -100px;
    }
}

@keyframes hideAlert {
    from {
        bottom: 0;
    }

    to {
        bottom: -100px;
    }
}

/* fadeInUp animation */

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 5%, 0);
        transform: translate3d(0, 5%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}