/*
 Theme Name:   Allegiant Child
 Theme URI:    https://demos.cpothemes.com/allegiant//
 Description:  Allegiant  Child Theme
 Author:       Stella Io
 Author URI:   -
 Template:     allegiant
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  allegiant-child
*/

body { color: #2e2e2f !important; }
h3.feature-title { color: #2e2e2f; }
body .features .feature .feature-icon { border: solid 1px #2e2e2f; }
.slide-content h2 {color:#fff;}
.slider-slides .slide-caption .slide-title p {color:#fff; text-transform: none;  font-size: 20px;}
.espa_banner { position: absolute; right: 2%; top: 75%; z-index: 999; max-width: 26%; color:#fff;}
.slide:before { content:" "; position:absolute; width:100%; height:100%; top:0px; left:0px; background: rgba(0,0,0,0.3); }
.slider-slides .slide-content:after {background:#fff;}
.slider-prev:before, .slider-prev:after, .slider-next:before, .slider-next:after { background:#fff; }
body .primary-color { color: #edc700;}
.home #services { background-color:#1f497d; }
.services .service .service-icon { color:#fff; }
#services .col4 {  width: 23.25%; } 
#services .column { margin-right:1%; }
.team .team-member-image {width:auto; margin:0px auto; min-height:150px; -webkit-border-radius: 50%;   -moz-border-radius: 50%;  border-radius: 50%; }
#team .column {background:#fff;} 
.team .team-member-title {text-transform: none; font-weight: 700;}
#team {background:#fff;}
#team-heading {color:#99a;}
.home .main {background: rgba(0,0,0,0.5); padding:4% 0px;}
.home .main h2 {color:#fff; margin-bottom:30px; text-align:center;}
.home .main p {color:#fff; margin-bottom:30px; text-align:center; font-size:18px; max-width: 70%; margin: 30px auto; }
.home .main .wp-block-image {max-width:50%; margin:0px auto; padding:30px; background:rgba(255,255,255,0.7); min-height:329px;}
.wp-block-columns {/*max-width:70%;*/ margin:0px auto;}
#wpforms-widget-2 .widget-title.heading { font-size: 1.3em; text-transform:none; color: #ccc;}
#wpforms-3590-field_0-container, #wpforms-3590-field_1-container {float:left; width:50%; clear:none;}
#wpforms-3590-field_0-container input, #wpforms-3590-field_1-container input {max-width:98%;}
div.wpforms-container-full .wpforms-form button[type=submit] {background:#1f497d !important; color:#fff !important; border:none !important; float:right; font-weight:700;}
.pagetitle .pagetitle-title { text-transform: none; }
#main {font-size: 1.15em; line-height:1.4;}
h3 {margin:20px 0px;}
body {  line-height: 1.2; }
.pagetitle {padding:50px 0px;}
.menu-main li:hover > a, .menu-main li:focus-within > a, .menu-main li a:hover, .menu-main li a:focus { color: #1f497d; }
.image-border { border:solid 1px #ccc; margin:20px 0px;}
#sidebar .widget-title.heading:after {content:" "; display:block; width:30%; border-bottom:solid 3px #1f497d; margin-top:10px;}
#sidebar .widget .widget-title {text-transform:none;}
.widget_nav_menu a:link, .widget_nav_menu a:visited, .widget_nav_menu a { font-size: 1em; padding: 4px; }
#main li { list-style: none; margin-bottom:20px; }
#main .post-content li:before, #main .page-content li:before, .lcp_catlist li:before {content:"\f00c"; display:inline-block; display: inline-block; font: normal normal normal 14px/1 FontAwesome;  font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; color:#1f497d; margin-top: 8px; margin-right: 5px; font-size: 15px; float:left; }
#main .widget ul li {margin-bottom:0px;}
li.current-menu-item, li.current-menu-item a { color: #1f497d; }
.page-template-template-services #services .column { width:100%; }
.page-template-template-services .services .service .service-icon, .page-template-template-services  .services .service .service-title {color: #1f497d;}
.topmenu {  float: right; }
.header { height: 75px;  overflow: visible;}
a.site-logo img {position: absolute;  z-index: 999;}
.menu-main { padding-top: 20px; float: right; }
.category .type-post { display: inline-block; vertical-align: top; width: 48%; margin-right:1%; }
.category .category-3 .post-byline { display: none; }
.category .category-3 .post-content { display: none; }
.post-comments { display: none; }
#main .post-content .wp-block-gallery ul li:before { display: none; }
.single .post .post-body { border: none; }
.single .post.category-3 .post-byline { display: none; }
.wpcf7 p { margin-bottom: 0px; }
.wpcf7 .description { font-size: 13px; }
.wpcf7 span.wpcf7-form-control-wrap { margin-bottom: 15px; display: block; }
.button, .button:visited, input[type=submit], input[type=submit]:hover, input[type=submit]:active, input[type=submit]:visited, input[type=submit]:focus { border: none; border-radius: 0px; background: #2a88bf; color: #fff; }
input[aria-invalid="true"] { border-color: red;}
#subfooter .widget .widget-title { text-transform: none; font-size: 1.3em; margin: 0 0 30px; opacity: 0.8; } 
#wpcf7-f3752-o2 p:nth-child(2), #wpcf7-f3752-o2 p:nth-child(3), #wpcf7-f3752-p3631-o1 p:nth-child(2), #wpcf7-f3752-p3631-o1 p:nth-child(3) { display: inline-block; vertical-align: top; width: 49%;}
#wpcf7-f3752-o2 .wpcf7-textarea { height: 120px; }
#main .widget ul.lcp_catlist li { margin-bottom: 10px; }
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption { width: 94.3%; }
#main ul.blocks-gallery-grid li.blocks-gallery-item:before { display: none; }
.cpo-navigation { display: none; }
.wp-block-table { width: 100%; margin: 0px; }
.post .post-byline { display: none; }
body .slider-slides .slide-caption { text-transform: none; }
.features .feature .feature-title { text-transform: none; }
.espa_banner p { margin-bottom: 10px; }
.espa_banner img { max-width: 140px; }
#services-heading.section-heading, .services .service .service-title { text-transform: none; }
body .services .service .service-icon { display: none; }
body.home #services { background:#157bc4; }
body.home .services .service .service-body { margin-left: 10px; }
.page-content h2, .page-content h4 { margin-bottom: 20px; }
body a.site-logo img { position: static; }
.after_logo { float: left; }
.after_logo h2,.after_logo p { margin: 0px;}
.after_logo h2 { font-weight: 700; color: #215296; margin-top: 10px; margin-left: 10px; letter-spacing: 1.5px; }
.after_logo p { font-size: 18px; color: #215296; letter-spacing: 1.5px; }
.header { border-bottom: solid 20px #157bc4; }
.after_menu { position: absolute; right: 0px; }
.after_menu .logos img { max-height: 82px; float: left; margin-right: 5px;}
.after_menu .logos img.hcmr {  }
html { -webkit-box-sizing: content-box !important; box-sizing: content-box !important; }
#media_image-3 {max-width:150px;}
#subfooter .wpcf7-form-control.wpcf7-textarea { max-height:100px; }
.forminator-custom-form-3632.forminator-design--material .forminator-is_filled .forminator-label[class*="forminator-floating-"], .forminator-custom-form-3632.forminator-design--material .forminator-is_active .forminator-label[class*="forminator-floating-"], .forminator-custom-form-3632.forminator-design--material .forminator-label:not([class*="forminator-floating-"]) { font-size: 16px !important; font-weight: 400 !important; }
#video-widget-area { background-color: #fff; }

.home .main .wp-block-image { text-align: center; min-height: 249px;}
.home .wp-block-image img { max-height: 198px; width: auto; }
.container { max-width: 1240px; }
.features .feature .feature-icon { font-size: 40px; }
body .menu-main li a { font-family: 'Roboto', sans-serif; color: #215296; font-size: 15px; font-weight: 500; }
#video-widget-area { padding: 6% 0px; text-align: center; }
#video-widget-area .video-widget { display: inline-block; width: 40%; }
#video-widget-area .video-widget:nth-child(even) { margin-right: 3%; }
.category .video_category .type-post { width: 31%; margin-right: 2%;  } 
.category .video_category .post .post-body { padding: 0px; border: none; }
.category .video_category .post .post-body .wp-block-embed { margin: 10px 0px; }
.category .video_category .post .post-body .wp-block-embed .video { margin-bottom: 0px; }

.hicon { padding-left: 100px; padding-top: 10px; position: relative; height: 60px; line-height: 60px; }
.hicon:before { font-family:'Font Awesome 5 Solid'; font-weight: 900; padding: 20px; border-radius: 50%; font-size: 40px; line-height: 47px;  border:solid 1px #ccc; color: #edc700; position: absolute; left: 0px; top: 0px; width: 47px; height: 47px; text-align: center; }
.hicon strong { line-height: 30px;  display: inline-block; vertical-align: middle; }
.hicon_list { margin-left: 60px; margin-top: 20px; }

.icon1:before { content: "\f008";  }
.icon2:before { content: "\f03d"; }
.icon3:before { content: "\f044"; }

.leaflet-popup-content { min-width: 300px; }
#text-5 { display: none; }

.menu-mobile li:hover > a, .menu-mobile li:focus-within > a, .menu-mobile li a:hover, .menu-mobile li a:focus { color: #1f497d; }

#tagline a { display: inline-block;
    width: auto;
    margin: 20px auto;
    padding: 70px;
    background-image: url(http://yellowfish.hcmr.gr/wp-content/uploads/2020/12/Yellow-fish-web-001-logo.png);
    background-size: cover;
    background-position: center center;
    font-size: 19px;
    font-weight: 700; }

#tagline a span { font-size: 22px; }
.wp-block-image img.wp-image-3847 { border: solid 2px #000; }
hr.wp-block-separator { border: none; margin: 20px 0px; }
.page-content h5 { margin-bottom: 20px; }

@media only screen and (max-width: 1600px) {
  .home .main .wp-block-image { max-width: 60%; }
    #topbar .container, #header .container { max-width: 95%; }
    .menu-main { margin-right: 14%;  }
}

@media only screen and (max-width: 1400px) {
    #header .container, #topbar .container {  max-width: 95%;  position: relative; }
    .menu-main {  float: right; margin-right: 16%; }
    .after_logo h2 {font-size: 28px;}
    body a.site-logo img {max-width:180px;}
    .menu-main li a { font-size: 1em;}
    .after_menu {max-width:20%;}
}

@media only screen and (max-width: 1300px) {
    .section-heading, .pagetitle .pagetitle-title { font-size: 2.1em; }
    .pagetitle { padding: 30px 0px; }
    h2 { font-size: 1.6em; }
    .menu-main { margin-right: 14%; }
    body a.site-logo img { max-width: 160px; }
    .after_logo h2 { font-size: 25px; }
    .after_logo p { font-size: 16px; }
    .after_menu .logos img { max-height: 70px; }
    .after_menu { max-width: 17%; }
    .menu-main {  margin-right: 13%; }
    body .menu-main li a { font-size: 13px; }
    .slider-slides { height: 400px; }
    #tagline { padding: 70px 17%; }
}

@media only screen and (max-width: 1150px) {
    /* MAIN MENU */
    .menu-main { display: none; }
    .menu-mobile-toggle { display: block; }
    .menu-mobile { display: block; }
    .after_menu { position: relative; float: right; }
    .after_menu .logos img { max-height: 65px; }
    .header { height: 65px; }
    .after_menu { max-width: 100%; }
}

@media only screen and (max-width: 1050px) {
    .header { height: auto; }
    a.site-logo img { max-width: 290px; }
    .header { height: 55px; }
    #team .column-narrow.col4, #services .col4 { display: inline-block; vertical-align: top; width: 45%; float: none; }
    .home .main .wp-block-image { max-width: 80%; padding: 10px; min-height: 299px; }
    #post-3561 .wp-block-image figcaption { margin-bottom: 0px; }
}

@media only screen and (max-height: 800px) {
    .slider-slides { height: 400px; }
    #media_image-2 { display: none; }
    .category .video_category .type-post { width: 47%; }
}

@media only screen and (max-width: 900px) { 
    .slider-slides { height: 420px; }
    .slider-slides .slide-body { left: 7%; }
} 

@media only screen and (max-width: 800px) { 
    #nav_menu-2 { display: none; }
    .slider-slides .slide-body { left: 7%; width: 70%; top: 10%; }
    .post .post-title { font-size: 1.2em; }
}

@media only screen and (max-width: 700px) { 
    .category .type-post { width: 48%; }
    .espa_banner { position: static; right: auto; top: auto; max-width: 100%; color: #4e4e4e; background: #ddd; padding: 20px; font-size: 16px; }
}

@media only screen and (max-width: 680px) { 
    #subfooter .column.col3 { width: 100%; }
    #mapConElem_1_51277 { width: 90%; margin: 0px auto; }
}

@media only screen and (max-width: 580px) { 
    #team .column-narrow.col4, #services .col4 { width: 100%; }
    .slider-slides { height: 440px; } 
    .slider-prev, .slider-next { top: 30%; }
    #text-1 { display: none; }
    #mapConElem_1_42824 { width: 90%; margin: 0px auto; }
    .after_menu { display: none; }
     #text-5 { display: block; background: #fff; text-align: center;}
    #text-5 img { width: auto; max-height: 150px; }
    #text-5 p { margin: 0px; }
    #tagline { padding: 70px 4%; font-size: 1.4em;}
    #video-widget-area .video-widget { display: block; width: 80%; margin: 0px auto 30px auto; }
    #video-widget-area .video-widget:nth-child(even) { margin-right: auto; }
    .category .video_category .type-post { width: 100%; margin: 0px auto 20px auto;}
}

@media only screen and (max-width: 480px) { 
    .category .type-post { width: 100%; }
    body a.site-logo img { max-width: 150px; }
    .section-heading, .pagetitle .pagetitle-title { font-size: 1.4em; }
    .slider-slides .slide-body { width: 90%; top: 2%; }
    h2 { font-size: 1.4em; }
    .slider-slides .slide-caption .slide-title p { font-size: 17px; }
    .home .main p { max-width: 90%; }
}

@media only screen and (max-width: 370px) { 
    body a.site-logo img { max-width: 90px; }
    .after_logo h2 { font-size: 18px; }
    .after_logo p { font-size: 13px; }
    .after_logo h2 { margin-top: 0px; }
}

@media only screen and (max-height: 570px) { 
    a.site-logo img { max-width: 240px; }
    .header { height: auto; padding: 2px 0px; }
    .pagetitle { padding: 10px 0px; }
    .slider-slides { height: 320px; min-width: 100%; }
}

@media only screen and (max-height: 470px) { 
    .slider-slides .slide-body { width: 70%; }
    .slider-slides { height: 320px; }
    .slider-prev, .slider-next { top: 30%; }
    
}








