/* -------------------
 * SINGERFY CUSTOM CSS
 * Singerfy Theme by Unai Maluenda
 * ------------------------------------
 */

/* Singerfy Theme Globals 

main-color: #b11572;
main-color_dark: #892074;
main-color_light: #df4379;
main-color_lighter: #ffdde9;

*/

body{
    font-family: 'Lato', sans-serif;
    overflow-x: hidden;
    display: block; 
}
/* Globals */
h1{font-size: 2em; margin-bottom: .3rem; color: #5ab4d4;}
h2{font-size: 1.6em; margin-bottom: .2rem; color: #5ab4d4;}
h3{font-size: 1.5em; margin-bottom: .1rem; color: #5ab4d4;}
h4{font-size: 1.4em; margin-bottom: .1rem;}
h5{font-size: 1.3em; margin-bottom: .1rem;}
h6{font-size: 1.2em; margin-bottom: .1rem;}
blockquote{
}
p{ margin-bottom: .8rem;}
img{
    max-width: 100%;
    height: auto;
}
img.alignleft{ float:left; }
img.alignright{ float:right; }

#menu-main-menu ul { min-width: 18rem;}

#menu-main-menu ul ul{
    display: block;
    position: relative;
    padding: 0;
    margin: 0;
    top: 0;
    border: none;
    font-size: .9rem;
}
#menu-main-menu ul ul li{
    margin-left: 12px !important;
}


/* Header */
.before-header{
    text-align: right;
    background: #888fb0;
    padding-bottom: 12px;
}
.before-header .before-header-top{
    background-color: #fff;
    background-image: url(../images/before-header-bg.jpg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    padding: 16px;
}
.before-header .before-header-top .logo-dga-wrapper{
    display: block;
    width: auto;
    height: 54px;
    background-image: url('../images/gobierno-aragon-logo.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
}
.before-header ul.menu{
    list-style: none;
    padding: 4px 0;
    margin: 0;
}
.before-header ul.menu li{
    display: inline-block;
    margin-left: 6px;
    color: #fff;
}
.before-header ul.menu li:before{
    content: '|';
    margin-right: 10px;
}
.before-header ul.menu li:first-child:before{
    content: none;
}
.before-header ul.menu li a{
    color: #fff;
}
header.site-header {
    padding: 16px 0;
    display: table;
    width: 100%;
    z-index: 1;
    position: relative;
    -webkit-box-shadow: 0 4px 12px rgba(0,0,0,.4);
    -moz-box-shadow: 0 4px 12px rgba(0,0,0,.4);
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
header.site-header .title-area {
    float: left;
    text-indent: -9999px;
}
header.site-header .title-area {
    float: left;
    text-indent: -9999px;
}
header.site-header .title-area .site-title{
    display: block;
    width: 200px;
    height: 73px;
    margin: 0;
}
header.site-header .title-area .site-title a{
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('../images/elije-tu-profesion-aragon.png') !important;
    background-repeat: no-repeat;
    background-size: contain;
}
header.site-header .header-widget-area{
    display: inline-block;
    float: right;
    padding-top: 54px;
}
header.site-header .header-widget-area nav.nav-primary{
    background-color: transparent !important;
    padding: 0;
}
header.site-header .header-widget-area nav.nav-primary{
    background-color: transparent !important;
    padding: 0;
}
header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu{
    margin: 0;
    padding: 0;
}
header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li{
    font-size: .96em;
    margin-left: 20px;
    font-weight: bold;
}
header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li a{
    color: #1f2b59;
    border-top: 2px dashed #fff;
}

header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li:hover .dropdown-menu{
    display: block;
}

header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li a:hover{
    border-top: 2px dashed #1f3695;
    text-decoration: none;
}
header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li.current-menu-item a,
header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li.current-menu-item a:hover{
    border-top: 2px dashed #1f2b59;
    text-decoration: none;
    cursor: default;
}


body.single-post .site-inner { margin-top: 30px; }

/* Eventos */

/* Home */
.ecs-view-all-events {
    display: none;
}

ul.ecs-event-list .ecs-event {
    list-style: none;
    border-bottom: 1px dashed gray;
    padding: 30px 0;
}

ul.ecs-event-list .ecs-event a {
    color: #1f2b59;
}

ul.ecs-event-list .ecs-event img {
    float: right;
}

/* Páginas */
.tribe-events-back a, .tribe-events-back a:visited,
.tribe-events-meta-group,
.tribe-events-single-event-description.tribe-events-content,
.tribe-common.tribe-common--breakpoint-medium button.tribe-events-c-top-bar__datepicker-button,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-nav__list-item,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-description,
.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-venue,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
    font-family: "Lato" !important;
}
body.single-tribe_events .tribe-events{
    display: none;
}
body.single-tribe_events .tribe-events-schedule {
    display: none;
}
body.single-tribe_events h1.tribe-events-single-event-title{
    margin-bottom: 15px;
    font-family: "Lato", sans-serif;
    font-size: 2em;
    color: #5ab4d4;
    font-weight: initial;
}

body.single-tribe_events #tribe-events-footer{
    display: none;
}

body.post-type-archive-tribe_events  .tribe-events-c-subscribe-dropdown__container{
    display: none;
}

.tribe-*events-content {
    font-family: "Lato", sans-serif!important;
}

/* HomePage Template */
#home-banner-container-wrapper{
    background-image: url('../images/home-banner-container-bg.jpg');
    background-repeat: repeat-x;
    background-position: bottom;
    background-color: #8ed4ed;
}
.home-container-wrapper{}
.home-container-wrapper#home-banner-wrapper{
    background-position: bottom center;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 12px;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper{
    background: rgba(255,255,255,.8);
    margin-top: 95px;
    margin-bottom: 74px;
    padding: 24px;
    min-height: 320px;
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
    -webkit-box-shadow: 0 0 6px 4px rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 6px 4px rgba(0,0,0,.4);
    box-shadow: 0 0 6px 4px rgba(0,0,0,.4);
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper .form-search-home-title{
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    color: #03176b;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper .form-search-time{
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 0 31px;
    color: #041f92;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form{
    position: relative;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form .form-group{
    position: relative;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form #ajax-loader .loading{
    background-image: url(../images/ajax-loader-blue.gif);
    position: absolute;
    left: 15px;
    right: 15px;
    top: 2px;
    bottom: 2px;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #041f92;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form .form-group{
    margin-bottom: 1.2rem;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form select{
    color: #fff;
    background: #041f92;
    font-size: 1.2em;
    padding: 0 0 0 12px;
    height: 44px;
    border: 1px solid #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 12px;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form a.submit{
    color: #fff;
    background: #ca0c0e;
    color: #fff;
    width: 100%;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    display: block;
    padding: 6px;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.home-container-wrapper#home-banner-wrapper #home-form-wrapper form a.submit:hover{
    background-color: #a20b0d;
    text-decoration: none;
}
.home-container-wrapper.home-banner-bottom-banners{
    padding: 1rem;
}
.home-container-wrapper.home-banner-bottom-banners .banner-bottom-item{}
.home-container-wrapper.home-banner-bottom-banners .banner-bottom-item a{
    display: block;
    border: 2px solid #da2828;
}
.home-container-wrapper.home-banner-bottom-banners .banner-bottom-item a:hover{
    border: 2px solid #424242;
    -webkit-box-shadow: 0 0 12px rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 12px rgba(0,0,0,.4);
    box-shadow: 0 0 12px rgba(0,0,0,.4);
}
.home-container-wrapper.home-banner-bottom-banners .banner-bottom-item a img{}

.home-container-wrapper#home-content-bottom-wrapper{
    background-image: url('../images/content-bottom-bg.jpg') !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% auto;
    padding: 82px 0;
    color: #fff;
    display: inline-block;
    width: 100%;
}
.home-container-wrapper#home-content-bottom-wrapper *{
    color: #fff;
}

/* Common */
.main-page-image{
    background-repeat: no-repeat;
    background-size: 1900px 230px;
    background-position: top center;
    height: 230px;
}
.main-page-image.empty{
    height: 32px;
}

/* Professions loop */

#form-single-profession-wrapper{
    margin: -24px 0 0 0;
}
#form-single-profession-wrapper form{
    position: relative;
}
#form-single-profession-wrapper form .form-group{
    position: relative;
    margin: 0;
}
#form-single-profession-wrapper form #ajax-loader .loading{
    background-image: url(../images/ajax-loader-blue.gif);
    position: absolute;
    left: 15px;
    right: 15px;
    top: 2px;
    bottom: 2px;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #041f92;
}
#form-single-profession-wrapper form .form-group{
    margin-bottom: 1.2rem;
}
#form-single-profession-wrapper form select{
    color: #fff;
    background: #041f92;
    font-size: 1.2em;
    padding: 0 0 0 12px;
    height: 37px;
    border: 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 12px;
}
#form-single-profession-wrapper form a.submit{
    color: #fff;
    background: #ca0c0e;
    color: #fff;
    width: 100%;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1em;
    display: block;
    padding: 6px;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    cursor: pointer;
}
#form-single-profession-wrapper form a.submit:hover{
    background-color: #a20b0d;
    text-decoration: none;
}
#professions-wrapper{
    padding: 64px 0;
}
#professions-wrapper .home-professions-title{
    margin: 0 0 32px 0;
    color: #5ab4d4;
    text-align: center;
    font-size: 1.6em;
    font-weight: bold;
}
#professions-wrapper .profession-item{
    display: flex;
    flex-direction: column;
}
#professions-wrapper .profession-item .profession-thumbnail{
    margin-bottom: 8px;
    order: 1;
}
#professions-wrapper .profession-item .profession-thumbnail a{
    height: 157px;
    position: relative;
    display: block;
    overflow: hidden;
}
#professions-wrapper .profession-item .profession-thumbnail a img{
    /*top: 50%;
    position: absolute;
    margin-top: -156px;*/
}
#professions-wrapper .profession-item .profesion-description{
    margin-bottom: 8px;
    order: 2;
}
#professions-wrapper .profession-item .profession-item-title{
    font-size: 1.1em;
    text-align: center;
    margin: 0;
    color: #4f5b6c;
    font-weight: bold;
}
#professions-wrapper .profession-item .profession-item-title a{
    color: #5ab4d4;
}
#professions-wrapper .profession-item .profesion-terms{
    color: #7d8692;
    font-size: 1em;
    font-style: italic;
    text-align: center;
    line-height: 1.1;
}

