/*
 Theme Name:   Sea Turtle Conservancy Theme
 Theme URI:    http://www.conserveturtles.org/
 Description:  Child Theme of Bootstrap Canvas WP
 Author:       Frank Corso
 Author URI:   http://frankcorso.me
 Template:     bootstrap-canvas-wp
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
Sections of this file:
1) Site Wide CSS
2) Header CSS
3) Page CSS
4) Turtle Blog CSS
5) Footer CSS
6) Mics CSS
*/

/****************
Site Wide CSS
****************/
.container {
  margin-right: auto;
  margin-left: auto;
  padding: 0;
}
/*@media (min-width: 768px) {
  .container {
    width: 750px !important;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px !important;
  }
}*/
@media (min-width: 1200px) {
  .container {
    width: 1170px !important;
  }
}
@media (max-width: 1200px) {
  .container {
    width: 100% !important;
  }
}

.row {
  max-width: 100%;
  margin: 0;
}

  .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
  padding-left: 15px;
  padding-right: 15px;
}
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
  padding: 0 15px;
}
.alignright {
  float: right;
  padding-left: 15px;
}
.alignleft {
  float: left;
  padding-right: 15px;
}
.alignnone {
  padding: 0;
}
.aligncenter {
  display: block;
  margin: 0 auto;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn-default {
color: #333333;
    background-color: #ffffff;
    border-color: #cccccc;
}

input[type=checkbox] {
  height: initial;
  width: initial;
  display: initial;
}

body {
    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif !important;
font-size: 15px;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #000;
}

.blog-main {
font-size: 15px;
}

a {
    color: #0000ff;
    text-decoration: none;
}

a:hover, a:focus {
    color: #174f70;
    text-decoration: underline;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif !important;
/*color: rgb(51, 51, 51);
color: #000 !important;*/
}

h4, h5, h6 {
    margin-top: 4px;
    margin-bottom: 6px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

.h1small {
  font-size: 12px;
}

/****************
Header CSS
****************/

.logo-row {
margin: 5px 0px 0px 0px;
}

.nav > li {
  border-right: 1px solid #000;
  padding: 0 4px;
  cursor: pointer;
}

.nav > li:last-child {
  border-right: 0px;
}

.nav > li > a:hover,
.nav > li > a:focus,
.nav > li:hover > a {
  text-decoration: none;
  background-color: #5EDBEE;
  border-radius: 6px;
}

#bs-header-navbar-collapse-1 .nav a {
  color: #000000;
  font-size: 16px;
  font-weight: none;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
  -webkit-backface-visibility: hidden;
  border-radius: 4px;
  padding: 0px 5px;
  display: inline;
}

#bs-primary-navbar-collapse-1 .nav > li > a {
  font-size: 19px;
  color: #000000;
  padding: 0px 10px;
  line-height: 20px;
}

.navbar {
  margin: 10px 0px;
}

.navbar-nav {
  float: none;
  text-align: center;
}

.navbar-nav > li {
  float: none;
  display: inline-block;
}

.navbar .nav .sub-menu {
  width: 225px;
  text-align: left;
  list-style-type: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  z-index: 9999;
  -webkit-transform-origin: 0 0;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-backface-visibility: hidden;
}

.sub-menu {
    margin-left: 2px;
}

.navbar .nav > li > a {
  text-transform: uppercase;
}

.navbar .nav .sub-menu li:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding-top: 3px;
}

.navbar .nav .sub-menu li:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.navbar .nav .sub-menu li {
  background-color: #000000;
  padding: 3px 3px;
  position: relative;
}

.nav .sub-menu .sub-menu {
  left: 100%;
  top: 0;
  padding-left: 5px;
}

.nav > li > .sub-menu {
  padding-left: 0;
  padding-top: 10px;
}

.nav li:hover > ul {
  opacity: 1 !important;
  visibility: visible !important;
}

.nav > li:hover > ul {
  padding-top: 15px;
}

.sub-menu li:hover > a {
  background-color: #278D99 !important;
}

.nav .sub-menu a {
  border-radius: 2px;
  color: #ffffff !important;
  display: block;
  font-size: 15px;
  padding: 6px 9px;
  text-decoration: none;
}

.tertiary-nav {
  text-align: right;
}

.action-btn-wrapper .btn {
  color: #ffffff;
  padding: 10px 20px;
  font-size: 18px;
}

.action-btn-wrapper .btn-success,.btn-success:visited {
  background-color: #278D99;
  border-color: #1e915c;
}

