/*
Theme Name: Southpoint Theme
Theme URI: http://www.southpoint-solutions.co.uk
Author: Southpoint
Author URI: http://www.southpoint-solutions.co.uk
Description: Custom Theme for Southpoint Creative Digital Solutions.
Version: 1.0
Text Domain: southpoint
*/

html {
  position: relative;
  min-height: 100%;
}

/* override body from carousel css */
body {
  padding: 0 0 228px;
}

a {
  color: #0099aa;
}

.btn-primary {
  color: #fff;
  background-color: #0099aa;
  border-color: #0099aa;
}

/* admin bar fix */
.admin-bar .fixed-top {
  top: 32px;
}

@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .fixed-top {
    top: 46px;
  }
}

/* header */
header {
  min-height: 0;
}

/* index php specific */
#container-index {
  padding-top: 90px;
}

/* main */
main {
  padding: 0 0 20px;
}

header button:focus {
  outline: none 0;
}

/* homepage cards */
#home-cards .card-img-top {
  text-align: center;
  padding: 5%;
}

#home-cards .fa-stack { 
  font-size: 3em; 
}
#home-cards i { 
  vertical-align: middle; 
}
#home-cards .fa-stack-1x {
  color:  #ddd;
}

/* animate home cards */
#home-cards a.sp-home-card {
  color: #444;
  text-decoration: none;
}

#home-cards a.sp-home-card:hover {
  color: #0099aa;
}

#home-cards a.sp-home-card p.card-text {
  color: #444; 
}

/* card boder animation */
#home-cards .card,
.cat-cards .card {
  border: 2px solid #dddddd;
  transition: border 1000ms ease-in-out;
}

#home-cards .card:hover,
.cat-cards .card:hover { 
  border: 2px solid #0099aa;
}
/* category page cards */
.cat-cards a {
  text-decoration: none;
  color: #444;
}

.cat-cards a:hover {
  color: #0099aa;
}

.cat-cards .card-img-top {
  width: 100%;
  height: 10vw;
  object-fit: cover;
}

/* footer */
footer {
  background: #333;
  position: absolute;
  bottom: 0;
  color: #fff;
  height: 228px;
  padding: 10px 0 0;
}

footer #footer-right {
  text-align: right;
}

footer #footer-right #back-top {
  padding: 0 0 5px;
}

footer #footer-right #back-top a {
  color: #fff;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul.footer-links-h li {
  display: inline-block;
}

footer ul.footer-links-h span.fa-stack {
  font-size: 1.2rem;
}

footer ul.footer-links-h .fa-inverse {
  color: #333;
}

footer hr {
  border-top: 1px solid #aaa;
}

footer #div-copyright p {
  width: 100%; 
  text-align: center;
  color: #aaa;
}

footer .modal {
  color: #444;
}

/* footer form */
#form-container {
  width: 100%;
}

.sp-form-error {
  display: none;
  color: #f00;
}

#form-success,
#form-error {
  display: none;
}

/* hp eq honeypot trap */
#sp-contact-form .form-group.hp {
  display: none;
}

@media (min-width: 992px) { 
  #form-container {
    width: 75%;
    margin: 0 auto 1rem;
  }
  #form-success,
  #form-error {
    width: 75%;
    display: none;
    margin: 0 auto 1rem;
  }
}

.form-valid  {
  opacity:0.5;
}

.form-control-label abbr {
  text-decoration: none;
  font-weight: normal;
}

/* bootstrap top navbar */
div#main_navbar {
  width: 100%;
  min-height: 42px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6); 
  /*transition: background-color 1s linear;*/
}
/*
div#main_navbar:hover {
  background-color: rgba(0, 0, 0, 1);
}
*/
div#main_navbar a {
  color: #fff;
}

.navbar-brand img {
  vertical-align: text-bottom;
}

.solid {
  background-color: #000;
  transition: ease-in-out;
}

/* carousel /*/
.carousel {
  margin: 0 0 20px;
}
#sp-home-carousel {
  position: relative;
}
#sp-home-carousel .carousel-item .sp-home-carousel-img {
  height: 280px;
  width: 100%;
  background-position: center;
  background-size: 100% 100%;
}

#sp-homepage-carousel-caption {
  text-align: left;
  background: rgba(0,0,0,.5);
  position: absolute;
  bottom: 0;
  z-index: 11;
  color: #fff;
  width: 100%;
  padding: 1%;
  margin: 0;
}

#sp-homepage-carousel-caption p {
  margin: 0;
}

/* jumbotrons */
.jumbo-sp {
  padding: 0;
  position: relative;
  min-height: 300px;
}
.jumbo-sp .container {
  background: rgba(0,0,0,.5);
  color: #fff;
  position: absolute;
  bottom: 0;
}

.jumbo-sp .container p {
  margin: 0;
  padding: 0;
}

.jumbo-sp h1 i {
  font-size: .8em;
}

.jumbo-sp-home {
  background-image: url("img/southpoint-about.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 500px;
  padding: 20rem 2rem 0;
}

.jumbo-sp-about {
  background-image: url("img/marineside.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.jumbo-sp-design {
  background-image: url("img/southpoint-design.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.jumbo-sp-develop {
  background-image: url("img/southpoint-develop.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.jumbo-sp-create {
  background-image: url("img/southpoint-create.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* 'S' Shape */
img.s-shape-white {
  width: 30px;
  vertical-align: baseline;
  border: 1px solid #fff;
}
img.s-shape-grey {
  width: 30px;
  vertical-align: baseline;
  border: 1px solid #444;
}

/* medium sized screens tablets etc. */
@media only screen and (min-width: 600px) {

}

/* large screens desktop etc. */
@media only screen and (min-width: 768px) {
  #sp-home-carousel .carousel-item .sp-home-carousel-img {
    height: 500px;
    width: 100%;
    background-position: center;
    background-size: cover;
  }

  #sp-homepage-carousel-caption {
    text-align: left;
    background: rgba(0,0,0,.5);
    position: absolute;
    bottom: 10%;
    z-index: 11;
    color: #fff;
    width: 60%;
    padding: 1%;
    margin: 0 20%;
  }
  
  #sp-homepage-carousel-caption p {
    margin: 0;
  }

  /* 'S' Shape */
  img.s-shape-white {
    width: 42px;
    vertical-align: baseline;
    border: 1px solid #fff;
  }
  img.s-shape-grey {
    width: 42px;
    vertical-align: baseline;
    border: 1px solid #444;
  }

  /* jumbotrons */
  .jumbo-sp {
    padding: 12rem 8rem 2rem;
  }
  .jumbo-sp .container {
    background: rgba(0,0,0,.5);
    color: #fff;
    position: relative;
    padding: 0.5rem;
  }

  .jumbo-sp h1 i {
    font-size: .8em;
  }

  .jumbo-sp-home {
    background-image: url("img/southpoint-about.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    padding: 20rem 2rem 0;
  }

  .jumbo-sp-about {
    background-image: url("img/marineside.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .jumbo-sp-design {
    background-image: url("img/southpoint-design.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
  }

  .jumbo-sp-develop {
    background-image: url("img/southpoint-develop.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .jumbo-sp-create {
    background-image: url("img/southpoint-create.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

}