/*---------- Layout----------- */

html {
	margin: 0;
		padding: 0;
}

body {
	width: auto;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	font: 10pt/1.5em Helvetica,"Helvetica neue", Arial, sans-serif;
}

/*HTML 5 specific*/
header,section,article,aside,footer{
	display: block;
}
/*******************
FONTS
*******************/

@import url(http://fonts.googleapis.com/css?family=Bree+Serif);

/*******************
SELECTION STYLING
******************
::selection {
	color: #fff;
	background: #f676b2; /* Safari 
}
::-moz-selection {
	color: #fff;
	background: #f676b2; /* Firefox 
}
/*----------Typography ----------- */
p {
	font-size: 14px;
	line-height: 160%;
	margin: 0 0 20px 0;
}

h1 {
	font-size: 30px;
	margin: 0 0 15px 0;
}

h2 {
	font-size: 24px;
	margin: 0 0 15px 0;
}

h3 {
	font-size: 18px;
	margin: 0 0 15px 0;
}

h4 {
	font-size: 16px;
	margin: 0 0 15px 0;
}

h5 {
	font-size: 16px;
	margin: 0 0 15px 0;
	text-transform: uppercase;
}

h6 {
	font-size: 14px;
	margin: 0 0 15px 0;
	text-transform: uppercase;
}

blockquote {
	border-left: 5px solid;
	padding: 20px 20px 1px 20px;
	margin: 0 0 30px 20px;
	color: #aeaeae;
	text-align: center;
}

.dropcap {
	font-size: 48px;
	line-height: 1.2;
	display: block;
	float: left;
	margin: 0 10px 0 0;
}

em, i {
	font-style: italic;
}

strong, b {
	font-style: bold;
}
/*---------- HEADER ----------- */

header{
		background-color: #e4e8c8;
		min-height: 120px;
		height: 180px;
}

.logo {
  float: none;
  display: block;
  width: 20.809248554913296%;
  height: auto;
  /*vertical-align: top;*/
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  padding-top: 55px;
  padding-bottom: -100px;
  background-repeat: no-repeat;
  background-image: url(../img/logo_thedyagro_01.png);
  background-position: center center;
  background-size: auto;
  background-attachment: local;
  min-height: 8.3125em
}
.fr-widget {
  display: block;


}
.fr-img {
  line-height: 0;
  padding-top: 10%;
}
.fr-img img {
  width: 100%;
  max-width: 100%;

}
/** ******************************** **/
/** Responsive theme             **/
/** ******************************** **/

@media screen and (max-width: 1024px) {
.logo {
    float: none;
    display: block;
    width: 80%;
    margin-right: auto;
    margin-left: auto
  }

}

@media screen and (max-width: 768px) {

.logo {
    float: none;
    display: block;
    width: 80%;
    margin-right: auto;
    margin-left: auto
  }
.fr-img {
  line-height: 0;
  padding-top: 10%;
}
}

@media screen and (min-width: 410px) and (orientation: landscape) {

 .logo {
    float: none;
    display: block;
    width: 70%;
    margin-right: auto;
    margin-left: auto
  }
.fr-img {
  line-height: 0;
  padding-top: 10%;
}
}

@media screen and (max-width: 375px) {

.logo {
    float: none;
    display: block;
    width: 50%;
    margin-top: .875em;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    background-position: center center;
    background-size: contain;
    min-height: 8.6875em
  }
.fr-img {
  line-height: 0;
  padding-top: 10%;
}
}

/*---------- NAV ----------- */
nav{
    display:block;
	width: 100%;
	height: 40px;
    background:#3D553E;
}
.mainMenu{
	width:960px;
	padding-top:80px;
	margin-left:auto;
	margin-right:auto;	
}
#representantesrep {
        display: none;
    }

@media only screen and (max-width: 800px) {
 
    .mainMenu {
        display: none;
    }
 
}
@media screen and (min-width: 801px) (min-width: 960px) and (orientation: landscape) {

 .mainMenu {
    float: none;
    display: block;
    width: 85%;
    margin-right: auto;
    margin-left: auto
  }
}
/*----------SECTION------------*/

section {
	width:auto;
	height:600px;
	margin-left:auto;
	margin-right:auto;
}

.section h1{
	font-size:24px;
	font-family:Verdana, Geneva, sans-serif;
	text-decoration:none;
	color:#7f3435;
	text-align:center;
	padding-top:35px;
	
}
.wrapper{
	width:auto;
	height:600px;
	margin-left:auto;
	margin-right:auto;
	margin-top: 25px;
}
.title{
	width: auto;
	margin-left:auto;
	margin-right:auto;
}
.title h1 {
	font-size: 30px;
	text-align:center;
	color: #7F3435;
}
	
/*-------LOGIN - INICIO --------------*/
@charset "utf-8";
/* CSS Document */
/* ---------- FONTAWESOME ---------- */

[class*="fontawesome-"]:before {
  font-family: 'FontAwesome', sans-serif;
}

/* ---------- GENERAL ---------- */

a {
	color: #eee;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

input {
	border: none;
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5em;
	padding: 0;
	-webkit-appearance: none;
}
.align {
	line-height: 1.5em;
	text-align:center;
	margin-top: 10px;
	margin-left:auto;
	margin-right:auto;
 
}

p {
	line-height: 1.5em;
}

.clearfix {
     zoom: 1;
     overflow: auto; } /* For IE 6/7 */
.clearfix:before, .clearfix:after {
    display: table;
	content: "";
}
.clearfix:after { clear: both; }
* html .clearfix {
    height: 1%;
}

/* ---------- LOGIN ---------- */

#login {
	width:auto;
	padding-top: -500%;
	margin-left:auto;
	margin-right:auto;
}

/*#login form span {
	background-color: #7F3435;
	border-radius: 3px 0px 0px 3px;
	color: #F1D0A2;
	display: block;
	float: left;
	height: 50px;
	line-height: 50px;
	text-align: center;
	width: 50px;
	font-family: FontAwesome;
}*/
#login form i {
	background-color: #7F3435;
	border-radius: 3px 0px 0px 3px;
	float: left;
	height: 50px;
	line-height: 50px;
	text-align: center;
	width: 50px;
	color:#FFFFFF;
	font-family: FontAwesome;
}

#login form input {
	height: 50px;
}

#login form input[type="text"], input[type="password"] {
	background-color: #e4e8c8;
	border-radius: 0px 3px 3px 0px;
	color: #606468;
	margin-bottom: 1em;
	padding: 0 16px;
	width: 198px;
}

#login form input[type="submit"] {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-color: #7F3435;
	color: #eee;
	font-weight: bold;
	margin-bottom: 2em;
	text-transform: uppercase;
	width: 280px;
}

#login form input[type="submit"]:hover {
	background-color: #3D553E;
}

#login > p {
	text-align: center;
}

#login > p span {
	padding-left: 5px;
}

/*---------- FOOTER ----------- */

footer { 
    background-color: #3d553e;
    position: relative;
	width: 100%;
	bottom: 0; /* stick to bottom */
	height: auto !important; /* real browsers */
	height: 30px; /* IE6: treaded as min-height*/
	/*min-height:100%;  real browsers */
        }
}
.copyright {
	width:auto;
	height:100%;
	margin-left:auto;
	margin-right:auto;
	
}
.copyright h4{
	font-family:Verdana, Geneva, sans-serif;
	font-size:12px;
	font-style:normal;
	color:#FFF;
	text-align:center;
	padding-top:5px;
}
