/********************************************************************************************************************/
/**  BLOCK GENERAL RULES                                                                                           **/
/********************************************************************************************************************/

.block.block-padded {
    padding: 10px 15px;
}

.block.block-isolated {
    padding: 0px;
}

.block.block-border .block-inner {
    border: 1px solid #ddd;
}

.block.block-bg .block-inner {
    background-color: #eee;
}

.block .block-inner h2.block-title {
    color: #428bca;
    font-family: "Praxis";
    font-weight: 100;
    font-size: 24px;
    margin: 0 0 10px;
    padding: 0;
    border: none;
}

.block .block-inner h2.block-title::before {
    font-family: 'icomoon';
    display: inline-block;
    text-decoration: inherit;
    color: #8f8f8f;
    font-size: 18px;
    padding-right: 15px;
    text-shadow: none;

}

/** BLOCK GRID **/
.row.block-grid .block {
    padding: 10px 15px;
}

.row.block-grid .block.col-xs-12,
.row.block-grid .block.col-sm-12,
.row.block-grid .block.col-md-12,
.row.block-grid .block.col-lg-12 {
    float: left;
}

.row.block-grid .block .block-inner {
    padding: 10px;
}

.row.block-grid .block.block-no-gutters .block-inner {
    padding: 0px;
}

.row.block-grid .block.block-no-gutters .block-inner h2.block-title {
    margin: 10px 0;
}

/********************************************************************************************************************/
/**  SPECIFIC BLOCKS RULES                                                                                         **/
/********************************************************************************************************************/

/*-----------------------------------------------------------------------------------*/
/*- FRONT: IMAGE SLIDER                                                             -*/
/*-----------------------------------------------------------------------------------*/
.row.block-grid .block.image-slider-front .block-inner {
    padding: 0;
}

.block.image-slider-front {
    position: relative;
}

.block.image-slider-front .image-slider-spot .image-slider-info-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 350px;
    background-color: rgba(66, 139, 202, 0.5);
    padding: 50px 40px;
}

.block.image-slider-front .image-slider-spot .image-slider-main-info {
    background-color: #fff;
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    bottom: 50px;
    overflow: hidden;
}

.block.image-slider-front .image-slider-spot .image-slider-main-info .image-slider-title {
    font-family: "Praxis";
    font-weight: lighter;
    color: #428bca;
    font-size: 1.6em;
    text-align: left;
    line-height: 1.2em;
    padding: 5px 15px 10px;
}

.block.image-slider-front .image-slider-spot .image-slider-main-info .image-slider-description {
    padding: 10px 15px;
    font-size: 0.9em;
    color: #777;
    border-top: 1px dotted #bbb;
    text-align: justify;
}

.block.image-slider-front .image-slider-spot a {
    text-decoration: none;
    color: inherit;
}

.block.image-slider-front .image-slider-spot .image-slider-image img {
    display: block;
}

.block.image-slider-front .carousel .carousel-controls {
    position: absolute;
    left: 40px;
    bottom: 60px;
    text-align: center;
    width: 270px;
    z-index: 2;
}

.block.image-slider-front .carousel .carousel-controls .carousel-indicators {
    display: inline-block;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding-top: 5px;
    width: auto;
    margin: 0;
}

/*** --- ***/

.block.image-slider-front .carousel .carousel-controls .carousel-indicators li {
    background-color: #ddd;
    height: 18px;
    width: 18px;
    margin: 0;
    border: none;
    margin-left: 2px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.block.image-slider-front .carousel .carousel-controls .carousel-indicators li:hover {
    background-color: #ccc;
}

.block.image-slider-front .carousel .carousel-controls .carousel-indicators li.active {
    background-color: #428bca;
}

.block.image-slider-front .carousel .carousel-controls .carousel-buttons {
    z-index: 1;
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    top: -1px;
}

.block.image-slider-front .carousel .carousel-controls .carousel-buttons li {
    position: absolute;
    left: 5px;
    top: 0;
    font-size: 19px;
    color: #428BCA;
}

/*-----------------------------------------------------------------------------------*/
/*- FRONT: SEARCH EVENTS BY DATE                                                    -*/
/*-----------------------------------------------------------------------------------*/
.block.event-search-by-date {
    z-index: 1
}

.block.event-search-by-date .block-inner h2.block-title::before {
    content: "\e601";
}

.block.event-search-by-date .block-inner {
    position: relative;
}

.block.event-search-by-date #year-selector {
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}

.block.event-search-by-date #year-selector .ys-value {
    border: none;
    font-size: 20px;
    color: #428bca;
    padding: 0 6px;
}

.block.event-search-by-date #year-selector .ys-value:hover {
    text-decoration: underline;
}

.block.event-search-by-date #year-selector .ys-prev,
.block.event-search-by-date #year-selector .ys-next {
    color: #aaa;
    font-weight: lighter;
    font-size: 17px;
}

.block.event-search-by-date #year-selector .ys-prev:active,
.block.event-search-by-date #year-selector .ys-next:active {
    font-size: 19px;
    margin-left: -1px;
}

.block.event-search-by-date #month-selector {
    margin: 5px 0 -10px;
}

.block.event-search-by-date #month-selector li {
    padding: 0 3px;
    min-height: 59px;
    text-align: center;
}

.block.event-search-by-date #month-selector li span {
    display: block;
    padding: 3px 0 3px;
    text-decoration: none;
    font-size: 18px;
    color: #444;
    cursor: pointer;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.block.event-search-by-date #month-selector li.active span {
    color: #428bca;
    background-color: #eeeeee;
    padding: 3px 0 28px;
}

.block.event-search-by-date #month-selector li span:hover {
    background-color: #428bca;
    padding: 3px 0 28px;
    color: #FFF;
}

