/*
Theme Name: CWO
Author: Keiran Martin
Description: CWO Theme
*/

/*----------------------------------------------------------------
GENERAL
----------------------------------------------------------------*/

body,
html {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Roboto", sans-serif;
  color: #333;
}
p,
a,
li,
ul,
ol,
small {
  font-family: "Lato", sans-serif;
  color: #333;
}
p a {
  color: #007bff !important;
  font-weight: normal;
}
ol {
  text-align: left;
}
ol li {
  padding-left: 5px !important;
}
li {
  margin: 1rem 0;
}

h2 {
  font-size: 32px;
  line-height: 40px;
  color: #333;
  font-weight: 700;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  h2 {
    margin-top: 20px;
  }
  ol {
    padding: 0 20px 0;
  }
}
h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}
.btn-primary {
  color: #fff;
  background-color: #202F64!important;
  border-color: #202F64;
  width: 200px;
  /* max-height: 40px; */
  border-radius: inherit;
}
.btn-primary:hover {
  color: #fff;
  background-color: #00AEBE!important;
  border-color: #00AEBE;
}
.btn-blue {
  background-color: #202F64!important;
  color: white;
  border-radius: 0;
}
.btn-blue:hover {
  background-color: rgba(0, 130, 244, 0.9);
  color: white;
}
#wrap {
  margin-top: 110px;
}
@media (max-width: 479px) {
  .desktop {
    display: none;
  }
}
.img {
  height: 300px;
  background-size: cover !important;
  background-position-y: center !important;
}

/*----------------------------------------------------------------
FOOTER
----------------------------------------------------------------*/

#social-bar {
  background-color: #00AEBE;
  display: flex;
  height: 70px;
  align-items: center;
}
#social-bar p {
  color: white;
  font-size: 26px;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

#social-bar span {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-color: white;
  margin: 0 0 0 10px;
  cursor: pointer;
}
#social-bar i {
  color: #00AEBE;
}
#social-bar br {
  display: none;
}
/*----------------------------------------------------------------
NAV
----------------------------------------------------------------*/
.navbar img {
  height: 65px;
}
nav {
  height: 110px;
  padding-top: 50px !important;
  padding-bottom: 20px !important;
  background: white;
}
.top-bar {
  position: absolute;
  top: 0;
  right: 0;
  height: 40px;
}
.top-bar .btn {
  margin: 0 -5px !important;
  border-radius: 0;
  width: 200px;
  max-height: 40px;
}
.nav-link {
  padding: 20px !important;
  color: #202F64 !important;
}
.nav-link:focus,
.nav-link:hover,
.nav-link:active {
  /* padding: 20px !important; */
  color: #202F64 !important;
}
.dropdown a {
  padding: 20px;
  cursor: pointer;
  color: #202F64 !important;
}
.dropdown-toggle a:focus {
  color: #202F64 !important;
}
a#navbarDropdownMenuLink:focus,
a#navbarDropdownMenuLink:active {
  color: #202F64 !important;
}
.dropdown-menu {
  background-clip: padding-box;
  border: none !important;
  border-radius: 0 !important;
}

