﻿#masterText {
    background: #fff;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    box-shadow: 5px 5px 10px rgba(0,0,0,.1);
    -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,.1);
    -moz-box-shadow: 5px 5px 10px rgba(0,0,0,.1);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    font: 12px/20px 'arial';
    position: relative;
    z-index: 10;
}

    #masterText h1 {
        font: 500 20px 'opensans';
        margin-top: 0;
    }

    #masterText h2 {
        color: #264F6F;
        font: 500 16px 'opensans';
        margin-top: 0;
    }

    #masterText.image {
        /*margin-top: -200px;*/
    }

#breadcrumb {
    background: rgb(10,56,93);
    background: -moz-linear-gradient(-45deg, rgba(10,56,93,1) 0%, rgba(22,158,218,1) 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(10,56,93,1)), color-stop(100%,rgba(22,158,218,1)));
    background: -webkit-linear-gradient(-45deg, rgba(10,56,93,1) 0%,rgba(22,158,218,1) 100%);
    background: -o-linear-gradient(-45deg, rgba(10,56,93,1) 0%,rgba(22,158,218,1) 100%);
    background: -ms-linear-gradient(-45deg, rgba(10,56,93,1) 0%,rgba(22,158,218,1) 100%);
    background: linear-gradient(135deg, rgb(227, 54, 14) 0%,rgb(103, 103, 101) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0a385d', endColorstr='#169eda',GradientType=1 );
    color: #fff;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    margin: 0 0 10px;
    font: 500 12px 'opensans';
}

    #breadcrumb a {
        color: #fff;
    }

    #breadcrumb li.active {
        color: #fff;
    }

#masterTitle {
    border-bottom: 1px #eee solid;
    color: #ccc;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#masterRight {
    border-left: 1px #eee solid;
}

    #masterRight.noborder {
        border: none;
    }

/*#submenu li {
    font: 500 12px 'opensans';
    border-top: 1px #eee solid;
}

    #submenu li:first-child {
        border: none;
    }*/
#submenu {
    font: 400 11px 'opensans';
    list-style: none;
    margin: 0;
    padding: 0;
}

    #submenu li {
        border-top: 1px #eee solid;
        padding: 10px 0 13px;
    }

        #submenu li a {
            font-size: 15px;
        }

        #submenu li.active a,
        #submenu li:hover a {
            color: #169EDA;
        }

        #submenu li:first-child {
            border: none;
        }

        #submenu li p {
            margin: 5px 0 0;
        }

            #submenu li p a {
                font-size: 12px;
                color: #666 !important;
            }

        #submenu li a.main {
            background: url("../images/egemir-icon.jpg") 0 2px no-repeat;
            padding: 0 0 0 25px;
        }

#masterImage {
    max-height: 350px;
}

#masterText.image #breadcrumb {
    margin: -53px -20px 13px -20px;
}

#masterImageText {
    width: 100%;
    left: 0;
    top: 250px;
    color: #fff;
    font-size: 30px;
}

    #masterImageText span {
        display: block;
        width: 600px;
        font-weight: 500;
        text-shadow: 1px 1px 1px rgba(0,0,0,.5);
    }


#services {
    margin-top: 25px;
}

    #services h2 a {
        color: #0A385D;
    }

#serviceDetail {
    margin-top: 20px;
}

    #serviceDetail p {
        margin: 0;
    }

