/* ------------------------------  Normalization -------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1.75;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
}

table, td, th {
  vertical-align: middle;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: "" "";
}

a img {
  border: none;
}


/*-- Globals --*/

body {
  font-family: Nobile;
  background: #fafafa;
  color: #29383f;
}

h1 {
  font-size: 24px;
  line-height: 1.4;
}

h1 span {
  display: none;
}

h2 {
  font-size: 21px;
  line-height: 1.4;
}

h2 span {
  color: #444;
}

h3 {
  font-size: 17px;
  line-height: 1.4;
}

h4 {
  font-size: 14px;
  line-height: 1.4;
}

h5 {
  font-size: 13px;
  line-height: 1.4;
}

h6 {
  font-size: 12px;
  line-height: 1.4;
}

p {
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: #0797bf;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

ul, ol {
  font-size: 14px;
  line-height: 20px;
}

ol {
  list-style: inside decimal;
}

/* Apply box layout model to all elements */
* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}


/*-- Featured --*/

#feature-wrapper {
  margin: auto;
  padding: 0 15px 0 15px;
  background: url(../images/section-divider.gif) #63737e repeat-x 0 0;
}

#featured {
  width: 980px;	
  height: 300px;
  margin: auto;
  overflow: scroll;
  overflow-x: hidden;
  overflow-y: hidden;
}

#cycle_slider {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 630px;
  height: 370px;
  background: #F00;
}

.feature-left {
  float: left;
  width: 380px;
  margin: 35px 80px 0 0;
}

.feature-left p {
  display: block;
  height: 105px;
  overflow: hidden;
  text-align: left;
  color: #fff;
}

.feature-left p a {
	color: #61dafb;
}

.feature-left a:hover {
  text-decoration: underline;
}

.feature-title {
  font-size: 18px;
  color: #fff;
}

.feature-divider {
  background: url(../images/featured-divider.gif) repeat-x;
  height: 2px;
  width: 100%;
  margin: 16px 0px;
}

.feature-buttons {
  margin-top: 28px;
}

.feature-button-next, .feature-button-prev, .feature-button-portfolio {
  background: #61dafb;
  border: 1px solid #5a5a5a;
  border-radius: 2px;
  width: 100px;
  height: 33px;
  float: left;
  margin-right: 20px;
  overflow: hidden;
  font-size: 13px;
  text-align: center;
  padding-top: 7px;
  cursor: pointer;
  color: #000;
}

.feature-button-next:hover, .feature-button-prev:hover, .feature-button-portfolio:hover {
  text-decoration: none !important;
  opacity: .8;
  transition: all 400ms ease-in-out;
}

.feature-right {
  float: right;
  width: 520px;
  margin-top: 40px;
}

.feature-right img {
  outline: 1px solid #777;
  background-color: #1f282d;
  width: 515px;
  height: 221px;
  overflow: hidden;
}


a.feature-img {
  opacity: 1;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

a.feature-img:hover {
  opacity:.65;
  webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}


/*-- Main Body -- */

#main-wrapper {
  margin: auto;
  padding: 0 15px 0 15px;
}

#main {
  width: 980px;	
  margin: auto;
  padding: 40px 0 20px 0;
}

#main p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-divider-long, .main-divider-short {
  background: #bbb;
  height: 1px;
  width: 100%;
  margin: 15px 0px 20px 0px;
  clear: both;
}

.main-divider-short {
  margin-right: 80px;
  width: auto;
}

.main-divider-small {
  background: #bbb;
  height: 1px;
  width: 99%;
  margin: 5px 0 15px 0;
}

.main-left {
  width: 520px;
  float: left;
  padding-bottom: 20px;
}

.main-right {
  width: 460px;
  float: right;
  padding-bottom: 20px;
}

.main-left h2, .main-right h2 {
  font-size: 22px;
}

.container-left {
  width: 460px;
}

