/* ===== Start desktop
 * --------------------------------------------------------------------------------------------- */
@media screen and (min-width: 992px) {
    .flexslider .slides img {
        min-height: 554px;
    }
}
/* ===== End desktop
 * --------------------------------------------------------------------------------------------- */

@media only screen and (min-width : 768px) and (max-width : 1024px) {
	#header nav > ul > li:hover .sub-menu-holder{
		display: none;
	}

	#header nav ul li .sub-menu-holder {
	    top: 62px;
	    left: 0px;
	    background: #fff;
	    display: none;
	    z-index: 999;
	}

	#header nav ul li .sub-menu-holder > ul > li{
		width: 100%;
		float: none;
		margin-right: 0px;
	}

	.gform_button {
	    float: left;
	    margin-right: 7px !important;
	    display: block;
	    margin-left: 0px !important;
	}
}



/* ===== Start iPads
-------------------------------------------------------------------------------------------------*/
@media only screen and (min-width : 768px) and (max-width : 991px) {

    .img-section img {
        width: 50%;
    }

    .news-details-section .holder-news-content{
    	height: auto !important;
    }

	.news-details-section .holder-news-content li{
		clear: both;
	}

    .location-magazin .holder-magazin .magazin-name{
    	max-width: 213px;
    	width: 100%;
		position: inherit;
    }

    #header nav ul li .sub-menu-holder .sub-menu{
    	margin-bottom: 15px;
    }

	.page-content p.left{
		width: 100%;
		float: none;
	}

	.logo {
	    position: absolute;
	    top: 105px;
    	left: 50%;
	    margin-left: -166px;
	}

    #header.header-page {
        background: #fff;
        height: 310px;
    }

	.header-page .logo {
	    position: absolute;
	    top: 60px;
	    left: 0%;
	    margin-left: 0px;
	}

	.header-page .title {
	    text-align: left;
	}


	.header-page .title h1 {
	    margin-left: 0;
	}


	#header nav > ul{
		text-align: center;
		margin: 0px;
	}

	#header nav > ul > li{
		margin: 0px 3px;
	}

	.top-content .flexslider ul li .flex-content {
	    top: 320px;
	}

    .top-content {
        background: #fff;
    }

	.folder-search.aside-search {
	    position: relative;
	    padding-top: 305px;
	    padding-bottom: 50px;
	    margin: 0px auto !important;
	    width: 100%;
	    padding: 305px 15px 50px 15px;
	}

	.top-content .flexslider:before{
		display: none;
	}

	.news-details-section .actualite ul li .content-text{
		width: 77%;
	}

	.news-details-section .holder-news-content > a{
		position: relative;
		right: 0px;
		top: 0px;
	}

	.news-details-section .patient .list ul li{
		padding: 4px 0px 4px 10px;
	}


    /* -------- Folder A Content -------- */
    .folder-a img {
        width: 50%;
    }

    .folder-content p {
        margin-bottom: 30px;
    }

    /* -------- Folder B Content -------- */
    .folder-map {
        margin-bottom: 20px;
    }

    .folder-map address {
        margin-bottom: 0;
    }

    /* -------- News listing -------- */
    .news-list img {
        width: 190px;
    }

    .news-list .news-text {
        width: calc(100% - 200px);
    }

    .news-text p {
        margin-bottom: 10px;
    }

    .news-text a {
        width: 21px;
        height: 21px;
        position: relative;
    }

    .news-text a i {
        top: 3px;
        font-size: 18px;
    }


    /* --------- Recruitment --------*/
    .recruitment-form .control-label {
        width: calc(36% - 31px);
    }

    .recruitment-form .form-control,
    .jfilestyle {
        width: 63%;
    }

    .focus-jfilestyle span {
        padding: 4px 10px;
        font-size: 13px;
    }

    .jfilestyle input {
        width: calc(100% - 128px) !important;
    }

    .form .blue-button {
        margin-left: 0;
        float: right;
    }

    .jfilestyle input {
        height: 28px;
        padding-left: 4px;
    }

    /* --------- Contact ---------- */
    .form.message-form .control-label {
        width: calc(36% - 10px);
        margin-left: 10px;
    }

    .form.message-form .form-control {
        width: 63%;
    }

}
/* ===== End iPads
--------------------------------------------------------------------------------------------------*/

