/* Oh, God, I'm so bad at css :C */

body {
  background-image: url(images/back.png);
}

/* Central pane */
@media screen and (min-width: 1200px) {
  #main {
    float: left;
    width: 62%;
    margin: 0 0.75% 0 15%;
  }
}
@media screen and (min-width: 800px) and (max-width: 1199px) {
  #main {
    float: left;
    width: 59%;
    margin: 0 0.75% 0 14%;
  }
}

/* Right pane */
@media screen and (min-width: 1200px) {
  #sidebar {
    float: left;
    width: 20%;
    margin: 0 0.75%;
  }
}
@media screen and (min-width: 800px) and (max-width: 1199px) {
  #sidebar {
    float: left;
    width: 24%;
    margin: 0 0.75%;
  }
}

#header {
  background: #4c5463;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(to right, #3b97ff 0%, #35ffd6 100%);
  border-image-slice: 1;
  position: relative;
}
@media screen and (max-width: 800px) {
  #header {
    border-bottom: 2px solid transparent;
  }
}
#header a.main-nav-link,
#header a.main-title-link,
#header a.main-nav-link:visited,
#header a.main-title-link:visited {
  white-space: nowrap;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
  color: #c4cdd6;
  position: relative;
  height: 100%;
}
#header a.main-nav-link:hover,
#header a.main-title-link:hover {
  color: #fff;
}
#header a.main-nav-link::before,
#header a.main-title-link::before {
  content: '';
  z-index: -1;
  position: absolute;
  height: 64px;
  top: -12px;
  left: 50%;
  right: 50%;
  background-color: #38b7ea;
  transform: skewX(-15deg);
  -webkit-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
      -ms-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
          transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
     -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
       -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
          transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#header a:hover::before {
  left: -4px;
  right: -4px;
}

div.outer {
  position: relative;
  height: 100%;
}

#main-nav {
  z-index: 1;
  position: relative;
}

.main-nav-link {
  padding: 0 6px;
  margin: 0 6px;
}

.header-sub {
  border-top: 2px solid transparent;
  border-image: linear-gradient(to right, #3b97ff 0%, #35ffd6 100%);
  border-image-slice: 1;
}

/* Search form */
#search-form-wrap {
  height: 32px;
  line-height: 32px;
  padding: 16px 0px;
  position: relative;
  z-index: 1;
  float:left !important;
}
#search-form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: skewX(-15deg);
  z-index: -1;
  background-color:rgba(236, 239, 242, 0.16);
  transition: 0.2s ease;
}
#search-form-wrap .search-form {
  padding: 0px 5px;
}
.search-form-highlight {
  position: absolute;
  top: -16px;
  bottom: -16px;
  left: 50%;
  right: 50%;
  transform: skewX(-15deg);
  z-index: -1;
  background-color: rgba(57, 186, 242, 1.0);
    -webkit-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
      -ms-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
          transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
     -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
       -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
          transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#search-form-wrap .search-form .search-form-input {
  padding: 0 25px 0 15px;
  line-height: 32px;
  height: 32px !important;
  position: relative;
  z-index: 1;
}
#search-form-wrap .search-form .search-form-submit {
  top: 50%;
  right: 15px;
  z-index: 1;
  border: none;
  cursor: pointer;
  margin-top: -7px;
  background: none;
  position: absolute;
  font: 13px font-icon;
  font-family: 'FontAwesome';
  color: rgba(236, 239, 242, 0.42);

  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
}
#search-form-wrap .search-form .search-form-submit:hover,
#search-form-wrap .search-form .search-form-submit:focus {
  color: rgba(236, 239, 242, 0.96);
}
.search-form-input,
.search-form-input.ins-search-input,
.search-form-input.st-ui-search-input,
.search-form-input.st-default-search-input {
  -webkit-appearance: textarea;
  -webkit-appearance: textarea;
  -moz-appearance: textarea;
  appearance: textarea;
  padding: 0;
  width: 200px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #c6e1ff;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: auto !important;
  line-height: 1.6em;
  outline: none !important;
  background: none !important;
  font: 14px "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif;
  border: none !important;
}

