body {
    margin: 0px;
    font-family: tahoma, Geneva, sans-serif;
    background: #D2D2FA;
    overflow-x: hidden;
}
/* PAGE TOP, i.e., HEADER */
#header {
    background: url(header-sliver.jpg) repeat-x;
    height: 55px;
    z-index: 25;
}
#header > #headerWrap {
    width: 90%;
    margin: 0px auto;
    height: 55px;
}
#header > #headerWrap > #headerLogo { /* Keeps div's from stacking horizontally */
    float: left;
    width: 50%;
    height: 55px;
}
#header > #headerWrap > #headerLogo a:link { /* Keeps div's from stacking horizontally */
    text-decoration: none;
}
#header > #headerWrap > #headerRest {
    float: left;
    width: 50%;
    height: 55px;
    margin-top: -8px;
}
#header > #headerWrap > #headerRest > #menu1 {
    height: 44px;
    color: transparent;
}
#header > #headerWrap > #headerRest > #menu1 > div {
    padding: 4px;
    text-align: right;
}
#header > #headerWrap > #headerRest > #menu1 > div > a {
    color: #ccc;
    text-decoration: none;
}
#header > #headerWrap > #headerRest > #menu1 > div > a:hover {
    color: #ab0000;
}
#header > #headerWrap > #headerRest > #menu2 {
    height: 44px;
    display: none;
}
#header > #headerWrap > #headerRest > #menu2 > div {
    margin-top: 2px;
    padding: 4px;
    display: none;
}
#header > #headerWrap > #headerRest > #menu2 > div > a {
    display: block;
    float: left;
    color: #ccc;
    text-decoration: none;
    margin: 0px 16px;
    display: none;
}
#header > #headerWrap > #headerRest > #menu2 > div > a:hover {
    color: #0070C0;
    display: none;
}
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}
#mobile_header {
    background: url(mobile-header-sliver.jpg) repeat-x;
    height: 150px;
    z-index: 25;
}

/* Styles from header when not logged in */
#headerLogInBtn{color:#fff; background:#0000ab; border:solid 2px #ab0000;}
#headerLogInBtn:hover{background:#ab0000; border:solid 2px #0000ab;}
#headerSignUpBtn{color:#fff; background:#006ec6; border:solid 2px #006ec6;}
#headerSignUpBtn:hover{color:#002060; background:#fff; border:solid 2px #ff0000;}

/* This marks the name on the user pages so it can be seen with backgrounds in place */
mark { 
    background-color: #FAD2D2;
    color: #0000ab;
    padding: 6px;
    border: inset #cc0000 5px;
}

/* TOP PAGE - ACTIVATION */
#header > #headerWrap > #headerRest > #actvn {
    height: 44px;
}
#header > #headerWrap > #headerRest > #actvn > div {
    margin-top: 8px;
    padding: 4px;
}

/* CONTAINER */
#container {
    width: 80%;
    background: #fff;
    margin: 0px auto;
    overflow: hidden; /* Added to make sidebars and content the same height */
}

/* PAGE MIDDLE */
#content-area {
    width: 50%;
    background: #fff;
    margin: 0px auto;
    padding: 1px;
    /* border-right: solid 2px #D2D2FA;
    border-left: solid 2px #D2D2FA;
    /* height: 900px; Remove when you have content */
}

/* SIDEBARS */
.sideleft {
    float: left;
    width: 25%;
    background: #EAEAF5;
    text-align: center;
    margin-top: -9999px; /* Added to make sidebars and content the same height */
    margin-bottom: -9999px;
    padding-top: 9999px;
    padding-bottom: 9999px;
    /* height: 900px; /* Remove when you have content */
}
.sideright {
    float: right;
    width: 25%;
    background: #EAEAF5;
    text-align: center;
    margin-top: -9999px; /* Added to make sidebars and content the same height */
    margin-bottom: -9999px;
    padding-top: 9999px;
    padding-bottom: 9999px;
    /* height: 900px; /* Remove when you have content */
}

#welcome-user {
    text-align:center;
    font-size:20px;
}

/* HORIZONTAL MENU */
.nav{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.nav li{
    display: inline;
}
.nav a{
    color: #0000ab;
    display: inline-block;
    padding: 10px;
    margin-right: 7px;
    text-decoration: none;
    border: solid 2px #FAD2D2;
    cursor: pointer;
}
.nav a:hover {
    text-decoration: underline;
    background: #FAD2D2;
    border: solid 2px #EAB9B9;
}
.nav a:active {
    color: #0000ab;
    text-decoration: none;
}
.nav a:visited {
    color: #0000ab;
    text-decoration: none;
}

/* VERTICAL MENU */
.vertical-menu {
    width: 275px;
}
.vertical-menu a {
    color: #0000ab;
    display: block;
    padding: 12px;
    text-decoration: none;
}
.vertical-menu a:hover {
    text-decoration: underline;
    background-color: #FAD2D2;
}

/* Styles to get template_header-user.php to show correctly on each page */
div#profile_pic_box{
    margin: 0 auto;
    width: 190px;
    height: auto;
    background: none;
    overflow-y: hidden;
}
div#profile_pic_box > img{
    z-index: 2000;
    width: 175px;
    height: 175px;
    vertical-align: middle;
    border: inset #cc0000 7px;
    border-radius: 60%;
    object-fit: contain;
    background: rgba(0, 0, 128, .7);
}
div#profile_pic_box > a {
    display: block;
    position: absolute; 
    margin: 110px 0px 0px 85px;
    z-index: 4000;
    background: none;
    border: none;
    opacity: .4;
}
div#profile_pic_box > a:hover {
    opacity: 1;
}
div#profile_pic_area > a {
    display: block;
    position: absolute; 
    margin: 0px 0px 0px 30px;
    z-index: 4000;
    background: none;
    border: none;
    opacity: .4;
}
div#profile_pic_area > a:hover {
    opacity: 1;
}
div#profile_pic_area_mobile > a {
    display: block;
    position: absolute; 
    margin: 0px 0px 0px 30px;
    z-index: 4000;
    background: none;
    border: none;
    opacity: .4;
}
div#profile_pic_area_mobile:hover a {
    opacity: 1;
}
#avatar-form-images {
    height: 50px;
    width: 50px;
    border: solid 2px #FAD2D2;
    border-radius: 50%;
}
div#profile_pic_box > form{
    display: none;
    position: absolute; 
    z-index: 3000;
    padding: 10px;
    opacity: .8;
    background: #D2D2FA;
    width: 175px;
    height: 175px;
    border: inset #ab0000 1px;
}
div#profile_pic_box:hover a {
    display: block;
}
#recommended-size{
    font-size: 10px;
}

