

/* ==========================================================================
   Elperuano's custom styles
   ========================================================================== */

/* override bootstrap styles 
=========== */

h1 {
    font-size: 22px;
}

h2 {
    font-size: 13px;
}
.container {
	max-width: 1250px;
}

.jumbotron {
    padding: 5px 15px 15px;
    background:#fff;
    margin-bottom: 0;
}

.navbar {
	border-radius: 0;
	margin-bottom: 0;
}

.navbar-inverse {
	padding-top: 7px;
	padding-bottom: 8px;
	background: #D80200;
    /*background: #4700D8; Para prueba*/
	border-color: transparent;
}

.navbar-search-info {
    background: #EAEAEA;
    border-color: transparent;
    font-size: small;
    min-height: 30px;
    padding-bottom: 8px;
    padding-top: 7px;
}


.form-control {
	background-color: #FFF;
	box-shadow: 0 0 0;	
	font-size: 16px;
}

.form-control:focus {
  border-color: #000;
  outline: 0;
  -webkit-box-shadow: 0 0 8px #999;
          box-shadow: 0 0 8px #999;
}

.form-control::-moz-placeholder {
  color: #000;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #000;
}
.form-control::-webkit-input-placeholder {
  color: #000;
}

.btn-group.open .dropdown-toggle {
	box-shadow: 0 0 0;
}

.result .dropdown-menu li {
	text-align: left;
	padding: 5px 0px;
	margin: 0;
}

.dropdown-menu > li > a {
	/*background-color: #*/
	line-height: 1;
}



/* general styles 
=========== */

body {
	padding-top: 170px;
	color: #000;
	font-family: Arial;
}

body.page-result {
	padding-top: 120px;
}



/* form styles 
=========== */

.btn-search {
    background: #D80200;
    color: #fff;
    border-color: #fff;
    font-weight: bold;
}

.btn-search:active,
.btn-search:hover,
.btn-search:focus {
    background: #fff;
    color: #D80200;
    border-top-color: #fff;
    border-bottom-color: #fff;
    border-right-color: #fff;
    border-left-color: #D80200;
}

.form-control.frm-search {
    border-color: #fff;
    color: #626262;
    font-size: 16px;
    text-align: center;

}


.frm-text {
	border-color: #000;
	color: #000;
}

.form-control.frm-date {
	font-size: 16px;
	background: url(../img/calendar.png) no-repeat right center #FFF;
	position: relative;
	z-index: 9999;
	text-indent: 70px;
	padding-top: 7px;
}

.wrapdate1 {
	padding: 0;
	margin-bottom: 15px;
}

.wrapdate2 {
	padding: 0;
	
}

.wrapdate1,
.wrapdate2 {
	position: relative;
}

.txt-date {
	position: absolute;
	top: 6px;
	z-index: 10000;
	font-size: 16px;
	left: 15px;
}

.container-radios .radio {
	margin-top: 0px;
	margin-bottom: 10px;
	font-size: 16px;
	color: #000;

}

.container-radios .radio + .radio {
	margin-top: 0px;
}

