/* LAYOUT */
/* ----------------------------------------- */

/* Presentational classes generated by WordPress */
.aligncenter    { display: block; margin: 0 auto; }
.alignleft      { float: left; margin: 0 20px 20px 0; }
.alignright     { float: right; margin: 0 0 20px 20px; }
.wp-caption     { border: 1px solid #999; text-align: center; background: #eee; padding: 10px; margin: 10px; }

/* General */

.background-blog {
    background: #384257;
}

.blog-secondary-nav {
    padding: 0px 0px;
}

/* Menu humb icon */

body#main #nav-icon1 {
	z-index:99999999;
}

/* Dropdown Menu */

/*.dropdown-menu {
    background:none!important;
    max-width: 100px!important;
    float:none!important;
    border-radius: none!important;
    box-shadow: none!important;
    border:none!important;
    display:none;
}



.dropdown-menu>li>a {
    padding:3px 10px!important;
}
*/

.dropdown-menu {
	z-index: 99999!important;
    position: absolute!important;
    display: none;
    background:#eee!important;
    border-radius: 0px!important;
    box-shadow: none!important;
    border:none!important;
    right:70px!important;
    left: initial!important;
    padding-top: 5px;
}

body#main .header-content {
	position: relative;
}
/************** aggela h3 ***************/
.h3 {
    line-height: 26px;
    margin-bottom: 20px;
    color: #3ac4d7;
}

body#main .dropdown-menu > li > a {
    padding: 10px 20px;
}

body#main .dropdown-menu > li:first-child > a {
    margin-top: 10px;
}

body#main .dropdown-menu > li:last-child > a {
    margin-bottom: 10px;
}

.dropdown > a, .dropdown > a:focus {
    color:#fff!important;
    padding: 25px 0 25px 24px;
    display: block;
    font-size: 16px !important;
}

.dropdown > a:hover {
    color:#3ac4d7!important;
}

.dropdown > a:after {
    color:#3ac4d7!important;
}

.open>.dropdown-menu {
    display: block!important;
}

body#main .article ul, body#main .article ol {
    padding-left: 30px;
}

body#main.home.blog:not(.paged) .col-md-6:last-child {
    display: none;
}

body#main blockquote {
    border-left: medium none;
    font-family: "Montserrat";
    font-size: 18px;
    font-style: italic;
    padding: 0 30px;
    position: relative;
}

body#main blockquote p {
    font-family: "Montserrat";
    font-size: 18px;
    font-style: italic;
}

body#main blockquote:before {
	display: block;
	content: "\201C";
	font-size: 120px;
	position: absolute;
	left: -25px;
	top: -50px;
	color: #545c6e;
}

/*************************************/
/************** TABLES ***************/
/*************************************/

body#main table {
    border-bottom: 1px solid #e6e6e6;
    display: block;
    margin-bottom: 20px;
    padding-bottom: 0px;
}

body#main table td strong, body#main th {
    color: #384257;
    display: inline-block;
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
}

body#main table td {
    box-sizing: border-box;
    color: #545c6e;
    display: table-cell;
    font-family: "Hind",sans-serif;
    font-size: 16px;
    font-weight: 300;
    height: auto;
    padding: 10px;
    vertical-align: middle;
}

body#main .cbp-spmenu li#menu-item-2403 a{
	background-color: rgba(56, 196, 215, 1);
    color: #fff;
}

@media (max-width: 767px) {

	body#main .cbp-spmenu .sub-menu {
		display: block;
	}

.scroll {
  display: flex!important;
  flex-wrap: nowrap;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

 .flex {
  display: flex!important;
  flex-wrap: nowrap;
  }

}

.nav-item {
  flex: 0 0 auto;
  padding: 13px 16px 12px;
}


ul.flex .nav-item a {
  color: #fff!important;
}


/* Search */

body.search ul.pagination {
    margin-bottom:70px!important;
}

