@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,700);

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 999;
}

#cssmenu:after,
#cssmenu>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

#cssmenu #menu-button {
    display: none;
}

#cssmenu {
    width: auto;
    font-family: 'Open Sans', Helvetica, sans-serif;
    /* background: #; */
}

#cssmenu>ul {
    background: url('images/bg.png');
}

#cssmenu.align-right>ul>li {
    float: right;
}

#cssmenu>ul>li {
    float: left;
    display: inline-block;
}

#cssmenu.align-center>ul {
    float: none;
    text-align: center;
}

#cssmenu.align-center>ul>li {
    float: none;
}

#cssmenu.align-center ul ul {
    text-align: left;
}

#cssmenu>ul>li>a {
    padding: 41px 10px 35px 10px;
    border-right: 0px solid #6896f8;
    text-decoration: none;
    font-family: Calibri;
    font-size: 15px;
    font-weight: normal;
    color: #000;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#cssmenu>ul>li:hover>a,
#cssmenu>ul>li>a:hover a {
    color: #fff;
    background: #236cd2;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#4690ef, #074fbb);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#4690ef, #074fbb);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#4690ef, #074fbb);
    /* For Firefox 3.6 to 15 */
    background: linear-gradient(#4690ef, #074fbb);
    /* Standard syntax */
}

#cssmenu>ul>li.active>a {
    color: #fff;
    background: #236cd2;
    /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#4690ef, #074fbb);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#4690ef, #074fbb);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#4690ef, #074fbb);
    /* For Firefox 3.6 to 15 */
    background: linear-gradient(#4690ef, #074fbb);
    /* Standard syntax */
}

#cssmenu>ul>li.has-sub>a {
    padding-right: 45px;
}

#cssmenu>ul>li.has-sub>a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-top-color: #FFF;
    right: 17px;
    top: 22px;
}

#cssmenu>ul>li.has-sub.active>a::after,
#cssmenu>ul>li.has-sub:hover>a {
    border-top-color: #ffffff;
}

#cssmenu ul ul {
    position: absolute;
    left: -9999px;
    top: 60px;
    padding-top: 6px;
    font-size: 15px;
    opacity: 0;
}

#cssmenu.align-right ul ul {
    text-align: right;
}

#cssmenu>ul>li>ul::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    /* border-bottom-color: ; */
    top: -4px;
    left: 20px;
}

#cssmenu.align-right>ul>li>ul::after {
    left: auto;
    right: 20px;
}

#cssmenu ul ul ul::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-right-color: #ffffff;
    top: 11px;
    left: -4px;
}

#cssmenu.align-right ul ul ul::after {
    border-right-color: transparent;
    border-left-color: #ffffff;
    left: auto;
    right: -4px;
}

#cssmenu>ul>li>ul {
    top: 120px;
}

#cssmenu>ul>li:hover>ul {
    top: 112px;
    left: 0;
    opacity: 1;
}

#cssmenu.align-right>ul>li:hover>ul {
    left: auto;
    right: 0;
}

#cssmenu ul ul ul {
    padding-top: 0;
    padding-left: 6px;
}

#cssmenu.align-right ul ul ul {
    padding-right: 6px;
}

#cssmenu ul ul>li:hover>ul {
    left: 180px;
    top: 0;
    opacity: 1;
}

#cssmenu.align-right ul ul>li:hover>ul {
    left: auto;
    right: 100%;
    opacity: 1;
}

#cssmenu ul ul li a {
    text-decoration: none;
    font-weight: 600;
    padding: 11px 25px;
    font-family: Calibri;
    text-transform: uppercase;
    width: 280px;
    color: #fff;
    background-color: #3781e3;
}

.last {}

#cssmenu ul ul li:hover>a,
#cssmenu ul ul li.active>a {
    color: #e8f3ff;
    background-color: #2756A4;
}

#cssmenu ul ul li:first-child>a {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

#cssmenu ul ul li:last-child>a {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-right-width: 0px;
}

#cssmenu>ul>li>ul::after {
    position: absolute;
    display: block;
}

#cssmenu ul ul li.has-sub>a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    border-left-color: #777777;
    right: 17px;
    top: 14px;
}

#cssmenu.align-right ul ul li.has-sub>a::after {
    border-left-color: transparent;
    border-right-color: #777777;
    right: auto;
    left: 17px;
}

#cssmenu ul ul li.has-sub.active>a::after,
#cssmenu ul ul li.has-sub:hover>a::after {
    border-left-color: #333333;
}

