/******************************************************************
Theme Name: Revive Israel
Theme URI: http://statebuilt.com
Description: Custom WordPress Theme created for Revive Israel Media. Built by STATE.
Author: STATE
Author URI: http://statebuilt.com
Version: 1.7
Tags: fluid-layout, responsive-layout, accessibility-ready, translation-ready, microformats, rtl-language-support

License: WTFPL
License URI: http://sam.zoy.org/wtfpl/
Are You Serious? Yes.


MAKE SURE TO READ BELOW BEFORE GETTING STARTED FOR THE FIRST TIME!
------------------------------------------------------------------

You may be thinking…

WHOA, WHOA, WHOA…WHAT HAPPENED HERE?

But before you freak out, let me take a few minutes to explain.

Bones now uses Sass by default. If you prefer using regular CSS,
then feel free to modify this theme how you like and keep a copy
as your own personal starting point.

DON'T DISMISS IT JUST YET THOUGH, USING Sass ISN'T AS COMPLICATED AS YOU THINK.

It does take a few minutes to wrap your head around, but it will all
be worth it. Need a quick intro? Here are a few quick reads:

http://simplebits.com/notebook/2013/11/13/sass-book/ (BUY THIS)
http://cognition.happycog.com/article/preprocess-this
http://viget.com/inspire/sass-a-designers-perspective
http://ianstormtaylor.com/oocss-plus-sass-is-the-best-way-to-css/
http://css-tricks.com/sass-style-guide/
http://net.tutsplus.com/tutorials/html-css-techniques/developing-with-sass-and-chrome-devtools/

I would HIGHLY RECOMMEND, if you are going to be working with Sass, that you work locally.
The browsers don't understand Sass and compiling it on the server takes a bit
of a setup.

That being said, here are a few MUST HAVE TOOLS for working with a
pre-processor: (You really only need one of them)

CodeKit: (Highly Recommended)
http://incident57.com/codekit/

Compass App: (Windows / Mac Users)
http://compass.handlino.com/

These applications compile Sass into valid CSS. This
way you can keep your production files easy to read and your
CSS minified and speedy. Simply set the output to the
library/css folder and you are all set. It's a thing of beauty.

You can also setup auto compiling with Grunt or using Terminal on
OSX. It's a bit complicated to setup so if you aren't familiar
with it, just get one of the automated applications.

---------------------------------------------------------------

Remember, once you download Bones it's up to you how to use it,
so go nuts. Set things up and develop in a way that's easiest for
you. If using Sass is still a bit confusing for you, then remove it
and customize this template as you see fit.

If you're a bit uneasy about using Sass or just want a familiar setup,
take a few minutes and think about how much better a developer you
can become by just TRYING out new technologies. It may be tough at
first but it WILL make you a better developer. TRUST ME ON THIS. Give
it a week, maybe two, and you will never go back.

If you STILL can't get on board and want to jump ship, that's cool.
Bones is not for everyone and that's ok, I mean I'm not hurt by it,
whatever, I never liked you anyway. Here are some other alternatives
if you're looking for a blank starter theme. I'll just be here waiting
by the window, in case you ever decide to come back.

http://roots.io/starter-theme (way more complex but has a ton of cool features)
http://html5reset.org (super clean and great markup)
https://github.com/viewportindustries/starkers (not sure if it's still active, but still good)

That's it. It's time to jump in and get your hands dirty.
Seriously, why are you still reading this? Get to work!
If you have any issues or problems, you can create an issue on github
or find me on Twitter: @eddiemachado (SHAMELESS PLUG!).

Happy Developing!

(When you're done, you may want to remove all this nonsense before
passing it along to your client.)

******************************************************************/

/*
WordPress Probz
So Theme Check (http://wordpress.org/plugins/theme-check/)
is constantly telling me that it needs these classes in the CSS even
though they are in the REAL stylesheet in library/css/style.css.
So we're gonna drop these here to keep it happy.
Great work, Theme Check (eye roll)
*/

.sticky {}          /* DO NOT EDIT THIS */
.gallery-caption {} /* THESE ARE USELESS */
.bypostauthor {}    /* THEY ARE ONLY TO KEEP THEME CHECK HAPPY */

