File: /var/www/html/triad-cyber/wp-content/themes/triadcyber/scss/inner-page.scss
@import 'partials';
.sub-bnr {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.21) 0%, rgba(62, 72, 78, 0.21) 100%);
display: flex;
flex-direction: column;
padding-top: 80px;
position: relative;
.custom-container{
height: 100%;
}
.main-title{
font-size: 36px;
font-weight: 400;
@media ($sm-1679){
font-size: 30px;
}
@media ($sm-1441){
font-size: 28px;
}
@media ($sm-1199){
font-size: 26px;
}
@media ($sm-991){
font-size: 24px;
}
@media ($sm-767){
font-size: 22px;
}
}
&.training{
height: 400px;
@media ($sm-1441){
height:320px;
}
@media ($sm-1199){
height:300px;
}
@media ($sm-991){
height: 230px;
}
.inner-banner{
position: relative;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
overflow-x: hidden;
&::before{
content: "";
width: 260px;
height: 221px;
background: url(../img/training-bnr-shield.png) no-repeat center bottom;
position: absolute;
background-size: contain;
bottom: 0px;
left: 0;
@media ($sm-1679){
width: 210px;
}
@media ($sm-1199){
width: 170px;
}
@media ($sm-991){
width: 140px;
}
@media ($sm-767){
width: 120px;
}
// @media ($sm-579){
// width: 90px;
// }
@media ($sm-579){
display: none;
}
}
&::after{
content: "";
width: 532px;
height: 251px;
background: url(../img/training-bnr-rt.png) no-repeat center bottom;
background-size: contain;
position: absolute;
bottom: 0px;
right:0;
@media ($sm-1679){
width: 480px;
}
@media ($sm-1441){
width: 400px;
}
@media ($sm-1199){
width: 350px;
}
@media ($sm-991){
width: 300px;
right: -50px;
}
@media ($sm-767){
width: 220px;
right: -50px;
}
@media ($sm-579){
display: none;
}
}
}
}
&.contact{
.inner-banner{
position: relative;
height: 100%;
display: flex;
justify-content: flex-start;
align-items: flex-end;
padding-top: 75px;
@media ($sm-1679){
padding-top: 65px;
}
@media ($sm-991){
padding-top: 30px;
}
@media ($sm-767){
padding-top: 0px;
}
@media ($sm-579){
flex-direction: column;
}
.main-title{
text-align: left;
margin-bottom: 13px;
}
.bnr-left{
max-width: 760px;
width: 100%;
display: flex;
flex-direction: column;
padding-bottom: 83px;
@media ($sm-1679){
padding-bottom: 70px;
}
@media ($sm-1199){
padding-bottom: 50px;
}
@media ($sm-991){
padding-bottom: 30px;
}
@media ($sm-579){
width: 100%;
}
.bnr-desc{
font-family: $primary-font;
font-size: 18px;
font-weight: 400;
line-height: 32px;
@media ($sm-1679) {
font-size: 16px;
line-height: 26px;
}
@media ($sm-1481) {
font-size: 14px;
line-height: 24px;
}
}
}
.bnr-rt{
max-width: 313px;
margin-left: auto;
@media ($sm-1679){
max-width: 260px;
}
@media ($sm-1199){
max-width: 170px;
}
@media ($sm-991){
margin-left: 40px;
}
@media ($sm-579){
width: 100%;
max-width: 160;
margin: 0 auto;
}
img{
max-width: 313px;
width: 100%;
}
}
}
}
@media ($sm-991) {
align-items: center;
}
@media ($sm-767) {
height: auto;
padding-top: 110px;
}
@media ($sm-579) {
}
.main-title {
font-family: $primary-font;
font-weight: 700;
font-size: 36px;
line-height: 46px;
letter-spacing: 0%;
vertical-align: middle;
text-transform: capitalize;
text-align: center;
margin-bottom: 50px;
@media ($sm-1679){
font-size: 30px;
line-height: 40px;
}
@media ($sm-1441){
font-size: 28px;
line-height: 36px;
}
@media ($sm-1199){
font-size: 26px;
line-height: 34px;
}
@media ($sm-991){
font-size: 24px;
line-height: 32px;
}
@media ($sm-767){
font-size: 22px;
line-height: 32px;
}
}
}
.training-courses{
text-align: center;
padding: 99px 0 0;
@media($sm-1679){
padding: 80px 0;
}
@media($sm-1481){
padding: 60px 0;
}
@media($sm-1199){
padding: 40px 0;
}
.sub-content{
padding: 0px 190px;
padding-bottom: 60px;
@media($sm-991){
padding: 0px;
padding-bottom: 40px;
}
}
.boxes{
display: flex;
align-items: stretch;
flex-wrap: wrap;
gap: 20px;
.box1{
width: calc((100%/3) - 13.5px);
border: 1px solid #F8DADE;
border-radius: 16px;
padding-bottom: 33px;
// margin-bottom: 20px;
display: flex;
flex-direction: column;
flex: 1 1 auto;
@media($sm-767){
width: calc((100%/2) - 10px);
}
@media($sm-579){
width: 100%;
}
.logo-sec{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #F8DADE2E;
border-bottom: 1px solid #F8DADE;
padding: 22px 0px;
min-height: 163px;
.img-sec{
max-width: 296px
}
@media($sm-991){
padding: 10px 0px;
min-height: 120px;
img{
height: 60px;
}
}
}
.text-sec{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
flex-grow: 1;
.box-title{
font-family: $titleFont;
font-size: 23px;
font-weight: 500;
padding: 26px 33px 0;
flex-grow: 1;
display: flex;
flex-direction: column;
min-height:79px;
@media ($sm-1679){
font-size: 18px;
padding: 26px 25px 0;
}
@media ($sm-1441){
font-size: 16px;
padding: 20px 20px 0;
}
@media ($sm-1199){
font-size: 16px;
padding: 10px 10px 0;
min-height: auto;
}
@media ($sm-991){
font-size: 15px;
min-height: 60px;
}
@media ($sm-579){
min-height: auto;
}
br{
@media ($sm-1199){
display: none;
}
}
}
.contents{
padding: 15px 33px 26px;
font-weight: 400;
font-size: 20px;
line-height: 39px;
letter-spacing: 0%;
text-align: center;
flex-grow: 1;
@media($sm-1679){
font-size: 18px;
line-height: 28px;
}
@media($sm-1481){
font-size: 16px;
line-height: 26px;
}
@media($sm-1199){
font-size: 14px;
padding: 10px;
line-height: 24px;
}
}
.btn-more{
background-color: $primary-color;
width: 151px;
height: 41px;
border-radius: 20px;
padding: 0px 22px;
font-weight: 600;
font-size: 13.41px;
line-height: 20.86px;
letter-spacing: 0%;
color: #fff;
display: flex;
align-items: center;
justify-content: space-between;
img{
transition: all 0.5s linear;
}
&:hover{
img{
transform: translateX(10px);
}
}
@media ($sm-1679){
height: 38px;
}
}
}
}
}
}