/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .full-width {
     width: 100%;
 }

 /* ELEMENTS */
button {
    border-color: var(--ast-global-color-0);
    background-color: var(--ast-global-color-0);
    color:white;
}

button:hover {
    background-color: white;
    border-color: var(--ast-global-color-0) !important;
    color: var(--ast-global-color-0) !important;
}
button:focus {
    background-color: white;
    border-color: var(--ast-global-color-0) !important;
    color: var(--ast-global-color-0) !important;
}

 /* ELEMENTS END */

.icon-link-box {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.icon-link-box:hover {
    transform: scale(1.01);
    box-shadow: 2px 2px 20px #8080808f;
}


/* DOCUMENTS / NEWS */

.document-container-box {
    display: flex;
}

.news-container-box {
    display: flex;
}

.left-col {
    display: flex;
    flex-direction: column;
    width: 25%;
    padding-top: 50px;
}

.right-col {
    width: 75%;
    margin-left:10px;
}

.left-col a h2 {
    font-size: 18px;
    font-size: 1em;
    color: var(--ast-global-color-5);
    margin: 0px;
    font-weight: lighter !important;
    padding-top: 5px;
    transition: all 0.3s ease-in-out;
}

.left-col a:first-child {
    margin-bottom:30px;
}

.left-col p {
    font-size: 18px;
    font-size: 0.9em;
    color: var(--ast-global-color-5);
    cursor: pointer;
    margin: 0px;
    transition: all 0.3s ease-in-out;
}

.left-col p:hover, .left-col h2:hover, .grid-box .header a p:hover {
    color: var(--ast-global-color-0);
    cursor: pointer;
}

.left-col input {
    padding: 5px;
    width: 100%;
    margin-top:50px;
}

.right-col .grid-box {
    display: grid;
    grid-template-columns: 50% 50%;
}

.grid-box-single {
    grid-column: span 2;
}

.search-grid-box-single {
    grid-column: span 2;
}


.grid-box .header {
    padding-top: 50px;
    background-color: rgb(0 155 219 / 10%);
    padding-bottom: 30px;
    padding-left: 30px;

}

.grid-box .header p{
    font-size: 16px;
    font-size: 1em;
    color: var(--ast-global-color-5);
    font-weight: normal !important;
    text-transform: uppercase;
    margin: 0px;
    letter-spacing: 4px;
}

.grid-box .content {
    padding: 10px 10px 20px 10px;
}

.subjects-box a {
    text-transform: uppercase;
    color: var(--ast-global-color-0);
    font-size: 0.8em;
}

.subjects-box p {
    text-transform: uppercase;
    margin: 0px;
    font-size: 0.8em;
}

.subjects-box a:not(:last-child):after {
    content: '\00a0-\00a0';
}

.subjects-box p:not(:last-child):after {
    content: '\00a0-\00a0';
}

.nav-box {
    margin: 20px 0px;
}

.nav-box a{
    font-size: 1.4em;
}

.nav-box a i{
    margin-right: 10px;
}

.detail-box .detail-header h2 {
    color: var(--ast-global-color-0);
    font-size: 1.4em;
    letter-spacing: 0.1em !important;
    margin: 20px 0px;
}

.detail-box .detail-header .info-box {
    display:flex;
    margin-bottom:10px;
    border-top: solid #0000001f 1px;
    border-bottom: solid #0000001f 1px;
    padding: 5px 0px;
}

.detail-box .detail-header .info-box p {
    font-size: 0.8em;
    color: black;
    margin: 0px;
    margin-right: 10px;
}

.detail-box .detail-header .info-box p:last-child {
    margin-left: auto;
}

.detail-box .additional-detail-box .summary-image {
    width: 30vw;
}

.detail-box .additional-detail-box .summary-news {
    width: calc(70vw - 20px);
    margin-left: 20px;
}

.detail-box .additional-detail-box .summary-flex {
    display:flex;
}

.detail-body {
    border-top: solid #0000001f 1px;
    margin-top: 10px;
    padding-top: 10px;
}

.detail-body .image-box img {
    width: 100%;
}

.detail-body .info-row {
    display:flex;
    margin: 5px 0px;
    border-bottom: dotted #00000026 1px;
}

.detail-body .info-row div{
    /* padding: 10px 0px; */
    width: -webkit-fill-available;
}

.detail-body .info-row .info-row-title {
    font-weight: bold;
    width: 20%;
}

.detail-body .info-row p {
    margin: 0px;
    font-size: 0.9em;
    color: black;
    width: 80%;
}

.detail-body .info-row a {
    margin: 0px;
    font-size: 0.9em;
}

.detail-body .info-row div {
    width: 80%;
}

.detail-body .publisher-details {
    color: black;
    font-size: 0.8em;
    margin-bottom: 20px;
}

/* SIMPLE NEWS */
.simple-news-container-box .right-col {
    width: 100% !important;
    margin: 0px;
}

/* TOOLTIPS */
.nice-tooltip {
    position: relative !important;
    display: inline-block !important;
}

.nice-tooltip:hover .nice-tooltiptext {
    visibility: visible;
}

.nice-tooltip .nice-tooltiptext {
    visibility: hidden;
    width: fit-content;
    padding: 5px 10px !important;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: -5px;
    right: 29px;
    border: solid black 1px;
}

.nice-tooltip .nice-tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 100%; /* To the right of the tooltip */
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent black;
}