.main-button-long {
  background: #546971;
  border: 1px solid #29383f;
  border-radius: 5px;
  width: 100%;
  min-width: 140px;
  color: #f4f4f4;
  margin: 10px 10px 10px 0px;
  font-size: 15px;
  text-align: center;
  padding: 8px 10px 5px 10px;
  display: block;
}

.main-button-long:hover {
  text-decoration: none;
  opacity: .8;
  transition: all 400ms ease-in-out;
}

.contact {
  float: left;
}

.contact .type {
  width: 40px;
  float: left;
}

.contact .type span, .contact .value span {
  line-height: 20px;
}

.contact .value span {
  float: right;
}

.net-services {
  float: right;
  margin-right: 0px;
  margin-top: 14px;
}

.net-services img {
  background-color: transparent;
  border: 0px;
}

.service-icon {
  margin: 0px 0px 5px 15px;
  float: left;
}

.service-icon img {
  width: 34px;
  height: 34px;	
}

.service-icon a img:hover {
  transition: all 400ms ease-in-out;
  opacity: .6;
}

.section-wrapper {
    margin: auto;
    padding: 0 15px 0 15px;
    background: url(../images/section-divider.gif) #63737e repeat-x 0 0;
}

#section-name {
    width: 980px;
    margin: auto;
    padding-top: 17px;
    padding-bottom: 14px;
}

#section-name h1 {
    color: #f4f4f4;
    z-index: 9999 !important;
}

.cufon-canvas {
    z-index: 9999 !important;
}

#main-content {
    width: 600px;
    float: left;
}

#main p {
    padding-bottom: 20px;
}

#main-sidebar {
    width: 320px;
    float: right;
}

.widget {
    background: #2f3a3e url(../images/inner-sidebar-bg.jpg) repeat-x top;
    padding: 20px;
    margin-bottom: 40px;
    color: #f4f4f4;
    box-shadow: 0 3px 15px rgba(0,0,0,.4);
    border-radius: 2px;
}

.widget-content {
    font-size: 15px;
    min-height: 185px;
}

.widget-content img {
    margin-right: 15px;
    margin-bottom:10px;
    margin-top: 5px;
    background-color: #555;
  	outline: 1px solid #666;
  	float: left;
}

.widget-content img.avatar {
  width: 100%;
}

.sidebar-divider {
    background: url(../images/inner-sidebar-divider.gif) repeat-x;
    height: 2px;
    width: 100%;
    margin: 10px 0;
}

.fade {
  transition: all 400ms ease-in-out;
}

/*-- Footer --*/

#footer-wrapper {
  background: #1f282d;
  padding: 0 15px 0 15px;
}

#footer {
  width: 980px;
  margin: auto;
  padding: 33px 0;
  color: #f4f4f4;
  height: 100px;
}

#footer span {
  width: 100%;
  height: 20px;
  font-size: 14px;
}


/*-- Misc --*/

.float-left {
  float: left;
  margin-right: 20px;
}

.img-float-left {
  margin: 20px 20px 30px 0px;
  float: left;
}

.img-float-right {
  margin: 20px 0px 15px 20px;
  float: right;
}

.float-right {
  float: right;
  margin-left: 20px;
}

.clear {
  clear: both;
}


/*------ Particles ------*/

canvas {
  display:block;
  vertical-align:bottom;
}

#particles-container {
  position: relative;
}

#particles-js{
  width: 100%;
  height: 240px;
  background-color: #242e34; /* #2b373 */
  background-image: url('');
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.particles-text {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%,-50%);
  text-shadow: 0px 0px 2px #131415;
  color: #fff;
  text-align: center;
  width: 100%;
}

