@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100,100italic,300italic&subset=latin,latin-ext);

body, input, textarea, select, button {
  text-rendering: optimizeLegibility; /* 2 */
  -webkit-font-smoothing: antialiased; /* 3 */
  -moz-osx-font-smoothing: grayscale; /* 4 */
}

p {
  font-feature-settings: "kern" 1; /* 5 */
  font-kerning: normal; /* 5 */
  hyphens: auto; /* 6 */
}

*{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  font-family: 'Roboto', sans-serif;
}

.caption {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size:0.8em;
}

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
    margin: 0 0;
}

/* Generic styling */

body{
  background: url("../img/giresun-img-1.jpg");
}

.content{
  width: 100%;
  margin: 0 auto;
  /*padding: 0 20px;*/
}

.content>h1 {
  color: #F6F6F6;
  display: block;
  width: 100%;
  text-align: center;
  margin: 5% 0 5% 0;
  font-weight: 700;
  letter-spacing: 2px;
}

.content>h1>span {
  font-weight: 100;
  display: block;
  margin-top: 1%;
  letter-spacing: 0px;
  font-size: 30px;
}

a:focus{
  outline: 1px solid #D3D3D3;
  /*-webkit-box-shadow: inset 3px -1px 81px 13px rgba(0,0,0,0.23);
  -moz-box-shadow: inset 3px -1px 81px 13px rgba(0,0,0,0.23);
  box-shadow: inset 3px -1px 81px 13px rgba(0,0,0,0.23);*/
}

@media all and (max-width: 767px){
  .content{
    padding: 0 20px;
  } 
}

ul{
  padding: 0;
  margin: 0;
  list-style: none;   
}

ul a{
  display: block;
  background: #09b1ba;
  /*border: 1px solid #09B1BA;*/
  text-align: center;
  overflow: hidden;
  font-size: 0.8em;
  text-decoration: none;
  font-weight: bold;
  color: #f6f6f6;
  height: 70px;
  margin-bottom: -26px;
  box-shadow: 4px 4px 9px -4px rgba(0,0,0,0.4);
  -webkit-transition: all linear .1s;
  -moz-transition: all linear .1s;
  transition: all linear .1s;
  line-height: 1.9em;
}

.admin a {
  background: #E2E2E2;
  position: absolute;
  color: #068a92;
  z-index: 1;
  width: 90%;
  height: 90px;/*chart2*/
}


/*.director > li:first-child > a{
  background: #E2E2E2;
  color: #068a92;
}*/

.director > li> a{
  width: 100%;
  margin: 0 auto 0px auto;
  font-size: 1.1em;
  line-height: 1.6em;
  background: #E2E2E2;
  color: #068a92;
  text-align: center;
  overflow: hidden;
  font-size: 0.8em;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
}

.director > li {
  float: left;
  margin: 0 0.9%;
}

.director > li:first-child {
  float: none;
}

.director li.hoj:not(:first-child) {
  width: 15%;
}





@media all and (max-width: 767px){
  ul a{
    font-size: 1em;
  }
}

/*****************************/
ul a span{
  /*top: 50%;*/
  margin-top: -0.7em;
  display: block;
}


/*chart2*/
.departments ul a span{
  margin-top: -0.7em;
  display: block;
}

/*chart2*/
.admin a span{
  top:25%;
  margin-top: -0.7em;
  display: block;
}


.tel {
  font-size: 0.8em;
  color: #9B9B9B;
  margin-top: -0.2em !important;
  -webkit-transition: all linear .1s;
  -moz-transition: all linear .1s;
  transition: all linear .1s;
}


/*
 
 */

.administration > li > a{
  margin-bottom: 25px;
}

.director > li:first-child > a{
  width: 50%;
  margin: 0 auto 0px auto;
  font-size: 1.1em;
  line-height: 1.6em;
  height: 100px;
  background: #E2E2E2;
  color: #068a92;
  margin-bottom: 40px;
}

.director > li:first-child > ul.subdirector:after{
  display: block;
  width: 0;
  left: 50%;
  position: relative;
  margin-left: 0px;
  content: "";
  height: 60px;
  border-left: 1px solid #09B1BA;
  margin-top: -40px;
}