.block.event-search-by-date #btn-search-by-date {
    padding: 8px 0 4px;
    width: 100%;
    font-size: 20px;
}

/*-----------------------------------------------------------------------------------*/
/*- FRONT: USER LOGIN                                                               -*/
/*-----------------------------------------------------------------------------------*/

.block.user-login {
    z-index: 1
}

.block.user-login .block-inner h2.block-title::before {
    content: "\e610";
}

.block.user-login .block-inner {
    position: relative;
}

.block.user-login ul {
    position: absolute;
    top: 13px;
    right: 10px;
}

.block.user-login ul li {
    display: inline;
    margin-right: 4px;
}

.block.user-login ul li:first-child::after {
    content: "|";
    font-size: 1.2em;
    margin-left: 6px;
}

.block.user-login ul li a {
    font-size: 16px;
    color: #444;
    display: inline;
}

.block.user-login .form-group {
    margin-bottom: 10px;
}

.block.user-login .form-group input.form-text {
    font-size: 18px;
    font-weight: lighter;
    color: #666;
}

.block.user-login .form-group.form-type-password input {
    border-left: none;
}

.block.user-login .form-actions {
    margin-top: 0;
    padding-top:0;
    border: none !important;
}

.block.user-login button.btn {
    display: block;
    width: 100%;
    font-size: 18px;
    text-transform: uppercase;
    padding-left: 0;
    padding-right: 0;
    height: 38px;
    font-family: inherit;
    font-weight: normal;
}

.block.user-login button.btn > span.icon {
    display: none;
}

.block.user-login .form-group.error input {
    background-color: #f2dede;
    color: #b94a48;
}

/*
	EMS user menu
*/

#block-system-user-menu.ems-user-menu > div > h2 {
    width: 55%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.4em;
}

@media (max-width: 1199px) {
    #block-system-user-menu.ems-user-menu > div > h2 {
        width: 50%;
    }
}

@media (max-width: 991px) {
    #block-system-user-menu.ems-user-menu > div > h2 {
        width: 65%;
    }
}

@media (max-width: 767px) {
    #block-system-user-menu.ems-user-menu > div > h2 {
        width: 60%;
    }
}

@media (max-width: 598px) {
    #block-system-user-menu.ems-user-menu > div > h2 {
        width: 51%;
    }
}

@media (max-width: 480px) {
    #block-system-user-menu.ems-user-menu > div > h2 {
        width: 40%;
    }
}

/*
	NO EMS user menu
*/

#block-system-user-menu.no-ems-user-menu > div > h2 {
    width: 75%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.4em;
}

@media (max-width: 1199px) {
    #block-system-user-menu.no-ems-user-menu > div > h2 {
        width: 70%;
    }
}

@media (max-width: 991px) {
    #block-system-user-menu.no-ems-user-menu > div > h2 {
        width: 85%;
    }
}

@media (max-width: 767px) {
    #block-system-user-menu.no-ems-user-menu > div > h2 {
        width: 80%;
    }
}

@media (max-width: 598px) {
    #block-system-user-menu.no-ems-user-menu > div > h2 {
        width: 71%;
    }
}

@media (max-width: 480px) {
    #block-system-user-menu.no-ems-user-menu > div > h2 {
        width: 60%;
    }
}

/*-----------------------------------------------------------------------------------*/
/*- FRONT: EVENT SEARCH BY DATE                                                      -*/
/*-----------------------------------------------------------------------------------*/
.block.event-search-by-date div.block-inner {
    min-height: 120px;
}
/*-----------------------------------------------------------------------------------*/
/*- FRONT: BLOCK MASQUERADE                                                         -*/
/*-----------------------------------------------------------------------------------*/
.block.block-masquerade div.block-inner {
    min-height: 120px;
}


/*-----------------------------------------------------------------------------------*/
/*- FRONT: USER MENU                                                                -*/
/*-----------------------------------------------------------------------------------*/
.block.user-menu {
    z-index: 1
}

.block.user-menu div.block-inner {
    min-height: 120px;
}

.block.user-menu .block-inner h2.block-title::before {
    content: "\e610";
}

.block.user-menu .block-inner {
    position: relative;
}

.block.user-menu ul {
    margin-top: 10px;
    text-align: center;
}

.block.user-menu ul.menu li {
    display: inline-block;
    padding: 4px 6px 0;
    min-height: 35px;
    text-align: center
}

.block.user-menu ul.menu li a {
    padding: 6px 10px;
    display: inline;
    white-space: nowrap;
    font-size: 16px;
    color: #444;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.block.user-menu ul.menu li a:hover {
    color: #428bca;
    background: transparent;
}

.block.user-menu.ems-user-menu ul.menu li:nth-child(4),
.block.user-menu ul.menu li.last {
    position: absolute;
    top: 10px;
    min-height: auto;
    padding: 0;
}

.block.user-menu ul.menu li:nth-child(4) a,
.block.user-menu ul.menu li:nth-child(5) a,
.block.user-menu ul.menu li.last a {
    font-size: 17px;
    background-color: #428bca;
    text-transform: uppercase;
    color: #FFF;
    width: 100px;
    display: inline-block;
    padding: 3px 5px;
}

/* -- Access to EMS -- */
.block.user-menu.ems-user-menu ul.menu li:nth-child(4) {
    right: 127px;
}

.block.user-menu.ems-user-menu ul.menu li:nth-child(4) a {
    background-color: #428bca;
}

.block.user-menu.ems-user-menu ul.menu li:nth-child(4) a:hover {
    background-color: #3276b1;
}

/* -- Access to My online courses -- */
.block.user-menu.no-ems-user-menu.moodle-user-menu ul.menu li:nth-child(4),
.block.user-menu.ems-user-menu.moodle-user-menu ul.menu li:nth-child(5) {
    min-height: auto;
    padding: 0;
    float: right;
}