/* Sectors (Custom Taxonomy) */
.sectors-container-wrapper{
    padding: 42px 0;
}
.sectors-container-wrapper#sectors-content-top-wrapper{
    color: #424242;
    text-align: center;
    padding-bottom: 12px;
}
.sectors-container-wrapper#sectors-content-top-wrapper blockquote{
    font-size: 1.4em;
    font-style: italic;
}
.page-template-sectors .sector-item{
    text-align: center;
    margin: 12px 0;
}
.page-template-sectors .sector-item a{
    display: flex;
    flex-direction: column;
    padding: 12px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.page-template-sectors .sector-item a:hover,
.page-template-sectors .sector-item a:hover h2{
    color: #fff !important;
    text-decoration: none;
}
.page-template-sectors .sector-item a h2{
    order: 2;
    font-size: 1.5em;
}
.page-template-sectors .sector-item a .sector-icon-wrapper{
    order: 1;
}
.page-template-sectors .sector-item a .sector-icon-wrapper i{
    font-size: 1.8em;
    padding: 22px 0;
    border-radius: 50%;
    width: 72px;
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
}

.sectors-container-wrapper#sectors-content-bottom-wrapper{
    background-image: url(../images/content-bottom-bg.jpg) !important;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% auto;
    padding: 82px 0;
    color: #fff;
}
.sectors-container-wrapper#sectors-content-bottom-wrapper *{
    color: #fff;
}

