/*
	Theme Name: Cirko de Mente 2.0
	Theme URI: http://cajadepixeles.mx
	Description: HTML 5 template para Cirko Demente
	Version: 2.0
	Author: CajadePixeles
	Author URI: http://cajadepixeles.mx

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

audio,
canvas,
video {
    display: inline-block;
    max-width: 100%;
}

html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body,
button,
input,
select,
textarea {
    color: #2b2b2b;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body {
    background: #fff;
}

a {
    color: #24890d;
    text-decoration: none;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

a:active,
a:hover {
    color: #41a62a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-weight: 700;
    margin: 1em 0;

}

h1 {
    font-size: 26px;
    line-height: 1.3846153846;
}

h2 {
    font-size: 24px;
    line-height: 1;
}

h3 {
    font-size: 22px;
    line-height: 1.0909090909;
}

h4 {
    font-size: 20px;
    line-height: 1.2;
}

h5 {
    font-size: 18px;
    line-height: 1.3333333333;
}

h6 {
    font-size: 16px;
    line-height: 1.5;
}

address {
    font-style: italic;
    margin-bottom: 24px;
}

abbr[title] {
    border-bottom: 1px dotted #2b2b2b;
    cursor: help;
}

b,
strong {
    font-weight: 700;
}

cite,
dfn,
em,
i {
    font-style: italic;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

p {
    margin-bottom: 24px;
}

code,
kbd,
tt,
var,
samp,
pre {
    font-family: monospace, serif;
    font-size: 15px;
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    line-height: 1.6;
}

pre {
    border: 1px solid rgba(0, 0, 0, 0.1);
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    margin-bottom: 24px;
    max-width: 100%;
    overflow: auto;
    padding: 12px;
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

blockquote,
q {
    -webkit-hyphens: none;
    -moz-hyphens:    none;
    -ms-hyphens:     none;
    hyphens:         none;
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

blockquote {
    color: #767676;
    font-size: 19px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.2631578947;
    margin-bottom: 24px;
}

blockquote cite,
blockquote small {
    color: #2b2b2b;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

blockquote em,
blockquote i,
blockquote cite {
    font-style: normal;
}

blockquote strong,
blockquote b {
    font-weight: 400;
}

small {
    font-size: smaller;
}

big {
    font-size: 125%;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

dl {
    margin-bottom: 24px;
}

dt {
    font-weight: bold;
}

dd {
    margin-bottom: 24px;
}

ul,
ol {
    list-style: none;
    margin: 0 0 24px 20px;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin: 0 0 0 20px;
}

img {
    -ms-interpolation-mode: bicubic;
    border: 0;
    vertical-align: middle;

}

figure {
    margin: 0;
}

fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 24px;
    padding: 11px 12px 0;
}

legend {
    white-space: normal;
}

button,
input,
select,
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
    font-size: 100%;
    margin: 0;
    max-width: 100%;
    vertical-align: baseline;
}

button,
input {
    line-height: normal;
}

input,
textarea {
    background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table,
th,
td {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin-bottom: 24px;
    width: 100%;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}

th {
    border-width: 0 1px 1px 0;
    font-weight: bold;
}

td {
    border-width: 0 1px 1px 0;
}

del {
    color: #767676;
}

hr {
    background-color: rgba(0, 0, 0, 0.1);
    border: 0;
    height: 1px;
    margin-bottom: 23px;
}

/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See http://core.trac.wordpress.org/ticket/25898.
 */
::selection {
    background: #24890d;
    color: #fff;
    text-shadow: none;
}

::-moz-selection {
    background: #24890d;
    color: #fff;
    text-shadow: none;
}



/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 14px/1.4 "Quicksand", "Open Sans", Helvetica, Arial, sans-serif;
	color:#444;
}

body,
html{
    height: 100%;

}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}

.clear{
    clear: both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
    height: auto;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border-color:#04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* page */
#page {
	margin:0 auto;
	position:relative;
	min-width:1024px;
	height: 768px;
	background:#FFF;
}


/* header */
.header {
    height: auto;
    background: #000;
    text-align: center;

    position: relative;
    margin-bottom: 10px;
}

.header .language{
    position: absolute;
    top:5px;
    left:5px;
    color:#fff;
    z-index: 10;
    text-transform: uppercase;

}