.block.user-menu.no-ems-user-menu.moodle-user-menu ul.menu li:nth-child(4) a,
.block.user-menu.ems-user-menu.moodle-user-menu ul.menu li:nth-child(5) a {
    background-color: #28a745;
    width: auto;
}

.block.user-menu.no-ems-user-menu.moodle-user-menu ul.menu li:nth-child(4) a:hover,
.block.user-menu.ems-user-menu.moodle-user-menu ul.menu li:nth-child(5) a:hover{
    background-color: #218838;
}


/* -- Logout --*/
.block.user-menu ul.menu li.last {
    right: 15px;
}

.block.user-menu ul.menu li.last a {
    background-color: #C24848 !important;
}

.block.user-menu ul.menu li.last a:hover {
    background-color: #AC3232 !important;
}

/*-----------------------------------------------------------------------------------*/
/*- SWITCH USER                                                                     -*/
/*-----------------------------------------------------------------------------------*/
.block.switch-user {
    z-index: 1
}

.block.switch-user .block-inner {
    min-height: 108px;
}

.block.switch-user .block-inner h2.block-title::before {
    content: "\e60d";
    font-size: 1.1em;
    padding-right: 12px;
    vertical-align: text-top;
}

.block.switch-user .form-item-masquerade-user-field {
    position: relative;
    display: inline-block;
    width: 85%;
    margin: 0;
}

.block.switch-user .container-inline {
    position: relative;
    /*top:-7px;*/
}

.block.switch-user .form-item-masquerade-user-field .input-group {
    display: inline-block;
    width: 100%;
}

.block.switch-user .form-item-masquerade-user-field .input-group input {
    display: inline-block;
    width: 86%;
    /*padding: 1px 8px;*/
    padding: 3px 10px;
}

.block.switch-user .form-item-masquerade-user-field .input-group .input-group-addon {
    display: inline-block;
    width: 11%;
    padding: 6px 0px;
    font-size: 14px;
}

.block.switch-user button.btn.form-submit {
    width: 12%;
    margin-left: 1%;
    padding: 4px 0px;
    font-size: 17px;
    background-color: #428bca;
    text-transform: uppercase;
    color: #FFF;
    border: none;
}

.block.switch-user .dropdown {
    left: 0;
    position: absolute;
    top: 35px;
    z-index: 9;
    width: 83%;
    opacity: 0.9;
}

.block.switch-user .description {
    visibility: collapse;
    font-size: 0px;
    padding: 0;
    margin: 0;
    height: 0;
}

.block.switch-user .description #quick_switch_links {
    _display: none; /* NO VISIBLE, DE MOMENTO */
    _visibility: visible;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
    font-size: 0;
}

.block.switch-user .description #quick_switch_links ul {
    display: inline;
}

.block.switch-user .description li {
    width: auto;
    display: inline-block;
    padding: 0px 5px;
    border-right: 1px solid #ddd;
}

.block.switch-user .description li:last-child {
    border: none;
}

.block.switch-user .description li a {
    color: #444;
    display: none;
    text-decoration: none;
}

.block.switch-user .description li a:hover {
    color: #428bca;
}

.block.switch-user .description li a[href*="unswitch"] {
    display: block;
    visibility: visible;
    font-size: 16px;
}

.block.switch-user .description li a em {
    font-style: normal;
}

/*-----------------------------------------------------------------------------------*/
/*- FRONT: EVENT CATEGORIES SELECTOR                                                -*/
/*-----------------------------------------------------------------------------------*/
.block.event-search-by-category {
    z-index: 0
}

.block.event-search-by-category .ec-wrapper {
    display: table;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.block.event-search-by-category .ec-wrapper .view-content {
    display: table-row;
}

.block.event-search-by-category .ec-item {
    display: table-cell;
    position: relative;
    float: none;
    border: 1px solid #ddd;
    font-size: 15px;
    font-weight: lighter;
    padding: 20px 10px 10px;
    line-height: 1.2em;
    color: #444;
    text-decoration: none;
    overflow: hidden;
}

.block.event-search-by-category .ec-item .ec-name a {
    position: relative;
    z-index: 1;
    color: #444;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}


.block.event-search-by-category .ec-item .ec-color {
    height: 10px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
    -webkit-transition: all 230ms ease-out;
    -moz-transition: all 230ms ease-out;
    -o-transition: all 230ms ease-out;
    transition: all 230ms ease-out;
}

.block.event-search-by-category .ec-item:hover .ec-name a {
    color: #FFF;
    font-weight: bold;
}
.block.event-search-by-category .ec-item .ec-description{
    padding-top: 5px;
}

.block.event-search-by-category .ec-item:hover .ec-description p{
    position: relative;
    z-index: 1;
    color: #FFF;
}

.block.event-search-by-category .ec-item:hover .ec-color {
    height: 250px;
}

/*-----------------------------------------------------------------------------------*/
/*- FRONT: EVENT SEARCH FORM                                                        -*/
/*-----------------------------------------------------------------------------------*/
.block.event-search-by-word h2.block-title {
    position: relative;
    top: 6px;
    padding-right: 20px;
    float: left;
}

.block.event-search-by-word h2.block-title::before {
    content: "\e60c";
}

.block.event-search-by-word #search-form-wrapper {
    display: inline-block;
    width: calc(100% - 125px);
}

.block.event-search-by-word #search-form-wrapper .input-group input.form-control {
    font-weight: lighter;
    font-size: 18px;
    color: #666;
    padding: 6px 12px 5px;
}

.block.event-search-by-word #search-form-wrapper .input-group-btn,
.block.event-search-by-word #search-form-wrapper .reset-button {
    vertical-align: top;
}