.btn-advance {
	background: #d90916;
	border: 1px solid #d90916;
	color: #fff;
	min-width: 125px;
	font-size: 16px;
	padding: 4px 12px 2px 12px;
  -webkit-box-shadow: 0 3px 0px #ab070f;
          box-shadow: 0 3px 0px #ab070f;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.btn-advance:focus,
.btn-advance:active,
.btn-advance:hover {
	color: #d90916;
	background: #FFF;
	border: 1px solid #d90916;
}

.btn-default.btn-sm {
	background-image: url(../img/arrow-button.png);
	background-position: right 10px;
	background-repeat: no-repeat;
	background-color: #b2071c;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 13px;
	text-align: left;
	max-width: 198px;
	width: 100%;
	margin: 0px auto;
	border: 1px solid #B2071C;
	border-radius: 5px;
	color: #FFF;
	padding: 4px 32px 4px 8px;
	white-space: normal;
	font-style: italic;
	text-align: center;
}

.open >.dropdown-toggle.btn-default.btn-sm,
.btn-default.btn-sm:focus,
.btn-default.btn-sm:active,
.btn-default.btn-sm:hover {
	background-image: url(../img/arrow-button.png);
	background-position: right -183px;
	background-repeat: no-repeat;
	background-color: #fff;
	color: #b2071c;
	border: 1px solid #b2071c;
	box-shadow: 0 0 0;
}

.btn-bl {
	background: #000000;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 16px;
	text-align: left;
	max-width: 198px;
	width: 100%;
	margin: 0px auto;
	border: 1px solid #000000;
	border-radius: 5px;
	color: #FFF;
	padding: 4px 50px 5px 16px;
	white-space: normal;
	font-style: italic;
	text-align: center;
}

.btn-bl:focus,
.btn-bl:active,
.btn-bl:hover {
	background: #FFF;
	color: #000000;
	border: 1px solid #000000;
}

/* Result search
=========== */

.result {
	margin: 0;
	padding: 30px 30px;
	list-style: none;
	border: 1px solid #E5E5E5;
	border-radius: 3px;
}

.result li {
	margin: 0;
	padding: 0;
	margin-bottom: 30px;
}

.tags {
	text-align: left;
	padding-bottom: 20px;
}

.tag {
	color: #cecece;
	font-size: 16px;
	display: inline-block;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: underline;
}

.heading {
	font-size: 19px;
	font-weight: bold;
	margin: 0;
	line-height: 1;
	margin: 0 0 2px 0;
}

.sub-heading {
	color: #444;
	font-size: 16px;
	line-height: 1;
	line-height: 1;
	font-size: 12px;
	margin: 0 0 6px 0;
}

.txt-inline {
	color: #FE403D;
  font-size: 14px;
  line-height: 1.3;
  word-spacing: 7px;
  display: block;
  margin-bottom: 5px;
}

.date {
	color: #717171;
  font-size: 12px;
  margin-bottom: 25px;
  display: block;
}

.excerpt {
  line-height: 1.5;
  margin-bottom: 3px;
  font-size: 12px;
}

.line {
	color: #D5D5D5;
	margin: 0;
	background: none repeat scroll 0% 0% #D5D5D5;
	border: 0px none;
	height: 1px;
	width: 100%;
}

.detail {
	position: relative;
}

.inner-detail {
	padding-top: 26px;
    font-size: 12px;
}

table  {
    margin-left:auto; 
    margin-right:auto;
}

.tag-detail {
	text-align: center;
	margin-bottom: 20px;
}

.social-section {
	width: 100%;
}

.social-section * {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}

.title {
  margin: 0;
  color: #000000;
  font-size: 22px;
  text-align: justify;
  line-height: 1;
  margin-bottom: 5px;
}

.subtitle {
  margin: 0;
  text-align: center;
  font-size: 13px;
  margin-bottom: 20px;
  color: #444444;
}

.content p,
.content {
  color: #444444;
	font-size: 12px;
}

.content p {
  margin-bottom: 19px;
  text-align: justify;
}

.share-btn {
	float: right;
	margin-left: 20px;
	margin-bottom: 15px;
}

.section-share {
	padding: 20px 0px 15px;
}

footer {
	padding-bottom: 30px;
	padding-top: 30px;
}

.footer-date,
.counter {
	font-size: 12px;
	text-align: right;
}

.footer-date {
	color: #444444;
}

.counter {
	color: #717171;
}

.primary {
	width: auto;
}

.primary.affix {
  position: static;		
}

.section-btns .s {
    margin-right: 6px;
}

/* Modal
=========== */


.modal-backdrop {
	background-color: #000;
}

.modal-content {
  -webkit-box-shadow: 0 0 0;
  box-shadow: 0 0 0;
  border-color: transparent;
}

.modal-footer,
.modal-header {
	border-color: transparent;
}

.btn.btn-default.btn-choose {
	background-color: #000;
  -webkit-box-shadow: 0 2px 0 #c4c4c4;
  				box-shadow: 0 2px 0 #c4c4c4;
  color: #FFF;
  border-radius: 30px;
  margin: 0 auto 15px auto;
  padding: 7px 32px;
  font-weight: bold;
}

.btns-choose {
	text-align: center;
}

.btn.btn-default.btn-toggle {
	color: #FFF;
	background: #B90500;
	border-color: transparent;
	border-radius: 30px;
}


.btn-ch {
	text-align: center;
	padding: 20px 0;
}


@-webkit-keyframes breathe {
  0% {
    letter-spacing: 0;
    text-shadow: 0 0 1px #333;
  }
  30% {
    color: transparent;
  }
  50% {
    letter-spacing: 50px;
    font-size: 0;
    text-shadow: 0 0 6px #333;
  }
  60% {
    color: transparent;
  }
  100% {
    letter-spacing: 0;
    text-shadow: 0 0 1px #333;
  }
}

@keyframes breathe {
  0% {
    letter-spacing:0;
    text-shadow:0 0 1px #333;
  }
  30% {
    color:transparent;
  }
  50% {
    letter-spacing:50px;
    font-size:0;
    text-shadow:0 0 6px #333;
  }
  60% {
    color:transparent;
  }
  100% {
    letter-spacing:0;
    text-shadow:0 0 1px white;
  }
}

.ajax-busy-indicator {
	padding: 30px 0;
  color:#000;
  font-size:1.5em;
  text-align: center;
  -webkit-animation: breathe 4s ease infinite;
          animation: breathe 4s ease infinite;
}

#footer,
#result {
	visibility: hidden;
}


