/**
 * responsive.cascade.css is for styles that will cascade and uses
 * min-width only media queries.
 *
 * All the other responsive stylesheets use a stacking method (by
 * default that is, you can change the media queries in theme settings),
 * however this uses a waterfall method so we can leverage the cascade
 * and inheritance for all browsers that support media queries, regardless
 * of screen size.
 *
 * NOTE: this file will NOT load by default, you need to enable it
 * in theme settings under "Global Settings".
 *
 * Usage: you must set the breakpoints manually.
 */
@import url('https://fonts.googleapis.com/css?family=Coda:400,800');
@import url('https://fonts.googleapis.com/css?family=Kalam');

a em, a  {
  font-weight: bold;
}

a:hover {
  text-decoration: none;
}

hr {
    overflow: visible;
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}

hr:after {
    content: "§";
    display: inline-block;
    position: relative;
    top: -0.7em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
    margin-bottom: 20px;
}

hr.separador {
    content: none;
    border: 0;
    width: 50%;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    margin-bottom: 20px;
    margin-top: 20px;
    vertical-align: middle;
}


/* BUG con el ancho de la pagina */
.element-invisible {
  left:0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
}

/* buttons =============================================== */

.form-submit {
	-moz-box-shadow:inset 0px -3px 7px 0px #7a8eb9;
	-webkit-box-shadow:inset 0px -3px 7px 0px #7a8eb9;
	box-shadow:inset 0px -3px 7px 0px #7a8eb9;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #637aad), color-stop(1, #5972a7));
	background:-moz-linear-gradient(top, #637aad 5%, #5972a7 100%);
	background:-webkit-linear-gradient(top, #637aad 5%, #5972a7 100%);
	background:-o-linear-gradient(top, #637aad 5%, #5972a7 100%);
	background:-ms-linear-gradient(top, #637aad 5%, #5972a7 100%);
	background:linear-gradient(to bottom, #637aad 5%, #5972a7 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#637aad', endColorstr='#5972a7',GradientType=0);
	background-color:#637aad;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #314179;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:15px;
	padding:9px 23px;
	text-decoration:none;
	text-shadow:0px 1px 0px #7a8eb9;
}

.form-submit:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #5972a7), color-stop(1, #637aad));
	background:-moz-linear-gradient(top, #5972a7 5%, #637aad 100%);
	background:-webkit-linear-gradient(top, #5972a7 5%, #637aad 100%);
	background:-o-linear-gradient(top, #5972a7 5%, #637aad 100%);
	background:-ms-linear-gradient(top, #5972a7 5%, #637aad 100%);
	background:linear-gradient(to bottom, #5972a7 5%, #637aad 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5972a7', endColorstr='#637aad',GradientType=0);
	background-color:#5972a7;
}

.form-submit:active {
	position:relative;
	top:1px;
}

/* HEADER ============================================== */

#header {
  max-height: 120px;

  background: url("/sites/all/themes/images/bg_couch.jpg")!important;
  background-color:#333;

  overflow: hidden;
}

.header-inner {
  background-image:none!important;
  background-color:transparent!important;
}

#branding {
  margin-top: 0px!important;
}

#logo {
  position: relative;
  left: -45px;
  top: -40px;
  width: 170px;
  z-index: 0;
}

#logo {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

#logo:hover {

  -webkit-transform: rotate(360deg) scale(1.35);
     -moz-transform: rotate(360deg) scale(1.35);
       -o-transform: rotate(360deg) scale(1.35);
          transform: rotate(360deg) scale(1.35);
	filter: brightness(90%);
}

#name-and-slogan{
  position: absolute;
  margin-left: 100px!important;
}

#site-name {
  font-family: 'Coda', sans-serif;
  padding-top: 0px!important;
  padding-left: 7px!important;
}

#site-name > a {
  font-family: 'Coda', sans-serif;
  font-weight: 800;

  -webkit-transition: all .5s ease;
     -moz-transition: all .5s ease;
       -o-transition: all .5s ease;
      -ms-transition: all .5s ease;
          transition: all .5s ease;
}

#site-name > a:hover {
  color: #333;
  text-shadow: 0 0 45px white;
  text-decoration: none!important;
}

#site-slogan {
  font-family: 'Cinzel';
  font-weight: bold;
  font-size: 2em;
  margin-left: 17px!important;
}

