/*
Theme Name: AbeCamp
Theme URI: http://www.abeuchitelle.com/
Description: Theme for Abe
Version: 1.0
Author: Eileen M. Uchitelle
Author URI: http://www.eileencodes.net
Tags: simple
Text Domain: kubrick
 */

html, body {
  height:100%;
}

body {
  margin:0px;
  padding:0px;
  background:#f1f0e7;
  font-family:"Lato", "Helvetica", sans-serif;
  font-size:14px;
  color:#000;
}

#wrapper {
  min-height:100%;
}

.container {
  width:1051px;
  margin:0px auto;
}

#header {
  background-color:#0e554d;
  height:254px;
}

#header_image {
  height:350px;
  background-repeat:no-repeat;
  background-image:url('images/abe-header.png');
}

#header_image.not_found {
  background-image:url('images/header.png');
}

#header_image.home {
  height:347px;
}

#header h1 {
  margin:50px 100px 0px 0px;
  float:right;
}

#header h1, #header h1 a {
  font-family:"Lato", "Helvetica", sans-serif;
  color:#fff;
  font-size:50px;
  text-transform:uppercase;
  font-weight:700;
}

#header h1 span {
  font-weight:100;
  color:#fff;
  text-transform:none;
  font-size:40px;
}

#action-items {
  float:right;
}

#action-items ul {
  padding:0px;
  margin:20px 0px 0px 0px;
  list-style:none;
}

#action-items ul li {
  font-size:25px;
  padding:0px;
  margin:0px 0px 20px 0px;
}

#action-items ul li a {
  width:400px;
  height:100px;
  color:#fff;
  display:table-cell;
  text-align:center;
  vertical-align:middle;
  border-radius:10px;
  background:#136F63;
  font-weight:700;
}

#action-items ul li:first-child a {
  background-color:#22AAA1;
}

#menu_icon {
  display:none;
}

#navigation {
  text-align:center;
  margin:0px;
  padding:0px;
  height:70px;
  background-color:#22aaa1;
  border-top:3px solid #136F63;
  border-bottom:3px solid #136F63;
  font-size:28px;
}

#navigation ul {
  padding:0px;
  margin:0px;
}

#navigation ul li {
  display:inline;
}

#navigation ul li a {
  color:#fff;
  padding:15px 20px 0px 20px;
  height:55px;
  display:inline-block;
  font-weight:700;
  border-left:3px solid #136F63;
  margin-right:-6px;
}

#navigation ul li:last-child a {
  border-right:3px solid #136F63;
}

#navigation ul li a:hover,
#navigation ul li.current_page_item a,
#navigation ul li.current-page-ancestor a {
  background-color:#136F63;
  color:#fff;
}

#content {
  padding:20px 35px;
  background:#f1f0e7;
  overflow:auto;
  padding-bottom:250px;
}

#content-left {
  width:555px;
  margin-right:35px;
  float:left;
}

#content-left p, #content p {
  font-size:17px;
  line-height:30px;
}

#footer {
  position:relative;
  clear:both;
  background-color:#0e554d;
  margin:-220px auto 0px auto;
  padding:0px 35px;
}

#footer .container {
  height:220px;
}

#footer .title-menu {
  padding:0px;
  float:right;
  list-style:none;
  text-align:right;
  color:#fff;
  margin-top:60px;
}

#footer .title-menu p {
  font-size:17px;
  line-height:25px;
  margin:0px;
}

#footer ul li a {
  font-size:17px;
  color:#fff;
}

#footer .footer-menu {
  width:200px;
  float:left;
}

#footer .footer-menu ul {
  float:left;
  list-style:none;
  margin:35px 0px 0px 0px;
  padding:0px;
}

#footer .social-links ul {
  clear:both;
  margin:-10px 0px 0px -10px;
  padding:0px;
}

#footer .social-links ul li {
  float:left;
}

#footer .footer-menu .social-links a {
  width:32px;
  height:32px;
  display:block;
}

#footer .footer-menu .social-links .facebook {
  background-image:url("images/facebook.png");
}

#footer .footer-menu .social-links .twitter {
  background-image:url("images/twitter.png");
}

#content-header {
  background-color:#136F63;
  padding:20px 35px 0px 35px;
  height:65px;
}

