/* ---------------- Horizontal sMenu--------------- */

/* menu Background */
#menuwrapper {
   background: linear-gradient(270deg, rgba(32,55,107,1) 0%, rgba(70,117,186,1) 100%);
   }

/* Mobile menu hamburger */
.main-menu-btn { 
    Float: right;
}

@media (min-width: 768px) {
   .sm {    /* Alignment*/
    clear: none;
    }
   .sm-clean { /*background color*/
    padding: 0 10px;
    background: rgba(0,0,0,.0) !important;
    border-radius: 0 !important;
    }
   .sm-clean a, .sm-clean a:focus, .sm-clean a:active { /*initial font color*/
    color: #FFF !important;
    border-radius: 0 !important;
   }
   .sm-clean .sm-nowrap > li > a, .sm-clean .sm-nowrap > li > :not(ul) a { /* second level fonts no caps */
    white-space: nowrap;
    text-transform: none;
    font-family: "oswaldlight", Arial, Helvetica, sans-serif !important;
    line-height: 20px !important;
    }
   .sm-clean ul a, .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted { /*dropdown font color*/
    color: #fff !important;
     }
   .sm-clean a:hover, .sm-clean a.highlighted {    /* hovertoplevel - with bordercolortop */
    background: #20366A;
    color: #fff !important;
   }  
   .sm-clean a .sub-arrow { /* arrow color - to view add a color the first position */
    border-color: transparent transparent transparent transparent; 
   }
   .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active { /* font */
   font-family: 'oswaldlight', sans-serif !important;
   font-size: 18px;
   letter-spacing: .5pt;
    line-height: 50px;
   }
   .sm-clean a.has-submenu { /* padding and height for main menu*/
    padding-right: 24px;
    line-height: 50px;
    }
   .sm-clean ul a:hover, .sm-clean ul a:focus, .sm-clean ul a:active, .sm-clean ul a.highlighted {    /* SubMenu Hover */
   background: #4573B7 !important;
   margin: 0;
   }
   .sm-clean ul { /* subMenu Dropdown */
   border: 0px solid #bbbbbb;
   padding: 0; /* remove padding on dropdown */
   background: #20366A;
   border-radius: 0px 0px 5px 5px !important;
   box-shadow: 0 5px 9px rgb(0 0 0 / 20%);
   opacity: 92%;
  /* margin-top: 0 !important;GD */
   text-transform: none;
   line-height: 1em !important;
   }
  .sm-clean > li > ul::before,
  .sm-clean > li > ul::after { /* remove arrow on subs */
   display: none;
  }
  .main-menu-check:not(:checked) ~ .sm { /* Return menu to normal after mobile*/
    object-fit: none;
    position: inherit !important;
    opacity: 2 !important;
  }  
  .nav-brand a {
    display: none !important;
  }
}
  .main-menu-check:not(:checked) ~ .sm { /* eliminate old menu animation in mobile */
    object-fit: cover;
    position: absolute;
    opacity: 0;
} 
   .sm-clean { /* mobile */
    border-radius: 0;
}
    .sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active { /* mobile font */
    font-family: "Segoe UI", Helvetica, sans-serif;
}
.main-nav-expanded { /*full sized mobile*/
    position: fixed;
    height: 100%;
    background: #eee;
    width: 95%;
    left: 0;
    z-index: 5;
    top: 0;
    overflow: auto;
    -webkit-box-shadow: 5px -1px 10px -6px #333;
    box-shadow: 5px -1px 10px -6px #333;
    -webkit-animation-name: ezslider;
    -webkit-animation-duration: 0.6s;
    animation-name: ezslider;
    animation-duration: 0.6s;
    opacity: 98%;
    }

@-webkit-keyframes ezslider {
    from {left:-600px; opacity:0} 
    to {left:0; opacity:1}
    }
@keyframes ezslider {
    from {left:-600px; opacity:0}
    to {left:0; opacity:1}
}
/* change mobile background color ------------------------- */
.main-nav-expanded {
  background: #416cad;
}

.sm-clean a, .sm-clean a:hover, .sm-clean a:focus, .sm-clean a:active {
   color: #FFF;
}
.sm-clean {
    background:#416cad;
}

