
/* Start of Mobile Devices */

/* For Mobile */
/*@media screen and (max-width: 540px) {
    .view {
        width: 400px;
    }
}
  
  /* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen 
 and (min-width: 1024px)
 and (max-height: 1366px) 
 and (-webkit-min-device-pixel-ratio: 2) {

    .bg-image {
      width: 100vw;
      height: 100vh;
      background-image: var(--custimg);
      opacity: 0.8;
      /*background-size: cover;*/
      background-position: top right;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: 100vw 100vh;
    }
    .arrow {
      position: absolute; 
      top: 80vh;
      left: 49vw;
      /*border: solid var(--bkgndcolour);*/
      border: solid dodgerblue;
      box-shadow: 10px 10px 15px rgb(113, 205, 255);
      border-width: 0 15px 15px 0;
      display: inline-block;
      opacity: 0.8;
      padding: 3px;
      width: 4vw;
      height: 4vw;
      transform:translateX (-50%);
        animation:pulsate 1.5s ease-out infinite;
    }
      
    .down {
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
    }

    .las-xarea {
      position: absolute; 
      top: 20vh;
      left: 22vw;
      width: 60vw;
      padding: 1%;
      background-color: var(--lassignborder);
      /*opacity: 1;*/
    }
    
}

/*  iPad  Portrait  */

@media only screen 
and (min-height: 1024px) 
and (max-width: 1366px) 
and (-webkit-min-device-pixel-ratio: 2) {

    .bg-image {
      width: 100vw;
      height: 100vh;
      background-image: var(--custimg);
      opacity: 0.8;
      /*background-size: cover;*/
      background-position: top right;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: 100vw 100vh;
    }
    .arrow {
      position: absolute; 
         top: 80vh;
      left: 49vw;
      /*border: solid var(--bkgndcolour);*/
      border: solid dodgerblue;
      box-shadow: 10px 10px 15px rgb(113, 205, 255);
      border-width: 0 15px 15px 0;
      display: inline-block;
      opacity: 0.8;
      padding: 3px;
      width: 4vw;
      height: 4vw;
      transform:translateX (-50%);
        animation:pulsate 1.5s ease-out infinite;
    }
      
    .down {
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
    }

    .las-xarea {
      position: absolute; 
      top: 20vh;
      left: 5vw;
      width: 90vw;
      padding: 1%;
      background-color: var(--lassignborder);
      /*opacity: 1;*/
    }
    
    .xtopnav {
      position: absolute;
      display: block;
      width: 100%;
    }

    .xtopnav.responsive .hamicon {
        position: absolute;
        right: 0;
    }

    .xtopnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .xtopnav.responsive .xdropdown{float: none;}
    .xtopnav.responsive .xdropdown-content {position: relative;}
    .xtopnav.responsive .xdropdown .xdropbtn {
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 0%;
    }
    
    .xdropdown {visibility: hidden;}
    .xtopnav.responsive .xdropdown {visibility: visible;}
    
  
      /* ------   END OF RESPONSIVE    ------ */
   
      .xheader {
        height: 47px;
      }
    
      .xlogo h4 a img {
          width: 20px;
          height: 20px;
      }

      .xlogo h4 {
          font-size: small;
          font-weight: bold;
          margin-left: auto;
          letter-spacing: 1px;
          margin-right: auto;
          text-align: center;
          padding-top: 10px;
          line-height: 1em; 
      }
    
     /* Menu Area for mobile */
      
     .xtopnav {
        padding-top: 8vh;
     }
    
     .xtopnav a, .xdropdown .xdropbtn {
        display: none;
        padding: 12px 16px;
        background-color: var(--bkgrndcolourdark);
        color: var(--menutxtcolour);
    }
    
    .xtopnav a.hamicon {
        right: 0.5vw;
        display: inline-block;
        top: 0;
        color: var(--menutxtcolour);
        background-color: var(--bkgrndcolourdark);
        position: absolute;
    }
    
    .activemenu {
        display: none;
        background-color: var(--bkgrndcolourdark) !important;
        color: var(--activecolour) !important;
        border-radius: 0%;
      } 
    
      
    .xdropdown {
        float: left;
        overflow: hidden;
        width: 100%;
        opacity: 1;
      }
        
    .xdropdown-active {
      width: 100% !important;
      opacity: 1 !important;
      text-align: left;
      border-radius: 0;
    }
    
      .xdropdown .xdropbtn {
        display: inline-block;
      }
      
      .xdropdown-content {
        width: 100%;
        opacity: 1 !important;
      }
      
      .xdropdown-content a {
        padding-left: 15vw;
      }
      .xdropdown-content input {
        padding-left: 15vw;
      }
    
      .xdropdown-content {
        background-color: var(--bkgndcolour);
        color: var(--menutxtcolour);
      }
      
      .xdropdown:hover .xdropdown-content, .xdropdown-active .xdropdown-content {
        display: inline-block;
        z-index: 9999;
      }
      .welcome {
        display: none;
    }

    .login {
        display: block;
        flex-direction: row;
        width: 100%;
        float: left;
    }
    
}

