.frontpage .animate_header h1 {
    font-size: 54px;
}

.frontpage .animate_header h4 {
    font-size: 22px;
    text-transform: unset;
}

.frontpage .main-header {
    height: 72vh;
}

.frontpage .front-popup {
    z-index: 2;
    margin-top: 27%;
    text-align: center;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
}

.front-popup.closed {
    display: none;
}

.frontpage .topmostwidget {
    display: flex;
    -webkit-box-shadow: 0 0 39px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 39px 1px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 39px 1px rgba(0, 0, 0, 0.1);
}

.frontpage .topmostwidget .container {
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    z-index: 2;
}

.frontpage .topmostwidget .col-md-4 {
    padding: 0;
    font-size: 3rem;
}

.frontpage .topmostwidget .col-md-4:last-of-type {
    background-color: rgb(228, 5, 68);
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 160px;
}

.frontpage .topmostwidget .col-md-4 img {
    background-color: #151c32;
    /* margin-right: 5px;
    width: 100%;
    height: auto; */
    max-width: initial;
}

.frontpage .topmostwidget .row {
    margin: 0;
}

.frontpage .topmostwidget .row .col-md-4:first-of-type,
.frontpage .topmostwidget .row .col-md-4:nth-of-type(2) {
    background-color: white;
}

.frontpage .topmostwidget .row .col-md-4 .twentyfive {
    color: white;
    font-family: "Libre Baskerville";
    font-size: 7rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
    float: left;
    position: relative;
}

.frontpage .topmostwidget .row .col-md-4 .years {
    color: white;
}

.frontpage .topmostwidget .row .col-md-4 p {
    margin: auto;
    margin-block-start: 0;
    margin-block-end: 0;
}

.frontpage .topmostwidget .row .col-md-4 h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2rem;
    margin-left: 30px;
    font-family: "Libre Baskerville";
    font-weight: 700;
    line-height: 26px;
}

.frontpage .topmostwidget .topmost-group /* + div + div */ {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: center; */
}

.frontpage .topmostwidget .block {
    margin-bottom: 0;
}

.frontpage .topmostwidget .col-md-4:first-of-type .topmost-group h4::before {
    content: "Affordable active membership, and free passive membership";
    display: block;
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 15px;
    
}

.frontpage .topmostwidget .col-md-4:nth-of-type(2) .topmost-group h4::before {
    content: "Experts' advice";
    display: block;
    font-family: 'Roboto';
    font-weight: 300;
    font-size: 1.4rem;
}

.frontpage .origins_home span {
    padding: 0px 13px 0px 10px;
    color: #cea05f;
    font-family: "Libre Baskerville";
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
    float: left;
    position: relative;
    top: 2px;
}

.frontpage .region.region-middle-first img {
    margin-top: 40px;
}

.frontpage .bottom-widgets {
    text-align: center;
}

.frontpage .bottom-widgets img {
    margin-bottom: 20px;
}

.frontpage .join-ahec-btn {
    margin-top: 90px;
    text-align: center;
    margin-bottom: 80px;
}

.frontpage .join-ahec-btn a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    background-color: rgb(228, 5, 68);
    padding: 15px 60px 15px 60px;   
    border-radius: 10px;
    -webkit-transition: background-color 0.4s; /* For Safari 3.1 to 6.0 */
    transition: background-color 0.4s;
    font-family: 'Libre Baskerville';
    display: inline-flex;
}

.frontpage .join-ahec-btn a:hover {
    background-color: rgb(170, 37, 75);
}

.frontpage .sister-org-widgets .sister-org-list {
    margin-top: 20px;
    text-decoration: none;
    color: rgb(228, 5, 68);
}