.header .language a{
    color:#CCC;
}
.header .language a:hover{
    color:#fff;
}
/* logo */
.logo {

    display: block;
    padding-top: 2rem;
}
.searchwrap{
    text-align: left;
}
.searchwrap .search-input{

    border-color:#000;
    padding-left:20px;
    background: url(img/icon-search.png) left center no-repeat #fff;
    color:#6c6d70;
    border-radius: 5px;
}

.searchwrap .search-input:focus{
    background-color: #fFf;
}

.searchwrap .search-submit{
    background: #000;
    color:#fff;
    border:1px solid #6c6d70;
}
.searchwrap{
    position:absolute;
    top:0; right:5px;
}

.searchwrap .search-input{
    background: url(img/icon-search.png) right center no-repeat #000;
}

.searchwrap .search-input:focus{
    background: url(img/icon-search.png) left center no-repeat #fff;
}


.searchwrap .search-submit{
    display:none;

}

.contactwrap{
    position: absolute;
    right: 5px;
    bottom:5px;
}



/* nav */
/* Navigation Menu */




.main-navigation ul.nav-menu,
.main-navigation div.nav-menu > ul {
    list-style: none;
    margin:0;
    padding:0;
    display:none;

}
.main-navigation ul.nav-menu.toggled-on,
.menu-toggle {
    display: block;
    padding-left: 10px;
}

.main-navigation ul.nav-menu.toggled-on ul{
    display: block;
}




.main-navigation li:nth-child(3){

}



.main-navigation li ul{
    display:none;
}
.main-navigation a {
    color: #fff;
}
.main-navigation a:hover {
    color: #fbaf40;
}

.menu-toggle {
    display: block;
    text-align: left;

    margin:0;
}

.menu-toggle img{
    padding:2px;
    cursor: pointer;
}

.menu-toggle:hover{
    color:#939597;
}

.menu-toggle.toggled-on{


}
.home-menu{

    padding:0 20px;
    position:absolute;
    left:0;
    right: 0;
    bottom: 100px;
    margin:0 auto;

}

.home-menu ul{
    display:block;
    list-style: none;
}

.home-menu ul li{
    text-align: center;
    display: inline-block;
    padding: 0 20px;
}

.home-menu ul li ul{
    display: none;
}
.home-menu ul li a{
    color:#fff;
}



.main-content{
  padding:10px;
}

.main-navigation li.logo {
    display:none;

}

.main-navigation li {
    text-align: left;
    padding:0;
    margin:0;
}

/* sidebar */
.sidebar {
    padding:10px;

}
/* footer */
.footer {

}


.wrapper{

    max-width: 1200px;
    margin:0 auto;

}

article.wrapper{
    max-width: 900px;
}


/*------------------------------------*\
    Entry content
\*------------------------------------*/

.entry-content{
    margin:0;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

body{
    background: #000;
}

body.template-home #page{
	background:#000;
}
/*
body.template-home .wrap-slider{
    position: absolute;
    top:70px;
    bottom:0;
    left: 0;
    right: 0;

}
*/

body.template-home .slider{
    position: relative;
    width: 100%;
    height:100%;

}

body.template-home .controls{
    opacity: 0.6;
}

body.template-home .controls:hover{
    opacity: 1;
}
body.template-home .slick-div{
    width: 100%;
    height: 100%;
}
body.template-home .slick-div .item{
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover ;
    position: relative;
}

body.template-home .slick-div .item img,
body.template-home .slick-div .item iframe{
    width: 100%;
    height: auto;
}

body.template-home .slick-div .item iframe{
    height: 100%;
    height: calc(100% - 35px);
}

body.template-home .slick-div .item:hover a.venobox{
    background: rgba(0,0,0,0.8);
}
body.template-home .slick-div a.venobox{
    display: inline-block;
    width:100px;
    background: #000;
    background: rgba(0,0,0, 0.6);
    border-radius: 3px;
    color:#fff;
    line-height: 30px;
    position: absolute;
    padding:0;
    top:30px;
    right:10px;
    z-index: 10;
    margin-top: -15px;
    margin-left: -50px;
    text-align: center;
    box-shadow: 2px 2px 1px #646464;

}

