body{
    background: #fff;
    position: relative;
    min-height: 100vh;
}

h2{
        color: #CE202F;
}
input {
    width: 90%;
    border: 3px solid #ffffff;
    border-bottom: 4px solid #f17436;
    padding: 5px;
    height: 40px;
    outline: none;
    /* font-family: Open Sans,sans-serif; */
    font-weight: 600;
    font-size: 20px;
}

footer {
    background: #222;
    color: #eee;
    padding-top: 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height:200px;
}

footer a {
    text-decoration: none;
    color:#eee;
}

.banner {
    /* background: #121331; */
    background-image: url('/RiskWorld2023DigPub/static/assets/images/1130x170-RISKWORLD-web-header.jpg');
    background-size: contain;
    height: 220px;
    background-repeat: no-repeat;
}



.conf-logo {
    padding: 20px;
    height:190px;
}
#emailModalLabel {
    font-size: 1.5em;
}

.success-mssg{
    color:green;
    display: none;
    opacity: 0;
    background-color: lightgreen;
    transition: 1s;
    text-align: center;
}
.invalidEmail-mssg, .error-mssg {
    color:red;
    display: none;
    opacity: 0;
    background-color: lightcoral;
    transition: 1s;
    text-align: center;
}
/* NAVIGATION STYLE BEGINS */
.navbar {
    background-color: #af1e2b;
    padding: 0px;
}

.navbar-brand{
    display: none;
}

.nav-item{
    flex:1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-item > a{
    color: white;
    font-size: 20px;
    font-family: Helvetica, sans-serif;
    font-weight: 600;
}
.nav-item:nth-child(2){
    border-left: 1px white solid;
    border-right: 1px white solid;
}

.nav-item:hover{
    background-color: rgb(84, 20, 15);
}

#navbarNavDropdown >.container > span {
    color: white;
    position: relative;
    left: 20%;
    font-weight: 600;
    text-align: center;
    font-size: 20px;
}
.Navbar-test > button {
    margin: 21px;
    position: absolute;
}

.btn-primary, .btn-secondary {
    background-color: #CE202F;
    border-color: #CE202F;
    font-weight: 600;
    
}

/* NAVIGATION ENDS */

.publication-container{
    flex-direction: column;
    padding-bottom: 220px;
}

.modal-dialog {
    margin-top: 25%;
 }

/* PDF CONTAINER STYLING */
#pdfList-container {
    flex-wrap: wrap;
    /* justify-content: center; */
    margin-left:2%;
}

.pdf img {

    width:75%;
    border-radius: 0px !important;
    box-shadow: 10px 10px 10px;
}

.pdf-container {
    width: 230px;
    height: 330px;
    margin: 5px;
    
}

.pdf-container > h6 {
    text-align: center;
    word-break: break-word;
    padding-top: 20px;
    height: 69px;
}

.pdf-container:hover .card-img-overlay{
    display: flex;
    flex-direction: column;
}
.pdf-container:hover .pdf > img{
    /* width: 90%;
    height: 275px; */
    transition:.25s;
}

.pdf-container h6.issueDate{
    font-size: .87em;
    color: #37b0b6;
}

/* PDF CONTAINER ENDS */


/* CARD STYLING BEGINS */
.card {
    background-color: #fff !important;
    border:none !important;
    height:240px;
}
.card-img-overlay{
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    color:white;
    /* border-radius:15px; */
    /* width: 90%;
    margin-left: 13px; */
    width: 75%;
    margin-left: 30px;
}
.card-img-overlay > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin:10px;
}
.card-img-overlay a{
    color: white;
    text-decoration: none;
    margin: 10px;
}

/* CARD ENDS */
.rims-loc, .contactUs{
    text-align: center;
}


/* MOBILE DEVICE STYLING */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px){
      footer {
          font-size:12px;
      }
      footer img {
          height: 70px;
      }

  } 
/*  and (-webkit-min-device-pixel-ratio: 2) { 

    body {
        background-color: white !important;
    }
    .card {
        background-color: white !important;
        border: 0px;
    }
    .navbar{
        position: fixed;
        width: 100%;
        z-index: 999; 
    }

    .navbar-brand{
        display: inline-block;
    }
    .nav-item:nth-child(2){
        border-left: 0px white solid;
        border-right: 0px white solid;
    }
    
    #pdfList-container {
        width: 80%;
    }
    .pdf-container{
        height: 700px;
        width:75%;
        border-bottom: #222 solid 1px;
    }
    .pdf-container h6{
        font-size: 35px;

        margin-bottom: 65px;
    }
    .pdf-container .pdf > img{
        height: 500px;
        border-radius: 15px;
        box-shadow: 10px 10px 10px;
        width: auto;
    }
    .pdf-container:hover .pdf > img {
        width: auto;
        height:500px;
    }

    .pdf-container h6.issueDate {
        font-size: 1.87em; 
    }

    .pdf img {
        padding:0px;
    }

    .card-img-overlay{
        border-radius:15px;
        width:65%;
        margin-left:100px;
    }
    .card-img-overlay span {
        font-size:25px;
    }
    .fa-3x{
        font-size: 5em;
    }
    .footer-logo {
        width: 100%;
    }

    .rims-loc{
        font-size: 11px;
    }
    .contactUs{
        font-size: 13px;
    }

    .btn {
        font-size:35px;
      
    }
    
     .Navbar-test .btn-secondary{
        position: fixed;
        font-size: 65px;
     }
     
     .modal-content{
         width: 125%;
     }

     .emailMssg{
         display: none;
     }

     .modal-dialog {
        margin-top: 45%;
     }    

     .modal-content div > label,input{
         font-size:40px;
     }
     .modal-content p {
         font-size: 20px;
     }
     .publication-container > h2{
        font-size: 3.5em;
     }
 }*/

 @media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
  
    .emailMssg{
        display: none;
    }
    .Navbar-test .btn-secondary{
        position: fixed;
     }
     .card-img-overlay span{
        font-size: 15px;
     }
}

 @media screen and (orientation:landscape) { 
    .modal-dialog {
        margin-top: 10%;
     }    
 }



 