.blog-search-form {
    position: relative;
    margin-top: 18px;
    display: inline-block;
    max-width: 200px;
}

@media (max-width: 991px) {
    .blog-search-form {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.blog-search-form input[type="search"] {
    border-radius:20px;
    border: 0px;
    line-height:  30px;
    padding-left: 14px;
    padding-right: 14px;
    background-color: rgba(255,255,255, .1);
    color: white;
}

.blog-search-form input[type="search"]:focus {
    outline: 0;
}

.blog-search-form button {
    background-color: transparent;
    color: white;
    border: 0px;
    position: absolute;
    top: 5px;
    font-size: 16px;
    right:7px
}

.blog-search-form button:focus {
    outline: 0
}

/* List */

.blog-secondary-nav ul {
    display: inline-block;
    text-align: right;
    position: relative;
}

@media (max-width: 768px) {
    .blog-secondary-nav ul {
        display: none;
    }
    .blog-secondary-nav {
        padding-bottom: 0px;/*8*/
        margin-top: 10px;
    }
}

.blog-display-inline {
    text-align: center;
    position: relative;
    float: right;
    clear:both
}

.blog-secondary-nav ul li {
    display: inline-block;
    padding: 22px 24px;
}

.blog-secondary-nav ul li.tags {
    padding:25px 0;
}

.blog-secondary-nav ul.dropdown-menu li {
    display:block;
    text-align: left;
    padding: 4px 0px;
}

.blog-secondary-nav ul li.active, .blog-secondary-nav ul li.current_page_item, body.home .blog-secondary-nav ul li.home  {
    background-color: rgba(255, 255, 255, .1)!important;
}

.blog-secondary-nav ul li.active a, .blog-secondary-nav ul li.current_page_item a, body.home .blog-secondary-nav ul li.home a {
    color: #3ac4d7 !important;
    background: none!important;
}

.blog-secondary-nav ul li a {
    font-weight: 400;
    font-size: 16px;
    color: #384257!important;
    line-height: 28px;
}

.blog-secondary-nav ul li a:hover {
    color: #3ac4d7 !important
}

/* Blog Posts */

body.home .blog-section {
    padding-bottom: 76px;
    min-height: 1400px;
}

@media screen and (max-width: 768px) {
	body.home .blog-section {
    	padding-top: 24px;
	}

	.blog-section {
		padding-top: 24px!important;
	}
}

.blog-section {
    padding-top: 76px;
    padding-bottom: 0px;
    position: relative;
    min-height: 1300px;
}

.blog-padding-right {
    padding-right: 370px;
}

.blog-post.sticky-post img {
    max-height: none;
    width: 100%;
}

.blog-post .img-wrapper {
    height: 189px;
    width: 100%;
    overflow: hidden;
    background: #f6f6f6;
}

.blog-post img {
    width: 100%;
    /*max-height:189px;*/
    height: auto;
}

.blog-post img.sticky {
	max-height:100%;
}

body.single .blog-post img {
    width: auto;
    max-width: 100%;
}

@media screen and (max-width: 991px) {
	body.single .blog-post img {
	 	width: 100%;
	 	height: 100%;
	}

	body.single .blog-post img.photo {
		width: auto;
	 	height: auto;
	}
}


.blog-post {
    margin-bottom: 48px;
}
/* AGGELA Headings additions */


body#main .blog-post .article h1,
body#main .blog-post .article h2,
body#main .blog-post .article h3,
body#main .blog-post .article h4,
body#main .blog-post .article h5 {
	color: #2f343b;
    line-height: 45px;
    margin-top: 50px;
    text-transform: none;
    margin-bottom: 30px;
    font-family: 'Montserrat';
}

body#main .blog-post .article h1 { font-size:40px; font-weight: bold; }
body#main .blog-post .article h2 { font-size:30px; font-weight: bold; }
body#main .blog-post .article h3 { font-size:26px; font-weight: bold; }
body#main .blog-post .article h4 { font-size:22px; font-weight: bold;}
body#main .blog-post .article h5 { font-size:18px; font-weight: bold;}

body#main .blog-post .article ul li{list-style-type: disc!important;}
body#main .blog-post .article ol li{list-style-type: none!important;}

body#main .blog-post .article ul li ,
body#main .blog-post .article ol li {
    margin-bottom: 15px;
}