.action-btn-wrapper .btn-success:focus, .btn-success:hover {
  color: #000000;
  background-color: #5EDBEE;
  border-color: #135e3c;
}

.action-btn-wrapper .btn-primary, .btn-primary:visited {
  background-color: #1F7CE3;
  border-color: #206d9b;
}

.action-btn-wrapper .btn-primary:focus, .btn-primary:hover {
  color: #000000;
  background-color: #5EDBEE;
  border-color: #154968;
}

.width-btn-sidebar{
  width: 250px;
  display: inline-block;
}

.searchbar {
  margin-top: -1em;
}

.searchbar input {
  padding: 6px 12px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  vertical-align: middle;
}

/****************
Mobile Menu
****************/

.menu-btn, .close-btn, .menu-btn:hover, .close-btn:hover {
  font-weight: bold;
  color: #494949;
  font-size: 18px;
  text-decoration: none;
}
.logo-row-2 .clearfix {
  display: none;
}

@media (max-width: 991px) {
  .logo-row-2 {
    background: white;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
  }
  .max-height {
    max-height: 500px !important;
  }
  .logo-row-2 .navbar-nav {
    text-align: left;
  }
  .logo-row-2 .menu-item {
    display: block;
    padding: 20px 0px;
    background: none !important;
  }
  .navbar .nav .sub-menu {
    width: auto;
    visibility: visible;
    position: static;
    opacity: 1;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
  }
  .sub-menu .sub-menu, .sub-menu em {
    display: none;
  }
  .nav .sub-menu a {
    color: #868686 !important;
    font-weight: bold;
    margin-left: 10px;
    font-size: 20px;
  }
  .sub-menu li > a, .sub-menu li:hover > a {
    color: #494949 !important;
    background-color: transparent !important;
  }
  .logo-row-2 a {
    color: #494949 !important;
    background: none !important;
    font-weight: bold;
    font-size: 20px;
  }
  .nav > li:hover > ul {
    padding-top: 10px;
  }
  .nav > li {
    border-right: none;
  }
  .logo-row-2 .clearfix {
    display: block;
  }
  .logo-row-2 .clearfix div:first-child {
    background: #278D99;
  }
  .logo-row-2 .clearfix div:last-child {
    background: #1F7CE3;
  }
  .logo-row-2 .clearfix div:hover {
    background: #5EDBEE;
  }
  .logo-row-2 .clearfix div:hover a {
    color: #000000 !important;
  }
  .logo-row-2 .clearfix a {
    color: white !important;
    border: none;
    font-weight: normal !important;
  }
  .searchbar {
    margin-top: 3em;
    margin-bottom: 2em;
  }
  .searchbar input {
    padding: 0;
    height: 32px;
  }
}

/****************
Page CSS
****************/

.page .blog-post-title,
.posts-page.blog-post-title {
    height: 35px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #278D99;
    padding-bottom: 15px;
    padding-top: 2px;
    padding-left: 10px;
    color: #ffffff !important;
    font-size: 22px;
    line-height: inherit;
}

/****************
Turtle Blog CSS
****************/

.blog .blog-post-title {
  font-size: 24px !important;
}

.blog p {
  font-size: 15px !important;
}

.blog .blog-post-title a,
.widget-title a,
.widget_recent_entries a {
    color: #0000ff;
    text-decoration: none;
}

.blog .widget ul {
    list-style: none;
    padding: 0;
}

.item {
  margin-top: 10px;
  margin-bottom: 8px;
  font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
  line-height: 1.45em;
  font-size: 14px;
}

.grey {
  color: #888;
  font-weight: bold;
  font-size: 15px;
}

.description img {
  display: none;
}

.date {
  color: #888;
  font-size: 10px;
}

/****************
Blog
****************/
.blog-post table, .blog-post tr, .blog-post td {
  border: none !important;
  vertical-align: middle !important;
}


/****************
Home page
****************/

.landing-page-posts .col-md-4 {
  width: 33%;
  float: left;
}

.landing-page-posts .col-md-8 {
  width: 66%;
  float: right;
}

.fb-page span {
  width: 100% !important;
}

@media (max-width: 768px) {
  .landing-page-posts .col-md-4, .landing-page-posts .col-md-8 {
    width: 100%;
    float: none;
  }
}


/****************
Footer CSS
****************/

.email-social {
  width: 100%;
  background: #eae0bc;
  padding: 10px;
}

.email-social-socials {
  float: right;
  padding-left: 50px;
}

.email-social img {
  margin-bottom: 0px;
}

