/* Former Avada-Child styles */


/* General */

h2, h3, h6 {
    margin: 0 !important;
}





/* Header */

.sgc_topMenuBtn a {
    background: white;
    color: #1A45DA !important;
    max-height: 50px !important;
    border-radius: 6px;
    padding: 0 20px;
}

.sgc_topMenuBtn a:hover {
    background: #8BA5FF;
    color: white !important;
}


.sgc_topMenuBtn {
    display: flex;
    align-items: center;
}






/* Footer */

.fusion-footer .fusion-widget-area .fusion-column.col-lg-6 {
    width: 100%;
}

.fusion-footer section:nth-child(1) {
    margin-bottom: 0;
}

.fusion-footer section:nth-child(2) {
    margin-bottom: 10px;
}





/* Homepage */

.sgc_home_about1>div,
.sgc_home_about2>div {
    position: relative;
}

.about1_sec3 {
    position: absolute !important;
    z-index: 1;
    background: #ffffffde;
    border-radius: 6px;
    max-width: 37%;
    padding: 20px;
    font-size: 28px;
    color: #00164F;
    display: inline-block !important;
    top: 45%;
    left: 46%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.1);
    font-family: 'Trocchi';
    line-height: 1.5;
}

.about1_sec2 {
    max-width: 35% !important;
    margin-left: auto;
}

.services_sec2 h6 {
    padding: 10px 0 !important;
}


.services_sec1 h2 {
    margin-bottom: 20px !important;
}

.about2_sec3 {
    position: absolute !important;
    z-index: 1;
    background: #ffffffde;
    border-radius: 6px;
    max-width: 23%;
    padding: 20px;
    font-size: 28px;
    color: #00164F;
    display: inline-block !important;
    top: 72%;
    left: 56%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 15px 50px rgb(0 0 0 / 10%);
    font-family: 'Trocchi';
    line-height: 1;
}

.about2_sec3 p {
    margin-bottom: 0 !important;
}

.about2_sec1 {
    max-width: 43% !important;
    margin-right: auto;
}


.about2_sec1 h3 {
    margin-bottom: 20px !important;
}

.services_sec2>div>div {
    align-items: inherit !important;
}

.sgc_serviceblock_txt {
    min-height: 230px;
}

.sgc_serviceblock_btn {
    margin-bottom: 20px;
}

.sgc_serviceblock_img {
    min-height: 150px;
}











/* Inner pages */

.sgc_contact_info h6 {
    padding-bottom: 20px;
}












/* Mobile optimisation */

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

.sgc_serviceblock_txt {
    min-height: 280px;
}

}

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

.sgc_serviceblock_txt {
    min-height: 280px;
}

}


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

.fusion-layout-column.fusion_builder_column_inner.sgc_serviceblock {
    width: 50% !important;
}

.about1_sec3,
.about2_sec3 {
    position: relative !important;
    max-width: 100%;
    transform: inherit;
    top: 0;
    left: 0;
}

.sgc_home_about1>div,
.sgc_home_about2>div {
    flex-direction: column;
}

.about1_sec1 {
    width: 100% !important;
}

.about1_sec2 {
    max-width: 100% !important;
    margin-left: inherit !important;
}

.fusion-body .fusion-layout-column.about1_sec1,
.fusion-body .fusion-layout-column.about1_sec2,
.fusion-body .fusion-layout-column.about2_sec2 {
	width: 100% !important;

}

.fusion-body .fusion-layout-column.about2_sec1 {
    width: 100% !important;
}

.about2_sec1 {
    max-width: 100% !important;
}

.about1_sec1 {
    text-align: center;
}

.about2_sec2>div>div {
    text-align: center !important;
}


}



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

.sgc_topMenuBtn {
    display: block;
}

}

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

.fusion-layout-column.fusion_builder_column_inner.sgc_serviceblock {
    width: 100% !important;
}

#fusion-menu-widget-2 ul li a:after {
    padding-right: 10px !important;
    padding-left: 10px !important;
}


}	