/* PAGE BOTTOM i.e., FOOTER */
#footer {
    background: url(footer-sliver.jpg) repeat-x;
    padding: 15px;
    font-size: 12px;
    color: #CCC;
    text-align: center;
    height: 55px;
}
#footer a {
    color: #AAAAAA;
    text-decoration: none;
}
#footer a:hover {
    color: #ab0000;
}

h1 {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: inline;
    line-height: 250%;
}
h1:hover {
    color: #FFEAEA;
}

/* SCROLL BACK TO THE TOP */
#myBtn {
    display: none;
    position: fixed;
    bottom: 45px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #6D6DEA;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}

#myBtn:hover {
    background-color: #AB0000; /* Add a dark-grey background on hover */
}

/* FILTER SEARCH - FRIENDS */
.dropbtn {
    color: #fff;
    background-color: #0000ab;
    border: solid 2px #ab0000;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
}
#searchFriendInput {
    box-sizing: border-box;
    background-image: url('searchicon.png');
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 15px 20px 20px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
    width: 250px;
}
#searchFriendInput:focus {outline: 3px solid #ddd;}

.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    width: 255px;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
}
.dropdown-content a {
    width: 200px;
    color: #0000ab;
    padding: 0;
    text-decoration: none;
    display: inline;
}
.dropdown a:hover {
    background-color: #FAD2D2;
}
.show-friends-dropdown {
    display: block;
}

/* USER PAGES DROPDOWN - More */
.userpage-dropbtn {
    color: #0000ab;
    background: none;
    border: solid 2px #FAD2D2;
}
.userpage-dropbtn:hover {
    text-decoration: underline;
    background: #FAD2D2;
    border: solid 2px #EAB9B9;
}
.userpage-dropdown {
    position: relative;
    display: inline-block;
}
.userpage-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 400px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.userpage-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.userpage-dropdown a:hover {
    background-color: #ddd;
}
.show-userpage-dropdown {
    display: block;
    text-align: left;
    padding: 5px;
}

/* USER PAGES DROPDOWN - Friend Request Sent */
.friendsent-dropbtn {
    color: #0000ab;
    background: none;
    border: solid 2px #FAD2D2;
}
.friendsent-dropbtn:hover {
    text-decoration: underline;
    background: #FAD2D2;
}
.friendsent-dropdown {
    position: relative;
    display: inline-block;
}
.friendsent-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.friendsent-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.friendsent-dropdown a:hover {
    background-color: #ddd;
}
.show-friendsent-dropdown {
    display: block;
    text-align: left;
    padding: 5px;
}
#cancel-friend-button-nav{
    color: #0000ab;
    background: #E9E9FA;
    border:solid #ab0000 2px;
}
#cancel-friend-button-nav:hover{
    color: #ab0000;
    background: #E9E9FA;
    border: solid #0000ab 2px;
}

/* Styles for columns on home page with no login */
* {
    box-sizing: border-box;
}
/* Create two equal columns that floats next to each other */
.columnhome {
    float: left;
    width: 50%;
    padding: 10px;
}
/* Clear floats after the columns */
.rowhome:after {
    content: "";
    display: table;
    clear: both;
}
.black_overlay_home {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .90;
    filter: alpha(opacity=30);
}
.white_content_home {
    display: none;
    position: absolute;
    top: 15%;
    left: 25%;
    width: 50%;
    height: auto;
    padding: 16px;
    border: none;
    background-color: white;
    z-index: 1002;
    background: none;
}

/* SEARCH FORM */
#search-div {
    overflow: hidden;
    margin: 0 auto;
    width: 95%;
    background: #fff;
    padding: 15px;
    border: solid 3px #FAD2D2;
    margin-bottom: 5px;
}
#search-input {
    width: 80%;
    height: 35px;
    vertical-align: middle;
}
.search-button {
    vertical-align: middle;
    color: #fff;
    background: #ab0000;
    border: solid 2px #ab0000;
    border-radius: 50px;
    font-size: 14px;
    padding: 3px;
}
.search-button:hover {
    background: #0000ab;
    border: solid 2px #ab0000;
}