.search-form-input:focus,
.search-form-input.ins-search-input:focus,
.search-form-input.st-ui-search-input:focus,
.search-form-input.st-default-search-input:focus {
  border-color: #38b7ea !important;
}
input.search-form-input::-webkit-input-placeholder {
  color: rgba(236, 239, 242, 0.42);
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}
input.search-form-input::-moz-placeholder {
  color: rgba(236, 239, 242, 0.42);
  -moz-transition: 0.2s ease;
  transition: 0.2s ease;
}
input.search-form-input:-moz-placeholder {
  color: rgba(236, 239, 242, 0.42);
  -moz-transition: 0.2s ease;
  transition: 0.2s ease;
}
input.search-form-input:-ms-input-placeholder {
  color: rgba(236, 239, 242, 0.42);
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
}
input.search-form-input::placeholder {
  color: rgba(236, 239, 242, 0.42);
  transition: 0.2s ease;
}
#search-form-wrap .search-form-input {
  color: rgba(255, 255, 255, 0.72);
  border-radius: 0px !important;
  background-color: transparent;
}
input.search-form-input:-webkit-autofill,
input.search-form-input:-webkit-autofill:hover, 
input.search-form-input:-webkit-autofill:focus
input.search-form-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px rgba(57, 186, 242, 1.0) inset;
  box-shadow: 0 0 0px 1000px rgba(57, 186, 242, 1.0) inset;
  transition: background-color 5000s ease-in-out 0s;
}
#search-form-wrap .search-form-input:hover,
#search-form-wrap .search-form-input:focus {
  color: rgba(255, 255, 255, 0.96);
}

/* Search form hovered and/or focused */
#search-form-wrap .search-form:hover > .search-form-highlight, 
#search-form-wrap .search-form-input:focus ~ .search-form-highlight {
  left: 0;
  right: 0;
}

#search-form-wrap .search-form:hover .search-form-submit {
  color: rgba(255, 255, 255, 0.72);
}
#search-form-wrap .search-form-input:focus 
#search-form-wrap .search-form-input:focus + .search-form-submit {
  color: rgba(255, 255, 255, 0.96);
}
#search-form-wrap  .search-form:hover input.search-form-input::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.72);
}
#search-form-wrap  .search-form:hover input.search-form-input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.72);
}
#search-form-wrap  .search-form:hover input.search-form-input:-moz-placeholder {
  color: rgba(255, 255, 255, 0.72);
}
#search-form-wrap  .search-form:hover input.search-form-input:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.72);
}
#search-form-wrap  .search-form:hover input.search-form-input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

/* Header social */
#header-main .social-links {
  float: right;
  height: 32px;
  padding: 16px 15px;
  margin-left: 64px;
}
#header-main .social-links > table {
  width: 100%;
  height: 100%;
}
#header-main .social-links > table td {
  text-align: center;
  font-size: 24px;
}
#header-main .social-links > table td a {
  position: relative;
  margin: auto 6px;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
  color: #898d92;
}
#header-main .social-links > table td a:hover {
  color: #35ffd6;
}
#header-main .social-links > table td a.tooltip:hover:after {
  right: -50%;
  top: -41px;
  color: #fff;
  background: #333;
  font-size: 14px;
  content: attr(title);
  display: block;
  padding: 5px 15px;
  position: absolute;
  white-space: nowrap;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  text-transform: uppercase;
  -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2);
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  z-index: 1;
}
#header-main .social-links > table td a.tooltip:hover:before {
  top: -12px;
  right: 8px;
  border: solid;
  border-color: #333 transparent;
  border-width: 5px 5px 0 5px;
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
}

/* Article banner */
.article-banner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.article-banner a {
  position: relative;
}

.article-banner img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
}

.article-banner a:hover > img {
  cursor: pointer;
  transform: rotate(0.8deg) scale(1.032, 1.032);
}

.article-title {
  display: inline;
}
.article-title:hover {
  color: #38b7ea;
}

.article-meta > div .fa {
  color: rgb(153, 153, 153);
}

.article-more-link a:hover::before {
  background: #38b7ea;
  border: 1px solid #38b7ea;
}
.article-entry a, .article-entry a:hover {
  text-decoration: none;
  display: inline-block;
  position: relative;
}
.article-entry a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  border-bottom: 1px solid #38b7ea;
  -webkit-transition: 0.25s ease;
     -moz-transition: 0.25s ease;
      -ms-transition: 0.25s ease;
          transition: 0.25s ease;
}
.article-entry a:hover::after {
  left: 0;
  right: 0;
}

.article-entry blockquote {
  font-family: "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif;
  border-left: 4px solid #38b7ea;
}

.article-entry div.notices {
  position: relative;
  font-family: "open sans", "Helvetica Neue", "Microsoft Yahei", Helvetica, Arial, sans-serif;
  font-size: 1.1em;
  margin: 0 -20px;
  padding: 10px 20px 10px 54px;
  background: #fcfcfc;
  border-left: 4px solid #eee;
}

