/*Theme Name: CasiroTheme
URI:
Description: Custom theme.
Version: 1.0.0
Author: Atelier de Web
Author URI: http://www.atelierdeweb.ro*/
@import url('http://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic');
body {
    margin: 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.6em;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-family: 'Arial', sans-serif;
    position: relative;
}
ul {
    list-style: none;
    padding: 0;
}
a {
    text-decoration: none;
}
.alignright {
    float: right;
}
.alignleft {
     float: left;
}

.responsive {
    max-width: 100%;
    height: auto;
}

.clear {
    clear: both;
}

header {
    position: relative;
    width: 100%;
    border-top: 40px solid #003CBD;
    border-bottom: solid 70px #003CBD;
}
.home header {
    margin-bottom: 0;
}
.container {
    padding-left: 10px;
    padding-right: 10px;
}
.content {
     clear: both;
 }
#logo {
    width: 255px;
    height: 98px;
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fff;
    border: 1px solid rgb(118, 118, 118);
    -webkit-box-shadow: 0 1px 20px 0 rgba(0,0,0,0.75);
    -moz-box-shadow: 0 1px 20px 0 rgba(0,0,0,0.75);
    box-shadow: 0 1px 20px 0 rgba(0,0,0,0.75);
}
#logo img {
    padding: 18px 13px 8px 12px;
}
#lang_sel_list a {
    background: none !important;
}
#lang_sel_list {
    position: absolute;
    top: -20px;
    right: 20px;
}
nav#main-menu ul li {
    display: inline;
}
nav#main-menu {
    float: right;
    margin-bottom: 8px;
}
nav select {
    display:none;
}
#main-menu a {
    color: #fff;
    text-align: center;
    line-height: 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    float: left;
}

nav#main-menu a:hover, .active a {
    color: #ebbe41 !important;
}

#menu-item-30 a {
    padding: 7px 10px;
    width: 118px;
}
#menu-item-29 a {
    padding: 7px 10px;
    width: 121px;
}
#menu-item-28 a {
    padding: 17px 10px;
    width: 110px;
}
#menu-item-27 a {
    padding: 7px 10px;
    width: 81px;
}
#menu-item-26 a {
    padding: 17px 10px;
    width: 84px;
}
    /*ENGLEZA*/
#menu-item-128 a {
    padding: 7px 10px;
    width: 130px;
}
#menu-item-133 a {
    padding: 7px 10px;
    width: 121px;
}
#menu-item-130 a {
    padding: 17px 10px;
    width: 68px;
}
#menu-item-131 a {
    padding: 7px 10px;
    width: 108px;
}
#menu-item-129 a {
    padding: 17px 10px;
    width: 85px;
}
#slider {
    background: #003CBD;
    margin-top: -16px;
    margin-bottom: 20px;
    height: 375px;
    border-bottom: 40px solid #FFDA00;
}
.st {
    clear: both;
    width: 51%;
}.dr {
     width: 44%;
 }
.grid {
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.text-slider {
    max-width: 380px;
    width: 100%;
    margin: auto;
}
.text-slider p {
    text-align: right;
    margin: 0;
    font-weight: 400;
    color: #fff;
    font-size: 38px;
    line-height: 1.3em;
    font-family: 'PT Serif', sans-serif;
}
.text-slider p:first-child {
    padding-top: 94px;
}
.img-slider {
    position: relative;
    max-width: 462px;
    background: #E9E9E9;
    border: solid 1px #767575;
    padding: 16px 16px 10px 16px;
    margin: auto;
    -moz-box-shadow: 0 0 10px 0 #333;
    -webkit-box-shadow: 0 0 10px 0 #333;
    box-shadow: 0 0 10px 0 #333;
    z-index: 1;
}
.img-slider img {
    width: 100%;
    height: auto;
    border: solid 1px #BEBDBD;
}
h1 {
    color: #003CBD;
    font-size: 26px;
    line-height: 1.2em;
    margin-top: 0;
    text-align: center;
}
.content p {
    margin: 0;
}
.page-id-24 .wp-content img.wp-image-280, .page-id-98 .wp-content img.wp-image-280 {
    width: 50%;
    margin-bottom: 30px;
}
footer {
    background: #003CBD;
    clear: both;
    font-size: 16px;
    line-height: 1.6em;
    color: #fff;
    height: auto;
    width: 100%;
    position: fixed;
    bottom: 0;
    text-align: center;
}

.footer-grid1, .footer-grid2, .footer-grid3, .footer-grid4 {
    float: left;
    padding: 0 10px;
}

.footer-grid1 {
    width: 225px;
}
.footer-grid2 {
    width: 371px;
}
.footer-grid3 {
    width: 197px;
}
.footer-grid4 {
    width: 275px;
}
.yellow {
    color: #ebbe41;
}
#toTop {
    position: absolute;
    right: 40px;
    top: -50px;
    width: 60px;
    height: 50px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    background: #003CBD;
}