/* STYLE FROM user.php */
#friend-button{color:#0000ab; background: #E9E9FA; border:solid #ab0000 2px; height: 30px;}
#friend-button:hover{color:#ab0000; background: #E9E9FA; border:solid #0000ab 2px;}
#friend-button-user-hover{color:#0000ab; background: #E9E9FA; border:solid #ab0000 2px; height: 30px;}
#friend-button-user-hover:hover{color:#ab0000; background: #E9E9FA; border:solid #0000ab 2px;}
#message-button{color:#0000ab; background: #E9E9FA; border:solid #ab0000 2px; height: 30px;}
#message-button:hover{color:#ab0000; background: #E9E9FA; border:solid #0000ab 2px;}
#message-button-user-hover{color:#0000ab; background: #E9E9FA; border:solid #ab0000 2px; height: 30px;}
#message-button-user-hover:hover{color:#ab0000; background: #E9E9FA; border:solid #0000ab 2px;}
#unfriend-button{color:#0000ab; background:none; border:none;}
#unfriend-button:hover{text-decoration:underline;}
#block-button{color:#0000ab; background:none; border:none;}
#block-button:hover{text-decoration:underline;}
#related-friend-button{color:#0000ab; background:none; border:none;}
#related-friend-button:hover{text-decoration:underline;}
#note-friend-button{color:#0000ab; background:none; border:none;}
#note-friend-button:hover{text-decoration:underline;}
img.friendpics{border:none; width:100px; height:100px; object-fit:contain; background:navy; border:solid 1px #0000BA;}
textarea#statustext{width: 80%; height: 40px; background: #ececec; padding: 10px; border: #FAD2D2 1px solid; border-radius: 25px; font-size: 15px; font-family: sans-serif; resize: both; overflow: auto; margin-left: 20px; vertical-align: middle;}
textarea#statustext:hover{background:#dadada;}
div.status_boxes{padding:12px;}
div.status_boxes > div{padding:8px; border:#FAD2D2 2px solid; border-radius:2%; box-shadow:5px 10px 8px #888888;}
div.status_boxes > div > b{font-size:12px;}
div.status_boxes > button{padding:5px; font-size:12px;}
textarea.replytext{width:80%; height: 40px; background:#ececec; padding:10px; border:#FAD2D2 1px solid; border-radius:25px; font-size:15px; font-family:sans-serif; resize:none; margin-left:20px; vertical-align:middle;}
textarea.replytext:hover{background:#dadada;}
div.reply_boxes{padding:12px; border:#999 1px solid; background:#F5F5F5;}
div.reply_boxes > div > b{font-size:12px;}
#statusBtn{color:#fff; background:#0000ab; border:solid #ab0000 2px;}
#statusBtn:hover{background:#ab0000; border:solid #0000ab 2px;}
.replyBtn{color:#fff; background:#0000ab; border:solid #ab0000 2px;}
.replyBtn:hover{background:#ab0000; border:solid #0000ab 2px;}
#related-friend-button-pu {color:#fff; font-size:18px; padding:5px; background:#0000ab; border:solid 2px #ab0000;}
#related-friend-button-pu:hover {background:#ab0000; border:solid 2px #0000ab;}
.shareBtn{color:#0000ab; background:#fff; border:solid 1px #ab0000;}
.shareBtn:hover{color:#ab0000; border:solid 1px #0000ab;}
.sharetext{width:80%; height: 40px; background:#ececec; padding:10px; border:#FAD2D2 1px solid; border-radius:25px; font-size:15px; font-family:sans-serif; resize:none; margin-left:20px; vertical-align:middle;}
.sharetext:hover{background:#dadada;}
.likeBtn{background:none; border:#FAD2D2 2px solid; color:#0000ab; margin-bottom:5px;}
.dislikeBtn{background:none; border:#FAD2D2 2px solid; color:#0000ab; margin-bottom:5px;}
#pref-image{height:30px; width:auto; vertical-align:middle; margin-right:3px;}
.prefButton{background:none; border:#FAD2D2 1px solid; color:#ab0000; font-size:12px; margin-bottom:5px; vertical-align:middle;}
.prefButton:hover{color:#0000ab;}
#replyChoiceBtnImage{width:20px; height:auto; vertical-align:middle; margin-right:5px;}
/* STYLES for STATUS and REPLY posts */
textarea#statustextdropdown{width:80%; height: 40px; background:#ececec; padding:10px; border:#FAD2D2 1px solid; border-radius:25px; font-size:15px; font-family:sans-serif; resize:none; margin-left:20px; vertical-align:middle;  margin-bottom:5px;}
textarea#statustextdropdown:hover{background:#dadada;}
#statusBtnDropdown{color:#fff; background:#0000ab; border:solid #ab0000 2px; margin-top:5px;}
#statusBtnDropdown:hover{background:#ab0000; border:solid #0000ab 2px;}
textarea#replytextdropdown{width:80%; height: 40px; background:#ececec; padding:10px; border:#FAD2D2 1px solid; border-radius:25px; font-size:15px; font-family:sans-serif; resize:none; margin-left:20px; vertical-align:middle;  margin-bottom:5px;}
textarea#replytextdropdown:hover{background:#dadada;}
#replyBtnDropdown{color:#fff; background:#0000ab; border:solid #ab0000 2px; margin-top:5px;}
#replyBtnDropdown:hover{background:#ab0000; border:solid #0000ab 2px;}
#closeBtnDropdown{color:#fff; background:#0000ab; border:solid #ab0000 2px;}
#closeBtnDropdown:hover{background:#ab0000; border:solid #0000ab 2px;}
/* STYLES for REPLY dropdowns */
.edittext{width:90%; height: auto; background:#ececec; padding:10px; border:#FAD2D2 1px solid; border-radius:25px; font-size:15px; font-family:sans-serif; resize:none; margin-left:20px; vertical-align:middle;}
.replyChoiceBtn{background:#D2D2EA; border:solid 1px #ab0000; color:#0000ab; font-size:11px;}
.replyChoiceBtn:hover{background:#F5CACA; border:solid 1px #0000ab; color:#ab0000;}
.uploadReplyImage{background: none; padding: 5px; border: solid 2px #FAD2D2;}

/* STYLES FROM about pages */
#about-recap{padding: 25px 25px 25px 25px;}
#about-work-education{padding: 25px 25px 25px 25px;}
#about-contact-info{padding: 25px 25px 25px 25px;}
#about-relationships{padding: 25px 25px 25px 25px;}
#about-life-events{padding: 25px 25px 25px 25px;}
#first-input-about{margin-left:20px;}
#relatives-listing{margin-bottom:70px; margin-left:25px; padding-top:20px;}

/* STYLES FROM about_relationships.php and friends.php */
img.friendsearchpics{vertical-align:middle; width:30px; height:30px; margin-right:5px; border:none; border-radius:50%;}
#friendTable{text-align:center;}
#friend-page-button{color:#0000ab; background:#E9E9FA; border:solid #ab0000 2px; margin-left:25px;}
#friend-page-button:hover{color:#ab0000; background:#E9E9FA; border:solid #0000ab 2px;}

/* STYLES FROM photos.php and photos_galleries.php */
.photo-links{color:#0000ab; font-size:16px; text-decoration:none;}
.photo-links:hover{color:#ab0000; text-decoration:underline;}
.photo-links-active{color:#0000ab; font-size:16px; font-weight:bold; text-decoration:none;}
#photo_form-header{display:inline; margin-right: 30px;}
form#photo_form{background:none; border:none; padding:20px;}
div#galleries{}
div#galleries > div{float:left; margin:20px; text-align:center; cursor:pointer;}
div#galleries > div > div {height:auto; overflow:hidden;}
div#galleries > div > div > img{width:200px; height:200px; overflow:hidden; cursor:pointer;}
div#photos{display:none; padding:0px;}
div#photos > div{float:left; width: 200px; height:auto; overflow:hidden; margin:0px; background: #fff;}
div#photos > div > img{width: 200px; height: 200px; cursor:pointer;}
div#galleryphotos{display:none; padding:0px;}
div#galleryphotos > div{float:left; width: 200px; height:auto; overflow:hidden; margin:0px; background: #fff;}
div#galleryphotos > div > img{width: 200px; height: 200px; cursor:pointer;}
div#allphotos > div{float:left; width: 200px; height:auto; overflow:hidden; margin:0px; background: #fff;}
div#allphotos > div > img{width: 200px; height: 200px; cursor:pointer;}
* { box-sizing:border-box;}
/* Create two equal columns that floats next to each other */
.columnphoto {float:left; width:100%; padding:10px;}
/* Clear floats after the columns */
.rowphoto:after {content:""; display:table; clear:both;}
#deletelink{text-align:center;}
#get-image-page{vertical-align:middle; cursor:pointer;}
#upload-image-page{background-color:none; border:solid 2px #ab0000; color:#0000ab; padding:5px; font-size:16px; font-family:sans-serif; border-radius:0.3rem; cursor:pointer; margin-top:1rem; width:100%}
#upload-image-page:hover{border:solid 2px #0000ab; color:#ab0000;}
#add-photo-video-input{color:#0000ab; font-weight:bold; margin-left:20px; color:#fff; background:#0000ab; border:solid 2px #ab0000; padding:5px;}
#back-to-galleries-button{color:#fff; background:#0000ab; border:solid 2px #ab0000; padding:5px;}
#back-to-galleries-button:hover{background:#ab0000; border:solid 2px #0000ab;}
#create-gallery{display:none; padding-top:36px; background:#D2D2FA; border:#AB0031 1px solid; position:fixed; width:100%; height:100%; z-index:10;}

/* STYLES FROM about_system.php */
.input-button{color:#fff; font-size: 16px; background:#0000ab; border:solid 2px #ab0000; padding:10px;}
.input-button:hover{text-decoration:underline; background:#ab0000; border:solid 2px #0000ab;}
.remove-input-button{background:none; border:none; text-decoration:underline;}

/* STYLES FROM login pages */
#loginheader {text-align:center;}
#loginform{margin-top:24px; text-align:center;}
#loginform > div {margin-top:12px;}
#loginform > input {width:200px; padding:3px; background:#ececec; border:inset 1px #aaaaaa;}
#loginbtn {width:auto; height:auto; color:#fff; background:#0000ab; border:solid 2px #ab0000; padding:10px;}
#loginbtn:hover {background:#ab0000; border:solid 2px #0000ab;}

/* STYLES FROM forgot_pass.php */
#forgotpassbtn {width:auto; height:auto; font-size:15px; color:#fff; background:#0000ab; border:solid 2px #ab0000; padding:5px;}
#forgotpassbtn:hover {background:#ab0000; border:solid 2px #0000ab;}
#forgotpassform{margin-top:24px; margin-bottom:250px;}
#forgotpassform > div {margin-top:12px;}
#forgotpassform > input {width:250px; padding:3px; background:#ececec; border:inset 1px #aaaaaa;}

/* STYLES FROM signup pages */
#signupheader {text-align:center;}
#signupform{margin-top:24px; text-align:center;}
#signupform > div {margin-top:12px;}
#signupform > input,select {width:200px; padding:3px; background:#ececec; border:inset 1px #aaaaaa;}
#signupbtn {width:auto; height:auto; font-size:16px; color:#fff; background:#0000ab; border:solid 2px #ab0000; padding:10px;}
#signupbtn:hover {background:#ab0000; border:solid 2px #0000ab;}
#createaccountbtn {color:#fff; font-size:16px; background:#006ec6; padding:15px; border:solid 3px #006ec6; border-radius:10px;}
/*#createaccountbtn:hover {color:#002060; background:none; border:solid 3px #ff0000;}*/
.birthday {width:98px;}

/* STYLES FROM notes-dropdown.php, friends-dropdown.php and messages-dropdown.php */
div#notesBox{float:left; width:100%; border:#F0F 1px solid; margin-right:60px; padding:10px;}
div#friendReqBox{float:left; width:100%; border:#F0F 1px solid; padding:10px;}
div.friendrequests{height:74px; border-bottom:#CCC 1px solid; margin-bottom:8px;}
img.user_pic{float:left; width:68px; height:68px; margin-right:8px;}
div.user_info{font-size:14px;}
#respond-friend-button{color:#0000ab; background: #E9E9FA; border:solid #ab0000 2px;}
#respond-friend-button:hover{color:#ab0000; background: #E9E9FA; border:solid #0000ab 2px;}

/* STYLES FROM send-message.php.php */
div#messagereceivedBox{float:left; color:#C1C1C1; width:90%; border:#EAB9B9 1px solid; padding:10px;}
div#messagesentBox{float:left; color:#C1C1C1; width:90%; border:#EAB9B9 1px solid; margin-left:10%; padding:10px;}
#messagereceivedBubble{background: blue; color: white; padding: 15px; border-radius: 25px;}
#messagesentBubble{background: lightgrey; color: #002060; padding: 15px; border-radius: 25px;}
.messagereceivedBubble{background: blue; color: white; padding: 15px; border-radius: 25px;}
.messagesentBubble{background: lightgrey; color: #002060; padding: 15px; border-radius: 25px;}

/* Styles for notifications, friend requests and messages dropdowns in header menu */
.view-post-button-note{color:#0000ab; background:#E9E9FA; border:solid #ab0000 2px; vertical-align:middle; margin-left:5px;}
.view-post-button-note:hover{color:#ab0000; border:solid #0000ab 2px;}
#view-post-form-note{display:inline; margin-left:5px;}
#new-note-gif{margin-left:20px;}
/* Realtime notifications - top */
#messagesrt{display:inline;}
#friendsrt{display:inline;}
#notificationsrt{display:inline;}
#mmessagesrt{display:inline; margin-right:15px;}
#mfriendsrt{display:inline; margin-right:15px;}
#mnotificationsrt{display:inline; margin-right:15px;}
/* Realtime notifications - bottom */
#notesRealtime{position:fixed; background-color:#ececec; width:35%; height:auto; bottom:0; margin-left:1%; border-radius:10px; box-shadow:5px 5px 25px #0000ab; padding: 5px; z-index:200;}

/* Styles for notifications and settings, i.e., Messages, Friend Requests, Notifications, Settings */
* {box-sizing: border-box;}
/* Messages */
.mndropbtn { /* Message Note (mn)) menu */
    background: none;
    color: white;
    border: none;
    cursor: pointer;   
}
.mndropdown-content {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 35%;
    list-style-type: none;
    margin-top: 0;
    right: 0%;
    background: #CCCCCC;
    color: #002060;
    height: auto;
    text-align: left;
    padding: 15px;
    border: 5px groove rgb(171, 0, 0);
    z-index: 25;
}
.mnshow {display:block;}
/* Friend Requests */
.fndropbtn { /* Friends Note (fn)) menu */
    background: none;
    color: white;
    border: none;
    cursor: pointer;   
}
.fndropdown-content {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 35%;
    list-style-type: none;
    margin-top: 0;
    right: 0%;
    background: #CCCCCC;
    color: #002060;
    height: auto;
    text-align: left;
    padding: 15px;
    border: 5px groove rgb(171, 0, 0);
    z-index: 25;
}
.fnshow {display:block;}
/* Notifications */
.nfcnsdropbtn { /* Notifications Note (nfcns)) menu */
    background: none;
    color: white;
    border: none;
    cursor: pointer;   
}
.nfcnsdropdown-content {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 35%;
    list-style-type: none;
    margin-top: 0;
    right: 0%;
    background: #CCCCCC;
    color: #002060;
    height: auto;
    text-align: left;
    padding: 15px;
    border: 5px groove rgb(171, 0, 0);
    z-index: 25;
}
.nfcnsshow {display:block;}
/* Settings */
.settingsdropbtn {
    background: none;
    color: white;
    border: none;
    cursor: pointer;   
}
.settingsdropdown-content {
    display: none;
    position: absolute;
    overflow: auto;
    width: 50%;
    list-style-type: none;
    margin-top: 0;
    right: 0%;
    background: #CCCCCC;
    color: #002060;
    height: 600px;
    text-align: left;
    padding: 15px;
    border: 5px groove rgb(171, 0, 0);
    z-index: 25;
}
#settingsDropdownLink {
    overflow: auto;
}
.settingsdropdown-content a:link {
    color: #0000ab;
    font-size: 14px;
    text-decoration: none;
}
.settingsdropdown-content a:hover {
    color: #ab0000;
    text-decoration: underline;
}
settingsdropdown-content a:visited {
    color: #0000ab;
}
.settingsshow {display:block;}
/* Search */
.searchdropbtn {
    background: none;
    color: white;
    border: none;
    cursor: pointer;   
}
.searchdropdown-content {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 100%;
    list-style-type: none;
    margin-top: 0;
    right: 0%;
    background: #CCCCCC;
    color: #002060;
    height: auto;
    text-align: left;
    padding: 15px;
    border: 5px groove rgb(171, 0, 0);
    z-index: 5000;
}
.searchdropdown-content a:link {
    color: #0000ab;
    font-size: 14px;
    text-decoration: none;
}
.searchdropdown-content a:hover {
    color: #ab0000;
    text-decoration: underline;
}
searchdropdown-content a:visited {
    color: #0000ab;
}
.searchshow {display:block;}
/* CSS Popup - For uploading photos */
#output {
    max-width: 500px;
}
#outputstatus {
    max-width: 60%;
}
#outputreply {
    max-width: 60%;
}
#photo_form {
    text-align: center;
}
#postform {
    text-align: center;
    background: #fff;
    padding: 15px;
}
.upload-black_overlay {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 500%;
    background-color: #fff;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .70;
    filter: alpha(opacity=30);
}
.upload_white_content {
    display: none;
    position: absolute;
    margin-top: -250px;
    left: 0%;
    width: 100%;
    height: auto;
    padding: 16px;
    border: 8px groove red;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}

.popupCloseBtn {
    background: none;
    border: 2px solid #0000ab;
    color: #0000ab;
    padding: 3px;
}
.popupCloseBtn:hover {
    background: none;
    border: 2px solid #ab0000;
    color: #ab0000;
}

hr {
    background: #FAD2D2;
    border: solid 1px #FAD2D2;
}

/*  GENERAL POPUPS */
html, body {
    width: 100%;
    height: 100%;
}
.fade {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index:1001;
    -moz-opacity: 0.7;
    opacity:.30;
    filter: alpha(opacity=30);
}
.light {
    display: none;
    position: fixed;
    top: 22%;
    left: 50%;
    margin-left: -70px;
    margin-top: -100px;
    padding: 10px;
    border: 5px groove #ab0000;
    background: #CCC;
    z-index: 1002;
    overflow: visible;
}

/* HOVER - Image - NOTE: This is for text and images that show a message on hover */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: none;
}

.tooltip .tooltiptext {
    visibility: hidden;
    font-size: 16px;
    font-family: sans-serif;
    color: #002060;
    font-weight: bold;
    border: #ab0000 2px solid;
    padding: 15px 15px 15px 15px;
    display: block;
    z-index: 100;
    background: #fff;
    left: 0px;
    margin-top: 15px;
    margin-left: -10px;
    width: 200px;
    position: absolute;
    top: 10px;
    text-decoration: none;
    text-align: left;

  /* Position the tooltip */
    position: absolute;
    z-index: 20;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltiptext img {
    width: 55px;
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

/* GALLERY SLIDESHOW */
.statusSlides {display:none;}
.statusArrowLeft {
    background: none;
    border: solid 2px #ab0000;
    color: #0000ab;
    font-size: 20px;
    margin-right: 30px;
}
.statusArrowLeft:hover {
    border: solid 2px #0000ab;
    color: #ab0000;
}
.statusArrowRight {
    background: none;
    border: solid 2px #ab0000;
    color: #0000ab;
    font-size: 20px;
}
.statusArrowRight:hover {
    border: solid 2px #0000ab;
    color: #ab0000;
}
#privacy_terms_anchor_bullets{
    color: #ab0000;
    margin-left: 7px;
    margin-right: 7px;
}

#drag_drop_photo {color: transparent; width: 50%; height: 200px; border: solid 1px #ab0000; background-color: #000080; background-image: url('drop-photo-status.png'); background-size: contain; background-repeat: no-repeat; background-position: center; margin: 0 auto;}
#dragDropAvatar {color: transparent; width: 50%; height: 200px; border: solid 1px #ab0000; background-color: #000080; background-image: url('drop-photo-status.png'); background-size: contain; background-repeat: no-repeat; background-position: center; margin: 0 auto;}
::-webkit-file-upload-button {display: none;}

* {
    font-family: Arial, Helvetica, san-serif;
}
.row-f-emj:after, .row-f-emj:before {
    content: " ";
    display: table;
    clear: both;
}
.span6-f-emj {
    margin: 0 auto;
    text-align: left;
    width: 90%;
    padding: 1%;
    background: #FCEAEA;
    border: #FCEAEA 1px solid;
    border-radius: none;
}
.emojionearea {text-align: left; font-size: 16px!IMPORTANT; border: solid 1px #FAD2D2!IMPORTANT;}
.emojionearea .emojionearea-editor {text-align: left; font-size: 16px!IMPORTANT; background-color: #fff!IMPORTANT; resize: vertical;}

.display_black_overlay {
    display: none;
    position: fixed;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 500%;
    background-color: #fff;
    z-index: 1001;
    -moz-opacity: 0.8;
    opacity: .70;
    filter: alpha(opacity=30);
}
.display_white_content {
    display: none;
    position: fixed;
    top: 15%;
    left: 20%;
    width: 60%;
    height: 400px;
    padding: 16px;
    border: 8px groove red;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}
.replyCloseBtn {
    background: none;
    border: 2px solid #0000ab;
    color: #0000ab;
    padding: 3px;
}
.replyCloseBtn:hover {
    background: none;
    border: 2px solid #ab0000;
    color: #ab0000;
}
.reply-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

#media-display {max-width: 75%; height: auto; border: solid 3px #EAB9B9;}
#media-container {text-align: center; background-color: #eaeaf5;}
.option-group {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px; /* space between groups */
}
/* Style individual options inside group to have fixed size and spacing */
.option-group li {
    width: 30%; /* three options per row, adjust as needed */
    margin: 5px;
    cursor: pointer;
}
.group-header {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}
#timeCapDiv {text-align: center;}
#timeCapBtn {font-size: 18px; color: blue; background: lightblue; border: solid 2px green; padding: 5px; display: inline-flex; align-items: center; gap: 8px;}
#timeCapBtn img {width: 35px; height: auto;}
#timeCapBtnRefresh {font-size: 18px; color: blue; background: lightblue; border: solid 2px green; padding: 5px; display: none; align-items: center; gap: 8px;}
#timeCapBtnRefresh img {width: 35px; height: auto;}
#timeCapBtnQtn {font-size: 17px; text-align: middle; margin-top: 10px;}
#timeCapBtnQtn img {width: 20px; height: auto; vertical-align: middle; margin-left: 10px;}
#visOnlyYou {color: #fff; background: #0000ab; border: solid #ab0000 2px; margin-left: 10%;}
#visEveryone {color: #fff; background: #0000ab; border: solid #ab0000 2px; margin-left: 10%;}

/* MOBILE */
.iPadHide {display:inline;} 
.iPadShow {display: none;}
.mobileHide {display: inline;}
.mobileShow {display: none;}
  
  /* iPhone */
  @media only screen 
  and (min-device-width : 50px) 
  and (max-device-width : 709px){
      .mobileHide {display: none;}
      .mobileShow {display: inline;}
      body{background: #fff;}
      #header {background: url(mobile-header-sliver.jpg) repeat-x; height: 150px; z-index: 25;}
      .logo-name {font-size: 40px;}
      #container {width: 100%;}
      #loginheader {font-size: 45px; text-align: center;}
      #loginform {text-align: center;}
      #loginbtn {width: auto; height: auto; color: #fff; background: #0000ab; border: solid 2px #ab0000; padding:10px;}
      #loginbtn:hover {background: #ab0000; border: solid 2px #0000ab;}
      #signupbtn {width: auto; height: auto; font-size: 25px; color: #fff; background: #0000ab; border: solid 2px #ab0000; padding:10px;}
      #signupbtn:hover {background: #ab0000; border: solid 2px #0000ab;}
      #createaccountbtn {color: #fff; background: #006ec6; padding:10px; border: solid 3px #006ec6; border-radius: 10px;}
      /*#createaccountbtn:hover {color:#002060; background:none; border:solid 3px #ff0000;}*/
      .input-button{color:#fff; font-size:40px; background:#0000ab; border:solid 2px #ab0000; padding:10px;}
      .input-button:hover{text-decoration:underline; background:#ab0000; border:solid 2px #0000ab;}
      #upload-image-page{background-color:none; border:solid 2px #ab0000; color:#0000ab; padding:10px; font-size:40px; font-family:sans-serif; border-radius:0.3rem; cursor:pointer; margin-top:1rem; width:100%}
      #upload-image-page:hover{border:solid 2px #0000ab; color:#ab0000;}
      .view-post-button-note{font-size:30px; color:#0000ab; background:#E9E9FA; border:solid #ab0000 2px; vertical-align:middle; margin-left:5px; padding:5px;}
      .view-post-button-note:hover{color:#ab0000; border:solid #0000ab 2px;}
      #footer {background: url(mobile-footer-sliver.jpg) repeat-x; height: 150px; padding-top: 75px; font-size: 30px;}
      #mobilebottommenu{background: url(mobile-footer-sliver.jpg) repeat-x; text-align: right; position: fixed; width: 100%; height: 100px; padding: 20px; bottom: 0;}
      #myBtn {bottom: 200px;}
      /* MOBILE Settings Menu */
      .mobilesidenav {text-align: left; height: 80%; width: 0; position: absolute; z-index: 1000; top: 0; right: 0; background-color: #D2D2FA; overflow: auto; transition: 0.0s; padding-top: 60px; padding-bottom: 50px; color: #0000ab;}
      .mobilesidenav a {text-align: left; padding: 0; padding-left: 20px; text-decoration: none; font-size: 30px; font-family: sans-serif; color: #0000ab; display: block; transition: 0.0s;}
      .mobilesidenav a:hover {color: #ab0000;}
      .mobilesidenav a:active {color: #0000ab;}
      .mobilesidenav a:visited {color: #0000ab;}
      .mobilesidenav .closebtn {position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; color: #ab0000;}
      .mobilesearchnav {text-align: left; height: auto; width: 0; position: fixed; z-index: 1000; top: 30px; right: 0; background-color: #ABABEB; overflow-x: hidden; transition: 0.0s; padding-top: 60px; padding-bottom: 50px; color: #0000ab;}
      .mobilesearchnav .closebtn {position: absolute; top: 0; right: 25px; font-size: 36px; margin-left: 50px; color: #ab0000; text-decoration: none;}
      .search-button {vertical-align: middle; color: #fff; background: #ab0000; border: solid 2px #ab0000; border-radius: 50px; font-size: 30px; padding: 5px;}
      .search-button:hover {background: #0000ab; border: solid 2px #ab0000;}
      textarea#statustext{width: 80%; height: 90px; background: #ececec; padding: 10px; border: #FAD2D2 1px solid; border-radius: 25px; font-family: sans-serif; resize: both; margin-left: 20px; vertical-align: middle;}
      textarea#statustext:hover{background: #dadada;}
      #statusBtn{color: #fff; background: #0000ab; border: solid #ab0000 2px; font-size: 30px; padding: 5px;}
      #statusBtn:hover{background: #ab0000; border: solid #0000ab 2px; vertical-align: middle;}
      .popupCloseBtn {font-size: 30px; background: none; border: 2px solid #0000ab; color: #0000ab;}
      .popupCloseBtn:hover {background: none; border: 2px solid #ab0000; color: #ab0000;}
      .replyChoiceBtn{background: #D2D2EA; border: solid 1px #ab0000; color: #0000ab; font-size: 30px; padding: 5px;}
      .replyChoiceBtn:hover{background:#F5CACA; border:solid 1px #0000ab; color:#ab0000;}
      #replyChoiceBtnImage{width: 40px; height: 40px; vertical-align: middle; margin-right: 5px;}
      .shareBtn{color: #0000ab; background: #fff; border: solid 1px #ab0000; font-size: 25px; padding: 5px;}
      .shareBtn:hover{color: #ab0000; border: solid 1px #0000ab;}
      #pref-image{height: 50px; width: auto; vertical-align: middle; margin-right: 3px;}
      textarea.replytext{width: 80%; height: 90px; background: #ececec; padding: 10px; border: #FAD2D2 1px solid; border-radius: 25px; font-size: 35px; font-family: sans-serif; resize: both;}
      textarea.replytext:hover{background: #dadada;}
      .replyBtn{color: #fff; background: #0000ab; border: solid #ab0000 2px; font-size: 25px; padding: 5px;}
      .replyBtn:hover{background: #ab0000; border: solid #0000ab 2px;}
      .display_white_content {width: 100%; left: 0;}
      #closeA {font-size: 30px;}
      #closeC {font-size: 30px;}
      #closeVA {font-size: 30px;}
      #closeVC {font-size: 30px;}
      .tooltip .tooltiptext {font-size: 30px; left: -300px; width: 500px;}
      #visOnlyYou {font-size: 30px;}
      #visEveryone {font-size: 30px;}
}

/* USERLINK - So link in desktop header won't change color' */
#userlink {color:#D2D2FA; text-decoration: none;}
#userlink:hover {color:#ab0000}

body {background-color: #D2D2FA;}
#nf-postform{background: none; padding: 10px; padding-top: 60px;}
#postform{background: none;}
#container {background: #D2D2FA;}
#content-area {background: #D2D2FA; width: 55%; float: right; margin-top: 0;}
#statusarea {width: 80%; margin: 0 auto;}
div.reply_boxes{width: 85%; margin: 0 auto; border: lightblue 1px solid; border-radius: 3%; margin-bottom: 3px; background: #F0F8FF; color: #002060;}
#statusImageUserPage{vertical-align: middle; width: 40px; height: 40px; border: none; border-radius: 50%; object-fit: contain; background: rgba(0, 0, 128, .7);}
#uploadStatusImage{font-size: 12px; color:#0000ab; height: 35px; padding: 5px 5px 8px 5px}
/*#uploadStatusImage:hover{color:#ab0000; background: #F5CACA; border:solid #0000ab 2px;}*/
#uploadStatusImage img{width: 35px; height: 35px; vertical-align: middle;; margin-right: 10px;}
#uploadVideoUser{font-size: 12px; color:#0000ab; height: 35px; padding: 5px 5px 8px 5px}
/*#uploadVideoUser:hover{color:#ab0000; background: #F5CACA; border:solid #0000ab 2px;}*/
#uploadVideoUser img{width: 35px; height: 35px; vertical-align: middle;; margin-right: 20px;}
#templateStatusImage{vertical-align: middle; width: 40px; height: 40px; border: none; border-radius: 50%; object-fit: contain; background: rgba(0, 0, 128, .7);}
#templateStatusName{font-size: 16px; margin-left: 5px; vertical-align: middle;}
#templateStatusButtons{font-size: 10px;}
.light{position: fixed; top: 30%; left: 35%; width: 40%; height: 75%; padding: 5px; border: 10px groove #ab0000; background-color: #fff; z-index: 1002; overflow: auto;}
#media-table{background: rgba(255, 255, 250, 0.9); padding: 2px;}
#headerLogInBtnUserPage{font-size: 16px; color: #fff; background: #0000ab; border: solid 2px #ab0000;}
#headerLogInBtnUserPage:hover{background: #ab0000; border: solid 2px #0000ab;}
#headerSignUpBtnUserPage{font-size: 16px; color: #fff; background: #006ec6; border: solid 2px #006ec6;}
#headerSignUpBtnUserPage:hover{color: #0000ab; background: #fff; border: solid 2px #ab0000;}
#addPodcastImage {width: 35px; height: 35px; margin-right: 20px;}
#writeArticleImage {width: 35px; height: 35px; margin-right: 20px;}
#headerLoginForm {display: none!IMPORTANT;}
#drag_drop_photo {color: transparent; width: 50%; height: 200px; border: solid 1px #ab0000; background-color: #000080; background-image: url('drop-photo-status.png'); background-size: contain; background-repeat: no-repeat; background-position: center; margin: 0 auto;}
#file {color: transparent; width: 100%; height: 200px; border: solid 1px #ab0000; background-color: #000080; background-image: url('drop-video-status.png'); background-size: contain; background-repeat: no-repeat; background-position: center; margin: 0 auto;}
::-webkit-file-upload-button {display: none;}
#loading {text-align: center; font-size: 16px; color: #999;}
/* iPhone */
  @media only screen 
  and (min-device-width : 50px) 
  and (max-device-width : 709px){
      .mobileHide {display: none;}
      .mobileShow {display: inline;}
      #content-area{background: #D2D2FA; width: 100%; margin-top: 0; padding-bottom: 200px;}
      #statusImageUserPage{vertical-align: middle; width: 90px; height: 90px; border: none; border-radius: 50%; object-fit: contain; background: rgba(0, 0, 128, .7);}
      #uploadStatusImage{font-size: 25px; color:#0000ab; height: 70px; padding: 15px 15px 18px 15px;}
      #uploadStatusImage img{width: 70px; height: 70px; vertical-align: middle;}
      #uploadVideoUser{font-size: 25px; color:#0000ab; height: 70px; padding: 15px 15px 18px 15px;}
      #uploadVideoUser img{width: 70px; height: 70px; vertical-align: middle; margin-right: 35px;}
      #templateStatusImage{vertical-align: middle; width: 90px; height: 90px; border: none; border-radius: 50%; object-fit: contain; background: rgba(0, 0, 128, .7);}
      #templateStatusName{font-size: 40px; margin-left: 5px; vertical-align: middle;}
      #templateStatusButtons{font-size: 15px; display: block;}
      .light{left: 15%; width: 80%;}
      img.friendsearchpics{width: 100px; height: 100px;}
      #searchFriendInput{font-size: 30px;}
      textarea#statustext{height: 130px;}
      #statusarea {width: 90%;}
      #addPodcastImage {width: 70px; height: 70px; margin-right: 40px;}
      #writeArticleImage {width: 70px; height: 70px; margin-right: 40px;}
  }

.custom-select {
    margin: 0 auto;
    position: relative;
    width: 50%;
    cursor: pointer;
    margin-bottom: 10px;
}
.selected-option {
    border: 1px solid #ccc;
    padding: 8px;
    background-color: #fff;
}
.options {
    position: relative;
    text-align: left;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-top: none;
    background-color: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    z-index: 10;
}
.options li {
    padding: 8px;
    cursor: pointer;
}
.options li:hover {
    background-color: #f0f0f0;
}
.color-swatch {
    display: inline-block;
    width: 100%;
    height: 45px;
    margin-right: 5px;
    vertical-align: middle;
    border: 1px solid #eee;
}
#midstreamBgChng {
    font-size: 14px;
}