
body {
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 100;
}

p {
    text-align: unset;
}


.region.region-footer-menu .menu-item a {
    color: rgb(57, 172, 129);
}

/*Float the search result title*/
.region.region-content h2 {
    text-align: left;
}

#block-views-block-popular-topics-block-1 a:hover {
    color: #cea05f;

}

.region.region-content h2:after {
   display: none;
}

.main-header .container {
    margin-left: 0; 
} 

.region.region-header-title {
   display: none;
   margin: 0 5%;
}

.animate_header {
   position: absolute !important;
   top: 50%;
   overflow: hidden;
   animation: slide-left 0.9s ease;
}

@keyframes slide-left {
   from {
       margin-left: 10%;
       width: 200%;
       opacity: 0.2;
       
   }

   to {
       margin-left: 5%;
       width: 100%;
       opacity: 1;
   }
}
.animate_header h1 {
   color: white;
   text-align: left;
   font-family: "Libre Baskerville";
   font-size: 45px;
   font-weight: 500;
   line-height: 1.3;
}

.animate_header h1:after {
   display: none;
}

.animate_header h4:before {
   content: "";
   width: 40px;
   height: 2px;
   margin-right: 20px;
   margin-left: 8px;
   display: inline-block;
   vertical-align: middle;
   background-color: #ffffff;
   position: relative;
   top: -2px;
}

.animate_header h4 {
    color: #ffffff;
    font-family: Roboto;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    text-transform: uppercase;
}

h2 {
    font-family: "Libre Baskerville";
    text-align: center;
    font-size: 22px;
}

h1 {
    font-family: 'Libre Baskerville';
    font-size: 36px;
}

body .dialog-off-canvas-main-canvas h2 {
    font-weight: 500;
    line-height: 36px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.navbar {
    border-radius: 0;
}

.navbar a.highlighted {
    color: rgb(228, 5, 68);
}

.main-header{
    padding: 0;
    margin-bottom: 50px;
    background-size: cover;
    position: relative;
    height: 40vh;
    background: url(../images/header_bg.jpg);
    background-image: url(../images/header_bg.jpg);
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* background-repeat-x: no-repeat;
    background-repeat-y: no-repeat; */
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}

.main-header:after {
    background: url(../images/0-l-1.jpg);
    opacity: 0.9;
}

.main-header nav {
    z-index: 3;
}

.main-header .navbar .container-fluid > .row {
    display: flex;
    align-items: center;
}

.main-header .navbar.navbar-default {
    background: white;
    margin: 0;
    padding: 10px;
    position: fixed;
    width: 100%;
}

.navbar-default .navbar-toggle {
    text-align: -webkit-right;
    border: none;
}

.navbar-default .navbar-toggle:hover {
    background: none;
}

.navbar-default .navbar-toggle:focus {
    background: none;
}

nav h2 {
    display: flex;
}

.node-author span {
    color: rgb(228, 5, 68);
    font-family: Roboto;
}

.blog-read-more:hover a {
    background: rgb(228, 5, 68) !important;
    text-decoration: none;
    color: white !important;
    border: 1px solid rgb(228, 5, 68) !important;
    cursor: pointer;
}

.blog-read-more a {
    padding: 20px 30px;
    border-radius: 2px;
    color: #151c32;
    font-family: "Libre Baskerville";
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #151c32;
    background-color: #fff;
    transition: all 0.5s ease;
    margin-bottom: 30px;
    text-decoration: none;
}

@media only screen and /* (min-width: 768px) */ (max-width: 768px){ 
    /* .region-primary-menu {
        margin: 10px;
    } */
    .animate_header h4:before {
        width: 18px;
     }
}

.menu-base-theme li a {
    color: black;
    font-family: 'Libre Baskerville';
    font-size: 16px;
    font-weight: 400;
    transition: all 0.5s ease;
}

.menu-base-theme li a:hover {
    display: block;
    color: rgb(228, 5, 68);
}

.menu-base-theme li a:focus {
    color: initial;
}

.menu-base-theme li .is-active {
    text-decoration: underline;
}


.footerwidget {
    background: #151821;
    color: black;
    padding: 100px 0 50px 0;
    font-size: 14px;
}

#footerfix ul{
    list-style-type: none;
    letter-spacing: 0.07px;
}

#footerfix li:before {
    content: "";
    border-color:transparent #ac987b;
    border-top-color: transparent;
    border-right-color: rgb(172, 152, 123);
    border-bottom-color: transparent;
    border-left-color: rgb(172, 152, 123);
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -18px;
    top: 18px;
    position: relative;
}

.footerwidget .col-md-3 a{
    color: white;
    text-decoration: none;
}

.footerwidget .col-md-3 p{
    color: white;
}

.footerwidget nav li {
    opacity: 0.7;
}

