.view-id-taxonomy_term .field-item img {display:block;float:left;width:33%;height:auto;margin-right:10px;}
.views-row {margin-bottom:3%;height:auto;}
.views-row .views-field-field-mainpic img{height:auto;width:100%;}
.logo img {background-color:white!important; width:200px;height:auto;padding-top:auto;padding-bottom:auto}
.logo span{min-height:50px;height:110px;margin:40px 0 40px 0;}
.main-nav li a {padding:0px 12px 0px 12px;}
/*.panels-flexible-column-inside {display: flex;flex-flow:coloumn wrap;}*/

#TIC table {max-width:60%;float:left}
#headpics {max-height:400px;overflow:hidden;margin-bottom:10px}
#headpics img {object-fit: cover;;float:left}
#headpics .title {color:white;font-size:40px;font-family:cursive;top:30px;left:50px;z-index:100;float:left}

#block-system-main img {max-width:100%}

.embedded-video, video {width: 870px!important; height:auto}

/*---------1200----------*/
@media only screen and (max-width: 1200px)
    {
      .group-picgroup{max-width:33%;}
     .page-title{font-size:1.5em;}
      ul.menu a{font-size:.9em;}
     #main-nav, #main-search button {line-height:70px;}  
     .views-row .views-field-field-mainpic {height:auto;max-width:45%;}
     
     .embedded-video, video {max-width:680px!important;}
     .logo span{min-height:50px;height:70px;}
    .panels-flexible-region-1-bal ul {height:auto;}
#headpics {max-height:400px}
    }
    
/*--------980----------*/
@media only screen and (max-width: 980px)
    {
      .group-picgroup{max-width:33%;}
      
      .page-title{font-size:1.2em;}
      ul.menu a{font-size:.9em;}
     #main-nav, #main-search .button {line-height:50px;}
     .logo img {width:120px;height:auto;}
     .logo span{min-height:50px;height:70px;)
     .views-field-title {font-size:1.4em;margin-top:10px;}
     .embedded-video, video {width:400px!important;}
     .view .views-field-title { font-size: 19px;padding-bottom: 0.5em;margin-top: 10px;line-height: 30px;}
     #headpics {height:auto;}
    }
@media only screen and (max-width: 767px)
    {
     .group-picgroup{max-width:30%;}
     .page-title{font-size:1em;}
     .views-field-title {line-height:1.2em;}
     header h2 a{line-height:1.2em;font-size:18px;}
     .main-search {margin-top: 0px;}
     .logo span{height:70px;}
     .view .views-field-title { font-size: 18px;padding-bottom: 0.5em;margin-top: 10px;line-height: 20px;}
    .panels-flexible-region-1-fullrow {width:100%}
    .panels-flexible-region-1-jobbos {width:100%}
    .views-row .views-field-field-mainpic {height:auto;max-width:55%;}
      

    }
@media only screen and (max-width: 480px)
    {
    .views-field-field-mainpic{clear:both;width:100%;float:none;}
    .group-picgroup , .fieldset-wrapper{width:100%;float:none;max-width:100%;}
    .group-picgroup .field-item,.group-picgroup .field-item a {float:left;height:auto;margin:3px;}
    .group-picgroup .field-item img {max-width:100%;}
    header h2 a{line-height:1em;font-size:14px;}
    .view-id-taxonomy_term .field-item img {clear:both;width:100%;margin-right:0px;}
    .embedded-video, video {width:100%!important;}
    .logo img {width:120px;height:auto;}
    .view .views-field-title { font-size: 17px;padding-bottom: 0.5em;margin-top: 10px;line-height: 19px;}
    .panels-flexible-region-1-bal {order:2;}
    .panels-flexible-region-1-jobb {order:1;}
    .panels-flexible-region-1-bal, .panels-flexible-region-1-jobb {clear:both!important;width:100%!important;}
    .group-galery .field-item {width:33%;
          -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;}
    /*inline content*/
.inline-content{display:inline-block;width:100%;}

     .views-row .views-field-field-mainpic {height:auto;max-width:100%;}
      #TIC {max-width:100%;}
    }
    
    
@media only screen and (max-width: 360px)
    {
     .group-picgroup {width:100%;}
     .page-title a{font-size:.9em;}
     header h2, header h2 a{line-height:12px;font-size:12px;}
     .logo img {width:90px;height:auto;}
     .view .views-field-title { font-size: 16px;padding-bottom: 0.5em;margin-top: 10px;line-height: 19px;}
         .group-galery .field-item {width:50%;
          -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;}
#TIC {width:100%;}
     } 
    