.article-entry div.notices:before {
  top: 20px;
  left: 10px;
  color: #e2e2e2;
  font-size: 32px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  text-align: center;
  position: absolute;
}

.article-entry div.notices.warning {
  border-left-color: #ffcc11;
  background: #fffaf1;
}

.article-entry div.notices.warning:before {
  content: "\f071";
  color: #efdf9f;
}

.article-entry div.notices.info {
  border-left-color: #11aaff;
  background: #f1faff;
}

.article-entry div.notices.info:before {
  content: "\f05a";
  color: #bfeffd;
}

.article-entry div.notices.tip {
  border-left-color: #77ff11;
  background: #fafff1;
}

.article-entry div.notices.tip:before {
  content: "\f0eb";
  color: #cfedcf;
}

.article-entry figure > a,
.article-entry figure > a:hover {
  display: block;
  margin: 0 auto;
}
.article-entry figure > a::after,
.article-entry figure > a:hover::after {
  border: none;
  text-decoration: none;
}
.article-entry figure > figcaption > h4 {
  text-align: center;
  font-size: 0.8em;
  line-height: 1.0em;
  margin: 0.8em auto 0;
}

.article-entry ul {
  margin-top: -0.2em;
  margin-bottom: 0.2em;
}

.collapsible-wrap input[type='checkbox'] {
  display: none;
}

.collapsible-content {
  max-height: 0px;
  overflow: hidden;
  margin: 0;

  transition: max-height 0.5s ease-in-out;
}

.collapsible-toggle:checked + .collapsible-content {
  max-height: 100vh;
}

.collapsible-label {
  width: auto;
  display: block;
  text-align: center;
  margin-bottom: 1.6em;
  cursor: pointer;
  color: #38b7ea;
}

.collapsible-label-left,
.collapsible-label-right {
  animation: 2.0s ease-in-out infinite collapsible-toggle-animation;
}

.collapsible-toggle + * + .collapsible-label:hover .collapsible-label-left,
.collapsible-toggle + * + .collapsible-label:hover .collapsible-label-right {
  animation: 0.5s ease-in-out infinite collapsible-toggle-animation;
}

.collapsible-toggle + * + .collapsible-label .collapsible-label-left:before,
.collapsible-toggle + * + .collapsible-label .collapsible-label-right:before {
  content:"▾";
}

.collapsible-toggle + * + .collapsible-label .collapsible-label-content:before {
  content:"See more";
}

.collapsible-toggle:checked + * + .collapsible-label .collapsible-label-left:before,
.collapsible-toggle:checked + * + .collapsible-label .collapsible-label-right:before {
  content:"▴";
}

.collapsible-toggle:checked + * + .collapsible-label .collapsible-label-content:before {
  content:"See less";
}

@keyframes collapsible-toggle-animation{
      0% { margin: 0px 4px; }
     50% { margin: 0px 9px; }
    100% { margin: 0px 4px; }
}

/* Read more */
.article-more-link a {
  position: relative;
  z-index: 1;
  display: inline-block;
  line-height: 1em;
  padding: 6px 15px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  border: none !important;
  background: transparent;
  color: #888;
  text-shadow: none;
  text-decoration: none;
  -webkit-transition: 0.25s ease;
     -moz-transition: 0.25s ease;
      -ms-transition: 0.25s ease;
          transition: 0.25s ease;
}
.article-more-link a::before {
  content: '';
  z-index: -1;
  background: #fafdfe;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 2px;
  border: 1px solid #eceff3;
  transform: skewX(-15deg);
  -webkit-transition: 0.25s ease;
     -moz-transition: 0.25s ease;
      -ms-transition: 0.25s ease;
          transition: 0.25s ease;
}
.article-more-link a,
.article-more-link a::after,
.article-more-link a:hover,
.article-more-link a:hover::after {
  border: none !important;
  background: transparent !important;
  text-shadow: none !important;
  text-decoration: none !important;
}

#toTop {
  background: transparent;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  bottom: 20px;
  width: 60px;
  height: 54px;
  line-height: 49px;
  position: fixed;
  z-index: 1;
}

#toTop::after {
  content: '';
  background: #565a5f;
  opacity: 0.8;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  transform: skewX(-15deg);
  -webkit-transition: 0.25s ease;
     -moz-transition: 0.25s ease;
      -ms-transition: 0.25s ease;
          transition: 0.25s ease;
}

#toTop:hover::after {
  background-color: #38b7ea;
}