.block.event-search-by-word #search-form-wrapper .input-group button.btn {
    font-size: 18px;
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    height: auto;
    line-height: 1.35em;
}

.block.event-search-by-word .form-group {
    margin-bottom: 0;
}

.block.event-search-by-word #search-form-wrapper span#deploy-search {
    font-size: 18px;
    color: #444;
    display: block;
    height: 38px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
}

.block.event-search-by-word #search-form-wrapper span#deploy-search:hover {
    color: #428bca;
}

.block.event-search-by-word #category-checks {
    margin-top: 20px;
    padding: 0 30px;
}

.block.event-search-by-word #category-checks > div {
    padding-bottom: 15px;
    min-height: 56px;
}

.block.event-search-by-word #category-checks .checkbox label input:checked + span:before {
    max-width: 0;
}

/* ADVANCED SEARCH ************************************/
.block.event-search-by-word #advanced-search-wrapper {
    border-top: 1px solid #ddd;
    margin-top: 10px;
    padding-top: 25px;
    padding-bottom: 15px;
}

.block.event-search-by-word #advanced-search-wrapper label {
    text-transform: none;
}

.block.event-search-by-word #advanced-search-wrapper .row {
    margin-bottom: 20px;
}

.block.event-search-by-word #advanced-search-wrapper .date .input-group {
    text-align: right;
}

.block.event-search-by-word #advanced-search-wrapper .date .input-wrapper:first-child {
    float: left;
}

.block.event-search-by-word #advanced-search-wrapper .date .input-wrapper + label {
    padding-right: 10px;
}

.block.event-search-by-word #advanced-search-wrapper .date .input-wrapper:last-child {
    float: none;
}

.block.event-search-by-word #advanced-search-wrapper .date .input-wrapper input[type="text"] {
    width: 143px;
}

/*-----------------------------------------------------------------------------------*/
/*- EVENT DETAIL SEARCH                                                       		  -*/
/*-----------------------------------------------------------------------------------*/
.block.event-search-by-detail {
    margin-bottom: 30px;
}

.block.event-search-by-detail .block-inner {
    padding: 12px;
}

.block.event-search-by-detail h2.block-title::before {
    content: "\e607";
}

.block.event-search-by-detail .form-group > label {
    text-transform: none;
}

.block.event-search-by-detail .date .input-wrapper:before {
    content: "";
}

.block.event-search-by-detail .date .input-wrapper > div {
    display: inline-block;
    position: relative;
}

.block.event-search-by-detail .date .input-wrapper .container-inline-date > .form-item {
    margin: 0;
    padding: 0;
}

.block.event-search-by-detail .date .input-wrapper .container-inline-date label {
    float: none;
    display: inline-block;
    vertical-align: middle;
    text-transform: none;
    padding: 0 3px;
}