.footerwidget nav ul {
    padding-left: 15px;
}

.footerwidget #block-contactus p {
    opacity: 0.7;
    color: white;
    text-align: center;
    margin-right: 14px;
}

.footerwidget .region.region-footer-first {
    margin-top: 100px;
}

.footerwidget .region.region-footer-first input[type="submit"] {
    height: 46px;
}

.footerwidget #block-contactus img {
    float: none;
}

.footerwidget #block-contactus h2:after {
    top: none;
}

#footerfix a:hover {
    color: #ac987b;
    text-decoration: none;
}

.footer-menu {
    background: #151821;
}

/* Footer search bar */
.search-block-form .contextual-region .block .block-search {
    margin-top: 30px;
}

.newsletter .block {
    background-color: rgb(228, 5, 68);
    margin: 0 0 0 0;
    padding: 25px;
    height: 206px;
}

.newsletter .form-item, .form-actions {
    display: inline-block;
}

.mailchimp-newsletter-mergefields {
    display: inline-block;
}
    
body h2:after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    margin: auto;
    background: rgb(228, 5, 68);
}

#mailchimp-signup-subscribe-block-subscribe-form {
    display: inline-block;
    margin-top: 25px;
}

.newsletter input#edit-mergevars-email {
    background-color: rgb(138, 25, 57);
    color: white;
    border: none;
    width: 25vw;
    height: 74px;
    padding: 22px;
}

.newsletter label {
    display: none;
}

.newsletter .form-required::after {
    display: none;
}

.newsletter input::placeholder {
    color: white;
}

.newsletter .btn, input[type="submit"] {    
    background: #394048;
    -webkit-transition: transform 0.5s; /* For Safari 3.1 to 6.0 */
    transition: transform 0.5s;
    font-family: 'Libre Baskerville';
    font-size: 13px;
    
}

.newsletter .btn, input[type="submit"]:hover {
    background:#464D55;
    transform: scale(1.1);
}

.footer-background {
    background-color: #151821;
}

.footer-background .line-footer {
    width: 72%;
    height: 1px;
    /* padding: 10px; */
    background: #333233;;
    margin-left: 14%;
    margin-right: 14%;
}

.newsletter .button.js-form-submit.form-submit {
    background-color: #151c32;
    color: #fff;
    cursor: pointer;
    border: none;
    color: #ffffff;
    font-family: "Libre Baskerville";
    font-size: 16px;
    font-weight: 700;
    transition: all 0.5s ease;
    padding: 29px 40px;
    height: 74px;
}

.footerwidget nav h2:after {
    left: 10%;
    width: 30px;
    top: 60px;
}

.footerwidget #block-contactus h2:after {
    top: 60px;
}

.footerwidget nav ul {
    margin-top: 30px;
}

.footerwidget #block-contactus div {
    margin-top: 40px;
}

.comment-form {
    margin-top: 80px;
    margin-bottom: 80px;
}

.newsletter div.col-xs-12.col-sm-12.col-md-12.col-lg-6.col-xl-6 {
    display: flex;
    justify-content: left;
}

.newsletter h2 {
    color: #ffffff;
    margin-top: 58px !important;
}

.newsletter h2:before {
    content: "";
    width: 30px;
    position: relative;
    top: 2px;
    left: -2px;
    height: 2px;
    margin-right: 10px;
    margin-left: -40px;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: middle;
    background-color: #ffffff;
}

#block-forumadvertisement,
#block-forumadvertisement-2,
#block-biosubmission {
    padding: 50px 20px;
	background-color: rgb(228, 5, 68);
	background-size: contain;
	background-repeat: no-repeat;
	text-align: center;
	margin-bottom: 60px;
}

#block-forumadvertisement h4,
#block-forumadvertisement-2 h4,
#block-biosubmission h4 {
    color: #ffffff;
	font-family: "Libre Baskerville";
	font-size: 24px;
	font-weight: 500;
	line-height: 36px;
}

#block-forumadvertisement a,
#block-forumadvertisement-2 a,
#block-biosubmission a {
    width: 100%;
	border-radius: 2px;
	background-color: #151c32;
	border: none;
	padding: 20px 20px;
	margin-top: 30px;
	display: block;
	color: #ffffff;
	font-family: "Libre Baskerville";
	font-size: 16px;
	font-weight: 500;
	transition: all 0.5s ease;
}
#block-forumadvertisement a:hover,
#block-forumadvertisement-2 a:hover,
#block-biosubmission a:hover {
    transform: scale(1.05);
	text-decoration: none;
}

#block-forumadvertisement h5,
#block-forumadvertisement-2 h5,
#block-biosubmission h5 {
    color: #ffffff;
	font-family: Roboto;
	font-size: 14px;
	font-weight: 400;
	line-height: 32px;
	margin-top: 25px;
}