#logo .rim-tagline {left: 340px;}
#logo .rim-logo {max-width: 270px;}

/* ABOUT US NEW PAGE - 2018.04.10
   ========================================================================== */
.page-id-2590 #about_header {background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/texture-lt.jpg);}
.page-id-2590 #container {margin-top: 0px !important;}
.page-id-2225 .rim-btn.rim-donate-btn {display: none;}
.about_top_box {background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/backgrd_about_top_box.jpg); background-size: cover; max-width: 970px; margin: 0 auto; padding: 5em 10em; color: #fff;}
.about_second_box {background: #fff; max-width: 850px; margin: 0 auto; padding: 2em; margin-top: -80px; background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/border_right2.png); background-repeat: no-repeat; background-position: right bottom;}
#about_bottom {background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/texture-lt.jpg);}
.about_four_accross {float: left; width: 25%; text-align: center; padding: 10px;}
.about_two_accross {float: left; width: 50%; text-align: center; padding: 10px;}
.about_four_accross h4 {margin-bottom: 0px;}
.about_four_accross p, .about_two_accross p {text-align: center; line-height: 1.5;}
.about_who_we_are {width: 85%; margin: 0 auto;}
.about_leadership img {width: 100%;}
.about_lines {height: 7px; width: 90%; margin: 10px auto;}
.long_line {height: 1px; background: #e4c34f;}
.short_line {height: 5px; background: #e4c34f; width: 100px;}
.vertical_line1 {width: 1px; background: #e4c34f; float: left;}
.vertical_line2 {width: 5px; background: #e4c34f; bottom: 0; height: 20px; float: left;}
.about_under_tikkun_leadership_txt {margin: 0 auto; width: 85%; max-width: 800px;}
.about_under_tikkun_leadership_txt p {text-align: center; line-height: 1.5;}

/* AFFILIATE NEW PAGE - 2018.04.10
   ========================================================================== */
.page-id-2590 #affiliate_header {background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/texture-lt.jpg);}
.page-id-2590 #container {margin-top: 0px !important;}
.banner-affiliate {background-color:#f5f5f3; margin-top:-80px; padding-top:40px;}
.affiliate_top_box {background-image: url(/wp-content/uploads/2018/06/backgrd_affiliates_top_box.png); background-size: cover; max-width: 970px; margin: 0 auto; padding: 5em 10em; color: #fff;}
.affiliate_second_box {background: #fff; width:280px; height:220px; margin: 0 auto; padding: 2em; margin-top: -80px; background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/border_right2.png); background-repeat: no-repeat; background-position: right bottom; float:left; margin-right:60px; margin-left:60px; box-shadow: 2px 2px 2px 2px rgba(0,0,0, 0.15);}
#affiliate_bottom {background-image: url(https://tikkun.tv/wp-content/themes/revive-israel/library/images/texture-lt.jpg);}
.affiliate_four_accross {float: left; width: 25%; text-align: center; padding: 10px;}
.affiliate_two_accross {float: left; width: 50%; text-align: center; padding: 10px;}
.affiliate_four_accross h4 {margin-bottom: 0px;}
.affiliate_four_accross p, .affiliate_two_accross p {text-align: center; line-height: 1.5;}
.affiliate_who_we_are {width: 85%; margin: 0 auto;}
.affiliate_leadership img {width: 100%;}
.affiliate_lines {height:7px; width:90%; margin:0 auto 20px; margin-top:-20px;}
.long_line {height: 1px; background: #e4c34f;}
.short_line {height: 5px; background: #e4c34f; width: 100px;}
.vertical_line1 {width: 1px; background: #e4c34f; float: left;}
.vertical_line2 {width: 5px; background: #e4c34f; bottom: 0; height: 20px; float: left;}
.affiliate_under_tikkun_leadership_txt {margin: 0 auto; width: 85%; max-width: 800px;}
.affiliate_under_tikkun_leadership_txt p {text-align: center; line-height: 1.5;}
.affiliate_second_box {position:relative;}
.affiliate_second_box .learnmore {position:absolute; bottom:20px; margin-left:60px;}

/*Post Sidebar*/
.sidebarbox {border:2px solid rgba(0,0,0, 0.05); box-shadow: 1px 1px 1px #000; padding:5px 20px 20px; width:100%; }
.sidebarbox h3 {font-size:20px; font-weight:normal; margin-bottom:10px; text-align:center;}

/* BORDERS AND BULLETS */

p {
    /*CSS reset*/
    margin-bottom: 0;
}

ul.experiences {padding-left: 3em;}
ul.experiences li {
    position:relative; /* so that pseudoelements are positioned relatively to their "li"s*/
    /* use padding-bottom instead of margin-bottom.*/ 
    margin-bottom: 0; /* This overrides previously specified margin-bottom */
    padding-bottom: 0.5em;
}

ul.experiences li:after {
    /* bullets */
    content: url('http://tikkun.tv/wp-content/themes/revive-israel/library/images/20px-BlackDisc.svg.png');
    position: absolute;
    left: -26px; /*adjust manually*/
    top: 0px;
}

ul.experiences li:before {
    /* lines */
    content:"";
    position: absolute;
    left: -16px; /* adjust manually */
    border-left: 2px solid #e4c34f;
    height: 100%;
    width: 2px;
}

.page-template-details-individual .rim-page-intro {margin-bottom: 0px !important;}
.page-template-details-individual .top_image_and_btn {float:left; width: 29%;}
.page-template-details-individual .rim-content-area .rim-donate-btn {margin: 0 auto !important; float: none;}


.page-template-give-tikkunpartner .note_individual_donate, .page-template-give-individual .note_individual_donate, .page-template-give .note_individual_donate, .page-template-give-israel-70 .note_individual_donate {font-weight: bold; padding-left: 30px; margin-bottom: 20px;}
.page-template-give-tikkunpartner .sidebar_individual_donate, .page-template-give-individual .sidebar_individual_donate, .page-template-give .sidebar_individual_donate, .page-template-give-israel-70 .sidebar_individual_donate {text-align: center; background-color: #F7F6F4; margin-top: 20px; padding: 40px 15px;}
.page-template-give-tikkunpartner .sidebar_individual_donate h4, .page-template-give-individual .sidebar_individual_donate h4, .page-template-give .sidebar_individual_donate h4, .page-template-give-israel-70 .sidebar_individual_donate h4 {font-size: 17px; margin-top: 20px; margin-bottom: 20px;}
.page-template-give-tikkunpartner .sidebar_individual_donate p, .page-template-give-individual .sidebar_individual_donate p, .page-template-give .sidebar_individual_donate p, .page-template-give-israel-70 .sidebar_individual_donate p {text-align: center; margin-bottom: 20px; font-size: 16px; line-height: 20px;}
.page-template-give-tikkunpartner p.send_donation_mail, .page-template-give-individual p.send_donation_mail {text-align: left; padding-left: 15px;}

.page-template-give-tikkunpartner .rim-content-area.rim-full-width.left_side_w_form, .page-template-give-individual .rim-content-area.rim-full-width.left_side_w_form, .page-template-give .rim-content-area.rim-full-width.left_side_w_form, .page-template-give-israel-70 .rim-content-area.rim-full-width.left_side_w_form {float:left; width: 69%;}
.page-template-give-tikkunpartner .rim-content-area.rim-full-width.right_side_w_form, .page-template-give-individual .rim-content-area.rim-full-width.right_side_w_form, .page-template-give .rim-content-area.rim-full-width.right_side_w_form, .page-template-give-israel-70 .rim-content-area.rim-full-width.right_side_w_form {float: right; width: 29%;}
.pp_btn_individual_donate input[type=image] {max-width: 95% !important;}

.single-post h1, .single-post h2, .single-post h3, .single-post h4, .single-post h5, .single-post h6 {margin: 32px 0 !important;}
.single-post .rim-entry-content p {margin-bottom: 10px !important;}


.height_25 {height: 25px; clear: both;}
.height_50 {height: 50px; clear: both;}
.height_3em {height: 3em; clear: both;}
.height_6em {height: 6em; clear: both;}
.height_7em {height: 7em; clear: both;}
.height_8em {height: 8em; clear: both;}


.links_to_authors {}
.choose_author_link {margin: 40px 10px 10px 30px; padding: 40px 10px 30px 10px; color: #000; font-size: 17px; font-weight: bold; line-height: 24px; width: 42%; float: left; text-align: center;}
a.btn_author_link {padding: 7px 30px; /*margin-left: 20px;*/ background-color: #38A0E5; color: #fff; border-radius: 3px;}

.emails_under_copyright {color: #8a8a8a; font-size: 16px; text-align: center;}
.emails_under_copyright ul li {display: inline-block; padding: 0 15px;}
.emails_under_copyright ul li.li_middle {border-left: 1px solid #ccc; border-right: 1px solid #ccc;}
.copyright {margin-top: 5px;}
.rim-social li {padding: 8px 19px;}
.above_footer-secondary-links {float: left;}
.ecfa_logo {float: right;}

input[type='checkbox']#chkPolicy {
    -webkit-appearance:none;
    width:20px;
    height:20px;
    border-radius:5px;
    border:2px solid #555;
}
input[type='checkbox']:checked#chkPolicy {
    background: #387CB5;
}

.articles_page .swp_social_panel {display: none;}

.rim-home-mmi-conference {width: 30%; float: left;}

.rim-donate-btn.new_size_donate_btn {max-width: 200px;  font-size: 24px; height: 50px; line-height: 60px;}
.rim-donate-btn.new_size_donate_btn svg {width: 22px; height: 20px; margin-top: -12px;}

p.wpml-ls-statics-post_translations.wpml-ls {display: none;}

.page-template-give-tikkunpartner .rim-post-hero .title-in-hero h2, .page-template-give-individual .rim-post-hero .title-in-hero h2 {color: #fff;}

#donation_problem fieldset.wSectionTableCSS {min-height: 250px !important;}

.show_on_mobile {display: none;}

.rim-post-block.latest_articles header {min-height: 175px;}


/* iContact Forms   */
.single-post .form-header h3 {display: none;}
#ic_signupform .elcontainer {
background: #ffffff;
text-align: left;
max-width: 450px;
padding: 30px 30px;
border-radius: 3px;
border: 1px solid #acacac;
font-size: 12px;
color: #5a5a5e;
font-family: lucida grande;
}

#ic_signupform .elcontainer.center-aligned .formEl { 
margin-right: auto;
margin-left: auto; 
}

#ic_signupform .elcontainer.right-aligned .formEl { 
margin-left: auto; 
}

#ic_signupform .form-header {

display: none;

background: #ffffff;
margin-top: -30px;
margin-left: -30px;
margin-right: -30px;
margin-bottom: 30px; /* using padding on purpose */
padding-top: 20px;
padding-right: 30px;
padding-bottom: 20px;
padding-left: 30px;
border-radius: calc(3px - 1px) calc(3px - 1px) 0 0;
text-align: center;
font-size: 150%;
color: #333333;
border-bottom: 1px solid #dddddd;
}

#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-input label,
#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-dropdown label,
#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-checkbox h3,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-input label,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-dropdown label,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-checkbox h3 {
width: 30%;
}

#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-checkbox h3,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-checkbox h3 {
line-height: 3em; 
}

#ic_signupform .elcontainer.tight.inline-label-left .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.tight.inline-label-left .formEl.fieldtype-checkbox h3,
#ic_signupform .elcontainer.tight.inline-label-right .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.tight.inline-label-right .formEl.fieldtype-checkbox h3 {
line-height: 2em; 
}

#ic_signupform .elcontainer.generous.inline-label-left .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.generous.inline-label-left .formEl.fieldtype-checkbox h3,
#ic_signupform .elcontainer.generous.inline-label-right .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer.generous.inline-label-right .formEl.fieldtype-checkbox h3 {
line-height: 4em; 
}

#ic_signupform .elcontainer.inline-label-left .formEl input[type="text"],
#ic_signupform .elcontainer.inline-label-left .formEl select,
#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-radio .option-container,
#ic_signupform .elcontainer.inline-label-left .formEl.fieldtype-checkbox .option-container,
#ic_signupform .elcontainer.inline-label-right .formEl input[type="text"],
#ic_signupform .elcontainer.inline-label-right .formEl select,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-radio .option-container,
#ic_signupform .elcontainer.inline-label-right .formEl.fieldtype-checkbox .option-container {
width: 70%;
}

#ic_signupform .elcontainer.hidden-label .formEl.required:before {
color: #bdbdbf;
}

#ic_signupform .elcontainer .formEl {
font-size: 1em;
}

#ic_signupform .elcontainer .formEl.fieldtype-input label,
#ic_signupform .elcontainer .formEl.fieldtype-dropdown label,
#ic_signupform .elcontainer .formEl.fieldtype-radio h3,
#ic_signupform .elcontainer .formEl.fieldtype-checkbox h3 {
font-size: 100%;
font-weight: bold;
color: #5a5a5e;
}

#ic_signupform .elcontainer .formEl.fieldtype-input input[type="text"],
#ic_signupform .elcontainer .formEl.fieldtype-dropdown select {
background-color: #f5f5f5;
border: 1px solid #e7e7e7;
border-radius: 3px;
}

#ic_signupform .elcontainer .formEl.fieldtype-input input[type="text"],
#ic_signupform .elcontainer .formEl.fieldtype-dropdown select,
#ic_signupform .elcontainer .formEl.fieldtype-radio label,
#ic_signupform .elcontainer .formEl.fieldtype-checkbox label {
font-size: 100%;
}

#ic_signupform .elcontainer .formEl input[type="text"]::-moz-placeholder {
color: #bdbdbf;
font-family: inherit;
}

#ic_signupform .elcontainer .formEl input[type="text"]::-webkit-input-placeholder {
color: #bdbdbf;
font-family: inherit;
}

#ic_signupform .elcontainer .formEl input[type="text"]:-ms-input-placeholder {
color: #bdbdbf;
font-family: inherit;
}