.director > li > a > span{
  top:26%;  
  line-height: 1.6emem;
}

.admin > a{
  height: 80px;
}

.director > li > a:hover{
  background: #ed9553;
  color: #f6f6f6;
}

.admin > a:hover{
  background: #ed9553;
  color: #f6f6f6;
}

.subdirector:after{
  content: "";
  display: block;
  width: 0;
  height: 15px;/*chart2*/
  border-left: 1px solid #09B1BA;
  left: 50%;
  position: relative;
}

.subdirector{
  position: absolute;
  width: 100%;
}

.departments{
  position: absolute;
  width: 100%;
  /*left: 50%;*/
}

.subdirector > li:first-child,
.departments > li:first-child{  
  width: 30%;
  /*height: 64px;*/
  margin: 0 auto 38px auto;/*chart2*/
  /*padding-top: 25px;*/
  z-index: 1; 
}

.subdirector > li:first-child{
  float: right;
  right: 27.2%;
}


.departments > li:first-child{  
  float: left;
  left: 38%;/*chart2*/
}

.subdirector > li:first-child a,
.departments > li:first-child a{
  width: 100%;
}

.subdirector > li:first-child a{  
  left: 25px;
}

@media all and (max-width: 767px){
  .subdirector > li:first-child,
  .departments > li:first-child{
    width: 40%; 
  }

  .subdirector > li:first-child{
    right: 10%;
    margin-right: 2px;
  }

  .subdirector:after{
    left: 49.8%;
  }

  .departments > li:first-child{
    left: 35%;
    margin-left: 2px;
  }

  .director > li> a{
  width: 80%;
  margin: 0 auto 0px auto;
  line-height: 1.6em;
  background: #E2E2E2;
  color: #068a92;
  text-align: center;
  overflow: hidden;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  height: 100px;
}

.director > li:first-child > a{
  width: 100%;
  margin: 0 auto 0px auto;
  font-size: 1.1em;
  line-height: 1.6em;
  height: 100px;
  background: #E2E2E2;
  color: #068a92;
  margin-bottom: 40px;
}
}


.departments > li:first-child a{
  right: 25px;
}

.department:first-child,
.departments li:nth-child(2){
  /*margin-left: 0;*/
  clear: left;  
}

.department:last-child{
  /*margin-left: 0;*/
  float: left;  
}

/*****************************/
.mainLine{
  /*content: "";
  display: block;
  position: relative;*/
  /**width: 100%;**/
  /*height: 23px; 
  border-top: 1px solid #09B1BA;*/
  /**border-right: 1px solid #09B1BA;
  border-left: 1px solid #09B1BA;**/
  /*margin: 0 auto;
  top: 144px;*//**chart2**/
  /**left: 65px**/
    height: 1px;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 15px;
    border-bottom: solid 1px #09B1BA;
}

#mainLine2{
  /*content: "";
  display: block;
  position: relative;*/
  /**width: 100%;**/
  /*height: 23px; 
  border-top: 1px solid #09B1BA;*/
  /**border-right: 1px solid #09B1BA;
  border-left: 1px solid #09B1BA;**/
  /*margin: 0 auto;
  top: 144px;*//**chart2**/
  /**left: 65px**/
    height: 1px;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 20px;
    border-bottom: solid 1px #09B1BA;
}

/*
#mainLine:before{
  content: "";
  display: block;
  width: 1px;
  height: 13px;
  border-left: 1px solid #09B1BA;
  position: relative; 
  top:-13px;
  left: 50%;
  margin-left: -1px;
}*/

@media all and (max-width: 767px){
  .departments:after{
    border-right: none;
    left: 0;
    width: 49.8%;
  }  
}

@media all and (min-width: 768px){
  .department:first-child:before,
   .department:last-child:before{
    border:none;
  }
}

.department:before{
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 24px;
  border-left: 1px solid #09B1BA !important;
  z-index: 1;
  top: -24px;
  left: 50%;
  margin-left: 0;
}