body.page-id-332 .bottom{
	display:none;
}

body.page-id-332 .dinamic-content{
	bottom:0 !important;
}


#primary .wrapper{
    z-index: 99;
    position:relative;
}

#gallery, #gallery-formacion{

    bottom:0;

}


#gallery-talleres{
    height: auto;

}
#gallery-talleres .main-thumbnail{
    display: block;
    width: 100%;
}

#gallery-talleres .main-thumbnail img{
    width: 100%;
    height: auto;
}

#gallery .cartel{
    padding: 0 10px;
}

#gallery .obras{
    padding:0;
}

#gallery .slick-div .item{
    height: 100%;
    background-position: center center;
    background-size: cover ;
    position: relative;
}

#gallery .slick-div.carteles .item{
    margin: 0 5px;
}

#gallery .slick-div.carteles .item a.venobox{



    padding:3px;
    position:absolute;
    top:0;
    right: 0;
    bottom:0;
    left: 0;

}



#gallery .slick-div.carteles .item:hover a.venobox,
#gallery .slick-div:hover a.venobox{
    display: block;
}




#gallery .item a.goto,
.convocatoria a.venobox{
    position: absolute;
    top:0;
    left:0;
    right: 0;
    bottom:0;
    background:none;
}

#primary .docs{
    padding:10px 20px;

}

#primary .docs .item{
    line-height: 40px;
    background: url(img/bg-item-docs.png) left bottom no-repeat;
}

#primary .docs .item:hover{
    background-size: 40px 8px;
}

#primary .docs .item:last-child{

}

.postnav{
    font-size: 1.8rem;
}

.postnav ul{
    margin:0;
    padding:0;
    list-style: none;


}

.postnav ul li ul{
    font-weight: normal;
}



.entry-title{
    margin:0;

}
#gallery-formacion .page-title{
    margin: 0;
    padding: 0;
    color:#fff;
    font-size:4.8rem;
    font-weight: normal;

}

.part {
    padding:20px;
}
.part-1{
    display: none;
}

.side .title{
    font-weight: bold;
}

.postnav .side .child{
    font-size: 1.6rem;
}

.postnav .side .child li{
    margin-bottom:5px;
}

.postnav .side .current_page_item a,
.postnav .side a:hover{
    font-weight: bold;
    color:#356a6f;
}

body.section-karpa .postnav .side .current_page_item a,
body.section-karpa .postnav .side .current a,
body.section-karpa .postnav .side a:hover{
    color:#c35635;
}

/*------------------------------------*\
    slider pages
\*------------------------------------*/

.dinamic-content{
    min-height: 400px;
    background: #000 ;
}
#slides{
    position: relative;
    max-width: 1200px;
    margin:0 auto;
}

#slides .controls, body.template-home .controls{
    position: absolute;
    top: calc(50% - 22px);
    font-size: 18px;
    display: inline-block;
    color:#fff;
    width: 100%;
    z-index: 98;
}



#slides .ant, .controls .ant{
    cursor: pointer;
    position: absolute;
    left:5%;
    -webkit-transform: rotate(180deg);-moz-transform: rotate(180deg);-ms-transform: rotate(180deg);-o-transform: rotate(180deg);transform: rotate(180deg);
}

#slides .sig, .controls .sig{
    position: absolute;
    right:5%;
    cursor: pointer;
}


#slides .repertorio{
    position:absolute;
    top:0;
    height: 30px;

    width:100%;
}
#slides .repertorio .wrapmark{
    padding-top:10px;
    margin-top:-10px;
    background: url(img/bg-mark-repertorio.png) left top no-repeat;
}
#slides .repertorio .mark{
    display: inline-block;
    line-height: 32px;
    padding:0 0px 0 10px;
    text-transform: uppercase;
    background: #00444b;
    color:#fff;
}
#slides .repertorio .mark a{
    color:#fff;
}
#slides .repertorio .mark span{
    padding: 0 5px;
    background: #000;
    display:inline-block;

}

#slides .item.materia a{
    color:#000;
}

