@font-face {
  font-family: 'Century Gothic';
  src: url('fonts/CenturyGothic.ttf');
  font-family: 'Century Gothic Bold';
  src: url('fonts/CenturyGothicBold.ttf');
}

body {
  overflow-x: hidden;
  font-family: 'Century Gothic', 'Helvetica Neue', Arial, sans-serif;
}

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

.about-mod p {
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: #fed136;
}

a:hover {
  color: #fec503;
}

.text-primary {
  color: #fed136 !important;
}

.bg-primary {
  background-color: #15a8b5 !important;
}

.bg-secondary {
  background-color: #ea6558 !important;
}
.hidden {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  font-family: 'Century Gothic', sans-serif;
}

h5 {
  font-size: 17px;
}

/* AWARD */
.award-holder {
  position: relative;
  display: block;
}

.award {
  top: -10%;
  right: -12%;
  position: absolute;
  background: #1aa8b5;
  border-radius: 130px;
  color: white;
  height: 130px;
  font-weight: normal;
  width: 130px;
  display: table;
}

.award p {
  vertical-align: middle;
  display: table-cell;
  line-height: 1.1em;
  font-size: 0.9em;
}

@media (min-width: 768px) {
  .award {
    right: -10% !important;
  }
}

@media (max-width: 540px) {
  .award {
    height: 120px;
    width: 120px;
    top: -23%;
    right: 30%;
  }
  .award p {
    line-height: 1em;
    font-size: 0.9em;
  }
}

/* 1. INTRO */

div.transbox {
  background: rgba(255, 255, 255, 0.6);
  padding: 50px;
}

header.masthead {
  text-align: center;
  color: white;
  background-image: url('assets/img/header-bg.jpg');
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: bottom center;
  background-size: cover;
}

.maryhughes {
  margin: 0 20px;
  width: 80%;
}

header.masthead .intro-text {
  color: #383838;
  padding-top: 150px;
  padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in {
  font-size: 50px;
  line-height: 10px;
  margin-bottom: 25px;
  font-family: 'Century Gothic', sans-serif;
}
header.masthead .intro-text .intro-heading {
  font-size: 28px;
  font-weight: 300;
  line-height: 32px;
  margin: 20px 0 8px;
  font-family: 'Century Gothic', sans-serif;
}
header.masthead .intro-text .intro-body {
  font-size: 18px;
  line-height: 22px;
  margin: 0 2em 40px;
}

@media (max-width: 992px) {
  header.masthead .intro-text {
    padding: 150px 50px 80px !important;
  }
}

@media (min-width: 768px) {
  div.transbox {
    padding: 50px 0px;
  }
  header.masthead .intro-text {
    padding: 110px 50px 80px;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 50px;
    line-height: 10px;
    margin-bottom: 25px;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 28px;
    font-weight: 300;
    line-height: 32px;
    margin: 30px 0 8px;
  }
  header.masthead .intro-text .intro-body {
    font-size: 20px;
    line-height: 24px;
    margin: 0 3em 40px;
    font-weight: 300;
  }
}
@media (max-width: 540px) {
  div.transbox {
    padding: 50px 10px;
  }
  header.masthead .intro-text {
    padding: 200px 50px 50px !important;
  }
}

/* 2. PORTFOLIO */
.carousel-indicators > li {
  width: 10px;
  height: 10px;
  border-radius: 100%;
}

.carousel .carousel-indicators li {
  background-color: #d6d6d6;
}
.carousel .carousel-indicators li.active {
  background-color: #869791;
}

.carousel-indicators {
  bottom: -10px;
}

.carousel-control-prev {
  left: -60px !important;
}
.carousel-control-next {
  right: -60px !important;
}
.carousel-control-prev-icon {
  background-image: url('assets/img/icon/prev.png') !important;
  width: 19px;
  height: 29px;
}

.carousel-control-next-icon {
  background-image: url('assets/img/icon/next.png') !important;
  width: 19px;
  height: 29px;
}

#mywork .portfolio-item {
  right: 0;
  margin: 0 0 15px;
}

#mywork .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
}

#mywork .portfolio-item .portfolio-link .portfolio-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.5s;
  transition: all ease 0.5s;
  opacity: 0;
  background: rgba(21, 168, 181, 0.9);
}

#mywork .portfolio-item .portfolio-link .portfolio-hover:hover {
  opacity: 1;
}

#mywork .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
  font-size: 20px;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 20px;
  margin-top: -12px;
  text-align: center;
  color: white;
}

#mywork .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
  margin-top: -12px;
}

#mywork .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
#mywork .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
  margin: 0;
}

#mywork .portfolio-item .portfolio-caption {
  max-width: 400px;
  margin: 0 auto;
  padding: 25px;
  text-align: center;
  background-color: #fff;
}

#mywork .portfolio-item .portfolio-caption h4 {
  margin: 0;
  text-transform: none;
}

#mywork .portfolio-item .portfolio-caption p {
  font-size: 16px;
  font-style: italic;
  margin: 0;
  font-family: 'Century Gothic', sans-serif;
}

#mywork * {
  z-index: 2;
}

@media (min-width: 767px) {
  #mywork .portfolio-item {
    margin: 0 0 30px;
  }
}

.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}

.portfolio-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}

.portfolio-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}

.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: 'Century Gothic', sans-serif;
}

.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}

.portfolio-modal .modal-content button {
  cursor: pointer;
}

.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}

.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}

.portfolio-modal .close-modal .lr {
  /* Safari and Chrome */
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  /* IE 9 */
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}