body#main .blog-post blockquote {
    margin-top: 55px;
    font-family: Georgia,Times,"Times New Roman",serif;
    font-weight: 400;
    font-style: italic;
    font-size: 18px;
    margin-left: -1.88px;
    line-height: 2;
    letter-spacing: -.012em;
    color: rgba(0,0,0,.68);
    border: none;
    padding: 0;
    padding-left: 50px;
    text-align: left;
}

/* Aggela changed height from 28 to 26 added margin 15 */

body#main .blog-post .article ul li,
body#main .blog-post .article ol li {
    padding-left: 10px;
}
body#main .blog-post .article * {
    font-family: Georgia,Times,"Times New Roman",serif;
}
body#main .blog-post .article a,
body#main .blog-post .article ul li,
body#main .blog-post .article ol li,
body#main .blog-post .article p,
body#main .blog-post .article span {
    font-size: 18px;
    margin-bottom: 20px;
    font-family: Georgia,Times,"Times New Roman",serif;
    letter-spacing: -.003em;
    line-height: 1.80;
    color: rgba(0,0,0,0.75);
}

body#main .blog-post .article a strong {
    font-family: Georgia,Times,"Times New Roman",serif;
}


body#main .blog-post .article a {
    color: #3ac4d7;
}

body#main .blog-post .article ol li {
	counter-increment: step-counter;
	position: relative;
}
/* Aggela changed left -16 to -20 */
body#main .blog-post .article ol li::before {
    color: #545c6e;
    content: counter(step-counter, decimal);
    font-size: 17px;
    font-weight: 600;
    left: -20px;
    line-height: 1.2;
    position: absolute;
    top: 1px;
}

body#main .blog-post .article img{
    margin-top: 30px;
    margin-bottom: 10px;
}
/*nick custom border test*/
img.nick-border {
	 margin-bottom: 10px;
	 border: 2px solid #e6e6e6;
}

/* Sidebar */

body#main .widget-newsletter-content .input-group-btn button.disabled {
    cursor: pointer;
    opacity: 1;
    z-index:9999 !important;
}

body#main .widget-newsletter-content .btn:hover i, body#main .widget-newsletter-content .btn:focus i {
    left: 4px;
}

body#main .widget-newsletter-content .input-group-btn button i {
    position: relative;
    top: 2px;
}

body#main .widget-newsletter-content .btn i {
    left: 0;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.widget-newsletter-content .has-error .form-control, .form-control:focus, .widget-newsletter-content .form-control {
	border:none;
	outline: none;
	box-shadow: none;
}

.widget-newsletter-content .form-control {
	height:38px;
}

.widget-newsletter-content .btn {
	background: #ff6154 none repeat scroll 0 0;
    -webkit-border-radius: 0 4px 4px 0;
    -moz-border-radius: 0 4px 4px 0;
    -ms-border-radius: 0 4px 4px 0;
    -o-border-radius: 0 4px 4px 0;
    border-radius: 0 4px 4px 0;
    color: #fff;
    font-size: 22px;
    height: 38px;
    padding: 2px 14px;
    width: 35px;
    margin-left: -7px;
    z-index: 9;
}

aside.sidebar {
    width: 330px;
    display: block;
    height: 500px;
    top: 0;
    right: 15px;
    position: absolute;
}

aside.sidebar h6 {
	display:none;
}

body.category aside.sidebar {
    margin-top:74px;
}