.newsItem {
    text-align: center;
}

    .newsItem .panel-heading {
        background: rgb(255,255,255);
        background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(50%,rgba(243,243,243,1)), color-stop(51%,rgba(237,237,237,1)), color-stop(100%,rgba(255,255,255,1)));
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
        background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
        background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 );
        color: #666;
        border: none;
        font: 12px 'opensans';
        /*height: 54px;*/
    }

        .newsItem .panel-heading a {
            color: #000;
        }

    .newsItem small, .date {
        background: url("../images/date.png") 0 center no-repeat;
        padding: 0 0 0 25px;
        display: inline-block;
    }

    .newsItem:hover .panel-heading {
        background: rgb(22,158,218);
        background: -moz-linear-gradient(top, rgba(22,158,218,1) 0%, rgba(10,56,93,1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(22,158,218,1)), color-stop(100%,rgba(10,56,93,1)));
        background: -webkit-linear-gradient(top, rgba(22,158,218,1) 0%,rgba(10,56,93,1) 100%);
        background: -o-linear-gradient(top, rgba(22,158,218,1) 0%,rgba(10,56,93,1) 100%);
        background: -ms-linear-gradient(top, rgba(22,158,218,1) 0%,rgba(10,56,93,1) 100%);
        background: linear-gradient(to bottom, rgba(22,158,218,1) 0%,rgba(10,56,93,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#169eda', endColorstr='#0a385d',GradientType=0 );
        color: #fff;
    }

        .newsItem:hover .panel-heading a {
            color: #fff;
        }

    .newsItem:hover .panel {
        border-color: #0A385D;
    }

div.date {
    display: block;
    margin-bottom: 20px;
}

#vimeo .item .panel:hover,
#vimeo .item.active .panel {
    border-color: #169EDA;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,.2);
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,.2);
}

#vimeo .videos {
    margin-top: 30px;
}

#vimeo .item {
    cursor: pointer;
}

    #vimeo .item .img-responsive {
        border-top-left-radius: 5px;
        -webkit-border-top-left-radius: 5px;
        -moz-border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        -webkit-border-top-left-radius: 5px;
        -moz-border-top-left-radius: 5px;
    }

#vimeo .videoName {
    padding: 5px 10px;
    background: #f1f4ef;
    background: -moz-linear-gradient(top, #f1f4ef 0%, #dee4e4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1f4ef), color-stop(100%,#dee4e4));
    background: -webkit-linear-gradient(top, #f1f4ef 0%,#dee4e4 100%);
    background: -o-linear-gradient(top, #f1f4ef 0%,#dee4e4 100%);
    background: -ms-linear-gradient(top, #f1f4ef 0%,#dee4e4 100%);
    background: linear-gradient(to bottom, #f1f4ef 0%,#dee4e4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f4ef', endColorstr='#dee4e4',GradientType=0 );
    color: #7e8a8a;
    font-size: 13px;
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    text-align: center;
    height: 30px;
    overflow: hidden;
}

#vimeo .item .panel:hover .videoName,
#vimeo .item.active .panel .videoName {
    background: #169EDA;
    color: #fff;
}

#vimeo .videoframe .panel-heading {
    background: #f1f4ef;
    background: -moz-linear-gradient(top, #f1f4ef 0%, #dee4e4 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f1f4ef), color-stop(100%,#dee4e4));
    background: -webkit-linear-gradient(top, #f1f4ef 0%,#dee4e4 100%);
    background: -o-linear-gradient(top, #f1f4ef 0%,#dee4e4 100%);
    background: -ms-linear-gradient(top, #f1f4ef 0%,#dee4e4 100%);
    background: linear-gradient(to bottom, #f1f4ef 0%,#dee4e4 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1f4ef', endColorstr='#dee4e4',GradientType=0 );
    color: #7e8a8a;
    font-size: 22px;
}

#vimeo .videoframe .panel-body {
    margin: 0 -1px -6px;
    padding: 0;
}

#vimeo .pagination {
    margin: 0;
}


@media (max-width: 767px) {
    #masterLeft {
        display: none;
    }

    #masterRight {
        border: none;
    }

    #masterText {
        overflow: hidden;
        margin: 0;
    }

        #masterText iframe {
            width: 100% !important;
        }

    #masterImageText {
        display: none;
    }

        #masterImageText span {
            width: auto;
        }

        #masterImageText .m {
            width: auto;
        }

    #social {
        margin: 0;
    }

    #contactTxt .col-md-6 {
        padding: 0 15px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    #masterText {
        margin-top: 0;
        margin-bottom: 0;
    }

    #contactTxt .col-md-6 {
        padding: 0 15px !important;
    }

    #masterImageText {
        display: none;
    }

    .newsItem .panel-heading {
        font-size: 11px;
    }

    #social {
        margin: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #masterText {
        margin-top: 0;
        margin-bottom: 0;
    }
    #social {
        margin: 0;
    }
}

@media (min-width: 1200px) {
}