.block.event-search-by-detail .date .input-wrapper .container-inline-date .date-padding {
    float: none;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.block.event-search-by-detail .date .input-wrapper .container-inline-date .date-padding:before {
    position: absolute;
    content: "\e601";
    font-family: 'icomoon';
    font-size: 18px;
    right: 6px;
    z-index: 1;
    color: #999;
    top: 6px;
}

.block.event-search-by-detail .date .input-wrapper .container-inline-date .date-padding input {
    margin: 0;
}

.block.event-search-by-detail .textual .input-wrapper .form-group {
    position: relative;
}

.block.event-search-by-detail .textual .input-wrapper .form-group:before {
    position: absolute;
    content: "\e60c";
    font-family: 'icomoon';
    font-size: 18px;
    right: 6px;
    z-index: 1;
    color: #999;
    top: 6px;
}

.block.event-search-by-detail button {
    float: right;
    position: relative;
    top: 10px;
    margin-bottom: 10px;
}

.block.event-search-by-detail .reset-button {
    float: right;
    margin-left: 10px;
}

.block.event-search-by-detail .reset-button button {
    border: 1px solid #428bca;
    color: #428bca;
}

.block.event-search-by-detail.views-exposed-form .help-block,
.block.event-search-by-detail.views-exposed-form .help-inline,
.block.event-search-by-detail.views-exposed-form .description {
    display: none;
}

/*-----------------------------------------------------------------------------------*/
/*- EVENT CAROUSELS                                                       			    -*/
/*-----------------------------------------------------------------------------------*/
.block.event-carousel .block-inner h2.block-title {
    font-size: 25px;
}

.block.event-carousel {
    position: relative;
    margin-bottom: 40px;
}

.block.event-carousel .carousel {
    margin-top: 22px;
}

.block.event-carousel .carousel .carousel-inner {
    padding-left: 15px;
    padding-right: 2px;
}

.block.event-carousel .carousel .carousel-controls {
    position: absolute;
    top: -45px;
    right: 5px;
    left: 0;
    text-align: right;
}

.block.event-carousel .carousel .carousel-controls .carousel-indicators {
    display: inline-block;
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    padding-top: 5px;
    width: auto;
}

.block.event-carousel .carousel .carousel-controls .carousel-indicators li {
    background-color: #ddd;
    height: 18px;
    width: 18px;
    margin: 0;
    border: none;
    margin-left: 2px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.block.event-carousel .carousel .carousel-controls .carousel-indicators li:hover {
    background-color: #ccc;
}

.block.event-carousel .carousel .carousel-controls .carousel-indicators li.active {
    background-color: #428bca;
}

.block.event-carousel .carousel .carousel-controls .carousel-buttons {
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    top: -1px;
}

.block.event-carousel .carousel .carousel-controls .carousel-buttons li {
    position: absolute;
    left: 5px;
    top: 0;
    font-size: 19px;
    color: #428BCA;
}

.block.event-carousel .more-link a {
    display: block;
    background-color: #428bca;
    color: #FFF;
    font-size: 22px;
    padding: 6px;
    font-weight: lighter;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.block.event-carousel .more-link a:hover {
    background-color: #3b7ec4;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
}

/***********************/
/** SPOTS IN CAROUSEL **/
/***********************/

.block.event-carousel .row .event-spot .event-spot-basic-info {
    padding-top: 50px;
    height: 355px;
}

.block.event-carousel .row .event-spot .event-spot-title {
    height: 87px;
    overflow: hidden;
}

.block.event-carousel .row .event-spot .event-spot-title a {
    font-size: 22px;
}

.block.event-carousel .row .event-spot .event-spot-date {
    font-size: 16px;
}

.block.event-carousel .row .event-spot .event-spot-location {
    height: 67px;
    overflow: hidden;
    font-size: 16px;
}

.block.event-carousel .row .event-spot .event-spot-features {
    text-align: center;
    position: absolute;
    bottom: 29px;
    left: 0;
    right: 0;
}

/* HORIZONTAL SPOTS */

.block.event-carousel .row .event-spot.event-spot-horizontal {
    background-clip: padding-box;
    border: 13px solid transparent;
    border-top-width: 9px;
    border-bottom-width: 9px;
    margin-top: 0;
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-basic-info {
    height: 265px;
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-title,
.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-date,
.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-location {
    display: block;
    height: auto;
    width: 53%;
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-title {
    height: 87px;
    overflow: hidden;
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-location {
    border: none;
    padding-left: 0px;
    margin-left: 0px;
    height: 67px;
    overflow: none;
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-category {
    left: 55%;
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-features {
    right: 0;
    left: auto;
    width: calc(45% - 20px);
}

.block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-features span {
    margin: 3px 2px;
}

/* NO DEADLINE SPOTS */
.block.event-carousel .row .event-spot.event-spot-no-deadline .event-spot-basic-info {
    padding-top: 25px;
    height: 330px;
}

.block.event-carousel .row .event-spot.event-spot-no-deadline.event-spot-horizontal .event-spot-basic-info {
    height: 240px;
}

/*-----------------------------------------------------------------------------------*/
/*- REGISTRATION MODE LIST                                                         	-*/
/*-----------------------------------------------------------------------------------*/
.view-event-registration-mode-list {
    margin-bottom: 30px;
    margin-left: 50px;
    margin-right: 20px;
}

.view-event-registration-mode-list .event-reg {
    position: relative;
    padding-left: 60px;
    margin-bottom: 15px;
    min-height: 70px;
    line-height: 1.4em;
}

.view-event-registration-mode-list .event-reg-name {
    font-weight: bold;
    color: #333;
}

.view-event-registration-mode-list .event-reg-desc div {
    display: inline;
}

.view-event-registration-mode-list .event-icon {
    font-size: 32px;
    padding: 12px;
    position: absolute;
    left: 0;
    top: 0;
}

/*-----------------------------------------------------------------------------------*/
/*- ICON-EXPLANATION                                                          			-*/
/*-----------------------------------------------------------------------------------*/
.block.icon-explanation {
    border-bottom: 9px solid #6eafe8;
    margin-bottom: 20px;
    font-family: 'Praxis';
}

.block.icon-explanation .block-inner {
    margin-bottom: 26px;
    padding: 20px 15px;
    border: 1px solid #ddd;
}

.block.icon-explanation .block-inner h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: ligther;
}

.block.icon-explanation .block-inner h3 {
    color: #428bca;
    font-size: 20px;
    font-weight: lighter;
    border-bottom: 1px solid #428bca;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.block.icon-explanation .views-view-grid {
    margin-bottom: 25px;
    width: 100%;
    box-shadow: none;
    border: none;
}

.block.icon-explanation .views-view-grid td {
    padding: 7px 0;
    border: none;
    float: left;
    overflow: hidden;
}

.block.icon-explanation .views-view-grid td .explanation {
    font-family: 'Praxis';
    vertical-align: 21%;
    display: inline-block;
    color: #444;
    font-size: 16px;
    padding-left: 5px;
    vertical-align: middle;
}

/*-----------------------------------------------------------------------------------*/
/*- FOOTER-MENU                                                          						-*/
/*-----------------------------------------------------------------------------------*/
.block.footer-menu {
    padding-top: 20px;
}

/******************************************************************************************************/
/** RESPONSIVE RULES **********************************************************************************/
/******************************************************************************************************/

/*-----------------------------------------------------------------------------------*/
/*- Large Desktops (LG) and UPPER                                                        -*/
/*-----------------------------------------------------------------------------------*/
@media (min-width: 992px) {

    /** -- Top Content Grid -- **/
    .block.private-menu + .row.block-grid.top-content-grid > .block:only-child {
        margin-top: -44px;
        padding-top: 0;
        padding-bottom: 0;
    }

    #block-unitar-dashboard-base-unitar-dashbord-user-guide-link + .block.private-menu + .row.block-grid.top-content-grid > .block:only-child {
        margin-top: 0;
    }

    /** -- Detail Search -- **/
    .block.event-search-by-word #advanced-search-wrapper label[for="search-programme"],
    .block.event-search-by-word #advanced-search-wrapper label[for="search-admin-entity"] {
        padding-right: 0px;
    }

    .block.event-search-by-word #advanced-search-wrapper .programme-value,
    .block.event-search-by-word #advanced-search-wrapper .admin-entity-value {
        padding-left: 10px;
    }

}

/*-----------------------------------------------------------------------------------*/
/*- Medium Devices, Desktops                                                        -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width: 1199px) {

    .block .block-inner h2.block-title {
        font-size: 22px;
        padding-top: 2px;
    }

    .block .block-inner h2.block-title::before {
        padding-right: 7px;
    }

    /* -- Image Slider -- */
    .block.image-slider-front .image-slider-spot .image-slider-image img {
        height: 375px;
        width: auto;
    }

    /* -- Search Events by Date -- */
    .row.block-grid .block.event-search-by-date {
        padding-right: 10px;
    }

    .block.event-search-by-date #year-selector {
        right: 10px;
    }

    /* -- Switch User-- */
    .row.block-grid .block.switch-user {
        padding-right: 10px;
    }

    /* -- User Login -- */
    .row.block-grid .block.user-login {
        padding-left: 10px;
    }

    .block.user-login ul {
        top: 12px;
        right: 6px;
    }

    .block.user-login ul li a {
        font-size: 15px;
    }

    /* -- User Menu -- */
    .row.block-grid .block + .block.user-menu {
        padding-left: 10px;
    }

    .block.user-menu ul.menu li a {
        padding-left: 0px;
        padding-right: 0px;
    }

    .block.user-menu ul.menu li.last a {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* -- Events Categories Selector -- */
    .block.event-search-by-category .ec-item .ec-color {
        height: 15px;
    }

    /* -- Event Search by Word -- */
    .block.event-search-by-word #advanced-search-wrapper .date label {
        line-height: 20px;
        height: auto;
    }

    .block.event-search-by-word #advanced-search-wrapper .date .input-wrapper {
        text-align: right;
    }

    .block.event-search-by-word #advanced-search-wrapper .date .input-wrapper input[type="text"] {
        width: 133px;
    }

    .block.event-search-by-word #advanced-search-wrapper .date .input-wrapper:first-child,
    .block.event-search-by-word #advanced-search-wrapper .date .input-wrapper:last-child {
        float: none;
    }

    .block.event-search-by-word #advanced-search-wrapper .date .input-wrapper + label {
        padding-right: 5px;
    }

    .block.event-search-by-word #advanced-search-wrapper label[for="search-loc-country"] {
        line-height: 20px;
        height: auto;
    }

    /* -- Event Carousels -- */
    .block.event-carousel .row .event-spot.event-spot-horizontal {
        margin-left: 0;
    }

    /* -- Events Carousels Horizontal Spots -- */
    .block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-title,
    .block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-date,
    .block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-location {
        width: 70%;
    }

    .block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-features {
        width: 60px;
        top: 0;
        padding-top: 22px;
        margin: 0;
    }

    .block.event-carousel .row .event-spot.event-spot-horizontal span.square-icon {
        float: left;
        margin: 3px 0;
        clear: both;
    }

    .block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-category {
        right: 79px;
        left: auto;
    }

    /* -- Icon Explanation -- */
    .icon-expl-container {
        white-space: nowrap;
    }

    .icon-expl-container .explanation {
        white-space: normal;
    }

    /* -- Even detail Search -- */
    .block.event-search-by-detail .col-xs-12,
    .block.event-search-by-detail .col-sm-12,
    .block.event-search-by-detail .col-md-12,
    .block.event-search-by-detail .col-lg-12 {
        float: left;
    }

    .block.event-search-by-detail .date .input-wrapper .container-inline-date label {
        padding: 0 6px;
    }
}