#slides .item.materia:hover{
    background: url(img/bg-item-materia.png) 5% 95% no-repeat #d0d0d2;
}
#slides .item.materia {

    width: calc(50% - 14px);
    display: inline-block;
    margin-right: 10px;
    margin-bottom:10px;

    height: 200px;
    overflow: hidden;
    background: #a0ac83;
    background: rgba(160,172,131,0.5);
    color:#000;

}

#slides .loaded {
    position: fixed;
    top:85px;
    left:0;
    right: 0;

    padding: 0 20px;
    display:none;
    background: #1d1d1d;
}

#slides .loaded .close{
    display: inline-block;
    position: absolute;
    right: -20px;
    top:2px;
    width: 30px;
    height: 30px;
    background: url(img/icon-close-white.png) center center no-repeat;
    z-index: 999;
    cursor: pointer;

}
#slides .loaded .content {
    position: relative;
    top:0;
    left:0;
    right: 0;
    bottom:0;


}

#slides .item.talleres{

    width: 80%;
    width: 80%;
    border:1px solid #000;
    margin:0 auto;

}

#slides #thumbnails{

    display: none;
}


#slides .item.talleres .entry-title, #slides .item.talleres .content{
    padding:4px;
    max-height: 200px;


}

#slides .item.talleres .entry-title{
    font-size: 1.8rem;
    padding-bottom:0;
}



#slides .cartelera .item,
#slides .materia {
    background: #1d1d1d;
}

#slides .cartelera .content,
#slides .materia .content{
    max-height: 100%;
    overflow: hidden;
}
#slides .cartelera .item .thumbnail,
#slides .materia .item .thumbnail{

    position:relative;
    background-size: cover;
    height: 300px;

}
#slides .cartelera .item .content,
#slides .materia .item .content{
    position:relative;

    background: #fff;
    padding:20px;

}




.talleres .section-title{
    margin:0;
    padding: 4px 5px;
    color:#fff;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 2.9rem;
}

.permanentes .section-title{
    background: #c12026;

}
.permanentes article{
    border-bottom:7px solid #c12026;
}
.especiales .section-title{
    background: #692b79;
}
.especiales article{
    border-bottom:7px solid #692b79;
}
.ninos .section-title{
    background: #be882c;
}
.ninos article{
    border-bottom:7px solid #be882c;
}


.postwrap article{
    margin-right: 20px;
}




body.no-gallery .slides{
    background: #000;
}

#docentes{
    background: #8e9c6b;

}

#docentes .entry-content,
#docente .entry-content{
    padding: 10px;
}

#docentes .entry-title,
#docente .entry-title{
    padding: 0 10px;
}

#docentes #no-gallery-wrap{
    margin-bottom:0;
}

#docentes .names a{
    color:#000;
}

#docentes .names a:hover{

    text-decoration: underline;
}

#docentes .names .page-title{
    color:#000;
}

#docentes .names ul{
    list-style: none;
    margin:0;
    padding: 0;
}

#docentes .names ul li{
    display: inline-block;
    width: calc(50% - 20px);
}


.suscribe-link a{
    color:#c35635;
    font-size: 1.2rem;
    padding:0;
    margin:0;
    line-height: 1.2;
    display: block;
    margin-top:-5px;
    padding-left: 20px;
}

.ajax-loading{
    position:fixed;
    text-align: center;
    top: 45%;
    right: 50%;
    right: calc(50% - 50px);
    width:100px;
    height: calc( 50% - 35px);
    height:70px;
    color:#fff;
    font-size:1.4rem;
    line-height:70px;
    background:rgba(0,0,0, 0.7);
    z-index: 999;
    border-radius: 5px;
}

.ajax-loading.hide{
    display:none;
}

/*------------------------------------*\
    RESPONSIVE (removed for )
\*------------------------------------*/

/* @media only screen and (min-width: 500px){ */
    #slides .item.talleres{

        width: 50%;
        width: calc(33% - 2px);
        border:1px solid #000;
        float: left;
    }