#cssmenu.align-right ul ul li.has-sub.active>a::after,
#cssmenu.align-right ul ul li.has-sub:hover>a::after {
    border-right-color: #333333;
    border-left-color: transparent;
}

.amazingcarousel-image div:nth-of-type(1) {
    display: none !important;
}

@media all and (max-width: 970px),
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px),
only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px),
only screen and (min-resolution: 192dpi) and (max-width: 1024px),
only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
    #cssmenu {
        background: #1158c2;
        text-align: left;
    }

    #cssmenu>ul {
        display: none;
    }

    #cssmenu>ul.open {
        display: block;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        text-align: left;
    }

    #cssmenu.align-right>ul {
        float: none;
    }

    #cssmenu.align-center>ul {
        text-align: left;
    }

    #cssmenu>ul>li,
    #cssmenu.align-right>ul>li {
        float: none;
        display: block;
    }

    #cssmenu>ul>li>a {
        text-decoration: none;
        font-family: Calibri;
        font-size: 16px;
        font-weight: normal;
        color: #fff;
        text-transform: uppercase;
    }

    #cssmenu>ul>li:hover>a,
    #cssmenu>ul>li>a:hover a {
        color: #fff;
        background-color: #008fcc;
        border: 0px #333333 solid;
    }

    #cssmenu>ul>li.active>a {
        color: #fff;
        background-color: #008fcc;
        border: 0px #333333 solid;
    }

    #cssmenu>ul>li>a {
        padding: 12px 25px 12px 25px;
        border-right: 0;
    }

    #cssmenu>ul>li:hover>a,
    #cssmenu>ul>li.active>a {
        /* background: #; */
    }

    #cssmenu #menu-button {
        display: block;
        text-decoration: none;
        font-size: 13px;
        font-weight: 700;
        color: #1158c2;
        padding: 12px 0px 12px 12px;
        text-align: justify;
        text-transform: uppercase;
        letter-spacing: 1px;
        background: url('images/bg.png');
        cursor: pointer;
    }

    #cssmenu ul ul,
    #cssmenu ul li:hover>ul,
    #cssmenu>ul>li>ul,
    #cssmenu ul ul ul,
    #cssmenu ul ul li:hover>ul,
    #cssmenu.align-right ul ul,
    #cssmenu.align-right ul li:hover>ul,
    #cssmenu.align-right>ul>li>ul,
    #cssmenu.align-right ul ul ul,
    #cssmenu.align-right ul ul li:hover>ul {
        left: 0;
        right: auto;
        top: auto;
        opacity: 1;
        width: 100%;
        padding: 0;
        position: relative;
        text-align: left;
    }

    #cssmenu ul ul li {
        width: 100%;
    }

    #cssmenu ul ul li a {
        width: 100%;
        box-shadow: none;
        padding-left: 35px;
    }

    #cssmenu ul ul ul li a {
        padding-left: 45px;
    }

    #cssmenu ul ul li:first-child>a,
    #cssmenu ul ul li:last-child>a {
        border-radius: 0;
        border-right: #333333 solid 0px;
    }

    #cssmenu #menu-button::after {
        display: block;
        content: '';
        position: absolute;
        height: 6px;
        width: 22px;
        border-top: 0px solid #26bdc4;
        line-height: 10px;
        border-bottom: 2px solid #dddddd;
        right: 25px;
        top: 12px;
    }

    #cssmenu #menu-button::before {
        display: block;
        content: '';
        position: absolute;
        height: 6px;
        width: 22px;
        border-top: 2px solid #dddddd;
        right: 25px;
        top: 22px;
    }

    #cssmenu #menu-button:after {
        position: absolute;
        top: 18px;
        right: 17px;
        display: block;
        height: 8px;
        width: 20px;
        border-top: 2px solid #dddddd;
        border-bottom: 2px solid #dddddd;
        content: '';
    }

    #cssmenu #menu-button:before {
        position: absolute;
        top: 11px;
        right: 17px;
        display: block;
        height: 2px;
        width: 20px;
        background: #dddddd;
        content: '';
    }

    #cssmenu #menu-button.menu-opened:after {
        top: 23px;
        border: 0;
        width: 15px;
        background: #ffffff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #cssmenu #menu-button.menu-opened:before {
        top: 23px;
        background: #ffffff;
        width: 15px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #cssmenu>ul>li.has-sub>a::after,
    #cssmenu ul ul li.has-sub>a::after {
        display: none;
    }
}