@media screen and (min-width: 560px) and (max-width: 799px) {
  #toTop {
    width: 52px;
    height: 47px;
    font-size: 34px;
    line-height: 47px;
  }
}
@media screen and (max-width: 559px) {
  #toTop {
    width: 48px;
    height: 43px;
    font-size: 32px;
    line-height: 43px;
  }
}

.widget-wrap > .widget {
  padding: 5px;
}
.widget-wrap {
  position: relative;
}
.widget-wrap > a {
  position: relative;
  display: inline-block;
  padding: 8px;
  z-index: 1;
}

.widget-wrap > a > h3::before {
  content: '';
  z-index: -1;
  position: absolute;
  height: 100%;
  top: 0px;
  bottom: 0px;
  left: 50%;
  right: 50%;
  border-radius: 4px;
  transform: skewX(-15deg);
  background-color: #38b7ea;
}
.widget-wrap > a > h3:hover {
  color: #ffffff;
}
.widget-wrap > a > h3:hover::before {
  left: 0px;
  right: 0px;
}

/* Footer */

#footer {
  padding: 16px 0;
  border-top: 1px solid #eceff2;
  color: #565a5f;
  text-align: center;
  background-color: #1c262b;
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right, #3b97ff 0%, #35ffd6 100%);
  border-image-slice: 1;
}
#footer .outer {
  margin-bottom: 0;
}
#footer a, #footer a:hover {
  color: #38b7ea;
  text-decoration: none;
  border-bottom: 0;
  display: inline-block;
  position: relative;
}

#footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, #3b97ff 0%, #35ffd6 100%);
  border-image-slice: 1;
  -webkit-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
      -ms-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
          transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
     -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
       -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
          transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#footer a:hover::after {
  left: 0;
  right: 0;
}

/* custom scrollbars for webkit browsers */
::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(28, 38, 43, 0.25);
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(54, 232, 223, 0.92);
}
::-webkit-scrollbar:horizontal {
  height: 8px;
  background-color: transparent;
}

#container {
  height: auto;
}
#container-full {
  height: 100%;
}
#container-full > #header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}
#container-full + #footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
#googlemaps-outer {
  position: relative;
  height: 100%; 
  width: 100%;
  display: block;
  overflow: hidden;
}
#googlemaps { 
  position:absolute;
  height: 110%;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}
#contact-form {
  position: relative;
  width: 800px;
  height: 400px;
  margin: auto auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;  
  z-index: 1;
}
#contact-form > h1 {
  font-family: 'Satisfy', cursive;
  font-size: 2.5rem;
  text-align: center;
  margin: 0px 0px 16px;
}
#contact-form > #contact-form-wrapper{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
#contact-form #contact-form-message textarea {
  resize: none;
  height: 8rem;
}

#contact-form #contact-form-message textarea,
#contact-form #contact-form-message textarea:hover,
#contact-form #contact-form-message textarea:focus,
#contact-form input[type="text"],
#contact-form input[type="text"]:hover,
#contact-form input[type="text"]:focus,
#contact-form input[type="email"],
#contact-form input[type="email"]:hover,
#contact-form input[type="email"]:focus,
#contact-form input[type="submit"],
#contact-form input[type="submit"]:hover,
#contact-form input[type="submit"]:focus {
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
}

.contact-form-input:hover::before {
  border: 1px solid rgba(54, 232, 223, 0.92) !important;
  box-shadow: inset 0px 0px 0px 1px rgba(54, 232, 223, 0.92);
}

.contact-form-input-highlighted::before,
.contact-form-input-highlighted:hover::before {
  border: 1px solid rgba(54, 232, 223, 0.92) !important;
  box-shadow: inset 0px 0px 0px 3px rgba(54, 232, 223, 0.92);
}

