/*==================================
    Fonts
==================================*/

html, body {
    overflow-x: hidden;
}

body.page-id-47 {
    overflow: visible;
}

.modal-open {
    padding-right: 0px !important;
}

body {
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600;
    word-wrap: break-word;
    word-break: break-word;
}

.custom-font {
    text-transform: none;
    font-weight: normal;
}

blockquote {
    border-left: 5px solid #ececec;
    padding: 15px 30px;
    font-style: italic;
}

blockquote p::before,
blockquote p::after {
    content: '"';
}

.fa {
    font-family: 'FontAwesome' !important;
    font-weight: 400 !important;
}

.fa-pencil::before {
    content: "\f040" !important;
}

/*==== End of Fonts ====*/


/*==================================
    Bootstrap colors override
==================================*/

/*Links*/

a {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

/*==== End of Bootstrap colors override ====*/

/*==================================
    Buttons
==================================*/

/* Default button styling */
.btn {
    /* Display and box model */
    display: inline-block;
    padding: 1rem 2.6rem;
    white-space: normal;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Typography */
    font-size: 0.87rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    /* Border and border radius */
    border-radius: 0;
    border: 1px solid transparent;
    text-transform: uppercase;
    /* Transitions */
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.btn:hover, .btn:focus {
    text-decoration: none;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.25);
}

.btn.disabled, .btn:disabled {
    opacity: 0.65;
    cursor: default;
}

.btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active {
    background-image: none;
}

a.btn.disabled,
fieldset:disabled a.btn {
    pointer-events: none;
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
    color: #ffffff;
}

a:not([href]):not([tabindex]):hover {
    cursor: pointer;
}

/* Primary button */

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.5);
}

.btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active {
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.5);
}

.btn-primary.disabled, 
.btn-primary:disabled {
    background-color: #6d7488;
    border-color: #6d7488;
}

/* Secondary button */
.btn-secondary {
    padding: 0.7rem 1.3rem !important;
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
    color: var(--white) !important;
}

.btn-secondary:focus, .btn-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Outline primary button */

.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.5);
}

.btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 21, 45, 0.5);
}

/* Outline secondary button */

.btn-outline-secondary:focus, .btn-outline-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

/* Light button */

.btn-light.disabled, 
.btn-light:disabled {
    opacity: 1;
    cursor: default;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #acacac;
}

/* Outline light button */

.btn-outline-light:focus, .btn-outline-light.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
}

.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/*Custom button*/

.btn.custom-btn {
    bottom: 0;
    right: 0;
    max-width: 92%;
    display: inline-block;
    white-space: normal;
    position: absolute;
    border-top-left-radius: 2rem;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/*==== End of Buttons ====*/


/* Default form control */

.form-control {
    display: block;
    width: 100%;
    font-size: 1rem;
    line-height: 1.5;
    background-clip: padding-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

select.form-control:not([size]):not([multiple]) {
    height: 54px;
}

.alert {
    border-radius: 0;
}

/*==== End of Forms ====*/


/*==================================
    Resets and default
==================================*/

@media (min-width: 1600px) {

    .container {
        max-width: 1540px;
    }

}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
    border: 0;
}

table {
    word-wrap: normal;
    word-break: normal;
}

.overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.overlay-primary {
    background: rgba(17, 17, 17, 0.3);
}

.overlay-secondary {
    background: rgba(17, 17, 17, 0.95);
}

.text-shadow {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.divider {
    display: block;
    position: relative;
    top: -49px;
    transform: rotate(180deg);
    height: 50px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1903 50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path fill="rgba(255, 255, 255, 1)" d="M 0 0 C 242.5 0 242.5 37 485 37 L 485 37 L 485 0 L 0 0 Z" stroke-width="0"></path> <path fill="rgba(255, 255, 255, 1)" d="M 484 37 C 703 37 703 0 922 0 L 922 0 L 922 0 L 484 0 Z" stroke-width="0"></path> <path fill="rgba(255, 255, 255, 1)" d="M 921 0 C 1195.5 0 1195.5 38 1470 38 L 1470 38 L 1470 0 L 921 0 Z" stroke-width="0"></path><path fill="rgba(255, 255, 255, 1)" d="M 1469 38 C 1686 38 1686 0 1903 0 L 1903 0 L 1903 0 L 1469 0 Z" stroke-width="0"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

.fullwidth-section .divider {
    top: -1px;
    transform: none;
}

.slick-slider {
    margin-bottom: 0 !important;
}

/*==== End of Resets and default ====*/


/*==================================
    Help classes
==================================*/

.clear {
    clear: both;
}

.centered {
  text-align: center;
}

.bold {
    font-weight: 600;
}

/*==== End of Help Classes ====*/

/*==================================
    Datepicker
==================================*/

.ui-widget {
    font-family: inherit;
}

.ui-datepicker-header.ui-widget-header {
    border: none !important;
    background: none;
    color: #ffffff;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    border: none;
    color: #ffffff;
    background: transparent;
    text-align: center;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    background: none;
    color: #007bff;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-right,
.ui-corner-br {
    border-bottom-right-radius: 0;
}

.ui-corner-all,
.ui-corner-bottom,
.ui-corner-left,
.ui-corner-bl {
    border-bottom-left-radius: 0;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-right,
.ui-corner-tr {
    border-top-right-radius: 0;
}

.ui-corner-all,
.ui-corner-top,
.ui-corner-left,
.ui-corner-tl {
    border-top-left-radius: 0;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border: none;
    background: transparent url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x;
}

.ui-datepicker .ui-datepicker-next:hover {
    right: 2px;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em;
}

.ui-datepicker .ui-datepicker-prev:hover {
    left: 2px;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    position: absolute;
    top: 2px;
    width: 1.8em;
    height: 1.8em;
}

.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
    background-image: url(../js/jquery/ui/images/ui-icons_ffffff_256x240.png);
}

/*==== End of Datepicker ====*/

/*==================================
    Responsive
==================================*/

@media (max-width:1886px) {

    .divider {
        background-size: contain;
    }

}

@media screen and (max-width:1024px) {

    h1,
    .h1 {
        font-size: 2.5rem;
    }

    h2,
    .h2,
    blockquote {
        font-size: 2rem;
    }

    h3,
    .h3 {
        font-size: 1.5rem;
    }

    h4,
    .h4 {
        font-size: 1.4rem;
    }

    h5,
    .h5 {
        font-size: 1.3rem;
    }

    h6,
    .h6 {
        font-size: 1.2rem;
    }

}

@media screen and (max-width:767px) {

    h1,
    .h1 {
        font-size: 2.25rem;
    }

    h2,
    .h2,
    blockquote {
        font-size: 1.5rem;
    }

    h3,
    .h3 {
        font-size: 1.3rem;
    }

    h4,
    .h4 {
        font-size: 1.2rem;
    }

    h5,
    .h5 {
        font-size: 1.1rem;
    }

    h6,
    .h6 {
        font-size: 1rem;
    }

}

@media screen and (max-width: 640px) {

    blockquote {
        font-size: 1rem;
    }

}

/*==== End of Responsive ====*/
