/*
 Theme Name:     CyberChimsPro Gainen Theme
 Theme URI:      http://www.gainensurveys.com
 Description:    CyberChimsPro Child Theme for Gainen Syrveys
 Author:         Lapin Publishing
 Author URI:     http://www.gamitrain.com
 Template:       cyberchimpspro
 Version:        1.0.0
*/
 
@import url("../cyberchimpspro/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

body {
  color: #555555;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 15px;
  font-weight: 400;
}

h1 {
  margin-bottom: 0;
}

h2 {
  font-size: 2.2em;	
}

h3 {
  font-size: 1.4em;	
 line-height: 1em;
 /*	line-height: .1em; */
  	padding-bottom: .5em;
}

table .label {
  padding: 7px;
  background: none;
  text-shadow: none;
  line-height: normal;
}

tr {
  border-bottom: 1px solid #cccccc;
}

td {
  padding: 5px;
}

dt {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 26px;
  font-weight: bold;
}

dd {
  margin-bottom: 15px;
  margin-left: 26px;
}

ul, ol {
  margin: 0 0 10px 0;
}

ol, ul {
  margin-left: 21px;
  list-style-position: inside;
}

pre {
  -moz-border-radius: 0;
  border-radius: 0;
}

code {
  white-space: pre-wrap;
}

header {
  margin-top: 15px;
  margin-bottom: 15px;
}

.clear {
  clear: both;
}

.clear-right {
  clear: right;
}

.clear-left {
  clear: left;
}

/********************************************************************************************************************/
/******************************************** HEADER ****************************************************************/
/********************************************************************************************************************/

/*======================================= SOCIAL ==============================================*/

header #social .icons a {
  float: right;
  margin-left: 5px;
}

.icons {
  margin-top: 15px;
}

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

/* JCN - larger than cell phone size header adjustments */

	header#cc-header .contact_details {
		margin-right: 14px;
		font-size: 1.0em;
		font-weight:bold;
	/* Puts it under the icons the baseline */
		margin-top: -18px;
	
	/* Puts it on the baseline 
		margin-top: 30px;
		margin-bottom: -20px; */ 
	}
	
	/* added to allow for phone number under social icons */

	#cc-header #logo {
	  margin-top: -60px;
	}

}

@media screen and (min-width: 481px) and (max-width: 767px) {

/* JCN - hack odd size area where extra space is popping up and below header */

  header#cc-header {
    margin-bottom: -18px;
    margin-top: 10px;
  }
  header#cc-header .contact_details {
    margin-top: -40px;
  }

}

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

/* JCN -Cell phone size header adjustments */

	#cc-header #logo {
	  margin-top: -10px; 	/* w/out phone number */
	  margin-bottom: -30px;	/* w/out phone number */
	}


    #social {
        float: none;
		
        margin-top: -25px;
        margin-left: 35%;
  }

	header#cc-header .contact_details {
		font-size: 	 1.4em;
		font-weight: bold;
		margin-top:  42px;	
		margin-bottom:  -8px;	

	    float: none !important
	}
}

/*======================================= DETAILS =============================================*/

header#cc-header h2.site-title {
  margin-bottom: 5px;
  /*font-size: 38.5px */
  font-size: 1.6em;
}

header#cc-header h2.site-description {
	display: none;	/* JCN - Hide site description in header */
}

header#cc-header .contact_details {
  float: right;
}

header#cc-header .register {
  float: right;
}

header#cc-header .blog_description {
  float: right;
}

header#cc-header p {
  font-size: 1.2em;
}

/*======================================= SEARCH ===============================================*/

header #search #searchform {
  float: right;
}

/********************************************************************************************************************/
/******************************************** MENU ******************************************************************/
/********************************************************************************************************************/

#navigation {
  margin-bottom: 20px;
}

.main-navigation.navbar {
  margin-bottom: 0;
}

.main-navigation .navbar-inner {
  padding: 0;
  -webkit-border-radius: 1px;
  border-radius: 1px;
}

.main-navigation .nav li ul li ul {
  margin-left: 0;
  list-style: none;
}

.main-navigation .nav li ul li ul li a {
  padding-left: 24px;
}

.main-navigation .nav li ul li ul li ul li a {
  padding-left: 30px;
}

.main-navigation .nav li.dropdown:hover ul.dropdown-menu {
  display: block;
  margin-top: 0;
}