/*-----------------------------------------------------------------------------------*/
/*- Small Devices, Tablets                                                          -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width: 991px) {

    /* -- Image Slider -- */
    .block.image-slider-front .image-slider-spot .image-slider-info-overlay {
        width: 260px;
    }

    .block.image-slider-front .carousel .carousel-controls {
        width: 180px;
    }

    .block.image-slider-front .image-slider-spot .image-slider-description {
        display: none;
    }

    .block.image-slider-front .image-slider-spot .image-slider-image img {
        height: 290px;
        width: auto;
    }

    /* -- Event Search by date & switch-user -- */
    .row.block-grid .block.event-search-by-date,
    .row.block-grid .block.switch-user {
        padding-right: 15px;
        top: 127px;
    }

    body.not-logged-in.page-user .row.block-grid .block.event-search-by-date {
        top: 0px;
    }

    /* -- User Login -- */
    .row.block-grid .block.user-login {
        padding-left: 15px;
    }

    .row.block-grid .block + .block.user-login {
        top: -127px;
    }

    /* -- User Menu -- */
    .row.block-grid .block.user-menu#block-system-user-menu {
        padding-left: 15px;
    }

    .row.block-grid .block + .block.user-menu {
        top: -127px;
    }

    .row.block-grid .block.user-menu ul {
        text-align: left;
    }

    .row.block-grid .block.user-menu ul li {
        padding-right: 20px;
        padding-left: 20px;
    }

    .row.block-grid .block.user-menu ul li:nth-child(4) {
        right: 122px;
        padding: 0
    }

    .row.block-grid .block.user-menu ul li.last {
        right: 10px;
        padding: 0
    }

    /* -- Event Search By Word -- */
    .block.event-search-by-word #search-form-wrapper span#deploy-search {
        left: 16px;
        position: relative;
    }

    .block.event-search-by-word #category-checks > div {
        padding-bottom: 0px;
    }

    /* -- Advanced Search -- */
    .block.event-search-by-word #advanced-search-wrapper .row {
        margin-bottom: 30px;
    }

    .block.event-search-by-word #advanced-search-wrapper .row:last-child {
        margin-bottom: 20px;
    }

    .block.event-search-by-word #advanced-search-wrapper label[for="search-dely-mode"],
        /*.block.event-search-by-word #advanced-search-wrapper label[for="search-loc-country"],*/
    .block.event-search-by-word #advanced-search-wrapper label[for="search-loc-city"] {
        line-height: 20px;
        height: auto;
    }

    .block.event-search-by-word #advanced-search-wrapper label[for="search-start-date"] {
        line-height: 38px;
        height: 38px;
    }

    .block.event-search-by-word #advanced-search-wrapper label[for="search-end-date"] {
        margin-left: 20px;
        margin-right: 20px;
    }

    .block.event-search-by-word #advanced-search-wrapper .date .input-group {
        text-align: right;
        margin-bottom: 30px;
    }

    .block.event-search-by-word #advanced-search-wrapper .date .input-wrapper input[type="text"] {
        width: 200px;
    }

    /* -- Events Carousels -- */
    .block.event-carousel .carousel .carousel-controls {
        top: -50px;
    }

    .block.event-carousel .carousel .carousel-controls .carousel-indicators {
        right: 5px;
    }

    .block.event-carousel .carousel .carousel-controls .carousel-indicators li {
        width: 23px;
        height: 23px;
        border-radius: 15px;
    }

    .block.event-carousel .carousel .carousel-controls .carousel-buttons {
        top: -7px;
        right: 5px;
    }

    .block.event-carousel .carousel .carousel-controls .carousel-buttons li {
        font-size: 24px;
    }

    .block.event-carousel .row .event-spot {
        border-right: 13px solid transparent;
        border-left: 13px solid transparent;
    }

    .block.event-carousel .row .event-spot .event-spot-basic-info {
        height: 288px;
    }

    .block.event-carousel .row .event-spot .event-spot-title {
        height: 55px;
    }

    .block.event-carousel .row .event-spot .event-spot-location {
        height: 45px;
    }

    /* -- Even detail Search -- */
    .block.event-search-by-detail .date input[type="text"] {
        width: 203px;
    }

    .block.event-search-by-detail .date .input-wrapper .container-inline-date label {
        padding: 0 13px;
    }

    /* -- Registration Mode List -- */
    .view-event-registration-mode-list {
        margin-left: 10px;
        margin-right: 15px;
        text-align: justify;
    }

    /* -- Icon Explanation -- */
    .block.icon-explanation .views-view-grid tr {
        display: block;
        float: left;
        width: 100%;
    }

    .block.icon-explanation .views-view-grid td {
        display: block;
        float: left;
        margin: 0;
    }

}

