* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 6px 2px;
}

html {
  font-family: "Lucida Sans", sans-serif;
  background-image: url(../image/paper.gif);
  background: #2A7B9B;
background: linear-gradient(2deg,rgba(42, 123, 155, 0.62) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
}
legend{
     background-image: linear-gradient( to right ,#636302,#999900, #9aa504bd);
    border-radius: 5px;
    padding: 4px 67px 4px 4px;
	margin-top: 3px;
  } 
.header {
  
  background-image: url('./image/backgroung.jpg');
  color: #ffffff;
  padding: 2px;
}

  .heads{
  	    background-image: linear-gradient( to right ,#636302,#999900, #ffff0008);
    width: 400px;
    border-radius: 5px;
    padding: 4px;
  } 
.flex-container {
  display: flex;
  /*background-color: DodgerBlue;*/
  background-image: url('../image/backgroundhead.jpg');
  background-size: 100% 102%;
  box-shadow: inset 0 -5px 20px hsla(0, 0%, 0%, 0.4), /* top light */ inset 0 5px 20px hsla(0, 0%, 100%, 0.4), /* bottom shadow */ /* multiple light sources yall */ -10px 8px 5px hsla(0, 0%, 0%, 0.15), /* drop shadow 1 */ 5px 8px 10px hsla(0, 0%, 0%, 0.2);
  transition: transform 0.1s, box-shadow 0.1s;
}

/*.flex-container > div {
  background-color: #f1f1f1;
  margin: 2px;
  padding: 2px 2px 3px 3px;
  font-size: 30px;
}*/
 .flex-container > .difsmlogo{
    float: left;
    position: relative;
    width: 100px;
    height: 100px;
    /*margin-left: 5px;
    margin-right: 5px;*/
    background-image: url("../image/difsm_logo.png");
    background-size: 100% 100%;
	border-bottom-right: 3px solid #CACAFF;
}
.slides{
padding: 0px 0px;
height: 327px;
/*background-image: url('../image/graminskill.png');*/
background-size: 100% 100%;
width: 100%;
background-repeat: no-repeat;
margin-bottom: 30px;
}
.gal_hd{
	background-color: rgba(89, 47, 6, 0.4);	
    font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;   
    font-weight: bold;   
    color: white;
    padding: 1px 20px;
    text-shadow: 0 0 15px hsla(222, 100%, 51%, 0.9), 0 2px 4px hsla(230, 100%, 1%, 0.7);
    border: none;
	border-radius: 5px;			
    margin: 2px 3px 4px 5px;    
   	box-shadow: inset 0 -5px 20px hsla(61, 95%, 50%, 0.4), inset 0 5px 20px hsla(0, 0%, 100%, 0.4), -10px 8px 5px hsla(146, 95%, 52%, 0.2), 5px 8px 10px hsla(237, 90%, 51%, 0.6);
    transition: transform 0.1s, box-shadow 0.1s;    
    border-bottom: 2px solid rgba(8, 8, 99, 0.8);
    border-right: 3px solid #CACAFF;
	
}
.gal_row{
	width:99%;
	
    font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;   
    font-weight: bold;   
    color: white;
    padding: 1px 5px;
    text-shadow: 0 0 15px hsla(222, 100%, 51%, 0.9), 0 2px 4px hsla(230, 100%, 1%, 0.7);
    border: none;
	border-radius: 5px;			
    margin: 2px 3px 4px 5px;    
   	
	
}
.gal_row div{ 
	width:24%;
	background-color: rgba(89, 47, 6, 0.4);	
	/*box-shadow: inset 0 -5px 20px hsla(61, 95%, 50%, 0.4), inset 0 5px 20px hsla(0, 0%, 100%, 0.4), -10px 8px 5px hsla(146, 95%, 52%, 0.2), 5px 8px 10px hsla(237, 90%, 51%, 0.6);*/
    transition: transform 0.1s, box-shadow 0.1s;    
    border-bottom: 2px solid rgba(8, 8, 99, 0.8); 
	float:left;
	position:relative;
	margin:2px 3px;
	height: 140px;
}
.gal_row div img{ width: 99%; }
.texts{
	background-color: rgba(89, 47, 6, 0.4);
	/*background-image: linear-gradient( hsla(0, 0%, 100%, 0.6), hsla(233, 97%, 45%, 0.4) 50%, hsla(237, 100%, 53%, 0.4) 50%, hsla(235, 94%, 26%, 0.9) );*/
    font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;
   
    font-weight: bold;
   /* text-transform: Capitalize;*/
    color: white;
    padding: 1px 20px;
    text-shadow: 0 0 15px hsla(222, 100%, 51%, 0.9), 0 2px 4px hsla(230, 100%, 1%, 0.7);
    border: none;
	border-radius: 5px;
			
    margin: -22px 3px 4px 5px;
    /*box-shadow: 	inset 0 -5px 20px hsla(0, 0%, 0%, 0.4), /* top light */ 
					/*inset 0 5px 20px hsla(0, 0%, 100%, 0.4), /* bottom shadow */ /* multiple light sources yall */ 
				 	/*-10px 8px 5px hsla(0, 0%, 0%, 0.15), /* drop shadow 1 */ 
					/*5px 8px 10px hsla(0, 0%, 0%, 0.2);*/
   	box-shadow: inset 0 -5px 20px hsla(61, 95%, 50%, 0.4), inset 0 5px 20px hsla(0, 0%, 100%, 0.4), -10px 8px 5px hsla(146, 95%, 52%, 0.2), 5px 8px 10px hsla(237, 90%, 51%, 0.6);
    transition: transform 0.1s, box-shadow 0.1s;
    /* background: rgba(1, 28, 233, 0.7) url(..images/water.jpg) no-repeat scroll 0% 0% / 100% 100%;*/
    border-bottom: 2px solid rgba(8, 8, 99, 0.8);
    border-right: 3px solid #CACAFF;
	
}
.textsub{
	font-size: 14px;
}
.flex-container > .logoText {
	 font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;
    
    font-weight: bold;
    text-transform: Capitalize;
    color: white;
    padding: 1px 0px;
    text-shadow: 0 0 15px hsla(0, 0%, 100%, 1), /* bloom */ 0 2px 4px hsla(0, 0%, 0%, 0.7);
    float: left;
    position: relative;
    width: 98%;
    margin-left: 0px;
    text-align: center;
}
/*-------------------------------------*/



.cssmenu > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  line-height: 1;
  background-color:rgba(68, 8, 54, 0.64);
}
/* The container */
.cssmenu > ul {
  display: block;
  position: relative;
  width: 100%;
 
}
/* The list elements which contain the links */
.cssmenu > ul li {
	padding: 1px;
  	margin-bottom: 1px;  
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

  display: block;
  position: relative;
  margin: 0;
 
  width: 100%;
}
/* General link styling */
.cssmenu > ul li a {
  /* Layout */

  display: block;
  position: relative;
  margin: 0;
  border-top: 1px groove #ff0b0b;
  border-bottom: 1px groove #14101000;
  padding: 2px 2px;
  z-index:0;
  /* Typography */

 /* font-family: Helvetica, Arial, sans-serif;*/
  color: #e4433c;
  text-decoration: none;
  text-transform: capitalize;
  text-shadow: 0 1px 0 #fff;
  font-size: 13px;
  font-weight: 300;
  /* Background & effects */

  background: rgba(189, 14, 1, 0.26);
}
/* Rounded corners for the first link of the menu/submenus */
.cssmenu > ul li:first-child > a {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-top: 0;
}
/* Rounded corners for the last link of the menu/submenus */
.cssmenu > ul li:last-child > a {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom: 0;
}
/* The hover state of the menu/submenu links */
.cssmenu > ul li a:hover,
.cssmenu > ul li:hover > a {
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  background: #f23f37;
  background: -webkit-linear-gradient(#f23f37, #e7180f);
  background: -moz-linear-gradient(#f23f37, #e7180f);
  background: linear-gradient(#f23f37, #e7180f);
  border-color: transparent;
  z-index:5;
   position:relative;
}
/* The arrow indicating a submenu */
.cssmenu > ul .has-sub > a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #e4433c;
}
/* The same arrow, but with a darker color, to create the shadow effect */
.cssmenu > ul .has-sub > a::before {
  content: "";
  position: absolute;
  top: 7px;
  right: 10px;
  width: 0px;
  height: 0px;
  /* Creating the arrow using borders */

  border: 4px solid transparent;
  border-left: 4px solid #fff;
}
/* Changing the color of the arrow on hover */
.cssmenu > ul li > a:hover::after,
.cssmenu > ul li:hover > a::after {
  border-left: 4px solid #fff;
}
.cssmenu > ul li > a:hover::before,
.cssmenu > ul li:hover > a::before {
  border-left: 4px solid rgba(0, 0, 0, 0.25);
}
/* THE SUBMENUS */
.cssmenu > ul ul {
  position: relative;
  left: 0px;
  top: 5px;
  padding-left: 5px;
  opacity: 0;
  width: 150px;
  /* The fade effect, created using an opacity transition */
display: none;
  -webkit-transition: opacity 0.3s ease-in;
  -moz-transition: opacity 0.3s ease-in;
  transition: opacity 0.3s ease-in;
}
.cssmenu > ul ul li a {
  font-size: 12px;
}
/* Showing the submenu when the user is hovering the parent link */
.cssmenu > ul li:hover > ul {
  top: 0px;
  opacity: 1;
  z-index: 1;
  display: inline;
}



/*------------------------------------------------------------------------*/
.aside {
  background-color: rgba(68, 8, 54, 0.64);
  padding: 15px;
  color: #ffffff;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.footer {
  background-color: rgba(66, 3, 51, 0.69);
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  padding: 15px;
  width: 100%;  
  bottom:0px; 
}
.foot{
	width: 100%;
	height: 135px;
	background: #bbb69ba8;
	border-radius: 5px;
	margin-bottom: 5px;
}
.foot_hd{
	background-color: rgba(89, 47, 6, 0.4);
	font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;
	font-weight: bold;
	color: white;
	padding: 1px 20px;
	text-shadow: 0 0 15px hsla(222, 100%, 51%, 0.9), 0 2px 4px hsla(230, 100%, 1%, 0.7);	
	border-radius: 5px;
	margin: 2px 3px 4px 5px;
	box-shadow: inset 0 -5px 20px hsla(61, 95%, 50%, 0.4), inset 0 5px 20px hsla(0, 0%, 100%, 0.4), -10px 8px 5px hsla(146, 95%, 52%, 0.2), 5px 8px 10px hsla(237, 90%, 51%, 0.6);
	transition: transform 0.1s, box-shadow 0.1s;
	border-bottom: 2px solid rgba(8, 8, 99, 0.8);

}
.div_i{
	width: 32%;
	float: left;
	position: relative;
	padding: 0px 4px;
	height: auto;
	background: transparent;
	
}
.foot  img{
	
	width: 88%;
	height:100px;	
	border-radius: 3;
}

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}
@media only screen and (min-width: 300px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width:  98%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {
  	width: 100%;  	
	background-color: rgba(107, 106, 173, 0.38);
	border-radius: 5px;
	border-bottom: 2px solid rgba(8, 8, 99, 0.8);
	
  }
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 100%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
  .difsmlogo{
    float: left;
    position: relative;
	min-height:40px;
	min-width:50px;
    width: 80px;
    height: 80px;
    margin-left: 0px;
    margin-right: 0px;
    background-image: url("../image/logo.jpg");
    background-size: 100% 100%;
	z-index:3;
  }
  .logoText {
	 font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;
    font-size: 2.2em;
    font-weight: bold;
    text-transform: Capitalize;
    color: white; 
	padding:1px 0px;  
    text-shadow: 0 0 15px hsla(0, 0%, 100%, 1), /* bloom */ 0 2px 4px hsla(0, 0%, 0%, 0.7);
    float: left;
    position: relative;
    width: 98%;
    margin-left: 0px;
    left:  -27px;
	z-index: 1;
  }
  .gal_row div{ 
	width:23%;
	background-color: rgba(89, 47, 6, 0.4);	
	/*box-shadow: inset 0 -5px 20px hsla(61, 95%, 50%, 0.4), inset 0 5px 20px hsla(0, 0%, 100%, 0.4), -10px 8px 5px hsla(146, 95%, 52%, 0.2), 5px 8px 10px hsla(237, 90%, 51%, 0.6);*/
    transition: transform 0.1s, box-shadow 0.1s;    
    border-bottom: 2px solid rgba(8, 8, 99, 0.8); 
	float:left;
	position:relative;
	margin:2px 3px;
}
}
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;  	
	background-color: rgba(107, 106, 173, 0.38);
	height: 600px;
	margin: 1px;
	border-radius: 5px;
	border-bottom: 2px solid rgba(8, 8, 99, 0.8);
  }
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
  .difsmlogo{
    float: left;
    position: relative;
    width: 80px;
    height: 80px;
    margin-left: 5px;
    margin-right: 5px;
    background-image: url("../image/logo.jpg");
    background-size: 80% 80%;
}
.logoText {
	 font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;
    font-size: 2.5em;
    font-weight: bold;
    text-transform: Capitalize;
    color: white; 
	padding:1px 0px;  
    text-shadow: 0 0 15px hsla(0, 0%, 100%, 1), /* bloom */ 0 2px 4px hsla(0, 0%, 0%, 0.7);
    float: left;
    position: relative;
    width: 98%;
    margin-left: 0px;
    left: -12px;
  }
  
}
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 17%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 65%;  	
	background-color: rgba(107, 106, 173, 0.38);
	height: auto;
	min-height: 700px;
	margin: 1px;
	border-radius: 5px;
	border-bottom: 2px solid rgba(8, 8, 99, 0.8);
  }
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
  .difsmlogo{
    float: left;
    position: relative;
    width: 80px;
    height: 80px;
    margin-left: 5px;
    margin-right: 5px;
    background-image: url("../image/logo.jpg");
    background-size: 80% 80%;
}
  .logoText {
	 font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	color: #000;
    font-size: 3.0em;
    font-weight: bold;
    text-transform: Capitalize;
    color: white; 
	padding:1px 0px;  
    text-shadow: 0 0 15px hsla(0, 0%, 100%, 1), /* bloom */ 0 2px 4px hsla(0, 0%, 0%, 0.7);
    float: left;
    position: relative;
    width: 98%;
    margin-left: 0px;
    left: -12px;
  }
  .gal_row div{ 
	width:24%;
	}
}

@font-face {
	font-family: 'AbelRegular';
	src: url('../fonts/abel-regular-webfont.eot');
	src: url('../fonts/abel-regular-webfont.eot?#iefix') format('embedded-opentype'),  url('../fonts/abel-regular-webfont.woff') format('woff'),  url('../fonts/abel-regular-webfont.ttf') format('truetype'),  url('../fonts/abel-regular-webfont.svg#AbelRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
    font-family: 'Canterbury';    
    src: url('../fonts/Canterbury.ttf') ;
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Tangerine';    
    src: url('../fonts/Tangerine.ttf') ;
    font-weight: normal;
    font-style: normal;
}