html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

h1{font-size: 1.6em;}
h2{font-size: 1.4em;}
h3{font-size: 1.3em;}
h4{font-size: 1.2em;}
h5{font-size: 1.1em;}
h6{font-size: 1em;}

p{text-align: justify; text-indent: 1em;}
a {  color: #b13131;  text-decoration: none; }
/* body */
@import url(https://fonts.googleapis.com/css?family=Montserrat);
body {
    background: rgba(238, 238, 238, 0.24);
}

.container {
    background: white;
}
header {
   /* background: #eee; */
}

/* ===- Slider -=== */
.item{
    background: #448ccb;
    color: white;
    height: 300px;
    width: 100%;
}


/* ===- News -=== */
.news-item > img {
    width: 150px;    
}

.news-item > h1 {
   line-height: 1.5em;
}

.news-item > description{
    float: none;
}

.news-item {
    height: 300px;
    overflow-y: hidden;
    margin: 2px;
    padding: 5px;
    border-radius: 3px;
    border: solid 1px blue;
}

footer {
    margin-top: 20px;
}


/*for menu*/

 @import url(https://fonts.googleapis.com/css?family=Montserrat);
* {
  box-sizing: border-box;
}
body,
html {
  height: 100%;
}

body {
  background-color: #eee;
  color: #333;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5em;
}

section {
  background-color: #fff;
  /*margin: 0 auto 2rem;*/
  padding: 1rem 1rem 0rem;
  
}

h1, h2, h3, h4, h5, h6 {
  font-family: Montserrat, Helvetica Neue, Helvetica, Arial, sans-serif;
  font-weight: bold;
  line-height: 1.2em;
  margin-bottom: 1.5rem;
}

a {
  color: #b13131;
  text-decoration: none;
}

p {
  margin-bottom: 1.5rem;
}
h2 + p {
  color: #757575;
  font-family: Montserrat, Helvetica Neue, Helvetica, Arial, sans-serif;
  letter-spacing: 1px;
  margin-top: -.5rem;
  text-transform: uppercase;
}
p code {
  background-color: rgba(251, 175, 93, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  display: inline-block;
  margin: 0 .25rem;
  padding: 0 .25rem;
}
p.note {
  background-color: #C4DF9B;
  border-left: 0.5rem solid rgba(0, 0, 0, 0.25);
  padding: 1rem;
}

pre {
  background-color: rgba(0, 0, 0, 0.75);
  border-left: 0.5rem solid rgba(0, 0, 0, 0.5);
  color: #FBAF5C;
  margin: 0;
  padding: 1rem;
}

ul {
  border-bottom: 1px solid #ccc;
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

li {
  background-image: linear-gradient(to bottom, transparent 50%, #a2d39c 50%, #a2d39c 95%, #7cc576 95%);
  background-size: 100% 200%;
  background-position: top center;
  color: #666;
  display: block;
  text-align: center;
  text-decoration: none;
  transition: all .25s ease-in-out;
}
li:hover {
  background-position: bottom center;
  color: rgba(0, 0, 0, 0.75);
}
li a {
  color: #666;
  display: block;
  padding: 1rem 0;
  transition: all .25s ease-in-out;
}

.css-toggle {
  background-color: #ddd;
  color: #333;
  display: block;
  padding: .5rem 1rem;
  text-decoration: none;
  text-align: center;
  transition: all .25s ease-in-out;
}
.css-toggle:hover {
  background-color: #FBAF5C;
  color: #333;
}

#sc1 ul {
  display: flex;
  width: 100%;
}
#sc1 ul li {
  flex: 1 1 100%;
}

#sc2 ul {
  display: flex;
  width: 100%;
}
#sc2 ul li {
  flex: 1 1 auto;
}

#sc3 {
  display: flex;
  justify-content: center;
}
#sc3 ul {
  display: flex;
}
#sc3 ul a {
  padding: 1rem 2rem;
}

[id^='fun'] ul {
  background-color: #eee;
  border: 0;
  display: flex;
  padding: 0 2rem;
  position: relative;
  left: -2rem;
  width: calc(100% + 4rem);
}
[id^='fun'] ul li {
  background-image: linear-gradient(to bottom, transparent 50%, #448ccb 50%, #448ccb 95%, #0072bc 95%);
  flex: 1 1 auto;
}
[id^='fun'] ul li a:hover {
  color: #eee;
}

#fun1 ul li {
  border-left: 2px solid #ddd;
  transform: skew(-15deg);
}
#fun1 ul li:last-child {
  border-right: 2px solid #ddd;
}
#fun1 ul li a {
  transform: skew(15deg);
}

#fun2 li:hover {
  transform: scale(1.2);
}
.sitename{
    margin-top: 20px;
}
article {
    margin-top: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

.contacts {
    margin-top: 15px;
}
.block-separator {
    border-bottom: solid 1px #448ccb;
    padding-bottom: 10px;
}

.icon {
    height: 64px;
    margin: auto;
}

.img-center {
    text-align:center;
}

.owl-carousel {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.owl-carousel div:not(.owl-controls) {
  height: 350px;
}
.owl-carousel .owl-slide {
  background-image: url("../img/Content/keyboard.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.owl-carousel div.owl--text {
  position: absolute;
  bottom: 10px;
  left: 2em;
  width: 20em;
  height: 8em;
  padding: 1em;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}
.owl-carousel .owl-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}
.owl-carousel .owl-controls .owl-buttons div {
  position: absolute;
  top: 0;
  bottom: 0;
  display: inline-block;
  zoom: 1;
  margin: 0;
  width: 50px;
  height: 30px;
  line-height: 25px;
  text-align: center;
  font-size: .9em;
  border-radius: 3px;
  color: #FFF;
  background: #000;
  opacity: .6;
  text-transform: capitalize;
}
.owl-carousel .owl-controls .owl-buttons .owl-prev {
  left: 5px;
}
.owl-carousel .owl-controls .owl-buttons .owl-next {
  right: 5px;
}

body,
html {
  height: 100%;
}

body {
  margin: 0;
  font-family: futura, sans-serif;
}