/* hamburger background alignment etc below ---------------- */
.main-menu-btn {
    margin: 6px 2px;
    width: 44px;
    height: 40px;
    text-indent: 29px;
    color: transparent;
    border-radius:2px;
} 
   .main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {  /* m-hamburger */
   background: #FFF !important;
}
   .main-menu-btn-icon {
   left: 10px;
}

.nav-brand {  /* mobile text */
    float: left;
    margin: 18px 0 0 15px;
}

.nav-brand a {
    display: contents;
    color: #FFF;
    position: absolute;
    top: 22px;
    font-family: 'oswaldlight', helvetica, sans-serif;
    font-size: 22px;
    font-weight: normal;
    left: 51px;
    line-height: 18px;
    text-decoration: none;
}

.overflow-hidden { /* mobile add to body tag */
	overflow: hidden;
}

/* -------------- Vertical --------------- */

@media (min-width: 768px) { /* Menu width BG Color */
   .sm-clean.sm-vertical {
    background: #e8e8e8 !important;
    border-radius: 0;
    width: 100%;
    padding: 0; /* remove padding in vertical */
  }
   .sm-vertical a:hover, .sm-vertical a.highlighted { /* First level margin */
    border-top: 0;
    margin-top: 0;
   }
   .sm-vertical a, .sm-vertical a:hover, .sm-vertical a:focus, .sm-vertical a:active { /* Font */
    font-family: 'open_sanssemibold', helvetica, sans-serif;
    text-transform: none;
    color: #19366B !important;
    }
    .sm-clean.sm-vertical ul { /* Fly out */
    border: 0px solid #bbbbbb;
    padding: 0; /* remove padding on fly-out */
    background: #e8e8e8;
    border-radius: 0px !important;
    box-shadow: 0 5px 9px rgb(0 0 0 / 20%);
    opacity: 99%;
    margin-left: 100% !important; /*animation*/
    top: -4px !important; /*animation*/
    }
   .sm-clean.sm-vertical a:hover, .sm-clean.sm-vertical a:focus, .sm-clean.sm-vertical a:active, .sm-clean.sm-vertical a.highlighted { /* hover color BKG and text*/
    background: #5C238E !important;
    color: #fff !important;
   }
   .sm-clean.sm-vertical a:hover .sub-arrow { /*sub-arrow-hover*/
    border-color: transparent transparent transparent #ffffff;
   }
}
    .sm-panel-bar {
    background: #fff;
    border-radius: 5px;
}
    .sm-panel-bar a, .sm-panel-bar a:hover, .sm-panel-bar a:focus, .sm-panel-bar a:active {
    color: #19366B;
    font-family: open_sanssemibold, helvetica, sans-serif;
}
    .sm-vertical { /*set vertical width */
    width: 100%
}
   .main-nav-panel-bar .nav-brand {/*remove panel bar top space*/
    display:none;
}
    .main-nav-panel-bar .sm-panel-bar {/* modify panel bar z-index */
    z-index:2;
}
    .main-nav-panel-bar .sm a:hover { /* panel bar hover */
    background: #efefef;
}
/* end Menu */

.customFormIframe{
    position: relative;
}
html.t-ie9 #homeleft_hp{
    width: 25%;
}
html.t-ie9 #homemiddle_hp{
    width: 49% !important;

}
html.t-ie9 #homeright{
    width: 25%;
}
html.t-ie9 #homemiddle_hp {
    max-width: none;
}
/*--------------------------------------------------------Slideshow Rollover Images--------------------------------------------------------*/

@media screen and (max-width:700px) {
    #slideshow .ezlayout2Col2 .slideshow-right .widgetitem:hover {
        background-size: contain !important;
    }
}

/*--------------------------------------------------------Font Awesome Icons-------------------------------------------------------*/


/*Affects all icons*/

