/* RESET */
/*****  mobile devices ******/
@font-face {
	font-family: OldNewspaper;
    src: url('../css/OldNewspaperTypes.ttf');
	font-family: Georgia;
    src: url('../css/georgia.ttf');
}
* {
    box-sizing: border-box;
}
body {
	max-width:none;
	margin: auto;
}
.container  {
	padding:10px;
}
.container,
.content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
}
header {
	min-height: 150px;
	max-width: 1000px;
	border-radius: 15px;
	background-size: cover;
	text-decoration:none;
	padding-bottom: 2px;
	font-family: OldNewspaper Georgia, "Times New Roman", Times, serif;
	font-size: 24pt;
	font-weight: normal;
	font-color: blue;
	}
.headertxt h1 {
    position: absolute;
    top: 0px;
	left: 20px;
    padding-left: 20px;
    font-family: inherit;
	FONT-SIZE: 30pt;
	font-weight:bold;
    font-style: italic;
	color: #FF6;
}
.headertxt h2 {
    position: absolute;
    top: 70px;
	left: 100px;
    font-family: inherit;
	FONT-SIZE: 18pt;
	font-weight: normal;
    font-style: italic;
	color: #FF6;
}
.headertxt h3 {
	position: absolute;
	font-family: Verdana;
	FONT-SIZE: 10pt;
	font-weight: normal;
	color: whitesmoke;
	left: 600px;
	top: 10px;
}
.headertxt h4 {
	position: absolute;
	font-family: Verdana;
	font-size: 9pt;
	font-weight: normal;
	color: whitesmoke;
	left: 700px;
	top: 15px;
}
.header img {
	display: none;
	position: absolute;
	top: 30px;
	left: 500px;
}

.navbar {	
	background: #FFFFFF;
    FONT-SIZE: 9pt;
	font-family: Verdana;
	font-weight: normal;
    color: #990000; 
	text-decoration:none;
    justify-content: center;
    align-items:center;
    max-width: 1000px
}
.navbar a:link {
	color: #008000;
    text-decoration: none;
	}
.navbar a:visited {
	color: #008000;
	}
.navbar a:hover {
	color: #FF0000;
	text-decoration:none;
	font-weight: bold;
}
.main-nav {
    list-style-type: none;
}
.nav-links,
.logo {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}
.main-nav li {
    text-align: center;
    margin: 15px auto;
}
.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}
.navbar-toggle {
    position: absolute;
    top: 12px;
    left: 20px;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
    font-size: 24px;
}
.main-nav {
    list-style-type: none;
    display: none;
}
.active {
  display: block;
}

.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 8px;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */

  .cards {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  .card {
    flex: 0 0 200px;
    margin: 15px;
    border: 1px solid #ccc;
	background-color: white;
	padding: 10px;
    box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);
	border-radius: 5px;
	cursor: pointer;
	transition: 0.3s;
  }
  .card img {
    max-width: 100%;
	radius: 5px;
  }
  .card:hover {
  opacity: 0.7;
}
  .card h3 {
    font-family: Times;
	FONT-SIZE: 11pt;
	font-weight: normal;
	color: black;
  }
    .card h4 {
    font-family: Verdana;
	FONT-SIZE: 8pt;
	font-weight: normal;
	color: blue;
  }
    .card p {
    font-family: Verdana;
	FONT-SIZE: 9pt;
	font-weight: normal;
	color: blue;
  }
  .card .text {
    padding: 0 20px 20px;
  }
  .card .text > button {
    background: gray;
    border: 0;
    color: white;
    padding: 10px;
    width: 100%;
    }

.main {
    display: flex;
    flex-wrap: wrap;
    background-color: #EEEEFF;
    padding-top: 10px;
    border-radius: 15px;
    border: thin solid #000000;
    justify-content: center;
    align-items: justify;
}

.Titletext {
    font-family: Verdana;
	font-size: 20px;
	color: #008000 ;
	text-align: center;
	font-weight: normal;
	margin-bottom: 3px;
	}

.Descrtext {
    font-family: OldNewspaper;
	font-size: 14px;
	color: #CE7B77 ;
	text-align: left;
	font-weight: normal;
	margin-bottom: 3px;
	}

.Editedtext {
    font-family: Arial;
	font-size: 10px;
	color: #008000 ;
	text-align: left;
	font-weight: lighter;
	margin-bottom: 3px;
	}
.Editedtext a:link {
	color: #008000;
    text-decoration: none;
	}
.Editedtext a:visited {
	color: #008000;
	}
.Editedtext a:hover {
	color: #FF0000;
	text-decoration:none;
    font-weight: bold;
}
.figure { }

