﻿/*
CSS Name: menu.css --------- Desktop & Tablet & Mobile phone support
File: Navigation CSS
Author: (JP)
Author URI: http://www.
Licence:Taran Comprint 
*/

* {
    padding: 0;
    margin: 0;
}

body {
    font-family: Helvetica,sans-serif;
    margin: auto;
    text-align: center;
}
h1 {
    color:#356AA0;
}
.ribbon {
    display: inline-block;
    margin-top: 50px;
}

    .ribbon:after, .ribbon:before {
        border: 1.5em solid #356AA0;
        content: "";
        float: left;
        margin-top: 0.5em;
    }

    .ribbon:after {
        border-right-color: rgba(0, 0, 0, 0);
    }

    .ribbon:before {
        border-left-color: rgba(0, 0, 0, 0);
    }

    .ribbon a:link, .ribbon a:visited {
        color: #FFFFFF;
        float: left;
        height: 3.5em;
        overflow: hidden;
        text-decoration: none;
    }

    .ribbon span {
        background: linear-gradient(to bottom, #356AA0 0%, #356AA0 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
        display: inline-block;
        line-height: 3em;
        margin-top: 0.5em;
        padding: 0 1em;
        position: relative;
        transition: background-color 0.2s ease 0s, margin-top 0.2s ease 0s;
    }

    .ribbon a:hover span {
        background-color: #0186ba;
        background-image: -moz-linear-gradient(#04acec, #0186ba);
        background-image: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
        background-image: -webkit-linear-gradient(#04acec, #0186ba);
        background-image: -o-linear-gradient(#04acec, #0186ba);
        background-image: -ms-linear-gradient(#04acec, #0186ba);
        background-image: linear-gradient(#04acec, #0186ba);
        color: #FFFFFF;
        margin-top: 0;
    }

    .ribbon span:before {
        border-bottom: 0.5em solid #356AA0;
        border-right: 0.5em solid #007ACD;
        content: "";
        left: 0;
        position: absolute;
        top: 3em;
    }

    .ribbon span:after {
        border-bottom: 0.5em solid #356AA0;
        border-left: 0.5em solid #007ACD;
        content: "";
        position: absolute;
        right: 0;
        top: 3em;
    }

div.exampletransitionf {
    width: 500px;
    height: 60px;
    margin: 20px 0;
}

    div.exampletransitionf div.transition {
        width: 50px;
        height: 50px;
        text-align: center;
        background-color: #3276B1;
        font-weight: bold;
        color: white;
        padding: 10px;
        border-radius: 5px;
        margin-left: 0;
        -webkit-transition: margin-left 3s linear, background-color 2s ease 3s;
        -moz-transition: margin-left 3s linear, background-color 2s ease 3s;
        -o-transition: margin-left 3s linear, background-color 2s ease 3s;
        -ms-transition: margin-left 3s linear, background-color 2s ease 3s;
        transition: margin-left 3s linear, background-color 2s ease 3s;
        line-height: 45px;
    }

    div.exampletransitionf:hover div.transition {
        margin-left: 500px;
        text-align: center;
        background-color: #D2E7F7;
        color: #000;
        font-weight: bold;
    }

.container {
    width: 580px;
    margin: 1% auto;
}

div.exampletransitione0 {
    width: 500px;
    height: 60px;
    margin: 20px 0;
}

    div.exampletransitione0 div.transition {
        width: 50px;
        height: 50px;
        background-color: #0295CE;
        line-height: 45px;
        font-weight: bold;
        color: #fff;
        padding: 10px;
        border-radius: 5px;
        margin-left: 0;
        -webkit-transition: 3s linear;
        -moz-transition: 3s linear;
        -o-transition: 3s linear;
        -ms-transition: 3s linear;
        transition: 3s linear;
    }

    div.exampletransitione0:hover div.transition {
        width: 50px;
        height: 50px;
        margin-left: 400px;
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
        -moz-box-shadow: -5px -5px 5px #888;
        -webkit-box-shadow: -5px -5px 5px #888;
        box-shadow: -5px -5px 5px #888;
    }

div.exampletransitionf1 {
    width: 500px;
    height: 60px;
    margin: 20px 0;
}

    div.exampletransitionf1 div.transition {
        width: 70px;
        height: 50px;
        text-align: center;
        background-color: #6300FF;
        font-weight: bold;
        color: white;
        padding: 10px;
        border-radius: 5px;
        margin-left: 0;
        -webkit-transition: margin-right 3s linear, background-color 2s ease 3s;
        -moz-transition: margin-right 3s linear, background-color 2s ease 3s;
        -o-transition: margin-right 3s linear, background-color 2s ease 3s;
        -ms-transition: margin-right 3s linear, background-color 2s ease 3s;
        transition: margin-right 3s linear, background-color 2s ease 3s;
        line-height: 45px;
        float: right;
    }

    div.exampletransitionf1:hover div.transition {
        margin-right: 430px;
        text-align: center;
        background-color: #00FF9A;
        color: #000;
        font-weight: bold;
    }

div.container {
    background-color: #fff;
    color: white;
    border-radius: 5px;
    -webkit-transition: background-color 5s;
    -moz-transition: background-color 5s;
    -o-transition: background-color 5s;
    -ms-transition: background-color 5s;
    transition: background-color 5s;
    padding:1%;
}



    div.container:hover {
        background-color: #A7B526;
        color:#fff;
    }