.particles-text h1 {
  font-size: 26px;
  animation: fadein 2.2s;
    -moz-animation: fadein 2.2s;
    -webkit-animation: fadein 2.2s; 
  }
  @keyframes fadein {
      from {
          opacity:0;
      }
      to {
          opacity:1;
      }
  }
  @-moz-keyframes fadein { /* Firefox */
      from {
          opacity:0;
      }
      to {
          opacity:1;
      }
  }
  @-webkit-keyframes fadein { /* Safari and Chrome */
      from {
          opacity:0;
      }
      to {
          opacity:1;
      }
  }


/*** Desktop style header & menu ***/

#nav-wrap {
  margin: auto;
  width: 980px;
}

.logo {
  float: left;
  padding-right: 15px;
  padding-top: 26px;
}

.logo img {
   width: 165px;
}

.logo a img {
   transition: none;
}

.header {
  padding: 0 15px 0 15px;
  background: #1f282d;
  height: 90px;
  position: relative;
}

@media (min-width: 769px) {

  .header ul.menu {
    float:right;
    padding-top: 28px;
  }

  .header ul.menu li.menu-item {
    float: left;
    list-style: none;
    margin-right: 3px;
    text-align: center;
  }

  .header ul.menu li.menu-item:last-child {
    margin-right: 0;
  }

  .header li.menu-item a:hover {
    opacity: .7;
    transition: all 300ms ease-in-out;
  }

  .header li.menu-item a {
    float: left;
    text-decoration: none;
    padding: 7px 18px 6px 18px;
    color: #f4f4f4;
    font-size: 14px;
    text-align: center;
  }

  .header li.menu-item.selected a, .header li.menu-item.current a {
   outline: 1px solid #fff; 
    /* glow box-shadow: 0 0 6px #00fff5, inset 0 0 5px #00fff5; */
  }

}


/*------ Misc tablet portrait and under media query ------*/