/* CALENDAR RESULT CONTAINER*/
#calendar_event_container .elementor-widget-wrap {
    display: flex !important;
    justify-content: center !important;
}

.public-event-list-box {
    width: 100%;
    padding: 10px;
}

.public-event-list-box h2 {
    font-size: 1.1em;
    text-align: center;
    list-style-type: none;
    color: var(--ast-global-color-0);
}

.public-event-list-box ul {
    list-style-type: none;
    margin: 0px;
}

/* OBJECT */
.object-box {
    border: solid grey 1px !important;
    margin: 15px 5px 0px 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.object-box a{
    width: 100%;
    height: 100%;
}

.object-box:hover {
    box-shadow: 2px 2px 10px #8080808f;
}

.object-header {
    padding: 5px 0px 5px 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.object-header .date {
    font-size: 0.7em;
    color: var(--ast-global-color-5);
    margin: 0px;
    margin-bottom: auto;
}

.object-header .date i {
    color: var(--ast-global-color-0);
}

.object-header .category {
    background-color: var(--ast-global-color-0);
    color: white;
    text-transform: uppercase;
    padding: 3px 10px 3px 10px;
    margin: 0px;
    font-size: 0.6em;
    letter-spacing: 0.2em;
    /* width: 100%; */
}

.object-content {
    padding:5px;
    overflow: hidden;
}

.object-content h4{
    /* font-size: clamp(14px, 0.8vw, 0.8vw); */
    font-size: clamp(1em, 0.8vw, 0.8vw);
    color:black;
    font-weight: bold;
    margin-bottom: 0px;
    letter-spacing: 0px !important;
}

.object-footer {
    display:flex;
    align-items: center;
}
.object-footer p{
    font-size: 0.9em;
    margin: 0px;
    color: var(--ast-global-color-0);
}

.object-footer i{
    color: var(--ast-global-color-0);
    margin: 0px 10px;
}

/* LOGIN FORM */
.login-form {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: center;
    padding: 50px 0px;
}

.login-form form {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 50%;
}

.login-form form button {
    width: fit-content;
    justify-self: center;
    width: 10em;
    min-width: 10em;
    height: 4em;
    min-height: 4em;
    padding-top: 10px !important;
    margin-left: calc(50% - (10em/2));
    margin-top: 20px;
}


.button-link {
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: 1em;
    text-transform: capitalize;
    color: var(--ast-global-color-0);
    font-weight: normal;
}

@media (max-width: 1024px) {
    .left-col {
        width: 30%;
    }

    .right-col {
        width:70%;
    }

    .right-col .grid-box {
        grid-template-columns: 100%;
    }

    .grid-box-single {
        grid-column: span 1;
    }

    .search-grid-box-single {
        grid-column: span 2;
    }

    .object-box {
        margin: 15px 0px 0px 0px;
    }
    .grid-box .header {
        margin-bottom: 5px;
    }

    .object-content p {
        font-size: clamp(16px, 1vw, 1vw);
    }

    /* SIMPLE NEWS */
    .simple-news-container-box .right-col .grid-box {
        grid-template-columns: 50% 50%;
    }
}

@media (max-width: 769px) {
    .news-container-box {
        flex-direction: column;
    }

    .document-container-box {
        flex-direction: column;
    }

    .left-col {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: start;
        justify-content: center;
        padding-bottom: 20px;
    }

    .right-col {
        width: 100%;
        margin-left: 0px;
    }

    .left-col a:first-child {
        grid-column: 1 / span 2;
    }

    .left-col p {
        font-size: 1em;
    }

   .grid-box {
        grid-template-columns: 100% !important;
    }

    .search-grid-box-single {
        grid-column: span 1;
    }

    .grid-box .header {
        padding-top: 30px;
        padding-bottom: 10px;
        padding-left: 30px;
        margin-bottom:5px;
    }

    .grid-box .content {
        padding: 10px 0px;
    }

    .object-box {
        margin: 15px 0px 0px 0px;
    }

    .detail-body .info-row {
        flex-direction: column;
    }

    .detail-body .info-row .info-row-title {
        font-weight: bold;
        width: 100%;
    }
    
    .detail-body .info-row p, .detail-body .info-row div {
        width: 100%;
    }

    .detail-body .info-row a {
        width: 100%;
    }

    /* SIMPLE NEWS */
    .simple-news-container-box .right-col .grid-box{
        grid-template-columns: 100%;
    }
}

@media (max-width: 506px) {
    .left-col {
        display:flex;
    }

    .object-content p{
        font-size: clamp(14px, 0.8vw, 0.8vw);
    }

    .detail-box .detail-header .info-box {
        flex-direction: column;
    }

    .detail-box .detail-header .info-box p:last-child {
        margin-left: 0px;
    }

    .detail-body {
        border-top: none;
    }

    .detail-box .additional-detail-box .summary-flex {
        flex-direction: column;
    }

    
    .detail-box .additional-detail-box .summary-image {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .detail-box .additional-detail-box .summary-news {
        width: 100%;
        margin-left: 0px;
    }

    .subjects-box {
        flex-direction: column;
        border-bottom: solid #0000001f 1px;
    }

    .subjects-box a {
        font-size: 0.8em;
    }

    .subjects-box a:not(:last-child):after {
        content: '';
    }
    
    .subjects-box p {
        font-size: 0.8em;
    }
    .subjects-box p:not(:last-child):after {
        content: '';
    }

    .nav-box a{
        font-size: 1.1em;
    }

    .detail-box .detail-header h2 {
        font-size: 1.1em;
    }
}

@media (max-width: 336px) {
    .left-col {
        grid-template-columns: 100%;
    }

    .left-col a:first-child {
        grid-column: 1;
    }

    .left-col form {
        grid-column: 1;
    }
}


/* MAP EMBED */
div#mapzs-container
{
    width:100%;
    height:500px;
    overflow:hidden;     /* if you don't want a scrollbar, set to hidden */
    overflow-x:hidden;   /* hides horizontal scrollbar on newer browsers */

    /* resize and min-height are optional, allows user to resize viewable area */
    -webkit-resize: none; 
    -moz-resize: none;
    resize: none;
    min-height:317px;
}

iframe#embed
{
    width:1000px;       /* set this to approximate width of entire page you're embedding */
    height:2000px;      /* determines where the bottom of the page cuts off */
    margin-left:-183px; /* clipping left side of page */
    margin-top:-244px;  /* clipping top of page */
    overflow:hidden;

    /* resize seems to inherit in at least Firefox */
    -webkit-resize:none;
    -moz-resize:none;
    resize:none;
}

/* SEARCH BAR */
.header-search-form {
    position: relative;
}

.header-search-form i {
    color: var(--ast-global-color-0);
    cursor: pointer;
    margin-right:20px;
}

.header-search-form form {
    position: absolute;
    top:0px;
    left:0px;
    z-index: 100;
}

.grid-box {
    display: grid;
    grid-template-columns: 50% 50%;
}

