/********************************************** CUSTOM FONT DECLARTIONS **************************************************/
@import url("//fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600&display=swap");
/******************************************* END OF CUSTOM FONT DECLARTIONS **********************************************/


/*************************************************** MAIN RULES **********************************************************/
body {
    padding:0;
    margin:0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #585852;
}

body.ar-ae {
	font-family: 'Poppins', sans-serif !important;
}
.tabItem,
.tab-active,
.form input,
.form select,
.next-event {
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    color: #585852;
}
.en-gb .form input,
.en-gb .form select {
    font-family: inherit;
    font-size: 1em !important;
    color: #353738 !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-weight: normal;
}

.ar-ae .form input,
.ar-ae .form select {
    font-family: inherit;
    font-size: 1em !important;
    color: #353738 !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-weight: normal;
}

.ar-ae .btn-subscribe, .ar-ae .btn-submit, .ar-ae .btn-cancel, .ar-ae .btn-default {
    font-family: inherit;
}
.wrapper {
    width: 100%;
    max-width:1185px;
    margin: 0 auto;
    padding: 0 0 0 0;
    position:relative;
}
.hyperlink,
.disclaimer-box a,
.cookies-box a {
    text-decoration: none !important;
    color: #554588!important;
}

.tabItem {
    height: auto;
    line-height: normal;
    padding-top: 0.5em !important;
    padding-right: 0.4em !important;
    padding-bottom: 0.5em !important;
    padding-left: 0.4em !important;
    text-decoration: none;
    font-weight: normal!important;
    font-style: normal;
    background: transparent;
    border: 0;
    border-bottom: 0;
    border-top: 0;
    text-transform: uppercase;
    transition: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    text-transform: capitalize;
    outline: none;
    margin: 0;
    color: #393E47!important;
    position: relative;
    top: 0;
    left: 0em;
    transition: background 0.5s, color 0.5s;
}

/*
.en-gb .tabs > li:first-child > a{
    border-radius: 5px 0px 0px 5px!important;
}
.en-gb .tabs > li:last-child > a{
    border-radius: 0px 5px 5px 0px!important;
    margin-left: -3px!important; 
}
.ar-ae .tabs > li:last-child > a{
    border-radius: 5px 0px 0px 5px!important;
}
.ar-ae .tabs > li:first-child > a{
    border-radius: 0px 5px 5px 0px!important;
    margin-left: -3px!important; 
}
*/
.tabs li {
    position: relative;
    display: inline-block;
    float: none;
    /*    margin-left: 0.08em;
    margin-right: 0.8em;
    margin-bottom: -3px;
    margin-top: 0;*/
    margin: 0 !important;
}

/*
.tabItem:hover {
    
    background: transparent;
    border-bottom: 4px solid #5A3996;
    color: #5A3996;
    color: #5A3996;
    border-top: 1px solid #5A3996;
    border-right: 1px solid #5A3996;
    border-bottom: 1px solid #5A3996;
    border-left: 1px solid #5A3996;
    text-decoration: none;
    font-style: normal;
    z-index: 9;
}
*/

.tab-active {
    font-weight: bold!important;
    text-align: center;
    color: #ffffff!important;
    border-top: 0.08em solid #554588;
    border-right: 0.08em solid #554588;
    background: #554588!important;
    border-bottom: 0.08em solid #554588;
    border-left: 0.08em solid #554588;
    border-radius: 0;
    margin-top: 10px;
}

.tabs {
    line-height: inherit !important;
    margin-left: 0px;
    margin-top: 0px;
    padding-left: 0;
    margin-bottom: 0px;
    background: #FFFFFF;
    border-bottom: 0px solid #82B130;
    line-height: 25px;
}

.en-gb .tabs {
    text-align: left;
}

.ar-ae .tabs {
    text-align: right;
}


.btn-subscribe,
.btn-submit,
.btn-cancel,
.btn-default {
    padding: 0.15em 1.0em 0.15em 1.0em;
    border: 0;
    font-weight: bold;
    line-height: normal;
    color: #fff;
    background: #554588;
    font-size: 1.0em;
    border-radius: 0;
    min-width: 120px;
    text-transform: capitalize;
    transition: background 0.5s, color 0.5s, border 0.5s;
    height: 34px;
}