@media (max-width: 768px) {

  #main-wrapper {
    padding: 0 20px 0 20px;
  }

  .section-wrapper {
    padding: 0 20px 0 20px;
  }

  .logo {
    padding-top: 16px;
    transition: all 0.4s ease-out;
    -webkit-tap-highlight-color: transparent;
  }

  .logo img {
    width: 130px;
    transition: all 0.4s ease-out;
  }

  .hide-tablet {
      display: none;
  }

  #footer {
    width: 100%;
    text-align: center;
    padding: 18px 0;
    height: 60px;
  }

  #main {
    width: 100%;
    padding-top: 0 !important;
  }

  #featured {
    width: 100%;
  }

  #nav-wrap {
    width: 100%;
  }

  .img-float-left {
    margin: 20px 20px 10px 0px;
  }

  #main-content {
    width: 100% !important;
  }

  #main {
    padding: 5px 0 15px 0; 
  }

  .main-right {
    width: 100% !important;
    float: left;
    padding-top: 30px;
  }

  .main-left {
    width: 100% !important;
    padding-top: 30px;
  }

  .main-body {
    padding-top: 20px;
  }

  .container-left {
    width: 100%;
  }

  #main-sidebar {
    width: 100% !important;
    float: left !important;
  }

  .widget {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  #section-name {
    clear: both;
  }

  #section-name {
    padding-top: 80px !important;
    padding-bottom: 0;
    width: 100%;
  }

  #section-name h1 {
    color: #333 !important;
  }

  .section-wrapper {
    background: none !important;
  }

  .service-items {
    padding-top: 20px !important;
  }


  /**** Particles ****/

  #particles-container {
    padding-top: 60px;
  }

  #particles-js {
    height: 240px; 
  }

  .particles-text {
    width: 80%;
  }

  .particles-text h1 {
    margin-top: 40px;
    font-size: 24px;
  }


  /**** Mobile Menu ****/

  .desktop-nav {
    display: none;
  }

  .header {
    overflow: hidden;
    height: 60px;
    width: 100%;
    z-index: 1;
    position: fixed;
    transition: all 0.4s ease-out, background .4s ease-out;
  }

  .header.menu-open {
    height: 100%;
    background: #111;
    transition: all 0.45s ease-out, background .8s ease-out;
  }

  /* Menu List items */
  .menu {
    clear: both;
  }

  .header ul.menu {
    position: relative;
    display: block;
    padding: 10px 0 0;
    list-style: none;
  }

  .header ul.menu li.menu-item a {
    display: block;
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    line-height: 2.8;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  .header ul.menu li.menu-item {
    border-bottom: 1px solid #29383f;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99), opacity 0.6s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.5s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }

  .header li.menu-item.selected a, .header li.menu-item.current a, .header li.menu-item a:hover {
    /* future active page properties */
  }

  .header ul.menu li.menu-item:nth-child(1) {
    transition-delay: 0.35s;
  }

  .header ul.menu li.menu-item:nth-child(2) {
    transition-delay: 0.3s;
  }

  .header ul.menu li.menu-item:nth-child(3) {
    transition-delay: 0.25s;
  }

  .header ul.menu li.menu-item:nth-child(4) {
    transition-delay: 0.2s;
  }

  .header ul.menu li.menu-item:nth-child(5) {
    transition-delay: 0.15s;
  }

  .header ul.menu li.menu-item:nth-child(6) {
    transition-delay: 0.1s;
  }

  .header ul.menu li.menu-item:nth-child(7) {
    transition-delay: 0.05s;
  }

  .header.menu-open ul.menu li.menu-item {
    opacity: 1;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(1) {
    transition-delay: 0.05s;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(2) {
    transition-delay: 0.1s;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(3) {
    transition-delay: 0.15s;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(4) {
    transition-delay: 0.2s;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(5) {
    transition-delay: 0.25s;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(6) {
    transition-delay: 0.3s;
  }

  .header.menu-open ul.menu li.menu-item:nth-child(7) {
    transition-delay: 0.35s;
  }

  /* Menu Icon */
  .icon-container {
    position: relative;
    display: inline-block;
    z-index: 2;
    float: right;
    /* Simply change property to float left to switch icon side :) */
    height: 60px;
    width: 60px;
    margin-right: -10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }

  .icon-container #menuicon {
    width: 22px;
    height: 10px;
    position: relative;
    display: block;
    margin: -4px auto 0;
    top: 50%;
  }

  #menuicon .bar {
    width: 100%;
    height: 1px;
    display: block;
    position: relative;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
  }

  #menuicon .bar.bar1 {
    -webkit-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);
  }

  #menuicon .bar.bar2 {
    -webkit-transform: translateY(6px) rotate(0deg);
    transform: translateY(6px) rotate(0deg);
  }

  .menu-open .icon-container {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  .menu-open .icon-container #menuicon .bar {
    transition: all 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition-delay: 0.1s;
  }

  .menu-open .icon-container #menuicon .bar.bar1 {
    -webkit-transform: translateY(4px) rotate(45deg);
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .icon-container #menuicon .bar.bar2 {
    -webkit-transform: translateY(3px) rotate(-45deg);
    transform: translateY(3px) rotate(-45deg);
  }

} /* End bracket for tablet and under viewport media query */
 


 /*------ Service items and staggered animation ------*/

.service-items {
   padding-top: 10px;
 }

.service-item a .fa {
  color: #29383f;
  transition: all 300ms ease-in-out;
}

.service-item a .fa:hover {
  color: #0797bf;
  transition: all 300ms ease-in-out;
}

.service-item h2 {
  margin-bottom: 10px;
}

.service-item {
  margin: 0 0 30px 0;
  clear: both;
  border-bottom: 1px solid #6cb4bb;
/* stagger called by HTML --animation-order */
  animation-name: animateIn;
  animation-duration: 450ms;
  animation-delay: calc(var(--animation-order) * 150ms);
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
}

@keyframes animateIn {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-8px);
  }
  100% {
    opacity: 1;
  }
}


/* ----------------------- Forms ------------------------*/