#contact-form input[type="text"]:-webkit-autofill,
#contact-form input[type="text"]:-webkit-autofill:hover, 
#contact-form input[type="text"]:-webkit-autofill:focus
#contact-form input[type="email"]:-webkit-autofill,
#contact-form input[type="email"]:-webkit-autofill:hover, 
#contact-form input[type="email"]:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}
#contact-form input[type="submit"] {
  cursor: pointer;
  border: none;
  background: none;
  position: relative;
  z-index: 1;

  -webkit-transition: 0.2s ease;
  -moz-transition: 0.2s ease;
  -ms-transition: 0.2s ease;
  transition: 0.2s ease;
}
#contact-form input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: skewX(-15deg);
  z-index: -1;
  border: 1px solid #565a5f;
  background-color: rgba(255, 255, 255,0.25);
  transition: 0.2s ease;
}
#contact-form #contact-form-name-email {
  width: 100%;
}
#contact-form #contact-form-name-email .contact-form-input {
  width: calc(50% - 6px);
  margin: 0 2px;
}
#contact-form #contact-form-message {
  width: 100%;
  margin: 4px 0;
}
#contact-form .contact-form-input,
#contact-form .contact-form-submit {
  position: relative;
  z-index: 1;
  display: inline-block;
}
#contact-form .contact-form-input::before,
#contact-form .contact-form-submit::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transform: skewX(-15deg);
  z-index: -1;
  border: 1px solid #565a5f;
  background-color: rgba(255, 255, 255,0.25);
  transition: 0.2s ease;
}
#contact-form .contact-form-input > *,
#contact-form .contact-form-submit > * {
  width: calc(100% - 64px);
  margin: 12px 32px;
}
#contact-form .contact-form-submit:hover::before {
  border: 1px solid rgba(54, 232, 223, 0.92);
  background-color: rgba(54, 232, 223, 0.92);
}
#contact-form .contact-form-submit:hover > * {
  color: rgb(255, 255, 255);
}

#contact-form input::-webkit-input-placeholder,
#contact-form textarea::-webkit-input-placeholder {
  color: #969a9f;
}
#contact-form input::-moz-placeholder,
#contact-form textarea::-moz-placeholder {
  color: #969a9f;
}
#contact-form input:-moz-placeholder,
#contact-form textarea:-moz-placeholder {
  color: #969a9f;
}
#contact-form input:-ms-input-placeholder,
#contact-form textarea:-ms-input-placeholder {
  color: #969a9f;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #969a9f;
}

#contact-form input,
#contact-form textarea {
  font-family: 'Open Sans', sans-serif;
  font-size: 12pt;
  color: #565a5f;
}

#contact-form > h1::selection,
#contact-form input::selection,
#contact-form textarea::selection {
  color: #333538;
  background-color: rgba(54, 232, 223, 0.92);
}

@media screen and (max-width: 800px) {
  #contact-form {
    width: 400px;
  }
  #contact-form #contact-form-name-email {
    width: 100%;
  }
  #contact-form #contact-form-name-email .contact-form-input {
    width: 100%;
    margin: 3px;
  }
}

@media screen and (max-width: 420px),
       screen and (max-height: 640px) {
  #contact-form {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin: 16px auto 16px;
  }
  #contact-form > h1 {
    position: relative;
  }
  #googlemaps {
    margin: -116px auto 0;
    height: calc(100% + 116px + 96px);
  }
}

@media screen and (max-width: 420px),
       screen and (max-height: 720px) {
  #contact-form {
    width: 320px;
  }
  #contact-form #contact-form-message textarea {
    height: 4rem;
  }
  #contact-form {
    margin: 132px auto 64px;
  }
}

@media screen and (max-width: 320px) {
  #contact-form {
    width: 240px;
  }
  #contact-form {
    margin: 16px auto 64px;
  }
}

#header-main .social-links-blink > table td a {
  animation: 2.5s linear 0s infinite forwards normal running social-links-anim;
}

#header-main .social-links-blink:hover > table td a {
  animation: none;
}

#header-main .social-links-blink > table td:nth-child(1) a {
  animation-delay: 4.0s;
}
#header-main .social-links-blink > table td:nth-child(2) a {
  animation-delay: 4.1s;
}
#header-main .social-links-blink > table td:nth-child(3) a {
  animation-delay: 4.2s;
}
#header-main .social-links-blink > table td:nth-child(4) a {
  animation-delay: 4.3s;
}
#header-main .social-links-blink > table td:nth-child(5) a {
  animation-delay: 4.4s;
}
#header-main .social-links-blink > table td:nth-child(6) a {
  animation-delay: 4.5s;
}
#header-main .social-links-blink > table td:nth-child(7) a {
  animation-delay: 4.6s;
}
#header-main .social-links-blink > table td:nth-child(8) a {
  animation-delay: 4.7s;
}
#header-main .social-links-blink > table td:nth-child(9) a {
  animation-delay: 4.8s;
}
#header-main .social-links-blink > table td:nth-child(10) a {
  animation-delay: 4.9s;
}

@keyframes social-links-anim {
    0% {
        color: #898d92;
        text-shadow: none;
    }
    4% {
        color: #c9cdd2;
        text-shadow: 0px 0px 16px #a9adb2;
    }
    8% {
        color: #898d92;
        text-shadow: none;
    }
    100% {
        color: #898d92;
        text-shadow: none;
    }
}

#footer-info {
  line-height: 0.64rem;
  font-size: 0.64rem;
}