#ic_signupform .elcontainer .formEl input[type="text"],
#ic_signupform .elcontainer .formEl select,
#ic_signupform .elcontainer .formEl .option-container label {
color: #bdbdbf;
font-family: inherit;
}

#ic_signupform .elcontainer.inline-button .submit-container {
display: inline-block;
box-sizing: border-box;
right: -.5em;
padding: 0 1em 0 0;
position: relative;
vertical-align: bottom;
margin-bottom: 1em;
}

#ic_signupform .elcontainer.inline-button.tight .sortables {
margin-bottom: -.5em;
}

#ic_signupform .elcontainer.inline-button .sortables {
margin-bottom: -1em;
}

#ic_signupform .elcontainer.inline-button.generous .sortables {
margin-bottom: -1.5em;
}

#ic_signupform .elcontainer .submit-container {
text-align: center;
}

#ic_signupform .elcontainer .submit-container input[type="submit"] {
background: #000000;
border: 0px solid #e7ce4d;
border-radius: 0px;
line-height: 1em;
padding: 10px 25px;
color: #ffffff;
font-size: 100%;
font-family: inherit;
width: auto;
}


@media screen and (max-width: 1024px) {
	.rim-main-nav.clearfix.is-shown {display: block !important;}
	.rim-main-nav.clearfix.is-shown .rim-btn.rim-donate-btn.mbl-show {max-width: 90%; margin-left: 0px !important; height: 60px; line-height: 28px; font-size: 18px;}
	#header-widgets div.search-form-wrapper:first-child {margin-top:-30px; display:block; bottom:0px; left:0; right:0;}
	#header-widgets div.search-form-wrapper .fa {padding-top: 30px;}
	.page-template-details-individual .top_image_and_btn, .page-template-give .top_image_and_btn, .page-template-give-israel-70 .top_image_and_btn {padding-top: 20px;}
	.page-template-details-individual .top_image_and_btn .rim-donate-btn, .page-template-give .top_image_and_btn .rim-donate-btn, .page-template-give-israel-70 .top_image_and_btn .rim-donate-btn {display: block !important;}
	.emails_under_copyright ul li {display: block;}
	.emails_under_copyright ul li.li_middle {border-left: 0px solid #ccc; border-right: 0px solid #ccc;}
	.above_footer-secondary-links {float: none; clear: both;}
	.ecfa_logo {float: none; clear: both; text-align: center;}
}
@media screen and (max-width: 900px) {
	.page-template-details-individual .rim-content-area.rim-full-width, .page-template-give .rim-content-area.rim-full-width, .page-template-give-israel-70 .rim-content-area.rim-full-width {width: 95% !important;}
	.page-template-details-individual .top_image_and_btn, .page-template-give .top_image_and_btn, .page-template-give .top_image_and_btn {width: 90%;}
	.page-template-give-tikkunpartner .rim-content-area, .page-template-give-individual .rim-content-area, .page-template-give .rim-content-area, .page-template-give-israel-70 .rim-content-area {clear: none !important;}
	.page-template-give-tikkunpartner .left_side_w_form, .page-template-give-individual .left_side_w_form, .page-template-give .left_side_w_form, .page-template-give-israel-70 .left_side_w_form {float: left; width: 69%;}
	.page-template-give-tikkunpartner .right_side_w_form, .page-template-give-individual .right_side_w_form, .page-template-give .right_side_w_form, .ppage-template-give-israel-70 .right_side_w_form {float: right; width: 29%;}
}
@media screen and (max-width: 768px) {
	.about_four_accross, .about_two_accross {width: 100%;}
	.about_top_box {padding: 1em 2em;}
	.about_what_we_do .about_two_accross {padding-right: 10px !important; padding-left: 10px !important;}
	.we_walk {text-align: left !important;}
	#dummy_form img {max-width: 100% !important;}
	.rim-home-mmi-conference {width: 90%; float: none;}
}
@media screen and (max-width: 649px) {
	.about_four_accross, .about_two_accross {width: 100%;}
	.about_top_box {padding: 1em 2em;}
	.about_what_we_do .about_two_accross {padding-right: 10px !important; padding-left: 10px !important;}
	.we_walk {text-align: left !important;}
	.page-template-give-tikkunpartner .rim-content-area, .page-template-give-individual .rim-content-area, .page-template-give .rim-content-area, .page-template-give-israel-70 .rim-content-area {clear: both !important;}
	.page-template-give-tikkunpartner .left_side_w_form, .page-template-give-individual .left_side_w_form, .page-template-give .left_side_w_form, .page-template-give-israel-70 .left_side_w_form {float: none !important; width: 100% !important;}
	.page-template-give-tikkunpartner .right_side_w_form, .page-template-give-individual .right_side_w_form, .page-template-give .right_side_w_form, .page-template-give-israel-70 .right_side_w_form {float: none !important; width: 100% !important;}
	.choose_author_link {margin: 20px 10px 10px 10px; padding: 40px 10px 30px 10px; width: 95%;}
	#dummy_form img {max-width: 100% !important;}
	
	.show_on_mobile {display: block;}
}

.form-container {
    position: relative;
    padding-bottom: 100%;
    padding-top: 100%;
    height: 0;
    overflow: visible;
}
.form-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 980px) and (max-width: 1199px) {
	.affiliate_second_box {float:none; margin-top:20px; margin-left:0; margin-right:0; width:100%; height:auto;}
	.affiliate_top_box h4 {text-align:center;}
	.affiliate_second_box .learnmore {position:static; bottom:-115px; margin-left:0; text-align:center;}
}

