/*
 * For pages to be presented as a website
 */

 html {
    /*background-color: #dae6e2;*/
    /*background-color: #eaf3ec;*/
    min-height: 100%;
}

body {
    margin: 0;
    background: #dae0e6;
   font-family: 'Raleway', sans-serif;
       overflow-x: hidden;

}

::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #8080808a;
      border-radius: 0px;
  }
  
  ::-webkit-scrollbar-thumb {
    background:  linear-gradient(45deg, #009f4fb3, #58d96fb3);
    border-radius: 0px;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background:  #009f4f;
  }

/* Preload images: */
body:after{
    display:none;
    content: url("../resources/navbar-mess-icon.png") url("../resources/navbar-mess-icon-hover.png");
}

.banner{
  background: linear-gradient(180deg, #00c160, #009e4f);
    padding: 6em 3.5em;
}
.banner .inner p{
  color: #fff;
    font-size: 20px;
    font-weight: 500;
}
.first-p{
  margin-left: 10px;
}
.split > :nth-child(even) {
    border-left: 3px solid #ececec5c ;
}
.split > :nth-child(even) p{
  color: rgba(255, 255, 255, 0.7);
  margin-left: 10px;
  margin-bottom: 45px;
}
.split > :nth-child(even) a{
  background: #00587a;
    padding: 15px;
    border-radius: 30px;
    margin: 10px;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 500;
}
@media (max-width:425px ) {
    .split > :nth-child(even) a{
        padding: 0px !important;   
        font-size: 12px !important;
      }
  }
.split > :nth-child(even) a:hover{
  background: #0f3057;
}
.welcome{
  font-family: 'Abril Fatface', cursive;
  font-size: 3rem !important;
}
.welcome-wrapper span{
  color: rgba(255, 255, 255, 0.7);
    letter-spacing: 4px;
    margin-left: 10px;
    font-weight: 600;
}
.middle-container {

    /*Put all the way from top to bottom*/
    top:0;
    height: 100%;
    width: 100%;

    /*Put in the middle*/
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;

    /* Put the middle section and side section side by side */
    /* display: flex;
    flex-direction: row;
    justify-content: center; */

    /*z-index: -2;*/
}

/* Put the middle section and side section side by side */


.middle-align {
    /*display: inline-block;*/
    min-width: 0;
    max-width: 850px;
}

.side-container {
    display: block;
    max-width: 200px;
    margin: 25px 5px 0 45px;
}


/* Can make part of possible whole of the side container sticky*/
.side-container .side-element-sticky {
    position: sticky;

    /*below navbar*/
    top: 65px;
}

/*Fix gear color*/
.lds-gear > div div:nth-child(6) {
    background: white !important; /* Inner circle of the gear should be the same color as the bg-color*/
}

.new-comment-textbox {
    height: 100px;
}

/*Navbar*/
.top-nav-bar {
    /*background-color: #009e4f;*/
    background-color: #00c160;
    /*border-bottom: 1px solid #006722;*/
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 53px;
    z-index: 99;
    user-select: none;
    box-shadow:0px 1px 5px 0px #aaaaaa45;
}

.top-nav-bar .navbar-icon {

    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    cursor: pointer
}

.top-nav-bar .navbar-site-signup, .navbar-site-login{
    font-weight: 600;
    border: 2px solid #00587a;
    border-radius: 45px;
    text-align: center;
    padding: 5px 25px;
    text-decoration: none;
    font-size: 17px;
    cursor: pointer;
    margin-top: 5px;
    margin-left: 5px;
}
@media (max-width:425px ) {
    .top-nav-bar .navbar-site-signup, .navbar-site-login{
        padding: 5px 5px !important;
      }
      .top-nav-bar .navbar-site-login {
        margin-right: 5px;
    }
  }
.top-nav-bar .navbar-site-signup{
    color: #00587a;
}
.top-nav-bar .navbar-site-login{
      color: #fff;
      background: #00587a;
}
.top-nav-bar .navbar-site-signup:hover{
    background: #91cc98;
}
.top-nav-bar .navbar-site-login:hover{
background:#0f3057;
}
.top-nav-bar .navbar-icon:hover {
    background-color: #91cc98;
    color: #00587a;
    border-radius: 7px;
}
.browser-extension-icon:hover{ 
  border-radius: 5px !important;
}

/*.top-nav-bar div {*/
    /*height: 50%;*/
/*}*/

.top-nav-bar .float-right {
    float: right;
}

.top-nav-bar .float-left {
    float: left;
}


@media screen and (max-width:425px ) {
   .browser-extension-icon{
    visibility: hidden !important;
   }
   .top-nav-bar .search-bar {
    visibility: hidden !important;
    }
  }
  

/*!* Add a color to the active/current link *!*/
/*.top-nav-bar .navbar-icon.active {*/
    /*background-color: #333;*/
    /*color: white;*/
/*}*/

.top-nav-bar .navbar-home-link {
    content: url("../resources/navbar-mess-icon.png");
    padding: 0 10px 0 10px;
    margin: 0 10px 0 0;
    height: 100%;
}

.top-nav-bar .navbar-home-link:hover {
    content: url("../resources/navbar-mess-icon-hover.png");
    background-color: #91cc98;
    border-radius: 5px;
}

.search-label{
    position: absolute;
    left: 308px;
    color: #878a8c;
    top: 13px;
}
@media (max-width:760px ) {
  .search-label{
    display: none;
  }
}
.top-nav-bar .search-bar {
    padding: 6px;
    padding-left: 35px;
    border: none;
    margin-top: 8px;
    margin-left: 16px;
    border-radius: 6px;
    width: calc(100% - 680px);
    min-width: 150px;
    max-width: 45%;
    /* float: left; */
    resize: none;
    font-size: 16px;
}
.top-nav-bar .search-bar:focus {
  border: 1px solid #00587a;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(0 88 122 / 18%);
}
.top-nav-bar .navbar-right-filler, .top-nav-bar .navbar-left-filler {
    margin: 10px 0;
    padding: 14px 0;
    border-style: dashed;
    border-color: rgb(255, 255, 255);
}

.top-nav-bar .navbar-right-filler {
    width: calc(100% - 945px);
    max-width: 60px;
    min-width: 10px;
    float: right;
    border-width: 0 0 0 3px;
    margin-left: 5px;
}
.top-nav-bar .navbar-left-filler {
    width: 20px;
    float: left;
    border-width: 0 0px 0 0;
}

.top-nav-bar .navbar-site-info {
  text-decoration: none;
  padding: 0;
  margin: 0;
  height: 100%;
  font-size: 35px;
  margin-right: 20px;
}
.top-nav-bar .navbar-site-info:hover i{
  color: #fff;
}
.top-nav-bar .navbar-site-info:hover{
    background: transparent;
}
.top-nav-bar .navbar-site-info:hover {
    color: #00c160;
    /*background-color: inherit;*/
    border-color: #91cc98;
    /*border-style: none;*/
}

.top-nav-bar .navbar-site-info p {
    /*font-family: "Open Sans Semibold";*/
    position: relative;
    color: #fff;
    font-size: 32px;
    line-height: 0.85;
    padding: 5px 5px 8px 5px;
    margin: 4px 4px 0px 4px;
    height: 22px;
    width: 25px;
    border-radius: 50%;
    border-style: solid;
}

.navbar-site-notifications.navbar-icon {
    text-decoration: none;
    padding: 0;
    margin: 0 10px 0 0;
    height: 100%;
    position: relative;
    display: inline-block;
}

.navbar-site-notifications.navbar-icon .notification-icon {
    content: url("https://messapp.net/site/resources/bell-white-50.png");
    height: 90%;
    padding: 5px 10px;
    margin: 2px 0;
}

.navbar-site-notifications.navbar-icon .badge {
    position: absolute;
    top: 0px;
    right: 20px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 13px;
    padding: 1px 5px 1px 5px;
    border-radius: 16px;
    background: red;
    color: white;
    border: 2px solid #00c160;
    display: none;
}

.navbar-site-notifications.navbar-icon:hover .badge {
    background-color: #ff7457;
    /*change badge border color to the same as hover color*/
    border-color: #91cc98;
}


.navbar-site-user-panel.navbar-icon {
    padding: 0;
    margin: 0 5px 0 0;
    height: 100%;;
}

.top-nav-bar .navbar-site-user {
    content: url("https://messapp.net/site/resources/user-white-50.png");
    padding: 8px 10px;
    height: 65%;
    font-weight: bold;
    box-sizing: content-box;
}

.top-nav-bar .user-dropdown-content-site {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 0px 10px 0px #aaaaaa;
    outline: none;
    border-radius: 7px;
   /*  right: 14%; */
}
@media screen and (max-width: 960px) {
    .top-nav-bar .user-dropdown-content-site {
        right: 130px;
    }
}

.top-nav-bar .user-dropdown-content-site a, .top-nav-bar .user-dropdown-content-site div {
    float: none;
    color: #00ab55;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 15px;
    outline: none;
}

.top-nav-bar .user-dropdown-content-site a:hover {
    background-color: #ececec;
    color: #00ab55;
    border-radius: 2px;
}

.top-nav-bar .user-dropdown-content-site .navbar-site-username {
    color: #00587a;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    /*letter-spacing: 4px;*/
    padding: 4px 8px;
    margin: 0px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: rgb(0 88 122 / 65%);
    cursor: default;
    background-color: #ececec;
    border-radius: 7px 7px 0 0;
}

.top-nav-bar .user-dropdown-content-site .navbar-site-profile-link {
    margin-top: 4px;
}


/* Notifications */
.notification-box {
    position: fixed;
    top: 65px;
    right: 130px;
    height: 400px;
    width: 350px;
    margin: 0;
    border-radius: 7px 0 0 7px;
    border: 1px solid rgba(100, 100, 100, 0.4);
    box-shadow: 0px 0px 10px 0px #aaaaaa;
    outline: none;
    background-color: rgba(255, 255, 255, 1);
    font-family: verdana;
    font-size: 14px;
    z-index: 2147483690;
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
    padding: 0px;
}

/* Styled scrollbar */
.notification-box::-webkit-scrollbar {
    width: 7px;
    background: transparent;
    opacity: 0.7;
    /*display: none;*/
}

.notification-box::-webkit-scrollbar-thumb {
    background: #00c160;
    border-radius: 4px;
    z-index: 2147483647;
}

.notification-header {
    width: 100%;
    padding: 10px;
    outline: none;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #d0d0d0;
    background: #ececec;
}

.notification-header p {
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    /*margin: 10px 0 10px 0;*/
    font-size: 12px;
    font-weight: bold;
    color: #5b59a6;
}

.notif-container {
    overflow: hidden;
}

.notif-list {
    list-style-type: none;
    width: 100%;

    /* Overriding parameters: */
    -webkit-padding-start: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    margin: 0;
    padding: 0;
}

.notif-list .notif-list-item {
    padding: 15px 0;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #00c16073;
    display: block;
    outline: none;
    /*Overriding*/
    margin: 0;

}
.notif-list-item.notif-read:hover {
    background: #f2f2f2;
}

.notif-list .notif-list-item div {
    padding: 0px 10px 0px 10px;
    outline: none;
}

.notif-list-item .notification-time {
    font-size: 13px;
    color: darkgray;
}

.notif-list-item a {
    text-decoration: none;
    color: green;
    outline: none;
}

.notif-load-more.notif-list-item {
    text-align: center;
    font-size: 12px;
    padding: 10px 0;
    background: #ececec;
}

.notif-empty {
    margin-top: 50%;
    text-align: center;
}

.notif-list-item.notif-unread {
    background-color: #fff;
}
.notif-list-item.notif-read {
    background-color: whitesmoke;
}

.opacity-overlay {
    background-color: #000;
    opacity: 0.7;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 102;
    display: none;
}

.popup-window
{
    position: fixed;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 7px;
    background-color: #fff;
    opacity: 0.95;
    /*box-shadow: 5px 10px 10px 0px #9b9b9b;*/
    z-index: 103;
    display: none;
}

.login-popup
{
    width: 800px;
    height: 600px;
    overflow: hidden;
    z-index: 104;
}

.login-iframe {
    height: 100%;
    width: 100%;
    overflow:hidden;
    border-width: 0;
}

/*Hide side container if screen is too narrow*/
@media screen and (max-width: 1160px) {
    .side-container {
        display: none !important;
    }
}

/*Hide fillers for small screens*/
@media screen and (max-width: 1000px) {
    /*.top-nav-bar .navbar-right-filler {*/
        /*!*display: none !important;*!*/
        /*width: calc(100% - 945px);*/
    /*}*/
    .notification-box {
        right: calc(100% - 880px);
    }
}
@media screen and (max-width: 960px) {
    .top-nav-bar .navbar-right-filler {
        display: none !important;
    }
    .notification-box {
        right: 2px;
        width: 315px;
    }
}
@media screen and (max-width: 1000px) {
    .top-nav-bar .navbar-left-filler {
        /*display: none !important;*/
        width: calc(100% - 950px);
    }
}
@media screen and (max-width: 901px) {
    .top-nav-bar .navbar-left-filler {
        display: none !important;
    }
}

.error-box {
    font-size: 16px;
    background-color: rgba(255, 0, 0, 0.4);
    color: #4a0000;
}

.success-box {
    font-size: 20px;
    background-color: rgba(0, 196, 0, 0.4);
    color: #003913;
}

/*link style*/
a {
    text-decoration: none;
    color: green;
}


.extension-wrapper{
    margin-top: 6rem!important;
}
.try-wrapper{
    border: 2px solid #478000;
    padding: 10px 15px;
    border-radius: 25px;
}
.extension-header{
    border-bottom: 2px solid #00c160bf;
}

.contact-strong{
    font-weight: bolder;
    background: #00c1604f;
    padding: 5px;
    border-radius: 5px;
}

/* footer */
.footer{
    /* background: linear-gradient(180deg, #00c160bf, #009e4f); */
    padding: 10px 0px;
    background: #fff;
    font-size: 18px;
    margin-top: 150px;
}

.settings-button i{
    color: #00c160;
}

@media screen and (max-width: 768px) {
    .try-wrapper {
        padding: 10px 5px;
    }
}