/*
*
*
* Navigation
*
* * * * * * * * * * * */


nav#main-nav {
  height: 100%; /* 100% Full-height */
  width: 90%; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Stay on top */
  top: 0; /* Stay at the top */
  right: -100%;
  background-color: rgb(27,63,82); 
  overflow-x: hidden; /* Disable horizontal scroll */
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}


/* Sliding Side Nav */


body {
  -webkit-transition: margin-left .5s;
  -o-transition: margin-left .5s;
  transition: margin-left .5s;
}

main {
  -webkit-transition: margin-right .5s;
  -o-transition: margin-right .5s;
  transition: margin-right .5s;
}


.nav_wrapper {
  background: #fff;
}

#gw_logo {
    width: 220px;
    height: 30px;
    margin: 25px 0 15px 40px;
}


#cfc_logo {
    width: 110px;
    height: 42px;
    margin: 13px 0 11px 40px;
}



svg#logo {
  width: 250px;
  height: 75px;
  margin: 10px 0 0 0 ;
  cursor: pointer;
}

svg#icon_menu {
    width: 40px;
    height: 35px;
    cursor: pointer;
    position: fixed;
    right: 40px;
    top: 20px;
    z-index: 99;
}

.admin_logged_in svg#icon_menu {
  top: 86px;
}

nav.admin_logged_in .container {
    padding-top: 80px;
}

#member_login {
    margin: 18px auto 60px 0;
    text-align: left;
    color: rgba(47,151,171,1);
    float: left;
}

#member_login a {
    text-transform: uppercase;
    color: #fff;
    vertical-align: middle;
}

#member_login a i {
  margin-right: 8px;
}

#member_login a:hover{
  text-decoration: underline;
}




.light .cls-m {
  stroke:rgba(17,9,0,1);
}

.dark .cls-m {
  stroke:rgba(255,255,255,1);
}


svg#icon_menu_close {
    width: 35px;
    height: 35px;
    margin-left: 20px;
    margin-top: 2px;
    cursor: pointer;
    float: right;
}

svg#icon_menu_search,
svg.icon_menu_search {
    width: 40px;
    height: 40px;
    cursor: pointer;
    float: right;
}

svg#icon_menu_search:hover,
svg#icon_menu_close:hover {
  opacity: 0.4;
}

svg.icon_menu_search{
  opacity: 0.4;
}

svg.icon_menu_search:hover{
  opacity: 1;
}


#search_wrapper {
  display: none;
  width: calc(100% - 400px);
  float: right;
  text-align: right;
}

#search_wrapper .search {
  display: inline-block;
  width: calc(100% - 50px);
}

#searchform input {
  background-color: rgba(0,0,0,0);
  border:none;
}

#search .search-bar-input input {
  background-color: transparent;
  border: none;
  border-right:1px solid rgba(255,255,255,1);
  color: #fff;
  font-size: 38px;
  text-align: right;
  width: calc(100% - 90px);
  margin-right: 15px;
  padding-right: 15px;
}

#search .search-bar-input input::-moz-selection {
  background-color: #fff;
  color: #000;
}
#search .search-bar-input input::selection {
  background-color: #fff;
  color: #000;
}
#search .search-bar-input input:focus {
  outline: 0;
}
#search .search-bar-input input::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: Graphik-Regular; 
  color: #fff;
  opacity: 1; 
}
#search .search-bar-input input:-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: Graphik-Regular;
  color: #fff;
  opacity: 1; 
}
#search .search-bar-input input::-ms-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: Graphik-Regular;
  color: #fff;
  opacity: 1; 
}
#search .search-bar-input input::-moz-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: Graphik-Regular;
  color: #fff;
  opacity: 1;
}
#search .search-bar-input input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  font-family: Graphik-Regular;
  color: #fff;
  opacity: 1;
}

#search .search-bar-input input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  font-family: Graphik-Regular;
  color: #fff;
}

#search .search-bar-input input::-ms-input-placeholder { /* Microsoft Edge */
  font-family: Graphik-Regular;
  color: #fff;
}

#search .search-bar-input button {
  float: right;
  background-color: rgba(0,0,0,0);
  border: none;
  cursor: pointer;
  padding: 0;
}
#search .search-bar-input button:focus {
  outline: 0;
}


#search_results #searchform {
  margin-top:80px;
}