#toTop-arrow {
    width: 50px;
    height: 50px;
    display: inline-block;
    background: url("img/go-up.png") 0 0 no-repeat;
}

#toTop-arrow:hover {
    background: url("img/go-up.png") 0 -55px no-repeat;
}

#telefon, #email, #call-sign{
    position: relative;
    top: 15px;
    font-weight: 600;
}

#span-tel, #span-mobil {
    float: left;
}

#fb, #linkedin, #googleplus, #twitter, #youtube {
    width: 40px;
    height: 40px;
    margin-left: 10px;
    margin-top: 7px;
    display: inline-block;
}
#fb {background: url("img/facebook.png") no-repeat;}
#linkedin {background: url("img/linkedin.png") no-repeat;}
#googleplus {background: url("img/googleplus.png") no-repeat;}
#twitter {background: url("img/twitter.png") no-repeat;}
#youtube {background: url("img/youtube.png") no-repeat;}

.trimite input[type="submit"] {
    width: 313px;
    background: #003CBD;
    border: 0;
    padding: 5px 10px;
    color: #fff;
    cursor: pointer;
}
.your-message textarea {
    width: 307px;
}
.menu-item-language a {
    position: relative;
    top: -40px;
    left: -60px;
    width: 17px !important;
    padding: 0 !important;
    margin-right: 10px;
}
.facebookwidget {
    background: url("img/facebook_widget.png") no-repeat scroll left center transparent !important;
    float: right;
    height: 270px;
    padding: 0 5px 0 40px;
    z-index:  99999;
    position:fixed;
    right:-217px;
    top:40%;
}
.facebookwidget div {
    padding: 0;
    margin-right:-8px;
    border:4px solid  #3b5998;
    background:#fafafa;
}
.facebookwidget span {
    bottom: 10px;
    font: 6px "lucida grande",tahoma,verdana,arial,sans-serif;
    position: absolute;
    right: 6px;
    text-align: right;
    z-index: 99999;
}
.facebookwidget span a {
    color: gray;
    text-decoration:none;
}
.facebookwidget span a:hover {
    text-decoration:underline;
}
.facebookwidget iframe {
    border: white;
    overflow: hidden;
    height: 270px;
    width: 212px;
    background:#fafafa;
    color:#000;
}
._4s7c {
    border: none !important;
}
.phm {    display: none !important;
}
.left, .right, .wp-content {
    float: left;
}
.wp-content {
    width: 86%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
    padding-bottom: 70px;
}
.left {
    width: 14%;
    height: auto;
    margin-bottom: 40px;
}
.left img {
    max-width: 100%;
    margin-bottom: 20px;
}

#random-quote {
    margin-bottom: 50px;
}

#random-quote p {
    text-align: left !important;
    padding-left: 18%;
}

#random-quote div p:last-child {
    display: none;
}

div.wpcf7-mail-sent-ok {
    border: none;
}

#SkypeButton_Call_CasiroCEBS_1, #SkypeButton_Chat_CasiroCEBS_1 {
    float: left;
}

#SkypeButton_Call_CasiroCEBS_1_paraElement, #SkypeButton_Chat_CasiroCEBS_1_paraElement {
    margin: 0 5px !important;
}

#SkypeButton_Call_CasiroCEBS_1_paraElement img, #SkypeButton_Chat_CasiroCEBS_1_paraElement img {
    margin: 0 !important;
    vertical-align: -24px !important;
}

