/*
Theme Name: sustainableagriculture
Theme URI: http://imphan.com
Version: 1.0
Description: sustainableagriculture.net
Author: Phan Chuong
Author URI: http://imphan.com
*/

body {background: #f3ebdd;}
h1, h2, h3, h4, h5, h6 {}
i, em {font-style: italic; font-weight: 300;}

table {width: 75%;}

header {background-repeat: no-repeat; background-position: center center; padding: 0 10px 10px; position: relative;}
header .top {text-align: center;}
header .social-share {height: 55px; line-height: 55px; display: inline-block;}
header .search-form {display: inline-block; width: 190px; position: relative;}
header .search-form input[type="text"] {width: 100%; font-weight: 300; color: #000; font-size: 14px; height: 30px; padding: 0 40px 0 10px; border-width: 1px;}
header .search-form input[type="submit"] {position: absolute; top: 5px; right: 5px; border: none; background: none; font-weight: 600; color: #973f00; height: 21px; line-height: 21px;}

#___gcse_0 {display: inline-block; width: 190px; vertical-align: middle; position: relative;}
#___gcse_0 .gsc-control-cse {border: 0 none; padding: 0; background: none;}
#___gcse_0 form.gsc-search-box {margin: 0;}
#___gcse_0 table.gsc-search-box {margin: 0;}
#___gcse_0 table.gsc-search-box td.gsc-input {padding: 0;}
#___gcse_0 td.gsc-clear-button {display: none;}
#___gcse_0 input.gsc-input {border-width: 1px; color: #000; font-size: 14px; font-weight: 300; font-family: "Source Sans Pro"; height: 30px; padding: 0 60px 0 10px; width: 100%; background: #fff !important;}
#___gcse_0 input.gsc-search-button {background: none; border: none; color: #973F00; font-weight: 600; height: 21px; line-height: 21px; position: absolute; right: 5px; top: 5px;}

.navbar {margin-bottom: 0; font-weight: 700; font-size: 14px; text-transform: uppercase; border: none;}
.navbar a {color: #000;}
.navbar-brand {font-size: 14px;}
.dropdown-menu > li > a {font-size: 14px;}
.navbar .link-green {margin: 10px 10px 0;}
.navbar .link-green a {padding: 0 !important; color: #fff !important; line-height: 30px !important;}
.menu {background: #fff;}

.link-green {font-weight: 600; color: #fff !important; background: #8e9524; text-transform: uppercase; font-size: 14px; height: 30px; line-height: 30px; display: inline-block; padding: 0 15px !important; border: none;}
.link-green:hover {color: #fff; text-decoration: none;}
.link-green span {display: inline-block; height: 30px; width: 7px; background: url('images/icon-arrow-1.png') no-repeat right 8px; vertical-align: middle; padding-left: 15px;}

.widget {background: #fff; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1); position: relative; margin: 20px 0 0;}
.widget h4 {text-align: center; text-transform: uppercase;}
.widget .more {position: absolute; bottom: 15px; right: 0; display: block; text-align: center;}
.widget .latest-post {font-size: 14px;}
.widget .latest-post p {font-weight: 400;}
.widget .latest-post a.post-more {font-weight: 300; text-decoration: underline; color: #ac0d0d;}

.home .widget {padding: 5px 20px; min-height: 280px;}
.home .col-md-2:nth-child(2) .widget {font-size: 24px; text-align: center;}
.widget-padding {padding: 0 20px;}
.widget_archive, .widget_tag_cloud, .widget_categories {padding: 0 20px 20px;}
.widget_archive select {width: 100%;}

.widget_new_subpages {background: #FFFFFF; box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) inset;}
.widget_new_subpages ul {background: none; padding: 10px 0 0 0;}
.widget_new_subpages li {list-style: none; padding: 2px 0;}
.widget_new_subpages a {text-transform: uppercase; color: #000; font-size: 14px; font-weight: 400; display: block; padding: 3px 25px; line-height: 17px;}
.widget_new_subpages .widget_subpages_current_page > a, .widget_new_subpages a:hover {background: #8e9524; color: #fff; text-decoration: none;}

.widget_new_subpages ul ul {margin-left: 25px;}
.widget_new_subpages ul ul li {padding: 0;}

.excerpt:first-child {margin-top: 20px;}
.excerpt:nth-child(odd) {background: #fff; color: #943f00;}
.excerpt:nth-child(odd) a {color: #943f00;}
.excerpt:nth-child(odd) a.more {background: url('images/icon-arrow-2.png') no-repeat center right;}
.excerpt:nth-child(even) {background: #af781e; color: #fff;}
.excerpt:nth-child(even) a {color: #fff;}
.excerpt:nth-child(even) a.more {background: url('images/icon-arrow-1.png') no-repeat center right;} 
.excerpt h3 {margin: 13px 20px 3px 0; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.excerpt p {line-height: 20px; padding-right: 20px; text-align: justify; height: 60px; overflow: hidden;}
.excerpt a.more {text-transform: uppercase; text-align: right; display: block; font-weight: 600; height: 13px; line-height: 13px; padding-right: 20px; margin-right: 15px; font-size: 14px; margin-bottom: 10px;}
.excerpt dl {padding: 10px;}

.post {background: #fff; padding: 20px;}
.post h4 {margin: 20px 0;}
.post-title {font-weight: 300; text-transform: uppercase;}
.post-title span {font-weight: 400;}

.post .tweettool {width: 100% !important;}
.post .tweettool .col {max-width: 395px !important;}
.post .tweettool label {display: inline !important;}
.post .tweettool input[type="radio"] {margin: 5px 5px 0 0 !important;}
.post .tweettool p {margin: 0 !important;}
.post .tweettool .buttontext a {color: #fff !important;}

.paginate {margin: 20px 0 15px; text-align: center; font-size: 18px;}
.paginate .page-numbers {background: #fff; display: inline-block; height: 25px; line-height: 25px; padding: 0 8px;}
.paginate .page-numbers:hover, .paginate .page-numbers:active, .paginate .page-numbers.current {background: #AC0D0D; color: #fff; text-decoration: none;}

.publications {font-size: 14px;}
.publications img {border: 1px #adadad solid;}
.publications h4 {margin: 0;}
.publications h4 a:first-child {color: #000;}
.publications h4 a:last-child {text-decoration: underline; font-weight: 300;}
.publication-links a {text-transform: uppercase; font-weight: 700;}

#sidebar-regform {max-width: 100%;}
#sidebar-regform ul {padding: 0 0 40px;}
#sidebar-regform li {list-style: none;}
#sidebar-regform input[type="text"] {width: 100%; background: #eee; color: #000; font-size: 14px; border: none; margin-bottom: 10px; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) inset; padding: 0 10px; height: 30px;}
#sidebar-regform #takeactionpage-button {position: absolute; bottom: 15px; right: 0;}
#sidebar-regform .error {padding-bottom: 10px;}
#sidebar-regform .error li {display: inline; font-weight: bold;}
#sidebar-regform .error li:before {content: ", ";}
#sidebar-regform .error li:nth-child(1):before {content: " ";}

footer {background: #fff; color: #973f00; margin-top: 20px;}
footer a {color: #973f00; text-decoration: underline;}
footer .social-share {border: 1px #e5cfbf solid; display: inline-block; width: 100px; height: 30px; line-height: 26px; background: #fff; position: relative; top: -17px;}

.feature_box {background: #fff; text-align: center; position: relative;}
.feature_box .link-green {width: 100%; margin: 25px 0 35px; background-image: url('images/icon-arrow-1.png'); background-repeat: no-repeat; background-position: 62% 9px;}
.feature-heading {text-transform: uppercase; font-size: 35px; font-weight: 300; background: #ac0d0d; color: #fff; padding: 15px 0 10px; position: relative; margin: 0;}
.feature-heading span {font-weight: 600;}
.feature-heading hr {position: absolute; top: -15px; left: 0; width: 100%; border-color: #fff;}
.feature-heading a {display: block; font-size: 14px; color: #fff;}
.feature-subheading {text-transform: uppercase; color: #ac0d0d; margin-top: 15px;}
.feature-title {font-size: 26px; font-weight: 700; text-transform: uppercase; margin: 32px 0 15px; padding: 0 50px;}
.feature-content {font-size: 22px; font: 400; padding: 0 50px;}.feature-link {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; display: block;}

.slider {margin-top: 20px; background: #fff; color: #943f00; padding-right: 15px; font-weight: 400;}
.slider h3 {overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 13px;}
.slider a {color: #943f00;}
.slider a.more {text-transform: uppercase; background: url('images/icon-arrow-2.png') no-repeat right 3px; padding-right: 13px; font-weight: 600;}

.memberSignup {display: none !important;}
blockquote {background: #eee; font-size: 16px;}
.cus-press li {padding-bottom: 10px;}
.wp-caption-text {margin-top: 5px; font-style: italic; font-size: .8em;}
.wp-caption-text a {font-style: normal; text-decoration: underline;}


@media (min-width: 768px) {
  #bs-example-navbar-collapse-1 {text-align: center;}
  #menu-header {display: inline-block; float: none !important; height: 65px;}
  .navbar .link-green {margin: 20px 0 0 10px;}
  
  .excerpt dl {padding: 0; height: 127px;}
}

@media (min-width: 992px) {
  header {height: 230px;}
  header .top {text-align: right;}
 
  .alignleft {float: left; margin: 0 10px 10px 0;}
  .alignright {float: right; margin: 0 0 10px 10px;}
  .aligncenter {display: block; margin: auto; text-align: center;}
  .widget .more {position: static;}  .home .widget {min-height: 291px;}
  .excerpt:first-child {margin-top: 0;}
  
  .home header {height: 519px;}
  
  .home .feature_box {height: 425px;}
  
  .slider {width: 673px; position: absolute; bottom: 12px; left: 20px; margin-top: 100px;}
}

@media (min-width: 1200px) {
  header {padding: 0;}
  header .search-form {margin-right: 10px;}
  #___gcse_0 {margin-right: 10px;}
  .widget .more {position: absolute;}  .home .widget {min-height: 280px;}
  .publications dt {width: 135px;}
  .publications dd {margin-left: 145px;}
  .publications h4 {margin-top: 0;}
}

.lft-arrow {
position: absolute;
z-index: 9999;
left: 2px;
top: 53px;
cursor:pointer;
}

.right-arrow {
right: -3px;
top: 45px;
position: absolute;
z-index: 9999;
cursor:pointer;
}

.carousel-inner .container-fluida .col-xs-2{width: 32.333%}
.carousel-inner .container-fluida .col-xs-4{width: 67.666%; padding-left: 0;}
.carousel-inner .container-fluida .col-xs-4 p, .container-fluida .col-xs-4 h3{padding-right: 15px;}