/*

    Template Author : pixelhint.com
    Author Email    : contact@pixelhint.com
    Template Name   : Magnetic


    *****************************************


    - Fonts
    - General CSS
    - Header
    - Home/portfolio
    - Inner page
    - Map/Contact page
    - Tooltip
    - Responsive code


*/



/*  Fonts  */
@font-face {
    font-family: 'raleway-regular';
    src: url('../fonts/raleway-regular.eot');
    src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-regular.woff') format('woff'),
         url('../fonts/raleway-regular.ttf') format('truetype'),
         url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-bold';
    src: url('../fonts/raleway-bold.eot');
    src: url('../fonts/raleway-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-bold.woff') format('woff'),
         url('../fonts/raleway-bold.ttf') format('truetype'),
         url('../fonts/raleway-bold.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'raleway-semibold';
    src: url('../fonts/raleway-semibold.eot');
    src: url('../fonts/raleway-semibold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/raleway-semibold.woff') format('woff'),
         url('../fonts/raleway-semibold.ttf') format('truetype'),
         url('../fonts/raleway-semibold.svg#ralewaysemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}



/*  General CSS*/
body{
    background: #fff;
}

.wrapper{
    width: 92.72727272727273%;
	margin-bottom: 100px;
    margin: 0 auto;
	margin-bottom: 100px;
}

header ul.social li a,
.main .work a .caption,
header nav ul li a{
    transition:all .1s linear;
    -webkit-transition:all .1s linear;
    -moz-transition:all .1s linear;
    -o-transition:all .1s linear;
}

h1, h2, h3, h4, h5 ,h6{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    letter-spacing: 1px;
}



h1              { font-size: 2em; margin: .67em 0 }
h2              { font-size: 1.5em; margin: .75em 0 }
h3              { font-size: 1.17em; margin: .83em .83em 0 0 }
h5              { font-size: .83em; margin: 1.5em 0 }
h6              { font-size: .50em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6          { font-weight: bolder }

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


.fig-table {
    max-width: 100%;
    overflow-x: scroll;
}




/*  Header  */
@media (min-width:1099px){
    header{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        min-height: 100%;
        padding: 0 0 0 35px;
        background: #ffffff;
        float: left;
        overflow: hidden;
        z-index: 9999;
    }

    header .logo{
        margin-top: 100px;

    }

	header .logo1{
        position: relative;
		top: -34px;
    }

	header .logo1 a:hover {
        opacity: 0;
    }
    header nav ul{
        display: block;
        overflow: hidden;
        margin-top: 100px;
        list-style: none;
        padding: 0px;
    }

    header nav ul li{
        display: block;
        margin-bottom: 30px;
    }

    header nav ul li a{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        letter-spacing: 1px;
    }

    header nav ul li a:hover,
    header nav ul li a.selected{
        color: #FF0000;
    }

    header .footer{
        position: absolute;
        bottom: 50px;
    }

    header ul.social{
        list-style: none;
        margin-bottom: 5px;
    }

    header ul.social li{
        display: block;
        float: left;
        position: relative;
        margin: 0 15px 15px 0;
    }


    header ul.social li a{
        display: block;
        width: 30px;
        height: 30px;
        background: url('../img/icons_1.png') no-repeat;
        background-position: 0 0;
    }


    header ul.social li a:hover{
        background: url('../img/icons_2.png') no-repeat;
    }



    header ul.social li a.fb,
    header ul.social li a.fb:hover{
        background-position: 0 0;
    }


    header ul.social li a.instagram,
    header ul.social li a.instagram:hover{
        background-position: -31px 0;
    }

    header ul.social li a.vk,
    header ul.social li a.vk:hover{
        background-position: -62px 0;
    }

    header ul.social li a.twitter,
    header ul.social li a.twitter:hover{
        background-position: -93px 0;
    }

    header ul.social li a.dribble,
    header ul.social li a.dribble:hover{
        background-position: -124px 0;
    }

    header ul.social li a.rss,
    header ul.social li a.rss:hover{
        background-position: -155px 0;
    }

    header .rights p{
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 18px;
    }

    header .rights a{
        font-family: "raleway-bold", arial;
        font-weight: bold;
        text-decoration: none;
    }
    #menu_icon,
    .close_menu{
        display: none;
    }




}

#menu_icon,
.close_menu{
    float: right;
    margin-right: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: url('../img/men_icons.png') no-repeat;
}

#menu_icon{
    background-position: 0 0;
}
.close_menu{
    background-position: -41px 0!important;
}






/*  Main  */
.main{
    width: 100%;
    height: 100%;
    padding-left: 285px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    z-index: 55;
    background: #e6e6e6;
    clear: both;
}

.main_picture{
    width: 60%;
 }




/*  Home/portfolio  */
.main .work{
    display: block;
    width: 33.33333333333333%;
    height: auto;
    float: left;
    position: relative;
    overflow: hidden;
}

.main .work .media{
    width: 100%;
    vertical-align: middle;
}

.main .work .caption{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: red;
    opacity: 0;
}


.main .work a:hover .caption{
    opacity: 0.6;

}


.work .caption .work_title{
    display: block;
    width: 100%;
    position: absolute;
    text-align: center;
    top: 40%;
    margin-top: -40px;
}

.main .work .caption h1{
    position: relative;
    display: inline-block;
    max-width: 90%;
    padding: 20px 0;
    z-index: 77;
    color: #ffffff;
    font-family: "raleway-regular", arial;
    font-size: 30px;
    letter-spacing: .5px;
    border-bottom: 3px solid #bfbbbb;
    border-top: 3px solid #bfbbbb;
}




/* ANIMATION picture_page*/
.animationclass {
-webkit-animation:aniload;
-webkit-animation-duration:1s;
  -webkit-animation-iteration-count: 2;
  -webkit-animation-timing-function: ease;
  -webkit-animation-fill-mode: forwards;
    -webkit-animation:anirotate 2s ease infinite;
}





	@-webkit-keyframes aniload3 {
    from {-webkit-transform:translate(0px, 0px) scale(1);}
  25%{-webkit-transform:translate(0px, 0px) scale(3);}
  50%{-webkit-transform:translate(0px, 0px) scale(0.2);}
  75%{-webkit-transform:translate(0px, 0px) scale(5);}
  to   {-webkit-transform:translate(0px, 0px) scale(1);}
}

	@-webkit-keyframes anihover {
    from {-webkit-transform: scale(1);}
    33%{-webkit-transform: scale(0.98);}
	66%{-webkit-transform: scale(0.98);}
    to   {-webkit-transform: scale(1);}
	}

	@-webkit-keyframes aniclick {
    from {-webkit-transform: scale(0.98);}
    33%{-webkit-transform: scale(0.97);}
	66%{-webkit-transform: scale(0.97);}
    to   {-webkit-transform: scale(1);}
	}

	@-webkit-keyframes anirotate {
    from {-webkit-transform: rotate(0deg);}
    33% {border-color:transparent #ff7900 transparent #ffd129; color:#ff7900}
	66%	{border-color:transparent #9ddc00 transparent #c2ff29; color:#9ddc00}

    to   {-webkit-transform: rotate(360deg);}
	}

	@-webkit-keyframes anicolor {
    0% {transform:translate(0);}
  50%{transform:translate(-50px, 0);border-color:red}
  100%{transform:translate(0);}
	}

	@-webkit-keyframes rage1 {
    from {-webkit-transform:translate(0px, 0px);}
    33%{-webkit-transform:translate(-2px, 0px );}
	66%{-webkit-transform:translate(2px, 0px );}
    to   {-webkit-transform:translate(0px, 0px);}
}

@-webkit-keyframes rage2 {
    from {-webkit-transform:translate(0px, 0px);}
    33%{-webkit-transform:translate(-10px, 0px);}
	66%{-webkit-transform:translate(10px, 0px );}
    to   {-webkit-transform:translate(0px, 0px);}
}



@-webkit-keyframes shake {
  from {-webkit-transform:translate(0px, 0px) rotate(0deg);}
  33%{-webkit-transform:translate(0px, 0px) rotate(-30deg);}
  66%{-webkit-transform:translate(0px, 0px) rotate(30deg);}
  to   {-webkit-transform:translate(0px, 0px) rotate(0deg);}
}
/* picture page*/



body .content_button_wrapper {

	height: 68px;
}


body .content_button_responsive {
    background-color: #d0d0d0;
   margin: 0px;
   padding: 20px 0px 20px 0px;
   display: block;
   float:left;
   width: 33.33%;
   text-align: center;
   cursor:pointer;
}

 body .content_button {
     background-color: #d0d0d0;
	margin: 0px;
    padding: 20px 0px 20px 0px;
    display: block;
	float:left;
	width: 50%;
	text-align: center;
    cursor:pointer;
}

body .content_button2{
    background-color: #d0d0d0;
	margin: 0px;
    padding: 20px 0px 20px 0px;
    display: block;
	width: 25%;
	float:left;
	text-align: center;
	font-size: 1.17em;
}

body .content_button3{
    background-color: #d0d0d0;
    margin: 0px;
    padding: 20px 0px 20px 0px;
    display: block;
    width: 100%;
    float:left;
    text-align: center;

}

body .content_button2_ch{
    background-color:  #7ad9ff;
    margin: 0px;
    padding: 20px 0px 20px 0px;
    display: block;
    width: 25%;
    float:left;
    text-align: center;
    font-size: 1.17em;
}


body .content_button:hover, body .content_button2:hover, body .content_button3:hover, body .content_button_responsive:hover  {
        background-color:#8ac8ff;
		-webkit-animation:anihover  ease;
		-webkit-animation-duration:0.9s;
		text-align: center;
    }

 body .content_button:active, body .content_button2:active  {
    background-color:#57b0ff;
	-webkit-animation:aniclick 2s ease;
    -webkit-animation-duration:0.8s;
    text-align: center;
}

.button_disabled{
    pointer-events: none;
    background-color: #e2e2e2 !important;
    color: #a7a7a7 !important;
}

	.image_wrapper{
	width: 100%;
    height: 200px;
    display: block;
    position: relative;
    background: white;
	}

	.image_layer{
	position: absolute;
	}

	.image_layer_unshow{
	position: absolute;
	display: none;
	}

  .hide{
  display: none !important;
  }



	.loader_wrapper{
	height: 270px;
    WIDTH: 250px;
	margin: 0 auto;
    background: #e6e6e6;

	}



	.loader {

  font-weight: normal;
  position: absolute;
   width: 200px;
  height: 200px;
  color: #F8463F;
  text-align: center;
  line-height: 200px;
  vertical-align: middle;
  margin:auto;
  text-transform: uppercase;
  border-radius: 50%;
   border:10px solid;
  border-color:  transparent red transparent  red;
	float:left;

-webkit-animation:anirotate 1.5s ease infinite;

}

	.loader1 {

  font-weight: normal;
  position: absolute;
  background: transparent ;
  width: 200px;
  height: 200px;
  color: #F8463F;
  text-align: center;
  line-height: 200px;
  vertical-align: middle;
  margin:auto;
  text-transform: uppercase;
  border-radius: 50%;
   border:11px solid #e6e6e6;

	float:left;

-webkit-animation:rage2 1s ease infinite;

}


.box {
  display: flex;
  align-items:center;
  justify-content: space-between;

  background-color:#faf87d;
  margin:20px 20px 0 20px;
  text-align: center;
  font-size:40px;
  padding:40px;
  color:#000;
  -webkit-user-select: none;
    }

body .box:hover{
	-webkit-animation:anihover 1s ease;
}


.box_angry1 {

  background-color:#ff7575;
  margin:20px 20px 0 20px;
  text-align: center;
  vertical-align: middle;
  font-size:40px;
  padding:4s0px;
  color:#fff;
  -webkit-animation:rage1 0.5s infinite ease;
  animation:rage1 0.5s infinite ease;


}

.box_angry2 {

  background-color:#f80000;
  margin:20px 20px 0 20px;
  text-align: center;

  font-size:40px;
  padding:20px;
  color:#fff;
  -webkit-animation:rage2 0.1s infinite ease;

}

.histogram_wrapper {

height: 450px;
 background-color:##F0F8FF;
}

.top{
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: block;
    position: relative;

    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: 50% 50%;
}
.work_nav{
    display: block;
    width: 100%;
}

.work_nav .btn{
    float: ;
}

.work_nav ul{
    list-style: none;
}

.work_nav ul li{
    display: block;
    float: left;
    margin: 0 0 1px 1px;
    position: relative;
}

.work_nav a{
    display: block;
    width: 40px;
    height: 40px;
    background: url('../img/p_navigation.png') no-repeat;
    background-position: 0 0;
}

.work_nav a.previous{
    background-position: 0 0;
}

.work_nav a.grid{
    background-position: -41px 0;
}

.work_nav a.next{
    background-position: -82px 0;
}



.top .title{
    display: block;
    width: 100%;
	color: #4b4848;
    font-family: "raleway-bold", arial;
    font-size: 45px;
    font-weight: bold;
    background: rgba(255, 255, 255, .7);
    padding: 20px 0px 20px 30px;
    text-transform: uppercase;
    line-height: 35px;
    margin: 0!important;
    overflow: hidden;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

}
.content_header{
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    left: 50%;
    margin-left: -46.36363636363637%;
}

.content{
    color: #4b4848;
    font-family: "raleway-regular", arial;

    width: 100%;
    line-height: 0px;
    padding: 00px 00px 60px;


    background: #fff;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.content_text {
padding: 00px 40px;

}

.video_wrapper {
    display: flex;
    justify-content: center;
        margin: 30px 0;
}



.content p{
    color: #4b4848;
    font-family: "raleway-regular", arial;
    font-size: 15px;
    line-height: 24px;


	padding-top: 20px;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6{
    color: #4b4848;
    font-family: "raleway-semibold", arial;
    font-weight: bold;
    line-height: 28px;
    /*margin-bottom: 10px;*/

}







/*  Contact page map  */
#map .map_adresse{
    font-family: 'raleway-regular', arial;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 1px;
}

#map .map_address,
#map .map_tel{
    padding: 5px;
}

#map .map_address .address,
#map .map_tel .tel{
    font-family: 'raleway-bold', arial;
    font-weight: bolder;
}

#map img{
    max-width: none;
}







/*  Tooltip  */
.tooltip{
    display: block;
    padding: 7px 10px;
    background: #454545;
    color: #fff;
    font-family: "raleway-regular", arial;
    font-size: 12px;
    position: absolute;
    white-space: nowrap;
    z-index: 999;
    opacity: 0;
    text-align: center;
    letter-spacing: .5px;

}

.tooltip:after{
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 3px 3px 0 3px;
    border-color: #454545 transparent transparent transparent;
    display: block;
    text-align: center;
    position: absolute;
    bottom: -3px;
    left: 50%;
    margin-left: -3px;
}







/*  Responsive code  */
@media (max-width:1099px){

    header{
        display: block;
        width: 100%;
        min-height: 90px;
        padding: 0;
        position: relative;
		width: 100%;

    }




    header .logo{
        margin: 40px 0 0 30px;
        float: left;
	}
	header .logo1{
    position: relative;
	top: -34px;
    }
    header .logo1 a:hover {
        opacity: 0;
    }



    header .footer{
        display: none;
    }
    header #menu_icon,
    header .close_menu{
        float: right;
        margin: 30px 30px 0 0;
    }

    header nav{
        width: 100%;
        position: absolute;
        top: 100px;
        left: 0;
        z-index: 9999;
    }

    header nav ul{
        list-style: none;
        display: none;
        position: relative;
    }
    header nav ul li a{
        display: block;
        width: 100%;
        padding: 30px 0;
        text-align: center;
        color: #454545;
        font-family: "raleway-regular", arial;
        font-size: 14px;
        text-decoration: none;
        border-top: 1px solid #f7f5f5;
        background: #fff;
    }
    header nav ul li a:active{
        background: #f7f5f5;
    }
    #menu_icon,
    .close_menu,
    .show_menu{
        display: block;
    }
    .show_menu{
        display: block;
    }

    .main .work{
        width: 50%;
    }
    .main{
        width: 100%;
        position: relative;
        padding-left: 0;
    }

    .main_picture{
    width: 100%;
 }
     #sizeBut{
        display:  none;
     }




    #map{
        margin: 0!important;
    }



}

@media (max-width:550px){
     .main .work{
        width: 100%;
    }

	  header .logo {
    margin: 35px 0 0 30px;

	}

	body .top {

    height: 90px;
	}

	body .top .title {
	 font-size: 30px;
	 line-height: 25px;
	 padding: 15px 15px 15px 15px;
	}

}


@media (max-width:361px){

   header .logo {
    margin: 33px 0 0 20px;

   }

	body .top .title {
	 font-size: 25px;
	}

    .content_text {
    padding: 00px 20px;
    }



}