.btn-subscribe:hover,
.btn-submit:hover,
.btn-cancel:hover,
.btn-default:hover,
.btn-subscribe:active,
.btn-submit:active,
.btn-cancel:active,
.btn-default:active,
.btn-subscribe:active,
.btn-subscribe:focus {
    background-color: #554588 !important;
    color: #ffffff;
}


.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #554588;
    border-color: #554588;
}

.eupagination > .active > a,
.eupagination > .active > span,
.eupagination > .active > a:hover,
.eupagination > .active > span:hover,
.eupagination > .active > a:focus,
.eupagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #554588;
    border-color: #554588;
}

.subscription-section {
    float: none;
}
/*
.en-gb .subscription-section {
    text-align: left;
}

.ar-ae .subscription-section {
    text-align: right;
}*/


.time-line-item {
    text-align: center;
    margin-right: 0.05em;
    margin-left: 0.05em;
    padding-top: 0em;
    padding-right: 0em;
    padding-bottom: 0em;
    padding-left: 0em;
}


.next-event {
    font-size: 16px;
    /*    display: none;*/
}

.time-line-item {
    /*    border: none;
    border-top: 0em solid transparent;
    border-right: 0em solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 0em solid transparent;*/
    padding-top: 0px;
    margin: -1px 0 0 -1px;
    border: 1px solid #F1F1EB;
    background: #FFFFFF;
}

.time-line-item:hover,
.calendar-time-line .current-month .time-line-item {
    padding-top: 0;
    margin: -1px 0 0 -1px;
    background: #FFFFFF;

}

.expand-collapse.expand > .exco-text,
.expand-collapse:hover > .exco-text {
    color: #82B130;
}

.event-row {
    border-bottom: 0px solid #b2b2b2;
    -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .1);
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1);
}

.event-row.focus .content-headline {
    border-right-color: #82B130;
}

.check-subscription-link {
    font-size: 1em !important;
    font-weight: normal;
}

* {
    outline: none;
}

.subscription-header,
.export-header,
.next-event div.lable,
.next-event div.date-time {
    font-weight: normal;
}

.calendar-time-line ul {
    /*    background: #F1F1EB;*/
    background: #Ffffff;
}

.calendar-time-line .year {
    background: #Ffffff;
}

.check-subscription-link {
    color: #554588;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px !important;
}

.en-gb .check-subscription-link {
    text-align: right;
}

.ar-ae .check-subscription-link {
    text-align: left;
}

.check-subscription-link:hover {
    text-decoration: underline;
}

.color-box {
    width: 16px;
    height: 16px;
    vertical-align: middle !important;
    border-radius: 0.2em;
}

.filter-type .selected .type-filter-name {
    font-weight: normal;
    color: #5A3996;
}

.headline-left .date-time,
.headline-left .event-name {
    display: inline-block;
    width: 44%;
    vertical-align: middle;
    font-weight: normal;
}

.headline .headline-right {
    float: right;
}

.headline-right .event-type {
    font-weight: normal;
}

.content-headline {
    margin-left: 0px;
}

.headline .headline-left {
    float: none;
    display: inline-block;
}

.content-headline {
    padding-bottom: 0px;
    border: 0;
}

.content-headline .headline {
    padding: 0 40px 15px;
}

.download-event {
    margin-top: 0px;
    display: none;
}

div#UpcomingEventsContainer .headline-right .event-type {
    margin-top: -10px;
}

.expand-collapse.expand > .exco-text {
    border-right-color: #e4e4e4;
}

.export-section {
    margin: 1em 0 0 0;
}

nav.year-filter {
    display: inline-block;
}

.events-container,
.events-scroller {
    padding-top: 20px !important;
}

#PastEventsContainer .filter-type .clear-both {
    background: #fff;
    text-align: center;
    margin-bottom: .5em;
    margin-top: 1em;
}

.filter-type .clear-both ul li {
    margin: 0 3px;
    padding: 5px 40px;
    position: relative;
}

body.ar-ae.page-font-style.body-rtl .filter-type .clear-both ul li {
    padding: 5px 40px !important;
}

.filter-type .clear-both ul li:hover,
.year-filter .selected {
    font-weight: normal;
}

.eupagination > li > a:hover,
.eupagination > li > span:hover,
.eupagination > li > a:focus,
.eupagination > li > span:focus {
    color: #FFFFFF;
    background-color: #5A3996;
    border: 0.08em solid #5A3996;
}