.section-btns .s {
	padding-bottom: 10px;
}

.fb-share,
.tw-share {
	margin-bottom: 10px;
}

.btn.btn-default.btn-bl {
	position: relative;
}

.btn-bl:hover .envelope {
	position: absolute;
	right: 15px;
	top: 5px;
	color: #000;
}

.envelope {
	position: absolute;
	right: 15px;
	color: #FFF;
	top: 5px;
	font-size: 18px;
}

.hide-block {
	display: none;
}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) {

		.colum {
			width: 100%;
		}


		.detail {
			padding: 0 80px 0 90px;
			position: relative;
		}

		.social-section {
			width: 80px;
			min-height: 100px;
			border-radius: 5px;
			border: 1px solid #BBB;
			position: fixed; /*absolute;*/
			right: 0px;
			top: 146px;
			text-align: center;
			padding: 10px 0;
		}

		.social-section > span {
			display: inline-block;
			margin-bottom: 10px;

		}

		.social-header {
			text-align: center;
			padding-top: 7px;
		}

		.btn-s {
			margin: 0 5px;
			display: inline-block;
			vertical-align: top;
		}

	.section-btns {
		text-align: right;
	}

	.section-btns .s {
		display: inline-block;
		vertical-align: top;

	}

	.section-btns {
		text-align: center;
	}


}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

		.colum {
			width: 100%;
		}

		.btn-advance.btn-sm {
			white-space: normal;
		}

		.inner-page {
			padding: 30px 0 0 20px;
			position: relative;
		}

		.primary {
			width: 240px;
			position: absolute;
			left: 0;
			top: 0;
		}

		.primary.affix-top {
			left: 0;
		}

		.primary.affix {
		  position: fixed;
		  top: 170px;
		  left: 8%;		
		}

		.collapse {
			display: block;
			visibility: visible;
		}

	
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

		.btn-advance.btn-sm {
			white-space: normal;
		    width: 100%;
			min-width: 0;
		}

		.inner-text,
		.section-btns {
			display: inline-block;
			vertical-align: top;
		}

		.section-tags {
			text-align: left;
			padding: 0 0 15px 0;
		}

		.section-text {
		    text-align: left;
		    width: 100%;
		}

		.result li {
			text-align: center;
		}

		.section-btns {
			width: 26%;
		}

		.inner-text {
			width: 72%;
			text-align: left;
			padding: 0;
		}	

		.section-btns {
			padding: 10px 0;
			text-align: right;
		}

		.inner-page {
			padding: 30px 0 0 20px;
		}

		.primary {
			width: 280px;
		}


		.primary.affix {
		  position: fixed;
		  top: 170px;
		  /*left: 110px;		*/
		}
		.section-btns .s {
		    margin-right: 0px;
		}

		.primary.affix {
			left: 4%;
		}
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
		.tags {
			padding: 0;
		}

		.section-text {
		  /*width: 85%;*/
		}

		.primary.affix {
			left: 5%;
		}

}

/* testing */
/*@media only screen and (min-width : 320px) {
		body {
			background-color: red;
		}
}

@media only screen and (min-width : 480px) {
		body {
			background-color: blue;
		}
}

@media only screen and (min-width : 768px) {
		body {
			background-color: pink;
		}
}

@media only screen and (min-width : 992px) {
		body {
			background-color: yellow;
		}
}
@media only screen and (min-width : 1200px) {
		body {
			background-color: green;
		}
}*/