/*
Theme Name: morlax_escueladesaludgallego
Author: Tomas L.R
Version: 1.0.0
*/
::selection { background:rgb(219, 216, 212); color:#000; }
::-moz-selection { background:rgb(219, 216, 212); color: #000; }


@font-face {
    font-family: Cinzel;
    src: url("includes/fonts/Cinzel-Regular.otf") format("opentype");
}

@font-face {
    font-family: Cinzel;
    font-weight: bold;
    src: url("includes/fonts/Cinzel-Bold.otf") format("opentype");
}

.content-single-title{
    margin-bottom: 20px;
    color: rgb(123, 39, 149);
}
.mayusculas{
    text-transform: uppercase;
}
.firma_Entrada{  text-align: right;}
body {
    word-wrap: break-word;
    background-size: cover;
    background-attachment: fixed;
    overflow-y: scroll;
    background-image: url("includes/resources/media/fondo_defecto.jpg");
    margin-top:50px;
    zoom:0.8;
}
.main-content .container {
    padding-bottom: 0px;
}
/*.main-content{zoom:0.9; zoom:90%}*/
ul#main-menu {
    text-transform: uppercase;
}
#page_frame{
    background-color: rgba(255, 255, 255, 0.90);
    /*   -webkit-border-radius: 20px;
       -moz-border-radius: 20px;
       border-radius: 20px;
    */
}
footer#colophon {
    text-align: left;
}
footer#colophon .row{
    background: rgba(255, 255, 255, 0.88);
    /*padding: 1em;*/
}
footer .site-info{
    color: rgb(123, 39, 149);
    text-transform: uppercase;
    margin: 0px 0px 25px 25px; 
    font-size: 1.2em;
}
ul#social_Menu{
    padding:0px;
}


#social_Menu li > a > span{
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
#social_Menu li > a{
    display: inline-block;
    max-height:50px;
    max-width:50px;
}
.dropdown-menu>li>a{
    font-weight:300;
}
.navbar-nav>li>.dropdown-menu {
    margin-top: 4px;
}
/*a {
    background: #47713a url("includes/resources/media/reflejo_boton.png") no-repeat;
}*/

ul#social_Menu li{
    display: inline-block;
    margin: 0px 5px 5px 0px; 
}

.social{
    background: #47713a url("includes/resources/media/reflejo_boton.png") -10px -20px no-repeat;
    padding: 10px;
    color:white; 
}
.social:hover{
    background: rgb(123, 39, 149);
}
.boton_N{
    background: #47713a url("includes/resources/media/reflejo_boton.png") -10px -20px no-repeat;
    color: #FFFFFF;
    display: inline-block;
    height: 2em;
    min-width: 5em;
    margin: 10px;
    line-height: 2em;
    text-align: center;
}
.boton_N:hover,.boton_N:focus  {
    cursor:pointer;
    color:#fff;
    text-decoration: none;
    background-color:rgb(123, 39, 149);
}
#scroll_Arriba.ver {
    visibility: visible;
    cursor: pointer;
    opacity: 1.0;
}
#scroll_Arriba{
    background: #47713a url("includes/resources/media/reflejo_boton.png") -10px -20px no-repeat;
    /* position: fixed;
     right: 10px;
     height: 40px;
     width: 40px;
     bottom: 10px;
     text-align: center;
     line-height: 40px;
     color: #fff;
     z-index: 9999;*/

    color: #fff;
    position: fixed;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    z-index: 99999999;
    width: 40px;
    height: 40px;
    line-height: 40px;

    right: 10px;
    bottom: 10px;
    transition: all 0.1s ease-in-out;
}
#scroll_Arriba:hover{
    cursor:pointer;
    background-color:rgb(123, 39, 149);
}
div.linea_Documento{
    /*margin-bottom: 5em;
    min-height:136px;*/
    margin-bottom: 3em;
    min-height: 175px;
    overflow:hidden;
}

div.linea_Documento h3{
    margin-top:0px;
}
a.leer_Documento{
    margin-top: 20px;
    background: #47713a;
    display: inline-block;
    text-align: center;
    height: 50px;
    padding: 0px 16px 0px 16px;
    line-height: 50px;
    color: white;
    text-decoration: none;
    font-size: 1em;
}
a.leer_Documento:hover{
    background-color:rgb(123, 39, 149);
}

.site-header-inner img{
    /* -webkit-border-top-left-radius: 20px;
     -webkit-border-top-right-radius: 20px;
     -moz-border-radius-topleft: 20px;
     -moz-border-radius-topright: 20px;
     border-top-left-radius: 20px;
     border-top-right-radius: 20px;*/
}

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}
.aligncenter {
    clear: both;
    display: block;
    margin: 0 auto;
}
#contenedor_Principal{
    font-size: 1.7rem; 
    font-weight: 300;
    word-spacing: 5px;
}


