﻿.shiftPattern {
    background:#800000;

    width: 100%;
    margin-bottom: 50px;
   
    display:flex;
    flex-direction:column;
}

.shiftPattern .shiftHeader {
 display:flex;
 flex-direction:row;
 width:100%;
 justify-content:flex-start;
 align-items:center;
height: 96px;
 border-bottom: 1px solid rgba(255, 255, 255, 0.20);
 padding-left:20px;
 background:url(../Images/afcon25/Titlebk.webp?ver=0.002) top right no-repeat;background-size:cover;overflow:hidden
}

.shiftPattern .shiftHeader p{
    display: flex;
    align-items: center;
    justify-content: center;
}
.shiftPattern .shiftHeader:before{content:'';background:url(../Images/afcon25/afconacup.webp) no-repeat right top;background-size:auto 100%;display:inline-block;width:128px;height:96px}
.shiftPattern .shiftHeader .title {
    display: inline-block;
    color: #fff;
    font-family: DroidKufiBold, Arial;
    font-size: 20px;
    line-height: 96px;
}


.shiftPattern .shiftHeader .logo{
   display: flex;
   flex-direction: row;
   justify-content:center;
   align-items:center;
   gap: 21px; 
       margin-right: auto;
}

.shiftPattern .shiftHeader .logo img:first-child {
  width: 136px;
  height: 18px;
  display: block;        
  object-fit: contain;
    }

.shiftPattern .shiftHeader .logo img:last-child {
  width: 138px;
  height: 59px;
  display: block;        
  object-fit: contain;   
}



.shiftPattern .shiftContainer {
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
  align-items:flex-start;
  width:100%;
  padding:18px 16px;
}

.shiftContainer .shiftContent {
    display: inline-block;
    width: calc(100% - 310px);
   border-left: 1px solid rgba(255, 255, 255, 0.20)
}

.shiftContent ul li {
    display: inline-block;
    position: relative;
    width: calc((100% - 20px) /2);
    float: right;
    margin-left: 16px;
    margin-bottom: 16px;
}

.shiftContent ul li:nth-of-type(2n) {
            margin-left: 0
}

.shiftContent ul li:nth-of-type(5), .shiftPattern ul li:last-child {
            margin-bottom: 0
}

.shiftContent ul li .imageCntnr {
    float: right;
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 150px;
    padding-bottom: calc((150px * 56.25) /100);
    margin-left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}


.shiftContent ul li .imageCntnr img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    border: none;
}

.shiftContent ul li .desc {
    float: right;
    width: calc(100% - 180px);
    height: auto;
    cursor: pointer;
    display: inline-block;
}

.shiftContent ul li .desc p {
  color: #fff;
  overflow: hidden;
  font-size: 14px;
  font-family: 'DroidKufiLight', Arial;
  line-height: 24px;
  transition: all 0.2s ease-in-out 0s;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
}

.shiftContainer .shiftClipRotate {
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:24px;
    width: 280px;
}