/*
body.category-16 .blog-secondary-nav ul li:nth-child(2) {
    background-color: rgba(255, 255, 255, .1);
}
body.category-16 .blog-secondary-nav ul li:nth-child(2) a {
    color: #3ac4d7;
}
body.category-17 .blog-secondary-nav ul li:nth-child(3) {
    background-color: rgba(255, 255, 255, .1);
}
body.category-17 .blog-secondary-nav ul li:nth-child(3) a {
    color: #3ac4d7 !important;
}
body.category-18 .blog-secondary-nav ul li:nth-child(4) {
    background-color: rgba(255, 255, 255, .1);
}

body.category-18 .blog-secondary-nav ul li:nth-child(4) a {
    color: #3ac4d7 !important;
}
body.category-19 .blog-secondary-nav ul li:nth-child(5) {
    background-color: rgba(255, 255, 255, .1);
}

body.category-19 .blog-secondary-nav ul li:nth-child(5) a {
    color: #3ac4d7 !important;
}
body.category-20 .blog-secondary-nav ul li:nth-child(6) {
    background-color: rgba(255, 255, 255, .1);
}

body.category-20 .blog-secondary-nav ul li:nth-child(6) a {
    color: #3ac4d7 !important;
}
*/

@media screen and (max-width: 780px) {
    aside.sidebar {
        width: 100%;
        position: relative;
        display: block;
        margin-top: 48px;
        right: 0;
        height: 100%;
    }
    .blog-padding-right {
        padding: 15px !important;
    }
}

.details {
    margin-top: 0px;
    padding: 14px 14px 24px 14px;
    background-color: #f6f6f6;
    position: relative;
}

body.single .details {
    background-color: #fff;
}

.details:after {
    top: -18px;
    left: 28px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(246, 246, 246, 0);
    border-bottom-color: #f6f6f6;
    border-width: 10px;
    margin-left: -10px;
}

.details h3 {
    margin-top: 8px !important;
    line-height: 26px;
    margin-bottom: -1px !important;
}

@media only screen and (min-width: 991px) {

	.details h3 {
		min-height:52px;
	}

}

.details h3 a{
    font-size: 24px;
    font-weight: 800;
    color: #384257 !important;
    text-transform: capitalize;
    margin-top: 0 !important;
    position: relative;
    line-height: 0 !important;
}

.details span {
    position: relative;
    margin-bottom: 13px;
    display: block;
    color: #999;

}

.details h3 a:hover {
    color: #3ac4d7 !important;
}

.details p {
    margin: 18px 0px;
}

.details .blog-button {
    background-color: #3ac4d7 !important;
    padding: 10px 14px 8px 14px;
    color: white !important;
    border: 1px solid #3ac4d7 !important;
    font-weight: 600;
    border-radius: 3px;
    display: inline-block;
    line-height: 14px;
}

.details .blog-button:hover, .details .blog-button:focus {
	background-color: #fff !important;
    color: #3ac4d7 !important;
    border: 1px solid #3ac4d7 !important;
}

/* Sidebar */


aside.sidebar .widget-newsletter {
    min-height: 627px;
    background-color: #384257;
}

aside.sidebar .widget-newsletter {
    padding: 70px 0px 40px 0; /* balance */
}


@media (max-width: 768px) {

    aside.sidebar .widget-newsletter{
        min-height: 0;
        padding-top: 50px;
    }
}

.widget-newsletter-content {
    max-width:  70%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: white;
}

.widget-newsletter-content h4 {
    text-transform: capitalize !important;
    font-weight: 800;
    font-size: 26px;
    margin-top: 14px;
}

.social_media {
    width: auto;

}

.social_media ul.social li {
    display: inline-block;
    padding: 0;
    margin-right: 5px;
}

.social_media ul.social li:last-child {
    margin-right: 0;
}