/* Profesions (Post Type) */
.single-profession .top-linls{
    list-style: none;
    margin: 0;
    padding: 32px 0;
    text-align: right;
}
.single-profession .top-linls li{
    font-size: 1.1em;
    display: inline-block;
    margin-left: 24px;
    text-transform: uppercase;
}
.single-profession .top-linls li a{
    color: #7d8692;
}
.single-profession .top-linls li a i{
    /*color: #5ab4d4;*/
}
.single-profession .single-profession-top p{
    margin: 0 0 .8rem;
}
.single-profession .single-profession-top ul{
    list-style: none;
    padding: 0;
    margin: 0 0 1rem .5rem;
}
.single-profession .single-profession-top ul li{
    font-size: 1em;
    font-weight: bold;
}
.single-profession .single-profession-top ul li ul{
    font-size: 1em;
}
.single-profession .single-profession-top ul li ul li{
    font-size: 1em;
    font-weight: normal;
}
.single-profession .single-profession-top ul li ul li:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f067";
  display: inline-block;
  margin-right: 8px;
  font-size: .8em;
}
.single-profession .single-profession-top .single-profession-top-left{
    display: block;
    height: 100%;
    padding-bottom: 12px;
}
.single-profession .single-profession-top-left .single-profession-title{
    margin: 0;
    text-transform: uppercase;
    font-size: 2em;
    font-family: "Lato";
    font-weight: bold;
}
.single-profession .single-profession-top-left ul li:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f067";
  display: inline-block;
  margin-right: 8px;
  font-size: .8em;
}
.single-profession .single-profession-top-left .profession-terms{
    opacity: 0.8;
    margin-bottom: 14px;
    font-size: 1.6em;
}
.single-profession .single-profession-top-left .profession-terms .taxonomy-title{
    font-size: 0.8em;
    font-weight: bold;
}
.single-profession .single-profession-top-left .profession-terms .taxonomy-name{

}
.single-profession .single-profession-top-left .profession-short-description{
    color: #666;
}
.single-profession .single-profession-top-left .profession-short-description p:first-of-type{
    margin-bottom: 6px;
}
.single-profession .single-profession-top .single-profession-top-right{
    display: block;
    height: 100%;
    padding: 18px 24px;
    color: #fff;
}
.single-profession .single-profession-top .single-profession-top-right .single-profession-top-right-title{
    margin: 0 0 12px 0;
    font-size: 1.2em;
    text-transform: uppercase;
    color: #fff;
    font-weight: bold;
}
.single-profession .single-profession-top-right ul{
    margin-left: 0;
}
.single-profession .single-profession-top-right ul li{
    margin-bottom: 4px;
}
.single-profession .single-profession-top-right ul li a{
    color: #fff;
}