.dropdown a:active {
  color: white !important;
}
.dropdown-menu {
  padding: 0 !important;
}
.sub {
  position: relative;
  left: 100% !important;
  bottom: -64px !important;
  top: auto !important;
  padding: 0 !important;
}
.top-bar .btn-blue {
  max-width: inherit !important;
}
@media (max-width: 767px) {
  .navbar-collapse {
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* -----------------------------------------------------------
PAGE TEMPLATE
----------------------------------------------------------- */
#page_hero {
  background: #f2f2f2;
  padding: 25px 40px;
  /* padding: 50px 40px; */
  margin-bottom:15px;
}
#page_hero h1 {
  text-align: center !important;
  font-weight: 700;
}
#page_hero .content p {
  font-size: 16px;
  line-height: 22px;
}
#page_hero .content {
  margin: 36px 0 0;
  padding: 0 50px;
}
/*RESPONSIVE*/
@media (max-width: 991.999px) {
  nav {
    padding-top: 40px !important;
  }
  .nav-link {
    padding: 5px !important;
    color: #202F64 !important;
  }
  li.nav-item {
    margin: 0.7rem 0;
  }
  .ml-auto,
  .mx-auto {
    margin-left: auto !important;
    padding: 20px 0;
  }
  .navbar-light .navbar-toggler-icon {
    background-image: url("/wp-content/themes/cwo/img/bars.svg");
  }
  .navbar-light .navbar-toggler {
    border-color: rgba(0, 0, 0, 0);
  }
  button:focus {
    outline: 0;
  }
  .navbar-collapse {
    background: white;
    text-align: center;
  }
  .dropdown-menu {
    background: #f2f2f2;
    border: none;
    border-radius: 0;
    margin: 0 10px;
  }
  #page_hero .content {
    padding: 0 0px !important;
  }
  #page_hero {
    padding: 50px 5px !important;
  }
}
@media (max-width: 767px) {
  .top-bar {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 100%;
  }
  #page_hero .content {
    margin: 15px 0 0;
    padding: 0 50px;
  }
  #page_hero {
    padding: 30px 5px !important;
  }
  .top-bar .btn {
    margin: 0 !important;
    border-radius: 0;
    width: 49.7%;
    max-height: 40px;
    transform: scalex(1.02);
  }
  #page_hero .content p {
    font-size: 15px;
    line-height: 22px;
  }
  #page_hero h1 {
    font-size: 30px !important;
    font-weight: 700 !important;
  }
}
@media (max-width: 742px) {
  .top-bar .btn {
    width: 49%;
    transform: scalex(1.05);
  }
}

@media (max-width: 723px) {
  .top-bar .btn {
    width: 48.9%;
    transform: scalex(1.05);
  }
}

@media (max-width: 550px) {
  #page_hero .content {
    /* margin: 36px 0 0; */
    margin: 20px 0 0;
    padding: 0 20px !important;
  }
}
@media (max-width: 479px) {
  #social-bar br {
    display: block;
  }
  #social-bar p {
    font-size: 21px;
  }
  #social-bar i {
    font-size: 30px;
  }
  #social-bar span {
    margin-top: 10px;
  }
  #social-bar i {
    display: flex;
    justify-content: center;
    margin-top: 5px;
  }
}

/*
DATE PICKER
*/
.ui-datepicker .ui-datepicker-year {
  width: 70px;
  height: 25px;
}

.ui-datepicker .ui-widget-content {
  background: #ffffff repeat;
}
#ui-datepicker-div {
  padding: 10px !important;
  background: white;
  box-shadow: 0px 33px 66px #00000029;
}
.ui-widget-header {
  border: 0px;
  background: #ffffff 50% 50% repeat-x;
  color: #222222;
  font-family: "Arial";
  font-size: 11pt;
  font-weight: normal;
}

.ui-datepicker-header a.ui-datepicker-prev {
  border: 0px;
  background: #ffffff;
}

.ui-datepicker-header a.ui-datepicker-next {
  border: 0px;
  background: #ffffff;
}

.ui-datepicker-calendar th {
  background: #ffffff;
  border: 0px;
  color: #959595;
  font-family: "Arial";
  font-size: 12pt;
  font-weight: normal;
}

.ui-datepicker-calendar .ui-state-active {
  color: white;
  font-weight: bold;
  background-color: #00AEBE;
}
.ui-datepicker-calendar td {
  padding: 5px !important;
}
.ui-datepicker-calendar td:hover {
  background: #202F64!important;
}
.ui-datepicker-calendar td:hover a {
  color: white !important;
}
.ui-datepicker-calendar tr {
  text-align: center;
  padding: 0;
  background-color: #f6f6f6;
}

.ui-datepicker-other-month {
  background-color: #ffffff;
}
.ui-icon {
  display: none;
}

.btn-member{
  background-color: #00AEBE;
  border: 1px solid #00AEBE;
}
.btn-member:hover{
  background-color: #202F64;
  border: 1px solid #202F64;
}