.social_media ul.social li a {
    border: 1px solid;
    border-color: #3ac4d7;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    -ms-border-radius: 100%;
    -o-border-radius: 100%;
    border-radius: 100%;
    color: #3ac4d7;
    display: table-cell;
    font-size: 18px;
    height: 35px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    width: 35px;
}

.social_media ul.social li a i.ion-social-twitter {
    font-size: 16px;
}

.social_media ul.social li a:hover {
    border-color: #3ac4d7;
    color: #fff;
    background-color: #3ac4d7;
}
body#main .social_media ul.social li a:focus{
    
    border-color: #3ac4d7;
    color: #fff;
    background-color: #3ac4d7;
}

.social_media ul.social li a i {
    position: relative;
    top: 3px;
}

.widget-newsletter img {
    margin:0 auto 14px auto;
    display: block;
}

.widget-newsletter-content p {
    color: white !important;
    padding: 10px 0;
}

.widget-newsletter-form {
    margin-bottom: 14px;
}

.widget-newsletter-form input{
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid white;
    line-height: 36px;
    font-size: 16px;
    padding: 0 9px;
}

.widget-newsletter-form input:focus {
    outline: 0;
}

.widget-newsletter .social {
    padding-top: 26px;
    display: block;
    position: relative;
}


.widget-widget_rrm_popular_posts {
    margin-top: 48px;
    background-color: transparent;
    border: 1px solid #3ac4d7;
    padding: 24px 30px;
    position: relative;
}

.widget-widget_rrm_popular_posts:before {
    content:"\f4b3";
    font-family: 'Ionicons';
    position: absolute;
    text-align: center;
    top: -30px;
    right: 0;
    background-color: #fff;
    left: 0;
    display: block;
    z-index: 9;
    width: 70px;
    margin-left: auto;
    margin-right: auto;
    border-radius:50%;
    color: #3ac4d7;
    font-size: 40px;
}

.widget-widget_rrm_popular_posts h5 {
    text-align: center;
    color : #3ac4d7;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 16px;
}





.custom-counter {
    margin-left: 0;
    padding-right: 0;
    list-style-type: none;
}
.custom-counter li {
    counter-increment: step-counter;
}
.custom-counter li::before {
    content: counter(step-counter);
    margin-right: 5px;
    font-size: 80%;
    background-color: rgb(200,200,200);
    color: white;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
}


.widget-widget_rrm_popular_posts ul li::before {
    content: counter(step-counter);
    position: absolute;
    top: 2px;
    left: -10px;
    border-radius: 50%;
    border: 1px solid #384257;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    color: #384257;
    font-weight: bold;
}
.widget-widget_rrm_popular_posts ul li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 15px;
    list-style-type: none;
    counter-increment: step-counter;
}


.widget-widget_rrm_popular_posts ul li {
    min-height: 40px;
}

.widget-widget_rrm_popular_posts ul li a {
    color: #384257 !important;
    font-weight: 600;
    text-transform: capitalize;
}

.widget-widget_rrm_popular_posts ul li a:hover {
        color: #3ac4d7 !important
}


.widget-widget_search{}
.widget-widget_search h5{}
.widget-widget_search form {}
.widget-widget_search form input[type="text"]{}
.widget-widget_search form input[type="submit"]{}


/* Pagination */

body.home ul.pagination {
	margin-top:20px!important;
}

ul.pagination li {
    display: inline-block;
    margin-right: 8px;
    color: #3ac4d7 !important;
}

ul.pagination li a {
    display: block;
    border: 1px solid #3ac4d7;
    border-radius: 3px;
    padding-top: 8px;
    text-align: center;
    line-height: 20px;
    font-size:16px!important;
}

ul.pagination li a:hover, ul.pagination li a:focus, ul.pagination li.current a {
    background-color: #3ac4d7!important;
    color: white !important;
    border: 1px solid #3ac4d7!important;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #3AC4D7;
}

/* Related Post */

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

	ul.related_post li {
    	width:100%!important;
	}

}