/* ===== Start Smartphones (portrait and landscape)
--------------------------------------------------------------------------------------------------*/
@media only screen and (min-width : 0px) and (max-width : 767px){
	.youtube_player iframe {
		width:100%;
	}
	.location-magazin .holder-magazin .magazin-name{
    	max-width: 213px;
    	width: 100%;
		position: inherit;
    }

	#wrapper{
		overflow: hidden;
	}

	.page-content .left,
	.page-content .right{
		display: block;
		margin: 0 auto;
		float: none;
	}

	.page-content .left img, .page-content .right img,.page-content p img{
		display: block;
		margin: 0 auto;
	}

	#header {
		position: relative !important;
	    z-index: 99999;
	}

	.gform_button {
	    float: left;
	    margin-right: 7px !important;
	    display: block;
	    margin-left: 0px !important;
	}

	.single .location-magazin{
		margin-top: 0px;
	}

	.location-magazin .holder-magazin .magazin-name{
		max-width: 213px;
		width: 100%;
	}


	.aside-search{
		margin-bottom: 20px;
	}

	.gform_wrapper label{
		margin-left: 0px;
		margin-bottom: 10px;
	}

	.title span{
		margin: 20px auto;
	}

	.ginput_container{
		width: 100%;
		float: left;
	}

	.header-page .menu{
		background: none;
	}

	#header .fixed-menu{
		display: none;
	}

	.mask {
	    height: 100%;
	    position: relative;
	    left: 0px;
	    width: 100%;
	}

	.right-mask {
	    height: 100%;
	    position: relative;
	    min-height: 295px;
	}

	.menu-btn{
		width: 70px;
	    height: 0px;
	    text-indent: 100%;
	    white-space: nowrap;
	    z-index: 2;
	    cursor: pointer;
	    padding: 10px 0px 16px 7px;
	    display: inline-block;
	    position: relative;
	}

	.news-details-section .holder-news-content > a{
		position: relative;
		left: 0px;
		top: 0px;
	}

	.news-details-section .actualite ul li .content-text{
		width: 77%;
	}

	.menu-btn span {
	    position: absolute;
	    display: block;
	    width: 45px;
	    height: 2px;
	    background: #006081;
	    top: 50%;
	    margin-top: -1px;
	    left: 0%;
	    margin-left: 0px;
	    -webkit-transition: background 0.3s;
	    -moz-transition: background 0.3s;
	    transition: background 0.3s;
	}

	.menu-btn span:before, .menu-btn span:after {
	    content: '';
	    position: absolute;
	    left: 0;
	    background: inherit;
	    width: 100%;
	    height: 100%;
	    -webkit-transform: translateZ(0);
	    -moz-transform: translateZ(0);
	    -ms-transform: translateZ(0);
	    -o-transform: translateZ(0);
	    transform: translateZ(0);
	    -webkit-backface-visibility: hidden;
	    backface-visibility: hidden;
	    -webkit-transition: -webkit-transform 0.3s, background 0s;
	    -moz-transition: -moz-transform 0.3s, background 0s;
	    transition: transform 0.3s, background 0s;
	}

	.menu-btn span:before {
	    top: -6px;
	    -webkit-transform: rotate(0);
	    -moz-transform: rotate(0);
	    -ms-transform: rotate(0);
	    -o-transform: rotate(0);
	    transform: rotate(0);
	}

	.menu-btn.active span::before {
	    top: 0;
	    -webkit-transform: rotate(135deg);
	    -moz-transform: rotate(135deg);
	    -ms-transform: rotate(135deg);
	    -o-transform: rotate(135deg);
	    transform: rotate(135deg);
	}

	.menu-btn.active span::after {
	    bottom: 0;
	    -webkit-transform: rotate(225deg);
	    -moz-transform: rotate(225deg);
	    -ms-transform: rotate(225deg);
	    -o-transform: rotate(225deg);
	    transform: rotate(225deg);
	}

	.menu-btn span:after {
	    bottom: -6px;
	    -webkit-transform: rotate(0);
	    -moz-transform: rotate(0);
	    -ms-transform: rotate(0);
	    -o-transform: rotate(0);
	    transform: rotate(0);
	}

	.menu-btn.active span {
	    background: transparent;
	}

	.menu-btn.active span::before, .menu-btn.active span::after {
	    background: #3c3c3c;
	}

	#header nav > ul {
	    text-align: center;
	    position: absolute;
	    left: 0px;
	    background: #fff;
	    width: 100%;
	    margin: 0px;
	    display: none;
	    z-index: 999;
	}

	#header nav > ul > li {
	    display: block;
	    margin-left: 0px;
	    margin-bottom: 5px;
	    position: relative;
	}

	#header nav > ul > li > a{
		padding: 10px 0px;
	}

	#header nav > ul > li:hover .sub-menu-holder{
		display: none;
	}

	#header nav ul li .sub-menu-holder {
	    top: 43px;
	    left: 0px;
	    background: #fff;
	    display: none;
	    z-index: 999;
	}

	#header nav ul li .sub-menu-holder > ul > li{
		width: 100%;
		float: none;
		margin-right: 0px;
	}

	#header.header-page {
	    background: #fff;
	    height: auto;
	}

	.header-page .title {
       width: 100%;
	    position: absolute;
	    right: 0px;
	}

	.title span{
		padding-left: 20px;
	}

	.header-page .title h1 {
	    margin-left: 20px;
	}

	.top-content .flexslider{
		max-height: initial;
	}

	.top-content .flexslider ul li .flex-content {
	    max-width: inherit;
	    width: 100%;
	    background: rgba(255,255,255,0.8);
	    position: relative;
	    top: 0px;
	    right: 0px;
	    z-index: 9;
	    margin-top: 0px;
	    padding: 21px 25px 20px 25px;
	}

	.top-content .flexslider .flex-control-nav{
		display: none;
	}

	.top-content .flexslider ul li .flex-content a{
		float: left;
	}

	.logo {
	    position: relative;
	    top: 0px;
	    left: 0px;
	    margin-left: 0px;
	    display: block;
	    text-align: center;
	    margin-top: 10px;
	}

	.location-magazin .holder-magazin {
	    margin-bottom: 10px;
	    text-align: center;
	    max-width: 213px;
	    margin: 0 auto;
	}

	.top-content .flexslider ul li .flex-content span br {
	    display: none;
	}

	.folder-search.aside-search {
	    width: 100%;
	    margin-left: 0;
	    padding: 0 15px 40px;
	    position: relative;
	    padding-top: 25px;
	}

	.folder-search h2 br {
	    display: none;
	}

	.top-content .flexslider:before{
		display: none;
	}

	.news-details-section .actualite{
		margin-bottom: 15px;
	}

	.news-details-section .holder-news-content{
		padding: 16px 20px 16px 20px;
	}

	.carousel-slider{
		overflow: hidden;
	}

	#footer{
		text-align: center;
	}

	#footer .footer-contact p{
		padding: 0px;
	}

	#footer .footer-contact i {
	    position: relative;
	    left: 0px;
	    top: 0px;
	    margin-top: 0px;
	    font-size: 20px;
	    margin-right: 10px;
	}

	.footer-text,
	.footer-links,
	.footer-contact{
		margin-bottom: 15px;
	}

	/* Breadcrumb */
    .breadcrumb {
        margin-bottom: 30px;
    }

    /* -------- Folder A Content -------- */
    .aside {
        margin-bottom: 50px;
    }

    .aside-search {
        padding-left: 25px;
        padding-right: 25px;
    }

    .folder-content {
        margin-top: 0;
    }

    .folder-content h2 {
        margin-top: 10px;
    }

    .folder-content img {
        max-width: 100%;
        margin-bottom: 10px;
    }

    .folder-content p {
        clear: left;
    }

    /* -------- Folder B Content -------- */
    .folder-map {
        margin-bottom: 30px;
    }

    .folder-map > div {
        width: 100%;
        height: 250px;
    }

    .folder-map address {
        margin-bottom: 0;
    }

    .folder-b > a {
        margin-top: 20px;
    }

    /* ---------- News listing ------------ */
    .news-list {
        margin-top: 0px;
    }

    .news-list img {
        width: 100%;
        float: none;
        height: auto;
    }

    .news-list .news-text {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 30px;
        float: none;
    }

    .news-text p {
        margin-bottom: 10px;
    }

    .news-text a {
        width: 21px;
        height: 21px;
        position: relative;
    }

    .news-text a i {
        top: 3px;
        font-size: 18px;
    }

    .pagination {
        margin-bottom: 50px;
    }

    /* -------- Recruitment ----------- */
    .recruitment {
        margin-top: 0;
    }

    .recruitment-b {
        margin-bottom: 30px;
    }

    .recruitment-b article a {
        width: 21px;
        height: 21px;
    }

    .recruitment-b article a i {
        top: 3px;
        font-size: 18px;
    }

    /* Form */
    .recruitment-form .control-label {
        width: calc(36% - 31px);
    }

    .recruitment-form .form-control,
    .jfilestyle {
        width: 63%;
    }

    .jfilestyle input {
        width: calc(100% - 168px) !important;
    }

    .form .control-label {
        margin-left: 15px;
    }

    .form .form-control {
        height: 33px;
    }

    .form .blue-button {
        margin-left: 0;
        margin-right: 19px;
        float: right;
    }

    /* Recruitment A */
    .recruitment-a.arrow-list ul {
        margin-bottom: 20px;
    }

    /* --------- Contact ------------ */
    .coordinates-full ul:nth-of-type(2),
    .message-form {
        margin-bottom: 50px;
    }

    .form.message-form .control-label {
        margin-left: 22px;
    }

    /* ---------- Page ------------- */
    .page {
        margin-top: 0x;
    }

    .page-content ul {
        margin-bottom: 20px;
        margin-top: -2px;
        padding-top: 20px;
    }

}