#about-outer {
  position: relative;
  height: 100%; 
  width: 100%;
  display: block;
  overflow: hidden;
}
#about-inner { 
  position:absolute;
  height: 100%;
  width: 100%;
  z-index: 0;
}
#about-inner::before { 
  content: '';
  position:absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url("images/about/back.png") repeat;
  opacity: 0.08;
}
#about-center {
  text-align: center;
  margin: auto;
  position: relative;
  width: 800px;
  height: 680px;
  margin: auto auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;  
  z-index: 1;
}
#about-avatar-wrapper {
  margin: 0 auto 50px;
  width: 450px;
  height: 450px;
  position: relative;
  border-radius: 512em;
  box-shadow: inset 0px 0px 0px 64px white;
  border: 1px solid rgba(0, 64, 96, 0.1);
  z-index: 1;
  transform-style: preserve-3d;
}
#about-avatar-wrapper .layer {
  background-size: contain;
  width: 97%;
  height: 97%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

/* ODESA */
/* #about-avatar-wrapper .back {
  background: url("images/about/avatar/Odesa/layer_back.png");
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
#about-avatar-wrapper .seagull_0 {
  background-image: url("images/about/avatar/Buda/seagull_0.png");
  transform: translateZ(20px);
}
#about-avatar-wrapper .seagull_1 {
  background-image: url("images/about/avatar/Buda/seagull_1.png");
  transform: translateZ(28px);
}
#about-avatar-wrapper .seagull_2 {
  background-image: url("images/about/avatar/Buda/seagull_2.png");
  transform: translateZ(36px);
}
#about-avatar-wrapper .avatar {
  background-image: url("images/about/avatar/Odesa/layer_front.png");
  z-index: 4;
  transform: translateY(2%) translateZ(42px);
} */

/* BUDAPEST */
/*#about-avatar-wrapper .back {
  background: url("images/about/avatar/Buda/layer_back.png");
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  transform: translateZ(16px);
}
#about-avatar-wrapper .seagull_0 {
  background-image: url("images/about/avatar/Buda/seagull_0.png");
  transform: translateZ(30px);
}
#about-avatar-wrapper .seagull_1 {
  background-image: url("images/about/avatar/Buda/seagull_1.png");
  transform: translateZ(38px);
}
#about-avatar-wrapper .seagull_2 {
  background-image: url("images/about/avatar/Buda/seagull_2.png");
  transform: translateZ(46px);
}
#about-avatar-wrapper .avatar {
  background-image: url("images/about/avatar/Buda/layer_front.png");
  z-index: 4;
  transform: translateX(5px) translateY(12px) translateZ(52px);
}*/

/* NORWAY */
#about-avatar-wrapper .back {
  background: url("images/about/avatar/Norway/layer_back.png");
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  transform: translateZ(8px);
}
#about-avatar-wrapper .middle {
  background-image: url("images/about/avatar/Norway/layer_middle.png");
  z-index: 3;
  transform: scale(1.04, 1.04) translateX(7px) translateY(12px) translateZ(36px);
}
#about-avatar-wrapper .seagull_0 {
  background-image: url("images/about/avatar/Norway/seagull_0.png");
  transform: translateZ(52px);
}
#about-avatar-wrapper .seagull_1 {
  background-image: url("images/about/avatar/Norway/seagull_1.png");
  transform: translateZ(56px);
}
#about-avatar-wrapper .seagull_2 {
  background-image: url("images/about/avatar/Norway/seagull_2.png");
  transform: translateZ(60px);
}
#about-avatar-wrapper .avatar {
  background-image: url("images/about/avatar/Norway/layer_front.png");
  z-index: 4;
  transform: translateX(5px) translateY(20px) translateZ(80px);
}
#about-avatar-wrapper .ring-outer {
  margin: 0 auto;
  /*max-width: 200px;*/
  z-index: 5;
}
#about-avatar-wrapper .ring-inner {
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: white;
  mask-image: radial-gradient(transparent 62%, black 62.5%, black 99.5%, transparent 100%);
  -webkit-mask-image: radial-gradient(transparent 56%, black 56.5%, black 99.5%, transparent 100%);

  z-index: 5;
  transform: scale(1.22, 1.22) translateX(5px) translateY(20px) translateZ(85px);
}
#about-avatar-wrapper .ring-inner:before {
  content: "";
  display: block;
  padding-top: 100%;
  z-index: 5;
}