.shiftClipRotate p{color: #FFF;font-size: 15px;font-family:DroidKufiBold, arial}
.shiftClipRotate ul{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 4px}
.shiftClipRotate ul li{width:67px;}
.shiftClipRotate ul li:last-child img{margin-left: 27px;}
.shiftClipRotate ul li a{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;flex-direction:column;gap:4px}
.shiftClipRotate ul li .imgCntnr{width:50px;height:50px;display:flex;justify-content:center;align-items:center;overflow:hidden;border-radius:50%}
.shiftClipRotate ul li .imgCntnr img{width:auto;height:100%}
.shiftClipRotate ul li p{font-size: 11px;color: #FFF;line-height: 18px;  font-family: 'DroidKufiLight', Arial;text-align:center;    height: 36px;}


@media screen and (min-width: 1360px) and (max-width: 1919px) {
   

  

}

@media screen and (min-width:1280px) and (max-width:1359px) {


    .shiftContent ul li .imageCntnr {
        width: 120px;
        padding-bottom: calc((120px * 66.6) /100);
    }

    .shiftContent ul li .desc {
        width: calc(100% - 130px);
    }

    .shiftContent ul li:nth-of-type(5), .shiftPattern .shiftContent ul li:last-child {
            margin-bottom: 0;
    }
}


@media screen and (min-width: 768px) and (max-width:1279px) {

   .shiftPattern .shiftHeader .title{font-size:18px}
    .shiftPattern .shiftContainer {
        flex-direction: column;
        gap: 25px;
    }

    .shiftContainer .shiftClipRotate {
        width: 100%;
    }

    .shiftContainer .shiftContent {
        width: 100%;
    }


    .shiftContent ul li {
        width: calc((100% - 40px) /2);
        margin-left: 40px
    }


    .shiftClipRotate {
        width: 100%;
    }

    .shiftPattern .shiftContent {
        width: 100%;
    }

    .shiftContent ul li {
        margin-bottom: 20px
    }

    .shiftContent ul li .imageCntnr {
            width: 130px;
            padding-bottom: calc((130px * 66.6) /100);
            margin-left: 16px;
    }

    .shiftContent ul li .desc {
            width: calc(100% - 146px);
    }
}






@media screen and (min-width: 320px) and (max-width:767px) {



    .shiftPattern .shiftHeader {
        height:114px;
        flex-direction: column-reverse;
        gap: 20px;align-items: flex-start;
       padding:20px 0 0 10px;justify-content: flex-end;position:relative

    }
    .shiftPattern .shiftHeader:before{position: absolute;
    height: 100%;
    width: 140px;top:0;right:0}
    .shiftPattern .shiftHeader .title {
        font-size: 18px;        line-height: 20px;
    }
    .shiftPattern .shiftHeader p{    margin-right: 118px;
    z-index: 1;}
    .shiftPattern .shiftHeader .logo img:first-child {
        width: 100px;
        height: 14px;
       
    }
    .shiftPattern .shiftHeader .logo{gap:15px}
    .shiftPattern .shiftHeader .logo img:last-child {
        width: 78px;
        height: 33px;
        padding-right: 15px;
       
    }
        .shiftPattern .shiftHeader .logo img.border{  border-right:1px solid rgba(255, 255, 255, 0.20)!important;  }

    .shiftPattern .shiftContainer {
        flex-direction: column;
        padding: 16px 10px;
        gap:30px
    }

    .shiftContainer .shiftClipRotate {
        width: 100%;
   
    }

    .shiftContainer .shiftContent {
        width: 100%;
        padding: 0px ;     border-left:0
    }

    .shiftContent ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .shiftContent ul li{
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
         display: flex;
        flex-direction: column;width:100%;margin-bottom:0;
        background: #700000;
    }

    .shiftPattern ul li:first-child {
           
                 background: none;
    }
    .shiftContent ul li .desc p{font-size:12px;max-height:72px;overflow:hidden}

    .shiftContent ul li:first-child a {
            display: flex !important;
            flex-direction: column !important;
            width: 100% !important;
            justify-content: center;
            align-items: center;
     }

    .shiftContent ul li:first-child .desc p{font-size:14px;max-height:48px}

    .shiftContent ul li .imageCntnr{
        width:120px;
        padding-bottom: calc((120px * 56.25) /100);
    }
 
    .shiftContent ul li .desc{
        width: calc(100% - 130px);
        padding: 4px 0 0 10px;
}

    .shiftContent ul li:first-child .imageCntnr {
        width: 100%;
        padding-bottom: calc((100% * 56.25) /100);
        margin-left: 0;
        border: 1px solid rgba(255, 255, 255, 0.10);
    }

    .shiftContent ul li .imageCntnr img {
            width: 100%;
            object-fit: fill;
    }

    .shiftContent ul li:first-child .desc {
            width: 100% ;
            padding-right: 10px;  
            float: none !important;
    width: 100% !important;
    margin-top: 10px;
    padding: 0;
    }

    .shiftPattern ul li:last-child {
                margin-bottom: 0 !important;
    }

    .shiftClipRotate ul{
        justify-content: space-around;
        width:320px
    }

    .shiftClipRotate ul li {
    width: 24%;
}
}