/*-----------------------------------------------------------------------------------*/
/*- Extra Small Devices, Phones                                                     -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width: 767px) {

    /* -- ALL Blocks -- */
    .block .block-inner h2.block-title {
        font-size: 25px;
    }

    .block .block-inner h2.block-title:before {
        font-size: 20px;
    }

    /* -- Image Slider -- */
    .block.image-slider-front .image-slider-spot .image-slider-info-overlay {
        width: auto;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        padding: 8px;
    }

    .block.image-slider-front .image-slider-spot .image-slider-main-info {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        background: #fff;
        padding: 8px 135px 8px 10px;
    }

    .block.image-slider-front .carousel .carousel-controls {
        width: auto;
        left: auto;
        right: 20px;
        bottom: 13px;
    }

    .block.image-slider-front .image-slider-spot .image-slider-main-info .image-slider-title {
        padding: 0;
        font-size: 1.3em;
    }

    /* -- Event search by Date -- */
    .block.event-search-by-date .block-inner {
        border: none;
    }

    .row.block-grid .block.event-search-by-date .visible-xs > div:not(:first-child) {
        padding-left: 0;
    }

    /* -- Switch User -- */
    .row.block-grid .block.switch-user {
        top: 143px;
    }

    /* -- User Login -- */
    .block.user-login .block-inner {
        background-color: rgba(0, 0, 0, 0.02);
    }

    .block.user-login .form-group input.form-text,
    .block.user-login button.btn {
        font-size: 20px;
    }

    /* -- User Menu -- */
    .row.block-grid .block.user-menu .block-inner {
        background-color: rgba(0, 0, 0, 0.02);
    }

    .row.block-grid .block.user-menu ul {
        text-align: center;
        padding-top: 10px;
    }

    .row.block-grid .block.user-menu ul li {
        padding-right: 8px;
        padding-left: 8px;
    }

    /* -- Search by Category -- */
    .block.event-search-by-category {
        position: absolute;
    }

    /* -- Event Search by Word -- */
    .row.block-grid .block.event-search-by-word {
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

    .row.block-grid .block.event-search-by-word .block-inner {
        border: none;
        padding-top: 0;
        padding-bottom: 100px;
    }

    .row.block-grid .block.event-search-by-word h2.block-title {
        float: none;
        margin-bottom: 30px;
    }

    .block.event-search-by-word #search-form-wrapper {
        position: static;
        display: block;
        width: auto;
    }

    .block.event-search-by-word #search-form-wrapper > div {
        position: static;
    }

    .block.event-search-by-word #search-form-wrapper span#deploy-search {
        position: absolute;
        top: 14px;
        bottom: auto;
        right: 27px;
        left: auto;
        width: auto;
        font-size: 19px;
    }

    .block.event-search-by-word #search-form-wrapper > div .input-group {
        display: block;
        position: static;
    }

    .block.event-search-by-word #search-form-wrapper .input-group input.form-control {
        font-size: 20px;
    }

    .block.event-search-by-word #search-form-wrapper .input-group .input-group-btn {
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 50%;
        text-align: center;
    }

    .block.event-search-by-word #search-form-wrapper .input-group .reset-button {
        position: absolute;
        bottom: 30px;
        right: 0;
        width: 50%;
        text-align: center;
    }

    .block.event-search-by-word #search-form-wrapper .input-group .input-group-btn .btn,
    .block.event-search-by-word #search-form-wrapper .input-group .reset-button .btn {
        font-size: 23px;
        width: 80%
    }

    .block.event-search-by-word #category-checks {
        padding: 0;
    }

    .block.event-search-by-word #category-checks .checkbox {
        padding: 0 0 25px 35px;
    }

    .block.event-search-by-word #category-checks .checkbox label input + span {
        font-size: 18px;
        color: #666;
        font-weight: lighter;
    }

    .block.event-search-by-word #category-checks .checkbox label input + span:before {
        content: "";
        display: inline-block;
        height: 30px;
        width: 30px;
        border: 3px solid #666;
        border-radius: 40px;
    }

    .block.event-search-by-word #category-checks .checkbox label input:checked + span:before {
        background-color: #666;
        max-width: none;
    }

    .block.event-search-by-word #advanced-search-wrapper {
        margin-bottom: 15px;
    }

    .block.event-search-by-word #advanced-search-wrapper > .row {
        margin-bottom: 15px;
    }

    .block.event-search-by-word #advanced-search-wrapper > .row > div {
        padding: 0;
    }

    .block.event-search-by-word #advanced-search-wrapper #edit-registration,
    .block.event-search-by-word #advanced-search-wrapper #edit-location-country,
    .block.event-search-by-word #advanced-search-wrapper #edit-registration {
        margin-bottom: 15px;
    }

    .block.event-search-by-word #advanced-search-wrapper > .row > div label {
        height: 38px;
        line-height: 38px;
        font-size: 23px;
        font-weight: lighter;
    }

    .block.event-search-by-word #advanced-search-wrapper #event-availability-xs {
        margin-bottom: 20px;
    }

    .block.event-search-by-word #advanced-search-wrapper #event-availability-xs .form-group {
        margin-bottom: 0;
    }

    .block.event-search-by-word #advanced-search-wrapper #event-availability-xs .form-group label {
        font-size: 18px;
        text-transform: uppercase;
        color: #555;
    }

    .block.event-search-by-word #advanced-search-wrapper #event-availability-xs .date-multi-picker {
        margin-bottom: 5px;
    }

    .block.event-search-by-word #advanced-search-wrapper #event-availability-xs .date-multi-picker select {
        width: 100%;
    }

    /* -- Event Carousels -- */
    .block.event-carousel .more-link a {
        font-size: 22px;
        padding: 10px 6px;
    }

    /* -- Even detail Search -- */
    .block.event-search-by-detail .block-inner form {
        text-align: center;
    }

    .block.event-search-by-detail .form-group > label {
        text-align: left;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .block.event-search-by-detail .date input[type="text"] {
        width: 100%;
    }

    .block.event-search-by-detail .date .input-wrapper > div {
        width: 50%;
    }

    .block.event-search-by-detail .date .input-wrapper .container-inline-date > .form-item {
        display: table;
    }

    .block.event-search-by-detail .date .input-wrapper .container-inline-date label {
        display: table-cell;
        padding: 0;
        margin: 0;
        width: auto;
        text-align: center;
        width: 10%;
    }

    .block.event-search-by-detail .date .input-wrapper .container-inline-date .date-padding {
        display: table-cell;
        width: 30%;
        padding: 0;
        margin: 0;
    }

    .block.event-search-by-detail button {
        margin-bottom: 12px;
        margin-top: 20px;
        font-size: 20px;
        font-weight: 100;
        display: block;
        width: 100%;
    }

    .block.event-search-by-detail .reset-button {
        margin: 0;
        float: none;
    }

    .block.event-search-by-detail .reset-button button {
        margin-bottom: 3px;
    }

    /* -- Carousel Event Spots -- */
    .block.event-carousel .row .event-spot .event-spot-basic-info {
        height: 355px;
    }

    .block.event-carousel .row .event-spot .event-spot-title {
        height: 87px;
    }

    .block.event-carousel .row .event-spot .event-spot-location {
        height: 67px;
    }

    /* -- Icon Explanation -- */
    .block.icon-explanation .block-inner h2 {
        margin-bottom: 30px;
    }

    .block.icon-explanation .block-inner h3 {
        font-size: 20px;
    }

}