.eupagination > li > a,
.eupagination > li > span {
    margin: 0 0.1em;
    border-radius: 5px 5px;
    color: #B2B2B2;
    padding: .6em .6em .6em .6em;
    border: 0.08em solid #B2B2B2;
    transition: background 0.5s, color 0.5s, border 0.5s;
}

.eupagination > .disabled > span,
.eupagination > .disabled > span:hover,
.eupagination > .disabled > span:focus,
.eupagination > .disabled > a,
.eupagination > .disabled > a:hover,
.eupagination > .disabled > a:focus {
    color: #ddd;
}

.headline-left .event-name {
    margin-left: 15px;
}


.modal-dialog {
    max-width: 100%;
    margin: 0 auto;
}

.modal-content {
    border: 0;
    border-radius: 0;
}

.modal-header {
    padding: 20px 0px;
    margin: 0px 30px;
    border-bottom: 2px solid #e5e5e5;
    text-align: center;

}

.subscribe-event-title {
    font-weight: normal;
}

.modal-open .modal {
    padding-right: 0 !important;
}

.modal-body {
    padding: 15px 30px 30px 30px;
}

.your-preference-title {
    text-transform: uppercase !important;
    text-align: center;
    font-weight: normal;
    padding: 15px 0 15px 0;
}

.radio {
    background: none;
    display: none;
}

.period {
    text-transform: capitalize;
    margin-right: 5px;
    border-bottom: 4px solid transparent;
}

.period .radio + span {
    border-bottom: 4px solid transparent;
    padding: 1em 2em;
    display: inline-block;
}

.period .radio-checked + span {
    padding: 0.8em 1.5em;
}

.period .radio + span:before {
    content: "";
    border: 1px solid #ccc;
    left: 0px;
    top: 12px;
    width: 20px;
    border-radius: 50%;
    height: 20px;
    -webkit-box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .1);
    position: absolute;
}

.period .radio-checked + span:after {
    content: '';
    background: #5A3996;
    left: 7px;
    top: 19px;
    width: 8px;
    height: 8px;
    position: absolute;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .1);
}

.checkbox-wrapper {
    overflow: inherit;
    line-height: 1.25em
}

.preference-period {
    text-align: center;
}

.your-preferences {
    background: none;
    padding: 40px 0 0px 0;
}


.form input {
    height: 30px;
    width: 95%;
    vertical-align: middle;
    line-height: 1.5em !important;
    height: 2em !important;
    padding: 0px 0 0 0.16em;
    border: 1px solid #e1e1e1;
}

.form .label {
    width: 23%;
    float: left;
    text-align: left;
    padding-right: 0;
    vertical-align: middle;
    line-height: 37px;
    font-weight: normal;
    display: block;
    /*    font-size: 0.8em;*/
    height: 25px;
    color: inherit;
}

.form select {
    height: 30px;
    width: 95%;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("//gamma.euroland.com/tools/SubscriptionCentre2/Config/Company/ae-etisal/dropdown.svg");
    background-size: 9px 6px;
    background-origin: content-box;
    background-position: 99.5% 50%;
    background-repeat: no-repeat;
    border-radius: 0px;
    color: inherit;
    line-height: 1.5em !important;
    height: 2em !important;
    padding: 0px 0 0 0.16em;
    border: 1px solid #e1e1e1;
}

.form input,
.form select {
    width: 280px!important;
}

.row-control {
    padding: 10px 0 10px 0;
    clear: both;
    height: 45px;
}

.form .input {
    width: auto;
}

.modal a,
.hyperlink:hover,
.disclaimer-box a:hover,
.cookies-box a:hover {
    color: #5A3996 !important;
    text-decoration: underline!important;
}

.btn-submit,
.btn-cancel {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 5px;
}

.button-wrraper {
    margin-top: 0px !important;
    padding: 0 !important;
}

.google-recapcha {
    margin-top: 15px;
    text-align: center;
    color: rgba(203, 203, 203, 1);
}

/**************************************** START of Arabic Setting *********************************************/
body.body-rtl .tabs li {
    float: none !important;
}

body.body-rtl .form .label {
    text-align: right !important;
    float: right;
}

body.body-rtl .form select {
    background-position: 0% 50%;
}

body.body-rtl .your-preference-title {
    padding-left: 0;
    padding-right: 15px;
}

/**************************************** END of Arabic Setting *********************************************/

/**************************************** START of Media Queries *********************************************/
@media (max-width: 720px) {
    li.type {
        width: 50% !important;
    }
}