/*****************************/
.department{
  border-left: 1px solid #09B1BA;
  /*width: 33%;*/
  float: left;
  /*margin-left: 8%;*/
  /*margin-left: 70px;*/
  margin-bottom: 60px;
  margin:0 2%;
}

.lt-ie8 .department{
  width: 18.25%;
}

/*****************************/
.department > a{
  margin: 0 0 -26px -1px;
  z-index: 1;
  padding: 10px;
  width: 100%;
  display: table;
  text-align: center;
}


/*****************************/
.department > a span{
    display: table-cell;
    vertical-align: middle;
    text-align:center;
}

.department > a:hover{  
  /*height: 80px;*/
}

.department > ul{
  margin-top: 0px;
  margin-bottom: 0px;
}

.department li{ 
  padding-left: 25px;
  border-bottom: 1px solid #09B1BA;

  min-height: 100px;
  width: 85%;
  padding: 20px 0;
}

/*******************************/
.department li a{
  background: #E2E2E2;
  top: 48px;
  position: relative;
  color: #068a92;
  z-index: 1;
  width: 100%;
  vertical-align: middle;
  /* right: -1px; */
  padding: 20px 10px;
  left: 16px;
  display: table;
  /*background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMjUiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background-image: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 100%) !important;
  background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.25)), color-stop(100%,rgba(0,0,0,0)))!important;
  background-image: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: -o-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: -ms-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: linear-gradient(135deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00000000',GradientType=1 );*/
}

@media all and (max-width: 767px){
  
  
  #mainLine{
    display: none;
  }

  .department{
    float: none;
    /*width: 100%;
    margin-left: 0;*/
    margin-bottom: 150px; /*üçü değerde aynı olmalı*/
  }

  .department:before{
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 150px; /*üçü değerde aynı olmalı*/
    border-left: 1px solid #09B1BA;
    z-index: 1;
    top: -150px; /*üçü değerde aynı olmalı*/
    left: 0.5%;
    margin-left: -4px;
  }

  .department:nth-child(2):before{
    display: none;
  }

  .department li a{
  background: #E2E2E2;
  top: 48px;
  position: relative;
  color: #068a92;
  z-index: 1;
  width: 90%;
  vertical-align: middle;
  /* right: -1px; */
  padding: 20px 10px;
  left: 69px;
  display: table;
  /*background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDAwMDAwIiBzdG9wLW9wYWNpdHk9IjAuMjUiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background-image: -moz-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 100%) !important;
  background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(0,0,0,0.25)), color-stop(100%,rgba(0,0,0,0)))!important;
  background-image: -webkit-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: -o-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: -ms-linear-gradient(-45deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  background-image: linear-gradient(135deg,  rgba(0,0,0,0.25) 0%,rgba(0,0,0,0) 100%)!important;
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40000000', endColorstr='#00000000',GradientType=1 );*/
}

.subdirector:after{
  content: "";
  display: block;
  width: 0;
  height: 40px;/*chart2*/
  background: red;
  border-left: 1px solid #09B1BA;
  left: 50%;
  position: relative;
  margin-left: 3px;
}


}

span.wrapperLi {
  display:table-cell !important;
  vertical-align: middle;
}

span.wrapperLi span{
  line-height: 1.6em;
}

span.wrapperLi span.caption {
  margin-bottom: 10px;
}

li.hoj span{
  line-height: 1.6em;
}

li.hoj span.caption {
  margin-bottom: 10px;
}

.department li a:hover{
  box-shadow: 8px 8px 9px -4px rgba(0,0,0,0.1);
  /*height: 80px;
  width: 95%;
  top: 39px;
  background-image: none!important;*/
  background: #ed9553;
  color: #f6f6f6 !important;
}

/* Department/ section colors */
/*.department.dep-a a{ background: #FFD600; }
.department.dep-b a{ background: #AAD4E7; }
.department.dep-c a{ background: #FDB0FD; }
.department.dep-d a{ background: #A3A2A2; }*/

.hoj:not(:nth-child(1)):before{
    content: "";
    display: block;
    width: 0;
    height: 50px;
    border-left: 1px solid #09B1BA;
    left: 50%;
    position: relative;
    margin-left: 3px;
    top: 20px;
}

.departments .cf {

}