@keyframes about-avatar-rays-anim {
    0% {
      transform: rotate(0deg);
      opacity: 0.032;
    }
    25% {
      transform: rotate(90deg);
      opacity: 0.036;
    }
    50% {
      transform: rotate(180deg);
      opacity: 0.028;
    }
    75% {
      transform: rotate(270deg);
      opacity: 0.036;
    }
    100% {
      transform: rotate(360deg);
      opacity: 0.032;
    }
}

#about-text {
  margin-top: 12px;
}
#about-text > p {
  font-family: 'Ubuntu', 'Roboto', 'Consolas';
  font-size: 1.5rem;
  line-height: 2.2rem;
}
#about-text a, #about-text a:hover {
  color: #38b7ea;
  text-decoration: none;
  border-bottom: 0;
  display: inline-block;
  position: relative;
}
#about-text a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(to right, #3b97ff 0%, #35ffd6 100%);
  border-image-slice: 1;
  -webkit-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
     -moz-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
      -ms-transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
          transition: 0.25s cubic-bezier(0.175, 0.885, 0.320, 1.275);
  -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
     -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
       -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275); 
          transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
}
#about-text a:hover::after {
  left: 0;
  right: 0;
}
#about-text-typed-strings {
  display: none;
}

.typed-cursor{
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}

@media screen and (max-width: 800px),
       screen and (max-height: 768px) {
  #about-center {
    width: 640px;
    height: 480px;
  }
  #about-avatar-wrapper {
    width: 320px;
    height: 320px;
  }
  #about-text > p {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media screen and (max-width: 480px){
  #about-center {
    width: 320px;
    height: 320px;
  }
  #about-avatar-wrapper {
    width: 240px;
    height: 240px;
  }
  #about-text > p {
    font-size: 1.1rem;
    line-height: 1.15rem;
  }
}

@media screen and (max-width:  320px),
       screen and (max-height: 480px) {
  #about-center {
    width: 320px;
    height: 320px;
  }
  #about-avatar-wrapper {
    width: 240px;
    height: 240px;
  }
  #about-text > p {
    font-size: 1.1rem;
    line-height: 1.2rem;
  }
  #container-full {
    height: auto;
  }
  #container-full > #header {
    position: static;
    top: auto;
    bottom: auto;
  }
  #container-full + #footer {
    position: static;
  }
  #about-outer {
    position: static;
    height: auto;
  }
  #about-inner {
    position: relative;
  }
  #about-center {
    position: static;
    padding: 42px 0 64px;
    top: auto;
    left: auto;
    transform: none;
  }
}

/* ================ WORKS ================ */
#works-outer {
  float: left;
  width: 62%;
  margin: 0 0.75% 0 15%;
}

#works-inner {
  background: #fff;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-top: 30px;
  border-radius: 4px;
}

.work-item::before {
  content: '';
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  border-bottom: 1px solid rgba(0,0,0,0.16);
}

.work-item:first-child::before {
  content: none;
}

.work-item-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.work-item-logo {
  float: left;
  padding: 20px 4% 20px 48px;
  width: calc(36% - 48px);
}

.work-item-logo > img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.work-item-desc {
  float: left;
  width: calc(60% - 56px);
  padding: 20px 48px 20px 8px;
}

.work-item-desc > h1 {
  font-size: 2em;
  text-align: center;
}

.work-item-desc sup.work-item-status {
  vertical-align: super;
  font-size: 50%;
  position: relative;
  top: -8px;
  opacity: 0.5;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.work-item-desc p {
  text-indent: 0;
}

.work-item-desc .article-entry {
  padding: 0;
}

.work-item-desc a,
.work-item-desc a:hover {
  text-decoration: none;
  display: inline-block;
  position: relative;
}

.work-item-desc a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  border-bottom: 1px solid #38b7ea;
  -webkit-transition: 0.25s ease;
     -moz-transition: 0.25s ease;
      -ms-transition: 0.25s ease;
          transition: 0.25s ease;
}

.work-item-desc a:hover::after {
  left: 0;
  right: 0;
}

.work-item-desc .article-entry:after,
.work-item-desc .article-entry:before {
  display: inline;
  content: none;
}

.work-item-gallery {
  width: 80%;
  margin: 0 auto 16px;
}

.work-item-gallery img {
  border-radius: 4px;
}

.work-item-gallery a::after {
  content: none;
}

.work-item-gallery a {
  filter: saturate(75%) contrast(50%) opacity(75%) brightness(125%);
  -webkit-transition: 0.5s ease;
     -moz-transition: 0.5s ease;
      -ms-transition: 0.5s ease;
          transition: 0.5s ease;
}

.work-item-gallery a:hover {
  filter: saturate(100%) contrast(100%) opacity(100%) brightness(100%);
}