/*global text elements*/
#content-header h1 {
  color:#fff;
  font-size:30px;
  font-family:'Roboto Slab', serif;
}

h1 {
  font-size:25px;
  padding-bottom:5px;
  margin-top:0px;
}

h2 {
  font-size:22px;
  margin-top:0px;
}

h3 {
  font-size:20px;
}

h4 {
  font-size:14px;
  margin-bottom:0px;
}

h5 {
  font-size:14px;
}

p {
  line-height:22px;
}

a {
  text-decoration:none;
  outline:none;
  color:#22AAA1;
}

h2 a, h3 a {
  color:#136F63;
}

ul {
  padding-left:20px;
  list-style:square;
}

ul li {
  margin:5px 0px;
}

span.larger-p {
  font-size:15px;
  font-style:italic;
}

body.page-id-15 ul li p, div.locations p {margin:0px}

img.size-full {
  border:2px solid #B6A79B;
}

.event {
  height:100%;
  clear:both;
  position:relative;
  border-bottom:2px dotted #22AAA1;
  margin-bottom:35px;
  min-height:185px;
}

.event img {
  border:2px solid #22AAA1;
}

.event h2 {
  color:#136F63;
  margin-bottom:0px;
}

.event p.date {
  margin:0px;
}

.event .event-copy {
  margin:0px 0px 0px 185px;
}

.event .event-image {
  width:150px;
  position:absolute;
  margin:0px 35px 35px 0px;
  top:0;
  left:0;
}

.back-link {
  height:35px;
  padding-bottom:20px;
}
.back-link a {
  background-color:#136F63;
  padding:10px;
  color:#fff;
  border-radius:3px;
  font-weight:700;
  font-size:16px;
  text-transform:uppercase;
}

.back-link a:hover {
  background-color:#22AAA1;
}

.wp-pagenavi {
  text-align:center;
  height:50px;
  padding-bottom:20px;
}

.container .wp-pagenavi a,
.container .wp-pagenavi span {
  border-radius:3px;
  background-color:#136F63;
  color:#fff;
  border:0px none;
  padding:7px 10px;
  margin:3px;
  font-size:16px;
}

.container .wp-pagenavi span.current,
.container .wp-pagenavi a:hover {
  background-color:#22AAA1;
}

#content.subnav {
  padding-top:0px;
}

#content .left-image {
  width:400px;
  float:left;
  padding-bottom:35px;
}

#content .left-image img {
  border:2px solid #136F63;
  width:100%;
  height:auto;
}

#content .right-content {
  float:left;
  width:500px;
  padding-left:35px;
  padding-bottom:35px;
}

#content .right-content p {
  margin-top:0px;
}

#content.subnav .container {
  background:transparent url(images/sidebar_background.png) repeat-y;
  min-height:100px;
  overflow:auto;
  position:relative;
}

#subnav-content {
  margin:20px 0px 0px 275px;
  float:left;
}

#sidebar {
  float:left;
  width:240px;
  position:absolute;
  top: 0;
  left:0;
}

#sidebar.subnav ul {
  padding:0px;
  margin:0px;
}

#sidebar.subnav ul li {
  margin:20px 0px;
  list-style:none;
}

#sidebar.subnav ul li a {
  width:210px;
  min-height:25px;
  overflow:auto;
  padding:9px 15px 6px 15px;
  display:block;
  color:#fff;
  font-size:18px;
}

#sidebar.subnav ul li.current_page_item a,
#sidebar.subnav ul li a:hover {
  color:#fff;
  background-color:#136F63;
}

#sidebar.subnav ul li.current_page_item a:after,
#sidebar.subnav ul li a:hover:after {
  content: ' »';
}

img.alignright {
  float:right;
  margin:0px 0px 10px 20px;
  border:2px solid #136F63;
}

img.alignleft {
  float:left;
  margin:0px 20px 10px 0px;
  border:2px solid #136F63;
}

#sidebar.posts_sidebar ul {padding:0px;}

#sidebar.posts_sidebar ul li h3 {
  background-color:#4C4040;
  color:#fff;
  padding:7px 0px 7px 20px;
  font-size:16px;
  font-weight:normal;
  margin-left:-20px;
}

#sidebar.posts_sidebar ul li {
  list-style:none;
  padding-left:10px;
}