.fa {
    overflow: hidden;
    background-blend-mode: multiply;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*-----------Icon Shapes----------*/


/*Font Size and Width/Height should be the same size to keep the icon centered*/


/*But you can increase or decrease the padding to get a larger radius*/


/*Makes the icons a circle*/

.circle {
    font-size: 20px !important;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    text-align: center;
    padding: 9px 7px 6px 7px;
}
/*------------Icon Font Colors and Background ------*/


/*Sets all of the icons to one color*/

.uniform {
    color: #fff !important;
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(102,102,102,1) 70%);
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
.uniform:hover {
    background-color: #19366b !important;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
/*---------------make youtube video full width ----------*/
.responsive-youtube
{overflow:hidden; padding-bottom:56.25%; position:relative; height:0;}
.responsive-youtube iframe
{left:0; top:0; height:100%; width:100%; position:absolute;}

/*---------------slideshow area custom ----------*/

#slideshow .eztabs__tabs, .eztabs__tabs__editors {
    display: block;
    float: right;
}

#slideshow .image-holder {
	height: 144px;
	width: 320px;
	position:relative;
	border-radius: 10px;
	background-color: #20366a;
	border: 3px #fff solid;
	box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}
#slideshow .image-holder img {
	border-radius: 10px;
}

#slideshow .btnover {
	position: absolute;
	top:0;
	left:0;
}

#slideshow .image-holder:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(32, 54, 106, 0.7);
  transition: all .3s linear;
  border-radius: 10px;
}
#slideshow .image-holder:hover:before { 
  background: none;
}
#slideshow .image-holder .caption {
	font-family: 'open_sansextrabold', sans-serif;
	font-size: 40px;
	position: absolute;
	width: 300px;
	height: 35px;
	bottom: 0px;
	left: 10px;
	color: #ffffff;
	text-align:left;
	text-shadow: 2px 2px 2px #000000;
}

/*------------------------------------------------------------------------homepage stretch buttons--------------------------------------------------------------*/
.stretch-btn-group {
width: 100%;
}
.stretch-btn-group .ezbutton {
    background: transparent;
    border: none;
    background-clip: padding-box;
    color: #333;
    padding: 10px 0px;
    cursor: pointer;
    float: left;
    width: 14%;
    display: flex;
    justify-content: center;
    text-align: center;
	   line-height: 15px;
}
.rp_buttons .stretch-btn-group .ezbutton {
    background: transparent;
    border: none;
    background-clip: padding-box;
    color: #333;
    padding: 10px 10px;
    cursor: pointer;
    float: left;
    width: 14%;
    display: flex;
    justify-content: center;
    text-align: center;
	   line-height: 15px;
}

.stretch-btn-group .ezbutton span {
   font-family: 'open_sanssemibold', sans-serif;
   font-size: 14px;
   color: #fff;
   /*display: inline-block;*/
   vertical-align: middle;
   text-align: center;
   white-space: nowrap;
   width: 100%;
   text-transform: uppercase;
}
.stretch-btn-group .ezbutton a {
   text-decoration:none !important;
}

/* Clear floats (clearfix hack) */
.stretch-btn-group: after {
   content: "";
   clear: both;
   display: table;
}


.stretch-btn-group .ezbutton:last-child {
   border-right: none; /* Prevent double borders */
}

/* Add a background color on hover */
.stretch-btn-group .ezbutton:hover {
   transition: all 0.5s ease;
}

.stretch-btn-group .ezbutton img {
   transition: all 0.5s ease;
   padding-bottom:5px;
 /*    border-radius: 50%;
   background: #417D31;*/
  /* padding: 15px;  button size */
/*    margin-bottom: 10px;
  -webkit-box-shadow: 4px 5px 0px 0px rgba(217, 217, 217, 9);
   -moz-box-shadow: 4px 5px 0px 0px rgba(217, 217, 217, 9);
   box-shadow: 4px 5px 0px 0px rgba(217, 217, 217, 9);*/

}

.stretch-btn-group .ezbutton img:hover {
transform: translateY(-10px);
    transition: all 0.5s ease;
  /*    -webkit-box-shadow: 0px 10px 10px -5px #000;
    -moz-box-shadow: 0px 10px 10px -5px #000;
    box-shadow: 0px 10px 10px -5px #000;*/
}

@media screen and (max-width:700px) {
    .stretch-btn-group .ezbutton {
        width: 50%;
        padding: 10px 0;
    }
   .stretch-btn-group .ezbutton img:hover {
        transform: none !important;
        transition: none !important;
    }
}
