body {
    background-color: #F9F9F9;
}

h1 {
    font-family: Roboto;
    color: #3C4758;
    font-size: 25px;
    text-align: center;
}

.main {
    background-color: #F9F9F9;

}

.elementor-12123 .elementor-element.elementor-element-25a27e2 > .elementor-element-populated {
    text-align: left !important;
}
.centre {
    width: 100%;
    /* border: 5px solid black; */
    transition: 0.3s ease-in-out all;
    font-family: Roboto;
}

.titleText {
    text-align: center;
    font-size: 30px;
}
.subText {
    font-size: 16px;
    text-align: center;
}

.s1SubText {
    text-align: left !important;
}
.topBar {
    padding: 7px;
}

.topSearch {
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
}
.topSearchButton {
    margin-left: 10px;
    background-color: red;
    width: 90%;
    transform: translateY(-20px);
}
.topSearchButton:hover {
    background-color: red;
}



.topSearchBox {
    margin-left: auto;
}

.divider {
    margin: 10px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid red;
    border-radius: 10px;
}

#s1Grid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
    transition: 0.3s ease-in-out all;
}

.s1GridItem {
    border: 2px solid lightgray;
    border-radius: 5px; 
    width: 80%;
    margin: 4%;
    margin-left: 10%;
    height: 230px;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    transition: 0.3s ease-in-out all;
    padding-top: 20px;
    background-color: white;
    cursor:pointer;
}

.s1GridSubItem {
    width: 100%;
}

.innerblocks-wrap {
    max-width: none !important;
}

.s1GridItem:hover{
    /* -webkit-box-shadow:inset 0 0 10px 5px "#BFBFBF";
    box-shadow:inset 0 0 10px 5px #BFBFBF; */
    border-color: #3D7CF3;
    color: #3D7CF3;
    transition: 0.1s ease-in-out all;
}

.s2GridItem:hover{
    /* -webkit-box-shadow:inset 0 0 10px 5px "#BFBFBF";
    box-shadow:inset 0 0 10px 5px #BFBFBF; */
    color: #3D7CF3;
    font-weight: bold;
    transition: 0.1s ease-in-out all;
}

.s3GridItem:hover{
    /* -webkit-box-shadow:inset 0 0 10px 5px "#BFBFBF";
    box-shadow:inset 0 0 10px 5px #BFBFBF; */
    border-color: #3D7CF3;
    color: #3D7CF3;
    transition: 0.1s ease-in-out all;
}

#s1Label {
    text-align: center;
    font-size: 23px;
    font-weight: bold;
    margin-top: -30px;
}

/* Extra extra small devices (phones, 450px and down) */
@media only screen and (max-width: 450px) {
    [class*="s1GridItem"] {
        width: 80%;
        margin-left: 10%;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (min-width: 450px) {
    [class*="s1GridItem"] {
        width: 45%;
        margin: 3px;
        margin-bottom: 8px;
    }

    #s1Grid {
        margin-left: 3%;
    }
    
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    [class*="s1GridItem"] {
        width: 30%;
        margin: 0.2%;
        margin-bottom: 5px;
    }

    
    .search {
        display: flex !important;
    }


    #s1Grid {
        margin-left: 3.5%;
    }

    .s3ALBC {
        display: table-cell !important;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    #s1Grid {
        margin-left: 7%;
    }

    [class*="s1GridItem"] {
        width: 20.5%;
        margin: 0.2%;
        margin-bottom: 6px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .grid {
        transition: 0.3s ease-in-out all;
       /* border: 3px solid black;*/
        border-radius: 10px;
    }
    .centre {
        width: 80%;
        margin-left: 10%;
    }
    #wp-block-themeisle-blocks-advanced-heading-f279f0c0 {
        width: 140%;
        margin-left: -20%;
    }

    .s3Region {
        display: table-cell !important;
        max-width: 300px !important;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .centre {
        margin-left: 10%;
    }
    #s1Grid {
        margin-left: auto;
    }
    .grid {
        transition: 0.3s ease-in-out all;
       /* border: 3px solid black;*/
        border-radius: 10px;
    }
    [class*="s1GridItem"] {
        width: 18.9%;
        margin: 0.2%;
        margin-bottom: 7px;
    }
}

.backButton {
    height: 50px;
    margin-bottom: -10px;
    margin-left: 20px;
    background-color: red;
}

.backButton:hover {
    background-color: red;
}

#s2Grid {
    text-align: center;
}

.albc {
    margin-left: 40%;
}

.s3ALBC {
    max-width: 200px;
    display: none;
}
.s3Table {
    color: #3C4758;
}

.s3Tr {
    cursor: pointer;
}
.s3Tr:hover {
    color: #3D7CF3;
}

.s3Region {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    display: none;
}

.s3Region:hover {
    white-space: normal;
    background-color: #FFFFCC;
}

.grid {
    margin-bottom: 20px;
    transition: 0.3s ease-in-out all;
}

.s2GridItemTitle {
    font-weight: bold;
    font-size: 30px;
    padding-top: 10px;
    transform: translateX(-10px);
}

.s2GridItem {
    padding-bottom: 5px;
    font-size: 20px;
    font-weight: 400;
    cursor:pointer;
}

.s3GridItem {
    display: flex;
    justify-content: space-between;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
    color: #3C4758;
    border: 2px solid #3C4758;
    margin-bottom: 20px;
}

.s3GridItemRegion {
    display: none;
}

.s3GridItemALBC {
    display: none;
}

.search {
    display: block;
    margin-bottom: 10px;
    margin-left: -5px;
    margin-right: -5px;
    color: #3C4758;
}

.s3SubSearchCat {
    display: inline;
}
.subSearch {
    width: 100%;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px;
    font-size: 17px;

}

.s3Loader {
    margin-left: auto;
    margin-right: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
  }

  .s3ModalLoader {
    margin-left: auto;
    margin-right: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .s3Modal {
      z-index: 1000;
      width: 100%;
      height: 100%;
      overflow: auto;
      display: block;
      background-color: rgba(0,0,0,0.4);
      padding-top: 150px;
      position: fixed;
      left: 0;
      top: 0;
  }

  .s3ModalContent {
      background-color: white;
      margin: auto;
      padding: 20px;
      width: 70%;
      border: 2px solid #3C4758;
      border-radius: 10px;
      color: #3C4758;
      font-size: 18px;
  }

  /* The Close Button */
.close {
    color: #3C4758;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #3C4758;
    text-decoration: none;
    cursor: pointer;
  }

  #screenTwo {
      display: none;
  }

  #screenThree {
      display: none;
  }

  .s3Modal {
      display: none;
  }

  #s3ModalALBC {
      width: max-content;
      padding-left: 20px;
      display: none;
  }
 
  .s3ModalSub {
    padding-left: 20px;
}

.select2-results__option--selectable {
    font-weight: bold;
}

.select2-container--default .select2-results__option .select2-results__option {
    font-weight: normal;
}

#s3StartNewSearch {
    cursor: pointer;
}

#s3tableConName {
    cursor: pointer;
}

#s3tableALBC {
    cursor: pointer;
}