#sidebar.posts_sidebar ul li ul {
  padding:0px;
}

#sidebar.posts_sidebar ul li ul li {
  margin:10px 0px;
}

#sidebar.posts_sidebar ul li ul li a {
  color:#33281f;
  font-size:16px;
  display:block;
}

#sidebar.posts_sidebar ul li ul li a:hover {
  color:#823C02;
}

.left_column {
  width:500px;
  float:left;
  margin-right:20px;
}

.right_column {
  width:400px;
  float:left;
}

ol {
  padding-left:20px;
}

ol li {
  margin:10px 0px;
  line-height:18px;
}

/* forms */
#gform_wrapper_1 {
  margin:0px;
}

#gform_wrapper_1 h3 { display:none; }

#gform_wrapper_1 ul li.field_1_5 {
  margin-top:0px;
}

#gform_wrapper_1 li#field_1_6 label#label_1_6_1 {
  font-size:14px;
  font-weight:normal;
  color:#136F63;
  display:inline-block;
}

#gform_wrapper_1 li#field_1_7 label#label_1_7_1 {
  font-weight:normal;
  color:#136F63;
}

#gform_wrapper_1 li#field_1_7 .ginput_container,
#gform_wrapper_1 li#field_1_6 .ginput_container,
#gform_wrapper_1 ul#input_1_6,
#gform_wrapper_1 li#field_1_6 {
  margin-top:0px;
}

#gform_wrapper_1 li#field_1_5 span label,
#gform_wrapper_1 li#field_1_6 label {
  display:none;
}
#gform_wrapper_1 label {
  color:#136F63;
  font-size:16px;
}

#gform_wrapper_1 textarea,
#gform_wrapper_1 input {
  border:1px solid #22AAA1;
}

#gform_wrapper_1 #field_1_1 input {
  width:100%;
}

#gform_wrapper_1 .gform_footer input {
  background-color:#136F63;
  color:#fff;
  border-radius:10px;
  width:100px;
  height:40px;
  text-transform:uppercase;
  font-family:'Roboto Slab', serif;
  font-size:16px;
  border:0px none;
}
#gform_wrapper_1.gform_validation_error li.gfield_error {
  padding:10px;
}

#gform_confirmation_wrapper_1 {
  font-size:20px;
  color:#136F63;
}

#gform_wrapper_2 .gform_body input {
  border-top-left-radius:7px;
  border-bottom-left-radius:7px;
  font-size:18px;
  width:300px;
  padding-left:10px;
  border:1px solid #136F63;
  height:50px;
}

#gform_wrapper_2 .gform_footer input{
  width:100px;
  height:50px;
  background-color:#22AAA1;
  color:#fff;
  border:0px none;
  border-top-right-radius:7px;
  border-bottom-right-radius:7px;
  text-transform:uppercase;
  font-weight:bold;
}

#gform_wrapper_2.gform_validation_error li.gfield_error {
	border:0px none;
	background-color:transparent !important;
}

#gform_wrapper_2 .validation_error {
	display:none;
}

#gform_wrapper_2 div.validation_message {
	border:0px none;
  padding:0px;
  margin:0px;
  color:#136F63;
  font-size:14px;
}

#gform_wrapper_2.gform_validation_error .gform_footer input {
  margin-top:-18px;
}

@media (max-width: 1100px) {
  .container {
    width:100%;
  }
}

@media (max-width: 1050px) {
  #top {
    height:175px;
  }

  #navigation {
    width:100%;
    float:none;
    padding:0px;
    margin:0px auto;
  }

  #navigation .menu-main-menu-container {
    width:100%;
    height:100%;
    margin:0px auto;
  }

  #content.subnav {
    padding-left:0px;
  }

  #content .left-image {
    width:300px;
  }

  #content .right-content {
    width:400px;
  }
}