@media (max-width: 506px) {
    .preference-period {
        text-align: left;
    }

    body.body-rtl .preference-period {
        text-align: right;
    }
}

@media (max-width: 480px) {
    #UpcomingEventsContainer .headline-right .download-event {
        text-align: right !important;
        margin-top: 0;
    }

    body.ar-ae #UpcomingEventsContainer .headline-right .download-event {
        text-align: left !important;
        margin-top: 0;
    }

    .headline .headline-right {
        width: 30% !important;
    }

    .headline .headline-left {
        width: 70% !important;
    }

    #PastEventsContainer .headline .headline-right {
        width: 30% !important;
        float: right;
    }

    .preference-period {
        padding: 0;
    }
}


@media (max-width: 425px) {
    body {
        font-size: 14px;
    }

    li.type {
        padding: 7px 0;
    }
}


.modal-body .button-wrapper button.btn.btn-default.btn-primary.btn-ok {
    margin-top: 5px;
    margin-left: 0;
    margin-right: 0;
}

.form input,
.form select {
    font-family: inherit;
    font-weight: normal;
}

li.type {
    overflow-x: unset;
}

.filter-type .clear-both ul li a:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 7px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
}

.filter-type .clear-both ul .selected a:before {
    border-color: #5A3996;
}

.year-filter .selected a:after {
    content: '';
    background: #5A3996;
    left: 19px;
    top: 14px;
    width: 8px;
    height: 8px;
    position: absolute;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .1);
    box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, .1);
}

.export-section {
    margin: 0;
    display: none;
}

.check-subscription-link {
    margin-bottom: 1px;
    padding-bottom: 0px;
}

/**************************************** END of Media Queries *********************************************/


/* ********************** MODIFICATION  */
body.ar-ae {
    direction: rtl;
}

.ar-ae .next-event .date-time {
    direction: ltr;
    text-align: right;
}

body.ar-ae .checkbox-event-type li label span:nth-child(2):before {
    left: 0;
    right: -30px;
}

body.ar-ae .filter-type ul li {
    float: none;
}

body.ar-ae .checkbox-event-type li label span:nth-child(2) {
    margin-left: 0;
    margin-right: 30px;
}

body.ar-ae .period .radio + span:before {
    right: 0px;
}

body.ar-ae .period .radio-checked + span:after {
    right: 7px;
}

@media(max-width:507px) {
    .preference-period {
        text-align: center !important;
    }

    .period .radio-checked + span,
    .period .radio + span:hover,
    .period .radio + span {
        font-size: 12px;
        padding: 1em;
    }

    .period .radio + span:before {
        left: -9px;
        top: 12px;
        width: 16px;
        height: 16px;
    }

    body.ar-ae .period .radio + span:before {
        right: -10px;
    }

    body.ar-ae .period .radio-checked + span:after {
        right: -4px;
    }

    .period .radio-checked + span:after {
        left: -3px;
        top: 18px;
        width: 6px;
        height: 6px;
    }

    .modal-body {
        padding: 15px 10px 60px;
    }
}

@media(max-width:460px) {
    .preference-period {
        width: 100% !important;
    }

    .your-preference-title {
        margin: 0 auto;
        padding: 15px 0 !important;
        width: 130px;
    }
}

@media(max-width:353px) {
    .period .radio + span {
        padding: 1em;
    }
}

@media(max-width:320px) {
    .subscription-section .subscription-header {
        text-align: center;
        width: 100% !important;
        float: none;
    }

    .subscription-section .btn-subscribe-wrapper {
        float: none;
        width: 100% !important;
    }
}

.type-filter li {
    box-sizing: border-box;
}

@media(max-width:720px) {
    .type-filter li {
        width: 33.33%;
    }
}

@media(max-width:591px) {
    .type-filter li {
        width: 50%;
    }
}

@media(max-width:360px) {
    .filter-type ul li {
        font-size: 13px !important;
    }
}

@media (max-width: 360px) {
    .filter-type ul li {
        font-size: 12px !important;
    }

    .expand-collapse {
        display: none !important
    }
}

/*.next-event div.lable {
    font-weight: 500;
}*/
.next-event div.event-name {
    font-size: 16px;
    font-weight: bold;
}


.footer {
    font-size: 13px;
}

li.current-month {
    position: relative;
}

.time-line-item:hover {
    background: #554588;
    color: #ffffff;
}

.filter-type ul li {
    float: none;
    font-size: 14px;
    display: inline-block;
}