/* MENU BAR ============================== */
#menu-bar {
  background-color: black!important;

  font-size: 1.1em!important;
  font-family: 'Oswald';
  text-transform: lowercase;
  font-variant: small-caps;

  min-height: 0;
  margin-bottom: 10px;

  -webkit-box-shadow: 0px 5px 17px 0px rgba(0,0,0,0.37);
  -moz-box-shadow: 0px 5px 17px 0px rgba(0,0,0,0.37);
  box-shadow: 0px 5px 17px 0px rgba(0,0,0,0.37);
}

#menu-bar .menu-wrapper {
    font-size: 1.1em;
}


.responsive-menus.responsified span.toggler {
  font-size: 1em!important;
  background-color: black;
  text-align: left!important;
  text-transform: uppercase;
  font-weight: bolder;
  font-variant: small-caps;
  padding-left: 10px;
}


#menu-bar li.leaf {
  background-color: black;
}


#menu-bar li.leaf:hover {
  background-color: red;
  text-decoration: none;
  text-shadow: 0 0 5px black;
}


#menu-bar  li.active-trail  {
  background-color: #9c2525;
  text-decoration: none;
  text-shadow: 0 0 5px black;
}

/* TITLES ==================================== */

#main-content-header {
  background: url("/sites/all/themes/images/page-redstar.png");
  background-repeat: no-repeat;
  background-position:0px 0px;

  padding-left: 55px!important;
  margin-bottom: 0px!important;
}

#page-title {
}

.node-title {
    font-size: 1.5em;
}

.node .node-title a {
  color: #222;

  background: url("/sites/all/themes/images/node-redstar.png");
  background-repeat: no-repeat;
  background-position:0px 0px;

  padding-left: 40px!important;
}

.node .node-title a:hover {
  color: #d55;

  background: url("/sites/all/themes/images/node-redstar-hover.png");
  background-repeat: no-repeat;
  background-position:0px 0px;
}

#main-content .node-teaser.node-sticky {
  background: url("/sites/all/themes/images/sticky.png");
  background-repeat: no-repeat;
  background-position: top right;;
  background-color: #ffebeb;
}

.node-header {
  margin-bottom: -10px;
}

/* #node-629 >  */
.submitted {
  font-style: italic;
  color: #666;
}

.node-teaser .submitted {
  margin-top: -10px!important;
  margin-left: 40px;
}

.node-full .submitted {
  margin-top: -15px!important;
  margin-left: 55px;
}

#page-title .submitted {
  margin-top: 20px!important;
}

#tasks {
 float: right;
}

.blog_usernames_blog, .comment-add {
   background-color: green;
   display: none!important;
}

.topic-title {  
  background: url("/sites/all/themes/images/topic-bluestar.png");
  background-origin: padding-box;
  background-repeat: no-repeat;
  background-position:0px 0px;

  padding-left: 55px!important;
  padding-bottom:1px;
  margin-bottom: 0px!important;
  line-height:50px;
  
  font-variant: small-caps;
}  


/* Espacio entre parrafos */
.node-content p
{
  margin-bottom: 20px;
}

  

/* CONTENT ============================================ */
#columns {
/*    margin-left: 30px; */
}

#content .node-teaser {
    padding: 0px;
}

.node-content {
  font-size: 1em;
  text-align:justify;
  text-justify: inter-word;
}

.node .node-content,
.comment .comment-content { 
  line-height: 1.4em; 
}

.node .node-title {
    border: 0;
}

/* Taxonomy ========================================== */

.field-type-taxonomy-term-reference  {
  font-style: italic;
  text-align: center;

  border: 0;
  border-top: 1px solid transparent;
  padding-top: 10px;

  border-image: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,1), rgba(0,0,0,1), rgba(255,255,255,1), rgba(255,255,255,1));
  border-image-slice: 1;
}

.field-type-taxonomy-term-reference .fields-items {
 padding-top: 5px;
}

.field-type-taxonomy-term-reference a {
  color: gray;
}

/* Links ============================================== */

.comment-comments a,
.node-readmore a {
  font-weight: bold;
  font-style: italic;
  font-family: "Playfair Display";
}

.comment-comments {
  padding-right: 10px!important;
}

/* QUOTES ============================================= */