.middletext {
	color: #c86b67;
	FONT-SIZE: 14px;
	font-weight: normal;
	FONT-FAMILY: georgia;
    padding: 20px ;
  /*  display: inline*/
}
.middletext p {
	color: #c86b67;
	FONT-SIZE: 14px;
	font-weight: normal;
	FONT-FAMILY: Verdana;
    padding-left: 10px ;
}
.middletext h1 {
	font-family: OldNewspaper;
	font-size: 20px;
	color: #008000 ;
	text-align: center;
	font-weight: normal;
	margin-bottom: 0px;
	}
.middletext h2 {
    font-family: Arial;
    FONT-SIZE: 15px;
    font-weight: 600;
}
.middletext h3 {
    font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #008000 ;
	text-align: left;
	font-weight: lighter;
    padding-left: 5px ;
	margin-bottom: 5px;
	}
.middletext h5 {
    font-family: Arial, Helvetica, sans-serif;
	font-size: 8px;
	color: #008000 ;
	text-align: left;
	font-weight: normal;
    padding-left: 5px ;

	}
.middletext a:link {
	color: #008000;
    font-weight:normal;
    text-decoration: none;
	}
.middletext a:visited {
	color: #008000;
	}
.middletext a:hover {
	color: #FF0000;
	text-decoration:none;
	font-weight: bold;
}

.middletext img {
    float: left;
    border-radius: 15px;
}

.main video {
    max-width: 100%;
    border-radius: 15px;
    border: thin solid #000000;
}
.figure {
    display: flex;
    flex-flow: column;
    padding: 10px;
    float: left;
    margin: auto;
}
.image {
    display: flex;
    flex-flow: column;
    float: left;
    padding-right: 10px;
    padding-left: 5px;
    padding-bottom: 5px;
    padding-top: 5px ;
}
figcaption {
    font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
    font-style: italic;
	color: #008000 ;
	font-weight: lighter;
    text-align: center;
    padding-top: 5px ;
}
.main fb-share-button { }
.main fb-xfbml-parse-ignore { }
.main fb-root { }

.listamain {
	display: flex;
    flex: 2;
	border: thin solid #000000;
	border-radius: 15px;
    flex-direction: column;
}

footer {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  flex-direction: column;
  align-items:center;
  background: #EEEEFF;
  border: thin solid #000000;
  border-radius: 5px;
  padding-bottom: 5px;
  padding-top: 5px;
  FONT-SIZE: 8pt;
  font-family: Arial, Helvetica, sans-serif;
}
.footer a:link {
	color: #008000;
    font-weight: bold;
    text-decoration: none;
	}
.footer a:visited {
	color: #008000;
	}
.footer a:hover {
	color: #FF0000;
	text-decoration:none;
	font-weight: bold;
}

#frmContact {
/*	border-top: #a2d0c8 2px solid;
	padding: 10px;*/
    background: #EEEEFF;

}

#frmContact div {
	margin-bottom: 20px;
	margin-left: 25px;
}

#frmContact div label {
	margin: 5px 0px 0px 5px;
	color: #CE7B77;
}

.demoInputBox {
	padding: 10px;
	border: #a5d2ca 1px solid;
	border-radius: 4px;
	background-color: #FFF;
	width: 95%;
    margin-top:5px;
}

.error {
	background-color: #FF6600;
    padding: 8px 10px;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 0.9em;
}

.success {
	background-color: #c3c791;
	padding: 8px 10px;
	color: #FFFFFF;
	border-radius: 4px;
    font-size: 0.9em;
}

.info {
	font-size: .8em;
	color: #FF6600;
	letter-spacing: 2px;
	padding-left: 5px;
}

.btnAction {
	background-color: #82a9a2;
    padding: 10px 40px;
    color: #FFF;
    border: #739690 1px solid;
	border-radius: 4px;
}

.btnAction:focus {
	outline:none;
}
.column-right
{
    margin-right: 6px;
}
.contact-row
{
    display: inline-block;
    width: 32%;
}

@media all and (max-width: 550px) {
    .contact-row {
        display: block;
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .navbar {
        display: flex;
        padding-bottom: 0;
        height: 25px;
        justify-content: center;
        align-items:center;
    }
    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }
    .main-nav li {
        margin: 0;
    }
    .nav-links {
        margin-left: 40px;
    }
    .logo {
        margin-top: 0;
    }
    .navbar-toggle {
        display: none;
    }
    .logo:hover,
    .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }
	.header img {
	display: inline;
}
    .footer {
     flex-direction: row;
     width: auto;
    max-width: 1000px ;
    }
    .content {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .main {
        flex: 2;
        order: 2;
        min-height: 80vh;
        max-width: 1000px ;
        min-width: 600px ;
    }
    .left-sidebar {
        max-width: 200px;
        order: 1;
        flex: 1;
    }
    .right-sidebar {
        max-width:250px ;
        flex: 1;
        order: 3;
    }
 }
