@import url('https://fonts.googleapis.com/css?family=Cinzel');
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville');
.display-font{
    font-family: 'Cinzel', serif;
}
body{
font-family: 'Libre Baskerville', serif;
       background-color: #20395C;
}
.animated{
    animation-fill-mode: both;
    animation-duration: 500ms;
}
.slideInDown {
  animation-name: slideInDown;
}
@keyframes slideInDown {
  from {
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideOutUp {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    visibility: hidden;
    transform: translate3d(0, -100%, 0);
  }
}
.slideOutUp {
  animation-name: slideOutUp;
}

.animate-second{
    animation-delay: 20ms;
}
.animate-last{
    animation-delay: 40ms;
}
.heading {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    clear: both;
    text-align: center;
    position: relative;
}
.dark-blue{background-color: #20395C; }
.dark-blue-font{color: #20395C;}
.blue{background-color: #0E4A7E;}
.new-blue{background-color: #86a4be !important;}
.gray{    background-color: #dbd3c7 !important;}
.black{    background-color: #1F1D17;}
.green{    /*background-color: #237019;*/background-color: #6b9a65;}
.brown{    background-color: #a06c54;}
.white{    background-color: #ebebeb;}
.red{    background-color:#E0483F}
header, footer {
    /*background-color:#1B5BB9;*/
    background-color: #fff;
    color: #1F1D17;}
.dark-blue .subtitle, .dark-blue .title{
    color: #eee;
}
.gray .title{
    color: #333;
}
.gray .subtitle{
    color: #444;
}
.underlay{
    background: rgba(50, 50, 50, 0.4);
    margin-left: 20px;
    border-radius: 3px;
    padding-right: 20px;
    padding-bottom: 10px;
    margin-right: 20px;
    }
.underlay.gradient{
    background: linear-gradient(180deg, rgba(50, 50, 50, 0.4), rgba(50,50, 50, 0.8));
    z-index: 1;
    position: relative;
}
.blue-color{
    color: #20395C
}
.banner:before {
    background-color: #20395C;
    content: "";
    position: absolute;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 260px;
}
.banner{
    width: 100%;
    height: 260px;
    z-index: 0;
    left: 0;
    right: 0;
    padding-top: 0px;
    line-height: 1.6em;
    position: relative;
}
.banner .title, .banner .subtitle{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.building-banner:before{
    background-image: url('../images/van-cleve-building.jpg') ;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.car-banner:before{
    background-image: url('../images/car-accident-banner1.jpg') ;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.home-banner:before{
    background-image: url('../images/new-home-banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.life-banner:before{
    background-image: url('../images/life-insurance.jpeg');
     background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}
.farm-banner:before{
    background-image: url('../images/farm-banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
.buisness-banner:before{
     background-image: url('../images/buisness_banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.banner-title{
    margin-top: 40px;
}
.text-width-26{max-width: 26ch;}
.text-width-36{max-width: 36ch;}
.white-font{color: #e9f5f4 !important; }
.box {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
  display: block;
  padding: 1rem;
  margin-bottom: 1.75rem;
}
.company-pic{
    max-width: 300px;
}
input[type=text], textarea, input[type=password] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
    border: none;
    background-color: #E2E2E2;
}
input[type=submit] {
    padding: 5px 25px;
    background-color: #6EA4BF;
    box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
    margin: 0px 10px;
}
input[type=reset] {
    padding: 5px 25px;
    background-color: #6EA4BF;
    box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
    margin: 0px 10px;
}

form {
    padding: 20px;
}
.contact-column {
    border-left: 1px solid #888;
    padding: 15px 0px 15px 15px;
}
.contact-heading {
    font-size: 16px;
    font-weight: bold;
}
.title-icon {
    float:left;
}
.login-heading {
    float:right;
    text-transform: uppercase;
}   
.insure-category{
    transition: all .15s ease;
}
.insure-category:hover{
    background: #e8e8e8;
}
.panel-block{
    max-height: 200px;
}
.dropdown-activator{
    float: left;
    transition: all .09s ease;
    font-size: 22px;
    color: #363636;
}
.dropdown-activator:hover{
    color: #4a4a4a;
}
li .drop-down-container {
    display: none;
    position: absolute;
    text-align: left;
   /*width: 100%;*/
   margin-top: 40px;
}
.drop-down-item{
    background: #026CA1;
    transition: all .09s ease;
    box-shadow: rgba(10, 10, 10, 0.1), rgba(50, 50, 50, 1.4);
    z-index: 5;
}
.drop-down-item .button{
    background: inherit;
    border: none;
}
.little-padding{
    position: relative;
    /*margin-left: 10%;
    margin-right: -5%;*/
    width: 20%;
}
.drop-down-item:hover, .drop-down-item a:hover{
      background-color: #075D88;
    color: white;
}
    li.hover > .drop-down-container {
        display: block;
        z-index: 5;
    }
    li.hover > .drop-down-container {
        -webkit-perspective: 1000px;
        perspective: 1000px;
    }
    li.hover > .drop-down-container li {
        opacity: 0;
    }
    li.hover > .drop-down-container li:nth-child(1) {
        -webkit-animation-name: menu1;
        animation-name: menu1;
        -webkit-animation-duration: 50ms;
        animation-duration: 50ms;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    li.hover > .drop-down-container li:nth-child(2) {
        -webkit-animation-name: menu1;
        animation-name: menu1;
        -webkit-animation-duration: 150ms;
        animation-duration: 150ms;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    li.hover > .drop-down-container li:nth-child(3) {
        -webkit-animation-name: menu1;
        animation-name: menu1;
        -webkit-animation-duration: 250ms;
        animation-duration: 250ms;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    li.hover > .drop-down-container li:nth-child(4) {
        -webkit-animation-name: menu1;
        animation-name: menu1;
        -webkit-animation-duration: 350ms;
        animation-duration: 350ms;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }
    li.hover > .drop-down-container li:nth-child(5) {
        -webkit-animation-name: menu1;
        animation-name: menu1;
        -webkit-animation-duration: 400ms;
        animation-duration: 400ms;
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
    }

    @-webkit-keyframes menu1 {
        0% {
            opacity: 0;
            -webkit-transform: rotateY(-90deg) translateY(30px);
            transform: rotateY(-90deg) translateY(30px);
        }
        100% {
            opacity: 1;
            -webkit-transform: rotateY(0deg) translateY(0px);
            transform: rotateY(0deg) translateY(0px);
        }
    }
    @keyframes menu1 {
        0% {
            opacity: 0;
            -webkit-transform: rotateY(-90deg) translateY(30px);
            transform: rotateY(-90deg) translateY(30px);
        }
        100% {
            opacity: 1;
            -webkit-transform: rotateY(0deg) translateY(0px);
            transform: rotateY(0deg) translateY(0px);
        }
    }
    @media screen and (min-width: 1000px) and (max-width: 1191px) {
  .little-padding{
      margin-left: none;
      margin-right: none;
  }
}
 @media screen and (max-width: 768px){
    
     /*.level{
         display: block;
     }*/
     .nav{
         position: relative;
     }
 }
 .nav-dropdown{
     
     
 }
@media screen and (max-width: 768px) {
.nav-dropdown{
    flex-direction: column !important;
    background-color: #026CA1;
    color: white;
    }
    .date {
      display: none;
  }
  .title{
      font-size: 1.5rem;
  }
  .subtitle{
      font-size: 1.1rem
  }
  .dropdown-activator{
      font-size: 18px;
      color: white;
  }
  .title.is-1, .title.is-2{
      font-size: 2.4rem;
  }
  .banner:before{
      height: 200px;
  }
  .banner{
      height: 200px;
  }
  .little-padding{
    /*display: none;*/
  }
  .drop-down-container{
      margin-left: auto;
      margin-right: auto;
      width: 80%;
      text-align: center;
  }
}
