
.svg-thumbnail {
    position: relative;
    display: inline-block;
}

.svg-caption {
    position: absolute;
    transform: translate( 0%, 0% );
    text-align: center;
    top:0%;
    bottom:0%;
    left:0%;
    right: 0%;
}

.overlap-container {
    position: relative;
    display: inline-block;
    height: 100%
}
@media (max-width: 1000px) {
    figure {
        text-align: center !important;
    }
    .svg-container {
        position: absolute !important;
        transform: translate( -50%, -50% ) !important;
        text-align: center !important;
        top:50% !important;
        left:50% !important;
    }
}
@media (max-width: 780px){
    h1, h1 > span {
        font-size: 36px !important;
    }
    h2, h2 > span {
        font-size: 32px !important;
    }
    h3, h3 > span {
        font-size: 28px !important;
    }
    h4, h4 > span {
        font-size: 22px !important;
    }
    p {
        font-size: min(16px) !important;
    }
    .nav-item > a {
      font-size: min(16px) !important;
    }
}
@media (max-width: 575.98px){
    h1, h1 > span {
        font-size: 36px !important;
    }
    h2, h2 > span {
        font-size: 32px !important;
    }
    h3, h3 > span {
        font-size: 28px !important;
    }
    h4, h4 > span {
        font-size: 22px !important;
    }
    p {
      font-size: min(16px) !important;
    }
    .nav-item > a {
      font-size: min(16px) !important;
    }
}
@media(max-width: 500px) {
    .g-recaptcha {
        transform:scale(0.77);
        transform-origin:0 0;
    }
}
#contact-form label, #contact-form span, #contact-form select {
    color: #575757;
}
.content_element p, .main_content p {
    color: #575757;
}
html {
    overflow: visible !important;
}
.text-black {
    color: #000 !important;
}
/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR - Created for cookies side bar.
*******************************/

.cookies-modal, #cookie_policy, #privacy_policy, #overallCookiesModal {
    z-index: 999999999;
}
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
         -o-transform: translate3d(0%, 0, 0);
            transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog{
    left: 0;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
       -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
         -o-transition: opacity 0.3s linear, left 0.3s ease-out;
            transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog{
    left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
    right: 0;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
       -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
         -o-transition: opacity 0.3s linear, right 0.3s ease-out;
            transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
    border-radius: 0;
    border: none;
}

.cookies-modal .modal-header {
    border-bottom: 0px;
}

.cookies-modal .modal-body p {
    color: #575757;
    font-size: 16px;
}

.custom-control-input:focus~.custom-control-label::before {
    border-color: #314089 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 47, 69, 0.25) !important;
  }

  .custom-control-input:checked~.custom-control-label::before {
    border-color: #314089 !important;
    background-color: #314089 !important;
  }

  .custom-control-input:active~.custom-control-label::before {
    background-color: #314089 !important;
    border-color: #314089 !important;
  }

  .custom-control-input:focus:not(:checked)~.custom-control-label::before {
    border-color: #314089 !important;
  }

  .custom-control-input-green:not(:disabled):active~.custom-control-label::before {
    background-color: #314089 !important;
    border-color: #314089 !important;
  }

  .custom-switch.left {
    padding-left: 0 !important;
  }

  .custom-switch.left .custom-control-label::before {
    left: 15rem !important;
  }

  .custom-switch.left .custom-control-label::after {
    left: calc(15rem + 2px) !important;
  }

#ck-hub {
    background-color:#fff;
    position: fixed !important;
    bottom: 0;
    left: 0;
    z-index: 99999999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    padding: 0;
}

#ck-hub .ck-button {
    transition: width 0.2s 0.4s ease-out, height 0.2s 0.4s ease-out, left 0.2s 0.4s ease-out, bottom 0.2s 0.4s ease-out, background-color 0.1s 0s;
    border-style: solid;
    position: absolute;
    bottom: 28px;
    z-index: 99999999;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #fff;
    padding: 5px;
}

.cookies_table {
    background-color: #0000001a !important;
}

.cookies_table .last {
    border-bottom: 1px solid #ccc !important;
}

.cookies_table td, .cookies_table th, .cookies_table tr {
    border: none;
}

.custom-switch label {
    cursor:pointer;
}

.modal.bottom .modal-dialog {
    position: fixed;
    display: block;
    top:auto;
    right:auto;
    left:auto;
    margin: auto !important;
    bottom:0;
    width: 100% !important;
    max-width: 100% !important;
}

.modal.bottom .modal-body {
    padding: 10px 10px 10px;
}

#overallCookiesModal h4, #overallCookiesModal a {
    color: #000 !important;
}

#overallCookiesModal p, #privacy_policy p, #privacy_policy li{
    color: #575757 !important;
}

#cookie_policy .modal-body{
    max-height: 700px;
    overflow: auto;
}

.cms-modal{
    min-width: 1200px !important;
}

/*******************************
* END MODAL AS LEFT/RIGHT SIDEBAR
*******************************/