blockquote {
  background: #f9f9f9;
  font-style: normal;

  border-width: 1px;
  border-style: solid;
  border-left-color: #c52f2f;
  border-left-width: 5px;

  margin: 10px;
  margin-bottom: 20px;
  margin-left: 30px;
  quotes: "\201C""\201D""\2018""\2019";
  padding: 20px;

  line-height: 1.4;
}


/* FOOTER ================================================ */

#footer {
  border-top-color: black;
  border-top-width: 5px;
  border-top-style: double;

  background: url("/sites/all/themes/images/bg_couch.jpg")!important;

  -webkit-box-shadow: 0px -5px 17px 0px rgba(0,0,0,0.37);
  -moz-box-shadow: 0px -5px 17px 0px rgba(0,0,0,0.37);
  box-shadow: 0px -5px 17px 0px rgba(0,0,0,0.37);
}

.attribute-creator {
  display: none;
}

/*  block QUOTES ============================================ */

#block-quotes-1 {
  color: #DDD;
  font-size: 16px;
  text-shadow: 0 0 5px #999;
  padding-top: 20px!important;
}

#block-quotes-1 > .block-inner {
  background-image: url("/sites/all/themes/images/bg_couch2.jpg")!important;

  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
}

#block-quotes-1 > .block-inner > .block-content {
  background-image: url("/sites/all/themes/images/quotes-watermark.png")!important;
  background-repeat:no-repeat;
  background-position:right top;
}

.quotes_usernames_quotes {
   display: none!important;
}

.field-name-field-tags-citas {
   display: none;
}

/* QUOTES ------------------------- */

.quotes-author {
   font-style: italic;
}

#block-quotes-1 > div > div > .node-quotes > .submitted {
  background-color: red;
  display: none;
}

#main-content .node-teaser {
  border: 0px;
  margin-bottom: 0px;

}

.node-quotes ul.links,
.node-quotes .submitted {
  display: none;
}

.quotes-author,
.quotes-citation {
  float: none;
}

.quotes-author {
  margin-top: 10px;
}

/* COMMENT ================================================= */

.comment {
/*   background: url("/sites/all/themes/images/bg_comment.png")!important; */
  background-color: #edf3f5!important;

  border-width: 3px;
  border-style: solid;
  border-color: #e9f1f5;
  color: #333;
}

.comment .submitted {
  float: right;
  padding: 0px 3px;
  margin-left: 0;
}

.comment .username {
  font-size:1.2em;
}

.user-picture .image-style-none {
  -webkit-box-shadow: 0px 0px 17px 0px rgba(204,204,204,1);
  -moz-box-shadow: 0px 0px 17px 0px rgba(204,204,204,1);
  box-shadow: 0px 0px 17px 0px rgba(204,204,204,1);
}

.comment-title a {
  color: #222;
  font-size: 20px;
}

#comments > h2,
h2.comment-title
{
  border: 0;
  border-top: 1px solid transparent;
  border-top-color: black;
  padding-top: 0px;

  
/*boder-image: linear-gradient(to right, black, black, black);*/
  border-image-slice: 1;
}

.comment cite {
    font-style : italic;
    background : url('/sites/all/themes/images/quote-small.png') no-repeat;
    padding : 4px 4px 4px 40px;
    margin-left: 20px;
    width: 100%;
    background-position: 0px 7px;
}

.comment .new {
  font-family: "Coda";
  text-transform: uppercase;
}

/* STICKYNOTE ============================================ */

.stickynote {
  float: right;

/*   min-height: 70px; */
  width: 200px;

  z-index: 150;

  color: #444;
  font-family: 'Kalam', "Chalkboard SE", "Comic Neue", cursive;
  font-size: 15px;
  font-weight: 400;

  margin: -10px 10px 10px;
  padding: 10px;

  background: rgba(255, 255, 200, 2);

  -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);
  box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);

  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;

}

.stickynote a {
  font-weight: normal;
}

.stickynote:hover {
  -webkit-transform: scale(1.25) translateX(-10%);
  -moz-transform: scale(1.25) translateX(-10%);
  -o-transform: scale(1.25) translateX(-10%);
  transform: scale(1.25) translateX(-10%);

}

.stickynote-remark {
  font-family: Serif;
}

/* PAGER ============= */

.pager {
   color: white;
   font-size: 15px;
   font-weight: bolder;
   font-family: 'Cinzel', serif;

   border-width:0px;
   line-height: 2.5;
   padding-top: 15px!important;
   padding-bottom: 15px!important;

}