.work-item-gallery > .grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  grid-gap: 0px 4px;
  justify-items: center;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.work-item-gallery > .grid .grid-item img {
  max-width: 100%;
  max-height: 100%;
}

.work-item-gallery > .grid .grid-item {
  width: 100%;
  height: 100%;
  position: relative;
}

.work-item-gallery-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  color: white;
  filter: opacity(75%) drop-shadow(0px 0px 8px rgba(0, 8, 12, 1));
}

.work-item-gallery-overlay > *::before {
  position: absolute;
  white-space: pre;
  display: inline;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

ul.work-item-links {
  display: table;
  margin: 0 auto;
  list-style: none;
}

ul.work-item-links > li {
  float: left;

  padding: 1px 2px;
  margin: 0px 4px;
  border-radius: 4px;
  border: 1px solid rgb(0, 192, 255);
}

ul.work-item-links > li,
ul.work-item-links > li a{
  -webkit-transition: 0.25s ease;
     -moz-transition: 0.25s ease;
      -ms-transition: 0.25s ease;
          transition: 0.25s ease;
}

ul.work-item-links > li:hover {
  background-color: rgb(0, 192, 255);
}

ul.work-item-links > li:hover a{
  color: white;
}

ul.work-item-links > li a::after,
ul.work-item-links > li a:hover::after{
  content: none;
}

ul.work-item-links > li.red {
  border: 1px solid rgb(255, 32, 0);
}

ul.work-item-links > li.red a {
  color: rgb(255, 32, 0);
}

ul.work-item-links > li.red:hover {
  background-color: rgb(255, 32, 0);
}

ul.work-item-links > li.green {
  border: 1px solid rgb(92, 255, 0);
}

ul.work-item-links > li.green a {
  color: rgb(92, 255, 0);
}

ul.work-item-links > li.green:hover {
  background-color: rgb(92, 255, 0);
}

ul.work-item-links > li.purple {
  border: 1px solid rgb(192, 32, 255);
}

ul.work-item-links > li.purple a {
  color: rgb(192, 32, 255);
}

ul.work-item-links > li.purple:hover {
  background-color: rgb(192, 32, 255);
}

ul.work-item-links > li.orange {
  border: 1px solid rgb(255, 160, 0);
}

ul.work-item-links > li.orange a {
  color: rgb(255, 160, 0);
}

ul.work-item-links > li.orange:hover {
  background-color: rgb(255, 160, 0);
}

ul.work-item-links > li.red:hover a,
ul.work-item-links > li.green:hover a,
ul.work-item-links > li.purple:hover a,
ul.work-item-links > li.orange:hover a {
  color: white;
}

/* ul.work-item-links > li:before {
  content: "//";
  float: left;
  opacity: 0.32;
}

ul.work-item-links > li:first-child:before {
  content: none;
} */

/* ================ DOCUMENT ================ */
.document-space {
  height: 2.0em;
}

/* ----------------- PRODUCT ----------------- */
#product-inner {
  background: #fff;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  margin-top: 30px;
  border-radius: 4px;
}

#product-inner .product-title {
  max-width: 100%;
  margin: 10px auto;
}

.product-usual {
  max-width: 72%;
  margin: 0 auto;
}

.product-usual h1 {
  margin: 0.65em 0;
  text-transform: uppercase;
}

.product-usual h2 {
  margin: 0.55em 0;
  text-transform: uppercase;
}

.product-usual h3 {
  margin: 0.45em 0 ;
}

.product-usual h1::before,
.product-usual h2::before,
.product-usual h3::before,
.product-usual h1::after,
.product-usual h2::after {
  content: "/";
  margin: 0 0.25em; 
}

.product-usual h1::before,
.product-usual h2::before,
.product-usual h1::after,
.product-usual h2::after {
  font-size: 125%;
  vertical-align: -7.5%;
}

.product-usual h3::before {
  font-size: 145%;
  vertical-align: -11.5%;
}

.product-usual p {
  margin: 0.5em 0;
}

ul.product-item-links {
  margin: 2em auto;
}

/* ================ OTHER ================ */
#recent-post li .item-inner a,
#recent-post li .item-inner .item-category {
  font-size: 13px;
  text-transform: none;
}

.figure-inline {
  display: flex;
  align-items: center;
  justify-content: center;
}

.figure-inline figure {
  display: inline-block;
  margin: 1em 8px;
}

code {
  margin: 0 2px;
  color: #3b97ff;
  padding: 3px 5px;
  font-size: 1.0em;
  border-radius: 2px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
  background-color: #f8f8f8;
}