#block-forumadvertisement h3,
#block-forumadvertisement-2 h3,
#block-biosubmission h3 {
    color: #ffffff;
	font-family: "Libre Baskerville";
	font-size: 24px;
	font-weight: 700;
	margin-top: 10px;
}

#block-aboutahec {
    margin-bottom: 50px;
}

#block-aboutahec h2 {
    float: left;
}

#block-aboutahec h2:after {
    left: 16%;
}

#block-aboutahec img {
    margin-bottom: 30px;
}

#block-aboutahec p {
    color: #444444;
    font-family: Roboto;
    font-size: 15px;
    font-weight: 300;
    line-height: 26px;
}


/*MEDIA SCREENS*/


@media only screen and (max-width: 326px) {
    .newsletter input#edit-mergevars-email {
        width: 35vw !important;
    }
}

@media only screen and (max-width: 460px) {
    .brand.site-name {
        display: none;
    }

}


@media only screen and (max-width: 767px) {
    .animate_header h1 {
        font-size: 25px;
    }

    .animate_header h4 {
        font-size: 15px;
    }


    .animate_header {
        top: 55%;
    }

    .frontpage .animate_header {
        top: 50%;
    }

    
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    
    .sm {
        display: grid;    
    }
    
    .col-sm-2 {
        width: unset;
    }
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.in {
        display: block !important;
    }
    .navbar-header {
        float:none;
    }
}

@media only screen and (min-width: 768px) {
    #block-drupal8-zymphonies-theme-branding {
        width: 350px;
    }
}

.brand.logo {
    width: 100px;
    height: auto;
}

.site-name {
    width: 200px;
}

.site-name a {
    color: #3C3C3C;
    font-weight: bold;
    font-size: 2rem;
    text-decoration: none;
}

.all-comments #edit-field-field-comment-0-format {
    display: none;
}

.all-comments .comment-login a {
    text-align: center;
    border-radius: 2px;
    background-color: #151c32;
    border: none;
    padding: 20px 20px;
    margin-top: 30px;
    display: inline-block;
    color: #ffffff;
    font-family: "Libre Baskerville";
    font-size: 16px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.all-comments .comment-login:hover a {
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.all-comments .profile > div {
    padding: 0;
}

.all-comments .author-details {
    text-align: center;
    padding: 0 10px;
}

.all-comments .author-picture {
    display: inline-block;
    max-width: 80px;
    height: auto;
    object-fit: fill;
    margin: 12px auto 5px auto;
}


.all-comments .author-comments > .content div:last-of-type {
    overflow-wrap: break-word;
}

.all-comments .comment-wrap {
    border: 1px solid #E9E9E9;
    margin-bottom: 0;
}

.all-comments .comment-submitted {
    border: 0;
    border-bottom: 1px solid #E9E9E9;
}

.all-comments .form-text,
.all-comments .form-textarea {
    background-color: #f5f5f5;
    border: none;
}

a {
    overflow-wrap: break-word;
}

@media only screen and (max-width: 992px) {
    .frontpage .news-block .col-12.col-sm-12.col-md-4.views-row {
        text-align: center;
    }
    .site-name a {
        font-size: 2rem;
    }
    .all-comments .comment-login {
        text-align: center;
    }
    .all-comments .comment-login a {
        width: 40%;
    }
}


@media only screen and (max-width: 1199px) {

    .navbar-header .collapse, .navbar-toggle {
        display: block ; 
    }

    #block-aboutahec h2 {
        text-align: center;
        float: unset;
    }

    #block-aboutahec h2:after {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin:0;
    }

   

    #block-aboutahec img {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

   .newsletter h2 {
        margin-top: 0 !important;
    }

    .newsletter input#edit-mergevars-email {
        width: 40vw;
        height: 40px;
    }

    .newsletter .button.js-form-submit.form-submit {
       padding: 14px 14px;
    }

    .newsletter .block {
        height: 220px;
    }
    .footerwidget .region.region-footer-first {
        margin: 0;
    }

    .newsletter div.col-xs-12.col-sm-12.col-md-12.col-lg-6.col-xl-6 {
        justify-content: center;
    }

    .sm.menu-base-theme {
        /* position: fixed;
        width: 100%;
        left: 0;
        margin: 0 auto;
        text-align: center;
        background: #fff;
        height: 100%;
        top: 0;
        padding-top: 15%;
        z-index: 100; */
        position: fixed;
        width: 100%;
        left: 0;
        top: 108px;
        margin: 0 auto;
        text-align: center;
        background: #fff;
        z-index: 100;
    }

    .toolbar-vertical .sm.menu-base-theme {
        top: 145px;
    }


    .sm.menu-base-theme a {
        padding: 10px 20px;
        line-height: 30px;
    }
    .frontpage .bottom-widgets .row {
        display: initial;
    }
}