.single-profession .single-profession-video-wrapper{
    padding: 12px;
    position: relative;
    z-index: 1;
    -webkit-box-shadow: 0 0 6px 4px rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 6px 4px rgba(0,0,0,.4);
    box-shadow: 0 0 6px 4px rgba(0,0,0,.4);
}
.single-profession .profession-main-content{
    color: #7d8692;
    padding: 42px 0;
}

.single-profession #profession-related-posts-wrapper{
    padding: 42px 0;
    background: #f4f4f4;
}
.single-profession .profession-related-posts-wrapper-title{
    margin: 0 0 42px 0;
    color: #5ab4d4;
    text-align: center;
    font-weight: bold;
}
.single-profession .profession-related-post{
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}
.single-profession .profession-related-post .profession-related-post-title{
    font-weight: bold;
    order: 2;
    font-size: 1.2em;
}
.single-profession .profession-related-post .profession-related-post-title a{
    color: #5ab4d4;
    text-decoration: none;
}
.single-profession .profession-related-post .profession-related-post-title a:hover{
    text-decoration: underline;
}
.single-profession .profession-related-post .profession-related-post-thumbnail{
    order: 1;
    margin-bottom: .5em;
}
.single-profession .profession-related-post .profession-related-post-content{
    order: 3;
}
.single-profession .profession-related-post .profession-related-post-readmore{
    order: 4;
}
.single-profession .profession-related-post .profession-related-post-readmore a{
    color: #5ab4d4;
    text-decoration: none;
}
.single-profession .profession-related-post .profession-related-post-readmore a:hover{
    text-decoration: underline;
}
/* Orientation Template */
.orientation-wrapper{
    margin-top: 2em;
    margin-bottom: 2em;
}
.orientation-content-wrapper{
    padding: 2em 4em 1em;
    border-top: 2px solid #ff1313;
}
.orientation-title-wrapper{
    margin-bottom: 2em;
}
.orientation-block-link{
    display: block;
    cursor: pointer;
    text-align: center;
    color: #ff1313 !important;
}
.orientation-block-link.active{
    cursor: default;
}
.orientation-block-link *{
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.orientation-block-link img{
    opacity: .4;
    border: 2px solid #ff1313;
}
.orientation-block-link:hover img,
.orientation-block-link.active img{
    opacity: 1;
}
.orientation-block-link i{
    padding-top: 1em;
    font-size: 2em;
    opacity: 0;
}
.orientation-block-link:hover i,
.orientation-block-link.active i{
    opacity: 1;
}
.orientation-resources-wrapper{
    margin-bottom: 2em;
}
.orientation-resources-title{
    color: #5ab4d4;
    padding-bottom: 4px;
    margin-bottom: .4em;
}
.orientation-resources-wrapper .resource-block{
    display: block;
    margin: 1em 0;
}
.orientation-resources-wrapper .resource-block i{
    display: inline-block;
    font-size: 1.6em;
    margin-right: 6px;
    vertical-align: top;
    color: #5ab4d4;
}
.orientation-resources-wrapper .resource-block .resource-block-title{
    display: inline-block;
    font-size: 1.1em;
    max-width: 94%;
}
.orientation-resources-wrapper .resource-block .resource-block-title a{
    color: #005e71;
    text-decoration: underline;
}
.orientation-resources-wrapper .resource-block .resource-block-title a:hover{
    text-decoration: none;
}
.orientation-resources-wrapper .resource-block .resource-block-title .resource-block-description{
    display: inline-block;
    width: 100%;
    color: #424242;
}
.orientation-footer{
    background-image: url(../images/orientation-footer.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    height: 154px;
    background-position: top center;
    border-top: 4px solid #ff1313;
}

/* Blog */
body.blog .main-page-image,
.archive.category .main-page-image{
    background-repeat: no-repeat;
    background-size: 1900px 230px;
    background-position: top center;
    height: 230px;
}
body.blog .archive-title,
.archive.category .archive-title{
    color: #5ab4d4;
    margin-bottom: 48px;
}

.posts-list-wrapper{
    margin-bottom: 48px;
}
.posts-list-wrapper article.post-article{
    border-bottom: 1px solid #5ab4d4;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    display: flex;
    flex-direction: column;
}
.posts-list-wrapper article.post-article a{
    color: #5ab4d4;
}
.posts-list-wrapper article.post-article a:hover{
    color: #d23435;
    text-decoration: none;
}
.posts-list-wrapper article.post-article .post-article-header{
    order: 2;
    font-size: 1.3em;
    margin: 4px 0 0;
}
.posts-list-wrapper article.post-article .entry-meta{
    order: 3;
    font-size: .9em;
    line-height: initial;
    margin: 0 0 8px;
    color: #7d8692;
}
.posts-list-wrapper article.post-article .post-article-image-wrapper{
    order: 1;
}
.posts-list-wrapper article.post-article .entry-content{
    order: 4;
}
.posts-list-wrapper article.post-article .entry-content .post-article-content-wrapper{
    order: 4;
    font-size: .9em;
    line-height: initial;
    margin: 0 0 8px;
    color: #7d8692;
}
.posts-list-wrapper article.post-article .entry-content .readmore-wrapper{
    text-align: right;
    font-size: 1.1em;
    margin: 0;
}
.posts-list-wrapper article.post-article .entry-content .readmore-wrapper a{
}
/* Blog Sidebar */
aside.sidebar-primary .widget{
    margin-bottom: 24px;
}
aside.sidebar-primary .widget_categories{
    background: #5ab4d4;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5ab4d4+0,5ab4d4+60,ffffff+100 */
    background: #5ab4d4; /* Old browsers */
    background: -moz-linear-gradient(top, #5ab4d4 0%, #5ab4d4 60%, #ffffff 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #5ab4d4 0%,#5ab4d4 60%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #5ab4d4 0%,#5ab4d4 60%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5ab4d4', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
    padding: 16px;
    padding-bottom: 40%;
}
aside.sidebar-primary .widget_categories .widget-title{
    display: none;
}
aside.sidebar-primary .widget_categories ul{
    padding: 0;
    margin: 0;
    list-style: none;
}
aside.sidebar-primary .widget_categories ul li{
    font-size: 1.2em;
    line-height: 1em;
    margin: 0 0 16px;
    font-weight: 600;
}
aside.sidebar-primary .widget_categories ul li a{
    color: #fff;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
aside.sidebar-primary .widget_categories ul li a:hover,
aside.sidebar-primary .widget_categories ul li.current-cat a{
    color: #d23435;
    text-decoration: none;
}
aside.sidebar-primary .widget_categories ul li.current-cat a:hover{
    cursor: default;
}
aside.sidebar-primary .textwidget a{
    display: block;
}
aside.sidebar-primary .textwidget a img{
    border: 1px solid #d23435;
    padding: 1px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
aside.sidebar-primary .textwidget a:hover img{
    border: 1px solid #424242;
    -webkit-box-shadow: 0 0 12px rgba(0,0,0,.4);
    -moz-box-shadow: 0 0 12px rgba(0,0,0,.4);
    box-shadow: 0 0 12px rgba(0,0,0,.4);
}
/* Forms */
.ajax-loader{
    display: none !important;
}
form input[type="submit"]{
    padding: 6px 24px;
    text-transform: uppercase;
    font-weight: bold;
    background: #888fb0;
    border: none;
}
.btn.btn-primary{
    
}
/* Convalidations */
.convalidaciones-main-content-wrapper{
    margin-bottom: 2em;
}
.convalidaciones-main-content-wrapper h1{
    text-align: center;
}
#search-convalidations-tabs{
    margin: 1em 0 0;
    padding-left: 1em;
}
#search-convalidations-tabs .nav-item .nav-link{
    border-color: #e9ecef #e9ecef #ddd;
    color: #666;
}
#search-convalidations-tabs .nav-link:focus,
#search-convalidations-tabs .nav-link:hover{
    color: #424242;
    background-color: #f9f9f9;
}
#search-convalidations-tabs .nav-item .nav-link.active{
    color: #242424;
    background-color: #f4f4f4;
    border-color: #ddd #ddd #f4f4f4;
}
#search-convalidations-wrapper{
    background: #f4f4f4;
    padding: 2em;
    margin: 0;
}
.convalidations-selector-result-wrapper{
    position: relative;
    z-index: 20;
}
.convalidations-selector-result-wrapper .convalidations-selector-result{
    position: absolute;
    left: 0;
    right: 0;
}
.convalidations-selector-result-wrapper .convalidations-selector-result ul{
    background: #f4f4f4;
    display: block;
    padding: .6em .5em 0;
    max-height: 200px;
    overflow: auto;
    list-style: none;
}
.convalidations-selector-result-wrapper .convalidations-selector-result ul li{
    margin: 0.3em 0;
}
.convalidations-selector-result-wrapper .convalidations-selector-result ul li a{
    display: block;
    padding: .2em .5em;
}
.convalidations-selector-result-wrapper .convalidations-selector-result ul li a:hover{
    background: #fff;
    cursor: pointer;
}

