﻿/* All Pages */

header {
    background-color: White;
    height: 200px;
    margin-bottom: 10px;
}
.RAFAC-brand {
    float: right;
    background-image: url('Images/RAF_index.png');
    width: 528px;
    height: 96px;
    margin-top: 50px;
    margin-right: 10px;
}
#SQNHeader {
    font-size: xx-large;
    font-weight: 600;
    float: none;
    padding-top: 80px;
    padding-left: 200px;
}
.SQN2420-brand {
    float: left;
    background-image: url('Images/2420_SQN_Brand_s.jpg');
    width: 150px;
    height: 200px;
    margin-left: 10px;
}
body {
    background-color:lightblue;
    font-family:sans-serif;
    width:1500px;
    margin:auto;
}
@-webkit-keyframes slideshow {
    0% {
        left: 0%;
    }

    31% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    65% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    98% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}
@keyframes slideshow {
    0% {
        left: 0%;
    }

    31% {
        left: 0%;
    }

    33% {
        left: -100%;
    }

    65% {
        left: -100%;
    }

    67% {
        left: -200%;
    }

    98% {
        left: -200%;
    }

    100% {
        left: -300%;
    }
}
#slideshow{
    height:300px;
    width:1500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
#slideshow > div {
    display: -webkit-box;
    display: -ms-flexbox;
    height: 300px;
    width: 4500px;
    position: absolute;
    display: flex;
    -webkit-animation: slideshow 10s;
    animation: slideshow 10s;
    animation-timing-function: ease-in-out;
}
#slideshow figure{
    width: 100%;
    position: center;
}
#slideshow img {
    width: 100%;
}
.topnavbar {
    background-color: cadetblue;
    height: 40px;
}
#Contents-list {
    padding: 10px 15px;
    display: inline-block;
}
#Contents-list:hover {
    color: white !important;
    background-color: darkblue;
    padding: 10px 15px;
    display: inline-block;
}
#para1 {
    font-size: 50px;
    padding-left:50px;
}
/* Main Page */

#PageBottom {
    margin: 20px;
    float: left;
    width: 200px;
    height: 50px;
}
/* RAF and RAFAC Page */

/* What RAFAC do Page */

#WhatWeDo-hover {
    display: inline-block;
    background-color: cadetblue;
    padding: 10px 15px;
}
#WhatWeDo-hover:hover > a {
    color: white !important;
    background-color: darkblue;
    display: inline-block;
}

/* News and Gallery Page */

.gallery {
    margin: 20px;
    border: none;
    float: left;
    width: 450px;
    height: 650px;
}
.gallery img {
        width: 100%;
        
    }
.desc {
    padding: 10px;
    text-align: center;
    font-size: 15px;
}

/* Contact Us Page */

#form {
    margin: 30px;
}
#whereweare {
    margin: 30px;
}

/* Other Useful COnnections */

/* Format for all classes called form to take*/
#form {
    margin: 30px;
}

/* Format and place holder for results*/
#postresults {
    margin: 30px;
}

/* Dropdown Button */
.dropbtn {
  background-color: cadetblue;
  color: white;
  padding: 25px;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {display:block;}
{box-sizing: border-box;}

/* Button used to open the search, add and delete record forms */
.open-button {
  background-color: cadetblue;
  color: white;
  padding: 16px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* Open button on hover & focus */
.open-button:hover, .open-button:focus {
  background-color: #2980B9;
}

/* The popup form - hidden by default */
.form-popup {
  display: none;
  position: fixed;
  bottom: 60px;
  right: 220px;
  border: 3px solid #f1f1f1;
  z-index: 25;
}

/* Add styles to the form container */
.form-container {
  max-width: 300px;
  padding: 10px;
  background-color: white;
}

/* 90% input fields so they are contained within the popup box*/
.form-container input[type=text] {
  width: 90%;
  padding: 10px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: #E12719;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}


/* Bottom of all Pages */
#pageTop {
    margin: 30px;
    float: unset;
    width: 200px;
    height: 50px;
}
.social {
    margin: 20px;
    float: left;
    width: 400px;
    height: 150px;
}
.social-menu > a {
    background-image: url('Images/social-media-sprite-sheet.png');
    margin: 20px;
    height: 49px;
    width: 50px;
    display: inline-block;
    background-size: 350px 98px;
}
#facebook {
    background-position: 0 0;
}
#twitter {
    background-position:-50px 0; /* to shift 50px to the left */
}
#facebook:hover {
    background-position: 0 49px;
}
#twitter:hover {
    background-position:-50px 49px; /* to shift 50px to the left */
}
