/* Global */
a,
.w3-button {
  transition: 0.4s !important;
}

.ul-parent-account {
  color: inherit;
}

#header .fa,
#header .svg-inline--fa {
  color: inherit;
}

#top-container .top-box>div,
#bottom-container .bottom-box>div,
#footer-container .footer-box>div {
  border-width: 1px;
  border-style: solid;
}

/* Text Color - Dark */
html,
body,
button,
input,
select,
optgroup,
textarea,
#page-title,
#highlighted,
.page-wrapper,
#top-container,
#main-container,
#footer-container,
.ul-parent-footer,
.search-slide-wrapper,
#top-container .top-box>div,
#footer-container .footer-box>div,
#bottom-container .bottom-box>div,
#footer-container .footer-box>div {
  color: #173750;
}

h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #3a89c6;
}

/* Text Color - light */
#header,
#header h1,
#header h2,
#header h3,
#header h4,
#header h5,
#header a,
#header p,
#copyright,
.close-nav,
.mobile-nav,
#footer-menu,
#footer-menu h1,
#footer-menu h2,
#footer-menu h3,
#footer-menu h4,
#footer-menu h5,
#footer-menu a,
#footer-menu p,
.main-navigation-wrapper {
  color: #d8e8f4 !important;
}

/* Light Background  */
#page-title,
#highlighted,
.page-wrapper,
#top-container,
#footer-container,
.search-slide-wrapper,
#top-container .top-box>div,
#main-container .main-box > div,
#footer-container .footer-box>div,
#bottom-container .bottom-box>div {
  background-color: #fff;
}

#main-container,
.search-slide-wrapper,
.pager__item.is-active {
  background-color: #f2f7fb !important;
}

#bottom-container {
  background-color: #e5f0f8;
}

/* Dark Background  */
#header {
  background-color: #132e43;
}

.close-nav,
.mobile-nav,
.main-navigation-wrapper {
  background-color: #1b415d;
}

#footer-menu {
  background-color: #08131b;
}

#footer-menu-inner form.w3-content {
  border: 1px solid #445963;
}

#copyright {
  background-color: #040a0e;
}

/* Border Color  */
.cke_top,
.w3-border,
ul.primary,
.cke_bottom,
.cke_chrome,
ul.secondary,
ul.primary > li,
#top-container .top-box>div,
#bottom-container .bottom-box>div,
#footer-container .footer-box>div {
  border-color: #e5f0f8 !important;
}

/* Hover Color  */
.w3-hover-over:hover,
.w3-button:hover,
#open-search:hover,
#open-nav-inner:hover {
  color: #dde5e5 !important;
  background-color: #3580ba !important;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 25px 57px 0 rgba(0, 0, 0, .25);
  border-color: #a3c8e5;
}

/* button animation  */
@keyframes btnBorderAnimation {
  0% {
    width: 0;
    height: 0;
    border-bottom-color: #fff;
  }

  99.9999% {
    width: 100%;
    height: 100%;
    border-bottom-color: #fff;
  }

  100% {
    width: 0;
    height: 0;
    border-bottom-color: transparent;
  }

}

/* Border animation  */
@keyframes borderLeftColors {
  0% {
    width: 0;
    height: 0;
    border-top-color: #3a89c6;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

  50% {
    width: 100%;
    height: 0;
    border-top-color: #3a89c6;
    border-right-color: #3a89c6;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

  99.9999% {
    width: 100%;
    height: 100%;
    border-top-color: #3a89c6;
    border-right-color: #3a89c6;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

  100% {
    width: 0;
    height: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

}

@keyframes borderRightColors {
  0% {
    width: 0;
    height: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #3a89c6;
    border-left-color: transparent;
  }

  50% {
    width: 100%;
    height: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #3a89c6;
    border-left-color: #3a89c6;
  }

  99.9999% {
    width: 100%;
    height: 100%;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: #3a89c6;
    border-left-color: #3a89c6;
  }

  100% {
    width: 0;
    height: 0;
    border-top-color: transparent;
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  }

}