.main-navigation .nav li ul li a:hover {
  background: none;
  color: #0088cc;
}

#navigation #searchform {
  margin-right: 15px;
}

.navbar .btn-navbar {
  margin-bottom: 5px;
}

.navbar-inverse .current-menu-ancestor.dropdown >a {
  color: #ffffff;
}

.navbar-inverse .nav li.current-menu-ancestor.dropdown > .dropdown-toggle .caret {
  border-top-color: #ffffff;
  border-bottom-color: #ffffff;
}


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

  /* JCN Center remaining sidebar text when in small menu mode */

  #sidebar #text-6 {
    text-align: center;
  }
}

@media (max-width: 979px) {
	
	/* JCN - Hide sidebar text when in small menu mode */
	
	.sidebar_hide_mobile {	
		display: none;
	}
	
	/* end */
	
	  .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {
	    font-weight: normal;
	  }

	  .navbar-inverse .nav-collapse .nav > li > a:hover, .navbar-inverse .nav-collapse .dropdown-menu a:hover {
	    color: #ffffff;
	  }

	  .navbar-inverse .nav-collapse .nav > li.current-menu-item > a, .navbar-inverse .nav-collapse .nav > li.current-menu-ancestor > a {
	    color: #ffffff;
	  }

	  .nav-collapse .dropdown .caret {
	    display: none;
	  }

	  .nav-collapse .dropdown-menu {
	    display: block;
	  }

	  .navbar-inverse .nav-collapse .dropdown-menu .active > a {
	    background-color: #000000;
	    background-image: none;
	    color: #ffffff;
	  }
}

/********************************************************************************************************************/
/******************************************** MAIN CONTENT **********************************************************/
/********************************************************************************************************************/

.container {
  background: transparent;
}

article.post, article.page, article.attachment {
  margin-bottom: 15px;
  padding: 20px;
}

.entry-content {
  margin: 20px 0;
}

.page-header {
  margin-top: 0;
  padding: 0;
  border: none;
}

/*==================================== POST AND PAGE CONTENT ===========================================*/

article {
  background: #fafafa;
}

.entry-header {
  margin-top: 0;
}

.entry-summary {
  margin: 10px 0;
}

.postformats {
  float: right;
}

blockquote {
  margin: 20px 10px;
  padding: 3px;
  background-color: #cccccc;
}

blockquote p {
  margin: 10px;
}

blockquote cite {
  font-size: 0.9em;
}

blockquote cite:before {
  position: relative;
  top: -2px;
  margin: 0 5px;
  content: ' ̶ ';
}

.page-links {
  clear: both;
}

.more-content {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #dddddd;
  background: #fafafa;
}

.previous-post {
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: left;
}

.next-post {
  margin-top: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
  text-align: right;
}

/*================ POST AND PAGE CONTENT - JCN - tighten front page image box on home page ==========================*/

.page-id-5 .entry-header {
  display: none;
}
.page-id-5 .entry-summary a img.alignnone {
  margin-bottom: 0;
}
.page-id-5 article.post-5 {
  padding-bottom: 10px;
  padding-top: 10px;
}

/*==================================== TAXONOMY ========================================================*/

.entry-title {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 1.4em;
  line-height: 1em;
}

.entry-title a {
  color: #333333;
}

.entry-title a:hover {
  color: #0088cc;
}

article.post p, article.page p {
  font-size: 1.1em;
  line-height: 1.4em;
}

/*==================================== IMAGES ==========================================================*/

.alignnone {
  display: block;
  margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto
}

img.size-full {
  max-width: 100%;
  height: auto;
}

.wp-caption {
  padding: 15px 3px 10px;
  max-width: 96%;
  border: 1px solid #f0f0f0; /* Image does not overflow the content area */
  background: #fafafa;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  max-width: 95%;
  width: auto;
  height: auto;
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  margin: 0;
  padding: 0 4px 5px;
  font-size: 11px;
  line-height: 17px;
}

.caption_title {
  font-size: 16px;
}

.gallery-pagination {
  margin: 20px 0;
}

.gallery-pagination .previous-image a {
  float: left;
}

.gallery-pagination .next-image a {
  float: right;
}

article .featured-image {
  float: left;
  margin: 0 10px 10px 0;
}

/*==================================== META ============================================================*/

.entry-meta {
  margin-top: 0;
  color: #999999;
  font-size: 0.85em;
}