/*-----------------------------------------------------------------------------------*/
/*- Small Mobile Phones (No bootstrap rule)                                         -*/
/*-----------------------------------------------------------------------------------*/
@media (max-width: 529px) {

    /* -- Front page: slider --*/
    .block.image-slider-front .image-slider-spot .image-slider-image img {
        height: 250px;
    }

    /* -- Login -- */
    .row.block-grid .block.user-login {
        top: -120px;
    }

    .row.block-grid .block.user-login .col-xs-5 {
        width: 50%;
    }

    .row.block-grid .block.user-login .col-xs-2 {
        width: 100%;
    }

    .block.user-login ul {
        position: relative;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        padding-bottom: 12px;
    }

    .block.user-login ul li a {
        font-size: 14px;
    }

    /* --  User Menu -- */
    .row.block-grid .block.user-menu ul li {
        padding-right: 15px;
        padding-left: 15px;
    }

    /* --  Search by Date -- */
    .row.block-grid .block.event-search-by-date {
        top: 209px;
    }

    body.logged-in .row.block-grid .event-search-by-date {
        top: 185px;
    }

    /* --  User Switch -- */
    .row.block-grid .block.switch-user {
        top: 200px;
    }

    .block.switch-user .links li {
        width: 32%
    }

    /* --  Event carousels -- */
    .block.event-carousel .row .event-spot.event-spot-horizontal .event-spot-basic-info {
        height: auto;
        min-height: 235px;
    }

    /* --  Icon Explanation -- */
    .block.icon-explanation .views-view-grid td.icon-expl-container {
        width: 100%;
    }

    /* -- Even detail Search -- */
    .block.event-search-by-detail .form-group {
        margin-bottom: 5px;
    }

    .block.event-search-by-detail .form-group > label {
        width: 100%;
    }

    .block.event-search-by-detail .form-group > .input-wrapper {
        width: 100%;
    }

}
    