.filter-type ul {
    font-size: 0;
}

.en-gb .button-wrraper {
    margin-left: -23px;
}

.ar-ae .button-wrraper {
    margin-right: -23px;
}

@media(max-width:320px) {
    .en-gb .button-wrraper {
        margin-left: 0px;
    }

    .ar-ae .button-wrraper {
        margin-right: 0px;
    }
}

@media(max-width:598px) {
    .filter-type .clear-both ul li {
        padding: 10px 20px;
    }

    .filter-type .clear-both ul li a:before {
        left: -5px;
    }

    .year-filter .selected a:after {
        left: 2px;
    }

    body.ar-ae.page-font-style.body-rtl .filter-type .clear-both ul li a:before {
        left: 12px;
    }

    body.ar-ae.page-font-style.body-rtl .year-filter .selected a:after {
        left: 19px;
    }
}

@media(max-width:577px) {
    body.ar-ae.page-font-style.body-rtl .filter-type .clear-both ul li {
        padding: 10px 15px !important;
    }

    body.ar-ae.page-font-style.body-rtl .filter-type .clear-both ul li a:before {
        left: -10px;
    }

    body.ar-ae.page-font-style.body-rtl .year-filter .selected a:after {
        left: -3px;
    }
}

@media(max-width:393px) {
    .filter-type .clear-both ul li {
        padding: 10px 15px;
    }

    .filter-type .clear-both ul li a:before {
        left: -10px;
    }

    .year-filter .selected a:after {
        left: -3px;
    }
}

@media(max-width:394px) {
    .tabs li {
        width: 49%;
        box-sizing: border-box;
    }

    .tabs li a {
        width: 100%;
        box-sizing: border-box;
        padding: 1em 0.5em !important;
    }

    .modal-content span.event-name {
        font-size: 0.8em;
    }

}

.btn-primary {
    background-color: #554588;
    border-color: #554588;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    color: #FFFFFF;
    background-color: #554588;
    border-color: #554588;
}

.headline-left .full-descriptions {
    color: #666;
}

span.type-filter-name {
    vertical-align: middle;
}

ul.events li {
    margin-bottom: 10px;
}

.export-section {
    margin: 0;
}

.headline-left .event-name {
    margin-left: 0;
    font-weight: bold !important;
}

.headline-left .date-time,
.headline-left .event-name {
    display: block;
    vertical-align: middle;
    font-weight: normal;
    line-height: 1;
}

.headline .headline-right {
    float: right;
    padding-top: 9px;
}

@media(max-width:466px) {
    .row-control {
        padding: 0px 10px 10px 10px;
        max-width: 100%;
    }

    .form input,
    .form select {
        width: 96% !important;
    }
}

.full-descriptions {
    white-space: pre-line;
}



.tab-active:hover {

}

@media(max-width:320px){
    .filter-type .clear-both ul li {
        padding: 10px 13px;
    }
}

a.tabItem.second-heading {
    border: 1px solid #e1e1e1;
    border-bottom: 0;
    background: #fFFFFF;
    border: 0.08em solid #554588;
    font-weight: 700!important;
}

.time-line-item {
    border: 0.08em solid #e1e1e1;
}

.calendar-time-line .current-month .time-line-item {
    background-color: #554588;
    color: #fff;
    font-weight: normal;
}

.tabs {
    border-bottom: 1px solid #554588;
}

.tabs li {
    margin-bottom: -0.6px!important;
}

.tabItem:hover {
    background: #554588!important;
    color: #FFF!important;
}

@media (max-width:480px) {
    .tabs {
        border-bottom: 0;
    }

    .tabs li a {
        text-align: center;
    }
    .button-wrraper {
        margin-top: 30px !important;
    }
}

.google-recapcha>div {
    display: none;
}

body.modal a, body.hyperlink, body.disclaimer-box a, body.cookies-box a {
 color: #554588!important;   
}

.expand-collapse>.exco-text {
    color: #8c8c8c;
    height: 24px;
}

.expand-collapse {
    top: 30px;
    left: 10px;
}

.time-line-month-name {
    height: 25px !important;
    line-height: 2;
}

.ar-ae .period .radio + span {
    padding: 0.6em 1.8em;
    display: block;
}

.date-time {
    margin-top: 16px;
}

.popup-content {
    text-align: left;
}

body.ar-ae .popup-content {
    text-align: right;
}

.popup-date {
    line-height: 45px;
}