/*} */
/*@media only screen and (min-width:700px) {*/

    #page{
        overflow: hidden;
    }

    .header{
        height: 72px;
    }

    .logo {
        display: none;
    }




    .main-navigation {

        text-transform:uppercase;
        height: 40px;
        line-height: 40px;
        color:#fff;

    }
    .main-navigation{

        position: relative;
        height: 70px;
    }
    .menu-toggle {
        display: none;
    }

    .main-navigation ul.nav-menu,
    .main-navigation div.nav-menu > ul {

        list-style: none;
        margin:0;
        padding:0;
        display:block;
        width: calc(100% - 50px);
        position:absolute;
        bottom:0;
        line-height: 25px;



    }

    .main-navigation li {
        font-size: 1.2rem;
        display:inline-block;
        padding: 0 12px 0 5px;
        background: url(img/bg-menu-header.png) 100% center no-repeat;

    }

    .main-navigation li ul li{
        background: none;
        float:left;
    }

    .main-navigation li ul li ul{
        margin:0;
        padding:0;

    }

    .main-navigation li.logo {
        vertical-align: bottom;
        max-width: 20%;
        height: 25px;
        padding: 0 5px;
        position: relative;
        display: inline-block;


    }

    .main-navigation li.logo img{
        max-width: 100%;
        margin-top: -20px;


    }

    .main-navigation li:hover:not(.logo) a{
        color:#000;
    }


    .main-navigation li:hover:not(.logo){
        background-color: #b3c7c9;
    }


    .main-navigation li:hover ul{
        z-index: 99;
        display: block;
        position: absolute;
        background: #b1c6c9;
        width: 100%;
        left:0;
        padding:20px;
        text-align: left;
        z-index: 100;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        -webkit-box-shadow: 0px 2px 3px 0px #000;
        -moz-box-shadow:    0px 2px 3px 0px #000;
        box-shadow:         0px 2px 3px 0px #000;

    }

    .main-navigation li:hover ul li{
        background: url(img/bg-submenu.png) 100% top no-repeat;
        line-height: 1.3;
        padding:0 22px;
        font-weight: bold ;
        max-width: 200px;
    }

    .main-navigation li:hover ul ul{
        display: block;
        margin:0;
        padding: 0;
        position: relative;
        text-transform: none;
    }

    .main-navigation li:hover ul ul li{
        padding:0;
        margin:0;
        background: none;
        line-height: normal;
        font-weight: normal;
        width: 100%;
    }

    main{

    }
    .main-content{
        float:left;
        width: 68%;
        margin-top:20px;
    }

    .sidebar{
        float: right;
        margin-top:20px;
        width: 27%;
    }

    .dinamic-content{
        overflow: hidden;
        position: absolute;
        top: 85px;
        left: 0;
        right: 0;
        bottom: 180px;
    }

    body.template-talleres .dinamic-content{
        position:relative;
        top:auto;
        bottom:auto;


    }
    body.template-talleres{
        min-height: 100%;
        height: auto;
    }
    body.template-talleres #page{
        margin-bottom: 180px;

    }



    body.template-talleres .postwrap{
        background: #e5e5e5;

    }
    .postwrap{

        overflow: hidden;
        height:160px;

        position: relative;
        padding:10px;
        z-index: 3;

        background: #fff;
        border-radius: 10px;
    }
    .postwrap article{
        height: 145px;
        overflow: hidden;
        padding-right: 15px;
    }

    body.page-template-template-talleres-php .postwrap article{

    }

    .bottom{
        position:absolute;
        bottom:0;
        height:180px;
        left:0;
        right:0;
        background: #fff;

    }

    .nobottom , .nobottom a{
        color:#fff;
    }

    .bottom .social{
        position: absolute;
        top:0;
        right: 0;
        bottom:0;
        width: 30px;

    }
    .bottom .social img{
        padding: 3px;
    }
    .part{
        float:left;
        padding:0;

    }
    .part-1{
        display: block;
        width: 15%;
    }
    .part-2{
        width:35%;
    }

    body.page-template-template-talleres-php .part-2{
        margin-left: 100px;
    }

    .part-3{

        width: 50%;
    }


    .postwrap .wraptoggle{
        display: block;
        width: 30px;
    }
    .postwrap .toggle{
        display: block;
        width: 30px;
        height: 25px;
        cursor: pointer;
        position: absolute;
        right:1px;
        top:5px;
        border-top:2px dashed #6c6c70;
        background: url('img/icon-open.png') center center no-repeat;
        background-size: 20px 20px;


    }





    .postwrap .toggle.open{
        background: url('img/icon-close.png') center center no-repeat;
        background-size: 20px 20px;
    }

    .postwrap.show{
        margin-top: -300px;
        height: 460px;
    }

    body.page-template-template-talleres-php .postwrap.show article{

        height: 380px;
    }

    .postwrap.show article{

        height: 445px;

    }


    .postnav{
        width: calc(100% - 20px);
    }

    .postnav {
        width: calc(100% - 20px);
    }

    .postnav .side{
        width: 33.33%;
        float:left;

    }

    .postnav .side.full{
        width: 100%;
        float:none;
    }
    .postnav .side .title{
        display:block;
        line-height: 35px;
        background: url(img/bg-menu-red.png) 98% center no-repeat;
        overflow: hidden;
        padding-left: 10px;
        height: 35px;
        overflow: hidden;
        margin:0;

        font-weight: bold;
        position: relative;
    }

    .postnav .side.full .title{
        display: inline-block;


        padding-right: 20px;
    }

    .postnav .side.full ul li{
        width: 30%;
        width: calc(30% - 14px);
        display: inline-block;
        margin-right: 20px;
        margin-right: 20px;
		height: 30px;
		overflow: hidden;
		font-size: 1.3rem;
    }

    .postnav .side.full ul li.current a{
        color:#8e9c6b;
    }

    .postnav .side .title:hover a.more{
          display: block;
    }

    .postnav .side .title a.more{
        position: absolute;
        right:12px;
        top:5px;
        display: none;
        width: 24px;
        height: 24px;
        display:none;
        line-height: 2.4rem;
        background: url(img/icon-plus.png) center center no-repeat;
    }

    .postnav .side.current .title a.more{
        display: block;
        background: url(img/icon-minus.png) center center no-repeat;
    }

    .postnav .side .title a.more img{
        vertical-align: middle;
    }


    .postnav .side.current{
        background: #d8d8d8;
    }




    .postnav .side:last-child .title{
        background: none;
    }


    .postnav .side .child{

        height: 145px;
        margin:0;
        line-height: 1.3;
        padding: 0 5px 0 10px;


    }


    #slides .cartelera .item,
    #slides .materia {
        background: #1d1d1d;
    }

    #slides .cartelera .content,
    #slides .materia .content{
        max-height: 90%;

    }
    #slides .cartelera .item .thumbnail,
    #slides .materia .item .thumbnail{

        position:absolute; left:0; right: 60%; top:15px; bottom:15px;
        background-size: cover;
        height: auto;

    }
    #slides .cartelera .item .content,
    #slides .materia .item .content{
        position:absolute; left:40%; right: 0; top:15px; bottom:15px;

        background: #fff;
        padding:20px;

    }



    #slides .item.materia {

        width: calc(25% - 14px);
        display: inline-block;
        margin-right: 10px;
        margin-bottom:10px;

        height: 200px;
        overflow: hidden;
        background: #a0ac83;
        background: rgba(160,172,131,0.5);
        color:#000;

    }

    #slides .item.talleres{
        float:left;
        width:25%;
        width: calc(25% - 2px);
        border:1px solid #000;



    }

    #slides #thumbnails{
        min-height: 400px;
        border:none;
        display: block;
    }

    #slides .item.materia a{
        color:#000;
    }
    #slides .item.materia .content{
        padding:10px;
    }

    #slides .item.materia .entry-title{
        padding:0;
        margin:0;
    }


    body.no-gallery{
        height:auto;
        min-height: 100%;

    }
    #no-gallery-wrap{
        margin-bottom:180px;
        min-height: 500px;
    }

    #no-gallery-wrap figure{
        text-align: center;
        margin:0 auto;
    }

    #no-gallery-wrap img{
        max-width: 100%;
        height: auto;

    }

    body.no-gallery .bottom{
        position: fixed;
        z-index:99;
    }

    #docentes .load-content{


    }


    #docentes .names{
        position:absolute; left:0; right: 60%;bottom:0; top:0
    }

    #docentes .detalle-docente{
        position:absolute; left:40%; right: 0%;bottom:10px; top:10px; background: #fff; overflow: hidden;

   }

    #docentes .load-content{
        overflow: auto;
    }
/*} */

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

.hide{
    display: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:0
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