@media (max-width: 870px) {
  #header {
    height:200px;
  }

  #header_image {
    background-size:100%;
  }

  #navigation {
    font-size:18px;
    height:50px;
  }

  #navigation ul li a {
    height:38px;
  }

  #action-items {
    width:100%;
    float:none;
  }

  #action-items .menu-cta-menu-container {
    height:75px;
  }

  #action-items .menu-cta-menu-container ul {
    margin-top:240px;
  }

  #action-items .menu-cta-menu-container ul li {
    width:48%;
    float:left;
    margin:0px 1%;
  }

  #action-items .menu-cta-menu-container ul li a {
    height:75px;
  }

  #gform_wrapper_2 {
    margin-top:10px;
    clear:both;
    width:100%;
    height:85px;
    background-color:#136F63;
    padding-top:15px;
  }

  #gform_wrapper_2 form {
    width:600px;
    margin:0px auto;
  }

  #gform_wrapper_2 .gform_body input {
    width:500px;
  }

  #content .left-image {
    width:200px;
  }
}

@media (max-width: 740px) {
  #content .left-image {
    display:none;
  }

  #content .right-content {
    width:100%;
    float:none;
    padding-left:0px;
  }

  #gform_wrapper_1 {
    margin:0px auto;
    width:600px;
  }

  #footer {
    height:350px;
  }

  #footer .title-menu {
    float:none;
    clear:both;
    text-align:center;
    border-top:3px solid #22AAA1;
    border-bottom:3px solid #22AAA1;
    padding:15px 0px;
  }
}

@media (max-width: 640px) {
  #gform_wrapper_2 { display:none; }

  #header_image {
    height:220px;
  }

  #action-items .menu-cta-menu-container ul {
    margin-top:139px;
  }
}

@media (max-width: 610px) {
  #header, #top {
    height:140px;
  }

  #header h1 {
    margin:0px;
    padding:25px 0px 0px 20px;
    float:none;
  }

  #header h1 a {
    font-size:40px;
  }

  #header h1 span {
    font-size:30px;
  }

  #header_image {
    background-image:none;
    height:0px;
  }

}

@media (max-width: 445px) {
  #action-items {
    display:none;
  }

  #header_image {
    height:150px;
  }
}

/* mobile */
@media only screen
  and (device-width : 375px)
  and (device-height : 667px)
  and (-webkit-device-pixel-ratio : 2) {

  #top {
    height:205px;
  }

  #header_image {
    padding:0px;
    height:435px;
  }

  #header h1,
  #header h1 a {
    width:600px;
    font-size:65px;
  }

  #header h1 span {
    font-size:40px;
  }

  #content p {
    font-size:22px;
    line-height:37px;
  }

  #action-items {
    width:100%;
    float:none;
  }

  #action-items ul {
    margin:240px 10px 0px 10px;
  }

  #action-items .menu-cta-menu-container {
    height:100px;
  }

  #action-items .menu-cta-menu-container ul li:first-child {
    float:left;
  }

  #action-items .menu-cta-menu-container ul li:last-child {
    float:right;
  }

  #action-items .menu-cta-menu-container ul li a {
    width:474px;
    font-size:32px;
  }

  #gform_wrapper_2 {
    width:100%;
    height:85px;
    background-color:#136F63;
    padding-top:15px;
  }

  #gform_wrapper_2 form {
    width:600px;
    margin:0px auto;
  }

  #gform_wrapper_2 .gform_body input {
    width:500px;
  }

  #content .left-image {
    display:none;
  }

  #content .right-content {
    float:none;
    width:100%;
    padding-left:0px;
  }

  #gform_wrapper_1 {
    margin:0px auto;
    width:600px;
  }

  #footer .footer-menu {
    width:100%;
  }

  #footer .footer-menu .menu-main-menu-container {
    width:860px;
    margin:0px auto;
  }

  #footer .footer-menu ul {
    margin-top:20px;
  }
  #footer .footer-menu ul li {
    float:left;
    margin:0px 10px 0px 10px;
  }

  #footer .footer-menu ul li a {
    font-size:26px;
  }

  #footer { margin-top:-400px; }

  #footer .container {
    height:400px;
    background:#136F63 url(images/nystate.png) no-repeat center 20%;
  }

  #footer .title-menu {
    float:none;
    clear:both;
    text-align:center;
    border-top:3px solid #22AAA1;
    border-bottom:3px solid #22AAA1;
    padding:15px 0px;
    margin-top:200px;
  }

  #footer .title-menu p {
    line-height:40px;
    font-size:30px;
  }

  #footer .social-links {
    float:left;
  }

  #footer .social-links ul {
    margin-left:0px;
  }

  #footer .social-links ul li {
    margin:0px;
  }

  #content {
    padding-bottom:400px;
  }
}