/* Images and wp-captions should always fit and be responsive */
img {
    display: inline-block;
    height: auto;
    max-width: 100%;
}
img[class*="wp-image-"] {
    margin-top: 10px;
    border: 1px solid rgb(123, 39, 149);
    margin-bottom: 10px;
}
.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}
.wp-caption.aligncenter {
    margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
}
.wp-caption .wp-caption-text {
    text-align: center;
    margin-top: 10px;
}

/* WP Gallery */
.gallery {
    margin-bottom: 1.5em;
}
.gallery a img {
    border: none;
    height: auto;
    max-width: 90%;
}
.gallery dd {
    margin: 0;
}
.gallery-caption {
    display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
    padding: 0em 2em 2.5em 2em;
    margin-top: -25px;
}

.hiddenText{
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    color: transparent;
    font-size: 0px;
}
.site-header-inner{position:relative;}
#botones_Cabecera{
    background: rgba(221, 114, 50, 0.28);
    padding: 5px 7px 5px 15px;
}
#botones_Cabecera button,
#botones_Cabecera a{
    height:40px;
    width:40px;
    outline: none;
    background-color:transparent;
    border:0px solid transparent;
    padding: 0px;
    transition:         background .25s ease-in-out;
    -webkit-transition: background .25s ease-in-out;
    -moz-transition:    background .25s ease-in-out;
    -o-transition:      background .25s ease-in-out;
}
#btns_Derecha{
    display: inline-block;
}
.widget_categories li{
    display: inline-block;
    background: #47713a;
    margin-right: 10px;
    margin-bottom: 10px;
}
.widget_categories li.active > a{
    background: rgb(123, 39, 149);
}
.widget.widget_categories{
    text-align:center;
    margin:1.3em 0px 2em 0px
}
.taxonomy-description {
    margin-bottom: 2em;
}
#contenedor_Principal > #contenido{
    margin-bottom: 0em;
    margin-top: 1em;
}
.widget_categories li > a{
    font-weight:300;
    color:#fff;
    text-decoration: none;
}
.pager li>a, .pager li>span{
    font-weight:300;
}
.widget_categories li:not(.active) > a:hover{
    text-decoration: none;
    background-color: #883D9F;
    color: #FFF;
}
#btns_Derecha ul#derecho{
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align: center;
    display: inline-block;
}
#caja_Busqueda{
    display: inline;
    float: left;
}

#frases_Celebres > div {
    text-align: center;
    font-size: 17px;
    color: rgb(123, 39, 149);
    padding: 10px;
    border: 1px solid #47713a;
    width: 169px;
    min-height: 170px;
    margin-left: 5.9rem;
}

#frases_Celebres > div > p{
    font-size: 15px;
    margin-top: 20px;
    font-weight: 800;
}
p{
    font-weight:300;
}

#botones_Cabecera ul#derecho > li > a{
    background: #47713a url("includes/resources/media/blog.png") 0px 1px;
    display: inline-block;
    float: left;
}

#botones_Cabecera  ul#derecho > li.active > a{  
    background: #7B2795 url("includes/resources/media/blog.png") 0px 39px;
}
#btn_PlayStop{
    height: 37px;
    width: 37px;
    outline: none;
    background-color: transparent;
    border: 0px solid transparent;
    padding: 0px;
    transition: background .25s ease-in-out;
    -webkit-transition: background .25s ease-in-out;
    -moz-transition: background .25s ease-in-out;
    -o-transition: background .25s ease-in-out;
    margin-top: 8px;
    float: right;
}
.stop{
    background: url(includes/resources/media/playPause.png) -1px 0px, url(includes/resources/media/reflejo_boton.png) -10px -20px no-repeat !important;
    background-color: #7B2795 !important;
}
.play{
    background: url(includes/resources/media/playPause.png) -1px 38px, url(includes/resources/media/reflejo_boton.png) -10px -20px no-repeat !important;
    background-color: #47713a !important;
}

/*#search{ margin-top: -20px; }*/
#search input[type="search"]{
    /*height:40px;*/
    border: 1px solid #47713a;
    font-weight:300;
}
.navbar-default .navbar-nav > li > a{
    font-weight:300;
}
#searchButton, .contact-submit input[type="submit"]{
    text-decoration: none;
    font-weight: 600;
    color: #FFF;
    background: #47713a url("../../media/reflejo_boton.png") no-repeat;
    margin-right: 2px;
    border: 1px solid transparent;
}
/*img.leer_Documento.alignleft.wp-post-image {
  max-width: 300px;
  max-height: 188px;
  width: auto;
  height: auto;
}*/