@media (min-width: 768px) and (max-width: 979px) {
	.banner-affiliate  {margin-top:10px;}
	.affiliate_top_box {padding:5em;}
	.affiliate_second_box {float:none; margin-top:20px; margin-left:0; margin-right:0; width:100%; height:auto;}
	.affiliate_top_box h4 {text-align:center;}
	.affiliate_second_box .learnmore {position:static; bottom:-115px; margin-left:0; text-align:center;}
	#dummy_form img {max-width: 100% !important;}
}

@media (max-width: 767px) {
	.banner-affiliate  {margin-top:10px; }
	.affiliate_top_box {padding:3em;}
	.affiliate_top_box h2 {text-align:center;}
	.affiliate_second_box {float:none; margin-top:20px; margin-left:0; margin-right:0; width:100%; height:auto;}
	.affiliate_top_box h4 {text-align:center;}
	.affiliate_second_box .learnmore {position:static; bottom:-115px; margin-left:0; text-align:center;}
	#dummy_form img {max-width: 100% !important;}
}


@media (max-width: 767px) {
	.banner-affiliate  {margin-top:10px; }
	.affiliate_top_box {padding: 3em 1em;}
	.affiliate_second_box {float:none; margin-top:20px; margin-left:0; margin-right:0; width:100%; height:auto;}
	.affiliate_top_box h4 {text-align:center;}
}