#searchform input {
  width: 90%;
  background-color: transparent;
  border: none;
  border-bottom: solid 1px rgba(255,255,255,0.6);
  color: #fff;
  font-size: 32px;
  padding-bottom: 10px;
}


.desktop-search-button {
  text-transform: uppercase;
}




  /* Main Menu */

  nav#main-nav .container {
    width: calc(100% - 80px);
    max-width: 100%;
    margin: auto;
    padding-top: 50px;
}
/*
  nav .container {
    width: calc(100% - 300px);
    max-width: 100%;
    padding: 70px 150px;
    margin: auto;
  }*/

  nav#main-nav #menu_wrapper {
      display: block;
      height: 100%;
      width: 100%;
      margin-top: 60px;
  }



  ul#main-menu-list{
    width: 100%;
    margin-top: 80px;
    padding-bottom: 80px;

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -ms-flex-line-pack: justify;
        align-content: space-between;
  }

  ul#main-menu-list > li {
    display: block;
    margin-bottom: 70px;
    padding: 0;
    text-align: left;
    margin-right: 5vw;
    width: 25%;
}

  ul#main-menu-list > li a{
    display: inline-block;
    color: #fff;
    /*font-size: 3vw;*/
    font-size: 30px;
    text-transform: none;
    margin: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 10px 0 10px 0;
  }

  ul#main-menu-list > li ul {
    margin-top: 10px;
  }

  ul#main-menu-list > li ul a {
    font-size: 18px;
  }




  /* animated underline */

   ul#main-menu-list li a,
   footer a {
    position: relative;
    text-decoration: none;
    line-height: 1.3;
  }

  ul#main-menu-list li a:before,
  footer a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 3px;
  left: 0;
  background-color: rgba(255,255,255,1);
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
      transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

ul#main-menu-list li a:hover:before,
footer a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
      transform: scaleX(1);
}


footer a:before {
  bottom: -4px;
}


 .body_fixed {
    overflow: hidden;
    position: fixed;
  }



/*
*
* Sub Nav (Blog Section)
*
* * * * * * * * * * * */


#subnav {
  text-align: center;
  border-bottom: #efefef solid 1px;
}

#subnav ul {
  text-align: center;
  height: 60px;
  

  overflow: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

#subnav ul li {
  display: inline-block;
  padding: 15px 8px;

}

#subnav ul li:first-child {
  padding-left: 30px;
}

#subnav ul li a {
  text-decoration: none;
  font-size: 15px;
}

html:not(.has-touch) #subnav ul li a:hover {
  color: rgba(47,151,171,1);
  text-decoration: none;
}




/*
*
* PAGINATION
*
* * * * * * * * * * * */


nav.pagination_wrapper {
    margin: 30px auto 30px auto;
    padding-bottom: 20px;
    text-align: center;
    position: static!important;
}

nav.pagination_wrapper ul li {
  display: inline-block;
}

.pagination .page-item{
  width: 40px;
  height: 40px;
  text-align: center;
  cursor: pointer;
  margin: 5px;
}
.pagination .page-item .page-link{
  margin: 0;
  line-height: 40px;
}
nav a.pagination:before {
  left: 0!important;
}


.pagination .page-item.active{
  border-radius: 50%;
  background-color: rgba(47,151,171,1);
}
.pagination .page-item.active .page-link{
  color: #fff;
}







/*
*
* FOOTER
*
* * * * * * * * * * * */

footer {
  background-color: rgba(47,151,171,1);
  min-height: 300px;
  padding-top: 115px;
}

footer .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 270px;
}

footer p {
  font-size: 14px;
  margin-bottom: 7px;
  color: #fff;

}

footer a {
  font-size: 14px;
  margin-bottom: 7px;
  color: #fff;
  text-decoration: none;
}

.footer-links p,
.footer-links a {
  font-size: 11px;
}

html:not(.has-touch) footer a:hover{
  color: #fff;
}

#base_menu_lists a {
  position: relative;
  padding-bottom: 2px;
}

#base_menu_lists a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  -ms-transform: scaleX(0);
      transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  -o-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

html:not(.has-touch) #base_menu_lists a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  -ms-transform: scaleX(1);
      transform: scaleX(1);
}



footer h5 {
  color: #fff;
  font-size: 24px;
  max-width: 450px;
  font-weight: 600;
  margin-bottom: 30px;
}