.blog-footer {
  color: #000;
  background-color: #fff;
  border-top: 0px;
  text-align: left;
}

.blog-footer .widget-title {
color: #000 !important;
}

.blog-footer .menu {
list-style: none;
    padding: 0;
    margin-left: 5px;
}

.blog-footer .menu a {
color: #000;
}

.copyright {
text-align: center;
}

.footer-module {
  padding: 0;
}

.widget-title {
  font-size: 18px;
  padding: 0;
}
.footer-navigation-social {
  display: none;
}

@media (max-width: 768px) {
.footer-module {
  margin-bottom: -10px;
}
.widget-title {
  display: none;
}
.blog-footer .col-sm-6 {
  width: 50%;
  float: left;
}
.blog-footer img {
  float: none !important;
}
.blog-footer small {
  width: 100%;
  display: block;
}
.blog-footer a {
  font-size: 85%;
}
.footer-navigation {
  float: right;
  width: 50%;
  margin-bottom: 20px;
}
.footer-navigation-social {
  display: block;
}
}

/****************
Swiper
****************/

.page-id-3140 .blog-main img,
.page-id-3156 .blog-main img,
.page-id-3332 .blog-main img {
  height: 150px;
}

.page-id-3188 .blog-main img {
  max-height: 150px;
}

.swiper-container {
  padding-left: 0;
  padding-right: 0;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  margin-bottom: 0;
}

.swiper-slide-image {
  background:url() no-repeat center center;
	-webkit-background-size:cover;
	-moz-background-size:cover;
	-o-background-size: cover;
	background-size:cover;
}

.swiper-pagination {
  text-align: right !important;
  padding-right: 15px;
}

.swiper-slide-headline {
  position: absolute;
  bottom: 0; left: 0;
  font-family: 'Trebuchet MS', Helvetica, Arial;
  text-transform: uppercase;
  color: #fff;
  line-height: 45px;
  font-size: 24px;
  padding: 0px 15px;
  background-color: rgba(0, 0, 0, 0.5);
}

/****************
Donate
****************/

form header {
  margin: 0 0 20px 0;
}
form header div {
  font-size: 90%;
  color: #999;
}
form header h2 {
  margin: 0 0 5px 0;
}
form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}
form > label {
	width: 25%;
  float: left;
  padding-right: 5px;
}
form > fieldset  {
  width: 75%;
  float: right;
}
form > div > fieldset label {
	font-size: 90%;
}
fieldset {
  border: 0;
  padding: 0;
}
select {
  border: 1px solid #cccccc;
}
input {
  border-radius: 0px;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  	border: 1px solid #cccccc;
}
input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}



@media (max-width: 600px) {
  form > div {
    margin: 0 0 15px 0;
  }
  form > div > label,
  legend {
	  width: 100%;
    float: none;
    margin: 0 0 5px 0;
  }
  form > div > div,
  form > div > fieldset > div {
    width: 100%;
    float: none;
  }
  input[type=text],
  input[type=email],
  input[type=url],
  input[type=password],
  textarea,
  select {
    width: 100%;
  }
}
@media (min-width: 1200px) {
  form > div > label,
	legend, label {
  	text-align: left;
  }
  div.sub > label, legend {
  	text-align: left;
  }
}
div.sectionHeader {
  background-color: #B2C8FF;
}
div.sub {
  margin-top: 10px;
}

.sidebarcontainer {
  margin-top: 0;
  margin-bottom: 0;
 // background-color: #E2F3F4;
}

div#donationFormContainer{
  padding-left: 5px;
}

p.error{
  color: red;
  font-weight: bold;
}

.errorField{
  border-color: red;
}

.hidden {
     display:none;
}

.track-order-change {
  display: inline-block;
}

.gform_wrapper .percentbar_blue {
  background-color: #278D99 !important;
}

.gform_wrapper .gsection {
  padding: 5px !important;
  background-color: #B2C8FF !important;
}

h2.gsection_title {
  font-size: 15px !important;
  font-style: italic !important;
}

body .gform_wrapper .top_label div.ginput_container {
  margin-top: 0 !important;
}

body .gform_wrapper ul li.gfield {
  margin-bottom: 0;
}

.gfield_radio label {
  padding-left: 10px !important;
}

.gform_wrapper .top_label .gfield_label {
  float: left;
}

.gform_wrapper div {
  clear: both;
}

.gform_wrapper div.gform_card_icon {
  float: none !important;
  display: inline-block;
}

.gform_body table td {
  text-align: left !important;
}

.gfield_description {
  font-size: 1em !important;
}