#convalidations-results{
    background: #f4f4f4;
    padding: 0 2em;
}
#convalidations-results .conv-title{
    font-size: 1.05em;
    color: #1f2b59;
    background: #fff;
    margin: 0;
    padding: 1em .8em;
    border: 1px solid #e9ecef;
    font-weight: bold;
}
#convalidations-results .conv-title .searched-item-name{
    font-weight: normal;
}
#convalidations-results table{
    background: #fff;
    margin-bottom: 2em;
}
#convalidations-results table th{
    color: #1f2b59;
}
#convalidations-results table td .td-highlight{
    color: #1f2b59;
}
#convalidations-results table.table-hover tbody tr:hover {
    background-color: rgb(239, 250, 255);
}

/* Footer */
footer.site-footer{
    background-image: url(../images/footer-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom center;
    padding: 8px 0 0px 0;
}
footer.site-footer div.social-footer{
    padding: 80px 0;
    padding-left: 130px;
    background-size: 112px;
}
ul.social{
    padding: 0;
    margin: 0;
    text-align: left;
}
ul.social li{
    list-style-type: none;
    display: inline-block;
}
ul.social li a{
    background: rgb(79, 91, 108);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    font-size: 1.4em;
    padding: 2px 10px;
    color: #fff;
}
ul.social li a:hover{
    background: rgb(13, 46, 101);
}
footer.site-footer .footer-widget-1{
    text-align: right;
}
footer.site-footer .footer-widget-2{
    text-align: left;
}
.after-footer-wrapper .after-footer-logos{
    background: #fff;
    padding: 24px 0;
}
.after-footer-wrapper .after-footer-logos .logo{
    text-align: center;
}
.after-footer-wrapper .after-footer-logos .logo a{
    display: inline-block;
}
.after-footer-wrapper .after-footer-logos .logo a img{
    height: 52px;
    width: auto;
    display: block;
}
.after-footer-wrapper .after-footer-logos .logo.logo-1 a img{
    height: 74px;
    width: auto;
}
.after-footer-wrapper .after-footer-widget{
    background: #4f5b6c;
    padding: 8px 0;
}
.after-footer-wrapper .after-footer-widget ul.menu{
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}
.after-footer-wrapper .after-footer-widget ul.menu li{
    display: inline-block;
    margin: 0 4px;
    color: rgba(255,255,255,.7);
}
.after-footer-wrapper .after-footer-widget ul.menu li:before{
    content: '|';
    margin-right: 12px;
}
.after-footer-wrapper .after-footer-widget ul.menu li:first-child:before{
    content: none;
}
.after-footer-wrapper .after-footer-widget ul.menu li a{
    color: rgba(255,255,255,.7);
}
.after-footer-wrapper .after-footer-widget ul.menu li a:hover{
    color: rgba(255,255,255,1);
    text-decoration: none;
}
.after-footer-wrapper .after-footer-widget p.author{
    color: rgba(255,255,255,.4);
    text-align: center;
    margin: 0;
    margin-top: 12px;
    font-size: 0.85em;
}

/* Responsive (Media Queries) */

@media (max-width: 991.98px){
    
    /* Header */
    .before-header .before-header-top .logo-dga-wrapper{
        height: 28px;
    }
    
    header.site-header{
        
    }
    
    header.site-header .title-area .site-title{
        width: 142px;
        height: 54px;
    }
    
    header.site-header .header-widget-area{
        padding-top: 0;
        width: 100%;
    }
    header.site-header .header-widget-area .navbar-brand{
        display: none;
    }
    header.site-header .header-widget-area .navbar-toggler{
        border: none;
        position: absolute;
        padding: 0;
        right: 6px;
        top: -35px;
        color: #005d70;
    }
    header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu{
        border-top: 1px dashed #005d70;
        padding-top: 12px;
        margin-top: 14px;
    }
    header.site-header .header-widget-area nav.nav-primary ul#menu-main-menu li{
        text-align: center;
        padding: 0;
        margin: 6px 0;
    }
    
    /* Home Fixes */
    .home-container-wrapper#home-content-bottom-wrapper{
        background-size: auto 100%;
        padding: 24px 0;
    }
    
    /* Sectors */
    .sectors-container-wrapper#sectors-content-bottom-wrapper{
        background-size: auto 100%;
        padding: 24px 0;
    }

    /* Orientation */
    .orientation-footer{
        height: 126px;
    }
    
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px){

    /* Home Fixes */
    .home-container-wrapper#home-banner-wrapper #home-form-wrapper{
        margin: 12px;
    }
    #professions-wrapper{
        padding: 32px 0;
    }
    #professions-wrapper .profession-item .profession-thumbnail a{
        height: auto;
    }
    
    /* Profession */
    .single-profession .top-linls{
        text-align: center;
    }
    .single-profession .top-linls li{
        margin: 6px 12px;
        font-size: .9em;
    }
    .single-profession .single-profession-top-left .single-profession-title{
        font-size: 1.4em;
    }
    .single-profession .single-profession-top-left .profession-terms{
        font-size: 1.4em;
    }
    .single-profession .profession-related-post *{
        text-align: center !important;
    }
    /* Orientation */
    .orientation-resources-wrapper .resource-block .resource-block-title{
        max-width: 88%;
    }
    .orientation-content-wrapper{
        padding: 2em 1em 1em;
    }
    .orientation-footer{
        height: 126px;
    }
    
    /* Footer */
    .after-footer-wrapper .after-footer-logos .logo a img{
        height: auto !important;
        width: 100% !important;
    }
    
}


@media (max-width: 767.98px) {
    #professions-wrapper .profession-item{
        margin-bottom: 24px;
    }
    /* Orientation */
    .orientation-content-wrapper{
        padding: 2em 1em 1em;
    }
    .orientation-footer{
        height: 126px;
    }
    footer.site-footer .footer-widget-1{
        text-align: center;
    }
    footer.site-footer {
        background-position: top center;
    }
}

/* Small devices (landscape phones, 576px and up)
@media (min-width: 576px) and (max-width: 767.98px) { }

/* Medium devices (tablets, 768px and up)
@media (min-width: 768px) and (max-width: 991.98px) { }

/* Large devices (desktops, 992px and up)
@media (min-width: 992px) and (max-width: 1199.98px) { }

/* Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px){
}
*/