@media (min-width: 961px) and (max-width: 1200px) {
    #main-menu a {
        font-size: 0.9em;
        line-height: 16px;
    }
    #menu-item-30 a {
        width: 97px;
    }
    #menu-item-29 a {
        width: 102px;
    }
    #menu-item-28 a {
        width: 95px;
    }
    #menu-item-27 a {
        width: 69px;
    }
    #menu-item-26 a {
        width: 70px;
    }
    .st {
        width: 46%;
    }
    .dr {
        width: 47%;
    }
}

@media (min-width: 903px) and (max-width: 1162px) {
    .footer-grid4 {
        clear: both;
    }
}

@media (min-width: 769px) and (max-width: 960px) {
    #lang_sel_list {
        position: absolute;
        height: auto;
        top: -20px;
        right: 20px;
    }
    #main-menu a {
        font-size: 13px;
        width: 91px;
        padding: 5px 9px;
        line-height: 15px;
    }
    #menu-item-30 a {
        width: 88px;
    }
    #menu-item-29 a {
        width: 91px;
    }
    #menu-item-28 a {
        width: 85px;
        padding: 12px 9px;
    }
    #menu-item-27 a {
        width: 65px;
    }
    #menu-item-26 a {
        width: 63px;
        padding: 12px 9px;
    }
    .text-slider p {
        font-size: 30px;
    }
    .dr {
        width: 58%;
    }
    .st {
        width: 35%;
    }
}

@media (max-width: 902px) {
    .footer-grid3 {
        clear: both;
    }
}

@media (max-width: 768px) {
    header {
        border-top: 0;
        border-bottom: solid 35px #003CBD;
    }

    header .container {
        padding: 0;
    }

    #logo {
        text-align: center;
        position: relative;
        width: 99.5%;
        top: 10px;
        left: 0;
    }

    nav#main-menu ul {
        display: none;
    }

    nav select {
        display: block;
        width: 100%;
        height: 30px;
        line-height: 18px;
        color: #000;
        -moz-border-radius: .3em;
        -webkit-border-radius: .3em;
        border-radius: .3em;
    }

    nav#main-menu {
        float: none;
        margin-bottom: 0;
        width: 100%;
        margin-top: 40px;
        padding: 10px 20px;
        box-sizing: border-box;
        background: #333;
    }

    #lang_sel_list {
        position: relative;
        top: 20px;
        left: 50%;
        margin-left: -25px;
        float: left;
    }

    #lang_sel_list a {
        margin-right: 15px;
    }

    #slider {
        height: 450px;
        margin-top: 0;
    }

    .left {
        width: 16%;
    }

    .wp-content {
        width: 84%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .content img {
        max-width: 100%;
        height: auto;
    }

    .text-slider {
        margin-bottom: 25px;
        width: 186px;
        margin-left: auto;
        margin-right: auto;
    }

    .text-slider p {
        font-size: 28px;
        text-align: center;
        padding-right: 0;
    }

    .text-slider p:first-child {
        padding-top: 0;
    }

    .info {
        margin-bottom: 50px;
    }

    .st, .dr {
        max-width: 768px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .img-slider {
        margin-left: auto;
        margin-right: auto;
    }

    .page-id-24 .wp-content img.wp-image-280, .page-id-98 .wp-content img.wp-image-280 {
        width: 100%;
        float: none;
    }

    .wpcf7 {
        clear: both;
    }

    .wpcf7 input, .wpcf7 textarea {
        width: 100%;
    }

    footer {
        position: relative;
    }

    .footer-grid1, .footer-grid2, .footer-grid3, .footer-grid4 {
        width: 100%;
        box-sizing: border-box;
    }

    #span-tel, #span-mobil {
        float: left;
        width: 100%;
    }

    #skype {
        float: left;
        width: 180px;
        position: relative;
        left: 50%;
        margin-left: -90px;
    }

    #social {
        top: 13px;
        position: relative;
    }

    .trimite input[type="submit"] {
        width: 100%;
    }
}

.menu-item-325 a{
padding: 7px 10px;
width: 150px;
}