#gw_footer_logo {
  width: 165px;
}



#base_menu, #base_info {
  width:100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#base_menu {
  -webkit-box-flex:2;
      -ms-flex:2;
          flex:2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#base_menu div {
  width:50%;
  display: inline-block;
  text-align: left;
}


.social-links ul li {
  display: inline-block;
  margin-right: 15px;
}


.social-links ul li a i{
  font-size: 21px;
  color: #fff;
}

#base_menu_lists {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

#base_menu_lists div {
  width: 32%;
  vertical-align: top;
}

#base_menu_lists div ul li  {
  margin-bottom: 4px;

}


#base_info div {
    margin-right: 20px;
    text-align: left;
    margin-top: 30px;
}


.footer-links ul, .footer-links p {
  display: inline-block;

}

#footer-links-list li {
  display: inline-block;
  margin-right: 12px;
}




.pagination_wrapper {
  height: auto;
}


/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * MEDIA QUERIES * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * */




@media (max-width: 1200px){


      #gw_logo {
      width: 180px;
      margin-left: 30px;
    }

    svg#icon_menu {
    width: 35px;
    height: 35px;
  }

  svg#icon_menu_close {
    width: 30px;
    height: 30px;
  }

  svg#icon_menu_search, 
  svg.icon_menu_search {
      width: 35px;
      height: 35px;

  }






}






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

  footer{
    padding-top: 60px;
    padding-bottom: 40px;
  }


  #base_menu>div{
    width: 100%;
    float: none;
    margin-bottom: 40px;
  }


  nav.pagination_wrapper ul.pagination,
  nav ul.pagination {
    margin: 0 auto;
  }

  ul#main-menu-list > li {
    width: 42%;
  }


 /* nav.user {
    height: 30px;
     padding-top: 0px; 
    padding-bottom: 32px;
  }

  .user_account {
    font-size: 15px;
    top: 15px;
    left: 25px;
    color: #fff;
  }

  .user_account a {
    color: #fff;
  }*/

}


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

  #search_wrapper {
    margin-top: 0px;
    width: 100%;
    float: none;
    text-align: left;
}

  svg#icon_menu {
    width: 35px;
    height: 35px;
  }

  svg#icon_menu_close {
    width: 30px;
    height: 30px;
}

svg#icon_menu_search, 
svg.icon_menu_search {
    width: 35px;
    height: 35px;

}

svg#icon_menu_search {
    float: none;
    position: static;
    display: block;
}

#member_login {
    margin: 18px auto 26px 0;
  }

  #search .search-bar-input button {
    float: left;
    margin-right: 7px;
  }

  #search_wrapper {
    display: none;
    width: calc(100% - 80px);
    float: right;
    text-align: left;
}

#search_wrapper .search {
    display: inline-block;
    width: 100%;
}

#search .search-bar-input input {
  border: none;
    border-left: 1px solid rgba(255,255,255,1);
    text-align: left;
    font-size: 26px;
   padding-bottom: 0px;
   padding-left: 7px;
    width: calc(100% - 80px);
}

nav #menu_wrapper {
  margin-top: 50px;
}

  #member_login {
  width: 100%;
  }

  #search_wrapper {
    display: none;
    width: calc(100% - 60px);
    float: left;
    text-align: left;
  }

  ul#main-menu-list > li {
    display: block;
    margin-bottom: 30px;
    padding: 0;
    text-align: left;
    margin-right: 0;
    width: 100%;
}

  #base_menu div{
    width: 100%;
    float: none;
    margin-bottom: 20px;
  }

  #about-pillars {
    padding: 30px 0px;
  }

  .img-patternchampions {
    display: none;
  }



}



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


  #gw_logo {
      width: 140px;
      margin-left: 20px;
  }

  #cfc_logo {
    width: 90px;
    height: 42px;
    margin: 13px 0 11px 15px;
  }

  svg#icon_menu {
    width: 35px;
    height: 25px;
    right: 25px;
    margin-top: 5px;
  }

  ul#main-menu-list > li a {
    font-size: 24px;
    padding: 5px 0 10px 0;
  }




}



/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
* * * * * * * * * * * Browser Targeted  * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/* IE10 and IE11 */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {


  footer .container {
    height: 270px;
  }

}


