/*
Theme Name: twisted-apexnew-pv
Theme URI: http://twistedesign.co.uk
Description: Twisted Design
Version: 0.0.1
Author: Straw Jonny
Author URI: https://strawjonny.com
Template: twisted-apexnew
*/

.has-white-color { color: white; }
.has-white-background-color { background-color: white; }

.has-black-color { color: black; }
.has-black-background-color { background-color: black; }

.has-twhite-color { color: white; }
.has-twhite-background-color { background-color: white; }

.has-tblack-color { color: black; }
.has-tblack-background-color { background-color: black; }

.has-colourone-color { color: #0170c7; }
.has-colourone-background-color { background-color: #0170c7; }

.has-colourtwo-color { color: 0170c7; }
.has-colourtwo-background-color { background-color: 0170c7; }

.has-colourthree-color { color: #f7b501; }
.has-colourthree-background-color { background-color: #f7b501; }

body.open {
  background-color: #0170c7;
}

body.open a {
  color: #f7b501;
}

nav.primary a:hover {
  color: white;
}

.navicon a {
  color: #f7b501;
}

.navicon a:hover {
  color: #0170c7;
}

footer {
  background-color: white;
}

@media only screen and (min-width:1140px) {

  h1.has-twhite-color strong, h2.has-twhite-color strong, h3.has-twhite-color strong {
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
  }

  h1.has-colourone-color strong, h2.has-colourone-color strong, h3.has-colourone-color strong {
    -webkit-text-stroke: 1px #0170c7;
    text-stroke: 1px #0170c7;
  }

  h1.has-colourtwo-color strong, h2.has-colourtwo-color strong, h3.has-colourtwo-color strong {
    -webkit-text-stroke: 1px 0170c7;
    text-stroke: 1px 0170c7;
  }

  h1.has-colourthree-color strong, h2.has-colourthree-color strong, h3.has-colourthree-color strong {
    -webkit-text-stroke: 1px #f7b501;
    text-stroke: 1px #f7b501;
  }

  h1.has-black-color strong, h2.has-black-color strong, h3.has-black-color strong {
    -webkit-text-stroke: 1px #000000;
    text-stroke: 1px #000000;
  }

}
@media only screen and (max-width:1139px) {

  h1.has-twhite-color strong, h2.has-twhite-color strong, h3.has-twhite-color strong {
    font-weight: 400;
  }

  h1.has-colourone-color strong, h2.has-colourone-color strong, h3.has-colourone-color strong {
    font-weight: 400;
  }

  h1.has-colourtwo-color strong, h2.has-colourtwo-color strong, h3.has-colourtwo-color strong {
    font-weight: 400;
  }

  h1.has-colourthree-color strong, h2.has-colourthree-color strong, h3.has-colourthree-color strong {
    font-weight: 400;
  }

  h1.has-black-color strong, h2.has-black-color strong, h3.has-black-color strong {
    font-weight: 400;
  }

}


.faux-header {
      border-bottom: solid 30px #f7b501;
}

.accentstrong strong {
  -webkit-text-stroke: 1px #f7b501 !important;
  text-stroke: 1px #f7b501 !important;
}

a.twisted-policy {
  background-color: #0170c7;
  color: white;
}

a.twisted-policy:hover {
  color: #f7b501;
}

.wp-block-read-more {
  padding: 10px 30px;
  background-color: #f7b501;
  color: white !important;
}

.socials a, .socials i {
  color: #f7b501;
}

.c-accordion__title {
  background-color: #0170c7;
  color: white;
}

.c-accordion__title em, .c-accordion__title:after {
  color: #f7b501;
  font-style: normal;
}

.c-accordion__content {
  background-color: white;
}

.video-header {
  background-color: #0170c7;
}

input[type="submit"] {
  background-color: #f7b501;
  color: white !important;
  border: #f7b501 solid 2px;
  transition: color 1s ease, background-color 1s ease;
}

input[type="submit"]:hover {
  color: #f7b501 !important;
  background-color: white;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #f7b501;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #f7b501;
}
:-moz-placeholder { /* Firefox 18- */
  color: #f7b501;
}

.contactform input, .contactform textarea {
  color: #f7b501;
}

.homepage-sandwich img {
  max-width: 50vw !important;
  width: auto;
  min-width: 300px;
  margin-right: 100px
}

.wp-block-table table thead {
    color: white;
    background-color: #0170c7;
    border-color: #0170c7;
}

.wp-block-table td, .wp-block-table th {
    border: 1px solid #0170c7 !important;
}

.has-twhite-color .wp-block-table td, .has-twhite-color  .wp-block-table th {
   border: 1px solid white !important;
}


.wp-block-table table tr {
    border-bottom: dotted #0170c7 1px;
    border-top: dotted #0170c7 1px;
}

.c-accordion__content p a, .c-accordion__content li a {
  color: #f7b501;
}

.home .topbar .logo {
  display: block !important;
}

.wp-block-embed__wrapper .video-overlay {
  align-items: flex-start !important;
  flex-direction: column-reverse !important;
  justify-content: normal !important;
}

.faux-header-inner {
  align-items: flex-start !important;
  padding-bottom: 50px !important;
  flex-direction: row !important;
}

.faux-header-inner h3 {
  margin-right: 20px !important;
}