/*!
Theme Name: IEN
Theme URI: http://underscores.me/
Author: Giorgos Sarigiannidis
Author URI: https://www.gsarigiannidis.gr
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ien
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

IEN is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

.col-md-9 {
    padding: 0 20px;
}

img {
    height: auto;
}

.logos .owl-carousel .owl-item img {
    width: auto;
    height: auto;
    max-height: 60px;
}

.call-to-action.call-to-action-primary.button-centered.mb-5 {
    height: 100%;
}

#header .header-logo img {
    width: auto !important;
}

#footer div.gform_wrapper {
    max-width: 100%;
}

#footer div.gform_wrapper form {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

#footer div.gform_wrapper form span.gfield_required {
    display: none;
}

#footer div.gform_wrapper form div.gform_body {
    width: 68%;
    display: flex;
    flex-flow: row nowrap;
}

#footer div.gform_wrapper form div.gform_body ul {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
}

#footer div.gform_wrapper form div.gform_body li {
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    align-content: stretch;
    justify-content: flex-end;
}

#footer div.gform_wrapper form div.gform_body li input {
    border-radius: 2rem 0rem 0rem 2rem;
    border: 0;
    padding: .25rem 1.5rem;
    margin: 0;
    width: 100%;
    line-height: 3.2;
}

#footer div.gform_wrapper form div.gform_body li input:focus {
    outline: none;
}

#footer div.gform_wrapper form div.gform_body div.ginput_container {
    margin: 0;
    width: 100%;
    display: inline-block;
}

#footer div.gform_wrapper form div.gform_footer {
    display: flex;
    padding: 0;
    margin: 0;
    margin-left: -1px;
    width: 32%;
    flex-flow: row nowrap;
    align-content: center;
}

#footer div.gform_wrapper form div.gform_footer input[type="submit"] {
    background-color: #0088CC;
    color: #FFF !important;
    border-color: rgba(0, 0, 0, 0.09);
    border-radius: 0rem 2rem 2rem 0rem;
    font-size: .9em !important;
    padding: 0.7rem 1.5rem;
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    z-index: 3;
    width: 100%;
    margin: 0;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    max-height: 48px;
    height: 48px;
}

#footer div.gform_wrapper form div.gform_footer input[type="submit"]:hover {
    background-color: #00a1f2;
}

.cust_contact_form div.gform_body input {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-weight: 400;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin: 0;
    font-family: inherit;
    font-size: 0.85rem;
    line-height: 1.85;
    width: 100% !important;
}

.cust_contact_form div.gform_body label {
    color: #212529;
}

.cust_contact_form div.gform_body ul.gform_fields {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.cust_contact_form div.gform_body li {
    width: 100% !important;
}

.cust_contact_form div.gform_body textarea {
    font-size: 0.85rem;
    line-height: 1.85;
    height: auto;
    border-color: rgba(0, 0, 0, 0.09);
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-weight: 400;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    max-height: 140px;
}

.cust_contact_form div.gform_footer {
    margin-bottom: 1rem;
}

.cust_contact_form div.gform_footer input[type="submit"] {
    background-color: #0088CC;
    border-color: #0088CC #0088CC #006699 #0088CC;
    border-width: 1px;
    color: #FFF;
    text-transform: uppercase;
    font-size: .8em;
    box-shadow: none !important;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin: 0;
    font-family: inherit;
    max-width: 140px;
}

@media all and (min-width: 992px) {
    .cust_contact_form div.gform_body li:first-child,
    .cust_contact_form div.gform_body li:nth-child(2) {
        width: 50% !important;
    }
}

h1,
h2,
h3,
h4,
h5 {
    max-width: 1140px;
    margin: 0 auto;
    padding: 15px 0;
}

p {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

div.wp-pagenavi {
    margin: -10px 0 20px;
    position: relative;
    z-index: 1;
    display: flex;
    padding-left: 0;
    list-style: none;
    float: right !important;
    border-radius: .25rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.wp-pagenavi a, .wp-pagenavi span {
    padding: 0.5rem 1rem;
    margin: 0;
}

.wp-pagenavi span.current {
    border-color: #0088CC;
    background: #0088CC;
    color: #fff;
}

.wp-pagenavi a:hover {
    z-index: 2;
    color: #0088CC;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.wp-block-embed__wrapper {
    margin: 0 auto;
    display: block;
    max-width: 640px;
}

.alignwide .wp-block-embed__wrapper {
    max-width: 1100px;
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.alignwide .wp-block-embed__wrapper iframe,
.alignwide .wp-block-embed__wrapper object,
.alignwide .wp-block-embed__wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.call-to-action .col-12.top {
    align-items: flex-start;
}

.call-to-action .col-12.bottom {
    align-items: flex-end;
}

.call-to-action-primary h1 {
    color: #fff;
    display: block;
}

.iframe-block iframe {
    min-height: calc(100vh - 160px);
    border: none;
}

.nav-item .btn {
    background: #0088CC !important;
    color: #fff !important;
    border: none;
    line-height: 1.8em;
}

.featured-boxes > .row {
    justify-content: center;
}

#header .header-nav-main nav > ul > li {
    font-size: 14px;
    padding: 7px 8px;
    line-height: 32px;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li.dropdown-submenu > a::after {
    display: none;
}

.wp-block-video {
    max-width: 1140px;
    margin: 0 auto;
}

.wp-block-video.alignfull {
    max-width: none;
}

.ctas_01 .col-lg-4 {

    margin-bottom: 10px;

}

.feature-box {
    align-items: center;
}

.header-nav-top ul.nav-pills {
    align-items: center;
}

.banner img {
    max-width: 100%;
    height: auto;
}

.banner p {
    margin: 0;
}

@media all and (max-width: 767px) {
    .img-text-01 img.pr-5 {
        padding-right: 0 !important;
    }
}


.gform_wrapper .validation_message {
    position: absolute;
    top: 40px !important;
    color: #fff !important;
    text-align: center;
    right: 0;
    line-height: 1em !important;
}

.gform_wrapper li.gfield.gfield_error {
    border: none !important;
    background: none !important;
}

.gform_wrapper.gform_validation_error .gform_body ul li.gfield.gfield_error:not(.gf_left_half):not(.gf_right_half) {
    max-width: none !important;
    margin-bottom: 0 !important;
}

.gform_wrapper div.validation_error {
    border-color: red;
    position: absolute;
    top: -40px;
    line-height: 1em;
    max-width: calc(100% - 2rem);
    color: #000 !important;
}

footer .gform_wrapper div.validation_error {
    position: absolute;
    top: 80px;
    color: #fff !important;
    border-color: red;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 0 !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    display: none;
}