@media screen and (max-width: 510px) {

    /* -------- Recruitment ----------- */
    .form {
        overflow: hidden;
    }

    .form p {
        margin-bottom: 20px;
    }

    .form .control-label {
        margin-left: 0;
        margin-bottom: 6px;
        width: 100%;
    }

    .form .form-group {
        margin-bottom: 18px;
    }

    .form .form-control {
        width: 100%;
    }

    .jfilestyle {
        width: 100%;
    }

    .jfilestyle input {
        width: calc(100% - 158px) !important;
    }

    .focus-jfilestyle span {
        padding: 4px 21px;
    }

    .form .blue-button {
        margin-left: 0;
        margin-right: 0;
        float: right;
    }

    /* ---------- Contact ----------- */
    .form.message-form .control-label {
        width: 100%;
        margin-left: 0;
        margin-bottom: 7px;
    }

    .form.message-form .form-control {
        width: 100%;
    }
}

@media screen and (min-width: 320px) and (max-width: 480px) {

    .img-section img {
        float: none;
        width: 100%;
    }

    .category-section .col-xs-6 {
        width: 100%;
    }

    .rsalcs {
	    float: none!important;
	    display: block!important;
	    margin: 5px 0;
    }
    
}
/* ===== End Smartphones (portrait and landscape)
--------------------------------------------------------------------------------------------------*/