﻿* {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


html,
body {
    height: 100vh;
    max-height: 100vh !important;}

#riesgos-patrimoniales,
#riesgos-laborales,
#salud {
    cursor: pointer;}

header {
    position: fixed;}

.escudo .titulo{
	text-align: center;
    font-weight: 400;
    margin-top: 0;}

.logo img{
height:63px;
}

@keyframes circle-run {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        transform-origin: 50% 50% 0;
        -moz-transform-origin: 50% 50% 0;
        -webkit-transform-origin: 50% 50% 0;
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
        transform-origin: 50% 50% 0;
        -moz-transform-origin: 50% 50% 0;
        -webkit-transform-origin: 50% 50% 0;
    }
}

@keyframes pound {
    from {
        transform: none;
        transform-origin: 50% 50% 0;
        -moz-transform-origin: 50% 50% 0;
        -webkit-transform-origin: 50% 50% 0;
    }
    50% {
        transform: scale(1.1);
        transform-origin: 50% 50% 0;
        -moz-transform-origin: 50% 50% 0;
        -webkit-transform-origin: 50% 50% 0;
    }
    to {
        transform: none;
        transform-origin: 50% 50% 0;
        -moz-transform-origin: 50% 50% 0;
        -webkit-transform-origin: 50% 50% 0;
    }
}

@keyframes poundhelm {
    from {
        transform: rotate(0deg);
        transform-origin: 50% 75% 0;
        -moz-transform-origin: 50% 75% 0;
        -webkit-transform-origin: 50% 75% 0;
    }
    50% {
        transform: rotate(8deg);
        transform-origin: 50% 75% 0;
        -moz-transform-origin: 50% 75% 0;
        -webkit-transform-origin: 50% 75% 0;
    }
    to {
        transform: rotate(0deg);
        transform-origin: 50% 75% 0;
        -moz-transform-origin: 50% 75% 0;
        -webkit-transform-origin: 50% 75% 0;
    }
}

.chain {
    position: relative;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  
    #riesgos-patrimoniales:hover .chain {
        position: relative;
        /*-webkit-animation: circle-run 2s infinite;
        -moz-animation: circle-run 2s infinite;
        animation: circle-run 2s infinite;
        -webkit-animation-timing-function: linear;
        -moz-animation-timing-function: linear;
        animation-timing-function: linear;*/
    }
  
    #riesgos-laborales:hover .helmet {
        -webkit-animation: poundhelm 1s;
        -moz-animation: poundhelm 1s;
        animation: poundhelm 1s;
        -webkit-animation-timing-function: ease-in;
        -moz-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }
  
    #salud:hover .heart {
        -webkit-animation: pound .8s infinite;
        -moz-animation: pound .8s infinite;
        animation: pound .8s infinite;
        -webkit-animation-timing-function: ease;
        -moz-animation-timing-function: ease;
        animation-timing-function: ease;
    }
}

.letra {
    opacity: 1;
  	font-size: 50%;
    transition: all .5s ease-out;
}

#riesgos-patrimoniales:hover .letra {
    opacity: 1;
  	font-size: 100%;
    transition: all 1s ease-in;
}

#riesgos-laborales:hover .letra {
    opacity: 1;
  	font-size: 100%;
    transition: all 1s ease-in;
}

#salud:hover .letra {
    opacity: 1;
  	font-size: 100%;
    transition: all 1s ease-in;
}

#riesgos-patrimoniales .fil4 {
    transition: all .5s ease;
}

#riesgos-patrimoniales:hover .fil4 {
    fill: #632863;
    transition: all 1s ease;
}

#riesgos-laborales .fil5 {
    transition: all .5s ease;
}

#riesgos-laborales:hover .fil5 {
    fill: #C6872F;
    transition: all 1s ease;
}

#salud .fil1 {
    transition: all .5s ease;
}

#salud:hover .fil1 {
    fill: #B73333;
    transition: all 1s ease;
}


/*Container */

.escudo {
    height: 100%;
    max-width: 980px;
    margin: 0px auto auto;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
    .escudo {
        padding: 73px 10px 25px;
    }
}


/* Small Devices, Tablets */

@media only screen and (min-width: 768px) {
    .escudo {
        padding: 73px 14px 10px;
    }
}


/* Medium Devices, Desktops */

@media only screen and (min-width: 992px) {
    .escudo {
        padding: 73px 0px 25px;
    }
}


/* Large Devices, Wide Screens */

@media only screen and (min-width: 1200px) {
    .escudo {
        padding: 73px 0px 25px;
    }
}