ul.related_post li img {
    border-radius: 0 !important;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
}

ul.related_post li {
    margin-right:17px!important;
}

ul.related_post li:last-child {
    margin-right:0!important;
}

h3.related_post_title {
    margin:25px 0 15px 0!important;
}

/* Author */

body.author ul.pagination {
	margin-bottom:30px!important;
}

.detail-author {
    padding: 0px 160px 5px 20px;
    margin-top: 30px;
    position: relative;
    border: 1px solid #3ac4d7;
}

.detail-author img.photo {
    position: absolute;
    top: 20px;
    right: 20px;
    width:auto!important;
}

.detail-author p.more {
    font-size: 14px !important;
    color: #666 !important;
}

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

    .detail-author {
        padding: 0px 20px 5px 20px;/*padding: 0px 100px 5px 20px;*/
    }
    .detail-author img.photo {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .detail-author p.author-content {
	    margin-top:60px;
    }

    .detail-author h4 {
	    max-width:50%;
    }

}

.post-meta {
    margin-bottom: 10px;
    font-style: normal;
    color: #a6aec1;
}

.post-meta span {
    display: inline-block;
    font-style: italic;
    margin-right: 10px;
    padding-left: 10px;
    color: #717889 !important;
}
.post-meta .post-meta-author {
    padding-left: 0;
}
.post-meta span.by {
    padding-left: 0;
}

.post-meta a {
    font-style: normal;
    font-weight: bold;
    display: inline-block;
    margin-right: 10px;
    padding-left: 10px;
}

.popular-tags li {
    margin-right: 0;
    background:none!important;
}

#menu-tag-menu li a {
	color:#fff!important;
}

.popular-tags li.tags {
    margin-right: 20px;
}

body#main .article.article--blog { width: 100%; }

@media only screen and (max-width: 992px) and (min-width: 768px) {

	ul.popular-tags li {
		padding:24px 12px;
	}

}

body#main #registration .registration_top{margin-bottom: 0}

body#main #registration .registration_top span.registration_subtext{
    display: block;
    /*margin-bottom: 0;*/
}

body#main #registration.team a#sign_up, body#main #registration a#sign_up:focus{
    line-height: 50px;
    margin-top: 30px;
    height: 50px;
    padding: 0 36px 0!important;
}

body#main a#sign_up {
    background: #ff6154 none repeat scroll 0 0;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    height: 50px;
    padding: 0 36px 0;
    position: relative;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Hind', sans-serif;
    outline: none;
    border: none;
    margin: auto;
    display: inline-block;
    width: auto;
    line-height: 50px;
    color: #fff;
    margin-top: 30px;
    padding: 0 36px 0!important;
}

body#main a#sign_up:hover{color: #fff;}

body#main a#sign_up i {
    font-size: 20px;
    padding-left: 5px;
    position: relative;
    right: 0;
    top: 3px;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

body#main a#sign_up:hover i,
body#main a#sign_up:active i {
    right: -8px;
}


/* Page 404 Customize */

body#main.error404 #nav-icon1{
    display: none;
}

/*body#main.error404 .main-content, body#main.error404 #registration {
	display: none;
}*/

/* Active Blog Top Menu */

body.archive .navigation ul li.menu-item-home a, body.single .navigation ul li.menu-item-home a {
	color:#3AC4D7!important;
}


/* Emailit */

.e-mailit_top_toolbox {
	margin-bottom:20px;
}

.scroll {
  display: flex!important;
  flex-wrap: nowrap;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

 .flex {
  display: flex!important;
  flex-wrap: nowrap;
}

.nav-item {
  flex: 0 0 auto;
  padding: 13px 16px 12px;
}


ul.flex .nav-item a {
  color: #fff!important;
}

body#main .main-content + .main-content {
    padding-top: 0;
}

div.main-content .blog-single-container img {
    width: auto;
    max-width: 100%;
}