/*
	Theme Name: Ifactory Base
	Theme URI: http://ifbase.com
	Description: Ifactory Base WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
}
/* header */
.header {

}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
.nav {

}
/* sidebar */
.sidebar {

}
/* footer */
.footer {

}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

}
@media only screen and (min-width:480px) {

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

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

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

@media only screen and (max-width:768px) {
  .page-template-default main article table {
    width : auto !important;  
  }
  .page-template-default main article table tr {
    height: auto !important;
  }
  .page-template-default main article table tr td {
    height : auto !important;
    width  : auto !important;
  }  
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	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;
}
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-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	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 {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/* Donation Page */
 body.give_forms-template-default a {
  text-decoration: none;
}
body.give_forms-template-default .post-banner:after {
  z-index: 10;
}
body.give_forms-template-default .main-holder {
  position    : relative;
  padding-top : 0px;  
}
body.give_forms-template-default .main-holder:before {
  content         : '  ';
  position        : absolute;  
  top             : -20px;
  left            : 0;
  right           : 0;
  background-color:#f5f5f5;
  width           : 100%;
  height          : 550px;
  
}

body.give_forms-template-default #give-payment-mode-select {
  position: absolute;
  left    : 50%;
  z-index : 999;
  width   : 50%;
}
body.give_forms-template-default #donation_title {
  text-align: center;
}
body.give_forms-template-default h1.give-form-title.entry-title {
  display: none;  
}

body.give_forms-template-default .give-donation-amount.form-row-wide {
  #display: none;
}
body.give_forms-template-default .give-recurring-donors-choice-form {
  width     : 100%;  
  clear     : both;
  display   : block;
  position  : relative;
  margin    : 0 auto;
  text-align: center; 
  max-width : 860px;  
}
body.give_forms-template-default .give-recurring-donors-choice-form ul {
    margin: 0 0 15px;
    padding: 0;
    clear: both;
    list-style: none;
}
body.give_forms-template-default .give-recurring-donors-choice-form li {
  width: 50%;
  float: left;  
}
body.give_forms-template-default .give-recurring-donors-choice-form input.give-recurring-period {
  display:none;
}
body.give_forms-template-default .give-recurring-donors-choice-form input.give-recurring-period + label {
  width           : 100%;
  cursor          : pointer;
  float           : left;
  border          : 1px solid #aaa;
  border-bottom   : 0;
  background-color: #fff;
  margin-right    : -1px;
  position        : relative; 
  padding         : 30px;
  font-size       : 22px;
  border: solid 2px #1e1a52; 
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;  
}
body.give_forms-template-default .give-recurring-donors-choice-form input[type="radio"] + label:hover {
  background-color: #eee;
}
body.give_forms-template-default .give-recurring-donors-choice-form input[name="give-recurring-period"] + label {
  background-color: #1e1a52;
  color           : #fff;
  z-index: 1;
}
body.give_forms-template-default .give-recurring-donors-choice-form input[name="give-recurring-period-donors-choice"]:checked + label {
  background-color: #1e1a52;
  color           : #fff;
  z-index: 1;
}
body.give_forms-template-default .give-recurring-donors-choice-form input[name="give-recurring-period"]:checked + label {
  background-color: #fff;
  color           : #1e1a52;
  z-index: 1;
}
body.give_forms-template-default .donation-form-holder {
  padding-bottom: 70px;
}
body.give_forms-template-default .comments {
  padding-bottom: 25px;
}

body.give_forms-template-default #give-payment-mode-select ul li input[type="radio"] {
  visibility: hidden;  
}
body.give_forms-template-default #give-payment-mode-select ul li > label {
  position    : relative;
	display     : block;
	top         : 5px;
  padding-left: 25px;
	height      : 20px;
	width       : 150px;  
}
body.give_forms-template-default #give-payment-mode-select input[type="radio"]:after {
    content: " ";
    background-color: #fff;
    display: inline-block;
    margin-left:10px;
    padding-bottom:5px;
    color:#0db8ae;
    width:22px;
    height:25px;
    visibility: visible;
    border:1px solid #0db8ae;
    padding-left:3px;
    border-radius:5px;
}
body.give_forms-template-default #give-payment-mode-select input[type="radio"]:checked:after {
  content: "\2714";
  padding:-5px;
  font-weight:bold;
}
body.give_forms-template-default #give-payment-mode-wrap {
  padding-bottom: 30px;
}
body.give_forms-template-default .card-img img {
  height: 30px;
}
body.give_forms-template-default .card-img {
  padding-bottom: 5px;
}
@media (max-width: 992px) {
  body.give_forms-template-default .donation-form-holder {
    padding-bottom: 80px;
  }  
  body.give_forms-template-default #give-payment-mode-select {
    position: relative;
    left    : unset;
    width   : 100%;
  }
  body.give_forms-template-default #give-payment-mode-select ul li {
    padding-bottom: 10px;
  }
  body.give_forms-template-default .give-submit-button-wrap .give-submit {
    text-align   :center;
    padding-left : 0px;
    padding-right: 0px;
    width: 100%;    
  }
  
  body.give_forms-template-default #give-payment-mode-wrap {
    padding-bottom: 5px;
  } 
  body.give_forms-template-default .main-holder:before {  
    height: 600px;
  }  
}
@media (max-width: 768px) {
  body.give_forms-template-default .donation-form-holder {
    padding-bottom: 100px;
  }  
  body.give_forms-template-default .give-recurring-donors-choice-form li {
    width: 100%;
  }
  body.give_forms-template-default .main-holder:before {  
    height: 930px;
  }

}
@media (max-width: 675px) {
  body.give_forms-template-default .main-holder:before {  
    height: 1000px;
  }  
}
@media (max-width: 320px) {
  body.give_forms-template-default .main-holder:before {  
    height: 1100px;
  }   
}
@media (max-width: 376px) {
  body.give_forms-template-default .donation-form-holder {
    padding-bottom: 70px;
  }  
}
/* annual-reports */
body.annual-reports main article a {
  color      : #1e1a52;
  font-weight: bold;
}
body.annual-reports main article a:hover {
  color: #04A4CC;
}
/* Modify Home Banner for mobile <= 426px */
@media (max-width: 426px) {
  .banner-holder .metaslider .caption-wrap .caption {
    padding: 20px !important; 
  }
  .banner-holder .metaslider .caption-wrap .caption h1 {  
    font-size  : 54px  !important;
  }
  .mobile-icons {
    height: 80px !important;
    width : 80px !important;
    padding-top: 10px !important;    
  }
  .mobile-icons a.mobile-burger span, .mobile-icons a.mobile-burger i {
    width: 80px !important;
  }
  .top-bar-right .donate-btn {
    position: absolute;
    right   : 80px;
    top     : -5px;
  }
}