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

Primary style

-------------------------------- */
/*html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: "Bitter", sans-serif;
  color: #f5f4ed;
  background-color: #795d6b;
}*/

/*a {
  color: #e86256;
  text-decoration: none;
}*/

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

Modules - reusable parts of our design

-------------------------------- */
/*.cd-container {
  width: 90%;
  max-width: 768px;
  margin: 2em auto;
}
.cd-container::after {
  /* clearfix */
/*content: '';
  display: table;
  clear: both;
}*/

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

Main components 

-------------------------------- */
/*header {
  background: #5c4751;
  height: 100px;
  text-align: center;
}*/
/*header h1 {
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  padding-top: 1.6em;
  margin-bottom: .2em;
}
header p {
  font-size: 13px;
  font-size: 0.8125rem;
  color: #957484;
}*/
/*@media only screen and (min-width: 1024px) {
  header {
    height: 200px;
  }
  header h1 {
    font-size: 30px;
    font-size: 1.875rem;
    padding-top: 2.6em;
  }
}*/


@font-face {
    font-family: 'Open Sans';
    src: url('../../fonts/OpenSans.eot');
    src: url('../../fonts/OpenSans.eot?#iefix') format('embedded-opentype'), url('../../fonts/OpenSans.woff') format('woff'), url('../../fonts/OpenSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

main p {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.6;
    margin: 2em 0;
}

@media only screen and (min-width: 1024px) {
    main p {
        font-size: 20px;
        font-size: 1.25rem;
    }
}

/*.cd-top
{
    background:#333 url('/Library/images/sprite.png')  -64px -48px no-repeat;
    width: 50px;
    height: 40px;
    display: block;
    position: fixed;
    right: 20px;
    bottom: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
}*/
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /*image replacement properties 
  overflow: hidden;*/
    text-indent: 100%;
    white-space: nowrap;
    background: #163f65 url('../../Library/images/sprite.png') -64px -48px no-repeat;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
}

    .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
        -webkit-transition: opacity .3s 0s, visibility 0s 0s;
        -moz-transition: opacity .3s 0s, visibility 0s 0s;
        transition: opacity .3s 0s, visibility 0s 0s;
    }



    .cd-top.cd-is-visible {
        /* the button becomes visible */
        visibility: visible;
        opacity: 1;
    }

    .cd-top.cd-fade-out {
        /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
        /*opacity: .5;*/
        opacity: 1.5;
    }

.no-touch .cd-top:hover {
    background-color: #163f65;
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 40px;
        width: 50px;
        right: 30px;
        bottom: 0px;
    }
}


/*slider caption animation*/



.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: #06D85F;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 0.2s;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #06D85F;
}
.popup .content2 {
  max-height: 30%;
  overflow: auto;
}

/*Let's make it appear when the page loads*/
.overlay2:target:before {
    display: none;
}
.overlay2:before {
  content:"";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  z-index: 9;
}
.overlay2 .popup {
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: fixed;
  top: 0;
  left: 35%;
  padding: 25px;
  margin: 70px auto;
  z-index: 10;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.overlay2:target .popup {
    top: -100%;
    left: -100%;
}

@media screen and (max-width: 768px){
 .modal-content {
    height: 150px;
    width: 100%;
}
    .modal-open .modal {
        padding-right: 0 !important;
        padding-top: 30%;
    }
}

.socialStyleF img {
        position: absolute;
    width: 10%;
     top: 57.5%;
    left: 9%;
}

.socialStyleT img {
    position: absolute;
    width: 10%;
    top: 57.5%;
    left: 33%;
}

.socialStyleI img {
        position: absolute;
    width: 10%;
     top: 57.5%;
        left: 56.5%;
}

.socialStyleY img {
        position: absolute;
    width: 10%;
        top: 57.5%;
    left: 80%;
}


/*Webihbar*/
.webihbar h2 {
    color: #163f65;
    font-size: 30px;
    font-family: 'Open Sans';
    font-weight: bold;
}
.webihbar h4 {
    color: #163f65;
    font-size: 18px;
    font-family: 'Open Sans';
    font-weight: bold;

}
.webihbar .space25 {
    margin-top: 25px;
}
.webihbar .space45 {
    margin-top: 45px;
}
/*./Webihbar*/