/*  global styling  */
article {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;    
}

body {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0px 5px;
}

div {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
  color: black;
}

h1.main_title {
  font-family: 'Caveat', cursive;
  font-size: 3em;
  color: #000000;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}

h2.warning {
  color: red;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

p.mantra {
  text-align:center;
  margin-top:4px;
  margin-left:auto;
  margin-right:auto;
  font-style:italic;
  font-weight:bold;
  text-decoration:underline;
}

p.subtitle2 {
  text-align:justify;
  margin-right:auto;
  font-weight:bold;
  text-decoration:underline;
  font-size:3em;
}

.editable-box {
  background-color: #fff;
  border: 2px solid #d4a373;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
  min-height: 200px;
}

.editable-box:focus {
  outline: none;
  border-color: #bc6c25;
  box-shadow: 0 0 5px rgba(188, 108, 37, 0.5);
}

.buttons {
  text-align: center;
  margin-top: 1rem;
}

button {
  background-color: #bc6c25;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

button:hover {
  background-color: #99582a;
}

.note {
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
  color: #6c757d;
}




/*  footer styling  */
div.footer {
  width:100%;
  height:250px;
  background-color:black;
  vertical-align:middle;
}

div.footerColContainer {
  width:100%;
  height:150px;
  vertical-align:middle;
  text-align:center;
  display:flex;
  margin-bottom:0px;
}

div.footerLeft {
  width:30%;
  float:right;
  background-color:black;
  color:white;
  margin-left:auto;
  margin-right:1px;
  margin-top:1px;
  margin-bottom:1px;
  padding:10px;
}

div.footerRight {
  width:30%;
  float:left;
  background-color:black;
  color:white;
  margin-left:1px;
  margin-right:auto;
  margin-top:1px;
  margin-bottom:1px;
  padding:10px;
}

hr.footerHR {
  color:white;
  width:50%;
  text-align:center;
}

a.footerLink {
  text-decoration: none;
  border-radius: 4px;
  padding: 4px;
}

.footerLink:link {
  color: white;
}

.footerLink:visited {
  color: white;
}

.footerLink:focus {
  color: white;
}

.footerLink:hover {
  color: darkgray;
}

.footerLink:active {
  color: darkgray;
}


/*  Large browser top navbar Link styling  */
a.lrg_browser_hrz_navbar {
  text-decoration: none;
  border-radius: 4px;
  padding: 4px;
}

.lrg_browser_hrz_navbar:link {
  color: white;
}

.lrg_browser_hrz_navbar:visited {
  color: white;
}

.lrg_browser_hrz_navbar:focus {
  color: white;
}

.lrg_browser_hrz_navbar:hover {
  color: gray;
}

.lrg_browser_hrz_navbar:active {
  color: gray;
}

a.hrz_navbar_current {
    color:darkgray;
    font-style: italic;
}

a.hrz_navbar_current:link {
  color:darkgrey;
}

a.hrz_navbar_current:visited {
  color:darkgrey;
}

a.hrz_navbar_current:focus {
  color:darkgrey;
}

a.hrz_navbar_current:hover {
  color:gray;
}

a.hrz_navbar_current:active {
  color:gray;
}

.hdrdiv {
  height:200px;
  max-width: 100%;
  border-style:none;
  overflow: hidden;
  background-image: url();
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.title_div {
  vertical-align: top;
  height: 80%;
}

.navbar_div {
  height: 20%;
}

.navbar_div .hrz_navbar {
  max-width: 700px;
  display: flex;
  flex-flow: row nowrap;
  margin: auto;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-content: space-evenly;
} 

/*  Contact and advertising form styling  */
.contact-container {
    max-width:660px;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

.lbl-required {
    color: red;
}

/* This is for label text */
.lbl_form
{
  font-family: gautami;
  font-size: 10pt;
  font-style: normal;
  font-weight: bold;
  color: black
}

input[type=text], select, textarea {
    width: 96%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=text].adminForm, select.adminForm, textarea.adminForm {
  padding: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0px;
  margin-bottom: 2px;
  resize: vertical;
}

input[type=submit] {
    background-color: #04aa6d;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.input_type_mgr {
  opacity:0;
  position:absolute;
  top:0;
  left:0;
  height:0;
  width:0;
  z-index:-1;
}

/*  Terms page styling  */
.term {
  color: black;
  font-weight: bold;
}

.definition {
  color: black;
  font-weight: normal;
}

/*  Article Styling */
article.artReader {
  max-width: 100%;
  margin-left: 10px;
  margin-right: 10px;
}

h1.artReader {
  margin-bottom: 0px;
}

h2.artPreview {
  margin: 0px auto 0px auto;
  font-style:italic;
}

h4.artReader {
  margin-top: -5px;
  font-weight: bold;
  font-style: italic;
  text-decoration: underline;
}

div.artPreview {
  max-width: 100%;
  margin: 5px auto;
  border: 1px solid black;
  padding: 4px;
  overflow: hidden;
}

div.artPreviewHdr {
  height:300px;
  max-width: 100%;
  border-style:none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* vertical-align:center;
  text-align:center; */
  /* align-content:center; */
}

img.artPreviewHdr {
  width:100%;
  height:auto;
}

p.artPreview {
  margin-top: 0px;
}

/*********************************/
/*  Styling for login functions  */
/*********************************/
body.login {font-family: Arial, Helvetica, sans-serif;}

/* Full-width input fields */
input[type=text].login, input[type=password].login {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* Set a style for all buttons */
button.login {
    background-color: #04AA6D;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}

button.login:hover {
    opacity: 0.8;
}

/* Float cancel and signup buttons and add an equal width */
.cancelbtn, .signupbtn, .loginbtn {
    background-color: #04AA6D;
    margin: 10px 5px;
    color: white;
    border: none;
    cursor: pointer;
    float: left;
    width: auto;
}

.cancelbtn:hover, .loginbtn:hover, .signupbtn:hover {
    opacity: 0.8;
}

/* Extra styles for the cancel button */
.cancelbtn {
    padding: 10px 18px;
    background-color: #f44336;
}

.signupbtn {
    padding: 10px 18px;
}

.loginbtn {
    padding: 10px 18px;
}

/* Center the image and position the close button */
.imgcontainer {
    text-align: center;
    margin: 24px 0 12px 0;
    position: relative;
    display: none;
}

img.avatar {
    width: 40%;
    border-radius: 50%;
}

.container {
    padding: 16px;
    contain: content;
}

.btncontainer {
    padding: 1px;
    contain: content;
}

.bordercontainer {
    padding: 1px 8px 8px 8px;
    contain: content;
}

span.psw {
    float: right;
    padding-top: 1px;
}

span.pswL {
    float: left;
    padding-top: 1px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    max-width: 100%;
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    padding-top: 60px;
}

/* Modal Content/Box */
.modal-content {
    contain: content;
    border-radius: 12px;
    background-color: #fefefe;
    margin: 5% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px;
}

/* The Close Button (x) */
.close {
    position: absolute;
    right: 25px;
    top: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    cursor: pointer;
}

/* Add Zoom Animation */
.animate {
    -webkit-animation: animatezoom 0.6s;
    animation: animatezoom 0.6s
}

.inputs span{
    position:absolute;
    top:16px;
    right:-6px;
    cursor:pointer;
    font-size:17px
}

.signupHdr {
    margin:0px;
    padding:0px;
}

.signupHdrInst {
    margin:0px;
    padding:0px;
    font-size:smaller;
}

.signupSmall {
  font-size:13px;
  line-height:0.8em;
}

@-webkit-keyframes animatezoom {
    from {-webkit-transform: scale(0)} 
    to {-webkit-transform: scale(1)}
}

@keyframes animatezoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }

}

/****************************************/
/*  Styling for profil pages functions  */
/****************************************/

/* Profile */

.profile-image-div {
    display: inline-block;
    width: 100px;
    max-width: 100px;
    min-width: 100px;
    overflow: hidden;
}

div.profile-header-div {
    display: flex;
    flex-direction: row;
    height: 35px !important;
    background-image: linear-gradient(to left, #7f7f7f 0%, #000000 100%);
    background-size: cover;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 50px;
    padding: 0 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-bottom: 0;
    margin-top: 10px;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipse;
}

div.profile-header-title {
    flex: 4;
    max-width: 65%;
    text-transform: uppercase;
    vertical-align: middle;
    text-align: left;
}

div.profile-header-link {
    flex: 1;
    max-width: 35%;
    text-transform: uppercase;
    vertical-align: middle;
    text-align: right;
}

/* Profile Form */

.profile-form-toplevel-div {
    display: block;
    overflow: hidden;
}

.profile-form-box {
    width: 100%;
    max-width: 100%;
}

.profile-form-headerdata-div {
    display: flex;
    background-color: lightgrey;
    margin-top: 0;
}

.profile-form-photos-div {
    display: flex;
    min-height: 75px !important;
    background-color: lightgrey;
    margin-top: 0;
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.profile-form-videos-div {
    display: flex;
    min-height: 75px !important;
    background-color: lightgrey;
    margin-top: 0;
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.profile-form-userdata-div {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    padding: 5px 5px;
    background-color: lightgrey;
    flex: 1;
    align-items: flex-start;
    justify-content: flex-start;
}

span.profile-userdata-label-username {
    margin-left: 10px;
}

span.profile-userdata-label-email {
    margin-left: 40px;
}

span.profile-userdata-username {
    font-size: 1em;
    font-weight: bold;
}

span.profile-userdata-email {
    font-size: 1em;
    font-weight: bold;
}

.profile-form-profiledata-div {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    padding: 5px 5px;
    background-color: lightgrey;
    vertical-align: top;
    text-align: left;
}

.profile-form-profilerow-div {
    display: block;
    background-color: lightgrey;
    width: 100%;
    max-width: 100%;
}

.profile-form-profilelabel-div {
    display: inline-block;
    height: 100%;
    text-align: right;
    vertical-align: top;
    background-color: lightgrey;
    width: 30%;
    max-width: 30%;
}

.profile-form-profileintro-div {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    justify-content: flex-end; /* Justify content to the right */
    background-color: lightgrey;
    width: 100%;
    max-width: 100%;
}

.profile-form-profileinput-div {
    display: inline-block;
    background-color: lightgrey;
    width: 70%;
    max-width: 70%;
}

input.profile-form-input {
    width: 15em;
    max-width: 90%;
    height: .1em;
    padding: 10px;
    margin: 2px 0 2px 0;
    margin-top: 2px;
    margin-bottom: 2px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

textarea.profile-form-textarea {
    width: 60em;
    max-width: 90%;
    height: 10em;
    padding: 10px;
    margin: 2px 0 2px 0;
    margin-top: 2px;
    margin-bottom: 2px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

@media screen and (max-width: 425px) {
    span.profile-userdata-label-username {
        margin-left: 10px;
        font-size: small;
    }
    
    span.profile-userdata-label-email {
        margin-left: 10px;
        font-size: small;
    }
    span.profile-userdata-username {
        font-size: 1em;
        font-weight: bold;
    }
    
    span.profile-userdata-email {
        font-size: 1em;
        font-weight: bold;
    }
}

/* Profile View */

/*******************************************/
/*  Styling for password change functions  */
/*******************************************/
div.pswchange {
  display:none;
}

/* testing ********/

.dropdown {
  float: right;
  overflow: hidden;
  max-width:180px;
  font: 'Times New Roman';
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 0;
  background-color: transparent;
  font-family: inherit;
  margin: 0;
}

.dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 4px;
  background-color: transparent;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

@media (hover: hover) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

@media (hover: none) {
  .dropdown-content:focus {
    display: block;
  }
}