footer.entry-meta {
  clear: both;
}

.edit-link {
  margin-bottom: 10px;
}

.edit-link a {
  padding: 2px 4px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background: #888888;
  color: #ffffff;
}

.edit-link a:visited {
  color: #ffffff;
}

.edit-link a:hover {
  color: #cccccc;
  text-decoration: none;
}

.cyberchimps_article_share {
  float: right;
}

/*==================================== COMMENTS ========================================================*/

.comments-area {
  margin-bottom: 15px;
  padding: 15px;
  background: #fafafa;
}

#comments .navigation {
  padding: 0 0 18px 0;
}

label[for="comment"] {
  display: block;
}

ol.commentlist {
  list-style: none;
}

ol.commentlist p {
  clear: left;
  margin-left: 8px;
}

ol.commentlist li.comment {
  padding: 10px;
}

ol.commentlist li.comment div.vcard cite.fn {
  font-style: normal;
}

ol.commentlist li.comment div.vcard img.avatar {
  margin: 0 10px 10px 10px;
}

ol.commentlist li.comment div.comment-meta {
  font-size: 11px;
}

ol.commentlist li.comment div.comment-meta a {
  color: #888888;
}

ol.commentlist li.comment div.reply {
  margin-left: 8px;
  font-size: 11px;
}

ol.commentlist li.comment div.reply a {
  font-weight: bold;
}

ol.commentlist li.comment ul.children {
  margin: 10px 0 0;
  list-style: none;
}

ol.commentlist li.comment ul.children li.depth-2 {
  margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-3 {
  margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-4 {
  margin: 0 0 10px 10px;
}

ol.commentlist li.even {
  border: 1px solid #cccccc;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #fafafa;
}

ol.commentlist li.odd {
  border: 1px solid #cccccc;
  -moz-border-radius: 4px;
  border-radius: 4px;
  background: #fafafa;
}

.comment, .trackback, .pingback {
  margin: 10px 0 10px 0;
  padding: 10px;
}

.odd {
  background: #f8f8f8;
}

#form-allowed-tags code {
  font-size: 12px;
}

#respond input, #respond textarea {
  overflow: auto;
  margin: 0 5px 5px 0;
}

#respond textarea {
  width: 99%;
  height: 150px;
}

.avatar {
  float: left;
}

/*==================================== CONTACT ========================================================*/

/* JCN - Set contact form text area to be responsive */

.wpcf7 textarea {
	width: 95%;
}

/********************************************************************************************************************/
/******************************************** SIDEBAR & WIDGETS *****************************************************/
/********************************************************************************************************************/

.widget-container {
 /* margin-bottom: 15px; - removed JCN */
  padding: 20px;  
  background: transparent;
}

#sidebar .widget-container {
  /* JCN - changed to make sidebar line up properly with image */
  margin-bottom: 15px; 
  padding: 5px;
}

h3.widget-title {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: normal;
  font-size: 1.4em;
  line-height: 1em;
}

.widget-container ul, .widget ul {
  margin-left: 5px;
}

.widget-container ul li, .widget ul li {
  list-style: none;
  font-size: 14px;
  line-height: 1.5em;
}

table#wp-calendar {
  width: 100%;
}

table#wp-calendar th {
  font-size: 14px;
}

table#wp-calendar td {
  padding: 5px 0;
  width: 14.28571428571429%;
  text-align: center;
  font-size: 14px;
}

.widget-container #searchform.pull-right {
  margin-right: 30px;
}

.widget-container #searchform input.input-medium {
  display: inline-block;
  float: none;
  width: 100%;
}

/*==================================== SEARCH FORM ====================================================*/

#searchform {
  margin-bottom: 5px;
}

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

#footer-widgets {
  margin-bottom: 20px;
}

#footer-widgets .widget-container {
  border: none;
}

#footer-widget-container {
  background: #fafafa;
}

/* JCN - Set # of objects on footer to 1 rather than 4 - JCN */

#footer-widgets .span3 {
  width: 100%;
}
#footer-widgets #text-15 {
  display: none;
}
#footer-widgets #text-16 {
  display: none;
}

/* Smaller title size on footer titles */

#footer-widgets h3 {
 font-size:1.4em; 
 text-align:center;
 
  margin-top: 0px; 
  margin-bottom: 0px;
}

