body {
    color: #53565A;
    display:flex;
    flex-direction:column;
    margin-top: 4.65em;
}

footer.footer{
    margin-top:auto;
}

main{
    padding-top: 4.4em;
}
@media (max-width: 768px) {
    main{
        padding-top: 2.75em;
    }
    body{
        margin-top: 4.65em;
    }
}


.eg-block-type--1 {
    margin: 2em 0;
}
.select2-container .select2-selection--single {
    height: 38px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}
.text input, .textarea textarea {
    width: 100%;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    line-height: 39px;
    padding: 0 8px;
}
.owl-theme .owl-dots {
    display: none;
}
.owl-theme .owl-dots .owl-dot span {
    width: 20px;
    height: 3px;
}
.fit-img {
    max-height: 100%;
    max-width: 100%;
}
.md-br br {
    display: none;
}
@media (min-width: 768px) {
    .owl-theme .owl-dots {
        display: block;
    }
    .md-br br {
        display: block;
    }
}

.eg-block.block_background-1{
    padding: 2em;
}

.block_background-1{
    /* background-color: #dcd9d9; */
    background-color: #222222;
    color: #fff;
}
.block_background-1 h1,
.block_background-1 h2,
.block_background-1 h3,
.block_background-1 h4,
.block_background-1 h5,
.block_background-1 h6,
.block_background-1 p{
    color:#fff;
}

.block_background-2{
    background-color: #852335;
}


.btn-hub{
    color: transparent !important;
    /* background-image: url(/assets/images/hub_nav_icon.svg) !important; */
    background-image: url(/assets/images/TheHubLogo_White_NO-HOVER.png) !important;

	
	
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    background-size: cover;
}

.btn-hub:hover{
    color: transparent !important;
    background: #8d162c00;
   /*  background-image: url(/assets/images/hub_nav_icon_over.svg) !important; */
    background-image: url(/assets/images/TheHubLogo_HOVER.png) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: none !important;
    background-size: cover;
}

.p-hub {
    padding: 0.65rem !important;
}


.slideword_thankyou, .slideword_from, .slideword_macadam, .slideword_forbes{
    display: block;
    position: absolute;
    animation-iteration-count: 1;
    animation-duration: 4s;
}
.slideword_thankyou {
    top: calc(50% - 385px);
    left: calc(50% - 598px);
    width: 500px;
    z-index:50;
    animation-name: slideword_thankyou;
}
.slideword_from {
    top: calc(50% - 223px);
    left: calc(50% - 432px);
    width: 140px;
    z-index: 60;
    transform: rotate(-24deg);
    animation-name: slideword_from;
}
.slideword_macadam {
    top: calc(50% - 520px);
    left: calc(50% - 820px);
    width: 1640px;
    z-index:10;
    animation-name: slideword_macadam;
}
.slideword_forbes {
    top: calc(50% - 8px);
    left: calc(50% - 154px);
    width: 660px;
    z-index: 15;
    transform: rotate(1deg);
    animation-name: slideword_forbes;
}



/* Xlarge screens */
@media (max-width:1200px) {
    .slideword_thankyou {
        top: calc(50% - 215px);
        left: calc(50% - 378px);
        width: 340px;
    }
    .slideword_from {
        top: calc(50% - 105px);
        left: calc(50% - 264px);
        width: 100px;
    }
    .slideword_macadam {
        top: calc(50% - 275px);
        left: calc(50% - 490px);
        width: 980px;
    }
    .slideword_forbes {
        top: calc(50% + 30px);
        left: calc(50% - 105px);
        width: 426px;
    }
}

/* large screens */
@media (max-width:991.98px) {
    .slideword_thankyou {
        top: calc(50% - 245px);
        left: calc(50% - 310px);
        width: 300px;
    }
    .slideword_from {
        top: calc(50% - 152px);
        left: calc(50% - 219px);
        width: 100px;
    }
    .slideword_macadam {
        top: calc(50% - 275px);
        left: calc(50% - 380px);
        width: 760px;
    }
    .slideword_forbes {
        top: calc(50% - 32px);
        left: calc(50% - 77px);
        width: 314px;
    }

}
/* medium screens*/
@media (max-width:767.98px) {
    .slideword_thankyou {
        top: calc(50% - 252px);
        left: calc(50% - 292px);
        width: 280px;
    }
    .slideword_from {
        top: calc(50% - 152px);
        left: calc(50% - 219px);
        width: 100px;
    }
    .slideword_macadam {
        top: calc(50% - 275px);
        left: calc(50% - 370px);
        width: 740px;
    }
    .slideword_forbes {
        top: calc(50% - 41px);
        left: calc(50% - 87px);
        width: 314px;
    }

}

/* small screens*/
@media (max-width:575.98px) {
    .slideword_thankyou {
        top: calc(50% - 200px);
        left: calc(50% - 202px);
        width: 210px;
    }
    .slideword_from {
        top: calc(50% - 126px);
        left: calc(50% - 149px);
        width: 60px;
    }
    .slideword_macadam {
        top: calc(50% - 210px);
        left: calc(50% - 260px);
        width: 520px;
    }
    .slideword_forbes {
        top: calc(50% - 46px);
        left: calc(50% - 57px);
        width: 224px;
    }
}


@keyframes slideword_thankyou {

    0% { opacity: 0}
    40% { transform: rotate(-30deg) translateY(-100%) translateX(-100%);
        opacity: 0 }
    50% { transform: rotate(0deg) translateY(0%) translateX(0%);
        opacity: 1; }
    
}
@keyframes slideword_from {
    0% { opacity: 0}
    45% {
        transform: rotate(-55deg) translateY(-100%) translateX(-100%);
        opacity: 0;
    }
    55% {
        transform: rotate(-24deg) translateY(0%) translateX(0%);
        opacity: 1;
    }
}
@keyframes slideword_macadam {
    0% { opacity: 0;
        transform: scale(0.30) rotate(0deg);}
    55% {
        transform: scale(0.30) rotate(360deg);
        opacity: 0;
    }
    65% {
        transform: scale(1.30) rotate(0deg);
        opacity: 0.5;
    }
    75% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes slideword_forbes {
    0% { opacity: 0;
        transform: scale(0.30) rotate(0deg);}
    60% {
        transform: scale(0.30) rotate(360deg);
        opacity: 0;
    }
    70% {
        transform: scale(1.30) rotate(1deg);
        opacity: 0.5;
    }
    80% {
        transform: scale(1.0) rotate(1deg);
        opacity: 1;
    }
}