.pager li, .pager li {
   background-color: #333;
   border: 0;
}

div.item-list ul.pager li {
    padding: 3px 8px;
    margin: 0 7px;
    border: 1px solid #333;
}

div.item-list ul.pager li.pager-current,
.pager li>a, .pager li>span {
   color: white;
   border: 0;
}

div.item-list ul.pager li.pager-current
{
   background: #9f0000;
   font-weight: bolder;

   -webkit-box-shadow: 0px 0px 5px 2px rgba(159,0,0,0.75);
   -moz-box-shadow: 0px 0px 5px 2px rgba(159,0,0,0.75);
   box-shadow: 0px 0px 5px 2px rgba(159,0,0,0.75);
}

.pager li:hover {
   background-color: red;
   border-color: red!important;
   -webkit-box-shadow: 0px 0px 5px 2px rgba(208,22,22,0.75);
   -moz-box-shadow: 0px 0px 5px 2px rgba(208,22,22,0.75);
   box-shadow: 0px 0px 5px 2px rgba(208,22,22,0.75);
}


/* OTROS ===================================================== */

.form-item-type-poll {
    display : none;
}

#firma {
 width: 100%;
 margin-left;
}

#firma-nombre {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #222;
  font-size: 30px
}

#firma-logo {
  -webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;
}

#firma-logo:hover {

  -webkit-transform: rotate(11deg) scale(1.2);
     -moz-transform: rotate(11deg) scale(1.2);
       -o-transform: rotate(11deg) scale(1.2);
          transform: rotate(11deg) scale(1.2);
}

#firma hr {
  margin: 5px;

  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #333, #999, white, white);
}

#firma hr:after {
    content: "";
}


li.statistics_counter.first.last
{ 
 display: none;
}


#columns, .block-inner
{
  background-color: white;
}

.content-inner {
  background-color: white;
}


/* IMAGENES ================================================ */

.image-frame {
  background: white;
  display: inline; float: left;
  margin: 12px 20px; 
  padding: 7px;
  text-align: center;
  text-decoration: none;
  transition: all .15s linear;
  z-index:0;
  position:relative;

  -webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.15);
  box-shadow: 0px 0px 4px 3px rgba(0,0,0,0.15);
}

.polaroid {
  padding-bottom: 25px;
}

.image-frame:after {
  content: attr(title);
}

.inline-right {
  float: right;
  display: inline;
}

.image-nofloat {
  float: none;
}

/* YOUTUBE ================================================= */

.embed-container {
  border-width: 7px;
  border-color: white;
  border-style: solid;

  -webkit-box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.16);
  box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.16); 

  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;

  margin: auto;
  width: 90%;
  height: 90%; 
}

.embed-container iframe, .embed-container object, .embed-container embed
{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0; top: 0;
  border: 0;
}

/* ========================================================= */

#tasks {
 float: right;
}

.footnotes {
    margin-top: 2em;
    margin-bottom: 2em;
}

.see-footnote {
  margin-left: 2px;
}

/* ============================================================== */

/* Desktops/laptops and up */
@media (max-width:1025px) {

  #site-slogan {
   font-size: 1.8em;
  }

  .embed-container {
    width: 80%;
  }
}

/* Tablets and up */
@media (max-width:844px) {

  #header {
   max-height: 120px!important;
  }

  #site-slogan {
   font-size: 1.6em;
  }

  #menu-bar ul.sf-menu li a {
    padding: 5px 15px;
  }

  .embed-container {
    width: 85%;
  }
}

/* Tablets and up */
@media (max-width:768px) {

  #site-slogan {
   font-size: 1.4em;
  }

  .embed-container {
    width: 100%;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;

    border-width: 4px;
    border-color: #EEE;
    border-style: outset;
  }

  blockquote {
    margin: 0px;
    padding: 5px;
  }

  .image-frame {
    margin: 15px;
  }
}

@media (max-width:558px) {

  #columns {
   margin-left: 0px;
  }

  #site-name {
   padding-bottom: 0px!important;

  #site-slogan {
   font-size: 1.3em!important;
  }

  .embed-container {
     width: 100%;
  }
}

/* Smartphones and up */
@media (max-width:320px) {
  #site-slogan {
   font-size: 1.2em!important;
  }
}

/* Really small screens and up */
@media (max-width:220px) {

  #site-slogan {
    font-size: 1.1em;
  }

}