#footer-widgets .center-box-link, .htmlbox-content h3 {
	text-align:center;	
}

/* JCN - Center the copyright - begin */

.site-footer {
  margin-top: 0px; 
  margin-bottom: 20px;
}

body .site-footer .span6 {
  margin-left: 0;
  width: 100%;
}
.site-footer #copyright {
  text-align: center;
}

/* JCN - Center the copyright - end */

/*================================== FOOTER MENU ================================================= */

#footer_menu {
  padding: 20px 0 0;
  text-align: center;
}

#footer_menu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}

#footer_menu li {
  display: inline;
  margin-right: 5px;
}

#footer_menu li a {
  text-decoration: none;
}

#footer_menu li a::after {
  margin-left: 5px;
  content: ' | ';
}

#footer_menu li a:hover::after {
  color: #0088cc;
}

#footer_menu li:last-child a::after {
  content: '';
}

/********************************************************************************************************************/
/******************************************** WORDPRESS DEFAULTS ****************************************************/
/********************************************************************************************************************/

.sticky {
}

.gallery-caption {
}

.bypostauthor {
}

/********************************************************************************************************************/
/******************************************** ELEMENTS **************************************************************/
/********************************************************************************************************************/

/*==================================== SLIDER =====================================================*/

#slider .carousel-control {
  line-height: 30px;
}

/*==================================== CALLOUT ====================================================*/

#callout_container {
  margin-bottom: 20px;
}

#callout {
  padding: 20px;
  background: #fafafa;
}

.callout-text h2.callout-title {
  margin-top: 0;
  font-size: 1.4em;
  line-height: 1em;
}

.callout-text p {
  font-size: 1.2em;
}

.callout-text p:last-child {
  margin-bottom: 0;
}

#callout_button a {
  float: right;
  margin-top: 5px;
}

/*==================================== WIDGET BOXES ===============================================*/

.box {
  margin-bottom: 20px;
  padding: 20px;
  background: #fafafa;
}

h2.box-widget-title {
  margin-top: 0;
  text-align: center;
  font-size: 1.4em;
  line-height: 1em;
}

.box p {
  font-size: 1em;
  line-height: 1.5em;
}

/* JCN - tweaks to create some cusom styles "boxes" to make look consistent in HTML pages */

.tightbox {
  margin-top: 5px;
  margin-bottom: 0px;
  padding: 5px;
}

.boxTestimonial {
  margin-top: 5px;
  margin-bottom: 0px;
  padding: 0px;
  padding-left:2em;
  padding-right:2em;
}


.box ul.check_list, .tightbox ul.check_list  {
/*  margin-top: 0em; */
  
  margin-bottom: 1em;
  padding: -10px;
}

.box li, .htmlbox li, .tightbox li {
  line-height: 1.5em;
  margin-top: 6px;
  margin-bottom: 6px;
}

.htmlbox {
  line-height: 1.5em;
}

.box-image {
	max-width: 15em;
}

/* JCN - end box tweaks */

/*==================================== BOXES ======================================================*/

#boxes_container .box a {
  display: inline;		
  width: 100%;
/* JCN - Fix problem with a tags not matching color in "box" types */
  color: #0088CC;
  text-align: center;
}

#boxes_container .box-no-url {
  cursor: default;
}

#boxes_container .box h2.box-widget-title {
 	line-height: 1.3em;
  }

/* JCN - patch to not center links in boxes on front page */
.home #boxes_container .box a {
	
  display:	inline;
  font-weight:bold;
  }

/* JCN - patch to remove titles on front page */
.home .box-widget-title {
  display: none;
}

.page #boxes_container .box .center-box-link {
	text-align:center;	
  font-weight:bold;
}

/*==================================== CAROUSEL ===================================================*/

#cc-carousel {
  padding: 20px 50px;
  background: #fafafa;
}

#cc-carousel ul {
  margin: 0;
  padding: 0;
  max-height: 150px;
  width: 100%;
}

#cc-carousel ul li {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

#cc-carousel ul li .carousel-captions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
}

#cc-carousel ul li .carousel-captions p {
  margin: 0;
  color: #ffffff;
  text-align: center;
  font-weight: normal;
  font-size: 1em;
}

#cc-carousel .carousel-control {
  top: 50%;
  border: none;
}

#cc-carousel .carousel-control.left {
  left: 5px;
}

#cc-carousel .carousel-control.right {
  right: 5px;
}