.frontpage .bottom-widgets .col-md-3 {
    transition: all 1s ease;
    transition-property: all;
    transition-duration: 1s;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.frontpage .bottom-widgets .col-md-3:hover {
    background: url("../images/Law.jpg");
    background-image: url("../images/Law2.jpg");
    background-position-x: center;
    background-position-y: center;
    background-size: cover;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
    background-size: cover;
    background-position: center;
    background-position-x: center;
    background-position-y: center;
    color: #fff;
}

.frontpage .bottom-widgets .col-md-3 h3 {
	color: #fff;
	font-family: "Libre Baskerville";
	font-size: 18px;
	font-weight: 400;
	margin-top: 24px;
}

.frontpage .bottom-widgets .col-md-3 p {
	color: #ffffff;
	font-weight: 300;
	line-height: 26px;
	margin-top: 24px;
	margin-bottom: 80px;
}

.frontpage .bottom-widgets .col-md-3 a {
    padding: 17px 23px;
    border-radius: 2px;
    color: #fff;
    font-family: "Libre Baskerville";
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #fff;
    transition: all 0.5s ease;
    margin-bottom: 50px;
    text-decoration: none;
    position: absolute;
    bottom: 0;
    
}

.frontpage .bottom-widgets .col-md-3 a:hover {
    background: #fe533d;
    text-decoration: none;
    color: white;
    border: 1px solid #fe533d;
    cursor: pointer;
}

.frontpage .bottom-widgets {
    background-color: #cea05f;
    padding: 0;
}

.frontpage .bottom-widgets .row {
    display: flex;
}

.frontpage .bottom-widgets .row .col-md-3 {
    align-self: stretch;
    border-left: 1px solid #d8b37f;
    text-align: left;
    color: white;
    padding-top: 50px;
    padding-bottom: 65px;
}

.frontpage .bottom-widgets .row .col-md-3 h3 {
    color: white;
}

.frontpage .main-header {
    margin-bottom: 0;
}

.frontpage .bottom-widgets .contextual-region {
    position: initial;
}

.frontpage .region.region-recent-news h2 {
    margin-top: 30px;
    margin-bottom: 70px;
}

.frontpage .news-block h3 a {
    font-family: "Libre Baskerville";
    font-size: 22px;
    font-weight: 500;
    text-decoration: none;
    color: black;
}

.frontpage .news-block span {
    color: #444444;
    font-family: Roboto;
    font-size: 13px;
    font-weight: 300;
    line-height: 26px;
}

.frontpage .read-more-news-btn {
    text-align: center;
    margin-bottom: 50px;
}

.frontpage .read-more-news-btn a {
    border-radius: 3px;
    border: 1px solid #151c32;
    padding: 20px 30px;
    display: block;
    width: 220px;
    text-align: center;
    transition: all 0.5s ease;
    margin: 60px auto 0 auto;
    color: #151c32;
    font-family: "Libre Baskerville";
    font-size: 16px;
    font-weight: 700;
}

.frontpage .read-more-news-btn a:hover {
    text-decoration: none;
    background: rgb(228, 5, 68);
    border: 1px solid rgb(228, 5, 68);
    color: #fff;
    transform: scale(1.1);
}

.frontpage .news-block .col-12.col-sm-12.col-md-4.views-row {
    transition: all 0.6s ease;
}

.frontpage .news-block .col-12.col-sm-12.col-md-4.views-row:hover {
    transform: scale(1.05);
}

.frontpage .news-block .field-content span {
    color: rgb(228, 5, 68);
}

.frontpage .news-block .views-field-nothing {
    background-color: #f5f5f5;
}

.frontpage .news-block .news-content {
    padding: 45px 35px;
}

.frontpage .news-block hr {
    width: 100%;
    height: 1px;
    background-color: #dddddd;
    margin-top: 30px;
    margin-bottom: 20px;
}

.frontpage .topwidget-benefits {
    padding: 0;
    color: white;
    background-color: #cea05f;
    border-bottom: 1px solid #d8b37f;
}

.frontpage .topwidget-benefits h2 {
    color: white;
}

/*Media screens*/

@media only screen and (max-width: 768px) {
    .frontpage .animate_header h1 {
        font-size: 40px;
    }

    .frontpage .animate_header h4 {
        font-size: 20px;
    }

    .frontpage #block-sisterorganizationspicture > div > p  {
        text-align: center;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {

    .frontpage .animate_header h1 {
        font-size: 46px;
    }

    .frontpage .animate_header h4 {
        font-size: 20px;
    }
}

@media only screen and (max-width: 992px) {
    .frontpage .news-block .col-12.col-sm-12.col-md-4.views-row {
        text-align: center;
        margin-bottom: 20px;
    }

    .frontpage .bottom-widgets .row .col-md-3 {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


@media only screen and (max-width: 1200px) {
    .frontpage .bottom-widgets .row {
        display: block;
    }

    .frontpage .join-ahec-btn {
        margin-bottom: 0;
    }
}