/* Form CSS Used from Bootstrap 4.0*/

input,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit;}
input{overflow:visible;}
[type=submit]{-webkit-appearance:button;}
[type=submit]::-moz-focus-inner{padding:0;border-style:none;}
textarea{overflow:auto;resize:vertical;}
.row{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px;}
.col-12,.col-md-6{position:relative;width:100%;min-height:1px;padding-right:15px;padding-left:15px;}
.col-12{-webkit-box-flex:0;-ms-flex:0 0 100%;flex:0 0 100%;max-width:100%;}
.form-control{display:block;width:100%;padding:.375rem .75rem;font-size:1rem;line-height:1.5;color:#495057;background-color:#fff;background-clip:padding-box;border:1px solid #ced4da;border-radius:.25rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;}
.form-control::-ms-expand{background-color:transparent;border:0;}
.form-control:focus{color:#495057;background-color:#fff;border-color:#80bdff;outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25);}
.form-control::-webkit-input-placeholder{color:#6c757d;opacity:1;}
.form-control::-moz-placeholder{color:#6c757d;opacity:1;}
.form-control:-ms-input-placeholder{color:#6c757d;opacity:1;}
.form-control::-ms-input-placeholder{color:#6c757d;opacity:1;}
.form-control::placeholder{color:#6c757d;opacity:1;}
.form-control:disabled{background-color:#e9ecef;opacity:1;}
.form-group{margin-bottom:1rem;}
.btn{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:.5rem .75rem .4rem .75rem;font-size:1rem;line-height:1.5;border-radius:.25rem;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;}
.btn:focus,.btn:hover{text-decoration:none;}
.btn:focus{outline:0;box-shadow:0 0 0 .2rem rgba(0,123,255,.25);}
.btn:disabled{opacity:.65;}
.btn-success{color:#fff;background-color:#2877a7;border-color:#2877a7;}
.btn-success:hover{color:#fff;background-color:#1c5a7f;border-color:#2877a7;cursor:pointer;}
.btn-success:focus{box-shadow:0 0 0 .2rem rgba(40,154,167,.5);}
.btn-success:disabled{color:#fff;background-color:#2877a7;border-color:#2877a7;}
.card{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:0;word-wrap:break-word;background-color:#fff;background-clip:border-box;border:1px solid rgba(0,0,0,.125);border-radius:.25rem;}
.card p {padding-bottom: 5px !important;}
.card-body{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding:1rem;}
.card-header{padding:.75rem 1rem;margin-bottom:0;background-color:rgba(0,0,0,.03);border-bottom:1px solid rgba(0,0,0,.125);}
.card-header:first-child{border-radius:calc(.25rem - 1px) calc(.25rem - 1px) 0 0;}
.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem;}
.alert-success{color:#155724;background-color:#d4edda;border-color:#c3e6cb;padding:.5em 1em;margin: 0 1rem 1rem 1rem;}
.alert-warning{color:#fff;background-color:#cc3300;border-color:#cc3300;padding:.5em 1em;margin: 0 1rem 1rem 1rem;}
@media print{
*,::after,::before{text-shadow:none!important;box-shadow:none!important;}
}
@media (min-width:768px){
.col-md-6{-webkit-box-flex:0;-ms-flex:0 0 50%;flex:0 0 50%;max-width:50%;}
}
@media (max-width:480px){
.card-body{ padding: .5rem;}
}

/* ----------------------- Modals ------------------------*/

/* Circular modal styles */

@-webkit-keyframes modalLoader {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes modalLoader {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.modal-overlay,
.modal-overlay *,
.modal-overlay *:before,
.modal-overlay *:after {
  box-sizing: border-box;
}

.modal-overlay {
  display: flex;
  position: fixed;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  opacity: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: all 375ms ease-out;
  z-index: 999;
}

.modal-overlay .modal-wrap {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 3px;
  margin: 10px;
  padding: 30px;
  width: 100%;
  max-width: 1000px;
  height: auto;
}

.modal-overlay .modal-wrap:before {
  content: "";
  display: block;
  position: absolute;
  margin: 0;
  padding: 0;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  border-radius: 1000px;
  background-color: #fafafa;
  transition: all 375ms cubic-bezier(0.95, 0.05, 0.795, 0.035) 350ms;
  z-index: -1;
}

.modal-overlay .modal-wrap .modal-content {
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  padding-right: 35px;
  width: calc( 100% + 40px );
  height: 100%;
  color: #29383f;
  opacity: 0;
  transition: opacity 375ms ease-out 725ms;
  z-index: 2;
}

.modal-overlay .modal-wrap .modal-content:after {
  content: "";
  display: block;
  height: 60px;
}

.modal-overlay .modal-wrap .modal-buttons {
  display: block;
  position: absolute;
  text-align: right;
  width: 100%;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 20px;
  opacity: 0;
  background: linear-gradient(180deg, transparent 0%, #f4f4f4 100%);
  transition: opacity 375ms ease-out 725ms;
  z-index: 3;
}

.modal-overlay .modal-wrap .modal-buttons button, .modal-overlay .modal-wrap .modal-buttons a {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  font-size: 16px;
  line-height: 16px;
  font-weight: normal;
  margin: 0 0 0 10px;
  padding: 20px;
  background-color: #fff;
  color: #29383f;
  border: 0;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  transition: background 375ms ease-out;
}

.modal-overlay .modal-wrap .modal-buttons button.modal-confirm, .modal-overlay .modal-wrap .modal-buttons a.modal-confirm {
  background-color: #084;
  color: #fff;
}
.modal-overlay .modal-wrap .modal-buttons button.modal-confirm:hover, .modal-overlay .modal-wrap .modal-buttons a.modal-confirm:hover {
  background-color: #003c1e;
  color: #fff;
}
.modal-overlay .modal-wrap .modal-buttons button.modal-dismiss, .modal-overlay .modal-wrap .modal-buttons a.modal-dismiss {
  background-color: #666;
  color: #fff;
}
.modal-overlay .modal-wrap .modal-buttons button.modal-dismiss:hover, .modal-overlay .modal-wrap .modal-buttons a.modal-dismiss:hover {
  background-color: #404040;
  color: #fff;
}

.modal-overlay.loading {
  background-color: rgba(0, 0, 0, 0.75);
}

.modal-overlay.loading .modal-wrap:before {
  margin-left: -30px;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top-color: #084;
  -webkit-animation: modalLoader 1s infinite linear;
          animation: modalLoader 1s infinite linear;
}

.modal-overlay.active {
  background-color: rgba(0, 0, 0, 0.75);
}

.modal-overlay.active .modal-wrap:before {
  margin-left: -1000px;
  margin-top: -1000px;
  width: 2000px;
  height: 2000px;
}

.modal-overlay.active .modal-content {
  opacity: 1;
}

.modal-overlay.active .modal-buttons {
  opacity: 1;
}

.modal-overlay.dismiss {
  opacity: 0;
}

.modal-content h2 {
  font-weight: bold;
  padding-bottom: 15px;
}

.modal-content h3 {
  margin-bottom: 20px;
  font-weight: bold;
}

.modal-content p {
  padding-bottom: 15px;
}

.modal-content ul li {
  list-style: square;
  margin-bottom: 15px;
  margin-left: 20px;
  font-size: 15px;
}

a.services {
  font-weight: bold;
}

/* Modal mobile queries */

@media (max-width: 768px) {
  .modal-overlay .modal-wrap {
    height: 100%;
    max-height: calc( 100% - 30px );
    padding: 0 15px 5px 15px;
  }
  .modal-overlay .modal-wrap .modal-content {
  	overflow-y: scroll !important;
  }
  .modal-content h2 {
 	padding-top: 25px;
  }
}