@media (max-width: 767px) {
  #cc-carousel [class*="span"], .row-fluid #cc-carousel [class*="span"] {
    float: left;
    margin-left: 2.762430939%;
    width: 14.364640883%;
  }

  #cc-carousel [class*="span"]:first-child, .row-fluid #cc-carousel [class*="span"]:first-child {
    margin-left: 0;
  }
}

.es-carousel-wrapper {
  background: #fafafa; /* JCN - added to make caurosel have proper background */
}

/*==================================== PORTFOLIO ===================================================*/

#portfolio {
  margin-bottom: 20px;
}

#gallery {
  padding: 20px;
  background: #fafafa;
}

#gallery ul.row-fluid {
  margin: 0;
  padding: 0;
}

#gallery h2 {
  margin-top: 0;
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1em;
  text-align: center; /* JC */
}

#gallery ul.row-fluid li#portfolio_wrap {
  text-align: center;
}

#gallery ul.row-fluid li#portfolio_wrap .portfolio-item {
  padding: 20px;
}

#portfolio h2 {
	/* JCN */
  text-align: center;
  font-size: 1.4em;
}


/*==================================== TWITTER =====================================================*/

#twitter_container {
  margin-bottom: 20px;
}

#twitter_bar {
  background: #fafafa;
}

#twitter_bar #twitter_text li {
  float: left;
  clear: left;
  width: 100%;
}

#twitter_bar #twitter_text .twitter-img {
  display: inline;
  float: left;
}

#twitter_bar #twitter_text .twitter-followers {
}

#twitter_bar #twitter_text .tweet {
  margin-left: 75px;
}

@media (max-width: 480px) {
  #twitter_bar #twitter_text img {
    margin-top: 0;
    width: 30px;
    height: 21px;
  }

  #twitter_bar #twitter_text p {
    padding-left: 40px;
  }
}

/*==================================== BREADCRUMBS =================================================*/

.breadcrumbs {
  margin-bottom: 20px;
  padding: 10px 20px;
  background: #fafafa;
  font-size: 1.1em;
}

/*==================================== PAGINATION ==================================================*/

.pagination ul li a {
  background: #fafafa;
}

/*==================================== RECENT POSTS ================================================*/

#recent_posts {
  margin-bottom: 20px;
  padding: 20px;
  background: #fafafa;
}

#recent_posts h5.recent-posts-post-title {
  font-size: 1.2em;
  line-height: 1em;
}

.recent-posts-image {
  margin-bottom: 10px;
}

/*==================================== HTML BOX ==================================================*/

#htmlbox_container {
  margin-bottom: 20px;

  /* JCN -- put a background on the html widget*/
  background: #fafafa; 
  padding: 20px;
  max-width: 96%;

}

/*==================================== MAGAZINE ==================================================*/

#magazine .magazine-post-container {
  overflow: hidden;
  margin-bottom: 10px;
  padding: 20px;
}

#magazine .magazine-post-container  h2.posts-title {
  margin: 0 0 10px 0;
  font-size: 1.4em;
  line-height: 1em;
}

#magazine .magazine-metadata {
  padding-bottom: 10px;
  font-size: 11px;
}

#magazine .magazine-post-container  div#comments {
  font-size: 11px;
  line-height: 1em;
}

#magazine .magazine-post-container img.wp-post-image {
  width: 100%;
  height: auto;
}

#magazine .magazine-wide-post img.wp-post-image {
  float: left;
  margin: 0 10px 10px 0;
  width: auto;
  height: auto;
}

/*==================================== PRODUCT ==================================================*/

#product_element_section {
  margin-bottom: 20px;
}

#product_element_section #cyberchimps_product_media {
  text-align: center;
}

#product_element_section .flex-video {
  margin-bottom: 0;
}

#product_element_section .cyberchimps-product-link {
  margin-top: 20px;
  text-align: center;
}

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

/*==================================== PHONES ====================================================*/

@media (max-width: 480px) {
  header#cc-header .span7 {
    text-align: center;
  }

  header#cc-header .span5 {
    text-align: center;
  }

  header#cc-header .span5 div.icons a {
    float: none;
  }

  header#cc-header .span5 div.blog-description {
    float: none;
  }

  header#cc-header .span5 div.register {
    float: none;
  }

  header#cc-header .span5 #searchform {
    float: none;
  }
}