.portfolio-modal .close-modal .lr .rl {
  /* Safari and Chrome */
  z-index: 1052;
  width: 1px;
  height: 75px;
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}

/* 3. ABOUT ME */

.about-mod {
  background-color: #ecebeb !important;
  padding: 20px;
}

.use-mod {
  padding: 20px;
  border: 2px solid #00a8b6;
}

@media (max-width: 540px) {
  .image-80 {
    width: 80% !important;
  }
  .about-mod p {
    font-size: 0.8em !important;
    line-height: 1.2em !important;
  }
}

/* 4. CLIENTS */
#clients {
  background-color: #f5f5f5;
}
.owl-theme .owl-dots .owl-dot {
  outline: none;
}

.owl-prev,
.owl-next {
  width: 15px;
  height: 27px;
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  display: block !important;
}
.owl-prev {
  left: -20px;
}
.owl-next {
  right: -20px;
}
.owl-next:focus,
.owl-prev:focus {
  outline: none;
}

.owl-next:hover,
.owl-prev:hover {
  background: none !important;
}

@media (max-width: 540px) {
  .owl-nav {
    display: none !important;
  }
}

/* 5. CONTACT */

section#contact {
  background-color: #15a8b5;
}

section#contact .section-heading {
  color: #fff;
}

section#contact .form-group {
  margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
  padding: 20px;
}

section#contact .form-group input.form-control {
  height: auto;
}

section#contact .form-group textarea.form-control {
  height: 248px;
}

section#contact .form-control:focus {
  border-color: #fed136;
  -webkit-box-shadow: none;
  box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: 'Century Gothic', sans-serif;
}

section#contact :-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: 'Century Gothic', sans-serif;
}

section#contact ::-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: 'Century Gothic', sans-serif;
}

section#contact :-ms-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: 'Century Gothic', sans-serif;
}

/* 6. GENERAL */
.nowrap {
  white-space: nowrap;
}

.page-section {
  padding: 100px 0;
}

.page-section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 5px;
  font-family: 'Century Gothic', sans-serif;
  color: #15a8b5;
}

.page-section .st-border {
  width: 200px;
  height: 1px;
  display: block;
  background-color: #15a8b5;
  margin: auto;
}

.page-section .st-border-white {
  width: 200px;
  height: 1px;
  display: block;
  background-color: #ffffff;
  margin: auto;
}

.page-section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 75px;
  text-transform: none;
  font-family: 'Century Gothic', sans-serif;
  padding-top: 10px;
}

@media (min-width: 768px) {
  section {
    padding: 40px 0 !important;
  }
  .page-section h3.section-subheading {
    margin-bottom: 30px;
  }
}

@media (min-width: 320px) {
  section {
    padding: 30px 0 !important;
  }
  .page-section h3.section-subheading {
    margin-bottom: 30px;
  }
}

::-moz-selection {
  background: #15a8b5;
  text-shadow: none;
}

::selection {
  background: #15a8b5;
  text-shadow: none;
}

img::-moz-selection {
  background: transparent;
}

img::selection {
  background: transparent;
}

img::-moz-selection {
  background: transparent;
}

.btn {
  font-family: 'Century Gothic', sans-serif;
  color: #ea6558;
  padding: 10px 20px;
  border-radius: 0;
}

.btn-xl {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-primary {
  background-color: #383838;
  border-color: #383838;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background-color: #ea6558 !important;
  border-color: #ea6558 !important;
  color: white;
}

.btn-primary:active,
.btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

#mainNav {
  background-color: #383838 !important;
}

.navbar {
  padding: 0;
}

#mainNav .navbar-toggler {
  font-size: 12px;
  right: 0;
  padding: 13px;
  text-transform: uppercase;
  color: white;
  border: 0;
  background-color: #ea6558;
  font-family: 'Century Gothic', sans-serif;
}

#mainNav .navbar-brand {
  color: #ffffff;
  background-color: #ea6558;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 0;
}

#mainNav .navbar-brand.active,
#mainNav .navbar-brand:active,
#mainNav .navbar-brand:focus,
#mainNav .navbar-brand:hover {
  color: #ffffff;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 90%;
  font-weight: 400;
  padding: 0;
  letter-spacing: 1px;
  color: white;
  font-family: 'Century Gothic', sans-serif;
  background-color: #383838 !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active,
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #15a8b5;
}
#mainNav .navbar-nav .nav-item .nav-link.active {
  font-weight: 700;
  border-bottom: 1px solid #15a8b5;
  padding-bottom: 2px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-right: 1em;
  margin-left: 1em;
}

@media (min-width: 992px) {
  #mainNav {
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    font-size: 2em;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    top: 0;
  }
  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 1.1em 1em !important;
  }
  #mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
  }
  #mainNav.navbar-shrink .navbar-brand {
    font-size: 1.7em;
    padding: 11px 22px;
    position: absolute;
    top: 0 !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    padding-right: 10px;
    padding-left: 0;
  }
}

.footer {
  padding: 25px 0;
  text-align: center;
}

.footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  font-family: 'Century Gothic', sans-serif;
}

.footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-family: 'Century Gothic', sans-serif;
}

ul.social-buttons {
  margin-bottom: 0;
}

ul.social-buttons li a {
  font-size: 20px;
  line-height: 50px;
  display: block;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  color: white;
  border-radius: 100%;
  outline: none;
  background-color: #212529;
}

ul.social-buttons li a:active,
ul.social-buttons li a:focus,
ul.social-buttons li a:hover {
  background-color: #ea6558;
}