div.linea_Documento img {
    max-width: 300px;
    width: 100%;
    margin-bottom: 1.5em;
}
@media (max-width: 991px){
    ul#menuLateral li{
        display: inline-block;
        width: 24%;
        margin-left: 1%;
    }
    ul#menuLateral{
        margin-top:4em !important;
    }
    #search, #caja_Busqueda{
        width:95%;
    }
}
@media (max-width: 610px){
    ul#menuLateral a{
        height: 100px !important; 
        width: 100px !important; 
    }
}
@media (max-width: 580px){
    ul#menuLateral li  > a{
        width: 77px !important;
        height: 77px !important; 
    }
    #caja_Busqueda{
        margin-top:1em;
    }
}

ul#menuLateral > li > a {
    background-color: #7B2795;
}
ul#menuLateral > li:not(.active) > a {
    /*background-color: #47713a;*/
    background-color: #47713a;
    /*border: 1px solid rgba(123, 39, 149, 0.49);*/
}

.ocultar {
    top: -200px !important;
}
.mostrar{
    -webkit-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.5);
    -moz-box-shadow:    0px 3px 20px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 3px 20px rgba(0, 0, 0, 0.5);
}
#menu_principal{
    transition: all 0.5s ease-in-out;
}
/*
.cabecera_Ancha{    
    position: fixed !important;
    transition: all 0.5s ease-in-out;
    top: 0;
    width: 100%;
}*/

ul#menuLateral .articulos > a:hover{}
ul#menuLateral .videos > a:hover{}
ul#menuLateral .galeria > a:hover{}

ul#menuLateral{
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align:center;
    margin-top:1em;
}

ul#menuLateral > li{
    margin-bottom: 10px;

}
ul#menuLateral > li > a{
    position: relative;
    display: inline-block;
    padding: 10px 15px;
    max-width: 170px;
    height: 170px;
    transition: all 0.2s ease-in-out;
}
.navbar-default .navbar-toggle{
    transition: all 0.2s ease-in-out;
}
.navbar-default .navbar-toggle:hover {
    border: 2px solid #7B2795 !important;
}

.navbar-default .navbar-toggle {
    color: #fff !important;
    background: transparent !important;
    width: 53px !important;
    border: 2px solid #47713a !important;
    position: absolute !important;
    left: 90% !important;
}
.navbar-default .navbar-toggle > .icon-bar {
    background-color: #47713a !important;
    transition: all 0.2s ease-in-out;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
    background-color: #7B2795 !important;
}
ul#menuLateral > li > a:hover{
    /*background-color:#B59ABE;*/
    transition: all 0.2s ease-in-out;
}
.sidebar .articulos > a{
    background: url("includes/resources/media/articulos.png"), url("includes/resources/media/reflejo_boton.png");
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}

.sidebar .blog > a{
    background: url("includes/resources/media/blog.png"), url("includes/resources/media/reflejo_boton.png");
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}

.sidebar .videos > a{
    background: url("includes/resources/media/videos.png"), url("includes/resources/media/reflejo_boton.png");
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}

.sidebar .galeria > a{
    background: url("includes/resources/media/galeria.png"), url("includes/resources/media/reflejo_boton.png");
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
}


.hentry {
    margin: 0 0 1.5em;
    padding: 10px 10px 0px 10px;
    font-weight: 400;
}

@media screen and (min-width: 800px) {
    .hentry {
        text-align: justify;
        text-justify: inter-word;
    }
}

.sticky {
    display: block;
}
.bypostauthor {
    display: block;
}


/* Clearing */
.clear {
    clear: both;
}

/* Navigation */

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
    display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
    max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
.comment .children { margin-left: 1.5em; }

/**
* Some WP Theme Repository requirements
*/

.sticky {
}

.gallery-caption {

}
.page-title{
    text-align: left;
    border-bottom: 2px solid #883da0;
    padding-bottom: 0.5em;
    font-size: 3rem;
    font-weight:300;
}
b, strong{
    font-weight:400;
}
.page-title:first-letter{
    color: #7B2795;
    font-size: 1.5em;
}
.bypostauthor {

}
.entry-date {
    font-weight: bold;
}
.sharedaddy.sd-sharing-enabled {
    text-align: right;
    margin: 2em 0em 2em 0em;
}
.entry-meta {
    margin-bottom: 2em;
    font-size: 0.8em;
    clear: both;
    padding-bottom: 2em;
}
.border-bottom{
    margin-top: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgb(123, 39, 149);
}


/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
        display: none;
}
*/

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */

/*
.infinity-end.neverending .site-footer {
        display: block;
}
*/



.site-navigation {
    position: fixed;
    width: 100%;
    top: 0;
    z-index:9999;
    -webkit-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.5);
}

/*Tabs*/
.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: #883da0;
    color: white;
}
/*Desplegables*/
.panel-default > .panel-heading {
    color: #fff;
    /*background-color: #7b2795;*/
    background: #47713a url("includes/resources/media/reflejo_boton.png") -10px -20px no-repeat;
    border-color: #ddd;
}