/* ------------------------------------------------------------ */


/*        M  O  B  I  L  E                P  H  O  N  E  S      */


/* ------------------------------------------------------------ */

  /* Phones */

  @media only screen and (max-width: 1023px) and (max-height: 1365px) {

    .bg-image {
      width: 100vw;
      height: 100vh;
      background-image: var(--custimg);
      opacity: 0.8;
      /*background-size: cover;*/
      background-position: top right;
      background-repeat: no-repeat;
      background-attachment: fixed;
      background-size: 100vw 100vh;
    }
    .arrow {
      position: absolute; 
      top: 75vh;
      left: 40vw;
      /*border: solid var(--bkgndcolour);*/
      border: solid dodgerblue;
      box-shadow: 10px 10px 15px rgb(113, 205, 255);
      border-width: 0 15px 15px 0;
      display: inline-block;
      opacity: 0.8;
      padding: 2px;
      width: 10vh;
      height: 10vh;
      transform:translateX (-50%);
        animation:pulsate 1.5s ease-out infinite;
    }
      
    .down {
      transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
    }

    .las-xarea {
      position: absolute; 
      top: 20vh;
      left: 5vw;
      width: 90vw;
      padding: 1%;
      background-color: var(--lassignborder);
      /*opacity: 1;*/
    }
       
    .xtopnav {
      position: absolute;
      display: block;
      width: 100%;
    }

    .xtopnav.responsive .hamicon {
        position: absolute;
        right: 0;
    }

    .xtopnav.responsive a {
        float: none;
        display: block;
        text-align: left;;
    }

    .xtopnav.responsive .xdropdown{float: none;}
    .xtopnav.responsive .xdropdown-content {position: relative;}
    .xtopnav.responsive .xdropdown .xdropbtn {
        display: block;
        width: 100%;
        text-align: left;
        border-radius: 0%;
    }
    
    .xdropdown {visibility: hidden;}
    .xtopnav.responsive .xdropdown {visibility: visible;}
    
  
    /* ------   END OF RESPONSIVE    ------ */
 
   .xheader {
      height: 47px;
    }
  
    .xlogo h4 a img {
        width: 20px;
        height: 20px;
    }

    .xlogo h4 {
        font-size: small;
        font-weight: bold;
        margin-left: auto;
        letter-spacing: 1px;
        margin-right: auto;
        text-align: center;
        padding-top: 10px;
        line-height: 1em; 
    }
  
   /* Menu Area for mobile */
    
   .xtopnav {
      padding-top: 8vh;
   }
  
   .xtopnav a, .xdropdown .xdropbtn {
      display: none;
      padding: 12px 16px;
      background-color: var(--bkgrndcolourdark);
      color: var(--menutxtcolour);
      border-radius: 0%;
  }
  
  .xtopnav a.hamicon {
      right: 0.5vw;
      display: inline-block;
      top: 0;
      color: var(--menutxtcolour);
      background-color: var(--bkgrndcolourdark);
      position: absolute;
  }
  
  .activemenu {
      display: none;
      background-color: var(--bkgrndcolourdark) !important;
      color: var(--activecolour) !important;
      border-radius: 0%;
    } 
  
    
  .xdropdown {
      float: left;
      overflow: hidden;
      width: 100%;
      opacity: 1;
    }
      
  .xdropdown-active {
    width: 100% !important;
    opacity: 1 !important;
    text-align: left;
    padding-left: 4vw;
    border-radius: 0%;
  }
  
    .xdropdown .xdropbtn {
      display: inline-block;
    }
    
    .xdropdown-content {
      width: 100%;
      opacity: 1 !important;
    }
    
    .xdropdown-content a {
      padding-left: 15vw;
    }
    .xdropdown-content input {
      padding-left: 15vw;
    }
  
    .xdropdown-content {
      background-color: var(--bkgndcolour);
      color: var(--menutxtcolour);
    }
    
    .xdropdown:hover .xdropdown-content, .xdropdown-active .xdropdown-content {
      display: inline-block;
      z-index: 9999;
    }
  
  .welcome {
      display: none;
  }

  .login {
      display: block;
      flex-direction: row;
      width: 100%;
      float: left;
  }
  
  /* Home Page Items */
  
  .las-xarea {
    top: 30vh;
  }

  .who-we-are {
    padding: 2.5vh 5vw 2.5vh 5vw;
    width: 95%;
  }
  
  .who-we-are h2 {
    font-size: 16px;
    padding-bottom: 2vh;
  }
  
  .who-we-are p {
    line-height: 1.2em;
    font-size: 12px;
  }
  
  .what-we-do {
    padding-top: 2vh;
  }
  
  .what-we-do h2 {
    font-size: 16px;
    padding-bottom: 2vh;
    text-align: center;
  }
  
  .what-we-do p {
    line-height: 1.2em;
    font-size: 12px;
  }
  
  .what-we-do-logo {
    display: none;
  }
  
  .what-we-do-text {
    width: 95%;
    padding-bottom: 20px;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  
  .what-we-do button {
    margin-left: 35vw;
  }
  
  .las-gallery {
    padding-top: 0;
    padding-bottom: 2vh;
  }
  
  .las-gallery-inner-container {
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 4vh;
  }
  
  .las-gallery h2 {
    padding-top: 3vh;
    padding-bottom: 1vh;;
    font-size: 16px;
  }
   
  .las-gallery-img {
    height: 20vw;
    width: 30vw;
  }

  .las-join-section {
    width: 100vw;
    height: 100vh;
    background-image: url("../images/london_view.jpg");
    background-position: top right;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 100vw 100vh;
  }
  
  .las-join-section h1 {
    font-size: 18px;
    padding-top: 8vh;
    font-weight: bold;
  }
  
  .las-here h1 {
    font-size: 4vh;
  }
  
  /*  -----    Login Page ----- */
  
  /*.pin-div {
    width: 95%;
    font-size: 12px;
  }
  */
  .login-div {
    margin: auto;
    width: 90%;
    font-size: 12px;
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .login-title {
    font-size: 18px;
  }
  .login-subtitle {
    font-size: 14px;
  }
  
  .login-form {
    font-size: 14px;
    width:95%;
    margin: auto;
  }

  .login-userpart {
    border-width: 0;
  }

  .login-firstname {
    display: block;
    flex: none;
    width: 100%;
    margin: auto;
    padding: 5px;
    margin-bottom: 5px;
    border-radius: 30px;
    border: 1px solid var(--brdrcolour);
  }


  .login-lastname {
    display:block;
    flex: none;
    padding: 5px;
    width: 100%;
    margin: auto;
    border-radius: 30px;
    border: 1px solid var(--brdrcolour);
  }

  .login-password {
    display:block;
    flex: none;
    padding: 5px;
    width: 100%;
    margin: auto;
    border-radius: 30px;
    border: 1px solid var(--brdrcolour);
}

  .login-form input {
    font-size: 14px;
  }
  
  .login-form svg {
    display: none;
  }
  
  button.login-signin-btn {
    width: 75%;
    font-size: 18px;
    margin-left: 10vw;
  }

  .login-username {
    display: block;
    flex-direction: unset;
    justify-content: space-between;
    width: 100%;
    padding: 5px 0px;
    margin-bottom: 5px;
    border-width: 0;
  }

  .login-email-section {
    display: block;
    flex-direction: unset;
    justify-content: space-between;
    width: 95%;
    padding: 5px 0px;
    margin-bottom: 5px;
    border-radius: 30px;
    border: 1px solid var(--brdrcolour);
  }

  .login-email {
  display: flex;
  flex: 1;
  width: 80%;
  /*padding: 5px 0px;
  margin-bottom: 5px;
  border-radius: 30px;
  border: 1px solid var(--brdrcolour); 
  */
  }

  button.login-reset-pin {
    width: 75%;
    padding: 8px 6px;
    border: none;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.25em;
    border-radius: 30px;
    background-color: var(--bkgndcolour);
    color: var(--txtcolour);
    margin-bottom: 5px;
    border: 1px solid var(--txtcolour);
  }

  

  /* ----- csfcmm Us Page ----- */
  
  .csfcmm-error {
    font-size: 16px;
  }
  
  .csfcmm-sent {
    font-size: 16px;
  }
  
  .csfcmm-benefits {
    margin-top: 10vh;
    opacity: 0.95;
  
  }
  
  .csfcmm-benefits h2 {
    font-size: 18px;
  }
  
  .csfcmm-benefits p {
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
  }
  
  .csfcmm-form {
    font-size: 14px;
  }
  
  .csfcmm-form legend {
    font-size: 18px;
    font-weight: bolder;
    text-align: center;
  }
  
  .csfcmm-form p {
    font-size: 14px;
  }
  
  .cntctarea {
    height: fit-content;
  }
  
  #cntctwrap_1 {
    display: block;
    width: 100%;
    height: fit-content;
  
  }
  
  #cntctwrap_2 {
    display: block;
    width: 100%;
    height: fit-content;
  }
  
  .cntct_container {
    display: block;
    height: fit-content;
  }
  .checkmark {
    margin-top: 3vh;
  }
  
  .cn-label {
    display: block;
  }
  
  .membership i {
    visibility: hidden;
  }
  
  
  .cn-name, .cn-email, .cn-phone {
    width: 100%;
  }
  
  /* -----  MEMBERS AREA PAGE ----- */
  

  .xgallerybook_ht {
    display: block;
    /*float: left;*/
    width: 100%;
    height: auto;
    background-color: var(--bkgndcolour);
    padding-bottom: 35px;
    padding-top: 0px;
    margin-bottom: 0px;
    text-decoration: none;
    overflow: hidden;
  }
  .xgallerybook {
    height: 85vh;
  }
  
  .returnbb {
    font-size: 14px;
  } 
  
  .icontext {
    display: block;
    float: left;
    /*width: fit-content; */
    font-size: medium;
    color: var(--txtcolour);
    /*margin: 2px 2px 100px 10px;*/
    overflow: -moz-hidden-unscrollable;
  }
  .iconarea {
    display: block;
    height: auto;
  }
  
  .iconlink {
    display: block;
    float: left;
    width: auto;
    font-size: medium;
    color: var(--txtcolour);
    background-color: var(--lasblue);
    border: 1px solid var(--brdrcolour);
    margin: 2px 2px 10px 10px;
    border-radius: 10px;
    overflow: -moz-hidden-unscrollable;
  }
  
  /* ----- Blue Books & Archive ----- */
  
  .membersarea-container {
    padding-top: 9vh;
    width: 90vw;
  }
  
  .membersarea-subcontainer {
    padding-top: 9vh;
    width: 90vw;
  }
  
  .subheader {
      display: block;
      padding-left: 0;
      color: var(--txtcolour);
      text-align: left;
  }
  
  .xthumbnail {
      width: 28.2vw; 
      height: 26vw;
      text-align: center;
      float: left;
      margin-top: 5px;
      background-color: var(--bkgndcolour);
      margin-bottom: 5px;
      margin-left: 1%;
      margin-right: 1%;
      border-radius: 8%;
      border-bottom: 4px solid var(--bkgndcolour);
      text-decoration: none;
  }
  
  .cards_height {height:18.5vw; width: 26.5vw; margin-bottom: 0.4vw;}
  
  .cards_text {
      color: var(--txtcolour);
      margin-top: 10%;
      font-size: 4vw;
      font-weight: bolder;
      overflow: hidden;
  }
  
  .card_text_index {
      color: var(--txtcolour);
      text-align: center;
      font-size: 3vw;
      font-weight: bolder;
      overflow: hidden;
      justify-content: center; 
      align-items: center;
  }
  
  .xthumbnailbook {
      width: auto; 
      height: auto;
      text-align: center;
      float: left;
      background-color: var(--bkgndcolour);
      margin-top: 5px;
      margin-bottom: 5px;
      margin-left: 3px;
      margin-right: 3px;
      border-radius: 3px;
      border-bottom: 4px solid var(--bkgndcolour);
      text-decoration: none;
      overflow: visible;
  }

  .cards_members {
      height:	48vw;
      width:	15vh;
      border-radius: 8%;	
      display: flex;
      justify-content: center; 
      align-items: center;
  }
  
  .xthumbnailbook_height {
      height: 32vw;
      width: 23vw;
  }
  
  .cards_members {
      height:	18vw;
      width:	42vw;
      border-radius: 8%;	
      display: flex;
      justify-content: center; 
      align-items: center;
  }
  
  .ccwhite {color: white;}
  
  .right {float: right;}
  
  .cards_height {height:19vw; width: 26.5vw; margin-bottom: 0.4vw;}
  
  .cards_text_font {font-size: 3vw;}
  
  
  .xgallerybb {
      display: block;
      width: 100%;
      background-color: var(--bkgndcolour);
      padding-bottom: 35px;
      padding-top: 0px;
      margin-top: -5px;
      margin-bottom: 0px;
      text-decoration: none;
      overflow: hidden;
  }
  
  .xthumbnailbb {  
      width: 44vw;
      height: 42vw;
      text-align: center;
      float: left;
      padding-bottom: 1vh;
      margin-top: 5px;
      background-color: var(--bkgndcolour);
      margin-bottom: 5px;
      margin-left: 0%;
      margin-right: 5px;
      border-radius: 3px;
      border-bottom: 4px solid var(--buttoncolour);
      text-decoration: none;
  }
  
  .xgallerybb .xthumbnailbb img {
      height: 32vw;
      width: 42vw;
      border-radius: 10%;
  }
  
  .xtext_column {
    visibility: hidden;
      width: 100%;
      text-align: justify;
      font-weight: lighter;
    font-size: x-small;
      line-height: 1em;
      float: left;
      text-align: center;
    color: var(--bkgndcolourgrey);
  }
  
  .xblock {
    height: auto;
  }

  .xblock .xthumbnailbook input {
      height: 15vw;
      width: 20vw;
      border-radius: 10%;
  }
  
  .xthumbnailphoto {  /* This is for the bbarch.php - Blue Book and Archive */
    max-height: 500px;
    width: 40vw;
    height: 40vw; 
    text-align: left;
    float: left;
    margin-top: 5px;
    background-color: var(--bkgndcolour);
    margin-bottom: 5px;
    margin-left: 1%;
    margin-right: 1%;
    border-radius: 10%;
    border-bottom: 4px solid var(--bkgndcolour);
    text-decoration: none;
    text-align: center;
  }
  
  
  .xgalleryphoto .xthumbnailphoto img {
    height: 80%;
    width: 80%;
    border-radius: 10%;
  }


  .copyright {
    font-size: 11px;
  }


/* The Close Button */

.modal-close {
  text-align: right;
  color: black;
  float: center;
  font-size: 12px;
  font-weight: bold;
  }

  .modal-close:hover,
  .modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
  }

 /* Modal Content */

 .modal-content {
	position: relative;
	background-color: #fefefe;
	margin: auto;
	padding: 0;
	border: 1px solid #888;
	width: 100%;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s
  }

  .modal-header-text {
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: white;
    }

}